PageSourceSearch

https://dstockbot.com/1-es2015.880c7d462bc37235f404.js

js dstockbot.com collected 2026-10-02 00:29:20 UTC 155,419 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"36wu":function(n,t,e){"use strict";e.d(t,"a",function(){return o});var l=e("AytR"),i=e("8Y7J"),s=e("IheW");let o=(()=>{class n{constructor(n){this.http=n,this.baseUrl=l.a.env.apiUrl}getAllUser(){return this.http.get(this.baseUrl+"stocksignal.php/auser")}deleteUser(n){const t=JSON.stringify({id:n});return this.http.post(this.baseUrl+"stocksignal.php/duser",t)}deleteData(n){const t=JSON.stringify({type:n});return this.http.post(this.baseUrl+"stocksignal.php/ddata",t)}resetCanslimmark(){const n=JSON.stringify({});return this.http.post(this.baseUrl+"stocksignal.php/resetcanslimmark",n)}saveUser(n){const t=JSON.stringify({user:n});return this.http.post(this.baseUrl+"stocksignal.php/suser",t)}resetPass(n){const t=JSON.stringify({user:n});return this.http.post(this.baseUrl+"stocksignal.php/resetPass",t)}addNews(n){const t=JSON.stringify({news:n});return this.http.post(this.baseUrl+"stocksignal.php/addnews",t)}addHoliday(n,t){const e=JSON.stringify({holidaydate:n,holidayname:t});return this.http.post(this.baseUrl+"stocksignal.php/addholiday",e)}delNews(n){const t=JSON.stringify({news:n});return this.http.post(this.baseUrl+"stocksignal.php/delnews",t)}delHoliday(n){const t=JSON.stringify({holidaydate:n});return this.http.post(this.baseUrl+"stocksignal.php/delholiday",t)}getAllNews(n){return this.http.get(`${this.baseUrl+"stocksignal.php/getallnews"}/${n}`)}getAllNewsNoAccount(n){return this.http.get(`${this.baseUrl+"stocksignalami.php/getallnews"}/${n}`)}getInfo(){return this.http.get(this.baseUrl+"stocksignalami.php/info")}saveInfo(n,t,e){const l=JSON.stringify({type:n,id:t,value:e});return this.http.post(this.baseUrl+"stocksignal.php/saveinfo",l)}saveSetting(n,t){const e=JSON.stringify({type:n,info:t});return this.http.post(this.baseUrl+"stocksignal.php/saveinfo2",e)}searchUser(n,t){const e=JSON.stringify({newuser:n,vipuser:t});return this.http.post(this.baseUrl+"stocksignal.php/searchuser",e)}saveStockGroup(n,t){const e=JSON.stringify({stockgroup:n,prestockgroup:t});return this.http.post(this.baseUrl+"stocksignal.php/savestockgroup",e)}delStockGroup(n){const t=JSON.stringify({stockgroup:n});return this.http.post(this.baseUrl+"stocksignal.php/delstockgroup",t)}getInfoLogoBanner(){return this.http.get(this.baseUrl+"stocksignal.php/logobanner")}saveInfoLogoBanner(n){return this.http.post(this.baseUrl+"stocksignal.php/logobanner",n)}getDefaultNotiConfig(){return this.http.get(this.baseUrl+"stocksignal.php/getnotificationconfigdefault")}saveNotiConfig(n){const t=JSON.stringify(Object.assign({},n));return this.http.post(this.baseUrl+"stocksignal.php/savedefaultnotificationconfig",t)}getVipHidden(){this.getInfo().subscribe(n=>{const t=n.data[0];void 0!==t.vipHidden?localStorage.setItem("vipHidden",t.vipHidden.toString()):localStorage.setItem("vipHidden","0")})}saveTelegramNotiConfig(n){const t=JSON.stringify(Object.assign({},n));return this.http.post(this.baseUrl+"stocksignal.php/savetelegramnotificationconfig",t)}saveOpenAIConfig(n){const t=JSON.stringify(Object.assign({},n));return this.http.post(this.baseUrl+"stocksignal.php/saveopenaiconfig",t)}getOpenAIConfig(){return this.http.get(this.baseUrl+"stocksignal.php/openaiconfig")}deleteCache(n){return this.http.post(this.baseUrl+"stocksignal.php/deleteopenailog",{days:n})}getOpenAiModel(){return this.http.get(this.baseUrl+"stocksignal.php/openaimodels")}}return n.\u0275prov=i.ac({factory:function(){return new n(i.bc(s.c))},token:n,providedIn:"root"}),n})()},Bg5M:function(n,t,e){"use strict";e.d(t,"a",function(){return r}),e.d(t,"b",function(){return d});var l=e("8Y7J"),i=e("SVse"),s=e("9AJC"),o=e("G0yt"),r=(e("K6a4"),e("LO2B"),l.wb({encapsulation:2,styles:[],data:{}}));function a(n){return l.Zb(0,[(n()(),l.hb(0,null,null,0))],null,null)}function u(n){return l.Zb(0,[(n()(),l.hb(16777216,null,null,1,null,a)),l.xb(1,540672,null,0,i.r,[l.Q],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(n()(),l.hb(0,null,null,0))],function(n,t){n(t,1,0,t.parent.context.$implicit.textOrTpl)},null)}function c(n){return l.Zb(0,[(n()(),l.Wb(0,null,["",""]))],null,function(n,t){n(t,0,0,t.parent.context.$implicit.textOrTpl)})}function h(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,5,"ngb-toast",[["aria-atomic","true"],["role","alert"]],[[8,"className",0],[1,"aria-live",0],[2,"toast",null],[2,"show",null]],[[null,"hide"]],function(n,t,e){var l=!0;return"hide"===t&&(l=!1!==n.component.toastService.remove(n.context.$implicit)&&l),l},s.n,s.h)),l.xb(1,1622016,null,1,o.pb,[[8,null],o.qb],{delay:[0,"delay"],autohide:[1,"autohide"]},{hideOutput:"hide"}),l.Sb(335544320,1,{contentHeaderTpl:0}),(n()(),l.hb(16777216,null,0,1,null,u)),l.xb(4,16384,null,0,i.n,[l.Q,l.M],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),l.hb(0,[["text",2]],0,0,null,c))],function(n,t){var e=t.component;n(t,1,0,t.context.$implicit.delay||5e3,!0),n(t,4,0,e.isTemplate(t.context.$implicit),l.Mb(t,5))},function(n,t){n(t,0,0,t.context.$implicit.classname,l.Mb(t,1).ariaLive,!0,!0)})}function d(n){return l.Zb(0,[(n()(),l.hb(16777216,null,null,1,null,h)),l.xb(1,278528,null,0,i.m,[l.Q,l.M,l.s],{ngForOf:[0,"ngForOf"]},null)],function(n,t){n(t,1,0,t.component.toastService.toasts)},null)}},K6a4:function(n,t,e){"use strict";e.d(t,"a",function(){return i});var l=e("8Y7J");e("LO2B");class i{constructor(n,t){this.chRef=n,this.toastService=t}ngOnInit(){let n=this;this.processId=setInterval(()=>{n.toastService.toasts.length>0&&n.chRef.detectChanges()},1e3)}ngOnDestroy(){clearInterval(this.processId)}isTemplate(n){return n.textOrTpl instanceof l.M}}},LO2B:function(n,t,e){"use strict";e.d(t,"a",function(){return i});var l=e("8Y7J");let i=(()=>{class n{constructor(){this.toasts=[]}show(n,t={}){this.toasts.push(Object.assign({textOrTpl:n},t))}remove(n){this.toasts=this.toasts.filter(t=>t!==n)}}return n.\u0275prov=l.ac({factory:function(){return new n},token:n,providedIn:"root"}),n})()},Na5r:function(n,t,e){"use strict";e.d(t,"a",function(){return r});var l=e("AytR"),i=e("eC5B"),s=e.n(i),o=e("8Y7J");let r=(()=>{class n{constructor(){this.pusher=null}getPusher(){return this.pusher||(console.log("init pusher"),this.pusher=new s.a(l.a.pusher.key,{cluster:l.a.pusher.cluster,channelAuthorization:{endpoint:l.a.pusher.APP_PUSHER_AUTH,transport:"jsonp"}})),this.pusher}}return n.\u0275prov=o.ac({factory:function(){return new n},token:n,providedIn:"root"}),n})()},ReHY:function(n,t,e){"use strict";e("jvcL"),e("uYEL")},TOvz:function(n,t,e){"use strict";e.d(t,"a",function(){return cn}),e.d(t,"b",function(){return pn});var l=e("8Y7J"),i=e("iInd"),s=e("SVse"),o=e("G0yt"),r=e("fNgX"),a=e("Nv++"),u=e("cUpR"),c=e("9qWr"),h=e("LO2B");class d{constructor(n,t,e){this.authService=n,this.router=t,this.ToastService=e,this.level=3,this.partnercode="",this.islogin=!1}ngOnInit(){if(this.authService.isLoggedIn()){const n=this.authService.getUserInfo();this.username=n.username,this.level=Number(n.level),this.partnercode=void 0===n.partnercode?"":n.partnercode,this.islogin=!0}}logoutAction(){const n=this.authService.getUserInfo();this.authService.logout(n).subscribe(n=>{"success"===n.status?(this.ToastService.show("\u0110\u0103ng xu\u1ea5t th\xe0nh c\xf4ng",{classname:"bg-success text-light",delay:3e3}),this.authService.setlogout(),this.router.navigateByUrl("auth/login")):this.ToastService.show("\u0110\u0103ng xu\u1ea5t th\u1ea5t b\u1ea1i",{classname:"bg-danger text-light",delay:3e3})})}}var p=l.wb({encapsulation:0,styles:[["#userDropdown[_ngcontent-%COMP%]{cursor:pointer}div[_ngcontent-%COMP%]{background-color:#8a2be2}fa-icon[_ngcontent-%COMP%]{background-color:#c01d24;margin-left:15px}.dropdown-menu-right[_ngcontent-%COMP%]{background-color:#fff}.dropdown-item[_ngcontent-%COMP%]:active, .dropdown-menu[_ngcontent-%COMP%], .dropdown-user-
1details-name[_ngcontent-%COMP%]{background-color:#c01d24}.dropdown-item[_ngcontent-%COMP%]:active, .dropdown-item[_ngcontent-%COMP%]:hover{color:#000!important}"]],data:{}});function g(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,2,"a",[["class","dropdown-item"],["routerLink","/auth/register"],["style","color: white"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,t,e){var i=!0;return"click"===t&&(i=!1!==l.Mb(n,1).onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)&&i),i},null,null)),l.xb(1,671744,null,0,i.n,[i.m,i.a,s.k],{routerLink:[0,"routerLink"]},null),(n()(),l.Wb(-1,null,["\u0110\u0103ng k\xfd"]))],function(n,t){n(t,1,0,"/auth/register")},function(n,t){n(t,0,0,l.Mb(t,1).target,l.Mb(t,1).href)})}function b(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,2,"a",[["class","dropdown-item"],["routerLink","/setting-user"],["style","color: white"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,t,e){var i=!0;return"click"===t&&(i=!1!==l.Mb(n,1).onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)&&i),i},null,null)),l.xb(1,671744,null,0,i.n,[i.m,i.a,s.k],{routerLink:[0,"routerLink"]},null),(n()(),l.Wb(-1,null,["Th\xf4ng tin"]))],function(n,t){n(t,1,0,"/setting-user")},function(n,t){n(t,0,0,l.Mb(t,1).target,l.Mb(t,1).href)})}function m(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,2,"a",[["class","dropdown-item"],["routerLink","/setting-admin"],["style","color: white"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,t,e){var i=!0;return"click"===t&&(i=!1!==l.Mb(n,1).onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)&&i),i},null,null)),l.xb(1,671744,null,0,i.n,[i.m,i.a,s.k],{routerLink:[0,"routerLink"]},null),(n()(),l.Wb(-1,null,["Thi\u1ebft l\u1eadp "]))],function(n,t){n(t,1,0,"/setting-admin")},function(n,t){n(t,0,0,l.Mb(t,1).target,l.Mb(t,1).href)})}function v(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,1,"a",[["class","dropdown-item"],["style","color: white"]],null,[[null,"click"]],function(n,t,e){var l=!0;return"click"===t&&(l=!1!==n.component.logoutAction()&&l),l},null,null)),(n()(),l.Wb(-1,null,["\u0110\u0103ng xu\u1ea5t"]))],null,null)}function f(n){return l.Zb(2,[(n()(),l.yb(0,0,null,null,24,"li",[["class","nav-item dropdown dropdown-user no-caret"],["display","dynamic"],["ngbDropdown",""],["placement","bottom-right"],["style","color:#c01d24"]],[[2,"show",null]],null,null,null,null)),l.xb(1,1720320,null,2,o.v,[l.h,o.x,s.d,l.z,l.l,l.E,[2,o.N]],{placement:[0,"placement"],display:[1,"display"]},null),l.Sb(603979776,1,{_menu:0}),l.Sb(603979776,2,{_anchor:0}),(n()(),l.yb(4,0,null,null,6,"a",[["aria-expanded","false"],["aria-haspopup","true"],["class","nav-link dropdown-toggle dropdown-toggle"],["data-cy","userMenu"],["id","userDropdown"],["ngbDropdownToggle",""],["role","button"],["style","color:#37485a"]],[[1,"aria-expanded",0]],[[null,"click"],[null,"keydown.ArrowUp"],[null,"keydown.ArrowDown"],[null,"keydown.Home"],[null,"keydown.End"],[null,"keydown.Tab"],[null,"keydown.Shift.Tab"]],function(n,t,e){var i=!0;return"click"===t&&(i=!1!==l.Mb(n,5).dropdown.toggle()&&i),"keydown.ArrowUp"===t&&(i=!1!==l.Mb(n,5).dropdown.onKeyDown(e)&&i),"keydown.ArrowDown"===t&&(i=!1!==l.Mb(n,5).dropdown.onKeyDown(e)&&i),"keydown.Home"===t&&(i=!1!==l.Mb(n,5).dropdown.onKeyDown(e)&&i),"keydown.End"===t&&(i=!1!==l.Mb(n,5).dropdown.onKeyDown(e)&&i),"keydown.Tab"===t&&(i=!1!==l.Mb(n,5).dropdown.onKeyDown(e)&&i),"keydown.Shift.Tab"===t&&(i=!1!==l.Mb(n,5).dropdown.onKeyDown(e)&&i),i},null,null)),l.xb(5,16384,null,0,o.A,[o.v,l.l],null,null),l.Rb(2048,[[2,4]],o.w,null,[o.A]),(n()(),l.yb(7,0,null,null,2,"fa-icon",[["class","ng-fa-icon"],["style","background-color: transparent"]],[[1,"title",0],[8,"innerHTML",1]],null,null,r.b,r.a)),l.xb(8,573440,null,0,a.c,[u.b,a.a,a.d,[2,a.i]],{icon:[0,"icon"]},null),l.Nb(9,2),(n()(),l.Wb(10,null,[" ",""])),(n()(),l.yb(11,0,null,null,13,"div",[["aria-labelledby","dropdownUser"],["class","dropdown-menu dropdown-menu-right"],["ngbDropdownMenu",""]],[[2,"dropdown-menu",null],[2,"show",null],[1,"x-placement",0]],[[null,"keydown.ArrowUp"],[null,"keydown.ArrowDown"],[null,"keydown.Home"],[null,"keydown.End"],[null,"keydown.Enter"],[null,"keydown.Space"],[null,"keydown.Tab"],[null,"keydown.Shift.Tab"]],function(n,t,e){var i=!0;return"keydown.ArrowUp"===t&&(i=!1!==l.Mb(n,12).dropdown.onKeyDown(e)&&i),"keydown.ArrowDown"===t&&(i=!1!==l.Mb(n,12).dropdown.onKeyDown(e)&&i),"keydown.Home"===t&&(i=!1!==l.Mb(n,12).dropdown.onKeyDown(e)&&i),"keydown.End"===t&&(i=!1!==l.Mb(n,12).dropdown.onKeyDown(e)&&i),"keydown.Enter"===t&&(i=!1!==l.Mb(n,12).dropdown.onKeyDown(e)&&i),"keydown.Space"===t&&(i=!1!==l.Mb(n,12).dropdown.onKeyDown(e)&&i),"keydown.Tab"===t&&(i=!1!==l.Mb(n,12).dropdown.onKeyDown(e)&&i),"keydown.Shift.Tab"===t&&(i=!1!==l.Mb(n,12).dropdown.onKeyDown(e)&&i),i},null,null)),l.xb(12,16384,[[1,4]],1,o.y,[o.v,l.l],null,null),l.Sb(603979776,3,{menuItems:1}),(n()(),l.yb(14,0,null,null,1,"h6",[["class","dropdown-header"],["style","padding: 0; text-align: center;color: white"]],null,null,null,null,null)),(n()(),l.Wb(15,null,[" "," "])),(n()(),l.yb(16,0,null,null,0,"div",[["class","dropdown-divider"]],null,null,null,null,null)),(n()(),l.hb(16777216,null,null,1,null,g)),l.xb(18,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null),(n()(),l.hb(16777216,null,null,1,null,b)),l.xb(20,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null),(n()(),l.hb(16777216,null,null,1,null,m)),l.xb(22,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null),(n()(),l.hb(16777216,null,null,1,null,v)),l.xb(24,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null)],function(n,t){var e=t.component;n(t,1,0,"bottom-right","dynamic");var l=n(t,9,0,"fas","user");
1n(t,8,0,l),n(t,18,0,!e.islogin),n(t,20,0,e.islogin),n(t,22,0,1===e.level||e.partnercode),n(t,24,0,e.islogin)},function(n,t){var e=t.component;n(t,0,0,l.Mb(t,1).isOpen()),n(t,4,0,l.Mb(t,5).dropdown.isOpen()),n(t,7,0,l.Mb(t,8).title,l.Mb(t,8).renderedIconHTML),n(t,10,0,e.username),n(t,11,0,!0,l.Mb(t,12).dropdown.isOpen(),l.Mb(t,12).placement),n(t,15,0,e.username)})}e("ReHY");var y=e("vDyb"),k=e("aB6R"),w=e("AytR"),_=e("Na5r"),x=e("36wu");class C{constructor(n,t,e,l,i,s,o,r,a){this.ngZone=n,this.navigationService=t,this.messagingService=e,this.newsservice=l,this.modalService=i,this.toastService=s,this.cd=o,this.pusherService=r,this.adminService=a,this.lstMsg=[],this.lstMsgAll=[],this.cntb="",this.isLogin=!0,this.isPermission=!0,this.isOpen=!1,this.isOpenFull=!1,this.unreadCount=0,this.logo="",this.vipHidden=localStorage.getItem("vipHidden")?parseInt(localStorage.getItem("vipHidden")||"0"):0,this.imageUrl=w.a.env.apiImage}ngOnInit(){this.adminService.getVipHidden();const n=document.getElementById("idbadge");if(null===n)return;const t=document.getElementById("msgStock");null!==t&&(this.newsservice.getListMsgNoRead("5").subscribe(e=>{if("OK"===e.status){t.style.display="inline",this.unreadCount=Number(e.total);let l="";l=this.unreadCount>9?"9+":e.total,this.unreadCount<=0&&(l=""),null!=n&&(n.innerText=l),this.lstMsg=e.data}else"NOPERMISSION"===e.status?this.isPermission=!1:(t.style.display="none",this.isLogin=!1);this.isLogin&&this.authenticateAndSubscribe()}),this.getLogoBanner())}authenticateAndSubscribe(){this.pusher=this.pusherService.getPusher(),this.pusher.subscribe("notification").bind("send-message",n=>{console.log("time: ",new Date(Date.now()),"; topic: notification; data: ",n),this.onCatchNewMsgSendedToEvent()}).bind("pusher:subscription_error",function(n){console.log("subscription_error",n)})}onCatchNewMsgSendedToEvent(){const n=document.getElementById("idbadge");if(null===n)return;const t=document.getElementById("msgStock");null!==t&&(this.isOpenFull?this.newsservice.getListMsgNoRead("0").subscribe(n=>{this.lstMsgAll=n.data,this.cd.detectChanges()}):this.newsservice.getListMsgNoRead("5").subscribe(e=>{if("OK"===e.status){t.style.display="inline",this.unreadCount=Number(e.total);let l="";l=this.unreadCount>9?"9+":e.total,this.unreadCount<=0&&(l=""),null!=n&&(n.innerText=l),this.lstMsg=e.data,this.cd.detectChanges()}else"NOPERMISSION"===e.status?this.isPermission=!1:(t.style.display="none",this.isLogin=!1)}))}clickMessage(n){n.link===window.location.href&&window.location.reload()}handleClickBell(n){this.isPermission?this.isOpen=!this.isOpen:this.vipHidden||this.modalService.open(n,{size:"upgrade-vip",scrollable:!0,backdrop:"static"}),this.requestPermission(),this.updateCNTMessage()}updateMessage(n){this.newsservice.updateReadMessage(n.id).subscribe(t=>{"OK"!==t.status?this.toastService.show("\u0110\xe3 c\xf3 l\u1ed7i x\u1ea3y ra!",{classname:"bg-danger text-light",delay:2e3}):window.open(n.link,"_self")})}toggleSideNav(){this.navigationService.toggleSideNav()}requestPermission(){this.messagingService.requestPermission()}updateCNTMessage(){const n=document.getElementById("idbadge");this.newsservice.updateCNTMessage().subscribe(t=>{null!=n&&(n.innerText="")})}showAllMsg(n){n.stopPropagation(),this.newsservice.getListMsgNoRead("0").subscribe(n=>{this.lstMsgAll=n.data,this.isOpenFull=!0,this.cd.detectChanges()})}onClick(n){var t,e;const l=null===(t=this.shopFocus)||void 0===t?void 0:t.nativeElement.contains(n),i=null===(e=this.viewAllFocus)||void 0===e?void 0:e.nativeElement.contains(n);l||i||(this.isOpen=!1,this.isOpenFull=!1)}ngOnDestroy(){this.pusher&&(this.pusher.unbind(),this.pusher.unsubscribe("notification"))}getLogoBanner(){this.adminService.getInfoLogoBanner().subscribe(n=>{"OK"===n.status&&n.data&&n.data.logo&&(this.logo=this.renderImage(n.data.logo),this.cd.detectChanges())})}renderImage(n){return this.imageUrl+n}}var S=e("jvcL"),M=l.wb({encapsulation:0,styles:[[".menu-trigger[_ngcontent-%COMP%]{text-align:center;cursor:pointer;background-color:#456894}.menu[_ngcontent-%COMP%]{position:absolute;overflow:hidden;background:#fff;top:55px;z-index:1000000!important;border-radius:.25rem;width:300px;max-width:300px;border:2px solid #fff;filter:drop-shadow(0 4px 3px rgba(0,0,0,.07)) drop-shadow(0 2px 2px rgba(0,0,0,.06))}@media only screen and (max-width:600px){.menu[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;left:0;right:0}}@media only screen and (min-width:601px){.menu[_ngcontent-%COMP%]{left:249px}}.full-menu[_ngcontent-%COMP%]{border-radius:.25rem;position:absolute;overflow:hidden;z-index:1000000!important;border:2px solid #fff;background:#fff;filter:drop-shadow(0 4px 3px rgba(0,0,0,.07)) drop-shadow(0 2px 2px rgba(0,0,0,.06))}@media screen and (min-width:1000px){.full-menu[_ngcontent-%COMP%]{right:24px;max-height:90vh!important;left:249px;top:55px}}@media screen and (max-width:1000px){.full-menu[_ngcontent-%COMP%]{top:0;background:#fff;right:10px;left:10px;
1max-height:calc(100vh - 10px)!important}}.menu-item[_ngcontent-%COMP%]{border-bottom:1px solid #dcdcdc;max-width:300px;width:100%}.mitem[_ngcontent-%COMP%]:hover{background:#f2f2f2!important}.mitem[_ngcontent-%COMP%]:hover, .mitem[_ngcontent-%COMP%]:hover   span[_ngcontent-%COMP%]{color:#000!important}.navbar-brand[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;max-height:40px}"]],data:{animation:[{type:7,name:"dropDownMenu",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{height:0,overflow:"hidden"},offset:null},{type:11,selector:".menu-item",animation:[{type:6,styles:{opacity:0,transform:"translateY(-50px)"},offset:null}],options:null},{type:2,steps:[{type:4,styles:{type:6,styles:{height:"*"},offset:null},timings:"200ms"},{type:11,selector:".menu-item",animation:[{type:12,timings:-50,animation:[{type:4,styles:{type:6,styles:{opacity:1,transform:"none"},offset:null},timings:"400ms ease"}]}],options:null}],options:null}],options:null},{type:1,expr:":leave",animation:[{type:6,styles:{height:"*",overflow:"hidden"},offset:null},{type:11,selector:".menu-item",animation:[{type:6,styles:{opacity:1,transform:"none"},offset:null}],options:null},{type:2,steps:[{type:11,selector:".menu-item",animation:[{type:12,timings:50,animation:[{type:4,styles:{type:6,styles:{opacity:0,transform:"translateY(-50px)"},offset:null},timings:"400ms ease"}]}],options:null},{type:4,styles:{type:6,styles:{height:0},offset:null},timings:"200ms"}],options:null}],options:null}],options:{}}]}});function O(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,0,"div",[["style","width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2); position: fixed;z-index: 100000; top: 0px; left:0"]],null,null,null,null,null))],null,null)}function P(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,2,"a",[["class","navbar-brand"],["routerLink","/dashboard"],["style","color: #c01d24!important;"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,t,e){var i=!0;return"click"===t&&(i=!1!==l.Mb(n,1).onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)&&i),i},null,null)),l.xb(1,671744,null,0,i.n,[i.m,i.a,s.k],{routerLink:[0,"routerLink"]},null),(n()(),l.yb(2,0,null,null,0,"img",[["alt","Robot ch\u1ee9ng kho\xe1n"]],[[8,"src",4]],null,null,null,null))],function(n,t){n(t,1,0,"/dashboard")},function(n,t){var e=t.component;n(t,0,0,l.Mb(t,1).target,l.Mb(t,1).href),n(t,2,0,e.logo)})}function T(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,9,"div",[["class","mitem"],["style","display: flex; background-color: white;padding: 10px;"]],null,[[null,"click"]],function(n,t,e){var l=!0;return"click"===t&&(l=!1!==n.component.updateMessage(n.parent.context.$implicit)&&l),l},null,null)),(n()(),l.yb(1,0,null,null,0,"i",[["class","icon_message"],["style","background-color: transparent"]],null,null,null,null,null)),(n()(),l.yb(2,0,null,null,7,"div",[["class","col-11 ml-1 "],["style","color: black;"]],null,null,null,null,null)),(n()(),l.yb(3,0,null,null,1,"div",[["class"," font-weight-bold"],["style","color: black;"]],null,null,null,null,null)),(n()(),l.Wb(4,null,["",""])),(n()(),l.yb(5,0,null,null,2,"a",[["style","color: black;"]],[[8,"href",4]],[[null,"click"]],function(n,t,e){var l=!0;return"click"===t&&(l=!1!==n.component.clickMessage(n.parent.context.$implicit)&&l),l},null,null)),(n()(),l.yb(6,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),l.Wb(7,null,["",""])),(n()(),l.yb(8,0,null,null,1,"div",[["class","small "],["style","color: black;"]],null,null,null,null,null)),(n()(),l.Wb(9,null,["",""]))],null,function(n,t){n(t,4,0,t.parent.context.$implicit.stockcode),n(t,5,0,l.Fb(1,"",t.parent.context.$implicit.link,"")),n(t,7,0,t.parent.context.$implicit.msg),n(t,9,0,t.parent.context.$implicit.timestamp)})}function I(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,9,"div",[["class","mitem"],["style","display: flex; background-color: #FDF5F5;padding: 10px"]],null,[[null,"click"]],function(n,t,e){var l=!0;return"click"===t&&(l=!1!==n.component.updateMessage(n.parent.context.$implicit)&&l),l},null,null)),(n()(),l.yb(1,0,null,null,0,"i",[["class","icon_message"],["style","background-color: transparent"]],null,null,null,null,null)),(n()(),l.yb(2,0,null,null,7,"div",[["class","col-11 ml-1 "],["style","color: black;"]],null,null,null,null,null)),(n()(),l.yb(3,0,null,null,1,"div",[["class"," font-weight-bold"],["style","color: black;"]],null,null,null,null,null)),(n()(),l.Wb(4,null,["",""])),(n()(),l.yb(5,0,null,null,2,"a",[["style","color: black;"]],[[8,"href",4]],[[null,"click"]],function(n,t,e){var l=!0;return"click"===t&&(l=!1!==n.component.clickMessage(n.parent.context.$implicit)&&l),l}
1,null,null)),(n()(),l.yb(6,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),l.Wb(7,null,["",""])),(n()(),l.yb(8,0,null,null,1,"div",[["class","small "],["style","color: black;"]],null,null,null,null,null)),(n()(),l.Wb(9,null,["",""]))],null,function(n,t){n(t,4,0,t.parent.context.$implicit.stockcode),n(t,5,0,l.Fb(1,"",t.parent.context.$implicit.link,"")),n(t,7,0,t.parent.context.$implicit.msg),n(t,9,0,t.parent.context.$implicit.timestamp)})}function L(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,4,"div",[["class"," menu-item mitem"]],null,null,null,null,null)),(n()(),l.hb(16777216,null,null,1,null,T)),l.xb(2,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null),(n()(),l.hb(16777216,null,null,1,null,I)),l.xb(4,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null)],function(n,t){n(t,2,0,"1"==t.context.$implicit.isread),n(t,4,0,"0"==t.context.$implicit.isread)},null)}function N(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,7,"div",[["style","width: 100%; height: 100%;"]],null,null,null,null,null)),(n()(),l.yb(1,0,null,null,1,"div",[["class","menu-item text-center"],["style","font-weight: bold;\n         color: black!important; padding-top: 10px;padding-bottom: 10px;\n         font-size: 18px"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Th\xf4ng b\xe1o"])),(n()(),l.hb(16777216,null,null,1,null,L)),l.xb(4,278528,null,0,s.m,[l.Q,l.M,l.s],{ngForOf:[0,"ngForOf"]},null),(n()(),l.yb(5,0,[[2,0],["viewAllFocus",1]],null,2,"div",[["class"," text-center mitem"],["style","cursor: pointer;color: black!important; padding-top: 10px;padding-bottom: 10px"]],null,[[null,"click"]],function(n,t,e){var l=!0;return"click"===t&&(l=!1!==n.component.showAllMsg(e)&&l),l},null,null)),(n()(),l.yb(6,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Xem t\u1ea5t c\u1ea3"]))],function(n,t){n(t,4,0,t.component.lstMsg)},null)}function A(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,10,"div",[["class","mitem"],["style","display: flex; justify-content: center; flex-wrap: wrap;color: black"]],[[4,"background-color",null]],[[null,"click"]],function(n,t,e){var l=!0;return"click"===t&&(l=!1!==n.component.updateMessage(n.context.$implicit)&&l),l},null,null)),(n()(),l.yb(1,0,null,null,0,"i",[["class","icon_message"],["style","margin-top: 10px;"]],null,null,null,null,null)),(n()(),l.yb(2,0,null,null,7,"div",[["class","col-11 ml-1"],["style","padding: 10px"]],null,null,null,null,null)),(n()(),l.yb(3,0,null,null,1,"div",[["class"," font-weight-bold"]],null,null,null,null,null)),(n()(),l.Wb(4,null,["",""])),(n()(),l.yb(5,0,null,null,2,"a",[["style","color: black!important;"]],[[8,"href",4]],[[null,"click"]],function(n,t,e){var l=!0;return"click"===t&&(l=!1!==n.component.clickMessage(n.context.$implicit)&&l),l},null,null)),(n()(),l.yb(6,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),l.Wb(7,null,["",""])),(n()(),l.yb(8,0,null,null,1,"div",[["class"," "]],null,null,null,null,null)),(n()(),l.Wb(9,null,["",""])),(n()(),l.yb(10,0,null,null,0,"hr",[["style","margin: 0; height:1px; width:100%; border-width:0; background-color:#f2f2f2"]],null,null,null,null,null))],null,function(n,t){n(t,0,0,"0"==t.context.$implicit.isread?"#FDF5F5":"#ffffff"),n(t,4,0,t.context.$implicit.stockcode),n(t,5,0,l.Fb(1,"",t.context.$implicit.link,"")),n(t,7,0,t.context.$implicit.msg),n(t,9,0,t.context.$implicit.timestamp)})}function E(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,13,"div",[["style","width: 100%; height: 100%;"]],null,null,null,null,null)),(n()(),l.yb(1,0,null,null,9,"div",[["style","display: flex; align-items: center; justify-content: space-between; padding: 10px;"]],null,null,null,null,null)),(n()(),l.yb(2,0,null,null,4,"div",[["style","display: flex; justify-content: center; width: 100%;"]],null,null,null,null,null)),(n()(),l.yb(3,0,null,null,0,"i",[["class","icon_message"],["style","visibility: hidden;margin-top: 10px;"]],null,null,null,null,null)),(n()(),l.yb(4,0,null,null,2,"div",[["class","col-11 ml-1"]],null,null,null,null,null)),(n()(),l.yb(5,0,null,null,1,"div",[["style","font-weight: bold;\n                     color: black!important;\n                     font-size: 18px"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Danh s\xe1ch th\xf4ng b\xe1o"])),(n()(),l.yb(7,0,null,null,3,"div",[],null,
1null,null,null,null)),(n()(),l.yb(8,0,null,null,2,"div",[["class","text-right"]],null,null,null,null,null)),(n()(),l.yb(9,0,null,null,1,"button",[["class","btn btn-primary ml-3"],["style","background-color: #c01d24; border-color: #c01d24"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;return"click"===t&&(i.isOpenFull=!1,l=0!=(i.isOpen=!1)&&l),l},null,null)),(n()(),l.Wb(-1,null,[" \u0110\xf3ng "])),(n()(),l.yb(11,0,null,null,2,"div",[["style","width: 100%; max-height: calc(100vh - 60px) !important; overflow-y: auto;"]],null,null,null,null,null)),(n()(),l.hb(16777216,null,null,1,null,A)),l.xb(13,278528,null,0,s.m,[l.Q,l.M,l.s],{ngForOf:[0,"ngForOf"]},null)],function(n,t){n(t,13,0,t.component.lstMsgAll)},null)}function R(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,5,"div",[],[[24,"@dropDownMenu",0]],null,null,null,null)),l.xb(1,278528,null,0,s.l,[l.s,l.t,l.l,l.E],{ngClass:[0,"ngClass"]},null),l.Pb(2,{menu:0,"full-menu":1}),(n()(),l.hb(16777216,null,null,1,null,N)),l.xb(4,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),l.hb(0,[["fullMenu",2]],null,0,null,E))],function(n,t){var e=t.component,i=n(t,2,0,!1===e.isOpenFull,!0===e.isOpenFull);n(t,1,0,i),n(t,4,0,!e.isOpenFull,l.Mb(t,5))},function(n,t){n(t,0,0,void 0)})}function H(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,18,"div",[["class","modal-body"],["style","padding: 0px!important"]],null,null,null,null,null)),(n()(),l.yb(1,0,null,null,1,"div",[["style","position: absolute; top: 25px; right: 25px"]],null,null,null,null,null)),(n()(),l.yb(2,0,null,null,0,"img",[["height","30px"],["src","/assets/img/close.png"],["style","cursor: pointer"],["width","30px"]],null,[[null,"click"]],function(n,t,e){var l=!0;return"click"===t&&(l=!1!==n.context.$implicit.dismiss("Cross click")&&l),l},null,null)),(n()(),l.yb(3,0,null,null,15,"div",[["style","display: flex; align-items: center; flex-direction: column; background: #c01d24; padding: 20px"]],null,null,null,null,null)),(n()(),l.yb(4,0,null,null,0,"img",[["src","/assets/img/diamond.png"],["style","transform: translateX(22px);margin-top: 35px"]],null,null,null,null,null)),(n()(),l.yb(5,0,null,null,7,"div",[["style"," text-align: center; margin-bottom: 30px; margin-top: -15px"]],null,null,null,null,null)),(n()(),l.yb(6,0,null,null,1,"span",[["style","color: white; font-size: 20px;font-weight: 600;font-family: 'nodudo-Light';"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,[" B\u1ea1n c\u1ea7n n\xe2ng c\u1ea5p "])),(n()(),l.yb(8,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),l.yb(9,0,null,null,3,"span",[["style","color: white; font-size: 20px;font-weight: 600;font-family: 'nodudo-Light'"]],null,null,null,null,null)),(n()(),l.yb(10,0,null,null,1,"span",[["style","color: #FFC525;  font-family: 'nodudo-Bold';"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,["t\xe0i kho\u1ea3n VIP"])),(n()(),l.Wb(-1,null,[" \u0111\u1ec3 xem \u0111\u01b0\u1ee3c "])),(n()(),l.yb(13,0,null,null,3,"a",[["class","btn btn-action-register-user text-center flex items-center"],["rel","noreferrer noopener"],["routerLink","/nangcaptaikhoan"],["style","display: flex; align-items: center; justify-content: center; "],["target","_blank"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,t,e){var i=!0;return"click"===t&&(i=!1!==l.Mb(n,14).onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)&&i),i},null,null)),l.xb(14,671744,null,0,i.n,[i.m,i.a,s.k],{target:[0,"target"],routerLink:[1,"routerLink"]},null),(n()(),l.yb(15,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),l.Wb(-1,null,["N\xe2ng c\u1ea5p"])),(n()(),l.yb(17,0,null,null,1,"span",[["style","cursor: pointer; text-decoration: underline; color: #B9BCBE; font-size: 12px; margin-top: -10px;\n                "]],null,[[null,"click"]],function(n,t,e){var l=!0;return"click"===t&&(l=!1!==n.context.$implicit.dismiss("Cross click")&&l),l},null,null)),(n()(),l.Wb(-1,null,["B\u1ecf qua"]))],function(n,t){n(t,14,0,"_blank","/nangcaptaikhoan")},function(n,t){n(t,13,0,l.Mb(t,14).target,l.Mb(t,14).href)})}function D(n){return l.Zb(0,[l.Sb(671088640,1,{shopFocus:0}),l.Sb(671088640,2,{viewAllFocus:0}),(n()(),l.yb(2,0,null,null,20,"nav",[["class","sb-topnav navbar navbar-expand navbar-dark bg-light"],["style","align-items: start ;z-index: 1050;color:#c01d24 "]],null,null,null,null,null)),l.xb(3,16384,null,0,o.N,[],null,
1null),(n()(),l.hb(16777216,null,null,1,null,O)),l.xb(5,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null),(n()(),l.hb(16777216,null,null,1,null,P)),l.xb(7,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null),(n()(),l.yb(8,0,null,null,3,"button",[["class","btn btn-link btn-sm order-1 order-lg-0"],["data-cy","topNavToggleSideNav"],["id","sidebarToggle"],["style","color: #37485a!important;margin-left: 10px"]],null,[[null,"click"]],function(n,t,e){var l=!0;return"click"===t&&(l=!1!==n.component.toggleSideNav()&&l),l},null,null)),(n()(),l.yb(9,0,null,null,2,"fa-icon",[["class","ng-fa-icon"]],[[1,"title",0],[8,"innerHTML",1]],null,null,r.b,r.a)),l.xb(10,573440,null,0,a.c,[u.b,a.a,a.d,[2,a.i]],{icon:[0,"icon"]},null),l.Nb(11,2),(n()(),l.yb(12,0,[[1,0],["shopFocus",1]],null,3,"div",[["id","msgStock"]],null,null,null,null,null)),(n()(),l.yb(13,0,null,null,2,"a",[["aria-expanded","false"],["aria-haspopup","true"],["class","nav-link dropdown-toggle "],["role","button"],["style",""]],null,[[null,"click"]],function(n,t,e){var i=!0;return"click"===t&&(i=!1!==n.component.handleClickBell(l.Mb(n,23))&&i),i},null,null)),(n()(),l.yb(14,0,null,null,0,"i",[["class","icon_message"],["style","background-color: transparent"]],null,null,null,null,null)),(n()(),l.yb(15,0,null,null,0,"label",[["class","badge badge-danger badge-counter"],["id","idbadge"],["style","border-radius: 0.5rem"]],null,null,null,null,null)),(n()(),l.hb(16777216,null,null,1,null,R)),l.xb(17,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null),(n()(),l.yb(18,0,null,null,1,"form",[["class","d-none d-md-inline-block form-inline ml-auto mr-0 mr-md-3 my-2 my-md-0"]],null,null,null,null,null)),(n()(),l.yb(19,0,null,null,0,"div",[["class","input-group"]],null,null,null,null,null)),(n()(),l.yb(20,0,null,null,2,"ul",[["class","navbar-nav ml-auto ml-md-0"]],null,null,null,null,null)),(n()(),l.yb(21,0,null,null,1,"sb-top-nav-user",[],null,null,null,f,p)),l.xb(22,114688,null,0,d,[c.a,i.m,h.a],null,null),(n()(),l.hb(0,[["dFormRegisterVip",2]],null,0,null,H))],function(n,t){var e=t.component;n(t,5,0,e.isOpen),n(t,7,0,""!==e.logo);var l=n(t,11,0,"fas","bars");n(t,10,0,l),n(t,17,0,e.isOpen),n(t,22,0)},function(n,t){n(t,9,0,l.Mb(t,10).title,l.Mb(t,10).renderedIconHTML)})}let U=(()=>{class n{constructor(){this.installPrompt=null}bindEventListener(){window.addEventListener("beforeinstallprompt",n=>{n.preventDefault(),this.installPrompt=n})}getInstallPrompt(){return this.installPrompt}setInstallPrompt(n){this.installPrompt=n}installPwa(){return this.installPrompt?this.installPrompt.prompt():""}}return n.\u0275prov=l.ac({factory:function(){return new n},token:n,providedIn:"root"}),n})();class B{constructor(n,t,e,i,s,o){this.navigationService=n,this.router=t,this.toastService=e,this.modalService=i,this.cd=s,this.installPwaService=o,this.lstOuput=new l.n,this.btnInstall=null,this.expanded=!1,this.isPc=window.innerWidth>1e3,this.isInApp=!1,this.isActive=!1}ngOnInit(){const n=this.navigationService.currentURL$();let t="browser tab";window.matchMedia("(display-mode: standalone)").matches&&(t="standalone"),"standalone"===t&&(this.isInApp=!0),this.sideNavItem.link?this.isActive=n===this.sideNavItem.link:(this.isActive=!1,"/khuyennghi/0"===n&&"1"===this.sideNavItem.iscal&&(this.isActive=!0),"/madangdong/1"===n&&"2"===this.sideNavItem.iscal&&(this.isActive=!0)),this.isActive&&(this.expanded=!0),this.sideNavItem.submenu&&this.sideNavItem.submenu.forEach(t=>{t.link===n?this.expanded=!0:t.submenu&&t.submenu.forEach(t=>{t.link===n&&(this.expanded=!0)})})}ngAfterViewChecked(){this.btnInstall=document.querySelector("#install"),this.installPwaService.bindEventListener(),window.addEventListener("appinstalled",()=>{this.disableInAppInstallPrompt()})}touchMenu(){const n=this.navigationService.currentURL$();"1"===this.sideNavItem.iscal&&"/khuyennghi/0"!==n&&(this.router.navigateByUrl("/khuyennghi/0"),this.lstOuput.emit("0"),window.innerWidth<768&&this.navigationService.toggleSideNav()),"2"===this.sideNavItem.iscal&&"/madangdong/1"!==n&&(this.router.navigateByUrl("/madangdong/1"),this.lstOuput.emit("1"),window.innerWidth<768&&this.navigationService.toggleSideNav()),this.expanded=!this.expanded,this.navigationService.setStatus(this.expanded),localStorage.setItem("flag",String(this.expanded)),this.sideNavItem.submenu||window.innerWidth<768&&this.navigationService.toggleSideNav()}installPwa(){return n=this,e=function*(){const n=this.installPwaService.installPwa();n?"accepted"===(null==n?void 0:n.outcome)&&this.disableInAppInstallPrompt():this.modalService.open(this.dFormConfirmPwa,{size:"Windows"===this.detectOS()?"400px2-window":"400px2-macos",scrollable:!0,backdrop:"static"})},new((t=void 0)||(t=Promise))(function(l,i){function s(n){try{r(e.next(n))}catch(t){i(t)}}function o(n){try{r(e.throw(n))}catch(t){i(t)}}function r(n){var e;n.done?l(n.value):(e=n.value,e instanceof t?e:new t(function(n){n(e)})).then(s,o)}r((e=e.apply(n,[])).next())});var n,t,e}disableInAppInstallPrompt(){var n;this.installPwaService.setInstallPrompt(null),this.isInApp=!0,null===(n=this.btnInstall)||void 0===n||n.setAttribute("hidden",""),this.cd.detectChanges()}detectOS(){let n=window.navigator.userAgent,t=window.navigator.platform,e=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?e="Mac OS":-1!==["iPhone","iPad","iPod"].indexOf(t)?e="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(t)?e="Windows":/Android/.test(n)?e="Android":!e&&/Linux/.test(t)&&(e="Linux"),e}}var j=l.wb({encapsulation:0,styles:[[".nav-link.active[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover{padding:2px 4px!important;background:#fff!important;z-index:5}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link{padding:10px 12px;color:#aa041a!important;background-color:#fff;box-shadow:0 0 4px 6px rgba(209,32,39,.05)}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_madong[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_madong{background:url(madong_hover.9971daa06eaafdfbcfa8.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_tinhieu[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_tinhieu{background:url(tinhieu_hover.64bfc23e94d5f898667f.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_buysellsignal[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_buysellsignal{background:url(tinhieumuaban_hover.7a8f2775c3341a14b8dc.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_bookmark[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_bookmark{background:url(bookmark_hover.4ebe6f997e13dc31d3a7.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_tracuucophieu[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_tracuucophieu{background:url(tracuucophieu_hover.1bbc9ec56b13cfba383b.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_khuyennghi[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_khuyennghi{background:url(khuyennghi_hover.c40d5d1e863820d75137.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_phaisinh[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_phaisinh{background:url(phaisinh_hover.cc514ca4de4b91611a15.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_coso[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_coso{background:url(coso_hover.73dd0db1bf06e538ebb2.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_admin_mua[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_admin_mua{background:url(admin_mua_hover.5a05911f4de81ea9910c.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_dongtien_mua[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_dongtien_mua{background:url(dongtien_mua_hover.3c76b16f0d74edcc8328.
1svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_taoday[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_taoday{background:url(taoday_hover.f4512ed65a2fb640c679.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_bankhong[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_bankhong{background:url(bankhong_hover.332839d06c790ce43063.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_admin_ban[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_admin_ban{background:url(admin_ban_hover.c3d75a9031ec4b0ef086.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_dongtien_ban[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_dongtien_ban{background:url(dongtien_ban_hover.32e6dc31e338ca43141e.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_taodinh[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_taodinh{background:url(taodinh_hover.ad1a40f8f75e4666d621.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_canslimmark[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_canslimmark{background:url(canslimmark_hover.8395dbf18bc3b7a6852c.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_dinhgiacophieu[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_dinhgiacophieu{background:url(dinhgiacophieu_hover.9ebd5c618d989a175419.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_xephangcophieu[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_xephangcophieu{background:url(xephangcophieu_hover.077edbf6931a7fc761e5.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_dscophieu[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_dscophieu{background:url(dscophieu_hover.9a4e9dc5d995ae926004.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_statistic[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_statistic{background:url(statistic_hover.391fe686d51591baa1e3.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_findnews[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_findnews{background:url(santin_hover.44b0ad437907efb44706.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_gioithieu[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_gioithieu{background:url(gioithieu_hover.af6c33eb28394eef4b86.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_doc[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_doc{background:url(doc_hover.7c5ce7ee9d778a5f894c.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_nangcaptk[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_nangcaptk{background:url(nangcaptk_hover.c880de9fa6277c7cb51d.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_bieudo[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_bieudo{background:url(bieudokithuat_hover.d3dc6355ef6129aa3ab1.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_huongdan[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_huongdan{background:url(huongdan_hover.95113a3aca5cd60af6a8.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_baochi[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_baochi{background:url(baochi_hover.081710f5e37c11f840f3.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_tintuc[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_tintuc{background:url(tintuc_hover.f43cfdd4f7fbf6e81a21.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_lienhe[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_lienhe{background:url(lienhe_hover.7194a22b25e55df5ad62.svg) 100% no-repeat}.nav-link.active[_ngcontent-%COMP%]   .inner-nav-link[_ngcontent-%COMP%]   .icon_user[_ngcontent-%COMP%],   .sb-sidenav-light .sb-sidenav-menu .nav-link:hover .inner-nav-link .icon_user{background:url(user_hover.7a3215cf52b5364d8399.svg) 100% no-repeat}
1.inner-nav-link[_ngcontent-%COMP%]{background:#fff;padding:6px 3px}.ng-star-inserted[_ngcontent-%COMP%]{background:#fff}.nav-link[_ngcontent-%COMP%]{background:#fff!important;padding:6px 13px!important}.install-pwa[_ngcontent-%COMP%]{color:#fff!important;background:#c01d24}"]],data:{}});function z(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,1,"div",[["class","sb-nav-link-icon"],["style","color: #fff0d5"]],null,null,null,null,null)),(n()(),l.yb(1,0,null,null,0,"i",[],[[8,"className",0]],null,null,null,null))],null,function(n,t){n(t,1,0,l.Fb(1,"fa ",t.component.sideNavItem.icon,""))})}function W(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,2,"fa-icon",[["class","ml-auto ng-fa-icon"]],[[1,"title",0],[8,"innerHTML",1]],null,null,r.b,r.a)),l.xb(1,573440,null,0,a.c,[u.b,a.a,a.d,[2,a.i]],{icon:[0,"icon"]},null),l.Nb(2,2)],function(n,t){var e=n(t,2,0,"fas","angle-down");n(t,1,0,e)},function(n,t){n(t,0,0,l.Mb(t,1).title,l.Mb(t,1).renderedIconHTML)})}function $(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,10,"a",[["class","nav-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,t,e){var i=!0,s=n.component;return"click"===t&&(i=!1!==l.Mb(n,3).onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)&&i),"click"===t&&(i=!1!==s.touchMenu()&&i),i},null,null)),l.xb(1,278528,null,0,s.l,[l.s,l.t,l.l,l.E],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Pb(2,{active:0,collapsed:1}),l.xb(3,671744,null,0,i.n,[i.m,i.a,s.k],{routerLink:[0,"routerLink"]},null),(n()(),l.yb(4,0,null,null,6,"div",[["class","align-items-center inner-nav-link"],["style","display: flex;width: 100%;"]],[[4,"margin-top",null]],null,null,null,null)),(n()(),l.hb(16777216,null,null,1,null,z)),l.xb(6,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null),(n()(),l.Wb(7,null,[" "," "])),(n()(),l.yb(8,0,null,null,2,"div",[["class","sb-sidenav-collapse-arrow"],["style","color: black"]],null,null,null,null,null)),(n()(),l.hb(16777216,null,null,1,null,W)),l.xb(10,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null)],function(n,t){var e=t.component,l=n(t,2,0,e.isActive,!e.expanded);n(t,1,0,"nav-link",l),n(t,3,0,e.sideNavItem.link),n(t,6,0,e.sideNavItem.icon),n(t,10,0,e.sideNavItem.submenu)},function(n,t){var e=t.component;n(t,0,0,l.Mb(t,3).target,l.Mb(t,3).href),n(t,4,0,"/tinhieumuaban"===e.sideNavItem.link?"0px":"0"),n(t,7,0,e.sideNavItem.text)})}function F(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,2,"fa-icon",[["class","ml-auto ng-fa-icon"]],[[1,"title",0],[8,"innerHTML",1]],null,null,r.b,r.a)),l.xb(1,573440,null,0,a.c,[u.b,a.a,a.d,[2,a.i]],{icon:[0,"icon"]},null),l.Nb(2,2)],function(n,t){var e=n(t,2,0,"fas","angle-down");n(t,1,0,e)},function(n,t){n(t,0,0,l.Mb(t,1).title,l.Mb(t,1).renderedIconHTML)})}function q(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,6,"div",[["class"," install-pwa"],["id","install"],["style","\n        display: flex;\n        align-items: center;\n        padding: 0.5rem 1rem;\n        padding-top: 0.75rem;\n        padding-bottom: 0.75rem;\n        position: relative;\n    cursor: pointer; background-color: #c01d24!important;border: unset!important;"]],null,[[null,"click"]],function(n,t,e){var l=!0;return"click"===t&&(l=!1!==n.component.installPwa()&&l),l},null,null)),(n()(),l.yb(1,0,null,null,1,"div",[["class","sb-nav-link-icon"],["style","margin-right: 8px;"]],null,null,null,null,null)),(n()(),l.yb(2,0,null,null,0,"i",[["class","fa icon_caidatpwa"]],null,null,null,null,null)),(n()(),l.Wb(3,null,[" "," "])),(n()(),l.yb(4,0,null,null,2,"div",[["class","sb-sidenav-collapse-arrow"],["style","color: black"]],null,null,null,null,null)),(n()(),l.hb(16777216,null,null,1,null,F)),l.xb(6,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null)],function(n,t){n(t,6,0,t.component.sideNavItem.submenu)},function(n,t){n(t,3,0,t.component.sideNavItem.text)})}function Z(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,1,"div",[["class","sb-nav-link-icon"],["style","color: #fff0d5"]],null,null,null,null,null)),(n()(),l.yb(1,0,null,null,0,"i",[],[[8,"className",0]],null,null,null,null))],null,function(n,t){n(t,1,0,l.Fb(1,"fa ",t.component.sideNavItem.icon,""))})}function J(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,2,"fa-icon",[["class","ml-auto ng-fa-icon"]],[[1,"title",0],[8,"innerHTML",1]],null,null,r.b,r.a)),l.xb(1,573440,null,0,a.c,[u.b,a.a,a.d,[2,a.i]],{icon:[0,"icon"]},null),l.Nb(2,2)],function(n,t){var e=n(t,2,0,"fas","angle-down");n(t,1,0,e)},function(n,t){n(t,0,0,l.Mb(t,1).title,l.Mb(t,1).renderedIconHTML)})}function K(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,8,"a",[["class","nav-link"],["target","_blank"]],[[8,"href",4]],[[null,"click"]],function(n,t,e){var l=!0,i=n.component;return"click"===t&&(l=0!=(i.expanded=!i.expanded)&&l),l},null,null)),l.xb(1,278528,null,0,s.l,[l.s,l.t,l.l,l.E],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Pb(2,{active:0,collapsed:1,"mt-2":2}),(n()(),l.hb(16777216,null,null,1,null,Z)),l.xb(4,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null),(n()(),l.Wb(5,null,[" "," "])),(n()(),l.yb(6,0,null,null,2,"div",[["class","sb-sidenav-collapse-
1arrow"],["style","color: black"]],null,null,null,null,null)),(n()(),l.hb(16777216,null,null,1,null,J)),l.xb(8,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null)],function(n,t){var e=t.component,l=n(t,2,0,e.isActive,!e.expanded,"/tinhieumuaban"==e.sideNavItem.link);n(t,1,0,"nav-link",l),n(t,4,0,e.sideNavItem.icon),n(t,8,0,e.sideNavItem.submenu)},function(n,t){var e=t.component;n(t,0,0,l.Fb(1,"",e.sideNavItem.link,"")),n(t,5,0,e.sideNavItem.text)})}function Q(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,17,"div",[["class","modal-body"],["style","padding: 0px!important"]],null,null,null,null,null)),(n()(),l.yb(1,0,null,null,1,"div",[["style","position: absolute; top: 25px; right: 25px"]],null,null,null,null,null)),(n()(),l.yb(2,0,null,null,0,"img",[["height","30px"],["src","/assets/img/close.png"],["style","cursor: pointer"],["width","30px"]],null,[[null,"click"]],function(n,t,e){var l=!0;return"click"===t&&(l=!1!==n.context.$implicit.dismiss("Cross click")&&l),l},null,null)),(n()(),l.yb(3,0,null,null,14,"div",[["style","display: flex; align-items: center; flex-direction: column; background: #c01d24; padding: 20px"]],null,null,null,null,null)),(n()(),l.yb(4,0,null,null,0,"img",[["src","/assets/img/confirmpwa.png"],["style","margin-top: -3px; margin-bottom: -25px;"]],null,null,null,null,null)),(n()(),l.yb(5,0,null,null,9,"div",[["style"," text-align: center; margin-bottom:32px; padding-left: 10px; padding-right: 10px;"]],null,null,null,null,null)),(n()(),l.yb(6,0,null,null,7,"span",[["style","color: white; font-size: 18px;font-weight: 600;font-family: 'nodudo-Light';"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Ch\u1ee9c n\u0103ng n\xe0y ch\u1ec9 ho\u1ea1t \u0111\u1ed9ng tr\xean "])),(n()(),l.yb(8,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),l.Wb(-1,null,["tr\xecnh duy\u1ec7t Chrome/C\u1ed1c C\u1ed1c "])),(n()(),l.yb(10,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),l.Wb(-1,null,["( C\xf3 th\u1ec3 Dstock \u0111\xe3 c\xe0i tr\xean PC,"])),(n()(),l.yb(12,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),l.Wb(-1,null,[" h\xe3y ki\u1ec3m tra tr\xean Desktop) "])),(n()(),l.yb(14,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),l.yb(15,0,null,null,2,"button",[["class","btn btn-light btn-confirm-like"],["style","display: flex; align-items: center; justify-content: center;margin-bottom: 27px;width:calc(100% - 30px) !important;height: 59px!important; border-radius: 12px; font-weight: 600!important; text-transform: uppercase;font-family: 'nodudo-Bold';color: #c01d24; font-size: 20px;"],["type","button"]],null,[[null,"click"]],function(n,t,e){var l=!0;return"click"===t&&(l=!1!==n.context.$implicit.dismiss("Cross click")&&l),l},null,null)),(n()(),l.yb(16,0,null,null,1,"span",[["style","line-height: 20px;"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,[" \u0110\u1ed3ng \xfd "]))],null,null)}function X(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,1,"sb-side-nav-item",[["class","submenu"],["style","background: #fff;"]],null,null,null,Y,j)),l.xb(1,8503296,null,0,B,[S.a,i.m,h.a,o.C,l.h,U],{sideNavItem:[0,"sideNavItem"]},null)],function(n,t){n(t,1,0,t.context.$implicit)},null)}function V(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,2,"nav",[["class","sb-sidenav-menu-nested nav"]],null,null,null,null,null)),(n()(),l.hb(16777216,null,null,1,null,X)),l.xb(2,278528,null,0,s.m,[l.Q,l.M,l.s],{ngForOf:[0,"ngForOf"]},null)],function(n,t){n(t,2,0,t.component.sideNavItem.submenu)},null)}function Y(n){return l.Zb(2,[l.Sb(671088640,1,{dFormConfirmPwa:0}),(n()(),l.hb(16777216,null,null,1,null,$)),l.xb(2,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null),(n()(),l.hb(16777216,null,null,1,null,q)),l.xb(4,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null),(n()(),l.hb(16777216,null,null,1,null,K)),l.xb(6,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null),(n()(),l.hb(0,[[1,2],["dFormConfirmPwa",2]],null,0,null,Q)),(n()(),l.hb(16777216,null,null,1,null,V)),l.xb(9,16384,null,0,s.n,[l.Q,l.M],{ngIf:[0,"ngIf"]},null)],function(n,t){var e=t.component;n(t,2,0,e.sideNavItem.isrobot&&"/installpwa"!==e.sideNavItem.link),n(t,4,0,e.sideNavItem.isrobot&&"/installpwa"===e.sideNavItem.link&&e.isPc&&!e.isInApp),n(t,6,0,!e.sideNavItem.isrobot),n(t,9,0,e.sideNavItem.submenu&&e.expanded)},null)}e("LonY");var G=e("sQkU"),nn=e("quSY");class tn{constructor(n,t,e,i){this.navigationService=n,this.userService=t,this.authService=e,this.adminService=i,this.lstOuput=new l.n,this.subscription=new nn.a,this.tempNavSections=[]}ngOnInit(){if(this.adminService.getInfo(),this.user=this.authService.getUserInfo(),this.tempNavSections=JSON.parse(JSON.stringify(this.sideNavSections)),this.authService.isLoggedIn()){"1"==localStorage.getItem("vipHidden")&&(this.tempNavSections=this.tempNavSections.filter(n=>!n.vipHidden));for(let n of this.sideNavSections)if("login"===n.text){let t=this.sideNavSections.indexOf(n);this.tempNavSections.splice(t,1);break}}}inputShare(n){this.lstOuput.emit(n)}ngOnDestroy(){this.subscription.unsubscribe()}}
1var en=l.wb({encapsulation:0,styles:[[".card-box-shadow[_ngcontent-%COMP%]{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.nav[_ngcontent-%COMP%]{padding-bottom:5px;background-color:#fff}.nav-link[_ngcontent-%COMP%]:first-child{margin-top:5px!important}"]],data:{}});function ln(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),l.yb(1,0,null,null,1,"sb-side-nav-item",[["style","background: #fff;"]],null,[[null,"lstOuput"]],function(n,t,e){var l=!0;return"lstOuput"===t&&(l=!1!==n.component.inputShare(e)&&l),l},Y,j)),l.xb(2,8503296,null,0,B,[S.a,i.m,h.a,o.C,l.h,U],{sideNavItem:[0,"sideNavItem"]},{lstOuput:"lstOuput"})],function(n,t){n(t,2,0,t.component.sideNavItems[t.context.$implicit])},null)}function sn(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),l.hb(16777216,null,null,1,null,ln)),l.xb(2,278528,null,0,s.m,[l.Q,l.M,l.s],{ngForOf:[0,"ngForOf"]},null),(n()(),l.hb(0,null,null,0))],function(n,t){n(t,2,0,t.context.$implicit.items)},null)}function on(n){return l.Zb(2,[(n()(),l.yb(0,0,null,null,8,"nav",[["class","sb-sidenav accordion"],["id","sidenavAccordion"]],null,null,null,null,null)),l.xb(1,278528,null,0,s.l,[l.s,l.t,l.l,l.E],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(n()(),l.yb(2,0,null,null,3,"div",[["class","sb-sidenav-menu card-box-shadow"]],null,null,null,null,null)),(n()(),l.yb(3,0,null,null,2,"div",[["class","nav"],["id","nav-bar"]],null,null,null,null,null)),(n()(),l.hb(16777216,null,null,1,null,sn)),l.xb(5,278528,null,0,s.m,[l.Q,l.M,l.s],{ngForOf:[0,"ngForOf"]},null),(n()(),l.yb(6,0,null,null,2,"div",[["class","sb-sidenav-footer"]],null,null,null,null,null)),(n()(),l.yb(7,0,null,null,1,"div",[["class","small"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Copyright \xa9 Ph\u1ea7n m\u1ec1m Robot ch\u1ee9ng kho\xe1n Dstock 2020"]))],function(n,t){var e=t.component;n(t,1,0,"sb-sidenav accordion",e.sidenavStyle),n(t,5,0,e.tempNavSections)},null)}var rn=e("Bg5M"),an=e("K6a4"),un=e("YMUR"),cn=(e("pb9/"),e("TcQJ"),l.wb({encapsulation:0,styles:[['.mainfont[_ngcontent-%COMP%]{font-size:14px}.required[_ngcontent-%COMP%]:after{content:" *";color:red;float:right}.navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{min-width:80px;text-align:center}.a-clor[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#fff!important}.dropdown-menu[_ngcontent-%COMP%], .menu-heading.underlined[_ngcontent-%COMP%], .menu-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#5e6d8c;margin-left:0;padding-left:0}.menu-heading.underlined[_ngcontent-%COMP%]{padding-bottom:10px;border-bottom:1px solid #eee}.menu-heading[_ngcontent-%COMP%]{display:block;font-size:12px;text-transform:uppercase;font-weight:500;margin-bottom:10px;padding-top:4px}.setting-submenu-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:172px;display:inline-block;vertical-align:text-top}.dropdown-content-body[_ngcontent-%COMP%]{padding:10px;width:900px}.menu-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding-bottom:10px;list-style:none}.nav-bar-custom[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:15px}.nav-bar-custom[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}.nav-bar-custom[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .dropdown-menu1[_ngcontent-%COMP%]{width:440px!important}.nav-bar-custom[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .dropdown-menu2[_ngcontent-%COMP%]{width:780px!important}.nav-bar-custom[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .menu-list[_ngcontent-%COMP%]{padding-left:0}[_nghost-%COMP%]     jw-modal.w300{width:300px!important}.w400[_ngcontent-%COMP%]{width:400px}']],data:{}}));function hn(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,14,"a",[["class","mmt-menu__item"],["href","https://www.nududo.com/lien-he/"],["style","display: flex;"],["target","_blank"]],null,null,null,null,null)),(n()(),l.yb(1,0,null,null,13,"span",[["class","mmt-button mmt-button--circle mmt-button--square"]],null,null,null,null,null)),(n()(),l.yb(2,0,null,null,10,":svg:svg",[["class","mmt-button__icon"],["data-name","Layer 1"],["id","Layer_
11"],["viewBox","0 0 56.69 56.69"]],null,null,null,null,null)),(n()(),l.yb(3,0,null,null,2,":svg:defs",[],null,null,null,null,null)),(n()(),l.yb(4,0,null,null,1,":svg:style",[],null,null,null,null,null)),(n()(),l.Wb(-1,null,[" .cls-1 { fill: none; } "])),(n()(),l.yb(6,0,null,null,1,":svg:title",[],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Lien he"])),(n()(),l.yb(8,0,null,null,0,":svg:path",[["class","cls-1"],["d","M14.68,7V3.88c0-.91.41-1.36,1.3-1.36H39.86c.93,0,1.38.43,1.35,1.42s0,1.93,0,3.06H53.83c1.44,0,1.61.18,1.61,1.69q0,21.86,0,43.71c0,1.41-.21,1.63-1.57,1.63H2.07C.65,54,.44,53.8.43,52.35q0-21.85,0-43.71C.44,7.25.64,7,2,7,5.73,7,9.46,7,13.2,7ZM2.46,51.91h51V9.1H41.35a1,1,0,0,0-.11.3c0,.66,0,1.32,0,2,0,1.38-.25,1.69-1.55,1.69-7.85,0-15.7,0-23.54,0-1.07,0-1.49-.51-1.45-1.58,0-.79,0-1.59,0-2.43H2.46ZM16.61,4.6c0,1.82.05,3.49,0,5.15-.05,1,.21,1.35,1.23,1.34,6.77,0,13.53,0,20.3,0,.35,0,.71-.05,1-.07V4.6Z"]],null,null,null,null,null)),(n()(),l.yb(9,0,null,null,0,":svg:path",[["class","cls-1"],["d","M19.18,31.39c2.82.05,4.93,1,5.64,3.55a19.58,19.58,0,0,1,.33,5.32c0,.75-.72.82-1.35.82H13.49c-1.46,0-2.92,0-4.37,0-1.27,0-1.47-.24-1.48-1.55q0-1.29,0-2.58a5.3,5.3,0,0,1,5.28-5.51l.79-.07a6.93,6.93,0,0,1-2.05-5.26c.07-2.92,2-5,4.72-5a4.81,4.81,0,0,1,4.85,5.06A7.11,7.11,0,0,1,19.18,31.39ZM9.62,39.12c.48,0,.88.05,1.28.05H21c2.55,0,2.55,0,2.3-2.6A3.28,3.28,0,0,0,20,33.4c-2.38,0-4.77,0-7.15,0a3.22,3.22,0,0,0-3.22,2.85C9.55,37.17,9.62,38.1,9.62,39.12ZM19.3,26.18a10.15,10.15,0,0,0-.24-1.27A2.72,2.72,0,0,0,16.67,23a2.79,2.79,0,0,0-2.74,1.56,4.69,4.69,0,0,0,1.9,5.84,1.57,1.57,0,0,0,1.22,0C18.65,29.61,19.21,28.15,19.3,26.18Z"]],null,null,null,null,null)),(n()(),l.yb(10,0,null,null,0,":svg:path",[["class","cls-1"],["d","M40.25,27.77h6.6c.69,0,1.34.08,1.33,1s-.69,1-1.35,1H33.51c-.71,0-1.32-.21-1.29-1s.67-.89,1.31-.89Z"]],null,null,null,null,null)),(n()(),l.yb(11,0,null,null,0,":svg:path",[["class","cls-1"],["d","M40.23,35.4H33.62c-.69,0-1.36-.09-1.38-.93s.67-1,1.41-1H46.76c.72,0,1.43.07,1.42,1s-.73,1-1.45,1C44.57,35.39,42.4,35.4,40.23,35.4Z"]],null,null,null,null,null)),(n()(),l.yb(12,0,null,null,0,":svg:path",[["class","cls-1"],["d","M40.25,24c-2.24,0-4.48,0-6.72,0-.74,0-1.3-.2-1.3-1S32.84,22,33.5,22H46.83c.68,0,1.35.11,1.35,1s-.71,1-1.43,1C44.58,24,42.42,24,40.25,24Z"]],null,null,null,null,null)),(n()(),l.yb(13,0,null,null,1,"span",[["class","mmt-button__label"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Li\xean h\u1ec7"]))],null,null)}function dn(n){return l.Zb(0,[(n()(),l.yb(0,0,null,null,14,"a",[["class","mmt-menu__item mmt-menu__item--mobile"],["href","https://www.nududo.com/lien-he/"],["style","display: flex;"],["target","_blank"]],null,null,null,null,null)),(n()(),l.yb(1,0,null,null,13,"span",[["class","mmt-button mmt-button--mobile"]],null,null,null,null,null)),(n()(),l.yb(2,0,null,null,10,":svg:svg",[["class","mmt-button__icon"],["data-name","Layer 1"],["id","Layer_1"],["viewBox","0 0 56.69 56.69"]],null,null,null,null,null)),(n()(),l.yb(3,0,null,null,2,":svg:defs",[],null,null,null,null,null)),(n()(),l.yb(4,0,null,null,1,":svg:style",[],null,
1null,null,null,null)),(n()(),l.Wb(-1,null,[" .cls-1 { fill: none; } "])),(n()(),l.yb(6,0,null,null,1,":svg:title",[],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Lien he"])),(n()(),l.yb(8,0,null,null,0,":svg:path",[["class","cls-1"],["d","M14.68,7V3.88c0-.91.41-1.36,1.3-1.36H39.86c.93,0,1.38.43,1.35,1.42s0,1.93,0,3.06H53.83c1.44,0,1.61.18,1.61,1.69q0,21.86,0,43.71c0,1.41-.21,1.63-1.57,1.63H2.07C.65,54,.44,53.8.43,52.35q0-21.85,0-43.71C.44,7.25.64,7,2,7,5.73,7,9.46,7,13.2,7ZM2.46,51.91h51V9.1H41.35a1,1,0,0,0-.11.3c0,.66,0,1.32,0,2,0,1.38-.25,1.69-1.55,1.69-7.85,0-15.7,0-23.54,0-1.07,0-1.49-.51-1.45-1.58,0-.79,0-1.59,0-2.43H2.46ZM16.61,4.6c0,1.82.05,3.49,0,5.15-.05,1,.21,1.35,1.23,1.34,6.77,0,13.53,0,20.3,0,.35,0,.71-.05,1-.07V4.6Z"]],null,null,null,null,null)),(n()(),l.yb(9,0,null,null,0,":svg:path",[["class","cls-1"],["d","M19.18,31.39c2.82.05,4.93,1,5.64,3.55a19.58,19.58,0,0,1,.33,5.32c0,.75-.72.82-1.35.82H13.49c-1.46,0-2.92,0-4.37,0-1.27,0-1.47-.24-1.48-1.55q0-1.29,0-2.58a5.3,5.3,0,0,1,5.28-5.51l.79-.07a6.93,6.93,0,0,1-2.05-5.26c.07-2.92,2-5,4.72-5a4.81,4.81,0,0,1,4.85,5.06A7.11,7.11,0,0,1,19.18,31.39ZM9.62,39.12c.48,0,.88.05,1.28.05H21c2.55,0,2.55,0,2.3-2.6A3.28,3.28,0,0,0,20,33.4c-2.38,0-4.77,0-7.15,0a3.22,3.22,0,0,0-3.22,2.85C9.55,37.17,9.62,38.1,9.62,39.12ZM19.3,26.18a10.15,10.15,0,0,0-.24-1.27A2.72,2.72,0,0,0,16.67,23a2.79,2.79,0,0,0-2.74,1.56,4.69,4.69,0,0,0,1.9,5.84,1.57,1.57,0,0,0,1.22,0C18.65,29.61,19.21,28.15,19.3,26.18Z"]],null,null,null,null,null)),(n()(),l.yb(10,0,null,null,0,":svg:path",[["class","cls-1"],["d","M40.25,27.77h6.6c.69,0,1.34.08,1.33,1s-.69,1-1.35,1H33.51c-.71,0-1.32-.21-1.29-1s.67-.89,1.31-.89Z"]],null,null,null,null,null)),(n()(),l.yb(11,0,null,null,0,":svg:path",[["class","cls-1"],["d","M40.23,35.4H33.62c-.69,0-1.36-.09-1.38-.93s.67-1,1.41-1H46.76c.72,0,1.43.07,1.42,1s-.73,1-1.45,1C44.57,35.39,42.4,35.4,40.23,35.4Z"]],null,null,null,null,null)),(n()(),l.yb(12,0,null,null,0,":svg:path",[["class","cls-1"],["d","M40.25,24c-2.24,0-4.48,0-6.72,0-.74,0-1.3-.2-1.3-1S32.84,22,33.5,22H46.83c.68,0,1.35.11,1.35,1s-.71,1-1.43,1C44.58,24,42.42,24,40.25,24Z"]],null,null,null,null,null)),(n()(),l.yb(13,0,null,null,1,"span",[["class","mmt-button__label"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Li\xean h\u1ec7"]))],null,null)}function pn(n){return l.Zb(2,[(n()(),l.yb(0,0,null,null,2,"div",[["style","position: fixed; z-index: 10000;top: 10px;left: 15px"]],null,null,null,null,null)),(n()(),l.yb(1,0,null,null,1,"a",[["routerLink","/dashboard"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,t,e){var i=!0;return"click"===t&&(i=!1!==l.Mb(n,2).onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)&&i),i},null,null)),l.xb(2,671744,null,0,i.n,[i.m,i.a,s.k],{routerLink:[0,"routerLink"]},null),(n()(),l.yb(3,0,null,null,12,"span",[["class","sb-nav-fixed"]],null,null,null,null,null)),(n()(),l.yb(4,0,null,null,1,"sb-top-nav",[],null,[["document","click"]],function(n,t,e){var i=!0;return"document:click"===t&&(i=!1!==l.Mb(n,5).onClick(e.target)&&i),i},D,M)),l.xb(5,245760,null,0,C,[l.z,S.a,y.a,k.a,o.C,h.a,l.h,_.a,x.a],null,null),(n()(),l.yb(6,0,null,null,7,"div",[["id","layoutSidenav"]],null,null,null,null,null)),(n()(),l.yb(7,0,null,null,2,"div",[["id","layoutSidenav_nav"],["style","z-index: 1049"]],null,null,null,null,null)),(n()(),l.yb(8,0,null,null,1,"sb-side-nav",[],null,[[null,"lstOuput"]],function(n,t,e){var l=!0;return"lstOuput"===t&&(l=!1!==n.component.inputShare(e)&&l),l},on,en)),l.xb(9,245760,null,0,tn,[S.a,G.a,c.a,x.a],{sidenavStyle:[0,"sidenavStyle"],sideNavItems:[1,"sideNavItems"],sideNavSections:[2,"sideNavSections"]},{lstOuput:"lstOuput"}),(n()(),l.yb(10,0,null,null,3,"div",[["id","layoutSidenav_content"]],null,null,null,null,null)),(n()(),l.yb(11,0,null,null,2,"main",[["id","mainid"],["style","height: 100%;"]],null,null,null,null,null)),(n()(),l.yb(12,0,null,null,1,"div",[["class","container-fluid mainfont"],["style","height: 100%;"]],null,null,null,null,null)),l.Lb(null,0),(n()(),l.yb(14,0,null,null,1,"app-toast",[["aria-atomic","true"],["aria-live","polite"]],[[2,"ngb-toasts",null]],null,null,rn.b,rn.a)),l.xb(15,245760,null,0,an.a,[l.h,h.a],null,null),(n()(),l.yb(16,0,null,null,81,"div",[["id","metu"]],null,null,null,null,null)),(n()(),l.yb(17,0,null,null,80,"div",[["class","mmt-container"]],null,null,null,null,null)),(n()(),l.yb(18,0,null,null,39,"div",[["class","mmt-app mmt-app--blue mmt-app--circle-middle-right mmt
1-app--circle  mmt-pc"]],null,null,null,null,null)),(n()(),l.yb(19,0,null,null,12,"a",[["class","mmt-menu__item"],["href","tel:0372095129"],["style","display: flex;"],["target","_blank"]],null,null,null,null,null)),(n()(),l.yb(20,0,null,null,11,"span",[["class","mmt-button mmt-button--circle mmt-button--square"]],null,null,null,null,null)),(n()(),l.yb(21,0,null,null,8,":svg:svg",[["class","mmt-button__icon"],["data-name","Layer 1"],["id","Layer_1"],["viewBox","0 0 56.69 56.69"]],null,null,null,null,null)),(n()(),l.yb(22,0,null,null,2,":svg:defs",[],null,null,null,null,null)),(n()(),l.yb(23,0,null,null,1,":svg:style",[],null,null,null,null,null)),(n()(),l.Wb(-1,null,[" .cls-1 { fill: none; } "])),(n()(),l.yb(25,0,null,null,1,":svg:title",[],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Goi ngay"])),(n()(),l.yb(27,0,null,null,0,":svg:path",[["class","cls-1"],["d","M44.25,34.69a5.45,5.45,0,0,0-4-1.88,5.63,5.63,0,0,0-4,1.87l-3.74,3.8c-.3-.17-.61-.32-.91-.48s-.83-.42-1.17-.64a40.73,40.73,0,0,1-9.73-9.07,24.52,24.52,0,0,1-3.2-5.14c1-.91,1.87-1.85,2.75-2.76l1-1a5.63,5.63,0,0,0,0-8.36L18,7.7c-.37-.37-.75-.76-1.1-1.15C16.16,5.8,15.41,5,14.65,4.31a5.56,5.56,0,0,0-4-1.78,5.74,5.74,0,0,0-4,1.78l0,0-4,4.15A8.88,8.88,0,0,0,.05,14.09a21.52,21.52,0,0,0,1.51,9,52.32,52.32,0,0,0,9,15.42A55.92,55.92,0,0,0,29.15,53.31a28.25,28.25,0,0,0,10.41,3.14l.74,0a8.84,8.84,0,0,0,6.83-3s0,0,0-.06a26.22,26.22,0,0,1,2.07-2.19c.51-.49,1-1,1.53-1.56a6,6,0,0,0,1.79-4.18,5.85,5.85,0,0,0-1.82-4.14Zm4.51,12.76h0c-.47.51-.95,1-1.46,1.48A31.45,31.45,0,0,0,45,51.35a5.75,5.75,0,0,1-4.51,1.93h-.55a25.72,25.72,0,0,1-9.34-2.84,53.39,53.39,0,0,1-17.69-14A49.47,49.47,0,0,1,4.28,21.9a17.53,17.53,0,0,1-1.34-7.58,5.59,5.59,0,0,1,1.65-3.6L8.68,6.59a2.7,2.7,0,0,1,1.82-.87,2.61,2.61,0,0,1,1.75.85l0,0C13,7.3,13.71,8,14.44,8.78c.37.39.75.77,1.14,1.17l3.27,3.31c1.27,1.29,1.27,2.47,0,3.76l-1,1c-1,1-2,2-3,3,0,0-.05,0-.06.06a2.48,2.48,0,0,0-.62,2.75l0,.11A26.71,26.71,0,0,0,18,30.32h0a44.33,44.33,0,0,0,10.64,9.79,15.54,15.54,0,0,0,1.47.81c.44.22.84.43,1.19.65l.14.08a2.45,2.45,0,0,0,3-.53L38.59,37a2.7,2.7,0,0,1,1.81-.9,2.43,2.43,0,0,1,1.72.88l0,0,6.6,6.68A2.41,2.41,0,0,1,48.76,47.45Z"]],null,null,null,null,null)),(n()(),l.yb(28,0,null,null,0,":svg:path",[["class","cls-1"],["d","M30.42,13.69A14.91,14.91,0,0,1,38.58,18a15.57,15.57,0,0,1,4.24,8.34,1.59,1.59,0,0,0,1.57,1.35l.27,0A1.62,1.62,0,0,0,46,25.79,18.79,18.79,0,0,0,40.85,15.7,18.16,18.16,0,0,0,31,10.47a1.63,1.63,0,0,0-.55,3.22Z"]],null,null,null,null,null)),(n()(),l.yb(29,0,null,null,0,":svg:path",[["class","cls-1"],["d","M56.11,25.32A30.82,30.82,0,0,0,47.68,8.71,29.82,29.82,0,0,0,31.41.09a1.59,1.59,0,0,0-1.83,1.33A1.63,1.63,0,0,0,30.89,3.3,26.76,26.76,0,0,1,45.43,11,27.55,27.55,0,0,1,53,25.85a1.61,1.61,0,0,0,1.58,1.36,1.24,1.24,0,0,0,.27,0A1.59,1.59,0,0,0,56.11,25.32Z"]],null,null,null,null,null)),(n()(),l.yb(30,0,null,null,1,"span",[["class","mmt-button__label"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,["G\u1ecdi ngay 0372095129"])),(n()(),l.yb(32,0,null,null,11,"a",[["class","mmt-menu__item"],["href","https://www.messenger.com/t/nududo/"],["style","display: flex;"],["target","_blank"]],null,null,null,null,null)),(n()(),l.yb(33,0,null,null,10,"span",[["class","mmt-button mmt-button--circle mmt-button--square"]],null,null,null,null,null)),(n()(),l.yb(34,0,null,null,7,":svg:svg",[["class","mmt-button__icon"],["data-name","Layer 1"],["id","Layer_1"],["viewBox","0 0 56.69 56.69"]],null,null,null,null,null)),(n()(),l.yb(35,0,null,null,2,":svg:defs",[],null,null,null,null,null)),(n()(),l.yb(36,0,null,null,1,":svg:style",[],null,
1null,null,null,null)),(n()(),l.Wb(-1,null,[" .cls-1 { fill: none; } "])),(n()(),l.yb(38,0,null,null,1,":svg:title",[],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Facebook chat"])),(n()(),l.yb(40,0,null,null,0,":svg:path",[["class","cls-1"],["d","M28.35.47C13.19.47.87,12,.87,26.17a24.94,24.94,0,0,0,9.22,19.19V56.74L21.17,51a29.24,29.24,0,0,0,7.18.89c15.15,0,27.48-11.53,27.48-25.71S43.5.47,28.35.47Zm0,48.74a26,26,0,0,1-7.26-1l-.9-.26-6.57,3.45V44.65l-.91-.71a22.26,22.26,0,0,1-8.9-17.58c0-12.61,11-22.86,24.54-22.86S52.9,13.75,52.9,26.36,41.89,49.21,28.36,49.21Z"]],null,null,null,null,null)),(n()(),l.yb(41,0,null,null,0,":svg:polygon",[["class","cls-1"],["points","39.37 16.51 41.8 18.93 31.06 30.24 25.75 24.98 17.33 31.03 14.9 28.6 25.51 17.18 30.78 22.45 39.37 16.51"]],null,null,null,null,null)),(n()(),l.yb(42,0,null,null,1,"span",[["class","mmt-button__label"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Facebook Chat"])),(n()(),l.yb(44,0,null,null,11,"a",[["class","mmt-menu__item"],["href","https://zalo.me/01672095129"],["style","display: flex;"],["target","_blank"]],null,null,null,null,null)),(n()(),l.yb(45,0,null,null,10,"span",[["class","mmt-button mmt-button--circle mmt-button--square"]],null,null,null,null,null)),(n()(),l.yb(46,0,null,null,7,":svg:svg",[[":xml:space","preserve"],["class","mmt-button__icon"],["id","Layer_1"],["viewBox","0 0 56.7 56.7"],["x","0px"],["y","0px"]],null,null,null,null,null)),(n()(),l.yb(47,0,null,null,1,":svg:style",[["type","text/css"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,[" .cls-1 { fill: none; } "])),(n()(),l.yb(49,0,null,null,1,":svg:title",[],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Dung thu"])),(n()(),l.yb(51,0,null,null,0,":svg:path",[["class","cls-1"],["d","M20.2,27.6c1.9,0,3.8,0,5.6,0c1,0,1.6,0.4,1.7,1.2c0.1,1-0.5,1.7-1.6,1.7c-2.1,0-4.2,0-6.2,0 c-0.6,0-1.2,0-1.8,0c-0.7,0-1.5-0.2-1.8-1c-0.4-0.8-0.1-1.5,0.4-2.1c2-2.5,4-5.1,6-7.6c0.1-0.2,0.2-0.3,0.3-0.5 c-0.1-0.2-0.3-0.1-0.5-0.1c-1.4,0-2.8,0-4.2,0c-0.3,0-0.6,0-1-0.1c-0.7-0.2-1.2-0.9-1-1.6c0.1-0.5,0.5-0.9,1-1 c0.3-0.1,0.6-0.1,1-0.1c2.3,0,4.6,0,6.9,0c0.4,0,0.8,0,1.2,0.1c0.9,0.3,1.2,1.1,0.9,2c-0.3,0.7-0.8,1.4-1.3,2 c-1.7,2.1-3.4,4.3-5.1,6.4C20.5,27.1,20.4,27.3,20.2,27.6L20.2,27.6z"]],null,null,null,null,null)),(n()(),l.yb(52,0,null,null,0,":svg:path",[["class","cls-1"],["d","M35.1,20.8c0.3-0.4,0.6-0.8,1.2-0.9c1-0.2,2,0.5,2,1.5c0,2.6,0,5.1,0,7.7c0,0.7-0.4,1.3-1.1,1.5 c-0.6,0.2-1.4,0.1-1.8-0.5c-0.2-0.3-0.3-0.3-0.6-0.1c-1.2,1-2.5,1.1-3.9,0.7c-2.3-0.7-3.2-2.5-3.5-4.7c-0.3-2.4,0.5-4.4,2.6-5.6 C31.7,19.3,33.5,19.4,35.1,20.8L35.1,20.8z M30.6,25.5c0,0.6,0.2,1.1,0.5,1.6c0.7,0.9,2,1.1,3,0.4c0.2-0.1,0.3-0.3,0.4-0.4 c0.7-1,0.7-2.6,0-3.6c-0.4-0.5-0.9-0.8-1.5-0.8C31.6,22.6,30.6,23.7,30.6,25.5z M44,25.6c-0.1-3.3,2.1-5.8,5.2-5.9 c3.3-0.1,5.7,2.1,5.8,5.3c0.1,3.3-1.9,5.6-5,5.9C46.7,31.2,44,28.8,44,25.6L44,25.6z M47.3,25.3c0,0.6,0.2,1.3,0.6,1.8 c0.7,0.9,2,1.1,3,0.4c0.1-0.1,0.3-0.2,0.4-0.4c0.7-1,0.7-2.6,0-3.6c-0.4-0.5-0.9-0.8-1.5-0.8C48.2,22.6,47.3,23.7,47.3,25.3z  M42.9,23c0,2,0,4,0,6c0,0.9-0.7,1.7-1.6,1.7c-0.2,0-0.3,0-0.5-0.1c-0.6-0.2-1.1-0.8-1.1-1.7V18.8c0-0.6,0-1.2,0-1.8 c0-1,0.6-1.6,1.6-1.6c1,0,1.6,0.6,1.6,1.7C42.9,19,42.9,21,42.9,23z"]],null,null,null,null,null)),(n()(),l.yb(53,0,null,null,0,":svg:path",[["class","cls-1"],["d","M56.2,40.9c-2.4,2.5-5.3,4.6-8.4,6c-7.6,3.5-15.4,3.8-23.2,0.9c-0.7-0.3-1.4-0.3-2.1-0.1 c-1,0.3-2.1,0.6-3.1,0.9c-3,1-6.1,1.4-9.3,0.8C9.9,49.3,9.8,49.2,10,49c0.2-0.1,0.3-0.2,0.5-0.4c1.6-1.1,3.1-2.3,4.1-4.1 c0.8-1.5,0.7-2.3-0.3-3.4C8.5,35,5.9,27.6,7.2,18.9c0.7-4.9,2.9-9.2,6-12.9c1.9-2.2,4.6-4.5,7.1-6H8.9c-0.5,0-1,0-1.4,0.1 C3.5,0.2,0,3.4,0,8.1c0,13.6,0,27.1,0,40.7c0,4.2,3.1,7.7,7.1,7.9c0.5,0,1,0.1,1.5,0.1h0.1H46v0c1,0,2.1,0,3.1,0h0.1 c4.1,0,7.3-3.5,7.4-7.7v-8.7C56.6,40.6,56.3,40.8,56.2,40.9z"]],null,null,null,null,null)),(n()(),l.yb(54,0,null,null,1,"span",[["class","mmt-button__label"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Zalo Chat"])),(n()(),l.hb(16777216,null,null,1,null,hn)),l.xb(57,81920,null,0,un.a,[l.M,l.Q,x.a],null,null),(n()(),l.yb(58,0,null,null,39,"div",[["class","mmt-app mmt-app--mobile mmt-app--blue "]],null,null,null,null,null)),(n()(),l.yb(59,0,null,null,12,"a",[["class","mmt-menu__item mmt-menu__item--mobile"],["href","tel:0372095129"],["style","display: flex;"],["target","_blank"]],null,null,null,null,null)),(n()(),l.yb(60,0,null,null,11,"span",[["class","mmt-button mmt-button--mobile"]],null,null,null,null,null)),(n()(),l.yb(61,0,null,null,8,":svg:svg",[["class","mmt-button__icon"],["data-name","Layer 1"],["id","Layer_
11"],["viewBox","0 0 56.69 56.69"]],null,null,null,null,null)),(n()(),l.yb(62,0,null,null,2,":svg:defs",[],null,null,null,null,null)),(n()(),l.yb(63,0,null,null,1,":svg:style",[],null,null,null,null,null)),(n()(),l.Wb(-1,null,[" .cls-1 { fill: none; } "])),(n()(),l.yb(65,0,null,null,1,":svg:title",[],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Goi ngay"])),(n()(),l.yb(67,0,null,null,0,":svg:path",[["class","cls-1"],["d","M44.25,34.69a5.45,5.45,0,0,0-4-1.88,5.63,5.63,0,0,0-4,1.87l-3.74,3.8c-.3-.17-.61-.32-.91-.48s-.83-.42-1.17-.64a40.73,40.73,0,0,1-9.73-9.07,24.52,24.52,0,0,1-3.2-5.14c1-.91,1.87-1.85,2.75-2.76l1-1a5.63,5.63,0,0,0,0-8.36L18,7.7c-.37-.37-.75-.76-1.1-1.15C16.16,5.8,15.41,5,14.65,4.31a5.56,5.56,0,0,0-4-1.78,5.74,5.74,0,0,0-4,1.78l0,0-4,4.15A8.88,8.88,0,0,0,.05,14.09a21.52,21.52,0,0,0,1.51,9,52.32,52.32,0,0,0,9,15.42A55.92,55.92,0,0,0,29.15,53.31a28.25,28.25,0,0,0,10.41,3.14l.74,0a8.84,8.84,0,0,0,6.83-3s0,0,0-.06a26.22,26.22,0,0,1,2.07-2.19c.51-.49,1-1,1.53-1.56a6,6,0,0,0,1.79-4.18,5.85,5.85,0,0,0-1.82-4.14Zm4.51,12.76h0c-.47.51-.95,1-1.46,1.48A31.45,31.45,0,0,0,45,51.35a5.75,5.75,0,0,1-4.51,1.93h-.55a25.72,25.72,0,0,1-9.34-2.84,53.39,53.39,0,0,1-17.69-14A49.47,49.47,0,0,1,4.28,21.9a17.53,17.53,0,0,1-1.34-7.58,5.59,5.59,0,0,1,1.65-3.6L8.68,6.59a2.7,2.7,0,0,1,1.82-.87,2.61,2.61,0,0,1,1.75.85l0,0C13,7.3,13.71,8,14.44,8.78c.37.39.75.77,1.14,1.17l3.27,3.31c1.27,1.29,1.27,2.47,0,3.76l-1,1c-1,1-2,2-3,3,0,0-.05,0-.06.06a2.48,2.48,0,0,0-.62,2.75l0,.11A26.71,26.71,0,0,0,18,30.32h0a44.33,44.33,0,0,0,10.64,9.79,15.54,15.54,0,0,0,1.47.81c.44.22.84.43,1.19.65l.14.08a2.45,2.45,0,0,0,3-.53L38.59,37a2.7,2.7,0,0,1,1.81-.9,2.43,2.43,0,0,1,1.72.88l0,0,6.6,6.68A2.41,2.41,0,0,1,48.76,47.45Z"]],null,null,null,null,null)),(n()(),l.yb(68,0,null,null,0,":svg:path",[["class","cls-1"],["d","M30.42,13.69A14.91,14.91,0,0,1,38.58,18a15.57,15.57,0,0,1,4.24,8.34,1.59,1.59,0,0,0,1.57,1.35l.27,0A1.62,1.62,0,0,0,46,25.79,18.79,18.79,0,0,0,40.85,15.7,18.16,18.16,0,0,0,31,10.47a1.63,1.63,0,0,0-.55,3.22Z"]],null,null,null,null,null)),(n()(),l.yb(69,0,null,null,0,":svg:path",[["class","cls-1"],["d","M56.11,25.32A30.82,30.82,0,0,0,47.68,8.71,29.82,29.82,0,0,0,31.41.09a1.59,1.59,0,0,0-1.83,1.33A1.63,1.63,0,0,0,30.89,3.3,26.76,26.76,0,0,1,45.43,11,27.55,27.55,0,0,1,53,25.85a1.61,1.61,0,0,0,1.58,1.36,1.24,1.24,0,0,0,.27,0A1.59,1.59,0,0,0,56.11,25.32Z"]],null,null,null,null,null)),(n()(),l.yb(70,0,null,null,1,"span",[["class","mmt-button__label"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,["G\u1ecdi ngay"])),(n()(),l.yb(72,0,null,null,11,"a",[["class","mmt-menu__item mmt-menu__item--mobile"],["href","https://www.messenger.com/t/nududo/"],["style","display: flex;"]],null,null,null,null,null)),(n()(),l.yb(73,0,null,null,10,"span",[["class","mmt-button mmt-button--mobile"]],null,null,null,null,null)),(n()(),l.yb(74,0,null,null,7,":svg:svg",[["class","mmt-button__icon"],["data-name","Layer 1"],["id","Layer_1"],["viewBox","0 0 56.69 56.69"]],null,null,null,null,null)),(n()(),l.yb(75,0,null,null,2,":svg:defs",[],null,null,null,null,null)),(n()(),l.yb(76,0,null,null,1,":svg:style",[],null,
1null,null,null,null)),(n()(),l.Wb(-1,null,[" .cls-1 { fill: none; } "])),(n()(),l.yb(78,0,null,null,1,":svg:title",[],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Facebook chat"])),(n()(),l.yb(80,0,null,null,0,":svg:path",[["class","cls-1"],["d","M28.35.47C13.19.47.87,12,.87,26.17a24.94,24.94,0,0,0,9.22,19.19V56.74L21.17,51a29.24,29.24,0,0,0,7.18.89c15.15,0,27.48-11.53,27.48-25.71S43.5.47,28.35.47Zm0,48.74a26,26,0,0,1-7.26-1l-.9-.26-6.57,3.45V44.65l-.91-.71a22.26,22.26,0,0,1-8.9-17.58c0-12.61,11-22.86,24.54-22.86S52.9,13.75,52.9,26.36,41.89,49.21,28.36,49.21Z"]],null,null,null,null,null)),(n()(),l.yb(81,0,null,null,0,":svg:polygon",[["class","cls-1"],["points","39.37 16.51 41.8 18.93 31.06 30.24 25.75 24.98 17.33 31.03 14.9 28.6 25.51 17.18 30.78 22.45 39.37 16.51"]],null,null,null,null,null)),(n()(),l.yb(82,0,null,null,1,"span",[["class","mmt-button__label"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Facebook Chat"])),(n()(),l.yb(84,0,null,null,11,"a",[["class","mmt-menu__item mmt-menu__item--mobile"],["href","https://zalo.me/01672095129"],["style","display: flex;"],["target","_blank"]],null,null,null,null,null)),(n()(),l.yb(85,0,null,null,10,"span",[["class","mmt-button mmt-button--mobile"]],null,null,null,null,null)),(n()(),l.yb(86,0,null,null,7,":svg:svg",[[":xml:space","preserve"],["class","mmt-button__icon"],["id","Layer_1"],["viewBox","0 0 56.7 56.7"],["x","0px"],["y","0px"]],null,null,null,null,null)),(n()(),l.yb(87,0,null,null,1,":svg:style",[["type","text/css"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,[" .cls-1 { fill: none; } "])),(n()(),l.yb(89,0,null,null,1,":svg:title",[],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Dung thu"])),(n()(),l.yb(91,0,null,null,0,":svg:path",[["class","cls-1"],["d","M20.2,27.6c1.9,0,3.8,0,5.6,0c1,0,1.6,0.4,1.7,1.2c0.1,1-0.5,1.7-1.6,1.7c-2.1,0-4.2,0-6.2,0 c-0.6,0-1.2,0-1.8,0c-0.7,0-1.5-0.2-1.8-1c-0.4-0.8-0.1-1.5,0.4-2.1c2-2.5,4-5.1,6-7.6c0.1-0.2,0.2-0.3,0.3-0.5 c-0.1-0.2-0.3-0.1-0.5-0.1c-1.4,0-2.8,0-4.2,0c-0.3,0-0.6,0-1-0.1c-0.7-0.2-1.2-0.9-1-1.6c0.1-0.5,0.5-0.9,1-1 c0.3-0.1,0.6-0.1,1-0.1c2.3,0,4.6,0,6.9,0c0.4,0,0.8,0,1.2,0.1c0.9,0.3,1.2,1.1,0.9,2c-0.3,0.7-0.8,1.4-1.3,2 c-1.7,2.1-3.4,4.3-5.1,6.4C20.5,27.1,20.4,27.3,20.2,27.6L20.2,27.6z"]],null,null,null,null,null)),(n()(),l.yb(92,0,null,null,0,":svg:path",[["class","cls-1"],["d","M35.1,20.8c0.3-0.4,0.6-0.8,1.2-0.9c1-0.2,2,0.5,2,1.5c0,2.6,0,5.1,0,7.7c0,0.7-0.4,1.3-1.1,1.5 c-0.6,0.2-1.4,0.1-1.8-0.5c-0.2-0.3-0.3-0.3-0.6-0.1c-1.2,1-2.5,1.1-3.9,0.7c-2.3-0.7-3.2-2.5-3.5-4.7c-0.3-2.4,0.5-4.4,2.6-5.6 C31.7,19.3,33.5,19.4,35.1,20.8L35.1,20.8z M30.6,25.5c0,0.6,0.2,1.1,0.5,1.6c0.7,0.9,2,1.1,3,0.4c0.2-0.1,0.3-0.3,0.4-0.4 c0.7-1,0.7-2.6,0-3.6c-0.4-0.5-0.9-0.8-1.5-0.8C31.6,22.6,30.6,23.7,30.6,25.5z M44,25.6c-0.1-3.3,2.1-5.8,5.2-5.9 c3.3-0.1,5.7,2.1,5.8,5.3c0.1,3.3-1.9,5.6-5,5.9C46.7,31.2,44,28.8,44,25.6L44,25.6z M47.3,25.3c0,0.6,0.2,1.3,0.6,1.8 c0.7,0.9,2,1.1,3,0.4c0.1-0.1,0.3-0.2,0.4-0.4c0.7-1,0.7-2.6,0-3.6c-0.4-0.5-0.9-0.8-1.5-0.8C48.2,22.6,47.3,23.7,47.3,25.3z  M42.9,23c0,2,0,4,0,6c0,0.9-0.7,1.7-1.6,1.7c-0.2,0-0.3,0-0.5-0.1c-0.6-0.2-1.1-0.8-1.1-1.7V18.8c0-0.6,0-1.2,0-1.8 c0-1,0.6-1.6,1.6-1.6c1,0,1.6,0.6,1.6,1.7C42.9,19,42.9,21,42.9,23z"]],null,null,null,null,null)),(n()(),l.yb(93,0,null,null,0,":svg:path",[["class","cls-1"],["d","M56.2,40.9c-2.4,2.5-5.3,4.6-8.4,6c-7.6,3.5-15.4,3.8-23.2,0.9c-0.7-0.3-1.4-0.3-2.1-0.1 c-1,0.3-2.1,0.6-3.1,0.9c-3,1-6.1,1.4-9.3,0.8C9.9,49.3,9.8,49.2,10,49c0.2-0.1,0.3-0.2,0.5-0.4c1.6-1.1,3.1-2.3,4.1-4.1 c0.8-1.5,0.7-2.3-0.3-3.4C8.5,35,5.9,27.6,7.2,18.9c0.7-4.9,2.9-9.2,6-12.9c1.9-2.2,4.6-4.5,7.1-6H8.9c-0.5,0-1,0-1.4,0.1 C3.5,0.2,0,3.4,0,8.1c0,13.6,0,27.1,0,40.7c0,4.2,3.1,7.7,7.1,7.9c0.5,0,1,0.1,1.5,0.1h0.1H46v0c1,0,2.1,0,3.1,0h0.1 c4.1,0,7.3-3.5,7.4-7.7v-8.7C56.6,40.6,56.3,40.8,56.2,40.9z"]],null,null,null,null,null)),(n()(),l.yb(94,0,null,null,1,"span",[["class","mmt-button__label"]],null,null,null,null,null)),(n()(),l.Wb(-1,null,["Zalo Chat"])),(n()(),l.hb(16777216,null,null,1,null,dn)),l.xb(97,81920,null,0,un.a,[l.M,l.Q,x.a],null,null)],function(n,t){var e=t.component;n(t,2,0,"/dashboard"),n(t,5,0),n(t,9,0,e.sidenavStyle,e.sideNavItems,e.sideNavSections),n(t,15,0),n(t,57,0),n(t,97,0)},function(n,t){n(t,1,0,l.Mb(t,2).target,l.Mb(t,2).href),n(t,14,0,!0)})}},TcQJ:function(n,t,e){"use strict";e.d(t,"a",function(){return i});var l=e("8Y7J");let i=(()=>{class n{constructor(){}customSelect(n){var t,e,l,i,s;const o=this;var r,a,u,c,h,d,p,g,b;for(c=(r=document.getElementsByClassName("custom-select-reskin")).length,a=0;a<c;a++)if(b=r[a].getElementsByTagName("select")[0]){const n=b.value;if(0===r[a].getElementsByClassName("select-selected").length){h=b.length,(d=document.createElement("DIV")).setAttribute("class","select-selected");let c=-1;for(let e=0;e<b.options.length;e++)if((null===(t=b.options[e])||void 0===t?void 0:t.value)===n){c=e;break}for(d.innerHTML=-1===c||void 0===(null===(e=b.options[c])||void 0===e?void 0:e.innerHTML)?"T\u1ea5t c\u1ea3":null===(l=b.options[c])||void 0===l?void 0:l.innerHTML,r[a].appendChild(d),(p=document.createElement("DIV")).setAttribute("class","select-items select-hide"),p.style.width=d.style.width,u=0;u<h;u++)(g=document.createElement("DIV")).innerHTML=null===(i=b.options[u])||void 0===i?void 0:i.innerHTML,g.setAttribute("data-value",null===(s=b.o
1ptions[u])||void 0===s?void 0:s.value),g.addEventListener("click",function(n){var t,e,l,i,s,o,r,a,u,c,h,d,p,g,b;for(g=null==(d=null===(e=null===(t=this.parentNode)||void 0===t?void 0:t.parentNode)||void 0===e?void 0:e.querySelector("select"))?void 0:d.length,p=null===(l=this.parentNode)||void 0===l?void 0:l.previousSibling,c=0;c<g;c++)if((null===(i=null==d?void 0:d.options[c])||void 0===i?void 0:i.innerHTML)==this.innerHTML){for(d.selectedIndex=c,p.innerHTML=this.innerHTML,b=null==(u=null===(s=this.parentNode)||void 0===s?void 0:s.querySelectorAll(".same-as-selected"))?void 0:u.length,h=0;h<b;h++)null===(o=u[h])||void 0===o||o.removeAttribute("class");this.setAttribute("class","same-as-selected");break}null==p||p.click(),((null===(a=null===(r=this.parentNode)||void 0===r?void 0:r.parentNode)||void 0===a?void 0:a.querySelector("select"))||new HTMLSelectElement).dispatchEvent(new Event("change"))}),p.appendChild(g);r[a].appendChild(p),d.addEventListener("click",function(n){var t;n.stopPropagation(),o.closeAllSelect(this),null===(t=this.nextSibling)||void 0===t||t.classList.toggle("select-hide"),this.classList.toggle("select-arrow-active")})}}document.addEventListener("click",n=>this.closeAllSelect(n))}closeAllSelect(n){var t,e,l,i,s,o=[];for(t=document.getElementsByClassName("select-items"),e=document.getElementsByClassName("select-selected"),i=t.length,s=e.length,l=0;l<s;l++)n==e[l]?o.push(l):e[l].classList.remove("select-arrow-active");for(l=0;l<i;l++)o.indexOf(l)&&t[l].classList.add("select-hide")}}return n.\u0275prov=l.ac({factory:function(){return new n},token:n,providedIn:"root"}),n})()},YMUR:function(n,t,e){"use strict";e.d(t,"a",function(){return l}),e("36wu");class l{constructor(n,t,e){this.templateRef=n,this.viewContainer=t,this.setting=e,this.vipHidden=0}ngOnInit(){var n;this.vipHidden=parseInt(null!==(n=localStorage.getItem("vipHidden"))&&void 0!==n?n:"0"),this.vipHidden?this.viewContainer.clear():this.viewContainer.createEmbeddedView(this.templateRef)}}},aB6R:function(n,t,e){"use strict";e.d(t,"a",function(){return o});var l=e("IheW"),i=e("AytR"),s=e("8Y7J");let o=(()=>{class n{constructor(n){this.http=n,this.baseUrl=i.a.env.apiUrl}getCKNews(n,t){let e=new l.g;return n&&(e=e.append("stockcode",n)),t>1&&(e=e.append("page",t.toString())),this.http.get(this.baseUrl+"stocksignal.php/getcknews",{params:e})}getNewsByStockCode(n){return this.http.get(`${this.baseUrl+"stocksignal.php/getnewsbystockcode/"}${n}`)}getNududoNews(n){let t=new l.g;return n>1&&(t=t.append("page",n.toString())),this.http.get(this.baseUrl+"stocksignal.php/getnududonews",{params:t})}getTotalMsgNoRead(){return this.http.get(this.baseUrl+"stocksignal.php/getTotalMsgNoRead")}getListMsgNoRead(n){return this.http.get(`${this.baseUrl+"stocksignal.php/getListMsgNoReadWeb"}/${n}`)}updateReadMessage(n){return this.http.patch(this.baseUrl+"stocksignal.php/updateMessageRead",{idMessage:n})}updateCNTMessage(){return this.http.get(this.baseUrl+"stocksignal.php/updateCNTMessage")}getTrading(){return this.http.get(this.baseUrl+"stocksignal.php/getTrading")}getDocument(){return this.http.get(this.baseUrl+"stocksignal.php/getDocument")}getMarketInfo(n,t){return""===t&&(t="all"),this.http.get(`${this.baseUrl+"stocksignal.php/getmarketinfo"}/${n}/${t}`)}getMarketInfoNhomNghanh(n){return""===n&&(n="all"),this.http.get(`${this.baseUrl+"stocksignal.php/getmarketinfonhomnghanh"}/${n}`)}getGoodStock(){return this.http.get(this.baseUrl+"stocksignal.php/getgoostock")}getStockValuation(n){return this.http.get(`${this.baseUrl+"stocksignal.php/getstockvaluation"}/${n}`)}searchStockValuation(n,t){const e=JSON.stringify({condition:t,type:n});return this.http.post(this.baseUrl+"stocksignal.php/searchstockvaluation",e)}getStockRating(){return this.http.get(this.baseUrl+"stocksignal.php/getstockrating")}searchStockRating(n){const t=JSON.stringify({condition:n});return this.http.post(this.baseUrl+"stocksignal.php/searchstockrating",t)}getCanslimMark(){return this.http.get(this.baseUrl+"stocksignal.php/getcanslimmark")}searchCanslimMark(n){const t=JSON.stringify({condition:n});return this.http.post(this.baseUrl+"stocksignal.php/searchcanslimmark",t)}deleteNewLeaderLink(n,t){const e=JSON.stringify({newleader:t});return this.http.patch(this.baseUrl+"stocksignal.php/deletenewleaderlink/"+n,e)}}return n.\u0275prov=s.ac({factory:function(){return new n(s.bc(l.c))},token:n,providedIn:"root"}),n})()},eC5B:function(n,t,e){var l;window,l=function(){return function(n){var t={};function e(l){if(t[l])return t[l].exports;var i=t[l]={i:l,l:!1,exports:{}};return n[l].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=n,e.c=t,e.d=function(n,t,l){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:l})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var l=Object.create(null);if(e.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var i in n)e.d(l,i,(function(t){return n[t]}).bind(null,i));return l},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=2)}([function(n,t,e){"use strict";var l,i=this&&this.__extends||(l=function(n,t){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e])},l(n,t)},function(n,t){function e(){this.constructor=n}l(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)});
1Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function n(n){void 0===n&&(n="="),this._paddingCharacter=n}return n.prototype.encodedLength=function(n){return this._paddingCharacter?(n+2)/3*4|0:(8*n+5)/6|0},n.prototype.encode=function(n){for(var t="",e=0;e<n.length-2;e+=3)t+=this._encodeByte((l=n[e]<<16|n[e+1]<<8|n[e+2])>>>18&63),t+=this._encodeByte(l>>>12&63),t+=this._encodeByte(l>>>6&63),t+=this._encodeByte(l>>>0&63);var l,i=n.length-e;return i>0&&(t+=this._encodeByte((l=n[e]<<16|(2===i?n[e+1]<<8:0))>>>18&63),t+=this._encodeByte(l>>>12&63),t+=2===i?this._encodeByte(l>>>6&63):this._paddingCharacter||"",t+=this._paddingCharacter||""),t},n.prototype.maxDecodedLength=function(n){return this._paddingCharacter?n/4*3|0:(6*n+7)/8|0},n.prototype.decodedLength=function(n){return this.maxDecodedLength(n.length-this._getPaddingLength(n))},n.prototype.decode=function(n){if(0===n.length)return new Uint8Array(0);for(var t=this._getPaddingLength(n),e=n.length-t,l=new Uint8Array(this.maxDecodedLength(e)),i=0,s=0,o=0,r=0,a=0,u=0,c=0;s<e-4;s+=4)r=this._decodeChar(n.charCodeAt(s+0)),a=this._decodeChar(n.charCodeAt(s+1)),u=this._decodeChar(n.charCodeAt(s+2)),c=this._decodeChar(n.charCodeAt(s+3)),l[i++]=r<<2|a>>>4,l[i++]=a<<4|u>>>2,l[i++]=u<<6|c,o|=256&r,o|=256&a,o|=256&u,o|=256&c;if(s<e-1&&(r=this._decodeChar(n.charCodeAt(s)),a=this._decodeChar(n.charCodeAt(s+1)),l[i++]=r<<2|a>>>4,o|=256&r,o|=256&a),s<e-2&&(u=this._decodeChar(n.charCodeAt(s+2)),l[i++]=a<<4|u>>>2,o|=256&u),s<e-3&&(c=this._decodeChar(n.charCodeAt(s+3)),l[i++]=u<<6|c,o|=256&c),0!==o)throw new Error("Base64Coder: incorrect characters for decoding");return l},n.prototype._encodeByte=function(n){var t=n;return t+=65,t+=25-n>>>8&6,t+=51-n>>>8&-75,t+=61-n>>>8&-15,t+=62-n>>>8&3,String.fromCharCode(t)},n.prototype._decodeChar=function(n){var t=256;return t+=(42-n&n-44)>>>8&-256+n-43+62,t+=(46-n&n-48)>>>8&-256+n-47+63,t+=(47-n&n-58)>>>8&-256+n-48+52,(t+=(64-n&n-91)>>>8&-256+n-65+0)+((96-n&n-123)>>>8&-256+n-97+26)},n.prototype._getPaddingLength=function(n){var t=0;if(this._paddingCharacter){for(var e=n.length-1;e>=0&&n[e]===this._paddingCharacter;e--)t++;if(n.length<4||t>2)throw new Error("Base64Coder: incorrect padding")}return t},n}();t.Coder=s;var o=new s;t.encode=function(n){return o.encode(n)},t.decode=function(n){return o.decode(n)};var r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype._encodeByte=function(n){var t=n;return t+=65,t+=25-n>>>8&6,t+=51-n>>>8&-75,t+=61-n>>>8&-13,t+=62-n>>>8&49,String.fromCharCode(t)},t.prototype._decodeChar=function(n){var t=256;return t+=(44-n&n-46)>>>8&-256+n-45+62,t+=(94-n&n-96)>>>8&-256+n-95+63,t+=(47-n&n-58)>>>8&-256+n-48+52,(t+=(64-n&n-91)>>>8&-256+n-65+0)+((96-n&n-123)>>>8&-256+n-97+26)},t}(s);t.URLSafeCoder=r;var a=new r;t.encodeURLSafe=function(n){return a.encode(n)},t.decodeURLSafe=function(n){return a.decode(n)},t.encodedLength=function(n){return o.encodedLength(n)},t.maxDecodedLength=function(n){return o.maxDecodedLength(n)},t.decodedLength=function(n){return o.decodedLength(n)}},function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l="utf8: invalid source encoding";function i(n){for(var t=0,e=0;e<n.length;e++){var l=n.charCodeAt(e);if(l<128)t+=1;else if(l<2048)t+=2;else if(l<55296)t+=3;else{if(!(l<=57343))throw new Error("utf8: invalid string");if(e>=n.length-1)throw new Error("utf8: invalid string");e++,t+=4}}return t}t.encode=function(n){for(var t=new Uint8Array(i(n)),e=0,l=0;l<n.length;l++){var s=n.charCodeAt(l);s<128?t[e++]=s:s<2048?(t[e++]=192|s>>6,t[e++]=128|63&s):s<55296?(t[e++]=224|s>>12,t[e++]=128|s>>6&63,t[e++]=128|63&s):(l++,s=(1023&s)<<10,s|=1023&n.charCodeAt(l),t[e++]=240|(s+=65536)>>18,t[e++]=128|s>>12&63,t[e++]=128|s>>6&63,t[e++]=128|63&s)}return t},t.encodedLength=i,t.decode=function(n){for(var t=[],e=0;e<n.length;e++){var i=n[e];if(128&i){var s=void 0;if(i<224){if(e>=n.length)throw new Error(l);if(128!=(192&(o=n[++e])))throw new Error(l);i=(31&i)<<6|63&o,s=128}else if(i<240){if(e>=n.length-1)throw new Error(l);var o=n[++e],r=n[++e];if(128!=(192&o)||128!=(192&r))throw new Error(l);i=(15&i)<<12|(63&o)<<6|63&r,s=2048}else{if(!(i<248))throw new Error(l);
1if(e>=n.length-2)throw new Error(l);o=n[++e],r=n[++e];var a=n[++e];if(128!=(192&o)||128!=(192&r)||128!=(192&a))throw new Error(l);i=(15&i)<<18|(63&o)<<12|(63&r)<<6|63&a,s=65536}if(i<s||i>=55296&&i<=57343)throw new Error(l);if(i>=65536){if(i>1114111)throw new Error(l);i-=65536,t.push(String.fromCharCode(55296|i>>10)),i=56320|1023&i}}t.push(String.fromCharCode(i))}return t.join("")}},function(n,t,e){n.exports=e(3).default},function(n,t,e){"use strict";e.r(t);class l{constructor(n,t){this.lastId=0,this.prefix=n,this.name=t}create(n){this.lastId++;var t=this.lastId,e=this.prefix+t,l=this.name+"["+t+"]",i=!1,s=function(){i||(n.apply(null,arguments),i=!0)};return this[t]=s,{number:t,id:e,name:l,callback:s}}remove(n){delete this[n.number]}}var i=new l("_pusher_script_","Pusher.ScriptReceivers"),s={endpoint:"/pusher/user-auth",transport:"ajax"},o={endpoint:"/pusher/auth",transport:"ajax"},r=new l("_pusher_dependencies","Pusher.DependenciesReceivers"),a=new class{constructor(n){this.options=n,this.receivers=n.receivers||i,this.loading={}}load(n,t,e){var l=this;if(l.loading[n]&&l.loading[n].length>0)l.loading[n].push(e);else{l.loading[n]=[e];var i=ot.createScriptRequest(l.getPath(n,t)),s=l.receivers.create(function(t){if(l.receivers.remove(s),l.loading[n]){var e=l.loading[n];delete l.loading[n];for(var o=function(n){n||i.cleanup()},r=0;r<e.length;r++)e[r](t,o)}});i.send(s)}}getRoot(n){var t=ot.getDocument().location.protocol;return(n&&n.useTLS||"https:"===t?this.options.cdn_https:this.options.cdn_http).replace(/\/*$/,"")+"/"+this.options.version}getPath(n,t){return this.getRoot(t)+"/"+n+this.options.suffix+".js"}}({cdn_http:"http://js.pusher.com",cdn_https:"https://js.pusher.com",version:"8.4.0",suffix:"",receivers:r});const u={baseUrl:"https://pusher.com",urls:{authenticationEndpoint:{path:"/docs/channels/server_api/authenticating_users"},authorizationEndpoint:{path:"/docs/channels/server_api/authorizing-users/"},javascriptQuickStart:{path:"/docs/javascript_quick_start"},triggeringClientEvents:{path:"/docs/client_api_guide/client_events#trigger-events"},encryptedChannelSupport:{fullUrl:"https://github.com/pusher/pusher-js/tree/cc491015371a4bde5743d1c87a0fbac0feb53195#encrypted-channel-support"}}};var c,h=function(n){const t=u.urls[n];if(!t)return"";let e;return t.fullUrl?e=t.fullUrl:t.path&&(e=u.baseUrl+t.path),e?`See: ${e}`:""};!function(n){n.UserAuthentication="user-authentication",n.ChannelAuthorization="channel-authorization"}(c||(c={}));class d extends Error{constructor(n){super(n),Object.setPrototypeOf(this,new.target.prototype)}}
vendor: 1,274 bytes, line 1
1class p extends Error{constructor(n){super(n),Object.setPrototypeOf(this,new.target.prototype)}}class g extends Error{constructor(n){super(n),Object.setPrototypeOf(this,new.target.prototype)}}class b extends Error{constructor(n){super(n),Object.setPrototypeOf(this,new.target.prototype)}}class m extends Error{constructor(n){super(n),Object.setPrototypeOf(this,new.target.prototype)}}class v extends Error{constructor(n){super(n),Object.setPrototypeOf(this,new.target.prototype)}}class f extends Error{constructor(n){super(n),Object.setPrototypeOf(this,new.target.prototype)}}class y extends Error{constructor(n){super(n),Object.setPrototypeOf(this,new.target.prototype)}}class k extends Error{constructor(n,t){super(t),this.status=n,Object.setPrototypeOf(this,new.target.prototype)}}for(var w=function(n,t,e,l,i){const s=ot.createXHR();for(var o in s.open("POST",e.endpoint,!0),s.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),e.headers)s.setRequestHeader(o,e.headers[o]);if(null!=e.headersProvider){let n=e.headersProvider();for(var o in n)s.setRequestHeader(o,n[o])}return s.onreadystatechange=function(){if(4===s.readyState)if(200===s.status){let t,e=!1;try{t=JSON.parse(s.responseText),e=!0}catch(n){i(new k(200,`JSON returned from ${l.toString()}
1 endpoint was invalid, yet status code was 200. Data was: ${s.responseText}`),null)}e&&i(null,t)}else{let n="";switch(l){case c.UserAuthentication:n=h("authenticationEndpoint");break;case c.ChannelAuthorization:n=`Clients must be authorized to join private or presence channels. ${h("authorizationEndpoint")}`}i(new k(s.status,`Unable to retrieve auth string from ${l.toString()} endpoint - received status: ${s.status} from ${e.endpoint}. ${n}`),null)}},s.send(t),s},_=String.fromCharCode,x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",C={},S=0;S<64;S++)C[x.charAt(S)]=S;var M=function(n){var t=n.charCodeAt(0);return t<128?n:t<2048?_(192|t>>>6)+_(128|63&t):_(224|t>>>12&15)+_(128|t>>>6&63)+_(128|63&t)},O=function(n){var t=[0,2,1][n.length%3],e=n.charCodeAt(0)<<16|(n.length>1?n.charCodeAt(1):0)<<8|(n.length>2?n.charCodeAt(2):0);return[x.charAt(e>>>18),x.charAt(e>>>12&63),t>=2?"=":x.charAt(e>>>6&63),t>=1?"=":x.charAt(63&e)].join("")},P=window.btoa||function(n){return n.replace(/[\s\S]{1,3}/g,O)},T=class{constructor(n,t,e,l){this.clear=t,this.timer=n(()=>{this.timer&&(this.timer=l(this.timer))},e)}isRunning(){return null!==this.timer}ensureAborted(){this.timer&&(this.clear(this.timer),this.timer=null)}};function I(n){window.clearTimeout(n)}function L(n){window.clearInterval(n)}class N extends T{constructor(n,t){super(setTimeout,I,n,function(n){return t(),null})}}class A extends T{constructor(n,t){super(setInterval,L,n,function(n){return t(),n})}}var E={now:()=>Date.now?Date.now():(new Date).valueOf(),defer:n=>new N(0,n),method(n,...t){var e=Array.prototype.slice.call(arguments,1);return function(t){return t[n].apply(t,e.concat(arguments))}}},R=E;function H(n,...t){for(var e=0;e<t.length;e++){var l=t[e];for(var i in l)n[i]=l[i]&&l[i].constructor&&l[i].constructor===Object?H(n[i]||{},l[i]):l[i]}return n}function D(){for(var n=["Pusher"],t=0;t<arguments.length;t++)n.push("string"==typeof arguments[t]?arguments[t]:Z(arguments[t]));return n.join(" : ")}function U(n,t){var e=Array.prototype.indexOf;if(null===n)return-1;if(e&&n.indexOf===e)return n.indexOf(t);for(var l=0,i=n.length;l<i;l++)if(n[l]===t)return l;return-1}function B(n,t){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&t(n[e],e,n)}function j(n){var t=[];return B(n,function(n,e){t.push(e)}),t}function z(n,t,e){for(var l=0;l<n.length;l++)t.call(e||window,n[l],l,n)}function W(n,t){for(var e=[],l=0;l<n.length;l++)e.push(t(n[l],l,n,e));return e}function $(n,t){t=t||function(n){return!!n};for(var e=[],l=0;l<n.length;l++)t(n[l],l,n,e)&&e.push(n[l]);return e}function F(n,t){var e={};return B(n,function(l,i){(t&&t(l,i,n,e)||Boolean(l))&&(e[i]=l)}),e}function q(n,t){for(var e=0;e<n.length;e++)if(t(n[e],e,n))return!0;return!1}function Z(n){try{return JSON.stringify(n)}catch(l){return JSON.stringify((t=[],e=[],function n(l,i){var s,o,r;switch(typeof l){case"object":if(!l)return null;for(s=0;s<t.length;s+=1)if(t[s]===l)return{$ref:e[s]};if(t.push(l),e.push(i),"[object Array]"===Object.prototype.toString.apply(l))for(r=[],s=0;s<l.length;s+=1)r[s]=n(l[s],i+"["+s+"]");else for(o in r={},l)Object.prototype.hasOwnProperty.call(l,o)&&(r[o]=n(l[o],i+"["+JSON.stringify(o)+"]"));return r;case"number":case"string":case"boolean":return l}}(n,"$")))}var t,e}var J=new class{constructor(){this.globalLog=n=>{window.console&&window.console.log&&window.console.log(n)}}debug(...n){this.log(this.globalLog,n)}warn(...n){this.log(this.globalLogWarn,n)}error(...n){this.log(this.globalLogError,n)}globalLogWarn(n){window.console&&window.console.warn?window.console.warn(n):this.globalLog(n)}globalLogError(n){window.console&&window.console.error?window.console.error(n):this.globalLogWarn(n)}log(n,...t){var e=D.apply(this,arguments);xt.log?xt.log(e):xt.logToConsole&&n.bind(this)(e)}},K=function(n,t,e,l,i){void 0===e.headers&&null==e.headersProvider||J.warn(`To send headers with the ${l.toString()} request, you must use AJAX, rather than JSONP.`);var s=n.nextAuthCallbackID.toString();n.nextAuthCallbackID++;var o=n.getDocument(),r=o.createElement("script");n.auth_callbacks[s]=function(n){i(null,n)},r.src=e.endpoint+"?callback="+encodeURIComponent("Pusher.auth_callbacks['"+s+"']")+"&"+t;var a=o.getElementsByTagName("head")[0]||o.documentElement;a.insertBefore(r,a.firstChild)};class Q{constructor(n){this.src=n}send(n){var t=this,e="Error loading "+t.src;t.script=document.createElement("script"),t.script.id=n.id,t.script.src=t.src,t.script.type="text/javascript",t.script.charset="UTF-8",t.script.addEventListener?(t.script.onerror=function(){n.callback(e)},t.script.onload=function(){n.callback(null)}):t.script.onreadystatechange=function(){"loaded"!==t.script.readyState&&"complete"!==t.script.readyState||n.callback(null)},void 0===t.script.async&&document.attachEvent&&/opera/i.test(navigator.userAgent)?(t.errorScript=document.createElement("script"),t.errorScript.id=n.id+"_error",t.errorScript.text=n.name+"('"+e+"');",t.script.async=t.errorScript.async=!1):t.script.async=!0;var l=document.getElementsByTagName("head")[0];l.insertBefore(t.script,l.firstChild),t.errorScript&&l.insertBefore(t.errorScript,t.script.nextSibling)}cleanup(){this.script&&(this.script.onload=this.script.onerror=null,this.script.onreadystatechange=null),this.script&&this.script.parentNode&&this.script.parentNode.removeChild(this.script),this.errorScript&&this.errorScript.parentNode&&this.errorScript.parentNode.removeChild(this.errorScript),this.script=null,this.errorScript=null}}class X{constructor(n,t){this.url=n,this.data=t}send(n){if(!this.request){var t=W((e=function(n){return t=function(n){return"object"==typeof n&&(n=Z(n)),encodeURIComponent((t=n.toString(),P(t.replace(/[^\x00-\x7F]/g,M))));var t},e={},B(n,function(n,l){e[l]=t(n)}),e;var t,e}(F(this.data,function(n){return void 0!==n})),l=[],B(e,function(n,t){l.push([t,n])}),l),R.method("join","=")).join("&");this.request=ot.createScriptRequest(this.url+"/"+n.number+"?"+t),this.request.send(n)}var e,l}cleanup(){this.request&&this.request.cleanup()}}var V={name:"jsonp",getAgent:function(n,t){return function(e,l){var s=ot.createJSONPRequest("http"+(t?"s":"")+"://"+(n.host||n.options.host)+n.options.path,e),o=ot.ScriptReceivers.create(function(t,e){i.remove(o),s.cleanup(),e&&e.host&&(n.host=e.host),l&&l(t,e)});s.send(o)}}};function Y(n,t,e){return n+(t.useTLS?"s":"")+"://"+(t.useTLS?t.hostTLS:t.hostNonTLS)+e}
vendor: 5,781 bytes, line 1
1function G(n,t){return"/app/"+n+"?protocol=7&client=js&version=8.4.0"+(t?"&"+t:"")}var nn={getInitial:function(n,t){return Y("ws",t,(t.httpPath||"")+G(n,"flash=false"))}},tn={getInitial:function(n,t){return Y("http",t,(t.httpPath||"/pusher")+G(n))}},en={getInitial:function(n,t){return Y("http",t,t.httpPath||"/pusher")},getPath:function(n,t){return G(n)}};class ln{constructor(){this._callbacks={}}get(n){return this._callbacks[sn(n)]}add(n,t,e){var l=sn(n);this._callbacks[l]=this._callbacks[l]||[],this._callbacks[l].push({fn:t,context:e})}remove(n,t,e){if(n||t||e){var l=n?[sn(n)]:j(this._callbacks);t||e?this.removeCallback(l,t,e):this.removeAllCallbacks(l)}else this._callbacks={}}removeCallback(n,t,e){z(n,function(n){this._callbacks[n]=$(this._callbacks[n]||[],function(n){return t&&t!==n.fn||e&&e!==n.context}),0===this._callbacks[n].length&&delete this._callbacks[n]},this)}removeAllCallbacks(n){z(n,function(n){delete this._callbacks[n]},this)}}function sn(n){return"_"+n}class on{constructor(n){this.callbacks=new ln,this.global_callbacks=[],this.failThrough=n}bind(n,t,e){return this.callbacks.add(n,t,e),this}bind_global(n){return this.global_callbacks.push(n),this}unbind(n,t,e){return this.callbacks.remove(n,t,e),this}unbind_global(n){return n?(this.global_callbacks=$(this.global_callbacks||[],t=>t!==n),this):(this.global_callbacks=[],this)}unbind_all(){return this.unbind(),this.unbind_global(),this}emit(n,t,e){for(var l=0;l<this.global_callbacks.length;l++)this.global_callbacks[l](n,t);var i=this.callbacks.get(n),s=[];if(e?s.push(t,e):t&&s.push(t),i&&i.length>0)for(l=0;l<i.length;l++)i[l].fn.apply(i[l].context||window,s);else this.failThrough&&this.failThrough(n,t);return this}}class rn extends on{constructor(n,t,e,l,i){super(),this.initialize=ot.transportConnectionInitializer,this.hooks=n,this.name=t,this.priority=e,this.key=l,this.options=i,this.state="new",this.timeline=i.timeline,this.activityTimeout=i.activityTimeout,this.id=this.timeline.generateUniqueID()}handlesActivityChecks(){return Boolean(this.hooks.handlesActivityChecks)}supportsPing(){return Boolean(this.hooks.supportsPing)}connect(){if(this.socket||"initialized"!==this.state)return!1;var n=this.hooks.urls.getInitial(this.key,this.options);try{this.socket=this.hooks.getSocket(n,this.options)}catch(t){return R.defer(()=>{this.onError(t),this.changeState("closed")}),!1}return this.bindListeners(),J.debug("Connecting",{transport:this.name,url:n}),this.changeState("connecting"),!0}close(){return!!this.socket&&(this.socket.close(),!0)}send(n){return"open"===this.state&&(R.defer(()=>{this.socket&&this.socket.send(n)}),!0)}ping(){"open"===this.state&&this.supportsPing()&&this.socket.ping()}onOpen(){this.hooks.beforeOpen&&this.hooks.beforeOpen(this.socket,this.hooks.urls.getPath(this.key,this.options)),this.changeState("open"),this.socket.onopen=void 0}onError(n){this.emit("error",{type:"WebSocketError",error:n}),this.timeline.error(this.buildTimelineMessage({error:n.toString()}))}onClose(n){n?this.changeState("closed",{code:n.code,reason:n.reason,wasClean:n.wasClean}):this.changeState("closed"),this.unbindListeners(),this.socket=void 0}onMessage(n){this.emit("message",n)}onActivity(){this.emit("activity")}bindListeners(){this.socket.onopen=()=>{this.onOpen()},this.socket.onerror=n=>{this.onError(n)},this.socket.onclose=n=>{this.onClose(n)},this.socket.onmessage=n=>{this.onMessage(n)},this.supportsPing()&&(this.socket.onactivity=()=>{this.onActivity()})}unbindListeners(){this.socket&&(this.socket.onopen=void 0,this.socket.onerror=void 0,this.socket.onclose=void 0,this.socket.onmessage=void 0,this.supportsPing()&&(this.socket.onactivity=void 0))}changeState(n,t){this.state=n,this.timeline.info(this.buildTimelineMessage({state:n,params:t})),this.emit(n,t)}buildTimelineMessage(n){return H({cid:this.id},n)}}class an{constructor(n){this.hooks=n}isSupported(n){return this.hooks.isSupported(n)}createConnection(n,t,e,l){return new rn(this.hooks,n,t,e,l)}}var un=new an({urls:nn,handlesActivityChecks:!1,supportsPing:!1,isInitialized:function(){return Boolean(ot.getWebSocketAPI())},isSupported:function(){return Boolean(ot.getWebSocketAPI())},getSocket:function(n){return ot.createWebSocket(n)}}),cn={urls:tn,handlesActivityChecks:!1,supportsPing:!0,isInitialized:function(){return!0}},hn=H({getSocket:function(n){return ot.HTTPFactory.createStreamingSocket(n)}},cn),dn=H({getSocket:function(n){return ot.HTTPFactory.createPollingSocket(n)}},cn),pn={isSupported:function(){return ot.isXHRSupported()}},gn={ws:un,xhr_streaming:new an(H({},hn,pn)),xhr_polling:new an(H({},dn,pn))},bn=new an({file:"sockjs",urls:en,handlesActivityChecks:!0,supportsPing:!1,isSupported:function(){return!0},isInitialized:function(){return void 0!==window.SockJS},getSocket:function(n,t){return new window.SockJS(n,null,{js_path:a.getPath("sockjs",{useTLS:t.useTLS}),ignore_null_origin:t.ignoreNullOrigin})},beforeOpen:function(n,t){n.send(JSON.stringify({path:t}))}}),mn={isSupported:function(n){return ot.isXDRSupported(n.useTLS)}},vn=new an(H({},hn,mn)),fn=new an(H({},dn,mn));gn.xdr_streaming=vn,gn.xdr_polling=fn,gn.sockjs=bn;var yn=gn,kn=new class extends on{constructor(){super();var n=this;void 0!==window.addEventListener&&(window.addEventListener("online",function(){n.emit("online")},!1),window.addEventListener("offline",function(){n.emit("offline")},!1))}isOnline(){return void 0===window.navigator.onLine||window.navigator.onLine}};class wn{constructor(n,t,e){this.manager=n,this.transport=t,this.minPingDelay=e.minPingDelay,this.maxPingDelay=e.maxPingDelay,this.pingDelay=void 0}createConnection(n,t,e,l){l=H({},l,{activityTimeout:this.pingDelay});var i=this.transport.createConnection(n,t,e,l),s=null,o=function(){i.unbind("open",o),i.bind("closed",r),s=R.now()},r=n=>
vendor: 17,992 bytes, line 1
1{if(i.unbind("closed",r),1002===n.code||1003===n.code)this.manager.reportDeath();else if(!n.wasClean&&s){var t=R.now()-s;t<2*this.maxPingDelay&&(this.manager.reportDeath(),this.pingDelay=Math.max(t/2,this.minPingDelay))}};return i.bind("open",o),i}isSupported(n){return this.manager.isAlive()&&this.transport.isSupported(n)}}const _n={decodeMessage:function(n){try{var t=JSON.parse(n.data),e=t.data;if("string"==typeof e)try{e=JSON.parse(t.data)}catch(i){}var l={event:t.event,channel:t.channel,data:e};return t.user_id&&(l.user_id=t.user_id),l}catch(i){throw{type:"MessageParseError",error:i,data:n.data}}},encodeMessage:function(n){return JSON.stringify(n)},processHandshake:function(n){var t=_n.decodeMessage(n);if("pusher:connection_established"===t.event){if(!t.data.activity_timeout)throw"No activity timeout specified in handshake";return{action:"connected",id:t.data.socket_id,activityTimeout:1e3*t.data.activity_timeout}}if("pusher:error"===t.event)return{action:this.getCloseAction(t.data),error:this.getCloseError(t.data)};throw"Invalid handshake"},getCloseAction:function(n){return n.code<4e3?n.code>=1002&&n.code<=1004?"backoff":null:4e3===n.code?"tls_only":n.code<4100?"refused":n.code<4200?"backoff":n.code<4300?"retry":"refused"},getCloseError:function(n){return 1e3!==n.code&&1001!==n.code?{type:"PusherError",data:{code:n.code,message:n.reason||n.message}}:null}};var xn=_n;class Cn extends on{constructor(n,t){super(),this.id=n,this.transport=t,this.activityTimeout=t.activityTimeout,this.bindListeners()}handlesActivityChecks(){return this.transport.handlesActivityChecks()}send(n){return this.transport.send(n)}send_event(n,t,e){var l={event:n,data:t};return e&&(l.channel=e),J.debug("Event sent",l),this.send(xn.encodeMessage(l))}ping(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})}close(){this.transport.close()}bindListeners(){var n={message:n=>{var t;try{t=xn.decodeMessage(n)}catch(e){this.emit("error",{type:"MessageParseError",error:e,data:n.data})}if(void 0!==t){switch(J.debug("Event recd",t),t.event){case"pusher:error":this.emit("error",{type:"PusherError",data:t.data});break;case"pusher:ping":this.emit("ping");break;case"pusher:pong":this.emit("pong")}this.emit("message",t)}},activity:()=>{this.emit("activity")},error:n=>{this.emit("error",n)},closed:n=>{t(),n&&n.code&&this.handleCloseEvent(n),this.transport=null,this.emit("closed")}},t=()=>{B(n,(n,t)=>{this.transport.unbind(t,n)})};B(n,(n,t)=>{this.transport.bind(t,n)})}handleCloseEvent(n){var t=xn.getCloseAction(n),e=xn.getCloseError(n);e&&this.emit("error",e),t&&this.emit(t,{action:t,error:e})}}class Sn{constructor(n,t){this.transport=n,this.callback=t,this.bindListeners()}close(){this.unbindListeners(),this.transport.close()}bindListeners(){this.onMessage=n=>{var t;this.unbindListeners();try{t=xn.processHandshake(n)}catch(e){return this.finish("error",{error:e}),void this.transport.close()}"connected"===t.action?this.finish("connected",{connection:new Cn(t.id,this.transport),activityTimeout:t.activityTimeout}):(this.finish(t.action,{error:t.error}),this.transport.close())},this.onClosed=n=>{this.unbindListeners();var t=xn.getCloseAction(n)||"backoff",e=xn.getCloseError(n);this.finish(t,{error:e})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)}unbindListeners(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)}finish(n,t){this.callback(H({transport:this.transport,action:n},t))}}class Mn{constructor(n,t){this.timeline=n,this.options=t||{}}send(n,t){this.timeline.isEmpty()||this.timeline.send(ot.TimelineTransport.getAgent(this,n),t)}}class On extends on{constructor(n,t){super(function(t,e){J.debug("No callbacks on "+n+" for "+t)}),this.name=n,this.pusher=t,this.subscribed=!1,this.subscriptionPending=!1,this.subscriptionCancelled=!1}authorize(n,t){return t(null,{auth:""})}trigger(n,t){if(0!==n.indexOf("client-"))throw new d("Event '"+n+"' does not start with 'client-'");if(!this.subscribed){var e=h("triggeringClientEvents");J.warn(`Client event triggered before channel 'subscription_succeeded' event . ${e}`)}return this.pusher.send_event(n,t,this.name)}disconnect(){this.subscribed=!1,this.subscriptionPending=!1}handleEvent(n){var t=n.event,e=n.data;"pusher_internal:subscription_succeeded"===t?this.handleSubscriptionSucceededEvent(n):"pusher_internal:subscription_count"===t?this.handleSubscriptionCountEvent(n):0!==t.indexOf("pusher_internal:")&&this.emit(t,e,{})}handleSubscriptionSucceededEvent(n){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",n.data)}handleSubscriptionCountEvent(n){n.data.subscription_count&&(this.subscriptionCount=n.data.subscription_count),this.emit("pusher:subscription_count",n.data)}subscribe(){this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,(n,t)=>{n?(this.subscriptionPending=!1,J.error(n.toString()),this.emit("pusher:subscription_error",Object.assign({},{type:"AuthError",error:n.message},n instanceof k?{status:n.status}:{}))):this.pusher.send_event("pusher:subscribe",{auth:t.auth,channel_data:t.channel_data,channel:this.name})}))}unsubscribe(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})}cancelSubscription(){this.subscriptionCancelled=!0}reinstateSubscription(){this.subscriptionCancelled=!1}}class Pn extends On{authorize(n,t){return this.pusher.config.channelAuthorizer({channelName:this.name,socketId:n},t)}}class Tn{constructor(){this.reset()}get(n){return Object.prototype.hasOwnProperty.call(this.members,n)?{id:n,info:this.members[n]}:null}each(n){B(this.members,(t,e)=>{n(this.get(e))})}setMyID(n){this.myID=n}onSubscription(n){this.members=n.presence.hash,this.count=n.presence.count,this.me=this.get(this.myID)}addMember(n){return null===this.get(n.user_id)&&this.count++,this.members[n.user_id]=n.user_info,this.get(n.user_id)}removeMember(n){var t=this.get(n.user_id);return t&&(delete this.members[n.user_id],this.count--),t}reset(){this.members={},this.count=0,this.myID=null,this.me=null}}class In extends Pn{constructor(n,t){super(n,t),this.members=new Tn}authorize(n,t){super.authorize(n,(n,e)=>{return l=this,s=function*(){if(!n)if(null!=e.channel_data){var l=JSON.parse(e.channel_data);this.members.setMyID(l.user_id)}else{if(yield this.pusher.user.signinDonePromise,null==this.pusher.user.user_data){let n=h("authorizationEndpoint");return J.error(`Invalid auth response for channel '${this.name}', expected 'channel_data' field. ${n}, or the user should be signed in.`),void t("Invalid auth response")}this.members.setMyID(this.pusher.user.user_data.id)}t(n,e)},new((i=void 0)||(i=Promise))(function(n,t){function e(n){try{r(s.next(n))}catch(e){t(e)}}function o(n){try{r(s.throw(n))}catch(e){t(e)}}function r(t){var l;t.done?n(t.value):(l=t.value,l instanceof i?l:new i(function(n){n(l)})).then(e,o)}r((s=s.apply(l,[])).next())});var l,i,s})}handleEvent(n){var t=n.event;if(0===t.indexOf("pusher_internal:"))this.handleInternalEvent(n);else{var e=n.data,l={};n.user_id&&(l.user_id=n.user_id),this.emit(t,e,l)}}handleInternalEvent(n){var t=n.data;switch(n.event){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(n);break;case"pusher_internal:subscription_count":this.handleSubscriptionCountEvent(n);break;case"pusher_internal:member_added":var e=this.members.addMember(t);this.emit("pusher:member_added",e);break;case"pusher_internal:member_removed":var l=this.members.removeMember(t);l&&this.emit("pusher:member_removed",l)}}handleSubscriptionSucceededEvent(n){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):(this.members.onSubscription(n.data),this.emit("pusher:subscription_succeeded",this.members))}disconnect(){this.members.reset(),super.disconnect()}}var Ln=e(1),Nn=e(0);class An extends Pn{constructor(n,t,e){super(n,t),this.key=null,this.nacl=e}authorize(n,t){super.authorize(n,(n,e)=>{if(n)return void t(n,e);let l=e.shared_secret;l?(this.key=Object(Nn.decode)(l),delete e.shared_secret,t(null,e)):t(new Error(`No shared_secret key in auth payload for encrypted channel: ${this.name}`),null)})}trigger(n,t){throw new v("Client events are not currently supported for encrypted channels")}handleEvent(n){var t=n.event,e=n.data;0!==t.indexOf("pusher_internal:")&&0!==t.indexOf("pusher:")?this.handleEncryptedEvent(t,e):super.handleEvent(n)}handleEncryptedEvent(n,t){if(!this.key)return void J.debug("Received encrypted event before key has been retrieved from the authEndpoint");if(!t.ciphertext||!t.nonce)return void J.error("Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: "+t);let e=Object(Nn.decode)(t.ciphertext);if(e.length<this.nacl.secretbox.overheadLength)return void J.error(`Expected encrypted event ciphertext length to be ${this.nacl.secretbox.overheadLength}, got: ${e.length}`);let l=Object(Nn.decode)(t.nonce);if(l.length<this.nacl.secretbox.nonceLength)return void J.error(`Expected encrypted event nonce length to be ${this.nacl.secretbox.nonceLength}, got: ${l.length}`);let i=this.nacl.secretbox.open(e,l,this.key);if(null===i)return J.debug("Failed to decrypt an event, probably because it was encrypted with a different key. Fetching a new key from the authEndpoint..."),void this.authorize(this.pusher.connection.socket_id,(t,s)=>{t?J.error(`Failed to make a request to the authEndpoint: ${s}. Unable to fetch new key, so dropping encrypted event`):(i=this.nacl.secretbox.open(e,l,this.key),null!==i?this.emit(n,this.getDataToEmit(i)):J.error("Failed to decrypt event with new key. Dropping encrypted event"))});this.emit(n,this.getDataToEmit(i))}getDataToEmit(n){let t=Object(Ln.decode)(n);try{return JSON.parse(t)}catch(e){return t}}}class En extends on{constructor(n,t){super(),this.state="initialized",this.connection=null,this.key=n,this.options=t,this.timeline=this.options.timeline,this.usingTLS=this.options.useTLS,this.errorCallbacks=this.buildErrorCallbacks(),this.connectionCallbacks=this.buildConnectionCallbacks(this.errorCallbacks),this.handshakeCallbacks=this.buildHandshakeCallbacks(this.errorCallbacks);var e=ot.getNetwork();e.bind("online",()=>{this.timeline.info({netinfo:"online"}),"connecting"!==this.state&&"unavailable"!==this.state||this.retryIn(0)}),e.bind("offline",()=>{this.timeline.info({netinfo:"offline"}),this.connection&&this.sendActivityCheck()}),this.updateStrategy()}connect(){this.connection||this.runner||(this.strategy.isSupported()?(this.updateState("connecting"),this.startConnecting(),this.setUnavailableTimer()):this.updateState("failed"))}send(n){return!!this.connection&&this.connection.send(n)}send_event(n,t,e){return!!this.connection&&this.connection.send_event(n,t,e)}disconnect(){this.disconnectInternally(),this.updateState("disconnected")}isUsingTLS(){return this.usingTLS}startConnecting(){var n=(t,e)=>{t?this.runner=this.strategy.connect(0,n):"error"===e.action?(this.emit("error",{type:"HandshakeError",error:e.error}),this.timeline.error({handshakeError:e.error})):(this.abortConnecting(),this.handshakeCallbacks[e.action](e))};this.runner=this.strategy.connect(0,n)}abortConnecting(){this.runner&&(this.runner.abort(),this.runner=null)}disconnectInternally(){this.abortConnecting(),this.clearRetryTimer(),this.clearUnavailableTimer(),this.connection&&this.abandonConnection().close()}updateStrategy(){this.strategy=this.options.getStrategy({key:this.key,timeline:this.timeline,useTLS:this.usingTLS})}retryIn(n){this.timeline.info({action:"retry",delay:n}),n>0&&this.emit("connecting_in",Math.round(n/1e3)),this.retryTimer=new N(n||0,()=>{this.disconnectInternally(),this.connect()})}clearRetryTimer(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)}setUnavailableTimer(){this.unavailableTimer=new N(this.options.unavailableTimeout,()=>{this.updateState("unavailable")})}clearUnavailableTimer(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()}sendActivityCheck(){this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new N(this.options.pongTimeout,()=>{this.timeline.error({pong_timed_out:this.options.pongTimeout}),this.retryIn(0)})}resetActivityCheck(){this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new N(this.activityTimeout,()=>{this.sendActivityCheck()}))}stopActivityCheck(){this.activityTimer&&this.activityTimer.ensureAborted()}buildConnectionCallbacks(n){return H({},n,{message:n=>{this.resetActivityCheck(),this.emit("message",n)},ping:()=>{this.send_event("pusher:pong",{})},activity:()=>{this.resetActivityCheck()},error:n=>{this.emit("error",n)},closed:()=>{this.abandonConnection(),this.shouldRetry()&&this.retryIn(1e3)}})}buildHandshakeCallbacks(n){return H({},n,{connected:n=>{this.activityTimeout=Math.min(this.options.activityTimeout,n.activityTimeout,n.connection.activityTimeout||1/0),this.clearUnavailableTimer(),this.setConnection(n.connection),this.socket_id=this.connection.id,this.updateState("connected",{socket_id:this.socket_id})}})}buildErrorCallbacks(){let n=n=>t=>{t.error&&this.emit("error",{type:"WebSocketError",error:t.error}),n(t)};return{tls_only:n(()=>{this.usingTLS=!0,this.updateStrategy(),this.retryIn(0)}),refused:n(()=>{this.disconnect()}),backoff:n(()=>{this.retryIn(1e3)}),retry:n(()=>{this.retryIn(0)})}}setConnection(n){for(var t in this.connection=n,this.connectionCallbacks)this.connection.bind(t,this.connectionCallbacks[t]);this.resetActivityCheck()}abandonConnection(){if(this.connection){for(var n in this.stopActivityCheck(),this.connectionCallbacks)this.connection.unbind(n,this.connectionCallbacks[n]);var t=this.connection;return this.connection=null,t}}updateState(n,t){var e=this.state;if(this.state=n,e!==n){var l=n;"connected"===l&&(l+=" with new socket ID "+t.socket_id),J.debug("State changed",e+" -> "+l),this.timeline.info({state:n,params:t}),this.emit("state_change",{previous:e,current:n}),this.emit(n,t)}}shouldRetry(){return"connecting"===this.state||"connected"===this.state}}class Rn{constructor(){this.channels={}}add(n,t){return this.channels[n]||(this.channels[n]=function(n,t){if(0===n.indexOf("private-encrypted-")){if(t.config.nacl)return Hn.createEncryptedChannel(n,t,t.config.nacl);let e="Tried to subscribe to a private-encrypted- channel but no nacl implementation available",l=h("encryptedChannelSupport");throw new v(`${e}. ${l}`)}if(0===n.indexOf("private-"))return Hn.createPrivateChannel(n,t);if(0===n.indexOf("presence-"))return Hn.createPresenceChannel(n,t);if(0===n.indexOf("#"))throw new p('Cannot create a channel with name "'+n+'".');return Hn.createChannel(n,t)}(n,t)),this.channels[n]}all(){return n=[],B(this.channels,function(t){n.push(t)}),n;var n}find(n){return this.channels[n]}remove(n){var t=this.channels[n];return delete this.channels[n],t}disconnect(){B(this.channels,function(n){n.disconnect()})}}var Hn={createChannels:()=>new Rn,createConnectionManager:(n,t)=>new En(n,t),createChannel:(n,t)=>new On(n,t),createPrivateChannel:(n,t)=>new Pn(n,t),createPresenceChannel:(n,t)=>new In(n,t),createEncryptedChannel:(n,t,e)=>new An(n,t,e),createTimelineSender:(n,t)=>new Mn(n,t),createHandshake:(n,t)=>new Sn(n,t),createAssistantToTheTransportManager:(n,t,e)=>new wn(n,t,e)};class Dn{constructor(n){this.options=n||{},this.livesLeft=this.options.lives||1/0}getAssistant(n){return Hn.createAssistantToTheTransportManager(this,n,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})}isAlive(){return this.livesLeft>0}reportDeath(){this.livesLeft-=1}}class Un{constructor(n,t){this.strategies=n,this.loop=Boolean(t.loop),this.failFast=Boolean(t.failFast),this.timeout=t.timeout,this.timeoutLimit=t.timeoutLimit}isSupported(){return q(this.strategies,R.method("isSupported"))}connect(n,t){var e=this.strategies,l=0,i=this.timeout,s=null,o=(r,a)=>{a?t(null,a):(l+=1,this.loop&&(l%=e.length),l<e.length?(i&&(i*=2,this.timeoutLimit&&(i=Math.min(i,this.timeoutLimit))),s=this.tryStrategy(e[l],n,{timeout:i,failFast:this.failFast},o)):t(!0))};return s=this.tryStrategy(e[l],n,{timeout:i,failFast:this.failFast},o),{abort:function(){s.abort()},forceMinPriority:function(t){n=t,s&&s.forceMinPriority(t)}}}tryStrategy(n,t,e,l){var i=null,s=null;return e.timeout>0&&(i=new N(e.timeout,function(){s.abort(),l(!0)})),s=n.connect(t,function(n,t){n&&i&&i.isRunning()&&!e.failFast||(i&&i.ensureAborted(),l(n,t))}),{abort:function(){i&&i.ensureAborted(),s.abort()},forceMinPriority:function(n){s.forceMinPriority(n)}}}}class Bn{constructor(n){this.strategies=n}isSupported(){return q(this.strategies,R.method("isSupported"))}connect(n,t){return function(n,e){var l=W(n,function(n,l,i,s){return n.connect(e,function(n,e){return function(l,i){e[n].error=l,l?function(n){return function(n,t){for(var e=0;e<n.length;e++)if(!t(n[e]))return!1;return!0}(n,function(n){return Boolean(n.error)})}(e)&&t(!0):(z(e,function(n){n.forceMinPriority(i.transport.priority)}),t(null,i))}}(l,s))});return{abort:function(){z(l,jn)},forceMinPriority:function(n){z(l,function(t){t.forceMinPriority(n)})}}}(this.strategies,n)}}function jn(n){n.error||n.aborted||(n.abort(),n.aborted=!0)}class zn{constructor(n,t,e){this.strategy=n,this.transports=t,this.ttl=e.ttl||18e5,this.usingTLS=e.useTLS,this.timeline=e.timeline}isSupported(){return this.strategy.isSupported()}connect(n,t){var e=this.usingTLS,l=function(n){var t=ot.getLocalStorage();if(t)try{var e=t[Wn(n)];if(e)return JSON.parse(e)}catch(l){$n(n)}return null}(e),i=l&&l.cacheSkipCount?l.cacheSkipCount:0,s=[this.strategy];if(l&&l.timestamp+this.ttl>=R.now()){var o=this.transports[l.transport];o&&(["ws","wss"].includes(l.transport)||i>3?(this.timeline.info({cached:!0,transport:l.transport,latency:l.latency}),s.push(new Un([o],{timeout:2*l.latency+1e3,failFast:!0}))):i++)}
vendor: 14,207 bytes, line 1
1var r=R.now(),a=s.pop().connect(n,function l(o,u){o?($n(e),s.length>0?(r=R.now(),a=s.pop().connect(n,l)):t(o)):(function(n,t,e,l){var i=ot.getLocalStorage();if(i)try{i[Wn(n)]=Z({timestamp:R.now(),transport:t,latency:e,cacheSkipCount:l})}catch(s){}}(e,u.transport.name,R.now()-r,i),t(null,u))});return{abort:function(){a.abort()},forceMinPriority:function(t){n=t,a&&a.forceMinPriority(t)}}}}function Wn(n){return"pusherTransport"+(n?"TLS":"NonTLS")}function $n(n){var t=ot.getLocalStorage();if(t)try{delete t[Wn(n)]}catch(e){}}class Fn{constructor(n,{delay:t}){this.strategy=n,this.options={delay:t}}isSupported(){return this.strategy.isSupported()}connect(n,t){var e,l=this.strategy,i=new N(this.options.delay,function(){e=l.connect(n,t)});return{abort:function(){i.ensureAborted(),e&&e.abort()},forceMinPriority:function(t){n=t,e&&e.forceMinPriority(t)}}}}class qn{constructor(n,t,e){this.test=n,this.trueBranch=t,this.falseBranch=e}isSupported(){return(this.test()?this.trueBranch:this.falseBranch).isSupported()}connect(n,t){return(this.test()?this.trueBranch:this.falseBranch).connect(n,t)}}class Zn{constructor(n){this.strategy=n}isSupported(){return this.strategy.isSupported()}connect(n,t){var e=this.strategy.connect(n,function(n,l){l&&e.abort(),t(n,l)});return e}}function Jn(n){return function(){return n.isSupported()}}var Kn,Qn={getRequest:function(n){var t=new window.XDomainRequest;return t.ontimeout=function(){n.emit("error",new g),n.close()},t.onerror=function(t){n.emit("error",t),n.close()},t.onprogress=function(){t.responseText&&t.responseText.length>0&&n.onChunk(200,t.responseText)},t.onload=function(){t.responseText&&t.responseText.length>0&&n.onChunk(200,t.responseText),n.emit("finished",200),n.close()},t},abortRequest:function(n){n.ontimeout=n.onerror=n.onprogress=n.onload=null,n.abort()}};class Xn extends on{constructor(n,t,e){super(),this.hooks=n,this.method=t,this.url=e}start(n){this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=()=>{this.close()},ot.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(n)}close(){this.unloader&&(ot.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)}onChunk(n,t){for(;;){var e=this.advanceBuffer(t);if(!e)break;this.emit("chunk",{status:n,data:e})}this.isBufferTooLong(t)&&this.emit("buffer_too_long")}advanceBuffer(n){var t=n.slice(this.position),e=t.indexOf("\n");return-1!==e?(this.position+=e+1,t.slice(0,e)):null}isBufferTooLong(n){return this.position===n.length&&n.length>262144}}!function(n){n[n.CONNECTING=0]="CONNECTING",n[n.OPEN=1]="OPEN",n[n.CLOSED=3]="CLOSED"}(Kn||(Kn={}));var Vn=Kn,Yn=1;function Gn(n){var t=-1===n.indexOf("?")?"?":"&";return n+t+"t="+ +new Date+"&n="+Yn++}function nt(n){return ot.randomInt(n)}var tt,et=class{constructor(n,t){this.hooks=n,this.session=nt(1e3)+"/"+function(){for(var n=[],t=0;t<8;t++)n.push(nt(32).toString(32));return n.join("")}(),this.location=function(n){var t=/([^\?]*)\/*(\??.*)/.exec(n);return{base:t[1],queryString:t[2]}}(t),this.readyState=Vn.CONNECTING,this.openStream()}send(n){return this.sendRaw(JSON.stringify([n]))}ping(){this.hooks.sendHeartbeat(this)}close(n,t){this.onClose(n,t,!0)}sendRaw(n){if(this.readyState!==Vn.OPEN)return!1;try{return ot.createSocketRequest("POST",Gn((t=this.location,e=this.session,t.base+"/"+e+"/xhr_send"))).start(n),!0}catch(l){return!1}var t,e}reconnect(){this.closeStream(),this.openStream()}onClose(n,t,e){this.closeStream(),this.readyState=Vn.CLOSED,this.onclose&&this.onclose({code:n,reason:t,wasClean:e})}onChunk(n){var t;if(200===n.status)switch(this.readyState===Vn.OPEN&&this.onActivity(),n.data.slice(0,1)){case"o":t=JSON.parse(n.data.slice(1)||"{}"),this.onOpen(t);break;case"a":t=JSON.parse(n.data.slice(1)||"[]");for(var e=0;e<t.length;e++)this.onEvent(t[e]);break;case"m":t=JSON.parse(n.data.slice(1)||"null"),this.onEvent(t);break;case"h":this.hooks.onHeartbeat(this);break;case"c":t=JSON.parse(n.data.slice(1)||"[]"),this.onClose(t[0],t[1],!0)}}onOpen(n){var t,e;this.readyState===Vn.CONNECTING?(n&&n.hostname&&(this.location.base=(t=n.hostname,(e=/(https?:\/\/)([^\/:]+)((\/|:)?.*)/.exec(this.location.base))[1]+t+e[3])),this.readyState=Vn.OPEN,this.onopen&&this.onopen()):this.onClose(1006,"Server lost session",!0)}onEvent(n){this.readyState===Vn.OPEN&&this.onmessage&&this.onmessage({data:n})}onActivity(){this.onactivity&&this.onactivity()}onError(n){this.onerror&&this.onerror(n)}openStream(){this.stream=ot.createSocketRequest("POST",Gn(this.hooks.getReceiveURL(this.location,this.session))),this.stream.bind("chunk",n=>{this.onChunk(n)}),this.stream.bind("finished",n=>{this.hooks.onFinished(this,n)}),this.stream.bind("buffer_too_long",()=>{this.reconnect()});try{this.stream.start()}catch(n){R.defer(()=>{this.onError(n),this.onClose(1006,"Could not start streaming",!1)})}}closeStream(){this.stream&&(this.stream.unbind_all(),this.stream.close(),this.stream=null)}},lt={getReceiveURL:function(n,t){return n.base+"/"+t+"/xhr_streaming"+n.queryString},onHeartbeat:function(n){n.sendRaw("[]")},sendHeartbeat:function(n){n.sendRaw("[]")},onFinished:function(n,t){n.onClose(1006,"Connection interrupted ("+t+")",!1)}},it={getReceiveURL:function(n,t){return n.base+"/"+t+"/xhr"+n.queryString},onHeartbeat:function(){},sendHeartbeat:function(n){n.sendRaw("[]")},onFinished:function(n,t){200===t?n.reconnect():n.onClose(1006,"Connection interrupted ("+t+")",!1)}},st={getRequest:function(n){var t=new(ot.getXHRAPI());return t.onreadystatechange=t.onprogress=function(){switch(t.readyState){case 3:t.responseText&&t.responseText.length>0&&n.onChunk(t.status,t.responseText);break;case 4:t.responseText&&t.responseText.length>0&&n.onChunk(t.status,t.responseText),n.emit("finished",t.status),n.close()}},t},abortRequest:function(n){n.onreadystatechange=null,n.abort()}},ot={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:i,DependenciesReceivers:r,getDefaultStrategy:function(n,t,e){var l={};function i(t,i,s,o,r){var a=e(n,t,i,s,o,r);return l[t]=a,a}var s,o=Object.assign({},t,{hostNonTLS:n.wsHost+":"+n.wsPort,hostTLS:n.wsHost+":"+n.wssPort,httpPath:n.wsPath}),r=Object.assign({},o,{useTLS:!0}),a=Object.assign({},t,{hostNonTLS:n.httpHost+":"+n.httpPort,hostTLS:n.httpHost+":"+n.httpsPort,httpPath:n.httpPath}),u={loop:!0,timeout:15e3,timeoutLimit:6e4},c=new Dn({minPingDelay:1e4,maxPingDelay:n.activityTimeout}),h=new Dn({lives:2,minPingDelay:1e4,maxPingDelay:n.activityTimeout}),d=i("ws","ws",3,o,c),p=i("wss","ws",3,r,c),g=i("sockjs","sockjs",1,a),b=i("xhr_streaming","xhr_streaming",1,a,h),m=i("xdr_streaming","xdr_streaming",1,a,h),v=i("xhr_polling","xhr_polling",1,a),f=i("xdr_polling","xdr_polling",1,a),y=new Un([d],u),k=new Un([p],u),w=new Un([g],u),_=new Un([new qn(Jn(b),b,m)],u),x=new Un([new qn(Jn(v),v,f)],u),C=new Un([new qn(Jn(_),new Bn([_,new Fn(x,{delay:4e3})]),x)],u),S=new qn(Jn(C),C,w);return s=new Bn(t.useTLS?[y,new Fn(S,{delay:2e3})]:[y,new Fn(k,{delay:2e3}),new Fn(S,{delay:5e3})]),new zn(new Zn(new qn(Jn(d),s,S)),l,{ttl:18e5,timeline:t.timeline,useTLS:t.useTLS})},Transports:yn,transportConnectionInitializer:function(){var n=this;n.timeline.info(n.buildTimelineMessage({transport:n.name+(n.options.useTLS?"s":"")})),n.hooks.isInitialized()?n.changeState("initialized"):n.hooks.file?(n.changeState("initializing"),a.load(n.hooks.file,{useTLS:n.options.useTLS},function(t,e){n.hooks.isInitialized()?(n.changeState("initialized"),e(!0)):(t&&n.onError(t),n.onClose(),e(!1))})):n.onClose()},HTTPFactory:{createStreamingSocket(n){return this.createSocket(lt,n)},createPollingSocket(n){return this.createSocket(it,n)},createSocket:(n,t)=>new et(n,t),createXHR(n,t){return this.createRequest(st,n,t)},createRequest:(n,t,e)=>new Xn(n,t,e),createXDR:function(n,t){return this.createRequest(Qn,n,t)}},TimelineTransport:V,getXHRAPI:()=>window.XMLHttpRequest,getWebSocketAPI:()=>window.WebSocket||window.MozWebSocket,setup(n){window.Pusher=n;var t=()=>{this.onDocumentBody(n.ready)};window.JSON?t():a.load("json2",{},t)},getDocument:()=>document,getProtocol(){return this.getDocument().location.protocol},getAuthorizers:()=>({ajax:w,jsonp:K}),onDocumentBody(n){document.body?n():setTimeout(()=>{this.onDocumentBody(n)},0)},createJSONPRequest:(n,t)=>new X(n,t),createScriptRequest:n=>new Q(n),getLocalStorage(){try{return window.localStorage}catch(n){return}},createXHR(){return this.getXHRAPI()?this.createXMLHttpRequest():this.createMicrosoftXHR()},createXMLHttpRequest(){return new(this.getXHRAPI())},createMicrosoftXHR:()=>new ActiveXObject("Microsoft.XMLHTTP"),getNetwork:()=>kn,createWebSocket(n){return new(this.getWebSocketAPI())(n)},createSocketRequest(n,t){if(this.isXHRSupported())return this.HTTPFactory.createXHR(n,t);if(this.isXDRSupported(0===t.indexOf("https:")))return this.HTTPFactory.createXDR(n,t);throw"Cross-origin HTTP requests are not supported"},isXHRSupported(){var n=this.getXHRAPI();return Boolean(n)&&void 0!==(new n).withCredentials},isXDRSupported(n){var t=n?"https:":"http:",e=this.getProtocol();return Boolean(window.XDomainRequest)&&e===t},addUnloadListener(n){void 0!==window.addEventListener?window.addEventListener("unload",n,!1):void 0!==window.attachEvent&&window.attachEvent("onunload",n)},removeUnloadListener(n){void 0!==window.addEventListener?window.removeEventListener("unload",n,!1):void 0!==window.detachEvent&&window.detachEvent("onunload",n)},randomInt:n=>Math.floor((window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]/Math.pow(2,32)*n)};!function(n){n[n.ERROR=3]="ERROR",n[n.INFO=6]="INFO",n[n.DEBUG=7]="DEBUG"}(tt||(tt={}));var rt=tt;class at{constructor(n,t,e){this.key=n,this.session=t,this.events=[],this.options=e||{},this.sent=0,this.uniqueID=0}log(n,t){n<=this.options.level&&(this.events.push(H({},t,{timestamp:R.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())}error(n){this.log(rt.ERROR,n)}info(n){this.log(rt.INFO,n)}debug(n){this.log(rt.DEBUG,n)}isEmpty(){return 0===this.events.length}send(n,t){var e=H({session:this.session,bundle:this.sent+1,key:this.key,lib:"js",version:this.options.version,cluster:this.options.cluster,features:this.options.features,timeline:this.events},this.options.params);return this.events=[],n(e,(n,e)=>{n||this.sent++,t&&t(n,e)}),!0}generateUniqueID(){return this.uniqueID++,this.uniqueID}}class ut{constructor(n,t,e,l){this.name=n,this.priority=t,this.transport=e,this.options=l||{}}isSupported(){return this.transport.isSupported({useTLS:this.options.useTLS})}connect(n,t){if(!this.isSupported())return ct(new y,t);if(this.priority<n)return ct(new b,t);var e=!1,l=this.transport.createConnection(this.name,this.priority,this.options.key,this.options),i=null,s=function(){l.unbind("initialized",s),l.connect()},o=function(){i=Hn.createHandshake(l,function(n){e=!0,u(),t(null,n)})},r=function(n){u(),t(n)},a=function(){var n;u(),n=Z(l),t(new m(n))},u=function(){l.unbind("initialized",s),l.unbind("open",o),l.unbind("error",r),l.unbind("closed",a)};return l.bind("initialized",s),l.bind("open",o),l.bind("error",r),l.bind("closed",a),l.initialize(),{abort:()=>{e||(u(),i?i.close():l.close())},forceMinPriority:n=>{e||this.priority<n&&(i?i.close():l.close())}}}}function ct(n,t){return R.defer(function(){t(n)}),{abort:function(){},forceMinPriority:function(){}}}const{Transports:ht}=ot;var dt=function(n,t,e,l,i,s){var o,r=ht[e];if(!r)throw new f(e);return n.enabledTransports&&-1===U(n.enabledTransports,t)||n.disabledTransports&&-1!==U(n.disabledTransports,t)?o=pt:(i=Object.assign({ignoreNullOrigin:n.ignoreNullOrigin},i),o=new ut(t,l,s?s.getAssistant(r):r,i)),o},pt={isSupported:function(){return!1},connect:function(n,t){var e=R.defer(function(){t(new y)});return{abort:function(){e.ensureAborted()},forceMinPriority:function(){}}}};function gt(n){return n.httpHost?n.httpHost:n.cluster?`sockjs-${n.cluster}.pusher.com`:"sockjs.pusher.com"}function bt(n){return n.wsHost?n.wsHost:`ws-${n.cluster}.pusher.com`}function mt(n){return"https:"===ot.getProtocol()||!1!==n.forceTLS}function vt(n){return"enableStats"in n?n.enableStats:"disableStats"in n&&!n.disableStats}function ft(n){const t=Object.assign(Object.assign({},s),n.userAuthentication);return"customHandler"in t&&null!=t.customHandler?t.customHandler:(n=>{if(void 0===ot.getAuthorizers()[n.transport])throw`'${n.transport}' is not a recognized auth transport`;return(t,e)=>{const l=((n,t)=>{var e="socket_id="+encodeURIComponent(n.socketId);for(var l in t.params)e+="&"+encodeURIComponent(l)+"="+encodeURIComponent(t.params[l]);if(null!=t.paramsProvider){let n=t.paramsProvider();for(var l in n)e+="&"+encodeURIComponent(l)+"="+encodeURIComponent(n[l])}return e})(t,n);ot.getAuthorizers()[n.transport](ot,l,n,c.UserAuthentication,e)}})(t)}function yt(n,t){const e=function(n,t){let e;return"channelAuthorization"in n?e=Object.assign(Object.assign({},o),n.channelAuthorization):(e={transport:n.authTransport||"ajax",endpoint:n.authEndpoint||"/pusher/auth"},"auth"in n&&("params"in n.auth&&(e.params=n.auth.params),"headers"in n.auth&&(e.headers=n.auth.headers)),"authorizer"in n&&(e.customHandler=((n,t,e)=>{const l={authTransport:t.transport,authEndpoint:t.endpoint,auth:{params:t.params,headers:t.headers}};return(t,i)=>{const s=n.channel(t.channelName);e(s,l).authorize(t.socketId,i)}})(t,e,n.authorizer))),e}(n,t);return"customHandler"in e&&null!=e.customHandler?e.customHandler:(n=>{if(void 0===ot.getAuthorizers()[n.transport])throw`'${n.transport}' is not a recognized auth transport`;return(t,e)=>{const l=((n,t)=>{var e="socket_id="+encodeURIComponent(n.socketId);for(var l in e+="&channel_name="+encodeURIComponent(n.channelName),t.params)e+="&"+encodeURIComponent(l)+"="+encodeURIComponent(t.params[l]);if(null!=t.paramsProvider){let n=t.paramsProvider();for(var l in n)e+="&"+encodeURIComponent(l)+"="+encodeURIComponent(n[l])}return e})(t,n);ot.getAuthorizers()[n.transport](ot,l,n,c.ChannelAuthorization,e)}})(e)}class kt extends on{constructor(n){super(function(n,t){J.debug(`No callbacks on watchlist events for ${n}`)}),this.pusher=n,this.bindWatchlistInternalEvent()}
1handleEvent(n){n.data.events.forEach(n=>{this.emit(n.name,n)})}bindWatchlistInternalEvent(){this.pusher.connection.bind("message",n=>{"pusher_internal:watchlist_events"===n.event&&this.handleEvent(n)})}}class wt extends on{constructor(n){super(function(n,t){J.debug("No callbacks on user for "+n)}),this.signin_requested=!1,this.user_data=null,this.serverToUserChannel=null,this.signinDonePromise=null,this._signinDoneResolve=null,this._onAuthorize=(n,t)=>{if(n)return J.warn(`Error during signin: ${n}`),void this._cleanup();this.pusher.send_event("pusher:signin",{auth:t.auth,user_data:t.user_data})},this.pusher=n,this.pusher.connection.bind("state_change",({previous:n,current:t})=>{"connected"!==n&&"connected"===t&&this._signin(),"connected"===n&&"connected"!==t&&(this._cleanup(),this._newSigninPromiseIfNeeded())}),this.watchlist=new kt(n),this.pusher.connection.bind("message",n=>{"pusher:signin_success"===n.event&&this._onSigninSuccess(n.data),this.serverToUserChannel&&this.serverToUserChannel.name===n.channel&&this.serverToUserChannel.handleEvent(n)})}signin(){this.signin_requested||(this.signin_requested=!0,this._signin())}_signin(){this.signin_requested&&(this._newSigninPromiseIfNeeded(),"connected"===this.pusher.connection.state&&this.pusher.config.userAuthenticator({socketId:this.pusher.connection.socket_id},this._onAuthorize))}_onSigninSuccess(n){try{this.user_data=JSON.parse(n.user_data)}catch(t){return J.error(`Failed parsing user data after signin: ${n.user_data}`),void this._cleanup()}if("string"!=typeof this.user_data.id||""===this.user_data.id)return J.error(`user_data doesn't contain an id. user_data: ${this.user_data}`),void this._cleanup();this._signinDoneResolve(),this._subscribeChannels()}_subscribeChannels(){this.serverToUserChannel=new On(`#server-to-user-${this.user_data.id}`,this.pusher),this.serverToUserChannel.bind_global((n,t)=>{0!==n.indexOf("pusher_internal:")&&0!==n.indexOf("pusher:")&&this.emit(n,t)}),(n=>{n.subscriptionPending&&n.subscriptionCancelled?n.reinstateSubscription():n.subscriptionPending||"connected"!==this.pusher.connection.state||n.subscribe()})(this.serverToUserChannel)}_cleanup(){this.user_data=null,this.serverToUserChannel&&(this.serverToUserChannel.unbind_all(),this.serverToUserChannel.disconnect(),this.serverToUserChannel=null),this.signin_requested&&this._signinDoneResolve()}_newSigninPromiseIfNeeded(){if(!this.signin_requested)return;if(this.signinDonePromise&&!this.signinDonePromise.done)return;const{promise:n,resolve:t}=function(){let n,t;return{promise:new Promise((e,l)=>{n=e,t=l}),resolve:n,reject:t}}();n.done=!1;const e=()=>{n.done=!0};n.then(e).catch(e),this.signinDonePromise=n,this._signinDoneResolve=t}}class _t{static ready(){_t.isReady=!0;for(var n=0,t=_t.instances.length;n<t;n++)_t.instances[n].connect()}static getClientFeatures(){return j(F({ws:ot.Transports.ws},function(n){return n.isSupported({})}))}constructor(n,t){!function(n){if(null==n)throw"You must pass your app key when you instantiate Pusher."}(n),function(n){if(null==n)throw"You must pass an options object";if(null==n.cluster)throw"Options object must provide a cluster";"disableStats"in n&&J.warn("The disableStats option is deprecated in favor of enableStats")}(t),this.key=n,this.config=function(n,t){let e={activityTimeout:n.activityTimeout||12e4,cluster:n.cluster,httpPath:n.httpPath||"/pusher",httpPort:n.httpPort||80,httpsPort:n.httpsPort||443,pongTimeout:n.pongTimeout||3e4,statsHost:n.statsHost||"stats.pusher.com",unavailableTimeout:n.unavailableTimeout||1e4,wsPath:n.wsPath||"",wsPort:n.wsPort||80,wssPort:n.wssPort||443,enableStats:vt(n),httpHost:gt(n),useTLS:mt(n),wsHost:bt(n),userAuthenticator:ft(n),channelAuthorizer:yt(n,t)};return"disabledTransports"in n&&(e.disabledTransports=n.disabledTransports),"enabledTransports"in n&&(e.enabledTransports=n.enabledTransports),"ignoreNullOrigin"in n&&(e.ignoreNullOrigin=n.ignoreNullOrigin),"timelineParams"in n&&(e.timelineParams=n.timelineParams),"nacl"in n&&(e.nacl=n.nacl),e}(t,this),this.channels=Hn.createChannels(),this.global_emitter=new on,this.sessionID=ot.randomInt(1e9),this.timeline=new at(this.key,this.sessionID,{cluster:this.config.cluster,features:_t.getClientFeatures(),params:this.config.timelineParams||{},limit:50,level:rt.INFO,version:"8.4.0"}),this.config.enableStats&&(this.timelineSender=Hn.createTimelineSender(this.timeline,{host:this.config.statsHost,path:"/timeline/v2/"+ot.TimelineTransport.name}
1)),this.connection=Hn.createConnectionManager(this.key,{getStrategy:n=>ot.getDefaultStrategy(this.config,n,dt),timeline:this.timeline,activityTimeout:this.config.activityTimeout,pongTimeout:this.config.pongTimeout,unavailableTimeout:this.config.unavailableTimeout,useTLS:Boolean(this.config.useTLS)}),this.connection.bind("connected",()=>{this.subscribeAll(),this.timelineSender&&this.timelineSender.send(this.connection.isUsingTLS())}),this.connection.bind("message",n=>{var t=0===n.event.indexOf("pusher_internal:");if(n.channel){var e=this.channel(n.channel);e&&e.handleEvent(n)}t||this.global_emitter.emit(n.event,n.data)}),this.connection.bind("connecting",()=>{this.channels.disconnect()}),this.connection.bind("disconnected",()=>{this.channels.disconnect()}),this.connection.bind("error",n=>{J.warn(n)}),_t.instances.push(this),this.timeline.info({instances:_t.instances.length}),this.user=new wt(this),_t.isReady&&this.connect()}channel(n){return this.channels.find(n)}allChannels(){return this.channels.all()}connect(){if(this.connection.connect(),this.timelineSender&&!this.timelineSenderTimer){var n=this.connection.isUsingTLS(),t=this.timelineSender;this.timelineSenderTimer=new A(6e4,function(){t.send(n)})}}disconnect(){this.connection.disconnect(),this.timelineSenderTimer&&(this.timelineSenderTimer.ensureAborted(),this.timelineSenderTimer=null)}bind(n,t,e){return this.global_emitter.bind(n,t,e),this}unbind(n,t,e){return this.global_emitter.unbind(n,t,e),this}bind_global(n){return this.global_emitter.bind_global(n),this}unbind_global(n){return this.global_emitter.unbind_global(n),this}unbind_all(n){return this.global_emitter.unbind_all(),this}subscribeAll(){var n;for(n in this.channels.channels)this.channels.channels.hasOwnProperty(n)&&this.subscribe(n)}subscribe(n){var t=this.channels.add(n,this);return t.subscriptionPending&&t.subscriptionCancelled?t.reinstateSubscription():t.subscriptionPending||"connected"!==this.connection.state||t.subscribe(),t}unsubscribe(n){var t=this.channels.find(n);t&&t.subscriptionPending?t.cancelSubscription():(t=this.channels.remove(n))&&t.subscribed&&t.unsubscribe()}send_event(n,t,e){return this.connection.send_event(n,t,e)}shouldUseTLS(){return this.config.useTLS}signin(){this.user.signin()}}_t.instances=[],_t.isReady=!1,_t.logToConsole=!1,_t.Runtime=ot,_t.ScriptReceivers=ot.ScriptReceivers,_t.DependenciesReceivers=ot.DependenciesReceivers,_t.auth_callbacks=ot.auth_callbacks;var xt=t.default=_t;ot.setup(_t)}])},n.exports=l()},fNgX:function(n,t,e){"use strict";e.d(t,"a",function(){return i}),e.d(t,"b",function(){return s});var l=e("8Y7J"),i=(e("Nv++"),e("cUpR"),l.wb({encapsulation:2,styles:[],data:{}}));function s(n){return l.Zb(0,[],null,null)}},"pb9/":function(n,t,e){"use strict";e.d(t,"a",function(){return r});var l=e("8Y7J");e("TcQJ"),e("LO2B");const i=[{text:"",items:["installpwa"]},{text:"login",items:["login"]},{text:"",items:["buysellsignal"]},{text:"",items:["phantichcophieu"]},{text:"",items:["khuyennghi"]},{text:"",items:["canslimmark"]},{text:"",items:["stockvaluation"]},{text:"",items:["stockrating"]},{text:"",items:["danhsachma"]},{text:"",items:["tinhieu"]},{text:"",items:["statistic"]},{text:"",items:["bookmark"]},{text:"",items:["trading"]},{text:"",items:["madangdong"]},{text:"",items:["baochi"],vipHidden:!0},{text:"",items:["tintuc"],vipHidden:!0},{text:"",items:["findnews"],vipHidden:!0},{text:"",items:["gioithieu"],vipHidden:!0},{text:"",items:["nangcaptk"],vipHidden:!0},{text:"",items:["huongdanchung"],vipHidden:!0},{text:"",items:["tailieu"],vipHidden:!0},{text:"",items:["lienhe"],vipHidden:!0},{text:"",items:["privacy"]}],s={login:{icon:"icon_user",text:"\u0110\u0103ng nh\u1eadp",link:"/auth/login",isrobot:!0,iscal:"0"},gioithieu:{icon:"icon_gioithieu",text:"Gi\u1edbi thi\u1ec7u",link:"/gioithieu",isrobot:!0,iscal:"0"},huongdan:{icon:"fa-info-circle",text:"H\u01b0\u1edbng d\u1eabn",link:"/huongdan",isrobot:!0,iscal:"0"},tinhieu:{icon:"icon_tinhieu",text:"T\xedn hi\u1ec7u",link:"/tinhieu",isrobot:!0,iscal:"0"},phantichcophieu:{icon:"icon_tracuucophieu",text:"Ph\xe2n t\xedch c\u1ed5 phi\u1ebfu",link:"/phantichcophieu",isrobot:!0,iscal:"0"},danhsachma:{icon:"icon_dscophieu",text:"Danh s\xe1ch m\xe3 c\u1ed5 phi\u1ebfu",link:"/danhsachma",isrobot:!0,iscal:"0"},bookmark:{icon:"icon_bookmark",text:"Danh m\u1ee5c theo d\xf5i",link:"/danhmuctheodoi",isrobot:!0,iscal:"0"},stockvaluation:{icon:"icon_dinhgiacophieu",text:"\u0110\u1ecbnh g
1i\xe1 c\u1ed5 phi\u1ebfu",link:"/dinhgiacophieu",isrobot:!0,iscal:"0"},stockrating:{icon:"icon_xephangcophieu",text:"Rating c\u1ed5 phi\u1ebfu",link:"/xephangcophieu",isrobot:!0,iscal:"0"},canslimmark:{icon:"icon_canslimmark",text:"Canslim & SEPA",link:"/canslimsepa",isrobot:!0,iscal:"0"},khuyennghi:{icon:"icon_khuyennghi",text:"Khuy\u1ebfn ngh\u1ecb c\u1ed5 phi\u1ebfu",isrobot:!0,iscal:"1",submenu:[{icon:"icon_phaisinh",text:"Ph\xe1i sinh & Qu\u1ed1c t\u1ebf",link:"/phaisinh/0",isrobot:!0,iscal:"0"},{icon:"icon_coso",text:"C\u1edf s\u1edf",isrobot:!0,iscal:"0",submenu:[{icon:"icon_admin_mua",text:"Admin khuy\u1ebfn ngh\u1ecb mua",link:"/adminkhuyennghimua/baomua/0",isrobot:!0,iscal:"0"},{icon:"icon_dongtien_mua",text:"D\xf2ng ti\u1ec1n mua",link:"/dongtienmua/baomua/0",isrobot:!0,iscal:"0"},{icon:"icon_taoday",text:"T\u1ea1o \u0111\xe1y",link:"/khuyennghimua/baomua/0",isrobot:!0,iscal:"0"}]},{icon:"icon_bankhong",text:"B\xe1n kh\u1ed1ng",isrobot:!0,iscal:"0",submenu:[{icon:"icon_admin_ban",text:"Admin khuy\u1ebfn ngh\u1ecb b\xe1n",link:"/adminkhuyennghiban/baoban/0",isrobot:!0,iscal:"0"},{icon:"icon_dongtien_ban",text:"D\xf2ng ti\u1ec1n b\xe1n",link:"/dongtienban/baoban/0",isrobot:!0,iscal:"0"},{icon:"icon_taodinh",text:"T\u1ea1o \u0111\u1ec9nh",link:"/khuyennghiban/baoban/0",isrobot:!0,iscal:"0"}]}]},madangdong:{icon:"icon_madong",text:"M\xe3 \u0111ang \u0111\xf3ng",isrobot:!0,iscal:"2",submenu:[{icon:"icon_phaisinh",text:"Ph\xe1i sinh & Qu\u1ed1c t\u1ebf (Ch\u1ed1t l\u1eddi/l\u1ed7)",link:"/dongphaisinh/1",isrobot:!0,iscal:"0"},{icon:"icon_coso",text:"C\u1edf s\u1edf",isrobot:!0,iscal:"0",submenu:[{icon:"icon_admin_ban",text:"Admin khuy\u1ebfn ngh\u1ecb mua (Ch\u1ed1t l\u1eddi/l\u1ed7)",link:"/admindongmua/baomua/1",isrobot:!0,iscal:"0"},{icon:"icon_dongtien_mua",text:"D\xf2ng ti\u1ec1n mua (Ch\u1ed1t l\u1eddi/l\u1ed7)",link:"/dongtiendongmua/baomua/1",isrobot:!0,iscal:"0"},{icon:"icon_taoday",text:"T\u1ea1o \u0111\xe1y (Ch\u1ed1t l\u1eddi/l\u1ed7)",link:"/madongban/baomua/1",isrobot:!0,iscal:"0"}]},{icon:"icon_bankhong",text:"B\xe1n kh\u1ed1ng ",isrobot:!0,submenu:[{icon:"icon_admin_ban",text:"Admin khuy\u1ebfn ngh\u1ecb b\xe1n (Ch\u1ed1t l\u1eddi/l\u1ed7)",link:"/admindongban/baoban/1",isrobot:!0,iscal:"0"},{icon:"icon_dongtien_ban",text:"D\xf2ng ti\u1ec1n b\xe1n (Ch\u1ed1t l\u1eddi/l\u1ed7)",link:"/dongtiendongban/baoban/1",isrobot:!0,iscal:"0"},{icon:"icon_taodinh",text:"T\u1ea1o \u0111\u1ec9nh (Ch\u1ed1t l\u1eddi/l\u1ed7)",link:"/madongmua/baoban/1",isrobot:!0,iscal:"0"}]}]},statistic:{icon:"icon_statistic",text:"Th\u1ed1ng k\xea",link:"/thongke",isrobot:!0,iscal:"0"},trading:{icon:"icon_bieudo",text:"Bi\u1ec3u \u0111\u1ed3 k\u1ef9 thu\u1eadt",link:"/bieudokythuat",isrobot:!0,iscal:"0"},tailieu:{icon:"icon_doc",text:"T\xe0i li\u1ec7u",link:"/tailieu",isrobot:!0,iscal:"0"},huongdanchung:{icon:"icon_huongdan",text:"H\u01b0\u1edbng d\u1eabn chung",link:"/huongdan",isrobot:!0,iscal:"0"},nangcaptk:{icon:"icon_nangcaptk",text:"N\xe2ng c\u1ea5p t\xe0i kho\u1ea3n VIP",link:"/nangcaptaikhoan",isrobot:!0,iscal:"0"},baochi:{icon:"icon_baochi",text:"B\xe1o ch\xed",isrobot:!0,iscal:"0",link:"/baochi"},tintuc:{icon:"icon_tintuc",text:"Tin t\u1ee9c",isrobot:!0,iscal:"0",link:"/tintuc"},lienhe:{icon:"icon_lienhe",text:"Li\xean h\u1ec7 v\xe0 h\u1ed7 tr\u1ee3",link:"/lienhe",isrobot:!0,iscal:"0"},privacy:{icon:"icon_madong",text:"Privacy",link:"/privacy",isrobot:!0,iscal:"0"},installpwa:{icon:"",text:"C\xe0i \u0111\u1eb7t tr\xean PC",link:"/installpwa",isrobot:!0,iscal:"0"},buysellsignal:{icon:"icon_buysellsignal",text:"T\xedn hi\u1ec7u Mua/B\xe1n",link:"/tinhieumuaban",isrobot:!0,iscal:"0"},findnews:{icon:"icon_findnews",text:"S\u0103n tin",link:"/santin",isrobot:!0,iscal:"0"}};e("ReHY");var o=e("quSY");class r{constructor(n,t,e,r){this.navigationService=n,this.customSelectService=t,this.changeDetectorRef=e,this.toastService=r,this.static=!1,this.light=!1,this.lstOuput=new l.n,this.sideNavHidden=!1,this.subscription=new o.a,this.sideNavItems=s,this.sideNavSections=i,this.sidenavStyle="sb-sidenav-light"}ngOnInit(){this.light&&(this.sidenavStyle="sb-sidenav-light"),this.subscription.add(this.navigationService.sideNavVisible$().subscribe(n=>{this.sideNavHidden=!n,this.changeDetectorRef.markForCheck()})),this.toastService.toasts=[]}inputShare(n){this.lstOuput.emit(n)}ngAfterViewInit(){this.customSelectService.customSelect()}ngOnDestroy(){this.subscription.unsubscribe()}ngOnChanges(){}}}}]);

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.