1import{a as Y}from"./chunk-MFY6GL67.js";import{a as G}from"./chunk-WQGKT4QG.js";import{b as K,m as W,p as X}from"./chunk-SQXH55RY.js";import{O as J}from"./chunk-2RZNBXEW.js";import{C as q,ca as Q,e as F,ea as z,fa as U,i as L,j as D,p as P,q as A,r as j,sa as H,v as N,y as $}from"./chunk-LKIBVTZY.js";import{A as m,B as p,Da as c,Ia as o,Ja as s,Ka as _,La as y,Ma as I,Oa as b,Ra as u,Sa as l,ab as B,bb as g,cb as x,db as k,ga as i,ha as C,nb as T,ob as w,p as O,pb as M,qb as V,sb as d,tb as S,ub as E,xa as v,xb as R}from"./chunk-LZGEQQYD.js";var re=t=>({"z-index":t}),ae=()=>["/Account/Deposit"],ce=()=>["/Account"],Z=t=>({active:t}),se=t=>({height:t}),le=t=>({show:t}),ee=t=>[t],me=(t,a)=>({"no-money":t,show:a});function pe(t,a){if(t&1){let e=b();o(0,"div",3)(1,"ul")(2,"li")(3,"a",4),u("click",function(){m(e);let n=l();return p(n.openLogin())}),g(4),d(5,"translate"),s()(),o(6,"li")(7,"a",4),u("click",function(n){m(e);let f=l();return p(f.routeToSignUP(n))}),g(8),d(9,"translate"),s()()()()}t&2&&(i(4),x(S(5,2,"bottomMenu.login")),i(4),x(S(9,4,"bottomMenu.register")))}function _e(t,a){if(t&1){let e=b();y(0),o(1,"a",4),u("click",function(){m(e);let n=l(2);return p(n.showRebate())}),_(2,"i",21),o(3,"strong"),g(4),d(5,"translate"),s()(),I()}t&2&&(i(4),x(S(5,1,"bottomMenu.instantRebate")))}function ue(t,a){if(t&1){let e=b();y(0),o(1,"a",23),u("click",function(){m(e);let n=l(3);return p(n.isMoneyOpen=!1)}),_(2,"i",24),o(3,"strong"),g(4),d(5,"translate"),s()(),I()}if(t&2){let e=a.$implicit,r=a.index,n=l(3);i(),c("routerLink",M(6,ee,e.link))("ngClass",M(8,ee,n.isMoneyOpen?"item-"+r:"")),i(),c("className",e.icon),i(2),x(S(5,4,"bottomMenu."+e.name))}}function ge(t,a){if(t&1&&(y(0),v(1,ue,6,10,"ng-container",22),I()),t&2){let e=l(2);i(),c("ngForOf",e.cmsService.bottomMenuBubble)}}function de(t,a){t&1&&(y(0),_(1,"i",24),I()),t&2&&(i(),c("className","icon-QQpool"))}function fe(t,a){if(t&1&&(_(0,"i",24),d(1,"lowercase")),t&2){let e=l().$implicit;c("className","icon-"+S(1,1,e.position))}}function ve(t,a){if(t&1&&(o(0,"strong",29),g(1),s()),t&2){let e=l().$implicit;i(),k(" ",e.settingLang[0]==null?null:e.settingLang[0].name," ")}}function xe(t,a){if(t&1){let e=b();o(0,"li")(1,"a",4),u("click",function(){let n=m(e).$implicit,f=l(3);return p(f.cmsService.openMenu(n))}),o(2,"div",26),v(3,de,2,1,"ng-container",27)(4,fe,2,3,"ng-template",null,0,R),s(),v(6,ve,2,1,"strong",28),s()()}if(t&2){let e=a.$implicit,r=B(5);i(3),c("ngIf",e.position==="Reward")("ngIfElse",r),i(3),c("ngIf",e.settingLang)}}function Se(t,a){if(t&1&&(o(0,"ul"),v(1,xe,7,3,"li",25),s()),t&2){let e=l(2);i(),c("ngForOf",e.menuService.getMenuData("subMenu"))("ngForTrackBy",e.trackByPosition)}}function Ce(t,a){if(t&1&&(o(0,"span"),g(1),s()),t&2){let e=l(3);i(),x(e.globalData.acctInfo==null?null:e.globalData.acctInfo.currency)}}function be(t,a){if(t&1){let e=b();o(0,"div",30)(1,"div",31),_(2,"i",21),o(3,"div",32)(4,"p",33),g(5),d(6,"translate"),s(),o(7,"p",34),v(8,Ce,2,1,"span",2),o(9,"strong"),g(10),d(11,"number"),s()()(),o(12,"button",18),u("click",function(){m(e);let n=l(2);return p(n.showRebate())}),_(13,"i",14),s(),o(14,"button",35),u("debounceClick",function(){m(e);let n=l(2);return p(n.accountInfoService.getCollectInstantRebate())}),g(15),d(16,"translate"),s()()()}if(t&2){let e=l(2);c("ngClass",V(12,me,e.cmsService.cmsSetting.getInstantRebate?e.cmsService.cmsSetting.getInstantRebate.status!==1:!1,e.isRebateOpen)),i(5),x(S(6,5,"bottomMenu.collectableInstantRebate")),i(3),c("ngIf",e.globalData.acctInfo),i(2),k(" ",e.cmsService.cmsSetting.getInstantRebate?E(11,7,e.cmsService.cmsSetting.getInstantRebate.rebateAmt,"1.2-2"):0," "),i(5),x(S(16,10,"bottomMenu.collect"))}}function Me(t,a){if(t&1){let e=b();o(0,"div",36),u("click",function(){m(e);let n=l(2);return n.isRebateOpen=!1,n.isMoneyOpen=!1,p(n.isSubMenuOpen=!1)}),s()}}function ye(t,a){if(t&1){let e=b();y(0),o(1,"div",5)(2,"ul")(3,"li")(4,"a",4),u("click",function(){m(e);let n=l();return p(n.toggleSubMenu())}),_(5,"i",6),o(6,"strong"),g(7),d(8,"translate"),s()()(),o(9,"li")(10,"a",7),u("click",function(){m(e);let n=l();return p(n.closeAll())}),_(11,"i",8),o(12,"strong"),g(13),d(14,"translate"),s()()(),o(15,"li"),v(16,_e,6,3,"ng-container",2),s(),o(17,"li")(18,"a",7),u("click",function(){m(e);let n=l();return p(n.closeAll())}),_(19,"i",9),o(20,"strong"),g(21),d(22,"translate"),s()()(),_(23,"i",10),s(),o(24,"div",11)(25,"button",12),u("click",function(){m(e);let n=l();return p(n.showCard())}),_(26,"i",13)(27,"i",14),s(),o(28,"div",15),v(29,ge,2,1,"ng-container",2),s()()(),o(30,"div",16)(31,"div",17)(32,"button",18),u("click",function(){m(e);let n=l();return p(n.isSubMenuOpen=!1)}),_(33,"i",14),s(),v(34,Se,2,2,"ul",2),s()(),v(35,be,17,15,"div",19)(36,Me,1,0,"div",20),I()}if(t&2){let e=l();
1i(),c("ngStyle",M(21,re,e.isMoneyOpen||e.isRebateOpen||e.isSubMenuOpen?"7":"2")),i(6),x(S(8,15,"bottomMenu.promotion")),i(3),c("routerLink",w(23,ae)),i(3),x(S(14,17,"accountPage.deposit")),i(3),c("ngIf",e.cmsService.cmsSetting&&e.cmsService.cmsSetting.isShowInstantRebate),i(2),c("routerLink",w(24,ce)),i(3),x(S(22,19,"bottomMenu.account")),i(4),c("ngClass",M(25,Z,e.isMoneyOpen)),i(3),c("ngClass",M(27,Z,e.isMoneyOpen))("ngStyle",M(29,se,e.isMoneyOpen?"65px":"0px")),i(),c("ngIf",e.isMoneyOpen),i(),c("ngClass",M(31,le,e.isSubMenuOpen)),i(4),c("ngIf",e.menuService.getMenuData("subMenu")),i(),c("ngIf",e.cmsService.cmsSetting&&e.cmsService.cmsSetting.isShowInstantRebate),i(),c("ngIf",e.isRebateOpen||e.isMoneyOpen||e.isSubMenuOpen)}}var Ae=(()=>{let a=class a{constructor(r,n,f,h,te,ne,ie,oe){this.globalData=r,this.loginService=n,this.cmsService=f,this.menuService=h,this.storageService=te,this.accountInfoService=ne,this.route=ie,this.router=oe,this.isMoneyOpen=!1,this.isRebateOpen=!1,this.isSubMenuOpen=!1}ngOnInit(){this.cmsService.cmsSetting||this.cmsService.initCommonCMS().catch(n=>{console.log(n)});let r=this.storageService.getCookie("LoginId");r&&(this.storageService.delCookie("LoginId"),this.loginService.loginForm[0].model=r)}trackByPosition(r,n){return n.position}openLogin(){this.loginService.isOpenLogin=!0}showCard(){this.isMoneyOpen=!this.isMoneyOpen,this.isRebateOpen=!1,this.isSubMenuOpen=!1}showRebate(){this.isRebateOpen=!this.isRebateOpen,this.isMoneyOpen=!1,this.isSubMenuOpen=!1}toggleSubMenu(){this.isSubMenuOpen=!this.isSubMenuOpen,this.isRebateOpen=!1,this.isMoneyOpen=!1}closeAll(){this.isSubMenuOpen=!1,this.isRebateOpen=!1,this.isMoneyOpen=!1}routeToSignUP(r){r.preventDefault(),this.route.queryParams.subscribe(n=>{let f=n.Id||n.ID||n.id||"",h=n.AdType||null;h!=null&&f!=null?this.router.navigate(["/Member/StreamlinedRegister"],{queryParams:{Id:f,AdType:h},queryParamsHandling:"preserve"}):this.router.navigate(["/Member/StreamlinedRegister"])})}ngOnDestroy(){this.loginService.isOpenLogin=!1}};a.\u0275fac=function(n){return new(n||a)(C(H),C(W),C(J),C(X),C(F),C(K),C(Q),C(z))},a.\u0275cmp=O({type:a,selectors:[["app-bottom-menu"]],standalone:!0,features:[T],decls:3,vars:2,consts:[["iconContent",""],["class","login-join",4,"ngIf"],[4,"ngIf"],[1,"login-join"],[3,"click"],[1,"bottom-nav",3,"ngStyle"],[1,"icon-promotion"],[3,"click","routerLink"],[1,"icon-Deposit"],[1,"icon-Account"],[1,"icon-circle_Path"],[1,"money-btn-group","two-btns"],[1,"money-btn-main",3,"click","ngClass"],[1,"icon-Dollar"],[1,"icon-Close"],[1,"money-btn-list",3,"ngClass","ngStyle"],["data-show","mobile",1,"bottom-menu-popup",3,"ngClass"],[1,"bottom-menu"],[1,"btn-close",3,"click"],["class","rebate-popup",3,"ngClass",4,"ngIf"],["class","mask menu-mask",3,"click",4,"ngIf"],[1,"icon-InstantRebate"],[4,"ngFor","ngForOf"],[1,"money-item",3,"click","routerLink","ngClass"],[3,"className"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"bottom-menu-icon"],[4,"ngIf","ngIfElse"],["class","bottom-menu-name",4,"ngIf"],[1,"bottom-menu-name"],[1,"rebate-popup",3,"ngClass"],[1,"content"],[1,"info"],[1,"title"],[1,"remain-money"],["app-debounce-click","",1,"btn-collect",3,"debounceClick"],[1,"mask","menu-mask",3,"click"]],template:function(n,f){n&1&&(v(0,pe,10,6,"div",1)(1,ye,37,33,"ng-container",2),_(2,"app-login-popup")),n&2&&(c("ngIf",!f.globalData.isLogin),i(),c("ngIf",f.globalData.isLogin))},dependencies:[j,U,N,P,A,G,Y,$,q,D,L],styles:[".show[_ngcontent-%COMP%]{z-index:6}.hidden[_ngcontent-%COMP%]{display:none}"]});let t=a;return t})();export{Ae as a};
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.