livevegas-ui-kit 1.0.173 → 1.0.175

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.
@@ -1,4 +1,7 @@
1
- export declare const AmountText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').SVGTextElementAttributes<SVGTextElement>, never>> & string;
1
+ interface IAmountText {
2
+ $fontSize: number;
3
+ }
4
+ export declare const AmountText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').SVGTextElementAttributes<SVGTextElement>, IAmountText>> & string;
2
5
  interface ISvgWrapper {
3
6
  $isDisabled: boolean;
4
7
  }
@@ -2198,12 +2198,19 @@ const x1 = m.div`
2198
2198
  size: Ca.size + r.size
2199
2199
  };
2200
2200
  }, N1 = m.text`
2201
+ width: 100%;
2201
2202
  font-family: Bebas Neue;
2202
2203
  font-weight: 700;
2203
2204
  font-style: Bold;
2204
2205
  line-height: 100%;
2205
2206
  text-align: center;
2207
+ font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
2206
2208
  vertical-align: middle;
2209
+ .chipAmount {
2210
+ font-size: ${({ $fontSize: e }) => e}em;
2211
+ text-align: center;
2212
+ width: 100%;
2213
+ }
2207
2214
  `, D1 = m.svg`
2208
2215
  ${({ $isDisabled: e }) => e && ` text-align: center;
2209
2216
  cursor: none;
@@ -3011,16 +3018,7 @@ const x1 = m.div`
3011
3018
  }
3012
3019
  )
3013
3020
  ] }),
3014
- /* @__PURE__ */ a.jsx(
3015
- N1,
3016
- {
3017
- style: {
3018
- fontSize: `${c == null ? void 0 : c.size}em`
3019
- },
3020
- fill: "#fff",
3021
- children: /* @__PURE__ */ a.jsx("tspan", { y: c == null ? void 0 : c.y, x: c == null ? void 0 : c.x, children: l })
3022
- }
3023
- )
3021
+ /* @__PURE__ */ a.jsx(N1, { $fontSize: c == null ? void 0 : c.size, fill: "#fff", children: /* @__PURE__ */ a.jsx("tspan", { className: "chipAmount", y: c == null ? void 0 : c.y, x: c == null ? void 0 : c.x, children: l }) })
3024
3022
  ]
3025
3023
  },
3026
3024
  t
@@ -250,19 +250,26 @@ See https://s-c.sh/2BAXzed for more info.`),window[Rt]+=1);const Vs=m.div`
250
250
  cursor: pointer;
251
251
  ${({$isSettings:e})=>e&&"width: 120px"}
252
252
  `,Ma=({isSettings:e,volumeTitle:t,volume:n,setVolume:i})=>{const{t:r}=E();return a.jsxs(Qs,{$isSettings:e,children:[a.jsx("p",{children:r(t??"")}),a.jsx(Xs,{min:0,max:100,step:.01,value:n,onClick:s=>s.stopPropagation(),onChange:s=>{s.preventDefault(),i(parseFloat(s.target.value))},$isSettings:e})]})},ct=({icon:e,onClick:t,buttonInfo:n,isActive:i,isValueButton:r=!1,width:s=32,height:o=32,text:l,textStyle:c,isActiveBlue:d,streamVolume:h,setStreamVolume:f,isHoverActive:y=!0,positonHover:p="bottom"})=>{const[g,b]=k.useState(!1),{t:x}=E(),v=()=>{if(n)return a.jsxs(Ys,{$positonHover:p,"data-testid":"button-info",children:[a.jsx(qs,{position:p}),x(n)]});if(r&&f&&typeof h=="number")return a.jsx(Zs,{children:a.jsx(Ma,{setVolume:f,volume:h})})};return a.jsx(a.Fragment,{children:a.jsxs(Us,{width:s,height:o,$isValueButton:r,$isActive:i,$isActiveBlue:d,onMouseEnter:()=>b(!0),onMouseLeave:()=>b(!1),onClick:t,"data-testid":"custom-button",$isTournament:n==="Tournament",$isHoverActive:y,children:[c&&l&&a.jsx("p",{className:c,children:x(l)}),e,g&&!i&&v()]})})},Js=(e,t)=>{const n=e.reduce((r,s,o)=>s===t||s<t?r=o:r,0);return[["#D8B30F","#E8BE01","#ECCB37"],["#1C5A2A","#216D32","#31A049"],["#7A2525","#7E2626","#B33636"],["#1E2C5E","#1F3164","#2E4091"],["#3886CA","#2E97F2","#53AFFF"],["#1A1A1A","#2A2A2A","#404040"],["#64167E","#7A1CA5","#910AD4"],["#CB5621","#D25C21","#F06428"],["#C63EC3","#E258D4","#F065DB"]][n]},$n=e=>e>999999999?`${Wt(e/1e9)}B`:e>999999?`${Wt(e/1e6)}M`:e>999?`${Wt(e/1e3)}K`:Wt(e),Wt=e=>new Intl.NumberFormat("ru").format(Number(e)),$s=[{x:10,y:2,size:0},{x:2,y:2,size:0},{x:2,y:-1,size:-.6},{x:0,y:-2,size:-.8},{x:0,y:-2,size:-1},{x:0,y:-3,size:-1.1},{x:0,y:-3,size:-1.2},{x:0,y:-3,size:-1.3}],Oa={x:15,y:40,size:1.8},_s=e=>{const t=e.length,n=e[t-1],i=n==="K"||n==="M"||n==="B";let r;return i&&t===2?r={x:2,y:0,size:-.4}:r=$s[t-1]??{x:0,y:0,size:0},{x:Oa.x+r.x,y:Oa.y+r.y,size:Oa.size+r.size}},e1=m.text`
253
+ width: 100%;
253
254
  font-family: Bebas Neue;
254
255
  font-weight: 700;
255
256
  font-style: Bold;
256
257
  line-height: 100%;
257
258
  text-align: center;
259
+ font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
258
260
  vertical-align: middle;
261
+ .chipAmount {
262
+ font-size: ${({$fontSize:e})=>e}em;
263
+ text-align: center;
264
+ width: 100%;
265
+ }
259
266
  `,t1=m.svg`
260
267
  ${({$isDisabled:e})=>e&&` text-align: center;
261
268
  cursor: none;
262
269
  opacity: 50%;
263
270
  pointer-events: none;
264
271
  `}
265
- `,dt=({chipAmounts:e,amount:t,width:n=64,height:i=67,isDisabled:r=!1,onClick:s})=>{const o=Js(e,t),l=$n(t),c=_s(l);return a.jsxs(t1,{onClick:()=>!!s&&s(t),width:n,height:i,viewBox:"0 0 64 67",xmlns:"http://www.w3.org/2000/svg",fill:o[1],style:{cursor:"pointer"},$isDisabled:r,children:[a.jsx("path",{d:"M64 32.9821C64 35.9872 63.5861 38.8956 62.8119 41.6533C61.2245 47.3133 58.1211 52.3385 53.9679 56.2619C50.2148 59.8095 45.6054 62.4566 40.4815 63.862C37.7805 64.6035 34.9367 64.9992 32 64.9992C29.0633 64.9992 26.0996 64.5866 23.3472 63.8144C17.976 62.3091 13.1762 59.4361 9.34626 55.5949C5.33359 51.5709 2.38533 46.4842 0.959201 40.7927C0.332533 38.2932 0 35.6768 0 32.9821C0 30.7107 0.236536 28.4947 0.685802 26.3578C1.89767 20.5941 4.65854 15.4021 8.51301 11.2367C12.5203 6.90531 17.7095 3.685 23.5684 2.08829C25.3509 1.6019 27.1955 1.26612 29.0878 1.09554C29.4073 1.06788 29.7283 1.04559 30.0486 1.02869C32.0054 1.0041 33.9253 0.92726 35.8644 1.20311C36.1847 1.23769 36.5003 1.27918 36.8144 1.32452C38.133 1.52353 39.4256 1.80322 40.6858 2.15822C46.4149 3.77106 51.4927 6.93912 55.4348 11.1799C59.3207 15.3591 62.1023 20.5788 63.3173 26.3755C63.765 28.507 64 30.7169 64 32.9821Z",fill:`url(#paint0_linear_757_1992_${t})`},t),a.jsx("g",{filter:`url(#filter0_d_757_1992_${t})`,children:a.jsx("path",{d:"M40.6858 2.15919L39.5684 5.86051C37.1201 5.17665 34.5866 4.83164 32 4.83164C29.4135 4.83164 27.0535 5.1536 24.682 5.79136L23.5684 2.08927C25.3509 1.60288 27.1956 1.2671 29.0879 1.09651C29.4073 1.06885 29.7284 1.04657 30.0486 1.02966C32.0054 1.00508 33.9253 0.928237 35.8645 1.20409C36.1847 1.23867 36.5004 1.28016 36.8145 1.32549C38.1331 1.52451 39.4256 1.8042 40.6858 2.15919Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter1_d_757_1992_${t})`,children:a.jsx("path",{d:"M40.4815 63.8627C37.7806 64.6042 34.9367 64.9999 32 64.9999C29.0633 64.9999 26.0997 64.5873 23.3472 63.815L24.4539 60.146C26.8953 60.826 29.4219 61.1687 32 61.1687C34.5781 61.1687 36.988 60.8414 39.3779 60.1929L40.4815 63.8627Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter2_d_757_1992_${t})`,children:a.jsx("path",{d:"M62.5692 42.4202C60.8367 48.0372 57.6051 52.981 53.352 56.796L50.8691 53.8731C51.0404 53.7178 51.2109 53.5596 51.3783 53.4005C54.0301 50.881 56.1367 47.9219 57.6396 44.6048C58.1211 43.5429 58.5335 42.4579 58.8768 41.3545L62.5685 42.4202H62.5692Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter3_d_757_1992_${t})`,children:a.jsx("path",{d:"M12.4527 53.4964C12.6393 53.6754 12.8282 53.8513 13.0187 54.0242L10.5696 56.8811C6.33424 53.0468 3.12487 48.0884 1.41766 42.4638L5.01563 41.4419C5.352 42.5384 5.75749 43.6164 6.23133 44.6722C7.71967 47.9962 9.81394 50.9645 12.4527 53.4964Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter4_d_757_1992_${t})`,children:a.jsx("path",{d:"M62.6936 24.174L59.0396 25.1283C58.7355 24.081 58.3692 23.0491 57.9406 22.0356C56.523 18.6816 54.4932 15.6687 51.9074 13.0816C51.6955 12.8695 51.4804 12.6613 51.2623 12.4569L53.8496 9.56543C58.0028 13.4888 61.1062 18.5141 62.6936 24.174Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter5_d_757_1992_${t})`,children:a.jsx("path",{d:"M12.6662 12.523C12.4727 12.7058 12.2807 12.8925 12.0918 13.0816C9.50678 15.6687 7.47625 18.6816 6.05857 22.0356C5.6262 23.0591 5.25603 24.101 4.95038 25.1598L1.17578 24.174C2.76319 18.5141 5.86657 13.4888 10.0198 9.56543L12.6662 12.523Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter6_d_757_1992_${t})`,children:a.jsx("path",{d:"M50.3354 32.9998C50.3354 22.868 42.1264 14.6546 32 14.6546C21.8737 14.6546 13.6646 22.868 13.6646 32.9998C13.6646 43.1316 21.8737 51.3451 32 51.3451C42.1264 51.3451 50.3354 43.1316 50.3354 32.9998ZM53.4073 32.9998C53.4073 44.8291 43.823 54.4186 32 54.4186C20.1771 54.4186 10.5927 44.8291 10.5927 32.9998C10.5927 21.1706 20.1771 11.5811 32 11.5811C43.823 11.5811 53.4073 21.1706 53.4073 32.9998Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter7_d_757_1992_${t})`,children:a.jsx("path",{d:"M47.3047 7.29899L44.6224 7.75146L45.0747 10.4352L47.757 9.98274L47.3047 7.29899Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter8_d_757_1992_${t})`,children:a.jsx("path",{d:"M59.8872 31.6251L57.9756 33.5376L59.8872 35.4501L61.7987 33.5376L59.8872 31.6251Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter9_d_757_1992_${t})`,children:a.jsx("path",{d:"M16.6074 7.29867L16.1552 9.98242L18.8375 10.4349L19.2897 7.75115L16.6074 7.29867Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter10_d_757_1992_${t})`,children:a.jsx("path",{d:"M19.1639 55.6978L16.5338 56.3921L17.2277 59.0237L19.8579 58.3294L19.1639 55.6978Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter11_d_757_1992_${t})`,children:a.jsx("path",{d:"M44.8533 55.6221L44.0948 58.2358L46.7071 58.9947L47.4656 56.381L44.8533 55.6221Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter12_d_757_1992_${t})`,children:a.jsx("path",{d:"M4.02411 31.6256L2.11261 33.5381L4.02411 35.4506L5.93562 33.5381L4.02411 31.6256Z",fill:"white"})}),a.jsxs("defs",{children:[a.jsxs("filter",{id:`filter0_d_757_1992_${t}`,x:"22.8004",y:"0.616977",width:"18.6534",height:"6.39538",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter1_d_757_1992_${t}`,x:"22.5792",y:"59.762",width:"18.6703",height:"6.39",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter2_d_757_1992_${t}`,x:"50.1011",y:"40.9705",width:"13.2361",height:"16.9774",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter3_d_757_1992_${t}`,x:"0.649664",y:"41.0579",width:"13.137",height:"16.975",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter4_d_757_1992_${t}`,x:"50.4943",y:"9.18143",width:"12.9673",height:"17.099",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter5_d_757_1992_${t}`,x:"0.407781",y:"9.18143",width:"13.0264",height:"17.1302",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter6_d_757_1992_${t}`,x:"9.82471",y:"11.1971",width:"44.3506",height:"44.3734",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter7_d_757_1992_${t}`,x:"43.8544",y:"6.91483",width:"4.67052",height:"4.67223",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter8_d_757_1992_${t}`,x:"57.2076",y:"31.241",width:"5.359",height:"5.3612",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter9_d_757_1992_${t}`,x:"15.3872",y:"6.91483",width:"4.67052",height:"4.67223",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter10_d_757_1992_${t}`,x:"15.7658",y:"55.3138",width:"4.8601",height:"4.86168",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter11_d_757_1992_${t}`,x:"43.3268",y:"55.2381",width:"4.90673",height:"4.90856",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter12_d_757_1992_${t}`,x:"1.34461",y:"31.2415",width:"5.359",height:"5.3612",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("linearGradient",{id:`paint0_linear_757_1992_${t}`,x1:"47.6882",y1:"59.7588",x2:"7.98215",y2:"-7.93826",gradientUnits:"userSpaceOnUse",children:[a.jsx("stop",{offset:"0.12",stopColor:o[0]}),a.jsx("stop",{offset:"0.31",stopColor:o[1]}),a.jsx("stop",{offset:"0.69",stopColor:o[2]})]})]}),a.jsx(e1,{style:{fontSize:`${c==null?void 0:c.size}em`},fill:"#fff",children:a.jsx("tspan",{y:c==null?void 0:c.y,x:c==null?void 0:c.x,children:l})})]},t)};var _n=(e=>(e.Launch="launch",e.GameChange="GameChange",e.SendMessage="SendMessage",e.GetBalance="GetBalance",e.PlaceBet="PlaceBet",e.GetPlayerState="GetPlayerState",e.PlaceBetBulk="PlaceBetBulk",e.SitOutPlayer="SitOutPlayer",e.SetNickname="SetNickname",e.GetHistory="GetHistory",e.SendTip="SendTip",e.ChangeDealerLanguage="ChangeDealerLanguage",e))(_n||{});const a1={undoArray:"undoArray"},n1="https://livelobby8.livevegas.live",za=(e,t,n)=>{const{tableId:i,gameId:r,lang:s,playerId:o,token:l,exitUrl:c}=n;localStorage.setItem(a1.undoArray,JSON.stringify([])),t==null||t.invoke(_n.SitOutPlayer,{tableId:Number(i),gameId:Number(r)});const d={name:"closed",sender:"game"},f={name:"closeFrame",url:`${n1}/?lang=${s}&playerId=${o}&token=${l}&gameId=${r}&gameType=8&exitUrl=${c}&partnerId=${e}`};window.parent.postMessage(d,"*"),window.parent.postMessage(f,"*"),window.parent.postMessage("closeGame","*")},ei=e=>{const t=new Date(e.calculationEndDate),n=new Date,i=t.getTime()-n.getTime();return i<=0?{days:0,hours:0,minutes:0,seconds:0}:{days:Math.floor(i/(1e3*60*60*24)),hours:Math.floor(i/(1e3*60*60)%24),minutes:Math.floor(i/1e3/60%60),seconds:Math.floor(i/1e3%60)}},i1={1:"Session not found, try to log in again.",2:"Please return to the site and log in again.",3:"Please return to the site and log in again.",4:"Player blocked",5:"Not enough balance",8:"Currency is wrong, please refresh the page",11:"Incorrect credentials",21:"Nickname already exists",22:"Nickname is not allowed",31:"Chat is blocked",33:"Bet Amount is less or greater from limits",35:"Nick already selected",52:"The loss limit reached",54:"Round has been canceled!",506:"Insurance Is Not Allowed",508:"Player Invalid State",525:"Bet Is Not Accepted",999:"Something went wrong"};var He=(e=>(e[e.Money=1]="Money",e[e.Cashback=2]="Cashback",e[e.Rakeback=3]="Rakeback",e[e.FreeSpin=4]="FreeSpin",e[e.Tournament=5]="Tournament",e))(He||{});function ti(e){return{USD:"$",RUB:"₽",AMD:"֏",AOA:"AOA",AZN:"₼",BAM:"BAM",BGN:"BGN",BIF:"BIF",BMD:"BD$",BND:"B$",BOB:"BOB",BRL:"R$",BTC:"₿",CDF:"FC",CNY:"¥",CRC:"₡",CZK:"CZK",DKK:"kr",DOP:"RD$",EGP:"E£",ETB:"Br",ETH:"Ξ",EUR:"€",GBP:"£",GEL:"₾",GTQ:"Q",HKD:"HK$",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",INR:"₹",JMD:"J$",JPY:"¥",KES:"KSh",KGS:"KGS",KHR:"៛",KRW:"₩",KWD:"ك",KZT:"₸",LAT:"Ls",LTL:"Lt",LVL:"Ls",MAD:"dh",MET:"MT",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MUR:"₨",NGN:"₦",NIS:"₪",NPR:"रू",PKR:"Rs",PLN:"zł",QAR:"ر.ق",RMB:"¥",RON:"lei",RDS:"дин",RWF:"R₣",SAO:"Db",SEK:"kr",SGD:"S$",SSP:"SS£",SYP:"SYP",THB:"฿",TRY:"₺",TWD:"NT$",UAH:"₴",USDT:"USD₮",UYU:"$U",VEF:"Bs",VND:"₫",XAF:"FCFA",XOF:"CFA",ZAR:"R",ZMW:"ZK"}[e]||e}var Fa=(e=>(e[e.BetConstruct=2]="BetConstruct",e[e.PokerDom=32]="PokerDom",e[e.Test=49]="Test",e[e.BetArabia=67]="BetArabia",e[e.Betrupi=69]="Betrupi",e[e.Galabet=155]="Galabet",e[e.Lynon=156]="Lynon",e[e.Demo=160]="Demo",e[e.HiltonBet=204]="HiltonBet",e))(Fa||{}),ht=(e=>(e[e.TEXAS=3]="TEXAS",e[e.BLACKJACK=8]="BLACKJACK",e))(ht||{});const ai=()=>a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M8 0.818001C9.44828 0.818026 10.8627 1.25591 12.0577 2.07417C13.2526 2.89244 14.1723 4.05286 14.696 5.40315C15.2196 6.75343 15.3228 8.23049 14.992 9.64048C14.6612 11.0505 13.9118 12.3275 12.8423 13.304C11.7727 14.2805 10.4329 14.9108 8.99872 15.1122C7.56452 15.3136 6.10294 15.0767 4.80577 14.4326C3.50861 13.7885 2.43649 12.7673 1.7301 11.503C1.02371 10.2387 0.716059 8.79033 0.84753 7.34803C0.856961 7.24366 0.886859 7.14216 0.935515 7.04934C0.984172 6.95652 1.05063 6.87419 1.13111 6.80706C1.21158 6.73992 1.30449 6.68929 1.40453 6.65806C1.50457 6.62683 1.60978 6.61561 1.71416 6.62505C1.81853 6.63448 1.92003 6.66438 2.01285 6.71303C2.10567 6.76169 2.188 6.82815 2.25514 6.90862C2.32227 6.9891 2.3729 7.08201 2.40413 7.18205C2.43536 7.28209 2.44658 7.3873 2.43715 7.49167C2.36041 8.30778 2.46522 9.13074 2.74405 9.90156C3.02288 10.6724 3.46883 11.372 4.0499 11.9501C4.34915 12.2494 4.68192 12.5143 5.04102 12.7385C5.9304 13.2937 6.95809 13.5875 8.00654 13.5861C9.055 13.5847 10.0819 13.2882 10.9698 12.7307C11.8577 12.1731 12.5708 11.3769 13.0274 10.4331C13.4841 9.48932 13.6659 8.43606 13.5521 7.3938C13.4383 6.35153 13.0335 5.36233 12.384 4.53932C11.7344 3.71632 10.8663 3.09274 9.87901 2.7399C8.89171 2.38706 7.82503 2.3192 6.80097 2.54409C5.77692 2.76898 4.83682 3.27754 4.08821 4.0116L5.20541 4.01239C5.40996 4.011 5.60725 4.08821 5.75651 4.22808C5.90578 4.36796 5.99563 4.55981 6.00751 4.76403C6.01939 4.96825 5.95239 5.16923 5.82035 5.32547C5.68831 5.48171 5.50132 5.58127 5.29798 5.60361L5.20541 5.60839H2.01181C1.81635 5.60837 1.6277 5.53661 1.48164 5.40673C1.33558 5.27685 1.24227 5.09787 1.2194 4.90376L1.21381 4.81039V1.61839C1.21241 1.41384 1.28963 1.21655 1.4295 1.06729C1.56938 0.918021 1.76123 0.82817 1.96545 0.816289C2.16966 0.804409 2.37065 0.871407 2.52689 1.00345C2.68313 1.13549 2.78269 1.32249 2.80502 1.52583L2.80981 1.61919V3.03484C3.47991 2.33336 4.28542 1.7752 5.17756 1.39415C6.0697 1.01309 7.0299 0.817089 8 0.818001ZM7.4015 4.01C7.54613 4.01001 7.68586 4.06238 7.79486 4.15744C7.90386 4.25251 7.97475 4.38382 7.99442 4.5271L8 4.6085V8H9.7955C9.94714 8.00005 10.0931 8.05765 10.2039 8.16117C10.3147 8.2647 10.3821 8.40642 10.3924 8.55771C10.4028 8.70899 10.3553 8.85856 10.2596 8.97619C10.1639 9.09382 10.0271 9.17074 9.8769 9.19141L9.7955 9.197H7.4015C7.25688 9.19699 7.11714 9.14462 7.00814 9.04956C6.89915 8.9545 6.82826 8.82318 6.80859 8.6799L6.803 8.5985V4.6085C6.803 4.44977 6.86606 4.29754 6.9783 4.1853C7.09054 4.07306 7.24277 4.01 7.4015 4.01Z",fill:"white"})}),ni=()=>a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M7.99996 0.39917C12.1982 0.39917 15.6015 3.80245 15.6015 8.00069C15.6015 12.1982 12.1982 15.6014 7.99996 15.6014C3.80172 15.6014 0.398438 12.1982 0.398438 8.00069C0.398437 3.80245 3.80172 0.39917 7.99996 0.39917ZM7.99692 6.66917C7.81067 6.66942 7.63099 6.73806 7.49201 6.86205C7.35303 6.98604 7.26442 7.15675 7.243 7.34177L7.23768 7.42993L7.23996 11.6114L7.24528 11.7004C7.2667 11.8857 7.35556 12.0567 7.49493 12.1808C7.6343 12.3048 7.81443 12.3733 8.00101 12.3731C8.1876 12.3729 8.3676 12.3041 8.50671 12.1798C8.64583 12.0554 8.73435 11.8842 8.7554 11.6988L8.75996 11.6099L8.75768 7.42917L8.75236 7.34025C8.73039 7.15539 8.64133 6.98501 8.50209 6.86146C8.36284 6.7379 8.18308 6.66975 7.99692 6.66993V6.66917ZM7.99996 3.81993C7.7477 3.81993 7.50577 3.92014 7.3274 4.09851C7.14903 4.27688 7.04882 4.51881 7.04882 4.77107C7.04882 5.02333 7.14903 5.26525 7.3274 5.44363C7.50577 5.622 7.7477 5.72221 7.99996 5.72221C8.25221 5.72221 8.49414 5.622 8.67251 5.44363C8.85089 5.26525 8.9511 5.02333 8.9511 4.77107C8.9511 4.51881 8.85089 4.27688 8.67251 4.09851C8.49414 3.92014 8.25221 3.81993 7.99996 3.81993Z",fill:"white"})}),ii=()=>a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M7.99999 0.626709C12.0724 0.626709 15.3735 3.92783 15.3735 8.00023C15.3735 12.0726 12.0724 15.3737 7.99999 15.3737C6.80712 15.3753 5.63183 15.0863 4.57573 14.5317L1.41249 15.3553C1.30679 15.3828 1.19574 15.3823 1.09033 15.3537C0.984926 15.325 0.888826 15.2694 0.811558 15.1922C0.73429 15.115 0.678535 15.019 0.649821 14.9136C0.621107 14.8082 0.620429 14.6971 0.647855 14.5914L1.47074 11.4289C0.914629 10.3717 0.624828 9.19478 0.626472 8.00023C0.626472 3.92783 3.9276 0.626709 7.99999 0.626709ZM8.92316 8.73758H5.6036L5.52839 8.74274C5.39603 8.76095 5.27473 8.82647 5.18693 8.92718C5.09913 9.02789 5.05075 9.15698 5.05075 9.29059C5.05075 9.4242 5.09913 9.5533 5.18693 9.65401C5.27473 9.75472 5.39603 9.82024 5.52839 9.83845L5.6036 9.84361H8.92316L8.99763 9.83845C9.12999 9.82024 9.25129 9.75472 9.33909 9.65401C9.42689 9.5533 9.47526 9.4242 9.47526 9.29059C9.47526 9.15698 9.42689 9.02789 9.33909 8.92718C9.25129 8.82647 9.12999 8.76095 8.99763 8.74274L8.92316 8.73758ZM10.3964 6.15685H5.6036L5.52839 6.16201C5.39603 6.18022 5.27473 6.24574 5.18693 6.34645C5.09913 6.44716 5.05075 6.57625 5.05075 6.70986C5.05075 6.84347 5.09913 6.97257 5.18693 7.07328C5.27473 7.17399 5.39603 7.2395 5.52839 7.25772L5.6036 7.26288H10.3964L10.4716 7.25772C10.604 7.2395 10.7253 7.17399 10.8131 7.07328C10.9009 6.97257 10.9492 6.84347 10.9492 6.70986C10.9492 6.57625 10.9009 6.44716 10.8131 6.34645C10.7253 6.24574 10.604 6.18022 10.4716 6.16201L10.3964 6.15685Z",fill:"white"})}),ri=()=>a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M1.5649 0.61447C1.77202 0.627228 1.96726 0.710458 2.10916 0.846923C2.25073 0.983355 2.32913 1.16359 2.32959 1.3503V14.6482L2.32237 14.7484C2.29404 14.9338 2.18863 15.104 2.0274 15.2221C1.86635 15.3401 1.66058 15.3982 1.45348 15.3856C1.24629 15.3728 1.05188 15.289 0.910021 15.1524C0.768089 15.0156 0.688054 14.8354 0.687988 14.6482V1.3503L0.696004 1.25091C0.724466 1.06585 0.830082 0.896783 0.990979 0.778791C1.15211 0.660819 1.35768 0.601849 1.5649 0.61447ZM4.19883 12.4519C4.48644 12.1652 4.93246 12.1301 5.28895 12.3261C5.4857 12.4343 5.6787 12.5223 5.88612 12.589C6.31321 12.7265 6.66737 13.0791 6.66764 13.5252V14.3404C6.66752 14.6531 6.45573 14.9144 6.17468 14.9769H5.91177C5.26266 14.8467 4.63859 14.6269 4.05615 14.3276C3.84833 14.2208 3.72518 14.0026 3.72511 13.7689V13.1974C3.72511 13.023 3.7948 12.8557 3.91828 12.7325L4.19883 12.4519ZM9.34245 12.3261C9.69807 12.1286 10.1433 12.1636 10.431 12.4503L11.069 13.0868C11.3723 13.3896 11.3308 13.8789 10.9576 14.0911C10.5413 14.3277 10.1243 14.5361 10.055 14.5705C10.0482 14.5738 10.0413 14.5764 10.0342 14.5793C9.61349 14.7522 9.1792 14.8844 8.73728 14.9736C8.72972 14.9752 8.72156 14.9756 8.71403 14.9769H8.50562C8.19949 14.9246 7.96463 14.6457 7.96457 14.31V13.5276C7.96466 13.0805 8.32146 12.7273 8.7493 12.589C8.95613 12.5221 9.14732 12.4345 9.34245 12.3261ZM13.5354 9.07576C13.9714 9.076 14.3071 9.464 14.1927 9.88213C13.9919 10.6158 13.6735 11.3166 13.2453 11.9558C13.189 12.0398 13.131 12.123 13.0713 12.2043C12.8306 12.5315 12.3558 12.541 12.0678 12.2539L11.4698 11.6584C11.1543 11.3438 11.1435 10.8431 11.3752 10.4633C11.5196 10.2266 11.6434 9.97844 11.7439 9.72101C11.8879 9.35254 12.2255 9.07576 12.6232 9.07576H13.5354ZM7.31691 4.77217C8.17576 4.77333 8.99957 5.114 9.60697 5.71962C10.2145 6.32559 10.5558 7.14794 10.5568 8.00487C10.5568 8.64405 10.367 9.26969 10.011 9.80117C9.65493 10.3323 9.14874 10.7461 8.55692 10.9907C7.96477 11.2353 7.3123 11.2997 6.68367 11.175C6.05535 11.0503 5.47832 10.7419 5.02524 10.2901C4.57216 9.83816 4.26301 9.26252 4.13791 8.6357C4.01288 8.00877 4.07709 7.35864 4.32227 6.76806C4.56759 6.17743 4.98363 5.67161 5.5166 5.31643C6.04936 4.96163 6.67628 4.77222 7.31691 4.77217ZM12.4036 4.26879C12.7087 3.96475 13.2169 3.99825 13.4376 4.36738C13.9435 5.21337 14.2699 6.15766 14.3915 7.14159C14.4346 7.49092 14.1476 7.78269 13.7935 7.78284H12.8797C12.4232 7.78257 12.0546 7.42283 11.9563 6.97967C11.8784 6.62802 11.7612 6.28573 11.6053 5.96009C11.4401 5.61512 11.4758 5.19429 11.7471 4.92367L12.4036 4.26879ZM7.96457 1.69979C7.96457 1.28303 8.32653 0.952595 8.73728 1.03609C9.74411 1.24149 10.6974 1.66209 11.5283 2.2697C11.8552 2.50892 11.8645 2.97857 11.578 3.26443L10.9849 3.85518C10.6679 4.1712 10.1627 4.18186 9.77931 3.94977C9.57445 3.82567 9.35894 3.71661 9.13565 3.62433C8.99026 3.56429 8.84216 3.51154 8.69239 3.46643C8.28382 3.34343 7.96481 2.99209 7.96457 2.56788V1.69979ZM5.89654 1.03609C6.3071 0.953302 6.66764 1.28334 6.66764 1.69979V3.02717C6.66764 3.18819 6.54829 3.32245 6.3895 3.35421C5.84399 3.46246 5.32382 3.66534 4.8529 3.94977C4.59496 4.10547 4.28244 4.15106 4.00886 4.0684C3.81512 4.00984 3.72512 3.80429 3.72511 3.60189V2.24004C3.72511 2.00615 3.84885 1.7881 4.05695 1.68135C4.63848 1.38308 5.25748 1.16546 5.89654 1.03609Z",fill:"white"})}),r1=()=>a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M7.99992 0.399292C12.1982 0.399292 15.6014 3.80255 15.6014 8.00078C15.6014 12.1983 12.1982 15.6015 7.99992 15.6015C3.8017 15.6015 0.398438 12.1982 0.398438 8.00078C0.398448 3.80256 3.80171 0.399311 7.99992 0.399292ZM5.68875 4.35293C5.57808 4.36 5.47399 4.40736 5.39559 4.48578L3.57426 6.31007L3.53566 6.35312C3.46773 6.44088 3.43362 6.55111 3.44066 6.66187C3.44785 6.77245 3.49583 6.87673 3.57426 6.95503L3.6173 6.99289C3.70498 7.06075 3.81466 7.0941 3.92531 7.08714C4.03602 7.08003 4.14083 7.03279 4.21922 6.95429L5.26422 5.90707V11.1914L5.26719 11.2449C5.28015 11.3558 5.33371 11.4586 5.41711 11.5328C5.50049 11.607 5.60833 11.6478 5.71992 11.6479L5.77336 11.6457C5.88433 11.6326 5.98712 11.5785 6.06133 11.495C6.13547 11.4115 6.17572 11.3031 6.17563 11.1914V5.91003L7.22211 6.95429L7.26441 6.99289C7.35602 7.06458 7.47218 7.09859 7.58801 7.08789C7.70389 7.07712 7.81172 7.02237 7.88859 6.935C7.96536 6.84771 8.00539 6.73424 8.00141 6.61808C7.99733 6.50182 7.94907 6.39111 7.86633 6.30933L6.0398 4.48503L5.9975 4.44793C5.90975 4.37995 5.79952 4.34591 5.68875 4.35293ZM10.2265 4.35664C10.1157 4.36974 10.0134 4.42323 9.93926 4.50656C9.86509 4.58996 9.82429 4.69777 9.82422 4.80937V10.0893L8.77848 9.04578L8.73543 9.00718C8.64374 8.93629 8.52795 8.90264 8.41258 8.91367C8.29733 8.92472 8.19077 8.97971 8.11422 9.06656C8.03763 9.15355 7.99626 9.26689 7.99992 9.38273C8.00367 9.49833 8.05181 9.60813 8.13352 9.69L9.9593 11.5143L10.0016 11.5529C10.0894 11.6209 10.1996 11.6534 10.3104 11.6464C10.4211 11.6393 10.5258 11.5928 10.6043 11.5143L12.4256 9.69L12.4642 9.64695C12.5321 9.55923 12.5662 9.44964 12.5592 9.33894C12.5521 9.22813 12.5042 9.12349 12.4256 9.04503L12.3825 9.00718C12.2949 8.93938 12.1851 8.9052 12.0745 8.91218C11.9638 8.91929 11.859 8.96726 11.7806 9.04578L10.7364 10.0915V4.80937L10.7327 4.75668C10.7197 4.6457 10.6662 4.54301 10.5827 4.46871C10.4994 4.39463 10.3914 4.35376 10.2799 4.35367L10.2265 4.35664Z",fill:"white",fillOpacity:"0.6"})}),s1=()=>a.jsx(a.Fragment,{children:a.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M1.68016 2.43991C1.68016 2.23835 1.76023 2.04504 1.90276 1.90251C2.04528 1.75998 2.23859 1.67991 2.44016 1.67991H3.96016C4.16172 1.67991 4.35503 1.59984 4.49756 1.45731C4.64008 1.31479 4.72016 1.12148 4.72016 0.919912C4.72016 0.718348 4.64008 0.525039 4.49756 0.382511C4.35503 0.239983 4.16172 0.159912 3.96016 0.159912H2.44016C1.83546 0.159912 1.25554 0.400126 0.827953 0.827709C0.40037 1.25529 0.160156 1.83522 0.160156 2.43991V3.95991C0.160156 4.16148 0.240227 4.35479 0.382755 4.49731C0.525283 4.63984 0.718592 4.71991 0.920156 4.71991C1.12172 4.71991 1.31503 4.63984 1.45756 4.49731C1.60008 4.35479 1.68016 4.16148 1.68016 3.95991V2.43991ZM1.68016 11.5599C1.68016 11.7615 1.76023 11.9548 1.90276 12.0973C2.04528 12.2398 2.23859 12.3199 2.44016 12.3199H3.96016C4.16172 12.3199 4.35503 12.4 4.49756 12.5425C4.64008 12.685 4.72016 12.8783 4.72016 13.0799C4.72016 13.2815 4.64008 13.4748 4.49756 13.6173C4.35503 13.7598 4.16172 13.8399 3.96016 13.8399H2.44016C1.83546 13.8399 1.25554 13.5997 0.827953 13.1721C0.40037 12.7445 0.160156 12.1646 0.160156 11.5599V10.0399C0.160156 9.83835 0.240227 9.64504 0.382755 9.50251C0.525283 9.35998 0.718592 9.27991 0.920156 9.27991C1.12172 9.27991 1.31503 9.35998 1.45756 9.50251C1.60008 9.64504 1.68016 9.83835 1.68016 10.0399V11.5599ZM11.5602 1.67991C11.7617 1.67991 11.955 1.75998 12.0976 1.90251C12.2401 2.04504 12.3202 2.23835 12.3202 2.43991V3.95991C12.3202 4.16148 12.4002 4.35479 12.5428 4.49731C12.6853 4.63984 12.8786 4.71991 13.0802 4.71991C13.2817 4.71991 13.475 4.63984 13.6176 4.49731C13.7601 4.35479 13.8402 4.16148 13.8402 3.95991V2.43991C13.8402 1.83522 13.5999 1.25529 13.1724 0.827709C12.7448 0.400126 12.1648 0.159912 11.5602 0.159912H10.0402C9.83859 0.159912 9.64528 0.239983 9.50276 0.382511C9.36023 0.525039 9.28016 0.718348 9.28016 0.919912C9.28016 1.12148 9.36023 1.31479 9.50276 1.45731C9.64528 1.59984 9.83859 1.67991 10.0402 1.67991H11.5602ZM12.3202 11.5599C12.3202 11.7615 12.2401 11.9548 12.0976 12.0973C11.955 12.2398 11.7617 12.3199 11.5602 12.3199H10.0402C9.83859 12.3199 9.64528 12.4 9.50276 12.5425C9.36023 12.685 9.28016 12.8783 9.28016 13.0799C9.28016 13.2815 9.36023 13.4748 9.50276 13.6173C9.64528 13.7598 9.83859 13.8399 10.0402 13.8399H11.5602C12.1648 13.8399 12.7448 13.5997 13.1724 13.1721C13.5999 12.7445 13.8402 12.1646 13.8402 11.5599V10.0399C13.8402 9.83835 13.7601 9.64504 13.6176 9.50251C13.475 9.35998 13.2817 9.27991 13.0802 9.27991C12.8786 9.27991 12.6853 9.35998 12.5428 9.50251C12.4002 9.64504 12.3202 9.83835 12.3202 10.0399V11.5599Z",fill:"white"})})}),si=()=>a.jsx(a.Fragment,{children:a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M8.00889 0.590088C8.56673 0.596168 9.12229 0.660768 9.66721 0.782368C9.78314 0.808246 9.88809 0.869694 9.96739 0.958126C10.0467 1.04656 10.0964 1.15756 10.1095 1.27561L10.2387 2.43613C10.257 2.59974 10.3134 2.75679 10.4034 2.89464C10.4934 3.03249 10.6145 3.14728 10.757 3.22979C10.8994 3.31229 11.0593 3.36021 11.2236 3.36967C11.388 3.37914 11.5523 3.34989 11.7033 3.28429L12.768 2.81689C12.8761 2.76927 12.9964 2.75642 13.1121 2.78011C13.2278 2.8038 13.3333 2.86286 13.414 2.94913C14.1831 3.77076 14.7558 4.75611 15.0891 5.83105C15.124 5.94401 15.1229 6.06505 15.086 6.17739C15.0491 6.28973 14.9782 6.38781 14.8831 6.45805L13.9392 7.15421C13.8064 7.25171 13.6985 7.37909 13.6241 7.52604C13.5497 7.67299 13.511 7.83538 13.511 8.00009C13.511 8.16479 13.5497 8.32719 13.6241 8.47414C13.6985 8.62108 13.8064 8.74846 13.9392 8.84597L14.8839 9.54137C14.9793 9.61156 15.0504 9.70972 15.0875 9.82223C15.1245 9.93473 15.1256 10.056 15.0906 10.1691C14.7572 11.244 14.1845 12.2293 13.4155 13.051C13.335 13.1371 13.2298 13.1961 13.1144 13.2199C12.999 13.2438 12.879 13.2312 12.7711 13.184L11.7017 12.7151C11.5509 12.649 11.3867 12.6193 11.2223 12.6285C11.0579 12.6376 10.898 12.6853 10.7555 12.7678C10.6129 12.8502 10.4918 12.965 10.4019 13.103C10.312 13.2409 10.2559 13.3981 10.238 13.5618L10.1095 14.7215C10.0966 14.8383 10.0479 14.9482 9.97005 15.0362C9.89223 15.1243 9.78912 15.1861 9.67481 15.2132C8.57399 15.4752 7.42708 15.4752 6.32625 15.2132C6.21195 15.1861 6.10884 15.1243 6.03102 15.0362C5.9532 14.9482 5.90448 14.8383 5.89153 14.7215L5.76385 13.5633C5.74524 13.4 5.68857 13.2434 5.59841 13.106C5.50826 12.9686 5.38713 12.8543 5.24476 12.7723C5.10239 12.6902 4.94275 12.6427 4.77868 12.6336C4.61461 12.6245 4.45069 12.6539 4.30009 12.7197L3.23153 13.1878C3.12345 13.2352 3.00333 13.2478 2.88775 13.224C2.77218 13.2002 2.66685 13.1411 2.58629 13.0548C1.81695 12.2322 1.24424 11.2458 0.911253 10.1699C0.876214 10.0567 0.877294 9.93549 0.914341 9.82299C0.951388 9.71048 1.02256 9.61232 1.11797 9.54213L2.06265 8.84597C2.19554 8.74856 2.3036 8.62122 2.37809 8.47425C2.45258 8.32729 2.4914 8.16485 2.4914 8.00009C2.4914 7.83533 2.45258 7.67288 2.37809 7.52592C2.3036 7.37896 2.19554 7.25162 2.06265 7.15421L1.11797 6.45957C1.0227 6.38928 0.951674 6.29107 0.914765 6.17857C0.877856 6.06607 0.876894 5.94488 0.912013 5.83181C1.24529 4.75688 1.818 3.77153 2.58705 2.94989C2.66775 2.86362 2.77326 2.80456 2.88899 2.78087C3.00472 2.75718 3.12495 2.77003 3.23305 2.81765L4.29705 3.28505C4.44831 3.35061 4.61283 3.37979 4.77741 3.37023C4.94199 3.36068 5.10203 3.31265 5.24468 3.23002C5.38733 3.14739 5.50861 3.03245 5.59877 2.89444C5.68894 2.75643 5.74548 2.5992 5.76385 2.43537L5.89305 1.27561C5.90609 1.15732 5.95583 1.04608 6.03529 0.957483C6.11476 0.86889 6.21995 0.80739 6.33613 0.781608C6.88105 0.660768 7.43813 0.596928 8.00889 0.590088ZM7.99977 5.72009C7.39508 5.72009 6.81515 5.9603 6.38757 6.38788C5.95999 6.81547 5.71977 7.39539 5.71977 8.00009C5.71977 8.60478 5.95999 9.18471 6.38757 9.61229C6.81515 10.0399 7.39508 10.2801 7.99977 10.2801C8.60447 10.2801 9.18439 10.0399 9.61198 9.61229C10.0396 9.18471 10.2798 8.60478 10.2798 8.00009C10.2798 7.39539 10.0396 6.81547 9.61198 6.38788C9.18439 5.9603 8.60447 5.72009 7.99977 5.72009Z",fill:"white"})})}),o1=()=>a.jsxs("svg",{width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M9.45402 0.399902C9.87463 0.399915 10.2805 0.554948 10.594 0.835361C10.9075 1.11577 11.1066 1.50189 11.1534 1.9199H12.1171C12.4507 1.92011 12.7721 2.04571 13.0175 2.2718C13.2628 2.49788 13.4143 2.80794 13.4417 3.14046L13.4463 3.2499V5.5299C13.4463 6.16081 13.205 6.76781 12.7717 7.2264C12.3384 7.68498 11.746 7.96038 11.1161 7.9961L10.9565 8.00066C10.7032 8.79031 10.2308 9.49174 9.59422 10.0232C8.95765 10.5547 8.18316 10.8944 7.36098 11.0027V12.1799H8.69326C9.32403 12.1801 9.93085 12.4215 10.3893 12.8548C10.8477 13.2881 11.123 13.8803 11.1587 14.5101L11.1633 14.6499V15.0299C11.1632 15.1678 11.1132 15.3009 11.0226 15.4048C10.9319 15.5086 10.8066 15.576 10.67 15.5946L10.5933 15.5999H2.99174C2.85387 15.6001 2.72061 15.5503 2.61664 15.4597C2.51267 15.3692 2.44505 15.244 2.4263 15.1074L2.42174 15.0299V14.6499C2.42169 14.0191 2.66296 13.4122 3.09609 12.9537C3.52922 12.4951 4.12138 12.2196 4.75114 12.1837L4.89174 12.1799H6.22174V11.0027C5.39983 10.8941 4.62567 10.5543 3.98939 10.0229C3.3531 9.49138 2.88088 8.7901 2.6277 8.00066L2.60794 7.9999C1.95285 7.9999 1.3246 7.73967 0.861386 7.27646C0.398171 6.81324 0.137939 6.18499 0.137939 5.5299V3.2499C0.137939 2.51574 0.733779 1.9199 1.46794 1.9199H2.43162C2.47837 1.50176 2.67763 1.11554 2.9913 0.835108C3.30496 0.554677 3.711 0.399728 4.13174 0.399902H9.45402ZM12.1171 3.0599H11.164V6.84698C11.4613 6.80474 11.7355 6.66316 11.9421 6.44527C12.1486 6.22739 12.2754 5.94602 12.3017 5.64694L12.3071 5.5299V3.2499C12.307 3.2071 12.2925 3.16557 12.2658 3.13205C12.2392 3.09853 12.2021 3.07498 12.1604 3.06522L12.1171 3.0599ZM2.42174 3.0599H1.46794C1.41755 3.0599 1.36922 3.07992 1.33359 3.11555C1.29796 3.15118 1.27794 3.19951 1.27794 3.2499V5.5299C1.2779 5.85041 1.3936 6.16016 1.60375 6.40215C1.81391 6.64415 2.10439 6.80211 2.42174 6.84698V3.0599Z",fill:"url(#paint0_linear_851_570)"}),a.jsx("defs",{children:a.jsxs("linearGradient",{id:"paint0_linear_851_570",x1:"-0.221746",y1:"-2.13343",x2:"19.2003",y2:"7.59061",gradientUnits:"userSpaceOnUse",children:[a.jsx("stop",{stopColor:"#B97304"}),a.jsx("stop",{offset:"0.368995",stopColor:"#FFC15D"}),a.jsx("stop",{offset:"0.5",stopColor:"#FFD38B"}),a.jsx("stop",{offset:"0.611316",stopColor:"#FFC15D"}),a.jsx("stop",{offset:"1",stopColor:"#B97304"})]})})]}),Ra=()=>a.jsx(a.Fragment,{children:a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M10.2804 1.10977V12.8867C10.2804 13.706 9.31215 14.1407 8.69959 13.5966L5.28567 10.5611C5.18145 10.4683 5.04678 10.4169 4.90719 10.4167H2.11039C1.657 10.4167 1.22217 10.2367 0.901507 9.91615C0.580841 9.59563 0.400592 9.16088 0.400391 8.70749V5.28977C0.400391 4.83625 0.580551 4.40131 0.901238 4.08062C1.22193 3.75993 1.65687 3.57977 2.11039 3.57977H4.90719C5.04678 3.57961 5.18145 3.52822 5.28567 3.43537L8.69883 0.400692C9.31215 -0.144988 10.2804 0.288972 10.2804 1.10977ZM13.3143 2.36149C13.3745 2.31698 13.4429 2.28475 13.5155 2.26666C13.5881 2.24856 13.6636 2.24495 13.7376 2.25603C13.8117 2.26711 13.8828 2.29267 13.947 2.33123C14.0111 2.3698 14.067 2.42063 14.1116 2.48081C15.0807 3.78793 15.6028 5.37257 15.6004 6.99977C15.6025 8.62705 15.0802 10.2117 14.1108 11.5187C14.019 11.6348 13.8856 11.7106 13.7389 11.7301C13.5921 11.7496 13.4436 11.7113 13.3246 11.6232C13.2057 11.5352 13.1256 11.4043 13.1014 11.2583C13.0772 11.1122 13.1108 10.9625 13.195 10.8408C14.019 9.72993 14.4628 8.38291 14.4604 6.99977C14.4628 5.61664 14.019 4.26962 13.195 3.15873C13.1505 3.09855 13.1183 3.03019 13.1002 2.95755C13.0821 2.88492 13.0785 2.80943 13.0895 2.7354C13.1006 2.66137 13.1262 2.59025 13.1647 2.52609C13.2033 2.46193 13.2541 2.406 13.3143 2.36149ZM11.9091 4.24097C11.9749 4.20531 12.0472 4.18297 12.1217 4.17524C12.1962 4.16751 12.2715 4.17454 12.3433 4.19593C12.415 4.21731 12.4819 4.25264 12.54 4.29988C12.5981 4.34712 12.6464 4.40536 12.682 4.47125C13.0894 5.22365 13.3204 6.08625 13.3204 7.00053C13.3217 7.88365 13.1022 8.75308 12.682 9.52981C12.6464 9.59568 12.5981 9.65389 12.54 9.70111C12.4819 9.74834 12.415 9.78365 12.3432 9.80503C12.2715 9.82641 12.1962 9.83345 12.1217 9.82574C12.0472 9.81803 11.9749 9.79572 11.9091 9.76009C11.8432 9.72446 11.785 9.67621 11.7378 9.61808C11.6905 9.55996 11.6552 9.4931 11.6339 9.42133C11.6125 9.34955 11.6054 9.27427 11.6131 9.19978C11.6209 9.12529 11.6432 9.05304 11.6788 8.98717C11.998 8.39665 12.1804 7.72101 12.1804 7.00053C12.1804 6.28005 11.998 5.60441 11.6788 5.01389C11.6431 4.94803 11.6208 4.87578 11.6131 4.80128C11.6053 4.72678 11.6124 4.65149 11.6337 4.57971C11.6551 4.50793 11.6905 4.44106 11.7377 4.38294C11.7849 4.32482 11.8432 4.27658 11.9091 4.24097Z",fill:"white"})})});var M=(e=>(e[e.Message=1]="Message",e[e.Support=2]="Support",e[e.Tip=3]="Tip",e[e.History=4]="History",e[e.Info=5]="Info",e[e.Settings=6]="Settings",e[e.VolumeOn=7]="VolumeOn",e[e.FullScreen=8]="FullScreen",e[e.Tournament=9]="Tournament",e[e.closeMenu=10]="closeMenu",e[e.Limit=11]="Limit",e))(M||{});const l1=[{name:"Tournament",buttonType:9,icon:o1()},{name:"Message",buttonType:1,icon:ii()},{name:"Tip",buttonType:3,icon:ri()},{name:"History",buttonType:4,icon:ai()},{name:"Info",buttonType:5,icon:ni()},{name:"Settings",buttonType:6,icon:si()},{buttonType:7,icon:Ra()},{name:"FullScreen",buttonType:8,icon:s1()}],c1=(e,t)=>{switch(e){case 6:return{header:"Settings",height:412,width:300};case 4:return{header:t?"Bet Details":"History",height:520,width:500};case 3:return{header:"Send Tip",height:176,width:300};case 9:return{header:"Golden Chip Tournament",height:450,width:500};case 5:return{header:"Help",height:450,width:500};default:return null}},d1=[{name:"Message",buttonType:M.Message,icon:ii()},{name:"Send Tip",buttonType:M.Tip,icon:ri()}],h1=[{name:"History",buttonType:M.History,icon:ai()},{name:"Help",buttonType:M.Info,icon:ni()},{name:"Limits & Payouts",buttonType:M.Limit,icon:r1()}],u1=(e,t,n)=>{switch(e){case M.Message:return{header:"Message",height:100,width:100};case M.Support:return{header:"Support",height:100,width:100};case M.Tip:return{header:"Send Tip",height:t?100:38,width:t?50:100};case M.History:return{header:n?"Bet Details":"History",height:t?100:82.5,width:100};case M.Info:return{header:"Help",height:82.5,width:100};case M.Tournament:return{header:"Golden Chip Tournament",height:t?100:82.5,width:100};case M.Settings:return{header:"Settings",height:100,width:100};case M.Limit:return{header:"Limits & Payouts",height:100,width:100};default:return null}},f1=(e,t)=>{t(e.touches[0].clientY)},p1=(e,t,n)=>{if(!t)return;const r=e.touches[0].clientY-t;r>0&&r<300&&(e.currentTarget.style.transform=`translateY(${r}px)`),r>120&&n(!1)},m1=(e,t)=>{e.currentTarget.style.transform="translateY(0px)",t(0)},T=e=>typeof e=="string",ut=()=>{let e,t;const n=new Promise((i,r)=>{e=i,t=r});return n.resolve=e,n.reject=t,n},oi=e=>e==null?"":""+e,g1=(e,t,n)=>{e.forEach(i=>{t[i]&&(n[i]=t[i])})},y1=/###/g,li=e=>e&&e.indexOf("###")>-1?e.replace(y1,"."):e,ci=e=>!e||T(e),ft=(e,t,n)=>{const i=T(t)?t.split("."):t;let r=0;for(;r<i.length-1;){if(ci(e))return{};const s=li(i[r]);!e[s]&&n&&(e[s]=new n),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++r}return ci(e)?{}:{obj:e,k:li(i[r])}},di=(e,t,n)=>{const{obj:i,k:r}=ft(e,t,Object);if(i!==void 0||t.length===1){i[r]=n;return}let s=t[t.length-1],o=t.slice(0,t.length-1),l=ft(e,o,Object);for(;l.obj===void 0&&o.length;)s=`${o[o.length-1]}.${s}`,o=o.slice(0,o.length-1),l=ft(e,o,Object),l!=null&&l.obj&&typeof l.obj[`${l.k}.${s}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${s}`]=n},b1=(e,t,n,i)=>{const{obj:r,k:s}=ft(e,t,Object);r[s]=r[s]||[],r[s].push(n)},Vt=(e,t)=>{const{obj:n,k:i}=ft(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,i))return n[i]},x1=(e,t,n)=>{const i=Vt(e,n);return i!==void 0?i:Vt(t,n)},hi=(e,t,n)=>{for(const i in t)i!=="__proto__"&&i!=="constructor"&&(i in e?T(e[i])||e[i]instanceof String||T(t[i])||t[i]instanceof String?n&&(e[i]=t[i]):hi(e[i],t[i],n):e[i]=t[i]);return e},$e=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var C1={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const w1=e=>T(e)?e.replace(/[&<>"'\/]/g,t=>C1[t]):e;class v1{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const i=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,i),this.regExpQueue.push(t),i}}const k1=[" ",",","?","!",";"],A1=new v1(20),j1=(e,t,n)=>{t=t||"",n=n||"";const i=k1.filter(o=>t.indexOf(o)<0&&n.indexOf(o)<0);if(i.length===0)return!0;const r=A1.getRegExp(`(${i.map(o=>o==="?"?"\\?":o).join("|")})`);let s=!r.test(e);if(!s){const o=e.indexOf(n);o>0&&!r.test(e.substring(0,o))&&(s=!0)}return s},Wa=(e,t,n=".")=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const i=t.split(n);let r=e;for(let s=0;s<i.length;){if(!r||typeof r!="object")return;let o,l="";for(let c=s;c<i.length;++c)if(c!==s&&(l+=n),l+=i[c],o=r[l],o!==void 0){if(["string","number","boolean"].indexOf(typeof o)>-1&&c<i.length-1)continue;s+=c-s+1;break}r=o}return r},pt=e=>e==null?void 0:e.replace("_","-"),S1={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){var n,i;(i=(n=console==null?void 0:console[e])==null?void 0:n.apply)==null||i.call(n,console,t)}};class Gt{constructor(t,n={}){this.init(t,n)}init(t,n={}){this.prefix=n.prefix||"i18next:",this.logger=t||S1,this.options=n,this.debug=n.debug}log(...t){return this.forward(t,"log","",!0)}warn(...t){return this.forward(t,"warn","",!0)}error(...t){return this.forward(t,"error","")}deprecate(...t){return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,i,r){return r&&!this.debug?null:(T(t[0])&&(t[0]=`${i}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new Gt(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Gt(this.logger,t)}}var Le=new Gt;class Et{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(i=>{this.observers[i]||(this.observers[i]=new Map);const r=this.observers[i].get(n)||0;this.observers[i].set(n,r+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t,...n){this.observers[t]&&Array.from(this.observers[t].entries()).forEach(([r,s])=>{for(let o=0;o<s;o++)r(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([r,s])=>{for(let o=0;o<s;o++)r.apply(r,[t,...n])})}}class ui extends Et{constructor(t,n={ns:["translation"],defaultNS:"translation"}){super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,i,r={}){var d,h;const s=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,o=r.ignoreJSONStructure!==void 0?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,n],i&&(Array.isArray(i)?l.push(...i):T(i)&&s?l.push(...i.split(s)):l.push(i)));const c=Vt(this.data,l);return!c&&!n&&!i&&t.indexOf(".")>-1&&(t=l[0],n=l[1],i=l.slice(2).join(".")),c||!o||!T(i)?c:Wa((h=(d=this.data)==null?void 0:d[t])==null?void 0:h[n],i,s)}addResource(t,n,i,r,s={silent:!1}){const o=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let l=[t,n];i&&(l=l.concat(o?i.split(o):i)),t.indexOf(".")>-1&&(l=t.split("."),r=n,n=l[1]),this.addNamespaces(n),di(this.data,l,r),s.silent||this.emit("added",t,n,i,r)}addResources(t,n,i,r={silent:!1}){for(const s in i)(T(i[s])||Array.isArray(i[s]))&&this.addResource(t,n,s,i[s],{silent:!0});r.silent||this.emit("added",t,n,i)}addResourceBundle(t,n,i,r,s,o={silent:!1,skipCopy:!1}){let l=[t,n];t.indexOf(".")>-1&&(l=t.split("."),r=i,i=n,n=l[1]),this.addNamespaces(n);let c=Vt(this.data,l)||{};o.skipCopy||(i=JSON.parse(JSON.stringify(i))),r?hi(c,i,s):c={...c,...i},di(this.data,l,c),o.silent||this.emit("added",t,n,i)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(r=>n[r]&&Object.keys(n[r]).length>0)}toJSON(){return this.data}}var fi={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,i,r){return e.forEach(s=>{var o;t=((o=this.processors[s])==null?void 0:o.process(t,n,i,r))??t}),t}};const pi=Symbol("i18next/PATH_KEY");function L1(){const e=[],t=Object.create(null);let n;return t.get=(i,r)=>{var s;return(s=n==null?void 0:n.revoke)==null||s.call(n),r===pi?e:(e.push(r),n=Proxy.revocable(i,t),n.proxy)},Proxy.revocable(Object.create(null),t).proxy}function B1(e,t){const{[pi]:n}=e(L1());return n.join((t==null?void 0:t.keySeparator)??".")}const mi={},gi=e=>!T(e)&&typeof e!="boolean"&&typeof e!="number";class Ut extends Et{constructor(t,n={}){super(),g1(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Le.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t,n={interpolation:{}}){const i={...n};if(t==null)return!1;const r=this.resolve(t,i);return(r==null?void 0:r.res)!==void 0}extractFromKey(t,n){let i=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const r=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let s=n.ns||this.options.defaultNS||[];const o=i&&t.indexOf(i)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!j1(t,i,r);if(o&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:T(s)?[s]:s};const d=t.split(i);(i!==r||i===r&&this.options.ns.indexOf(d[0])>-1)&&(s=d.shift()),t=d.join(r)}return{key:t,namespaces:T(s)?[s]:s}}translate(t,n,i){let r=typeof n=="object"?{...n}:n;if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof options=="object"&&(r={...r}),r||(r={}),t==null)return"";typeof t=="function"&&(t=B1(t,r)),Array.isArray(t)||(t=[String(t)]);const s=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,o=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:l,namespaces:c}=this.extractFromKey(t[t.length-1],r),d=c[c.length-1];let h=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;h===void 0&&(h=":");const f=r.lng||this.language,y=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((f==null?void 0:f.toLowerCase())==="cimode")return y?s?{res:`${d}${h}${l}`,usedKey:l,exactUsedKey:l,usedLng:f,usedNS:d,usedParams:this.getUsedParamsDetails(r)}:`${d}${h}${l}`:s?{res:l,usedKey:l,exactUsedKey:l,usedLng:f,usedNS:d,usedParams:this.getUsedParamsDetails(r)}:l;const p=this.resolve(t,r);let g=p==null?void 0:p.res;const b=(p==null?void 0:p.usedKey)||l,x=(p==null?void 0:p.exactUsedKey)||l,v=["[object Number]","[object Function]","[object RegExp]"],C=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,L=!this.i18nFormat||this.i18nFormat.handleAsObject,S=r.count!==void 0&&!T(r.count),B=Ut.hasDefaultValue(r),I=S?this.pluralResolver.getSuffix(f,r.count,r):"",j=r.ordinal&&S?this.pluralResolver.getSuffix(f,r.count,{ordinal:!1}):"",H=S&&!r.ordinal&&r.count===0,P=H&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${I}`]||r[`defaultValue${j}`]||r.defaultValue;let R=g;L&&!g&&B&&(R=P);const _=gi(R),fe=Object.prototype.toString.apply(R);if(L&&R&&_&&v.indexOf(fe)<0&&!(T(C)&&Array.isArray(R))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const U=this.options.returnedObjectHandler?this.options.returnedObjectHandler(b,R,{...r,ns:c}):`key '${l} (${this.language})' returned an object instead of string.`;return s?(p.res=U,p.usedParams=this.getUsedParamsDetails(r),p):U}if(o){const U=Array.isArray(R),q=U?[]:{},se=U?x:b;for(const ee in R)if(Object.prototype.hasOwnProperty.call(R,ee)){const ne=`${se}${o}${ee}`;B&&!g?q[ee]=this.translate(ne,{...r,defaultValue:gi(P)?P[ee]:void 0,joinArrays:!1,ns:c}):q[ee]=this.translate(ne,{...r,joinArrays:!1,ns:c}),q[ee]===ne&&(q[ee]=R[ee])}g=q}}else if(L&&T(C)&&Array.isArray(g))g=g.join(C),g&&(g=this.extendTranslation(g,t,r,i));else{let U=!1,q=!1;!this.isValidLookup(g)&&B&&(U=!0,g=P),this.isValidLookup(g)||(q=!0,g=l);const ee=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&q?void 0:g,ne=B&&P!==g&&this.options.updateMissing;if(q||U||ne){if(this.logger.log(ne?"updateKey":"missingKey",f,d,l,ne?P:g),o){const Q=this.resolve(l,{...r,keySeparator:!1});Q&&Q.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let oe=[];const J=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&J&&J[0])for(let Q=0;Q<J.length;Q++)oe.push(J[Q]);else this.options.saveMissingTo==="all"?oe=this.languageUtils.toResolveHierarchy(r.lng||this.language):oe.push(r.lng||this.language);const W=(Q,K,pe)=>{var Ae;const Pe=B&&pe!==g?pe:ee;this.options.missingKeyHandler?this.options.missingKeyHandler(Q,d,K,Pe,ne,r):(Ae=this.backendConnector)!=null&&Ae.saveMissing&&this.backendConnector.saveMissing(Q,d,K,Pe,ne,r),this.emit("missingKey",Q,d,K,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&S?oe.forEach(Q=>{const K=this.pluralResolver.getSuffixes(Q,r);H&&r[`defaultValue${this.options.pluralSeparator}zero`]&&K.indexOf(`${this.options.pluralSeparator}zero`)<0&&K.push(`${this.options.pluralSeparator}zero`),K.forEach(pe=>{W([Q],l+pe,r[`defaultValue${pe}`]||P)})}):W(oe,l,P))}g=this.extendTranslation(g,t,r,p,i),q&&g===l&&this.options.appendNamespaceToMissingKey&&(g=`${d}${h}${l}`),(q||U)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${d}${h}${l}`:l,U?g:void 0,r))}return s?(p.res=g,p.usedParams=this.getUsedParamsDetails(r),p):g}extendTranslation(t,n,i,r,s){var c,d;if((c=this.i18nFormat)!=null&&c.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const h=T(t)&&(((d=i==null?void 0:i.interpolation)==null?void 0:d.skipOnVariables)!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let f;if(h){const p=t.match(this.interpolator.nestingRegexp);f=p&&p.length}let y=i.replace&&!T(i.replace)?i.replace:i;if(this.options.interpolation.defaultVariables&&(y={...this.options.interpolation.defaultVariables,...y}),t=this.interpolator.interpolate(t,y,i.lng||this.language||r.usedLng,i),h){const p=t.match(this.interpolator.nestingRegexp),g=p&&p.length;f<g&&(i.nest=!1)}!i.lng&&r&&r.res&&(i.lng=this.language||r.usedLng),i.nest!==!1&&(t=this.interpolator.nest(t,(...p)=>(s==null?void 0:s[0])===p[0]&&!i.context?(this.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${n[0]}`),null):this.translate(...p,n),i)),i.interpolation&&this.interpolator.reset()}const o=i.postProcess||this.options.postProcess,l=T(o)?[o]:o;return t!=null&&(l!=null&&l.length)&&i.applyPostProcessor!==!1&&(t=fi.handle(l,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(i)},...i}:i,this)),t}resolve(t,n={}){let i,r,s,o,l;return T(t)&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(i))return;const d=this.extractFromKey(c,n),h=d.key;r=h;let f=d.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const y=n.count!==void 0&&!T(n.count),p=y&&!n.ordinal&&n.count===0,g=n.context!==void 0&&(T(n.context)||typeof n.context=="number")&&n.context!=="",b=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(x=>{var v,C;this.isValidLookup(i)||(l=x,!mi[`${b[0]}-${x}`]&&((v=this.utils)!=null&&v.hasLoadedNamespace)&&!((C=this.utils)!=null&&C.hasLoadedNamespace(l))&&(mi[`${b[0]}-${x}`]=!0,this.logger.warn(`key "${r}" for languages "${b.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(L=>{var I;if(this.isValidLookup(i))return;o=L;const S=[h];if((I=this.i18nFormat)!=null&&I.addLookupKeys)this.i18nFormat.addLookupKeys(S,h,L,x,n);else{let j;y&&(j=this.pluralResolver.getSuffix(L,n.count,n));const H=`${this.options.pluralSeparator}zero`,P=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(y&&(n.ordinal&&j.indexOf(P)===0&&S.push(h+j.replace(P,this.options.pluralSeparator)),S.push(h+j),p&&S.push(h+H)),g){const R=`${h}${this.options.contextSeparator||"_"}${n.context}`;S.push(R),y&&(n.ordinal&&j.indexOf(P)===0&&S.push(R+j.replace(P,this.options.pluralSeparator)),S.push(R+j),p&&S.push(R+H))}}let B;for(;B=S.pop();)this.isValidLookup(i)||(s=B,i=this.getResource(L,x,B,n))}))})}),{res:i,usedKey:r,exactUsedKey:s,usedLng:o,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,i,r={}){var s;return(s=this.i18nFormat)!=null&&s.getResource?this.i18nFormat.getResource(t,n,i,r):this.resourceStore.getResource(t,n,i,r)}getUsedParamsDetails(t={}){const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=t.replace&&!T(t.replace);let r=i?t.replace:t;if(i&&typeof t.count<"u"&&(r.count=t.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!i){r={...r};for(const s of n)delete r[s]}return r}static hasDefaultValue(t){const n="defaultValue";for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&n===i.substring(0,n.length)&&t[i]!==void 0)return!0;return!1}}class yi{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Le.create("languageUtils")}getScriptPartFromCode(t){if(t=pt(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=pt(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(T(t)&&t.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(t)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(i=>{if(n)return;const r=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(r))&&(n=r)}),!n&&this.options.supportedLngs&&t.forEach(i=>{if(n)return;const r=this.getScriptPartFromCode(i);if(this.isSupportedCode(r))return n=r;const s=this.getLanguagePartFromCode(i);if(this.isSupportedCode(s))return n=s;n=this.options.supportedLngs.find(o=>{if(o===s)return o;if(!(o.indexOf("-")<0&&s.indexOf("-")<0)&&(o.indexOf("-")>0&&s.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===s||o.indexOf(s)===0&&s.length>1))return o})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),T(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let i=t[n];return i||(i=t[this.getScriptPartFromCode(n)]),i||(i=t[this.formatLanguageCode(n)]),i||(i=t[this.getLanguagePartFromCode(n)]),i||(i=t.default),i||[]}toResolveHierarchy(t,n){const i=this.getFallbackCodes((n===!1?[]:n)||this.options.fallbackLng||[],t),r=[],s=o=>{o&&(this.isSupportedCode(o)?r.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return T(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):T(t)&&s(this.formatLanguageCode(t)),i.forEach(o=>{r.indexOf(o)<0&&s(this.formatLanguageCode(o))}),r}}const bi={zero:0,one:1,two:2,few:3,many:4,other:5},xi={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class I1{constructor(t,n={}){this.languageUtils=t,this.options=n,this.logger=Le.create("pluralResolver"),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t,n={}){const i=pt(t==="dev"?"en":t),r=n.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:i,type:r});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let o;try{o=new Intl.PluralRules(i,{type:r})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),xi;if(!t.match(/-|_/))return xi;const c=this.languageUtils.getLanguagePartFromCode(t);o=this.getRule(c,n)}return this.pluralRulesCache[s]=o,o}needsPlural(t,n={}){let i=this.getRule(t,n);return i||(i=this.getRule("dev",n)),(i==null?void 0:i.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(t,n,i={}){return this.getSuffixes(t,i).map(r=>`${n}${r}`)}getSuffixes(t,n={}){let i=this.getRule(t,n);return i||(i=this.getRule("dev",n)),i?i.resolvedOptions().pluralCategories.sort((r,s)=>bi[r]-bi[s]).map(r=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r}`):[]}getSuffix(t,n,i={}){const r=this.getRule(t,i);return r?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${r.select(n)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",n,i))}}const Ci=(e,t,n,i=".",r=!0)=>{let s=x1(e,t,n);return!s&&r&&T(n)&&(s=Wa(e,n,i),s===void 0&&(s=Wa(t,n,i))),s},Va=e=>e.replace(/\$/g,"$$$$");class T1{constructor(t={}){var n;this.logger=Le.create("interpolator"),this.options=t,this.format=((n=t==null?void 0:t.interpolation)==null?void 0:n.format)||(i=>i),this.init(t)}init(t={}){t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:i,useRawValueToEscape:r,prefix:s,prefixEscaped:o,suffix:l,suffixEscaped:c,formatSeparator:d,unescapeSuffix:h,unescapePrefix:f,nestingPrefix:y,nestingPrefixEscaped:p,nestingSuffix:g,nestingSuffixEscaped:b,nestingOptionsSeparator:x,maxReplaces:v,alwaysFormat:C}=t.interpolation;this.escape=n!==void 0?n:w1,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=r!==void 0?r:!1,this.prefix=s?$e(s):o||"{{",this.suffix=l?$e(l):c||"}}",this.formatSeparator=d||",",this.unescapePrefix=h?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=y?$e(y):p||$e("$t("),this.nestingSuffix=g?$e(g):b||$e(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=v||1e3,this.alwaysFormat=C!==void 0?C:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,i)=>(n==null?void 0:n.source)===i?(n.lastIndex=0,n):new RegExp(i,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(t,n,i,r){var p;let s,o,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},d=g=>{if(g.indexOf(this.formatSeparator)<0){const C=Ci(n,c,g,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(C,void 0,i,{...r,...n,interpolationkey:g}):C}const b=g.split(this.formatSeparator),x=b.shift().trim(),v=b.join(this.formatSeparator).trim();return this.format(Ci(n,c,x,this.options.keySeparator,this.options.ignoreJSONStructure),v,i,{...r,...n,interpolationkey:x})};this.resetRegExp();const h=(r==null?void 0:r.missingInterpolationHandler)||this.options.missingInterpolationHandler,f=((p=r==null?void 0:r.interpolation)==null?void 0:p.skipOnVariables)!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:g=>Va(g)},{regex:this.regexp,safeValue:g=>this.escapeValue?Va(this.escape(g)):Va(g)}].forEach(g=>{for(l=0;s=g.regex.exec(t);){const b=s[1].trim();if(o=d(b),o===void 0)if(typeof h=="function"){const v=h(t,s,r);o=T(v)?v:""}else if(r&&Object.prototype.hasOwnProperty.call(r,b))o="";else if(f){o=s[0];continue}else this.logger.warn(`missed to pass in variable ${b} for interpolating ${t}`),o="";else!T(o)&&!this.useRawValueToEscape&&(o=oi(o));const x=g.safeValue(o);if(t=t.replace(s[0],x),f?(g.regex.lastIndex+=o.length,g.regex.lastIndex-=s[0].length):g.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,n,i={}){let r,s,o;const l=(c,d)=>{const h=this.nestingOptionsSeparator;if(c.indexOf(h)<0)return c;const f=c.split(new RegExp(`${h}[ ]*{`));let y=`{${f[1]}`;c=f[0],y=this.interpolate(y,o);const p=y.match(/'/g),g=y.match(/"/g);(((p==null?void 0:p.length)??0)%2===0&&!g||g.length%2!==0)&&(y=y.replace(/'/g,'"'));try{o=JSON.parse(y),d&&(o={...d,...o})}catch(b){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,b),`${c}${h}${y}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,c};for(;r=this.nestingRegexp.exec(t);){let c=[];o={...i},o=o.replace&&!T(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;const d=/{.*}/.test(r[1])?r[1].lastIndexOf("}")+1:r[1].indexOf(this.formatSeparator);if(d!==-1&&(c=r[1].slice(d).split(this.formatSeparator).map(h=>h.trim()).filter(Boolean),r[1]=r[1].slice(0,d)),s=n(l.call(this,r[1].trim(),o),o),s&&r[0]===t&&!T(s))return s;T(s)||(s=oi(s)),s||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${t}`),s=""),c.length&&(s=c.reduce((h,f)=>this.format(h,f,i.lng,{...i,interpolationkey:r[1].trim()}),s.trim())),t=t.replace(r[0],s),this.regexp.lastIndex=0}return t}}const N1=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const i=e.split("(");t=i[0].toLowerCase().trim();const r=i[1].substring(0,i[1].length-1);t==="currency"&&r.indexOf(":")<0?n.currency||(n.currency=r.trim()):t==="relativetime"&&r.indexOf(":")<0?n.range||(n.range=r.trim()):r.split(";").forEach(o=>{if(o){const[l,...c]=o.split(":"),d=c.join(":").trim().replace(/^'+|'+$/g,""),h=l.trim();n[h]||(n[h]=d),d==="false"&&(n[h]=!1),d==="true"&&(n[h]=!0),isNaN(d)||(n[h]=parseInt(d,10))}})}return{formatName:t,formatOptions:n}},wi=e=>{const t={};return(n,i,r)=>{let s=r;r&&r.interpolationkey&&r.formatParams&&r.formatParams[r.interpolationkey]&&r[r.interpolationkey]&&(s={...s,[r.interpolationkey]:void 0});const o=i+JSON.stringify(s);let l=t[o];return l||(l=e(pt(i),r),t[o]=l),l(n)}},P1=e=>(t,n,i)=>e(pt(n),i)(t);class D1{constructor(t={}){this.logger=Le.create("formatter"),this.options=t,this.init(t)}init(t,n={interpolation:{}}){this.formatSeparator=n.interpolation.formatSeparator||",";const i=n.cacheInBuiltFormats?wi:P1;this.formats={number:i((r,s)=>{const o=new Intl.NumberFormat(r,{...s});return l=>o.format(l)}),currency:i((r,s)=>{const o=new Intl.NumberFormat(r,{...s,style:"currency"});return l=>o.format(l)}),datetime:i((r,s)=>{const o=new Intl.DateTimeFormat(r,{...s});return l=>o.format(l)}),relativetime:i((r,s)=>{const o=new Intl.RelativeTimeFormat(r,{...s});return l=>o.format(l,s.range||"day")}),list:i((r,s)=>{const o=new Intl.ListFormat(r,{...s});return l=>o.format(l)})}}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=wi(n)}format(t,n,i,r={}){const s=n.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(l=>l.indexOf(")")>-1)){const l=s.findIndex(c=>c.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,l)].join(this.formatSeparator)}return s.reduce((l,c)=>{var f;const{formatName:d,formatOptions:h}=N1(c);if(this.formats[d]){let y=l;try{const p=((f=r==null?void 0:r.formatParams)==null?void 0:f[r.interpolationkey])||{},g=p.locale||p.lng||r.locale||r.lng||i;y=this.formats[d](l,g,{...h,...r,...p})}catch(p){this.logger.warn(p)}return y}else this.logger.warn(`there was no format function for ${d}`);return l},t)}}const H1=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class M1 extends Et{constructor(t,n,i,r={}){var s,o;super(),this.backend=t,this.store=n,this.services=i,this.languageUtils=i.languageUtils,this.options=r,this.logger=Le.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],(o=(s=this.backend)==null?void 0:s.init)==null||o.call(s,i,r.backend,r)}queueLoad(t,n,i,r){const s={},o={},l={},c={};return t.forEach(d=>{let h=!0;n.forEach(f=>{const y=`${d}|${f}`;!i.reload&&this.store.hasResourceBundle(d,f)?this.state[y]=2:this.state[y]<0||(this.state[y]===1?o[y]===void 0&&(o[y]=!0):(this.state[y]=1,h=!1,o[y]===void 0&&(o[y]=!0),s[y]===void 0&&(s[y]=!0),c[f]===void 0&&(c[f]=!0)))}),h||(l[d]=!0)}),(Object.keys(s).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(s),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,n,i){const r=t.split("|"),s=r[0],o=r[1];n&&this.emit("failedLoading",s,o,n),!n&&i&&this.store.addResourceBundle(s,o,i,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&i&&(this.state[t]=0);const l={};this.queue.forEach(c=>{b1(c.loaded,[s],o),H1(c,t),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(d=>{l[d]||(l[d]={});const h=c.loaded[d];h.length&&h.forEach(f=>{l[d][f]===void 0&&(l[d][f]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(t,n,i,r=0,s=this.retryTimeout,o){if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:i,tried:r,wait:s,callback:o});return}this.readingCalls++;const l=(d,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(d&&h&&r<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,i,r+1,s*2,o)},s);return}o(d,h)},c=this.backend[i].bind(this.backend);if(c.length===2){try{const d=c(t,n);d&&typeof d.then=="function"?d.then(h=>l(null,h)).catch(l):l(null,d)}catch(d){l(d)}return}return c(t,n,l)}prepareLoading(t,n,i={},r){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();T(t)&&(t=this.languageUtils.toResolveHierarchy(t)),T(n)&&(n=[n]);const s=this.queueLoad(t,n,i,r);if(!s.toLoad.length)return s.pending.length||r(),null;s.toLoad.forEach(o=>{this.loadOne(o)})}load(t,n,i){this.prepareLoading(t,n,{},i)}reload(t,n,i){this.prepareLoading(t,n,{reload:!0},i)}loadOne(t,n=""){const i=t.split("|"),r=i[0],s=i[1];this.read(r,s,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${n}loading namespace ${s} for language ${r} failed`,o),!o&&l&&this.logger.log(`${n}loaded namespace ${s} for language ${r}`,l),this.loaded(t,o,l)})}saveMissing(t,n,i,r,s,o={},l=()=>{}){var c,d,h,f,y;if((d=(c=this.services)==null?void 0:c.utils)!=null&&d.hasLoadedNamespace&&!((f=(h=this.services)==null?void 0:h.utils)!=null&&f.hasLoadedNamespace(n))){this.logger.warn(`did not save key "${i}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(i==null||i==="")){if((y=this.backend)!=null&&y.create){const p={...o,isUpdate:s},g=this.backend.create.bind(this.backend);if(g.length<6)try{let b;g.length===5?b=g(t,n,i,r,p):b=g(t,n,i,r),b&&typeof b.then=="function"?b.then(x=>l(null,x)).catch(l):l(null,b)}catch(b){l(b)}else g(t,n,i,r,l,p)}!t||!t[0]||this.store.addResource(t[0],n,i,r)}}}const vi=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),T(e[1])&&(t.defaultValue=e[1]),T(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(i=>{t[i]=n[i]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),ki=e=>{var t,n;return T(e.ns)&&(e.ns=[e.ns]),T(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),T(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),((n=(t=e.supportedLngs)==null?void 0:t.indexOf)==null?void 0:n.call(t,"cimode"))<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e},Yt=()=>{},O1=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class mt extends Et{constructor(t={},n){if(super(),this.options=ki(t),this.services={},this.logger=Le,this.modules={external:[]},O1(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(t={},n){this.isInitializing=!0,typeof t=="function"&&(n=t,t={}),t.defaultNS==null&&t.ns&&(T(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const i=vi();this.options={...i,...this.options,...ki(t)},this.options.interpolation={...i.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);const r=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?Le.init(r(this.modules.logger),this.options):Le.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:d=D1;const h=new yi(this.options);this.store=new ui(this.options.resources,this.options);const f=this.services;f.logger=Le,f.resourceStore=this.store,f.languageUtils=h,f.pluralResolver=new I1(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==i.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),d&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(f.formatter=r(d),f.formatter.init&&f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new T1(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new M1(r(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",(p,...g)=>{this.emit(p,...g)}),this.modules.languageDetector&&(f.languageDetector=r(this.modules.languageDetector),f.languageDetector.init&&f.languageDetector.init(f,this.options.detection,this.options)),this.modules.i18nFormat&&(f.i18nFormat=r(this.modules.i18nFormat),f.i18nFormat.init&&f.i18nFormat.init(this)),this.translator=new Ut(this.services,this.options),this.translator.on("*",(p,...g)=>{this.emit(p,...g)}),this.modules.external.forEach(p=>{p.init&&p.init(this)})}if(this.format=this.options.interpolation.format,n||(n=Yt),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=(...h)=>this.store[d](...h)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=(...h)=>(this.store[d](...h),this)});const l=ut(),c=()=>{const d=(h,f)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(f),n(h,f)};if(this.languages&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initAsync?c():setTimeout(c,0),l}loadResources(t,n=Yt){var s,o;let i=n;const r=T(t)?t:this.language;if(typeof t=="function"&&(i=t),!this.options.resources||this.options.partialBundledLanguages){if((r==null?void 0:r.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return i();const l=[],c=d=>{if(!d||d==="cimode")return;this.services.languageUtils.toResolveHierarchy(d).forEach(f=>{f!=="cimode"&&l.indexOf(f)<0&&l.push(f)})};r?c(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(h=>c(h)),(o=(s=this.options.preload)==null?void 0:s.forEach)==null||o.call(s,d=>c(d)),this.services.backendConnector.load(l,this.options.ns,d=>{!d&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),i(d)})}else i(null)}reloadResources(t,n,i){const r=ut();return typeof t=="function"&&(i=t,t=void 0),typeof n=="function"&&(i=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),i||(i=Yt),this.services.backendConnector.reload(t,n,s=>{r.resolve(),i(s)}),r}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&fi.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1)){for(let n=0;n<this.languages.length;n++){const i=this.languages[n];if(!(["cimode","dev"].indexOf(i)>-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}!this.resolvedLanguage&&this.languages.indexOf(t)<0&&this.store.hasLanguageSomeTranslations(t)&&(this.resolvedLanguage=t,this.languages.unshift(t))}}changeLanguage(t,n){this.isLanguageChangingTo=t;const i=ut();this.emit("languageChanging",t);const r=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},s=(l,c)=>{c?this.isLanguageChangingTo===t&&(r(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,i.resolve((...d)=>this.t(...d)),n&&n(l,(...d)=>this.t(...d))},o=l=>{var h,f;!t&&!l&&this.services.languageDetector&&(l=[]);const c=T(l)?l:l&&l[0],d=this.store.hasLanguageSomeTranslations(c)?c:this.services.languageUtils.getBestMatchFromCodes(T(l)?[l]:l);d&&(this.language||r(d),this.translator.language||this.translator.changeLanguage(d),(f=(h=this.services.languageDetector)==null?void 0:h.cacheUserLanguage)==null||f.call(h,d)),this.loadResources(d,y=>{s(y,d)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?o(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(t),i}getFixedT(t,n,i){const r=(s,o,...l)=>{let c;typeof o!="object"?c=this.options.overloadTranslationOptionHandler([s,o].concat(l)):c={...o},c.lng=c.lng||r.lng,c.lngs=c.lngs||r.lngs,c.ns=c.ns||r.ns,c.keyPrefix!==""&&(c.keyPrefix=c.keyPrefix||i||r.keyPrefix);const d=this.options.keySeparator||".";let h;return c.keyPrefix&&Array.isArray(s)?h=s.map(f=>`${c.keyPrefix}${d}${f}`):h=c.keyPrefix?`${c.keyPrefix}${d}${s}`:s,this.t(h,c)};return T(t)?r.lng=t:r.lngs=t,r.ns=n,r.keyPrefix=i,r}t(...t){var n;return(n=this.translator)==null?void 0:n.translate(...t)}exists(...t){var n;return(n=this.translator)==null?void 0:n.exists(...t)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t,n={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=n.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;const o=(l,c)=>{const d=this.services.backendConnector.state[`${l}|${c}`];return d===-1||d===0||d===2};if(n.precheck){const l=n.precheck(this,o);if(l!==void 0)return l}return!!(this.hasResourceBundle(i,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(i,t)&&(!r||o(s,t)))}loadNamespaces(t,n){const i=ut();return this.options.ns?(T(t)&&(t=[t]),t.forEach(r=>{this.options.ns.indexOf(r)<0&&this.options.ns.push(r)}),this.loadResources(r=>{i.resolve(),n&&n(r)}),i):(n&&n(),Promise.resolve())}loadLanguages(t,n){const i=ut();T(t)&&(t=[t]);const r=this.options.preload||[],s=t.filter(o=>r.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return s.length?(this.options.preload=r.concat(s),this.loadResources(o=>{i.resolve(),n&&n(o)}),i):(n&&n(),Promise.resolve())}dir(t){var r,s;if(t||(t=this.resolvedLanguage||(((r=this.languages)==null?void 0:r.length)>0?this.languages[0]:this.language)),!t)return"rtl";try{const o=new Intl.Locale(t);if(o&&o.getTextInfo){const l=o.getTextInfo();if(l&&l.direction)return l.direction}}catch{}const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],i=((s=this.services)==null?void 0:s.languageUtils)||new yi(vi());return t.toLowerCase().indexOf("-latn")>1?"ltr":n.indexOf(i.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(t={},n){return new mt(t,n)}cloneInstance(t={},n=Yt){const i=t.forkResourceStore;i&&delete t.forkResourceStore;const r={...this.options,...t,isClone:!0},s=new mt(r);if((t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(l=>{s[l]=this[l]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},i){const l=Object.keys(this.store.data).reduce((c,d)=>(c[d]={...this.store.data[d]},c[d]=Object.keys(c[d]).reduce((h,f)=>(h[f]={...c[d][f]},h),c[d]),c),{});s.store=new ui(l,r),s.services.resourceStore=s.store}return s.translator=new Ut(s.services,r),s.translator.on("*",(l,...c)=>{s.emit(l,...c)}),s.init(r,n),s.translator.options=r,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const le=mt.createInstance();le.createInstance=mt.createInstance,le.createInstance,le.dir,le.init,le.loadResources,le.reloadResources,le.use,le.changeLanguage,le.getFixedT;const ke=le.t;le.exists,le.setDefaultNamespace,le.hasLoadedNamespace,le.loadNamespaces,le.loadLanguages;const z1={bottom:"270deg",left:"0deg",right:"180deg",top:"90deg",forLobby:"0deg"},xe=({position:e="forLobby",width:t=9,height:n=14,color:i="white"})=>a.jsxs(a.Fragment,{children:[a.jsx("svg",{width:String(t),height:String(n),style:{rotate:z1[e]},viewBox:"0 0 9 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M8.08915 0.577485C8.24538 0.733758 8.33314 0.945681 8.33314 1.16665C8.33314 1.38762 8.24538 1.59954 8.08915 1.75582L2.84498 6.99998L8.08915 12.2442C8.24095 12.4013 8.32495 12.6118 8.32305 12.8303C8.32115 13.0488 8.23351 13.2578 8.079 13.4123C7.92449 13.5668 7.71548 13.6545 7.49699 13.6564C7.27849 13.6583 7.06799 13.5743 6.91082 13.4225L1.07748 7.58915C0.921259 7.43288 0.833496 7.22095 0.833496 6.99998C0.833496 6.77901 0.921259 6.56709 1.07748 6.41082L6.91082 0.577485C7.06709 0.421259 7.27902 0.333496 7.49999 0.333496C7.72096 0.333496 7.93288 0.421259 8.08915 0.577485Z",fill:i,fillOpacity:"0.8"})}),e==="forLobby"&&a.jsx("span",{className:"text",children:ke("Lobby")})]}),Ai="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.45402%200.399902C9.87463%200.399915%2010.2805%200.554948%2010.594%200.835361C10.9075%201.11577%2011.1066%201.50189%2011.1534%201.9199H12.1171C12.4507%201.92011%2012.7721%202.04571%2013.0175%202.2718C13.2628%202.49788%2013.4143%202.80794%2013.4417%203.14046L13.4463%203.2499V5.5299C13.4463%206.16081%2013.205%206.76781%2012.7717%207.2264C12.3384%207.68498%2011.746%207.96038%2011.1161%207.9961L10.9565%208.00066C10.7032%208.79031%2010.2308%209.49174%209.59422%2010.0232C8.95765%2010.5547%208.18316%2010.8944%207.36098%2011.0027V12.1799H8.69326C9.32403%2012.1801%209.93085%2012.4215%2010.3893%2012.8548C10.8477%2013.2881%2011.123%2013.8803%2011.1587%2014.5101L11.1633%2014.6499V15.0299C11.1632%2015.1678%2011.1132%2015.3009%2011.0226%2015.4048C10.9319%2015.5086%2010.8066%2015.576%2010.67%2015.5946L10.5933%2015.5999H2.99174C2.85387%2015.6001%202.72061%2015.5503%202.61664%2015.4597C2.51267%2015.3692%202.44505%2015.244%202.4263%2015.1074L2.42174%2015.0299V14.6499C2.42169%2014.0191%202.66296%2013.4122%203.09609%2012.9537C3.52922%2012.4951%204.12138%2012.2196%204.75114%2012.1837L4.89174%2012.1799H6.22174V11.0027C5.39983%2010.8941%204.62567%2010.5543%203.98939%2010.0229C3.3531%209.49138%202.88088%208.7901%202.6277%208.00066L2.60794%207.9999C1.95285%207.9999%201.3246%207.73967%200.861386%207.27646C0.398171%206.81324%200.137939%206.18499%200.137939%205.5299V3.2499C0.137939%202.51574%200.733779%201.9199%201.46794%201.9199H2.43162C2.47837%201.50176%202.67763%201.11554%202.9913%200.835108C3.30496%200.554677%203.711%200.399728%204.13174%200.399902H9.45402ZM12.1171%203.0599H11.164V6.84698C11.4613%206.80474%2011.7355%206.66316%2011.9421%206.44527C12.1486%206.22739%2012.2754%205.94602%2012.3017%205.64694L12.3071%205.5299V3.2499C12.307%203.2071%2012.2925%203.16557%2012.2658%203.13205C12.2392%203.09853%2012.2021%203.07498%2012.1604%203.06522L12.1171%203.0599ZM2.42174%203.0599H1.46794C1.41755%203.0599%201.36922%203.07992%201.33359%203.11555C1.29796%203.15118%201.27794%203.19951%201.27794%203.2499V5.5299C1.2779%205.85041%201.3936%206.16016%201.60375%206.40215C1.81391%206.64415%202.10439%206.80211%202.42174%206.84698V3.0599Z'%20fill='url(%23paint0_linear_851_822)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_851_822'%20x1='-0.221746'%20y1='-2.13343'%20x2='19.2003'%20y2='7.59061'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23B97304'/%3e%3cstop%20offset='0.368995'%20stop-color='%23FFC15D'/%3e%3cstop%20offset='0.5'%20stop-color='%23FFD38B'/%3e%3cstop%20offset='0.611316'%20stop-color='%23FFC15D'/%3e%3cstop%20offset='1'%20stop-color='%23B97304'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",F1=()=>a.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M7.00085 21H25.0008C25.2557 21.0003 25.5009 21.0979 25.6862 21.2728C25.8715 21.4478 25.9831 21.687 25.998 21.9414C26.013 22.1958 25.9302 22.4464 25.7666 22.6418C25.603 22.8373 25.3709 22.9629 25.1178 22.993L25.0008 23H7.00085C6.74597 22.9997 6.50081 22.9021 6.31548 22.7272C6.13014 22.5522 6.01861 22.313 6.00367 22.0586C5.98874 21.8042 6.07152 21.5536 6.23511 21.3582C6.3987 21.1627 6.63075 21.0371 6.88385 21.007L7.00085 21ZM7.00085 15L25.0008 14.998C25.2557 14.9983 25.5009 15.0959 25.6862 15.2708C25.8715 15.4458 25.9831 15.685 25.998 15.9394C26.013 16.1938 25.9302 16.4444 25.7666 16.6398C25.603 16.8353 25.3709 16.9609 25.1178 16.991L25.0008 16.998L7.00085 17C6.74597 16.9997 6.50081 16.9021 6.31548 16.7272C6.13014 16.5522 6.01861 16.313 6.00367 16.0586C5.98874 15.8042 6.07152 15.5536 6.23511 15.3582C6.3987 15.1627 6.63075 15.0371 6.88385 15.007L7.00085 15ZM7.00085 9H25.0008C25.2557 9.00028 25.5009 9.09788 25.6862 9.27285C25.8715 9.44782 25.9831 9.68695 25.998 9.94139C26.013 10.1958 25.9302 10.4464 25.7666 10.6418C25.603 10.8373 25.3709 10.9629 25.1178 10.993L25.0008 11H7.00085C6.74597 10.9997 6.50081 10.9021 6.31548 10.7272C6.13014 10.5522 6.01861 10.313 6.00367 10.0586C5.98874 9.80416 6.07152 9.55362 6.23511 9.35817C6.3987 9.16271 6.63075 9.0371 6.88385 9.007L7.00085 9Z",fill:"white",fillOpacity:"0.6"})}),R1=m.div`
272
+ `,dt=({chipAmounts:e,amount:t,width:n=64,height:i=67,isDisabled:r=!1,onClick:s})=>{const o=Js(e,t),l=$n(t),c=_s(l);return a.jsxs(t1,{onClick:()=>!!s&&s(t),width:n,height:i,viewBox:"0 0 64 67",xmlns:"http://www.w3.org/2000/svg",fill:o[1],style:{cursor:"pointer"},$isDisabled:r,children:[a.jsx("path",{d:"M64 32.9821C64 35.9872 63.5861 38.8956 62.8119 41.6533C61.2245 47.3133 58.1211 52.3385 53.9679 56.2619C50.2148 59.8095 45.6054 62.4566 40.4815 63.862C37.7805 64.6035 34.9367 64.9992 32 64.9992C29.0633 64.9992 26.0996 64.5866 23.3472 63.8144C17.976 62.3091 13.1762 59.4361 9.34626 55.5949C5.33359 51.5709 2.38533 46.4842 0.959201 40.7927C0.332533 38.2932 0 35.6768 0 32.9821C0 30.7107 0.236536 28.4947 0.685802 26.3578C1.89767 20.5941 4.65854 15.4021 8.51301 11.2367C12.5203 6.90531 17.7095 3.685 23.5684 2.08829C25.3509 1.6019 27.1955 1.26612 29.0878 1.09554C29.4073 1.06788 29.7283 1.04559 30.0486 1.02869C32.0054 1.0041 33.9253 0.92726 35.8644 1.20311C36.1847 1.23769 36.5003 1.27918 36.8144 1.32452C38.133 1.52353 39.4256 1.80322 40.6858 2.15822C46.4149 3.77106 51.4927 6.93912 55.4348 11.1799C59.3207 15.3591 62.1023 20.5788 63.3173 26.3755C63.765 28.507 64 30.7169 64 32.9821Z",fill:`url(#paint0_linear_757_1992_${t})`},t),a.jsx("g",{filter:`url(#filter0_d_757_1992_${t})`,children:a.jsx("path",{d:"M40.6858 2.15919L39.5684 5.86051C37.1201 5.17665 34.5866 4.83164 32 4.83164C29.4135 4.83164 27.0535 5.1536 24.682 5.79136L23.5684 2.08927C25.3509 1.60288 27.1956 1.2671 29.0879 1.09651C29.4073 1.06885 29.7284 1.04657 30.0486 1.02966C32.0054 1.00508 33.9253 0.928237 35.8645 1.20409C36.1847 1.23867 36.5004 1.28016 36.8145 1.32549C38.1331 1.52451 39.4256 1.8042 40.6858 2.15919Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter1_d_757_1992_${t})`,children:a.jsx("path",{d:"M40.4815 63.8627C37.7806 64.6042 34.9367 64.9999 32 64.9999C29.0633 64.9999 26.0997 64.5873 23.3472 63.815L24.4539 60.146C26.8953 60.826 29.4219 61.1687 32 61.1687C34.5781 61.1687 36.988 60.8414 39.3779 60.1929L40.4815 63.8627Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter2_d_757_1992_${t})`,children:a.jsx("path",{d:"M62.5692 42.4202C60.8367 48.0372 57.6051 52.981 53.352 56.796L50.8691 53.8731C51.0404 53.7178 51.2109 53.5596 51.3783 53.4005C54.0301 50.881 56.1367 47.9219 57.6396 44.6048C58.1211 43.5429 58.5335 42.4579 58.8768 41.3545L62.5685 42.4202H62.5692Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter3_d_757_1992_${t})`,children:a.jsx("path",{d:"M12.4527 53.4964C12.6393 53.6754 12.8282 53.8513 13.0187 54.0242L10.5696 56.8811C6.33424 53.0468 3.12487 48.0884 1.41766 42.4638L5.01563 41.4419C5.352 42.5384 5.75749 43.6164 6.23133 44.6722C7.71967 47.9962 9.81394 50.9645 12.4527 53.4964Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter4_d_757_1992_${t})`,children:a.jsx("path",{d:"M62.6936 24.174L59.0396 25.1283C58.7355 24.081 58.3692 23.0491 57.9406 22.0356C56.523 18.6816 54.4932 15.6687 51.9074 13.0816C51.6955 12.8695 51.4804 12.6613 51.2623 12.4569L53.8496 9.56543C58.0028 13.4888 61.1062 18.5141 62.6936 24.174Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter5_d_757_1992_${t})`,children:a.jsx("path",{d:"M12.6662 12.523C12.4727 12.7058 12.2807 12.8925 12.0918 13.0816C9.50678 15.6687 7.47625 18.6816 6.05857 22.0356C5.6262 23.0591 5.25603 24.101 4.95038 25.1598L1.17578 24.174C2.76319 18.5141 5.86657 13.4888 10.0198 9.56543L12.6662 12.523Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter6_d_757_1992_${t})`,children:a.jsx("path",{d:"M50.3354 32.9998C50.3354 22.868 42.1264 14.6546 32 14.6546C21.8737 14.6546 13.6646 22.868 13.6646 32.9998C13.6646 43.1316 21.8737 51.3451 32 51.3451C42.1264 51.3451 50.3354 43.1316 50.3354 32.9998ZM53.4073 32.9998C53.4073 44.8291 43.823 54.4186 32 54.4186C20.1771 54.4186 10.5927 44.8291 10.5927 32.9998C10.5927 21.1706 20.1771 11.5811 32 11.5811C43.823 11.5811 53.4073 21.1706 53.4073 32.9998Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter7_d_757_1992_${t})`,children:a.jsx("path",{d:"M47.3047 7.29899L44.6224 7.75146L45.0747 10.4352L47.757 9.98274L47.3047 7.29899Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter8_d_757_1992_${t})`,children:a.jsx("path",{d:"M59.8872 31.6251L57.9756 33.5376L59.8872 35.4501L61.7987 33.5376L59.8872 31.6251Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter9_d_757_1992_${t})`,children:a.jsx("path",{d:"M16.6074 7.29867L16.1552 9.98242L18.8375 10.4349L19.2897 7.75115L16.6074 7.29867Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter10_d_757_1992_${t})`,children:a.jsx("path",{d:"M19.1639 55.6978L16.5338 56.3921L17.2277 59.0237L19.8579 58.3294L19.1639 55.6978Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter11_d_757_1992_${t})`,children:a.jsx("path",{d:"M44.8533 55.6221L44.0948 58.2358L46.7071 58.9947L47.4656 56.381L44.8533 55.6221Z",fill:"white"})}),a.jsx("g",{filter:`url(#filter12_d_757_1992_${t})`,children:a.jsx("path",{d:"M4.02411 31.6256L2.11261 33.5381L4.02411 35.4506L5.93562 33.5381L4.02411 31.6256Z",fill:"white"})}),a.jsxs("defs",{children:[a.jsxs("filter",{id:`filter0_d_757_1992_${t}`,x:"22.8004",y:"0.616977",width:"18.6534",height:"6.39538",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter1_d_757_1992_${t}`,x:"22.5792",y:"59.762",width:"18.6703",height:"6.39",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter2_d_757_1992_${t}`,x:"50.1011",y:"40.9705",width:"13.2361",height:"16.9774",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter3_d_757_1992_${t}`,x:"0.649664",y:"41.0579",width:"13.137",height:"16.975",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter4_d_757_1992_${t}`,x:"50.4943",y:"9.18143",width:"12.9673",height:"17.099",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter5_d_757_1992_${t}`,x:"0.407781",y:"9.18143",width:"13.0264",height:"17.1302",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter6_d_757_1992_${t}`,x:"9.82471",y:"11.1971",width:"44.3506",height:"44.3734",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter7_d_757_1992_${t}`,x:"43.8544",y:"6.91483",width:"4.67052",height:"4.67223",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter8_d_757_1992_${t}`,x:"57.2076",y:"31.241",width:"5.359",height:"5.3612",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter9_d_757_1992_${t}`,x:"15.3872",y:"6.91483",width:"4.67052",height:"4.67223",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter10_d_757_1992_${t}`,x:"15.7658",y:"55.3138",width:"4.8601",height:"4.86168",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter11_d_757_1992_${t}`,x:"43.3268",y:"55.2381",width:"4.90673",height:"4.90856",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("filter",{id:`filter12_d_757_1992_${t}`,x:"1.34461",y:"31.2415",width:"5.359",height:"5.3612",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{dy:"0.384"}),a.jsx("feGaussianBlur",{stdDeviation:"0.384"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0 0.0666667 0 0 0 0.6 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_757_1992"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_757_1992",result:"shape"})]}),a.jsxs("linearGradient",{id:`paint0_linear_757_1992_${t}`,x1:"47.6882",y1:"59.7588",x2:"7.98215",y2:"-7.93826",gradientUnits:"userSpaceOnUse",children:[a.jsx("stop",{offset:"0.12",stopColor:o[0]}),a.jsx("stop",{offset:"0.31",stopColor:o[1]}),a.jsx("stop",{offset:"0.69",stopColor:o[2]})]})]}),a.jsx(e1,{$fontSize:c==null?void 0:c.size,fill:"#fff",children:a.jsx("tspan",{className:"chipAmount",y:c==null?void 0:c.y,x:c==null?void 0:c.x,children:l})})]},t)};var _n=(e=>(e.Launch="launch",e.GameChange="GameChange",e.SendMessage="SendMessage",e.GetBalance="GetBalance",e.PlaceBet="PlaceBet",e.GetPlayerState="GetPlayerState",e.PlaceBetBulk="PlaceBetBulk",e.SitOutPlayer="SitOutPlayer",e.SetNickname="SetNickname",e.GetHistory="GetHistory",e.SendTip="SendTip",e.ChangeDealerLanguage="ChangeDealerLanguage",e))(_n||{});const a1={undoArray:"undoArray"},n1="https://livelobby8.livevegas.live",za=(e,t,n)=>{const{tableId:i,gameId:r,lang:s,playerId:o,token:l,exitUrl:c}=n;localStorage.setItem(a1.undoArray,JSON.stringify([])),t==null||t.invoke(_n.SitOutPlayer,{tableId:Number(i),gameId:Number(r)});const d={name:"closed",sender:"game"},f={name:"closeFrame",url:`${n1}/?lang=${s}&playerId=${o}&token=${l}&gameId=${r}&gameType=8&exitUrl=${c}&partnerId=${e}`};window.parent.postMessage(d,"*"),window.parent.postMessage(f,"*"),window.parent.postMessage("closeGame","*")},ei=e=>{const t=new Date(e.calculationEndDate),n=new Date,i=t.getTime()-n.getTime();return i<=0?{days:0,hours:0,minutes:0,seconds:0}:{days:Math.floor(i/(1e3*60*60*24)),hours:Math.floor(i/(1e3*60*60)%24),minutes:Math.floor(i/1e3/60%60),seconds:Math.floor(i/1e3%60)}},i1={1:"Session not found, try to log in again.",2:"Please return to the site and log in again.",3:"Please return to the site and log in again.",4:"Player blocked",5:"Not enough balance",8:"Currency is wrong, please refresh the page",11:"Incorrect credentials",21:"Nickname already exists",22:"Nickname is not allowed",31:"Chat is blocked",33:"Bet Amount is less or greater from limits",35:"Nick already selected",52:"The loss limit reached",54:"Round has been canceled!",506:"Insurance Is Not Allowed",508:"Player Invalid State",525:"Bet Is Not Accepted",999:"Something went wrong"};var He=(e=>(e[e.Money=1]="Money",e[e.Cashback=2]="Cashback",e[e.Rakeback=3]="Rakeback",e[e.FreeSpin=4]="FreeSpin",e[e.Tournament=5]="Tournament",e))(He||{});function ti(e){return{USD:"$",RUB:"₽",AMD:"֏",AOA:"AOA",AZN:"₼",BAM:"BAM",BGN:"BGN",BIF:"BIF",BMD:"BD$",BND:"B$",BOB:"BOB",BRL:"R$",BTC:"₿",CDF:"FC",CNY:"¥",CRC:"₡",CZK:"CZK",DKK:"kr",DOP:"RD$",EGP:"E£",ETB:"Br",ETH:"Ξ",EUR:"€",GBP:"£",GEL:"₾",GTQ:"Q",HKD:"HK$",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",INR:"₹",JMD:"J$",JPY:"¥",KES:"KSh",KGS:"KGS",KHR:"៛",KRW:"₩",KWD:"ك",KZT:"₸",LAT:"Ls",LTL:"Lt",LVL:"Ls",MAD:"dh",MET:"MT",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MUR:"₨",NGN:"₦",NIS:"₪",NPR:"रू",PKR:"Rs",PLN:"zł",QAR:"ر.ق",RMB:"¥",RON:"lei",RDS:"дин",RWF:"R₣",SAO:"Db",SEK:"kr",SGD:"S$",SSP:"SS£",SYP:"SYP",THB:"฿",TRY:"₺",TWD:"NT$",UAH:"₴",USDT:"USD₮",UYU:"$U",VEF:"Bs",VND:"₫",XAF:"FCFA",XOF:"CFA",ZAR:"R",ZMW:"ZK"}[e]||e}var Fa=(e=>(e[e.BetConstruct=2]="BetConstruct",e[e.PokerDom=32]="PokerDom",e[e.Test=49]="Test",e[e.BetArabia=67]="BetArabia",e[e.Betrupi=69]="Betrupi",e[e.Galabet=155]="Galabet",e[e.Lynon=156]="Lynon",e[e.Demo=160]="Demo",e[e.HiltonBet=204]="HiltonBet",e))(Fa||{}),ht=(e=>(e[e.TEXAS=3]="TEXAS",e[e.BLACKJACK=8]="BLACKJACK",e))(ht||{});const ai=()=>a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M8 0.818001C9.44828 0.818026 10.8627 1.25591 12.0577 2.07417C13.2526 2.89244 14.1723 4.05286 14.696 5.40315C15.2196 6.75343 15.3228 8.23049 14.992 9.64048C14.6612 11.0505 13.9118 12.3275 12.8423 13.304C11.7727 14.2805 10.4329 14.9108 8.99872 15.1122C7.56452 15.3136 6.10294 15.0767 4.80577 14.4326C3.50861 13.7885 2.43649 12.7673 1.7301 11.503C1.02371 10.2387 0.716059 8.79033 0.84753 7.34803C0.856961 7.24366 0.886859 7.14216 0.935515 7.04934C0.984172 6.95652 1.05063 6.87419 1.13111 6.80706C1.21158 6.73992 1.30449 6.68929 1.40453 6.65806C1.50457 6.62683 1.60978 6.61561 1.71416 6.62505C1.81853 6.63448 1.92003 6.66438 2.01285 6.71303C2.10567 6.76169 2.188 6.82815 2.25514 6.90862C2.32227 6.9891 2.3729 7.08201 2.40413 7.18205C2.43536 7.28209 2.44658 7.3873 2.43715 7.49167C2.36041 8.30778 2.46522 9.13074 2.74405 9.90156C3.02288 10.6724 3.46883 11.372 4.0499 11.9501C4.34915 12.2494 4.68192 12.5143 5.04102 12.7385C5.9304 13.2937 6.95809 13.5875 8.00654 13.5861C9.055 13.5847 10.0819 13.2882 10.9698 12.7307C11.8577 12.1731 12.5708 11.3769 13.0274 10.4331C13.4841 9.48932 13.6659 8.43606 13.5521 7.3938C13.4383 6.35153 13.0335 5.36233 12.384 4.53932C11.7344 3.71632 10.8663 3.09274 9.87901 2.7399C8.89171 2.38706 7.82503 2.3192 6.80097 2.54409C5.77692 2.76898 4.83682 3.27754 4.08821 4.0116L5.20541 4.01239C5.40996 4.011 5.60725 4.08821 5.75651 4.22808C5.90578 4.36796 5.99563 4.55981 6.00751 4.76403C6.01939 4.96825 5.95239 5.16923 5.82035 5.32547C5.68831 5.48171 5.50132 5.58127 5.29798 5.60361L5.20541 5.60839H2.01181C1.81635 5.60837 1.6277 5.53661 1.48164 5.40673C1.33558 5.27685 1.24227 5.09787 1.2194 4.90376L1.21381 4.81039V1.61839C1.21241 1.41384 1.28963 1.21655 1.4295 1.06729C1.56938 0.918021 1.76123 0.82817 1.96545 0.816289C2.16966 0.804409 2.37065 0.871407 2.52689 1.00345C2.68313 1.13549 2.78269 1.32249 2.80502 1.52583L2.80981 1.61919V3.03484C3.47991 2.33336 4.28542 1.7752 5.17756 1.39415C6.0697 1.01309 7.0299 0.817089 8 0.818001ZM7.4015 4.01C7.54613 4.01001 7.68586 4.06238 7.79486 4.15744C7.90386 4.25251 7.97475 4.38382 7.99442 4.5271L8 4.6085V8H9.7955C9.94714 8.00005 10.0931 8.05765 10.2039 8.16117C10.3147 8.2647 10.3821 8.40642 10.3924 8.55771C10.4028 8.70899 10.3553 8.85856 10.2596 8.97619C10.1639 9.09382 10.0271 9.17074 9.8769 9.19141L9.7955 9.197H7.4015C7.25688 9.19699 7.11714 9.14462 7.00814 9.04956C6.89915 8.9545 6.82826 8.82318 6.80859 8.6799L6.803 8.5985V4.6085C6.803 4.44977 6.86606 4.29754 6.9783 4.1853C7.09054 4.07306 7.24277 4.01 7.4015 4.01Z",fill:"white"})}),ni=()=>a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M7.99996 0.39917C12.1982 0.39917 15.6015 3.80245 15.6015 8.00069C15.6015 12.1982 12.1982 15.6014 7.99996 15.6014C3.80172 15.6014 0.398438 12.1982 0.398438 8.00069C0.398437 3.80245 3.80172 0.39917 7.99996 0.39917ZM7.99692 6.66917C7.81067 6.66942 7.63099 6.73806 7.49201 6.86205C7.35303 6.98604 7.26442 7.15675 7.243 7.34177L7.23768 7.42993L7.23996 11.6114L7.24528 11.7004C7.2667 11.8857 7.35556 12.0567 7.49493 12.1808C7.6343 12.3048 7.81443 12.3733 8.00101 12.3731C8.1876 12.3729 8.3676 12.3041 8.50671 12.1798C8.64583 12.0554 8.73435 11.8842 8.7554 11.6988L8.75996 11.6099L8.75768 7.42917L8.75236 7.34025C8.73039 7.15539 8.64133 6.98501 8.50209 6.86146C8.36284 6.7379 8.18308 6.66975 7.99692 6.66993V6.66917ZM7.99996 3.81993C7.7477 3.81993 7.50577 3.92014 7.3274 4.09851C7.14903 4.27688 7.04882 4.51881 7.04882 4.77107C7.04882 5.02333 7.14903 5.26525 7.3274 5.44363C7.50577 5.622 7.7477 5.72221 7.99996 5.72221C8.25221 5.72221 8.49414 5.622 8.67251 5.44363C8.85089 5.26525 8.9511 5.02333 8.9511 4.77107C8.9511 4.51881 8.85089 4.27688 8.67251 4.09851C8.49414 3.92014 8.25221 3.81993 7.99996 3.81993Z",fill:"white"})}),ii=()=>a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M7.99999 0.626709C12.0724 0.626709 15.3735 3.92783 15.3735 8.00023C15.3735 12.0726 12.0724 15.3737 7.99999 15.3737C6.80712 15.3753 5.63183 15.0863 4.57573 14.5317L1.41249 15.3553C1.30679 15.3828 1.19574 15.3823 1.09033 15.3537C0.984926 15.325 0.888826 15.2694 0.811558 15.1922C0.73429 15.115 0.678535 15.019 0.649821 14.9136C0.621107 14.8082 0.620429 14.6971 0.647855 14.5914L1.47074 11.4289C0.914629 10.3717 0.624828 9.19478 0.626472 8.00023C0.626472 3.92783 3.9276 0.626709 7.99999 0.626709ZM8.92316 8.73758H5.6036L5.52839 8.74274C5.39603 8.76095 5.27473 8.82647 5.18693 8.92718C5.09913 9.02789 5.05075 9.15698 5.05075 9.29059C5.05075 9.4242 5.09913 9.5533 5.18693 9.65401C5.27473 9.75472 5.39603 9.82024 5.52839 9.83845L5.6036 9.84361H8.92316L8.99763 9.83845C9.12999 9.82024 9.25129 9.75472 9.33909 9.65401C9.42689 9.5533 9.47526 9.4242 9.47526 9.29059C9.47526 9.15698 9.42689 9.02789 9.33909 8.92718C9.25129 8.82647 9.12999 8.76095 8.99763 8.74274L8.92316 8.73758ZM10.3964 6.15685H5.6036L5.52839 6.16201C5.39603 6.18022 5.27473 6.24574 5.18693 6.34645C5.09913 6.44716 5.05075 6.57625 5.05075 6.70986C5.05075 6.84347 5.09913 6.97257 5.18693 7.07328C5.27473 7.17399 5.39603 7.2395 5.52839 7.25772L5.6036 7.26288H10.3964L10.4716 7.25772C10.604 7.2395 10.7253 7.17399 10.8131 7.07328C10.9009 6.97257 10.9492 6.84347 10.9492 6.70986C10.9492 6.57625 10.9009 6.44716 10.8131 6.34645C10.7253 6.24574 10.604 6.18022 10.4716 6.16201L10.3964 6.15685Z",fill:"white"})}),ri=()=>a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M1.5649 0.61447C1.77202 0.627228 1.96726 0.710458 2.10916 0.846923C2.25073 0.983355 2.32913 1.16359 2.32959 1.3503V14.6482L2.32237 14.7484C2.29404 14.9338 2.18863 15.104 2.0274 15.2221C1.86635 15.3401 1.66058 15.3982 1.45348 15.3856C1.24629 15.3728 1.05188 15.289 0.910021 15.1524C0.768089 15.0156 0.688054 14.8354 0.687988 14.6482V1.3503L0.696004 1.25091C0.724466 1.06585 0.830082 0.896783 0.990979 0.778791C1.15211 0.660819 1.35768 0.601849 1.5649 0.61447ZM4.19883 12.4519C4.48644 12.1652 4.93246 12.1301 5.28895 12.3261C5.4857 12.4343 5.6787 12.5223 5.88612 12.589C6.31321 12.7265 6.66737 13.0791 6.66764 13.5252V14.3404C6.66752 14.6531 6.45573 14.9144 6.17468 14.9769H5.91177C5.26266 14.8467 4.63859 14.6269 4.05615 14.3276C3.84833 14.2208 3.72518 14.0026 3.72511 13.7689V13.1974C3.72511 13.023 3.7948 12.8557 3.91828 12.7325L4.19883 12.4519ZM9.34245 12.3261C9.69807 12.1286 10.1433 12.1636 10.431 12.4503L11.069 13.0868C11.3723 13.3896 11.3308 13.8789 10.9576 14.0911C10.5413 14.3277 10.1243 14.5361 10.055 14.5705C10.0482 14.5738 10.0413 14.5764 10.0342 14.5793C9.61349 14.7522 9.1792 14.8844 8.73728 14.9736C8.72972 14.9752 8.72156 14.9756 8.71403 14.9769H8.50562C8.19949 14.9246 7.96463 14.6457 7.96457 14.31V13.5276C7.96466 13.0805 8.32146 12.7273 8.7493 12.589C8.95613 12.5221 9.14732 12.4345 9.34245 12.3261ZM13.5354 9.07576C13.9714 9.076 14.3071 9.464 14.1927 9.88213C13.9919 10.6158 13.6735 11.3166 13.2453 11.9558C13.189 12.0398 13.131 12.123 13.0713 12.2043C12.8306 12.5315 12.3558 12.541 12.0678 12.2539L11.4698 11.6584C11.1543 11.3438 11.1435 10.8431 11.3752 10.4633C11.5196 10.2266 11.6434 9.97844 11.7439 9.72101C11.8879 9.35254 12.2255 9.07576 12.6232 9.07576H13.5354ZM7.31691 4.77217C8.17576 4.77333 8.99957 5.114 9.60697 5.71962C10.2145 6.32559 10.5558 7.14794 10.5568 8.00487C10.5568 8.64405 10.367 9.26969 10.011 9.80117C9.65493 10.3323 9.14874 10.7461 8.55692 10.9907C7.96477 11.2353 7.3123 11.2997 6.68367 11.175C6.05535 11.0503 5.47832 10.7419 5.02524 10.2901C4.57216 9.83816 4.26301 9.26252 4.13791 8.6357C4.01288 8.00877 4.07709 7.35864 4.32227 6.76806C4.56759 6.17743 4.98363 5.67161 5.5166 5.31643C6.04936 4.96163 6.67628 4.77222 7.31691 4.77217ZM12.4036 4.26879C12.7087 3.96475 13.2169 3.99825 13.4376 4.36738C13.9435 5.21337 14.2699 6.15766 14.3915 7.14159C14.4346 7.49092 14.1476 7.78269 13.7935 7.78284H12.8797C12.4232 7.78257 12.0546 7.42283 11.9563 6.97967C11.8784 6.62802 11.7612 6.28573 11.6053 5.96009C11.4401 5.61512 11.4758 5.19429 11.7471 4.92367L12.4036 4.26879ZM7.96457 1.69979C7.96457 1.28303 8.32653 0.952595 8.73728 1.03609C9.74411 1.24149 10.6974 1.66209 11.5283 2.2697C11.8552 2.50892 11.8645 2.97857 11.578 3.26443L10.9849 3.85518C10.6679 4.1712 10.1627 4.18186 9.77931 3.94977C9.57445 3.82567 9.35894 3.71661 9.13565 3.62433C8.99026 3.56429 8.84216 3.51154 8.69239 3.46643C8.28382 3.34343 7.96481 2.99209 7.96457 2.56788V1.69979ZM5.89654 1.03609C6.3071 0.953302 6.66764 1.28334 6.66764 1.69979V3.02717C6.66764 3.18819 6.54829 3.32245 6.3895 3.35421C5.84399 3.46246 5.32382 3.66534 4.8529 3.94977C4.59496 4.10547 4.28244 4.15106 4.00886 4.0684C3.81512 4.00984 3.72512 3.80429 3.72511 3.60189V2.24004C3.72511 2.00615 3.84885 1.7881 4.05695 1.68135C4.63848 1.38308 5.25748 1.16546 5.89654 1.03609Z",fill:"white"})}),r1=()=>a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M7.99992 0.399292C12.1982 0.399292 15.6014 3.80255 15.6014 8.00078C15.6014 12.1983 12.1982 15.6015 7.99992 15.6015C3.8017 15.6015 0.398438 12.1982 0.398438 8.00078C0.398448 3.80256 3.80171 0.399311 7.99992 0.399292ZM5.68875 4.35293C5.57808 4.36 5.47399 4.40736 5.39559 4.48578L3.57426 6.31007L3.53566 6.35312C3.46773 6.44088 3.43362 6.55111 3.44066 6.66187C3.44785 6.77245 3.49583 6.87673 3.57426 6.95503L3.6173 6.99289C3.70498 7.06075 3.81466 7.0941 3.92531 7.08714C4.03602 7.08003 4.14083 7.03279 4.21922 6.95429L5.26422 5.90707V11.1914L5.26719 11.2449C5.28015 11.3558 5.33371 11.4586 5.41711 11.5328C5.50049 11.607 5.60833 11.6478 5.71992 11.6479L5.77336 11.6457C5.88433 11.6326 5.98712 11.5785 6.06133 11.495C6.13547 11.4115 6.17572 11.3031 6.17563 11.1914V5.91003L7.22211 6.95429L7.26441 6.99289C7.35602 7.06458 7.47218 7.09859 7.58801 7.08789C7.70389 7.07712 7.81172 7.02237 7.88859 6.935C7.96536 6.84771 8.00539 6.73424 8.00141 6.61808C7.99733 6.50182 7.94907 6.39111 7.86633 6.30933L6.0398 4.48503L5.9975 4.44793C5.90975 4.37995 5.79952 4.34591 5.68875 4.35293ZM10.2265 4.35664C10.1157 4.36974 10.0134 4.42323 9.93926 4.50656C9.86509 4.58996 9.82429 4.69777 9.82422 4.80937V10.0893L8.77848 9.04578L8.73543 9.00718C8.64374 8.93629 8.52795 8.90264 8.41258 8.91367C8.29733 8.92472 8.19077 8.97971 8.11422 9.06656C8.03763 9.15355 7.99626 9.26689 7.99992 9.38273C8.00367 9.49833 8.05181 9.60813 8.13352 9.69L9.9593 11.5143L10.0016 11.5529C10.0894 11.6209 10.1996 11.6534 10.3104 11.6464C10.4211 11.6393 10.5258 11.5928 10.6043 11.5143L12.4256 9.69L12.4642 9.64695C12.5321 9.55923 12.5662 9.44964 12.5592 9.33894C12.5521 9.22813 12.5042 9.12349 12.4256 9.04503L12.3825 9.00718C12.2949 8.93938 12.1851 8.9052 12.0745 8.91218C11.9638 8.91929 11.859 8.96726 11.7806 9.04578L10.7364 10.0915V4.80937L10.7327 4.75668C10.7197 4.6457 10.6662 4.54301 10.5827 4.46871C10.4994 4.39463 10.3914 4.35376 10.2799 4.35367L10.2265 4.35664Z",fill:"white",fillOpacity:"0.6"})}),s1=()=>a.jsx(a.Fragment,{children:a.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M1.68016 2.43991C1.68016 2.23835 1.76023 2.04504 1.90276 1.90251C2.04528 1.75998 2.23859 1.67991 2.44016 1.67991H3.96016C4.16172 1.67991 4.35503 1.59984 4.49756 1.45731C4.64008 1.31479 4.72016 1.12148 4.72016 0.919912C4.72016 0.718348 4.64008 0.525039 4.49756 0.382511C4.35503 0.239983 4.16172 0.159912 3.96016 0.159912H2.44016C1.83546 0.159912 1.25554 0.400126 0.827953 0.827709C0.40037 1.25529 0.160156 1.83522 0.160156 2.43991V3.95991C0.160156 4.16148 0.240227 4.35479 0.382755 4.49731C0.525283 4.63984 0.718592 4.71991 0.920156 4.71991C1.12172 4.71991 1.31503 4.63984 1.45756 4.49731C1.60008 4.35479 1.68016 4.16148 1.68016 3.95991V2.43991ZM1.68016 11.5599C1.68016 11.7615 1.76023 11.9548 1.90276 12.0973C2.04528 12.2398 2.23859 12.3199 2.44016 12.3199H3.96016C4.16172 12.3199 4.35503 12.4 4.49756 12.5425C4.64008 12.685 4.72016 12.8783 4.72016 13.0799C4.72016 13.2815 4.64008 13.4748 4.49756 13.6173C4.35503 13.7598 4.16172 13.8399 3.96016 13.8399H2.44016C1.83546 13.8399 1.25554 13.5997 0.827953 13.1721C0.40037 12.7445 0.160156 12.1646 0.160156 11.5599V10.0399C0.160156 9.83835 0.240227 9.64504 0.382755 9.50251C0.525283 9.35998 0.718592 9.27991 0.920156 9.27991C1.12172 9.27991 1.31503 9.35998 1.45756 9.50251C1.60008 9.64504 1.68016 9.83835 1.68016 10.0399V11.5599ZM11.5602 1.67991C11.7617 1.67991 11.955 1.75998 12.0976 1.90251C12.2401 2.04504 12.3202 2.23835 12.3202 2.43991V3.95991C12.3202 4.16148 12.4002 4.35479 12.5428 4.49731C12.6853 4.63984 12.8786 4.71991 13.0802 4.71991C13.2817 4.71991 13.475 4.63984 13.6176 4.49731C13.7601 4.35479 13.8402 4.16148 13.8402 3.95991V2.43991C13.8402 1.83522 13.5999 1.25529 13.1724 0.827709C12.7448 0.400126 12.1648 0.159912 11.5602 0.159912H10.0402C9.83859 0.159912 9.64528 0.239983 9.50276 0.382511C9.36023 0.525039 9.28016 0.718348 9.28016 0.919912C9.28016 1.12148 9.36023 1.31479 9.50276 1.45731C9.64528 1.59984 9.83859 1.67991 10.0402 1.67991H11.5602ZM12.3202 11.5599C12.3202 11.7615 12.2401 11.9548 12.0976 12.0973C11.955 12.2398 11.7617 12.3199 11.5602 12.3199H10.0402C9.83859 12.3199 9.64528 12.4 9.50276 12.5425C9.36023 12.685 9.28016 12.8783 9.28016 13.0799C9.28016 13.2815 9.36023 13.4748 9.50276 13.6173C9.64528 13.7598 9.83859 13.8399 10.0402 13.8399H11.5602C12.1648 13.8399 12.7448 13.5997 13.1724 13.1721C13.5999 12.7445 13.8402 12.1646 13.8402 11.5599V10.0399C13.8402 9.83835 13.7601 9.64504 13.6176 9.50251C13.475 9.35998 13.2817 9.27991 13.0802 9.27991C12.8786 9.27991 12.6853 9.35998 12.5428 9.50251C12.4002 9.64504 12.3202 9.83835 12.3202 10.0399V11.5599Z",fill:"white"})})}),si=()=>a.jsx(a.Fragment,{children:a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M8.00889 0.590088C8.56673 0.596168 9.12229 0.660768 9.66721 0.782368C9.78314 0.808246 9.88809 0.869694 9.96739 0.958126C10.0467 1.04656 10.0964 1.15756 10.1095 1.27561L10.2387 2.43613C10.257 2.59974 10.3134 2.75679 10.4034 2.89464C10.4934 3.03249 10.6145 3.14728 10.757 3.22979C10.8994 3.31229 11.0593 3.36021 11.2236 3.36967C11.388 3.37914 11.5523 3.34989 11.7033 3.28429L12.768 2.81689C12.8761 2.76927 12.9964 2.75642 13.1121 2.78011C13.2278 2.8038 13.3333 2.86286 13.414 2.94913C14.1831 3.77076 14.7558 4.75611 15.0891 5.83105C15.124 5.94401 15.1229 6.06505 15.086 6.17739C15.0491 6.28973 14.9782 6.38781 14.8831 6.45805L13.9392 7.15421C13.8064 7.25171 13.6985 7.37909 13.6241 7.52604C13.5497 7.67299 13.511 7.83538 13.511 8.00009C13.511 8.16479 13.5497 8.32719 13.6241 8.47414C13.6985 8.62108 13.8064 8.74846 13.9392 8.84597L14.8839 9.54137C14.9793 9.61156 15.0504 9.70972 15.0875 9.82223C15.1245 9.93473 15.1256 10.056 15.0906 10.1691C14.7572 11.244 14.1845 12.2293 13.4155 13.051C13.335 13.1371 13.2298 13.1961 13.1144 13.2199C12.999 13.2438 12.879 13.2312 12.7711 13.184L11.7017 12.7151C11.5509 12.649 11.3867 12.6193 11.2223 12.6285C11.0579 12.6376 10.898 12.6853 10.7555 12.7678C10.6129 12.8502 10.4918 12.965 10.4019 13.103C10.312 13.2409 10.2559 13.3981 10.238 13.5618L10.1095 14.7215C10.0966 14.8383 10.0479 14.9482 9.97005 15.0362C9.89223 15.1243 9.78912 15.1861 9.67481 15.2132C8.57399 15.4752 7.42708 15.4752 6.32625 15.2132C6.21195 15.1861 6.10884 15.1243 6.03102 15.0362C5.9532 14.9482 5.90448 14.8383 5.89153 14.7215L5.76385 13.5633C5.74524 13.4 5.68857 13.2434 5.59841 13.106C5.50826 12.9686 5.38713 12.8543 5.24476 12.7723C5.10239 12.6902 4.94275 12.6427 4.77868 12.6336C4.61461 12.6245 4.45069 12.6539 4.30009 12.7197L3.23153 13.1878C3.12345 13.2352 3.00333 13.2478 2.88775 13.224C2.77218 13.2002 2.66685 13.1411 2.58629 13.0548C1.81695 12.2322 1.24424 11.2458 0.911253 10.1699C0.876214 10.0567 0.877294 9.93549 0.914341 9.82299C0.951388 9.71048 1.02256 9.61232 1.11797 9.54213L2.06265 8.84597C2.19554 8.74856 2.3036 8.62122 2.37809 8.47425C2.45258 8.32729 2.4914 8.16485 2.4914 8.00009C2.4914 7.83533 2.45258 7.67288 2.37809 7.52592C2.3036 7.37896 2.19554 7.25162 2.06265 7.15421L1.11797 6.45957C1.0227 6.38928 0.951674 6.29107 0.914765 6.17857C0.877856 6.06607 0.876894 5.94488 0.912013 5.83181C1.24529 4.75688 1.818 3.77153 2.58705 2.94989C2.66775 2.86362 2.77326 2.80456 2.88899 2.78087C3.00472 2.75718 3.12495 2.77003 3.23305 2.81765L4.29705 3.28505C4.44831 3.35061 4.61283 3.37979 4.77741 3.37023C4.94199 3.36068 5.10203 3.31265 5.24468 3.23002C5.38733 3.14739 5.50861 3.03245 5.59877 2.89444C5.68894 2.75643 5.74548 2.5992 5.76385 2.43537L5.89305 1.27561C5.90609 1.15732 5.95583 1.04608 6.03529 0.957483C6.11476 0.86889 6.21995 0.80739 6.33613 0.781608C6.88105 0.660768 7.43813 0.596928 8.00889 0.590088ZM7.99977 5.72009C7.39508 5.72009 6.81515 5.9603 6.38757 6.38788C5.95999 6.81547 5.71977 7.39539 5.71977 8.00009C5.71977 8.60478 5.95999 9.18471 6.38757 9.61229C6.81515 10.0399 7.39508 10.2801 7.99977 10.2801C8.60447 10.2801 9.18439 10.0399 9.61198 9.61229C10.0396 9.18471 10.2798 8.60478 10.2798 8.00009C10.2798 7.39539 10.0396 6.81547 9.61198 6.38788C9.18439 5.9603 8.60447 5.72009 7.99977 5.72009Z",fill:"white"})})}),o1=()=>a.jsxs("svg",{width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M9.45402 0.399902C9.87463 0.399915 10.2805 0.554948 10.594 0.835361C10.9075 1.11577 11.1066 1.50189 11.1534 1.9199H12.1171C12.4507 1.92011 12.7721 2.04571 13.0175 2.2718C13.2628 2.49788 13.4143 2.80794 13.4417 3.14046L13.4463 3.2499V5.5299C13.4463 6.16081 13.205 6.76781 12.7717 7.2264C12.3384 7.68498 11.746 7.96038 11.1161 7.9961L10.9565 8.00066C10.7032 8.79031 10.2308 9.49174 9.59422 10.0232C8.95765 10.5547 8.18316 10.8944 7.36098 11.0027V12.1799H8.69326C9.32403 12.1801 9.93085 12.4215 10.3893 12.8548C10.8477 13.2881 11.123 13.8803 11.1587 14.5101L11.1633 14.6499V15.0299C11.1632 15.1678 11.1132 15.3009 11.0226 15.4048C10.9319 15.5086 10.8066 15.576 10.67 15.5946L10.5933 15.5999H2.99174C2.85387 15.6001 2.72061 15.5503 2.61664 15.4597C2.51267 15.3692 2.44505 15.244 2.4263 15.1074L2.42174 15.0299V14.6499C2.42169 14.0191 2.66296 13.4122 3.09609 12.9537C3.52922 12.4951 4.12138 12.2196 4.75114 12.1837L4.89174 12.1799H6.22174V11.0027C5.39983 10.8941 4.62567 10.5543 3.98939 10.0229C3.3531 9.49138 2.88088 8.7901 2.6277 8.00066L2.60794 7.9999C1.95285 7.9999 1.3246 7.73967 0.861386 7.27646C0.398171 6.81324 0.137939 6.18499 0.137939 5.5299V3.2499C0.137939 2.51574 0.733779 1.9199 1.46794 1.9199H2.43162C2.47837 1.50176 2.67763 1.11554 2.9913 0.835108C3.30496 0.554677 3.711 0.399728 4.13174 0.399902H9.45402ZM12.1171 3.0599H11.164V6.84698C11.4613 6.80474 11.7355 6.66316 11.9421 6.44527C12.1486 6.22739 12.2754 5.94602 12.3017 5.64694L12.3071 5.5299V3.2499C12.307 3.2071 12.2925 3.16557 12.2658 3.13205C12.2392 3.09853 12.2021 3.07498 12.1604 3.06522L12.1171 3.0599ZM2.42174 3.0599H1.46794C1.41755 3.0599 1.36922 3.07992 1.33359 3.11555C1.29796 3.15118 1.27794 3.19951 1.27794 3.2499V5.5299C1.2779 5.85041 1.3936 6.16016 1.60375 6.40215C1.81391 6.64415 2.10439 6.80211 2.42174 6.84698V3.0599Z",fill:"url(#paint0_linear_851_570)"}),a.jsx("defs",{children:a.jsxs("linearGradient",{id:"paint0_linear_851_570",x1:"-0.221746",y1:"-2.13343",x2:"19.2003",y2:"7.59061",gradientUnits:"userSpaceOnUse",children:[a.jsx("stop",{stopColor:"#B97304"}),a.jsx("stop",{offset:"0.368995",stopColor:"#FFC15D"}),a.jsx("stop",{offset:"0.5",stopColor:"#FFD38B"}),a.jsx("stop",{offset:"0.611316",stopColor:"#FFC15D"}),a.jsx("stop",{offset:"1",stopColor:"#B97304"})]})})]}),Ra=()=>a.jsx(a.Fragment,{children:a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M10.2804 1.10977V12.8867C10.2804 13.706 9.31215 14.1407 8.69959 13.5966L5.28567 10.5611C5.18145 10.4683 5.04678 10.4169 4.90719 10.4167H2.11039C1.657 10.4167 1.22217 10.2367 0.901507 9.91615C0.580841 9.59563 0.400592 9.16088 0.400391 8.70749V5.28977C0.400391 4.83625 0.580551 4.40131 0.901238 4.08062C1.22193 3.75993 1.65687 3.57977 2.11039 3.57977H4.90719C5.04678 3.57961 5.18145 3.52822 5.28567 3.43537L8.69883 0.400692C9.31215 -0.144988 10.2804 0.288972 10.2804 1.10977ZM13.3143 2.36149C13.3745 2.31698 13.4429 2.28475 13.5155 2.26666C13.5881 2.24856 13.6636 2.24495 13.7376 2.25603C13.8117 2.26711 13.8828 2.29267 13.947 2.33123C14.0111 2.3698 14.067 2.42063 14.1116 2.48081C15.0807 3.78793 15.6028 5.37257 15.6004 6.99977C15.6025 8.62705 15.0802 10.2117 14.1108 11.5187C14.019 11.6348 13.8856 11.7106 13.7389 11.7301C13.5921 11.7496 13.4436 11.7113 13.3246 11.6232C13.2057 11.5352 13.1256 11.4043 13.1014 11.2583C13.0772 11.1122 13.1108 10.9625 13.195 10.8408C14.019 9.72993 14.4628 8.38291 14.4604 6.99977C14.4628 5.61664 14.019 4.26962 13.195 3.15873C13.1505 3.09855 13.1183 3.03019 13.1002 2.95755C13.0821 2.88492 13.0785 2.80943 13.0895 2.7354C13.1006 2.66137 13.1262 2.59025 13.1647 2.52609C13.2033 2.46193 13.2541 2.406 13.3143 2.36149ZM11.9091 4.24097C11.9749 4.20531 12.0472 4.18297 12.1217 4.17524C12.1962 4.16751 12.2715 4.17454 12.3433 4.19593C12.415 4.21731 12.4819 4.25264 12.54 4.29988C12.5981 4.34712 12.6464 4.40536 12.682 4.47125C13.0894 5.22365 13.3204 6.08625 13.3204 7.00053C13.3217 7.88365 13.1022 8.75308 12.682 9.52981C12.6464 9.59568 12.5981 9.65389 12.54 9.70111C12.4819 9.74834 12.415 9.78365 12.3432 9.80503C12.2715 9.82641 12.1962 9.83345 12.1217 9.82574C12.0472 9.81803 11.9749 9.79572 11.9091 9.76009C11.8432 9.72446 11.785 9.67621 11.7378 9.61808C11.6905 9.55996 11.6552 9.4931 11.6339 9.42133C11.6125 9.34955 11.6054 9.27427 11.6131 9.19978C11.6209 9.12529 11.6432 9.05304 11.6788 8.98717C11.998 8.39665 12.1804 7.72101 12.1804 7.00053C12.1804 6.28005 11.998 5.60441 11.6788 5.01389C11.6431 4.94803 11.6208 4.87578 11.6131 4.80128C11.6053 4.72678 11.6124 4.65149 11.6337 4.57971C11.6551 4.50793 11.6905 4.44106 11.7377 4.38294C11.7849 4.32482 11.8432 4.27658 11.9091 4.24097Z",fill:"white"})})});var M=(e=>(e[e.Message=1]="Message",e[e.Support=2]="Support",e[e.Tip=3]="Tip",e[e.History=4]="History",e[e.Info=5]="Info",e[e.Settings=6]="Settings",e[e.VolumeOn=7]="VolumeOn",e[e.FullScreen=8]="FullScreen",e[e.Tournament=9]="Tournament",e[e.closeMenu=10]="closeMenu",e[e.Limit=11]="Limit",e))(M||{});const l1=[{name:"Tournament",buttonType:9,icon:o1()},{name:"Message",buttonType:1,icon:ii()},{name:"Tip",buttonType:3,icon:ri()},{name:"History",buttonType:4,icon:ai()},{name:"Info",buttonType:5,icon:ni()},{name:"Settings",buttonType:6,icon:si()},{buttonType:7,icon:Ra()},{name:"FullScreen",buttonType:8,icon:s1()}],c1=(e,t)=>{switch(e){case 6:return{header:"Settings",height:412,width:300};case 4:return{header:t?"Bet Details":"History",height:520,width:500};case 3:return{header:"Send Tip",height:176,width:300};case 9:return{header:"Golden Chip Tournament",height:450,width:500};case 5:return{header:"Help",height:450,width:500};default:return null}},d1=[{name:"Message",buttonType:M.Message,icon:ii()},{name:"Send Tip",buttonType:M.Tip,icon:ri()}],h1=[{name:"History",buttonType:M.History,icon:ai()},{name:"Help",buttonType:M.Info,icon:ni()},{name:"Limits & Payouts",buttonType:M.Limit,icon:r1()}],u1=(e,t,n)=>{switch(e){case M.Message:return{header:"Message",height:100,width:100};case M.Support:return{header:"Support",height:100,width:100};case M.Tip:return{header:"Send Tip",height:t?100:38,width:t?50:100};case M.History:return{header:n?"Bet Details":"History",height:t?100:82.5,width:100};case M.Info:return{header:"Help",height:82.5,width:100};case M.Tournament:return{header:"Golden Chip Tournament",height:t?100:82.5,width:100};case M.Settings:return{header:"Settings",height:100,width:100};case M.Limit:return{header:"Limits & Payouts",height:100,width:100};default:return null}},f1=(e,t)=>{t(e.touches[0].clientY)},p1=(e,t,n)=>{if(!t)return;const r=e.touches[0].clientY-t;r>0&&r<300&&(e.currentTarget.style.transform=`translateY(${r}px)`),r>120&&n(!1)},m1=(e,t)=>{e.currentTarget.style.transform="translateY(0px)",t(0)},T=e=>typeof e=="string",ut=()=>{let e,t;const n=new Promise((i,r)=>{e=i,t=r});return n.resolve=e,n.reject=t,n},oi=e=>e==null?"":""+e,g1=(e,t,n)=>{e.forEach(i=>{t[i]&&(n[i]=t[i])})},y1=/###/g,li=e=>e&&e.indexOf("###")>-1?e.replace(y1,"."):e,ci=e=>!e||T(e),ft=(e,t,n)=>{const i=T(t)?t.split("."):t;let r=0;for(;r<i.length-1;){if(ci(e))return{};const s=li(i[r]);!e[s]&&n&&(e[s]=new n),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++r}return ci(e)?{}:{obj:e,k:li(i[r])}},di=(e,t,n)=>{const{obj:i,k:r}=ft(e,t,Object);if(i!==void 0||t.length===1){i[r]=n;return}let s=t[t.length-1],o=t.slice(0,t.length-1),l=ft(e,o,Object);for(;l.obj===void 0&&o.length;)s=`${o[o.length-1]}.${s}`,o=o.slice(0,o.length-1),l=ft(e,o,Object),l!=null&&l.obj&&typeof l.obj[`${l.k}.${s}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${s}`]=n},b1=(e,t,n,i)=>{const{obj:r,k:s}=ft(e,t,Object);r[s]=r[s]||[],r[s].push(n)},Vt=(e,t)=>{const{obj:n,k:i}=ft(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,i))return n[i]},x1=(e,t,n)=>{const i=Vt(e,n);return i!==void 0?i:Vt(t,n)},hi=(e,t,n)=>{for(const i in t)i!=="__proto__"&&i!=="constructor"&&(i in e?T(e[i])||e[i]instanceof String||T(t[i])||t[i]instanceof String?n&&(e[i]=t[i]):hi(e[i],t[i],n):e[i]=t[i]);return e},$e=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var C1={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const w1=e=>T(e)?e.replace(/[&<>"'\/]/g,t=>C1[t]):e;class v1{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const i=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,i),this.regExpQueue.push(t),i}}const k1=[" ",",","?","!",";"],A1=new v1(20),j1=(e,t,n)=>{t=t||"",n=n||"";const i=k1.filter(o=>t.indexOf(o)<0&&n.indexOf(o)<0);if(i.length===0)return!0;const r=A1.getRegExp(`(${i.map(o=>o==="?"?"\\?":o).join("|")})`);let s=!r.test(e);if(!s){const o=e.indexOf(n);o>0&&!r.test(e.substring(0,o))&&(s=!0)}return s},Wa=(e,t,n=".")=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const i=t.split(n);let r=e;for(let s=0;s<i.length;){if(!r||typeof r!="object")return;let o,l="";for(let c=s;c<i.length;++c)if(c!==s&&(l+=n),l+=i[c],o=r[l],o!==void 0){if(["string","number","boolean"].indexOf(typeof o)>-1&&c<i.length-1)continue;s+=c-s+1;break}r=o}return r},pt=e=>e==null?void 0:e.replace("_","-"),S1={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){var n,i;(i=(n=console==null?void 0:console[e])==null?void 0:n.apply)==null||i.call(n,console,t)}};class Gt{constructor(t,n={}){this.init(t,n)}init(t,n={}){this.prefix=n.prefix||"i18next:",this.logger=t||S1,this.options=n,this.debug=n.debug}log(...t){return this.forward(t,"log","",!0)}warn(...t){return this.forward(t,"warn","",!0)}error(...t){return this.forward(t,"error","")}deprecate(...t){return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,i,r){return r&&!this.debug?null:(T(t[0])&&(t[0]=`${i}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new Gt(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Gt(this.logger,t)}}var Le=new Gt;class Et{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(i=>{this.observers[i]||(this.observers[i]=new Map);const r=this.observers[i].get(n)||0;this.observers[i].set(n,r+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t,...n){this.observers[t]&&Array.from(this.observers[t].entries()).forEach(([r,s])=>{for(let o=0;o<s;o++)r(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([r,s])=>{for(let o=0;o<s;o++)r.apply(r,[t,...n])})}}class ui extends Et{constructor(t,n={ns:["translation"],defaultNS:"translation"}){super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,i,r={}){var d,h;const s=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,o=r.ignoreJSONStructure!==void 0?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,n],i&&(Array.isArray(i)?l.push(...i):T(i)&&s?l.push(...i.split(s)):l.push(i)));const c=Vt(this.data,l);return!c&&!n&&!i&&t.indexOf(".")>-1&&(t=l[0],n=l[1],i=l.slice(2).join(".")),c||!o||!T(i)?c:Wa((h=(d=this.data)==null?void 0:d[t])==null?void 0:h[n],i,s)}addResource(t,n,i,r,s={silent:!1}){const o=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let l=[t,n];i&&(l=l.concat(o?i.split(o):i)),t.indexOf(".")>-1&&(l=t.split("."),r=n,n=l[1]),this.addNamespaces(n),di(this.data,l,r),s.silent||this.emit("added",t,n,i,r)}addResources(t,n,i,r={silent:!1}){for(const s in i)(T(i[s])||Array.isArray(i[s]))&&this.addResource(t,n,s,i[s],{silent:!0});r.silent||this.emit("added",t,n,i)}addResourceBundle(t,n,i,r,s,o={silent:!1,skipCopy:!1}){let l=[t,n];t.indexOf(".")>-1&&(l=t.split("."),r=i,i=n,n=l[1]),this.addNamespaces(n);let c=Vt(this.data,l)||{};o.skipCopy||(i=JSON.parse(JSON.stringify(i))),r?hi(c,i,s):c={...c,...i},di(this.data,l,c),o.silent||this.emit("added",t,n,i)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(r=>n[r]&&Object.keys(n[r]).length>0)}toJSON(){return this.data}}var fi={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,i,r){return e.forEach(s=>{var o;t=((o=this.processors[s])==null?void 0:o.process(t,n,i,r))??t}),t}};const pi=Symbol("i18next/PATH_KEY");function L1(){const e=[],t=Object.create(null);let n;return t.get=(i,r)=>{var s;return(s=n==null?void 0:n.revoke)==null||s.call(n),r===pi?e:(e.push(r),n=Proxy.revocable(i,t),n.proxy)},Proxy.revocable(Object.create(null),t).proxy}function B1(e,t){const{[pi]:n}=e(L1());return n.join((t==null?void 0:t.keySeparator)??".")}const mi={},gi=e=>!T(e)&&typeof e!="boolean"&&typeof e!="number";class Ut extends Et{constructor(t,n={}){super(),g1(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Le.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t,n={interpolation:{}}){const i={...n};if(t==null)return!1;const r=this.resolve(t,i);return(r==null?void 0:r.res)!==void 0}extractFromKey(t,n){let i=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const r=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let s=n.ns||this.options.defaultNS||[];const o=i&&t.indexOf(i)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!j1(t,i,r);if(o&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:T(s)?[s]:s};const d=t.split(i);(i!==r||i===r&&this.options.ns.indexOf(d[0])>-1)&&(s=d.shift()),t=d.join(r)}return{key:t,namespaces:T(s)?[s]:s}}translate(t,n,i){let r=typeof n=="object"?{...n}:n;if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof options=="object"&&(r={...r}),r||(r={}),t==null)return"";typeof t=="function"&&(t=B1(t,r)),Array.isArray(t)||(t=[String(t)]);const s=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,o=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:l,namespaces:c}=this.extractFromKey(t[t.length-1],r),d=c[c.length-1];let h=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;h===void 0&&(h=":");const f=r.lng||this.language,y=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((f==null?void 0:f.toLowerCase())==="cimode")return y?s?{res:`${d}${h}${l}`,usedKey:l,exactUsedKey:l,usedLng:f,usedNS:d,usedParams:this.getUsedParamsDetails(r)}:`${d}${h}${l}`:s?{res:l,usedKey:l,exactUsedKey:l,usedLng:f,usedNS:d,usedParams:this.getUsedParamsDetails(r)}:l;const p=this.resolve(t,r);let g=p==null?void 0:p.res;const b=(p==null?void 0:p.usedKey)||l,x=(p==null?void 0:p.exactUsedKey)||l,v=["[object Number]","[object Function]","[object RegExp]"],C=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,L=!this.i18nFormat||this.i18nFormat.handleAsObject,S=r.count!==void 0&&!T(r.count),B=Ut.hasDefaultValue(r),I=S?this.pluralResolver.getSuffix(f,r.count,r):"",j=r.ordinal&&S?this.pluralResolver.getSuffix(f,r.count,{ordinal:!1}):"",H=S&&!r.ordinal&&r.count===0,P=H&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${I}`]||r[`defaultValue${j}`]||r.defaultValue;let R=g;L&&!g&&B&&(R=P);const _=gi(R),fe=Object.prototype.toString.apply(R);if(L&&R&&_&&v.indexOf(fe)<0&&!(T(C)&&Array.isArray(R))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const U=this.options.returnedObjectHandler?this.options.returnedObjectHandler(b,R,{...r,ns:c}):`key '${l} (${this.language})' returned an object instead of string.`;return s?(p.res=U,p.usedParams=this.getUsedParamsDetails(r),p):U}if(o){const U=Array.isArray(R),q=U?[]:{},se=U?x:b;for(const ee in R)if(Object.prototype.hasOwnProperty.call(R,ee)){const ne=`${se}${o}${ee}`;B&&!g?q[ee]=this.translate(ne,{...r,defaultValue:gi(P)?P[ee]:void 0,joinArrays:!1,ns:c}):q[ee]=this.translate(ne,{...r,joinArrays:!1,ns:c}),q[ee]===ne&&(q[ee]=R[ee])}g=q}}else if(L&&T(C)&&Array.isArray(g))g=g.join(C),g&&(g=this.extendTranslation(g,t,r,i));else{let U=!1,q=!1;!this.isValidLookup(g)&&B&&(U=!0,g=P),this.isValidLookup(g)||(q=!0,g=l);const ee=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&q?void 0:g,ne=B&&P!==g&&this.options.updateMissing;if(q||U||ne){if(this.logger.log(ne?"updateKey":"missingKey",f,d,l,ne?P:g),o){const Q=this.resolve(l,{...r,keySeparator:!1});Q&&Q.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let oe=[];const J=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&J&&J[0])for(let Q=0;Q<J.length;Q++)oe.push(J[Q]);else this.options.saveMissingTo==="all"?oe=this.languageUtils.toResolveHierarchy(r.lng||this.language):oe.push(r.lng||this.language);const W=(Q,K,pe)=>{var Ae;const Pe=B&&pe!==g?pe:ee;this.options.missingKeyHandler?this.options.missingKeyHandler(Q,d,K,Pe,ne,r):(Ae=this.backendConnector)!=null&&Ae.saveMissing&&this.backendConnector.saveMissing(Q,d,K,Pe,ne,r),this.emit("missingKey",Q,d,K,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&S?oe.forEach(Q=>{const K=this.pluralResolver.getSuffixes(Q,r);H&&r[`defaultValue${this.options.pluralSeparator}zero`]&&K.indexOf(`${this.options.pluralSeparator}zero`)<0&&K.push(`${this.options.pluralSeparator}zero`),K.forEach(pe=>{W([Q],l+pe,r[`defaultValue${pe}`]||P)})}):W(oe,l,P))}g=this.extendTranslation(g,t,r,p,i),q&&g===l&&this.options.appendNamespaceToMissingKey&&(g=`${d}${h}${l}`),(q||U)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${d}${h}${l}`:l,U?g:void 0,r))}return s?(p.res=g,p.usedParams=this.getUsedParamsDetails(r),p):g}extendTranslation(t,n,i,r,s){var c,d;if((c=this.i18nFormat)!=null&&c.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const h=T(t)&&(((d=i==null?void 0:i.interpolation)==null?void 0:d.skipOnVariables)!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let f;if(h){const p=t.match(this.interpolator.nestingRegexp);f=p&&p.length}let y=i.replace&&!T(i.replace)?i.replace:i;if(this.options.interpolation.defaultVariables&&(y={...this.options.interpolation.defaultVariables,...y}),t=this.interpolator.interpolate(t,y,i.lng||this.language||r.usedLng,i),h){const p=t.match(this.interpolator.nestingRegexp),g=p&&p.length;f<g&&(i.nest=!1)}!i.lng&&r&&r.res&&(i.lng=this.language||r.usedLng),i.nest!==!1&&(t=this.interpolator.nest(t,(...p)=>(s==null?void 0:s[0])===p[0]&&!i.context?(this.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${n[0]}`),null):this.translate(...p,n),i)),i.interpolation&&this.interpolator.reset()}const o=i.postProcess||this.options.postProcess,l=T(o)?[o]:o;return t!=null&&(l!=null&&l.length)&&i.applyPostProcessor!==!1&&(t=fi.handle(l,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(i)},...i}:i,this)),t}resolve(t,n={}){let i,r,s,o,l;return T(t)&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(i))return;const d=this.extractFromKey(c,n),h=d.key;r=h;let f=d.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const y=n.count!==void 0&&!T(n.count),p=y&&!n.ordinal&&n.count===0,g=n.context!==void 0&&(T(n.context)||typeof n.context=="number")&&n.context!=="",b=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(x=>{var v,C;this.isValidLookup(i)||(l=x,!mi[`${b[0]}-${x}`]&&((v=this.utils)!=null&&v.hasLoadedNamespace)&&!((C=this.utils)!=null&&C.hasLoadedNamespace(l))&&(mi[`${b[0]}-${x}`]=!0,this.logger.warn(`key "${r}" for languages "${b.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(L=>{var I;if(this.isValidLookup(i))return;o=L;const S=[h];if((I=this.i18nFormat)!=null&&I.addLookupKeys)this.i18nFormat.addLookupKeys(S,h,L,x,n);else{let j;y&&(j=this.pluralResolver.getSuffix(L,n.count,n));const H=`${this.options.pluralSeparator}zero`,P=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(y&&(n.ordinal&&j.indexOf(P)===0&&S.push(h+j.replace(P,this.options.pluralSeparator)),S.push(h+j),p&&S.push(h+H)),g){const R=`${h}${this.options.contextSeparator||"_"}${n.context}`;S.push(R),y&&(n.ordinal&&j.indexOf(P)===0&&S.push(R+j.replace(P,this.options.pluralSeparator)),S.push(R+j),p&&S.push(R+H))}}let B;for(;B=S.pop();)this.isValidLookup(i)||(s=B,i=this.getResource(L,x,B,n))}))})}),{res:i,usedKey:r,exactUsedKey:s,usedLng:o,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,i,r={}){var s;return(s=this.i18nFormat)!=null&&s.getResource?this.i18nFormat.getResource(t,n,i,r):this.resourceStore.getResource(t,n,i,r)}getUsedParamsDetails(t={}){const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=t.replace&&!T(t.replace);let r=i?t.replace:t;if(i&&typeof t.count<"u"&&(r.count=t.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!i){r={...r};for(const s of n)delete r[s]}return r}static hasDefaultValue(t){const n="defaultValue";for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&n===i.substring(0,n.length)&&t[i]!==void 0)return!0;return!1}}class yi{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Le.create("languageUtils")}getScriptPartFromCode(t){if(t=pt(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=pt(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(T(t)&&t.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(t)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(i=>{if(n)return;const r=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(r))&&(n=r)}),!n&&this.options.supportedLngs&&t.forEach(i=>{if(n)return;const r=this.getScriptPartFromCode(i);if(this.isSupportedCode(r))return n=r;const s=this.getLanguagePartFromCode(i);if(this.isSupportedCode(s))return n=s;n=this.options.supportedLngs.find(o=>{if(o===s)return o;if(!(o.indexOf("-")<0&&s.indexOf("-")<0)&&(o.indexOf("-")>0&&s.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===s||o.indexOf(s)===0&&s.length>1))return o})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),T(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let i=t[n];return i||(i=t[this.getScriptPartFromCode(n)]),i||(i=t[this.formatLanguageCode(n)]),i||(i=t[this.getLanguagePartFromCode(n)]),i||(i=t.default),i||[]}toResolveHierarchy(t,n){const i=this.getFallbackCodes((n===!1?[]:n)||this.options.fallbackLng||[],t),r=[],s=o=>{o&&(this.isSupportedCode(o)?r.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return T(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):T(t)&&s(this.formatLanguageCode(t)),i.forEach(o=>{r.indexOf(o)<0&&s(this.formatLanguageCode(o))}),r}}const bi={zero:0,one:1,two:2,few:3,many:4,other:5},xi={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class I1{constructor(t,n={}){this.languageUtils=t,this.options=n,this.logger=Le.create("pluralResolver"),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t,n={}){const i=pt(t==="dev"?"en":t),r=n.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:i,type:r});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let o;try{o=new Intl.PluralRules(i,{type:r})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),xi;if(!t.match(/-|_/))return xi;const c=this.languageUtils.getLanguagePartFromCode(t);o=this.getRule(c,n)}return this.pluralRulesCache[s]=o,o}needsPlural(t,n={}){let i=this.getRule(t,n);return i||(i=this.getRule("dev",n)),(i==null?void 0:i.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(t,n,i={}){return this.getSuffixes(t,i).map(r=>`${n}${r}`)}getSuffixes(t,n={}){let i=this.getRule(t,n);return i||(i=this.getRule("dev",n)),i?i.resolvedOptions().pluralCategories.sort((r,s)=>bi[r]-bi[s]).map(r=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r}`):[]}getSuffix(t,n,i={}){const r=this.getRule(t,i);return r?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${r.select(n)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",n,i))}}const Ci=(e,t,n,i=".",r=!0)=>{let s=x1(e,t,n);return!s&&r&&T(n)&&(s=Wa(e,n,i),s===void 0&&(s=Wa(t,n,i))),s},Va=e=>e.replace(/\$/g,"$$$$");class T1{constructor(t={}){var n;this.logger=Le.create("interpolator"),this.options=t,this.format=((n=t==null?void 0:t.interpolation)==null?void 0:n.format)||(i=>i),this.init(t)}init(t={}){t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:i,useRawValueToEscape:r,prefix:s,prefixEscaped:o,suffix:l,suffixEscaped:c,formatSeparator:d,unescapeSuffix:h,unescapePrefix:f,nestingPrefix:y,nestingPrefixEscaped:p,nestingSuffix:g,nestingSuffixEscaped:b,nestingOptionsSeparator:x,maxReplaces:v,alwaysFormat:C}=t.interpolation;this.escape=n!==void 0?n:w1,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=r!==void 0?r:!1,this.prefix=s?$e(s):o||"{{",this.suffix=l?$e(l):c||"}}",this.formatSeparator=d||",",this.unescapePrefix=h?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=y?$e(y):p||$e("$t("),this.nestingSuffix=g?$e(g):b||$e(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=v||1e3,this.alwaysFormat=C!==void 0?C:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,i)=>(n==null?void 0:n.source)===i?(n.lastIndex=0,n):new RegExp(i,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(t,n,i,r){var p;let s,o,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},d=g=>{if(g.indexOf(this.formatSeparator)<0){const C=Ci(n,c,g,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(C,void 0,i,{...r,...n,interpolationkey:g}):C}const b=g.split(this.formatSeparator),x=b.shift().trim(),v=b.join(this.formatSeparator).trim();return this.format(Ci(n,c,x,this.options.keySeparator,this.options.ignoreJSONStructure),v,i,{...r,...n,interpolationkey:x})};this.resetRegExp();const h=(r==null?void 0:r.missingInterpolationHandler)||this.options.missingInterpolationHandler,f=((p=r==null?void 0:r.interpolation)==null?void 0:p.skipOnVariables)!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:g=>Va(g)},{regex:this.regexp,safeValue:g=>this.escapeValue?Va(this.escape(g)):Va(g)}].forEach(g=>{for(l=0;s=g.regex.exec(t);){const b=s[1].trim();if(o=d(b),o===void 0)if(typeof h=="function"){const v=h(t,s,r);o=T(v)?v:""}else if(r&&Object.prototype.hasOwnProperty.call(r,b))o="";else if(f){o=s[0];continue}else this.logger.warn(`missed to pass in variable ${b} for interpolating ${t}`),o="";else!T(o)&&!this.useRawValueToEscape&&(o=oi(o));const x=g.safeValue(o);if(t=t.replace(s[0],x),f?(g.regex.lastIndex+=o.length,g.regex.lastIndex-=s[0].length):g.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,n,i={}){let r,s,o;const l=(c,d)=>{const h=this.nestingOptionsSeparator;if(c.indexOf(h)<0)return c;const f=c.split(new RegExp(`${h}[ ]*{`));let y=`{${f[1]}`;c=f[0],y=this.interpolate(y,o);const p=y.match(/'/g),g=y.match(/"/g);(((p==null?void 0:p.length)??0)%2===0&&!g||g.length%2!==0)&&(y=y.replace(/'/g,'"'));try{o=JSON.parse(y),d&&(o={...d,...o})}catch(b){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,b),`${c}${h}${y}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,c};for(;r=this.nestingRegexp.exec(t);){let c=[];o={...i},o=o.replace&&!T(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;const d=/{.*}/.test(r[1])?r[1].lastIndexOf("}")+1:r[1].indexOf(this.formatSeparator);if(d!==-1&&(c=r[1].slice(d).split(this.formatSeparator).map(h=>h.trim()).filter(Boolean),r[1]=r[1].slice(0,d)),s=n(l.call(this,r[1].trim(),o),o),s&&r[0]===t&&!T(s))return s;T(s)||(s=oi(s)),s||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${t}`),s=""),c.length&&(s=c.reduce((h,f)=>this.format(h,f,i.lng,{...i,interpolationkey:r[1].trim()}),s.trim())),t=t.replace(r[0],s),this.regexp.lastIndex=0}return t}}const N1=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const i=e.split("(");t=i[0].toLowerCase().trim();const r=i[1].substring(0,i[1].length-1);t==="currency"&&r.indexOf(":")<0?n.currency||(n.currency=r.trim()):t==="relativetime"&&r.indexOf(":")<0?n.range||(n.range=r.trim()):r.split(";").forEach(o=>{if(o){const[l,...c]=o.split(":"),d=c.join(":").trim().replace(/^'+|'+$/g,""),h=l.trim();n[h]||(n[h]=d),d==="false"&&(n[h]=!1),d==="true"&&(n[h]=!0),isNaN(d)||(n[h]=parseInt(d,10))}})}return{formatName:t,formatOptions:n}},wi=e=>{const t={};return(n,i,r)=>{let s=r;r&&r.interpolationkey&&r.formatParams&&r.formatParams[r.interpolationkey]&&r[r.interpolationkey]&&(s={...s,[r.interpolationkey]:void 0});const o=i+JSON.stringify(s);let l=t[o];return l||(l=e(pt(i),r),t[o]=l),l(n)}},P1=e=>(t,n,i)=>e(pt(n),i)(t);class D1{constructor(t={}){this.logger=Le.create("formatter"),this.options=t,this.init(t)}init(t,n={interpolation:{}}){this.formatSeparator=n.interpolation.formatSeparator||",";const i=n.cacheInBuiltFormats?wi:P1;this.formats={number:i((r,s)=>{const o=new Intl.NumberFormat(r,{...s});return l=>o.format(l)}),currency:i((r,s)=>{const o=new Intl.NumberFormat(r,{...s,style:"currency"});return l=>o.format(l)}),datetime:i((r,s)=>{const o=new Intl.DateTimeFormat(r,{...s});return l=>o.format(l)}),relativetime:i((r,s)=>{const o=new Intl.RelativeTimeFormat(r,{...s});return l=>o.format(l,s.range||"day")}),list:i((r,s)=>{const o=new Intl.ListFormat(r,{...s});return l=>o.format(l)})}}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=wi(n)}format(t,n,i,r={}){const s=n.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(l=>l.indexOf(")")>-1)){const l=s.findIndex(c=>c.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,l)].join(this.formatSeparator)}return s.reduce((l,c)=>{var f;const{formatName:d,formatOptions:h}=N1(c);if(this.formats[d]){let y=l;try{const p=((f=r==null?void 0:r.formatParams)==null?void 0:f[r.interpolationkey])||{},g=p.locale||p.lng||r.locale||r.lng||i;y=this.formats[d](l,g,{...h,...r,...p})}catch(p){this.logger.warn(p)}return y}else this.logger.warn(`there was no format function for ${d}`);return l},t)}}const H1=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class M1 extends Et{constructor(t,n,i,r={}){var s,o;super(),this.backend=t,this.store=n,this.services=i,this.languageUtils=i.languageUtils,this.options=r,this.logger=Le.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],(o=(s=this.backend)==null?void 0:s.init)==null||o.call(s,i,r.backend,r)}queueLoad(t,n,i,r){const s={},o={},l={},c={};return t.forEach(d=>{let h=!0;n.forEach(f=>{const y=`${d}|${f}`;!i.reload&&this.store.hasResourceBundle(d,f)?this.state[y]=2:this.state[y]<0||(this.state[y]===1?o[y]===void 0&&(o[y]=!0):(this.state[y]=1,h=!1,o[y]===void 0&&(o[y]=!0),s[y]===void 0&&(s[y]=!0),c[f]===void 0&&(c[f]=!0)))}),h||(l[d]=!0)}),(Object.keys(s).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(s),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,n,i){const r=t.split("|"),s=r[0],o=r[1];n&&this.emit("failedLoading",s,o,n),!n&&i&&this.store.addResourceBundle(s,o,i,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&i&&(this.state[t]=0);const l={};this.queue.forEach(c=>{b1(c.loaded,[s],o),H1(c,t),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(d=>{l[d]||(l[d]={});const h=c.loaded[d];h.length&&h.forEach(f=>{l[d][f]===void 0&&(l[d][f]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(t,n,i,r=0,s=this.retryTimeout,o){if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:i,tried:r,wait:s,callback:o});return}this.readingCalls++;const l=(d,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(d&&h&&r<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,i,r+1,s*2,o)},s);return}o(d,h)},c=this.backend[i].bind(this.backend);if(c.length===2){try{const d=c(t,n);d&&typeof d.then=="function"?d.then(h=>l(null,h)).catch(l):l(null,d)}catch(d){l(d)}return}return c(t,n,l)}prepareLoading(t,n,i={},r){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();T(t)&&(t=this.languageUtils.toResolveHierarchy(t)),T(n)&&(n=[n]);const s=this.queueLoad(t,n,i,r);if(!s.toLoad.length)return s.pending.length||r(),null;s.toLoad.forEach(o=>{this.loadOne(o)})}load(t,n,i){this.prepareLoading(t,n,{},i)}reload(t,n,i){this.prepareLoading(t,n,{reload:!0},i)}loadOne(t,n=""){const i=t.split("|"),r=i[0],s=i[1];this.read(r,s,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${n}loading namespace ${s} for language ${r} failed`,o),!o&&l&&this.logger.log(`${n}loaded namespace ${s} for language ${r}`,l),this.loaded(t,o,l)})}saveMissing(t,n,i,r,s,o={},l=()=>{}){var c,d,h,f,y;if((d=(c=this.services)==null?void 0:c.utils)!=null&&d.hasLoadedNamespace&&!((f=(h=this.services)==null?void 0:h.utils)!=null&&f.hasLoadedNamespace(n))){this.logger.warn(`did not save key "${i}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(i==null||i==="")){if((y=this.backend)!=null&&y.create){const p={...o,isUpdate:s},g=this.backend.create.bind(this.backend);if(g.length<6)try{let b;g.length===5?b=g(t,n,i,r,p):b=g(t,n,i,r),b&&typeof b.then=="function"?b.then(x=>l(null,x)).catch(l):l(null,b)}catch(b){l(b)}else g(t,n,i,r,l,p)}!t||!t[0]||this.store.addResource(t[0],n,i,r)}}}const vi=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),T(e[1])&&(t.defaultValue=e[1]),T(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(i=>{t[i]=n[i]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),ki=e=>{var t,n;return T(e.ns)&&(e.ns=[e.ns]),T(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),T(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),((n=(t=e.supportedLngs)==null?void 0:t.indexOf)==null?void 0:n.call(t,"cimode"))<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e},Yt=()=>{},O1=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class mt extends Et{constructor(t={},n){if(super(),this.options=ki(t),this.services={},this.logger=Le,this.modules={external:[]},O1(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(t={},n){this.isInitializing=!0,typeof t=="function"&&(n=t,t={}),t.defaultNS==null&&t.ns&&(T(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const i=vi();this.options={...i,...this.options,...ki(t)},this.options.interpolation={...i.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);const r=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?Le.init(r(this.modules.logger),this.options):Le.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:d=D1;const h=new yi(this.options);this.store=new ui(this.options.resources,this.options);const f=this.services;f.logger=Le,f.resourceStore=this.store,f.languageUtils=h,f.pluralResolver=new I1(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==i.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),d&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(f.formatter=r(d),f.formatter.init&&f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new T1(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new M1(r(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",(p,...g)=>{this.emit(p,...g)}),this.modules.languageDetector&&(f.languageDetector=r(this.modules.languageDetector),f.languageDetector.init&&f.languageDetector.init(f,this.options.detection,this.options)),this.modules.i18nFormat&&(f.i18nFormat=r(this.modules.i18nFormat),f.i18nFormat.init&&f.i18nFormat.init(this)),this.translator=new Ut(this.services,this.options),this.translator.on("*",(p,...g)=>{this.emit(p,...g)}),this.modules.external.forEach(p=>{p.init&&p.init(this)})}if(this.format=this.options.interpolation.format,n||(n=Yt),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=(...h)=>this.store[d](...h)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=(...h)=>(this.store[d](...h),this)});const l=ut(),c=()=>{const d=(h,f)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(f),n(h,f)};if(this.languages&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initAsync?c():setTimeout(c,0),l}loadResources(t,n=Yt){var s,o;let i=n;const r=T(t)?t:this.language;if(typeof t=="function"&&(i=t),!this.options.resources||this.options.partialBundledLanguages){if((r==null?void 0:r.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return i();const l=[],c=d=>{if(!d||d==="cimode")return;this.services.languageUtils.toResolveHierarchy(d).forEach(f=>{f!=="cimode"&&l.indexOf(f)<0&&l.push(f)})};r?c(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(h=>c(h)),(o=(s=this.options.preload)==null?void 0:s.forEach)==null||o.call(s,d=>c(d)),this.services.backendConnector.load(l,this.options.ns,d=>{!d&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),i(d)})}else i(null)}reloadResources(t,n,i){const r=ut();return typeof t=="function"&&(i=t,t=void 0),typeof n=="function"&&(i=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),i||(i=Yt),this.services.backendConnector.reload(t,n,s=>{r.resolve(),i(s)}),r}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&fi.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1)){for(let n=0;n<this.languages.length;n++){const i=this.languages[n];if(!(["cimode","dev"].indexOf(i)>-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}!this.resolvedLanguage&&this.languages.indexOf(t)<0&&this.store.hasLanguageSomeTranslations(t)&&(this.resolvedLanguage=t,this.languages.unshift(t))}}changeLanguage(t,n){this.isLanguageChangingTo=t;const i=ut();this.emit("languageChanging",t);const r=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},s=(l,c)=>{c?this.isLanguageChangingTo===t&&(r(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,i.resolve((...d)=>this.t(...d)),n&&n(l,(...d)=>this.t(...d))},o=l=>{var h,f;!t&&!l&&this.services.languageDetector&&(l=[]);const c=T(l)?l:l&&l[0],d=this.store.hasLanguageSomeTranslations(c)?c:this.services.languageUtils.getBestMatchFromCodes(T(l)?[l]:l);d&&(this.language||r(d),this.translator.language||this.translator.changeLanguage(d),(f=(h=this.services.languageDetector)==null?void 0:h.cacheUserLanguage)==null||f.call(h,d)),this.loadResources(d,y=>{s(y,d)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?o(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(t),i}getFixedT(t,n,i){const r=(s,o,...l)=>{let c;typeof o!="object"?c=this.options.overloadTranslationOptionHandler([s,o].concat(l)):c={...o},c.lng=c.lng||r.lng,c.lngs=c.lngs||r.lngs,c.ns=c.ns||r.ns,c.keyPrefix!==""&&(c.keyPrefix=c.keyPrefix||i||r.keyPrefix);const d=this.options.keySeparator||".";let h;return c.keyPrefix&&Array.isArray(s)?h=s.map(f=>`${c.keyPrefix}${d}${f}`):h=c.keyPrefix?`${c.keyPrefix}${d}${s}`:s,this.t(h,c)};return T(t)?r.lng=t:r.lngs=t,r.ns=n,r.keyPrefix=i,r}t(...t){var n;return(n=this.translator)==null?void 0:n.translate(...t)}exists(...t){var n;return(n=this.translator)==null?void 0:n.exists(...t)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t,n={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=n.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;const o=(l,c)=>{const d=this.services.backendConnector.state[`${l}|${c}`];return d===-1||d===0||d===2};if(n.precheck){const l=n.precheck(this,o);if(l!==void 0)return l}return!!(this.hasResourceBundle(i,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(i,t)&&(!r||o(s,t)))}loadNamespaces(t,n){const i=ut();return this.options.ns?(T(t)&&(t=[t]),t.forEach(r=>{this.options.ns.indexOf(r)<0&&this.options.ns.push(r)}),this.loadResources(r=>{i.resolve(),n&&n(r)}),i):(n&&n(),Promise.resolve())}loadLanguages(t,n){const i=ut();T(t)&&(t=[t]);const r=this.options.preload||[],s=t.filter(o=>r.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return s.length?(this.options.preload=r.concat(s),this.loadResources(o=>{i.resolve(),n&&n(o)}),i):(n&&n(),Promise.resolve())}dir(t){var r,s;if(t||(t=this.resolvedLanguage||(((r=this.languages)==null?void 0:r.length)>0?this.languages[0]:this.language)),!t)return"rtl";try{const o=new Intl.Locale(t);if(o&&o.getTextInfo){const l=o.getTextInfo();if(l&&l.direction)return l.direction}}catch{}const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],i=((s=this.services)==null?void 0:s.languageUtils)||new yi(vi());return t.toLowerCase().indexOf("-latn")>1?"ltr":n.indexOf(i.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(t={},n){return new mt(t,n)}cloneInstance(t={},n=Yt){const i=t.forkResourceStore;i&&delete t.forkResourceStore;const r={...this.options,...t,isClone:!0},s=new mt(r);if((t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(l=>{s[l]=this[l]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},i){const l=Object.keys(this.store.data).reduce((c,d)=>(c[d]={...this.store.data[d]},c[d]=Object.keys(c[d]).reduce((h,f)=>(h[f]={...c[d][f]},h),c[d]),c),{});s.store=new ui(l,r),s.services.resourceStore=s.store}return s.translator=new Ut(s.services,r),s.translator.on("*",(l,...c)=>{s.emit(l,...c)}),s.init(r,n),s.translator.options=r,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const le=mt.createInstance();le.createInstance=mt.createInstance,le.createInstance,le.dir,le.init,le.loadResources,le.reloadResources,le.use,le.changeLanguage,le.getFixedT;const ke=le.t;le.exists,le.setDefaultNamespace,le.hasLoadedNamespace,le.loadNamespaces,le.loadLanguages;const z1={bottom:"270deg",left:"0deg",right:"180deg",top:"90deg",forLobby:"0deg"},xe=({position:e="forLobby",width:t=9,height:n=14,color:i="white"})=>a.jsxs(a.Fragment,{children:[a.jsx("svg",{width:String(t),height:String(n),style:{rotate:z1[e]},viewBox:"0 0 9 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M8.08915 0.577485C8.24538 0.733758 8.33314 0.945681 8.33314 1.16665C8.33314 1.38762 8.24538 1.59954 8.08915 1.75582L2.84498 6.99998L8.08915 12.2442C8.24095 12.4013 8.32495 12.6118 8.32305 12.8303C8.32115 13.0488 8.23351 13.2578 8.079 13.4123C7.92449 13.5668 7.71548 13.6545 7.49699 13.6564C7.27849 13.6583 7.06799 13.5743 6.91082 13.4225L1.07748 7.58915C0.921259 7.43288 0.833496 7.22095 0.833496 6.99998C0.833496 6.77901 0.921259 6.56709 1.07748 6.41082L6.91082 0.577485C7.06709 0.421259 7.27902 0.333496 7.49999 0.333496C7.72096 0.333496 7.93288 0.421259 8.08915 0.577485Z",fill:i,fillOpacity:"0.8"})}),e==="forLobby"&&a.jsx("span",{className:"text",children:ke("Lobby")})]}),Ai="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.45402%200.399902C9.87463%200.399915%2010.2805%200.554948%2010.594%200.835361C10.9075%201.11577%2011.1066%201.50189%2011.1534%201.9199H12.1171C12.4507%201.92011%2012.7721%202.04571%2013.0175%202.2718C13.2628%202.49788%2013.4143%202.80794%2013.4417%203.14046L13.4463%203.2499V5.5299C13.4463%206.16081%2013.205%206.76781%2012.7717%207.2264C12.3384%207.68498%2011.746%207.96038%2011.1161%207.9961L10.9565%208.00066C10.7032%208.79031%2010.2308%209.49174%209.59422%2010.0232C8.95765%2010.5547%208.18316%2010.8944%207.36098%2011.0027V12.1799H8.69326C9.32403%2012.1801%209.93085%2012.4215%2010.3893%2012.8548C10.8477%2013.2881%2011.123%2013.8803%2011.1587%2014.5101L11.1633%2014.6499V15.0299C11.1632%2015.1678%2011.1132%2015.3009%2011.0226%2015.4048C10.9319%2015.5086%2010.8066%2015.576%2010.67%2015.5946L10.5933%2015.5999H2.99174C2.85387%2015.6001%202.72061%2015.5503%202.61664%2015.4597C2.51267%2015.3692%202.44505%2015.244%202.4263%2015.1074L2.42174%2015.0299V14.6499C2.42169%2014.0191%202.66296%2013.4122%203.09609%2012.9537C3.52922%2012.4951%204.12138%2012.2196%204.75114%2012.1837L4.89174%2012.1799H6.22174V11.0027C5.39983%2010.8941%204.62567%2010.5543%203.98939%2010.0229C3.3531%209.49138%202.88088%208.7901%202.6277%208.00066L2.60794%207.9999C1.95285%207.9999%201.3246%207.73967%200.861386%207.27646C0.398171%206.81324%200.137939%206.18499%200.137939%205.5299V3.2499C0.137939%202.51574%200.733779%201.9199%201.46794%201.9199H2.43162C2.47837%201.50176%202.67763%201.11554%202.9913%200.835108C3.30496%200.554677%203.711%200.399728%204.13174%200.399902H9.45402ZM12.1171%203.0599H11.164V6.84698C11.4613%206.80474%2011.7355%206.66316%2011.9421%206.44527C12.1486%206.22739%2012.2754%205.94602%2012.3017%205.64694L12.3071%205.5299V3.2499C12.307%203.2071%2012.2925%203.16557%2012.2658%203.13205C12.2392%203.09853%2012.2021%203.07498%2012.1604%203.06522L12.1171%203.0599ZM2.42174%203.0599H1.46794C1.41755%203.0599%201.36922%203.07992%201.33359%203.11555C1.29796%203.15118%201.27794%203.19951%201.27794%203.2499V5.5299C1.2779%205.85041%201.3936%206.16016%201.60375%206.40215C1.81391%206.64415%202.10439%206.80211%202.42174%206.84698V3.0599Z'%20fill='url(%23paint0_linear_851_822)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_851_822'%20x1='-0.221746'%20y1='-2.13343'%20x2='19.2003'%20y2='7.59061'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23B97304'/%3e%3cstop%20offset='0.368995'%20stop-color='%23FFC15D'/%3e%3cstop%20offset='0.5'%20stop-color='%23FFD38B'/%3e%3cstop%20offset='0.611316'%20stop-color='%23FFC15D'/%3e%3cstop%20offset='1'%20stop-color='%23B97304'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",F1=()=>a.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M7.00085 21H25.0008C25.2557 21.0003 25.5009 21.0979 25.6862 21.2728C25.8715 21.4478 25.9831 21.687 25.998 21.9414C26.013 22.1958 25.9302 22.4464 25.7666 22.6418C25.603 22.8373 25.3709 22.9629 25.1178 22.993L25.0008 23H7.00085C6.74597 22.9997 6.50081 22.9021 6.31548 22.7272C6.13014 22.5522 6.01861 22.313 6.00367 22.0586C5.98874 21.8042 6.07152 21.5536 6.23511 21.3582C6.3987 21.1627 6.63075 21.0371 6.88385 21.007L7.00085 21ZM7.00085 15L25.0008 14.998C25.2557 14.9983 25.5009 15.0959 25.6862 15.2708C25.8715 15.4458 25.9831 15.685 25.998 15.9394C26.013 16.1938 25.9302 16.4444 25.7666 16.6398C25.603 16.8353 25.3709 16.9609 25.1178 16.991L25.0008 16.998L7.00085 17C6.74597 16.9997 6.50081 16.9021 6.31548 16.7272C6.13014 16.5522 6.01861 16.313 6.00367 16.0586C5.98874 15.8042 6.07152 15.5536 6.23511 15.3582C6.3987 15.1627 6.63075 15.0371 6.88385 15.007L7.00085 15ZM7.00085 9H25.0008C25.2557 9.00028 25.5009 9.09788 25.6862 9.27285C25.8715 9.44782 25.9831 9.68695 25.998 9.94139C26.013 10.1958 25.9302 10.4464 25.7666 10.6418C25.603 10.8373 25.3709 10.9629 25.1178 10.993L25.0008 11H7.00085C6.74597 10.9997 6.50081 10.9021 6.31548 10.7272C6.13014 10.5522 6.01861 10.313 6.00367 10.0586C5.98874 9.80416 6.07152 9.55362 6.23511 9.35817C6.3987 9.16271 6.63075 9.0371 6.88385 9.007L7.00085 9Z",fill:"white",fillOpacity:"0.6"})}),R1=m.div`
266
273
  border-radius: 0px;
267
274
  background-color: #111111cc;
268
275
  position: absolute;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "livevegas-ui-kit",
3
- "version": "1.0.173",
3
+ "version": "1.0.175",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"