1import{a as A}from"./chunk-2ZHSONKH.js";import{a as X}from"./chunk-TFW2TCCH.js";import{a as D}from"./chunk-YITFIFO3.js";import"./chunk-PF46U4XT.js";import{a as N,c as $,e as b}from"./chunk-NNROAR6N.js";import"./chunk-5VWNKVRB.js";import"./chunk-OTX6GGS2.js";import"./chunk-7WW52MXW.js";import"./chunk-ARYAMYGF.js";import"./chunk-L2FQY2S3.js";import"./chunk-ZWA2HFNP.js";import"./chunk-2NPTJOJL.js";import"./chunk-KOBCH4IQ.js";import"./chunk-MVNYJSCH.js";import"./chunk-D2PTMRVY.js";import"./chunk-YTW7SW2V.js";import"./chunk-YRCHHGYY.js";import"./chunk-GFBZYO5K.js";import{d as T}from"./chunk-DCT7GM4K.js";import"./chunk-VNJJ55Z7.js";import"./chunk-OWK4YXYG.js";import"./chunk-3BG5LX4Q.js";import"./chunk-WTZMP7KX.js";import"./chunk-34ULTRYW.js";import"./chunk-SRCJTHBN.js";import"./chunk-UISSSEXI.js";import"./chunk-FGYQJH35.js";import"./chunk-NFUJBFDW.js";import"./chunk-5ACA4SR6.js";import"./chunk-LXX2IGXR.js";import"./chunk-BJHATWGB.js";import"./chunk-J7NSQWER.js";import"./chunk-TYLYR3C3.js";import"./chunk-YODJDJOJ.js";import"./chunk-HTCTQSJA.js";import"./chunk-WYKSJSTQ.js";import"./chunk-ZKO35LNJ.js";import"./chunk-LTSYRHYT.js";import{a as L}from"./chunk-BAMUWVXB.js";import"./chunk-S2T6HSPW.js";import"./chunk-CWZ5JKNT.js";import"./chunk-NFWGG6F5.js";import"./chunk-6X7B336Z.js";import"./chunk-6OHS2AWG.js";import"./chunk-BJI3CEQU.js";import"./chunk-VGDWCUHF.js";import{Aa as C,Db as y,Sc as G,Uc as v,dc as i,ec as m,fc as g,gc as s,kc as E,lc as O,nb as n,oa as r,xc as P}from"./chunk-246BNVPW.js";import"./chunk-TAR7UO5C.js";import"./chunk-FPMTQZ27.js";import"./chunk-6CQJLHU2.js";var J=(()=>{class o{constructor(){this.wheelState=r(D),this.meta=r(T),this.destroyRef=r(C),this.Multiplier=$,this.GameStatus=N,this.preloadBets=new Array(10);}set id(t){t&&this.loadGame(Number(t));}ngOnDestroy(){this.wheelState.reset();}loadGame(t){this.wheelState.loadGame(t).pipe(L(this.destroyRef)).subscribe(l=>this.setMetaTags(l.game));}setMetaTags(t){let l=b[t.winColor],e="Game Wheel#"+t.id+"",a="Wheel Game #"+t.id+" completed! The players who bet on "+t.id+". won. The pot amount of "+l+" was raffled among the winning players!";this.meta.setTitle(e),this.meta.setTag("description",a);}static{this.ɵfac=function(l){return new(l||o)();};}static{this.ɵcmp=y({type:o,selectors:[["wheel-game"]],inputs:{id:"id"},decls:12,vars:23,consts:()=>{let t;return t="Round",[t,["gameMode","wheel",3,"gameId","users","skins","bank","hash","salt"],[1,"round-history-page__title"],[1,"round-history-page__icon","icon","icon_file-list-alt"],[1,"round-history-page__round-number"],[1,"round-history-page__content"],[3,"color","multiplier","winMultiplier","isLoading"]];},template:function(l,e){if(l&1&&(s(0,"ui-game-info",1),m(1,"div",2),s(2,"i",3),E(3),P(4,0),O(),m(5,"span",4),G(6),g()(),m(7,"div",5),s(8,"wheel-game-color",6)(9,"wheel-game-color",6)(10,"wheel-game-color",6)(11,"wheel-game-color",6),g()),l&2){let a,d,_,h,p,u,c,w,M,S,f;i("gameId",(a=e.wheelState.game())==null?null:a.id)("users",(d=e.wheelState.game())==null?null:d.usersCount)("skins",(_=e.wheelState.game())==null?null:_.itemsCount)("bank",(h=e.wheelState.game())==null?null:h.totalBankUsd)("hash",(p=e.wheelState.game())==null||p.fairGame==null?null:p.fairGame.serverSeedHash)("salt",(u=e.wheelState.game())==null||u.fairGame==null?null:u.fairGame.serverSeed),n(6),v(" #",(c=e.wheelState.game())==null?null:c.id," "),n(2),i("color",e.wheelState.colorX2())("multiplier",e.Multiplier.X2)("winMultiplier",(w=e.wheelState.game())==null?null:w.winColor)("isLoading",!e.wheelState.game()),n(),i("color",e.wheelState.colorX3())("multiplier",e.Multiplier.X3)("winMultiplier",(M=e.wheelState.game())==null?null:M.winColor)("isLoading",!e.wheelState.game()),n(),i("color",e.wheelState.colorX4())("multiplier",e.Multiplier.X4)("winMultiplier",(S=e.wheelState.game())==null?null:S.winColor)("isLoading",!e.wheelState.game()),n(),i("color",e.wheelState.colorX35())("multiplier",e.Multiplier.X35)("winMultiplier",(f=e.wheelState.game())==null?null:f.winColor)("isLoading",!e.wheelState.game());}},dependencies:[X,A],styles:[`[_ngcontent-%COMP%]:root{--gutter: 2rem;--gutter-page: 4rem;--gutter-shop: 2.5rem;--gutter-support: 2.5rem}@media all and (max-width:991px){[_ngcontent-%COMP%]:root{--gutter: 1.5rem;--gutter-page: 2rem}}[_nghost-%COMP%]{display:flex;flex-direction:column;width:120rem;margin:0 auto}@media all and (max-width:991px){[_nghost-%COMP%]{width:100%;padding:0 var(--gutter)}}.round-history-page__title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.6rem;margin-top:2.3rem;font-weight:700;font-size:1.8rem;line-height:2.2rem}.round-history-page__title[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:2.4rem}.round-history-page__round-number[_ngcontent-%COMP%]{font-weight:400;color:#cddbff}.round-history-page__content[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:auto;gap:.4rem;flex:1;margin:1.5rem 0 0;min-height:78rem}@media all and (max-width:991px){.round-history-page__content[_ngcontent-%COMP%]{min-height:100%}}.round-history-page__spinner[_ngcontent-%COMP%]{border-radius:10px}.round-history-page[_ngcontent-%COMP%] .wheel-game-color__player[_ngcontent-%COMP%]{background-color:#29335a}@media all and (max-width:767px){.round-history-page__content[_ngcontent-%COMP%]{grid-template-columns:1fr}} 2/*# sourceMappingURL=game.component-EYEVPVOJ.css.map */`],changeDetection:0});}}return o;})();export{J as default};/**i18n:4cfc642841e3f98b3238eb2aee0b82103f3f91f07113d1dbea60b47686a5d513*///# sourceMappingURL=chunk-TXB56K32.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.