(window.webpackJsonp=window.webpackJsonp||[]).push([[101],{1013:function(t,e,n){"use strict";n.r(e);n(2320);var o={data:function(){return{}},props:{dataSwitcher:{type:Array,require:!0},tabId:{type:String,require:!1,default:""}},methods:{setActiveTab:function(t){""!==this.tabId?($("#"+this.tabId+" .switcher-tab").removeClass("active"),$("#"+this.tabId+' .switcher-tab[data-tab="'+t+'"]').addClass("active")):($(".switcher-tab").removeClass("active"),$('.switcher-tab[data-tab="'+t+'"]').addClass("active")),this.$emit("click",t)}}},l=n(5),component=Object(l.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-switcher-tab",attrs:{id:t.tabId}},t._l(t.dataSwitcher,(function(n,o){return e("div",{class:0===o?"switcher-tab active":"switcher-tab ",attrs:{"data-tab":n.value},on:{click:function(e){return t.setActiveTab(n.value,this)}}},[t._v(t._s(t.$t(n.label)))])})),0)}),[],!1,null,null,null);e.default=component.exports},135:function(t,e,n){"use strict";n.r(e);var o=n(42),l=(n(2093),{components:{Modal:o.default},props:{dialogClass:{type:String,require:!1,default:"confirm-dialog"},title:{type:String,require:!1,default:""},message:{type:String,require:!1,default:""},show:{type:Boolean,require:!0}},data:function(){return{showModal:this.show}},watch:{show:function(t){this.showModal=t}},methods:{hide:function(){this.showModal=!1},confirm:function(t){this.showModal=!1,this.$emit("confirm",t)},hasSlot:function(t){return!!this.$slots[t]||!!this.$scopedSlots[t]}}}),r=n(5),component=Object(r.a)(l,(function(){var t=this,e=t._self._c;return e("Modal",{attrs:{dialogClass:t.dialogClass,show:t.showModal,noCloseOnEsc:!0,noCloseOnBackdrop:!0,closeButton:!1,headTitle:t.$t("L_EventRegister")},on:{hide:t.hide}},[e("div",{staticClass:"dialog-header"},[t.hasSlot("icon")?e("div",{staticClass:"dialog-icon"},[t._t("icon")],2):t._e(),t._v(" "),e("div",{staticClass:"dialog-title"},[t.hasSlot("title")?t._t("title"):[t._v(t._s(t.$t(t.title)))]],2)]),t._v(" "),e("div",{staticClass:"dialog-body"},[t.hasSlot("body")?t._t("body"):e("div",{staticClass:"dialog-message"},[e("span",{domProps:{innerHTML:t._s(t.$h.postConvertToHtml(t.message))}})])],2),t._v(" "),e("div",{staticClass:"dialog-footer"},[t.hasSlot("buttons")?t._t("buttons"):e("div",{staticClass:"buttons"},[e("button",{staticClass:"btn btn-no",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirm(!1)}}},[e("span",[t._v(t._s(t.$t("L_NoKhong")))])]),t._v(" "),e("button",{staticClass:"btn btn-yes",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirm(!0)}}},[e("span",[t._v(t._s(t.$t("L_Yes")))])])])],2)])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{Modal:n(42).default})},1766:function(t,e,n){"use strict";n.r(e);n(19),n(17),n(15),n(20),n(16),n(21);var o=n(7),l=n(3),r=(n(31),n(10),n(91),n(63),n(45),n(76),n(54),n(65),n(11)),c=n(533),d=n(1013),m=n(365),f=n(364),S=(n(2321),n(0)),h=n(78),y=n(532);function v(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var _={components:{LoadingDisplay:f.default,Profile:function(){return n.e(29).then(n.bind(null,3138))},Performance:function(){return n.e(28).then(n.bind(null,3137))},Financial:function(){return n.e(27).then(n.bind(null,3136))},Shareholders:function(){return n.e(30).then(n.bind(null,3139))},Subsidiaries:function(){return n.e(31).then(n.bind(null,3140))},BoardOfDirectors:function(){return n.e(26).then(n.bind(null,3135))},TabSwitcher:d.default,StockHeader:m.default,AutoSizer:c.default},mixins:[y.a],props:{flgInStockInformationSmallScreen:{type:Boolean,default:!1},flgInStockInformation:{type:Boolean,default:!1},typeViewInAllInOneStockMaster:{type:Boolean,default:!1},currentSymbolSelected:{type:String,default:""},flgIsLink:{type:Boolean,default:!0},widgetId:{type:String}},data:function(){return{firstLoadingProfile:!0,summaryFga:null,majorShareholdersFga:null,overViewFga:null,bodFga:null,businessPerformanceFga:null,balanceSheetFga:null,majorBusinessFga:null,cashDividendFga:null,stockDividendFga:null,organizationInformationFga:null,companySummaryWTSFga:null,foreignOwnershipWTSFga:null,ratioValuationFga:null,ratioProfitabilityFga:null,cashFlowFga:null,profitIndexIcbFga:null,dataSwitcher:[{value:1,label:"L_BoardOfDirectors"},{value:2,label:"L_SubsidiariesAndAssoctiates"}],dataSwitcherTime:[{value:1,label:"L_Quarter"},{value:2,label:"L_YYear"}],componentId:this.$h.uuid(),typeViewFullScreen:!0,flgShowBoardOfDirectors:!0,SELL_BUY_TYPE:S.SELL_BUY_TYPE,tmpCurrentSymbolSelected:this.currentSymbolSelected,oldSymbol:"VIC",emptyCompanyInfo:!1,loaded:!1,init:!1,selectedSymbolParam:""}},computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?v(Object(source),!0).forEach((function(e){Object(l.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({tabData:function(){return[{title:this.$t("L_Profile"),component:function(){return n.e(29).then(n.bind(null,3138))},default:!0,key:"PROFILE",componentParams:{flgInStockInformation:this.flgInStockInformation,flgInStockInformationSmallScreen:this.flgInStockInformationSmallScreen,currentSymbolSelected:this.tmpCurrentSymbolSelected,widgetId:this.widgetId}},{title:this.$t("L_Performance_Heading"),component:function(){return n.e(28).then(n.bind(null,3137))},key:"PERFORMANCE",componentParams:{currentSymbolSelected:this.tmpCurrentSymbolSelected,widgetId:this.widgetId}},{title:this.$t("L_Financial_Heading"),component:function(){return n.e(27).then(n.bind(null,3136))},key:"FINANCIAL",componentParams:{currentSymbolSelected:this.tmpCurrentSymbolSelected,widgetId:this.widgetId}},{title:this.$t("L_Shareholders"),component:function(){return n.e(30).then(n.bind(null,3139))},key:"SHAREHOLDERS",componentParams:{currentSymbolSelected:this.tmpCurrentSymbolSelected,widgetId:this.widgetId}},{title:this.$t("L_Subsidiaries"),component:function(){return n.e(31).then(n.bind(null,3140))},key:"SUBSIDIARIES",componentParams:{currentSymbolSelected:this.tmpCurrentSymbolSelected,widgetId:this.widgetId}},{title:this.$t("L_BoardOfDirectors_Heading"),component:function(){return n.e(26).then(n.bind(null,3135))},key:"BOARD_OF_DIRECTORS",componentParams:{currentSymbolSelected:this.tmpCurrentSymbolSelected,widgetId:this.widgetId}}]}},Object(r.d)(["refreshWidgetTrigger"])),watch:{refreshWidgetTrigger:function(t){(null==t?void 0:t.widgetId)!==this.widgetId||!this.typeViewFullScreen||this.typeViewInAllInOneStockMaster||this.flgInStockInformation||this.getAllDataCompany(this.selectedSymbol)},selectedSymbol:function(t){var e=this.$global.symbolData[t];"INDEX"!==(null==e?void 0:e.t)?(this.oldSymbol=t,this.flgIsLink&&(this.tmpCurrentSymbolSelected=t),this.typeViewInAllInOneStockMaster||this.flgInStockInformation||this.getAllDataCompany(t)):this.selectedSymbol=this.oldSymbol},currentSymbolSelected:function(t){this.typeViewFullScreen||(this.tmpCurrentSymbolSelected=t)},init:function(t){var e=this;t&&this.flgInStockInformation&&setTimeout((function(){var t;null===(t=e.$refs.tabTable)||void 0===t||t.selectTab("PERFORMANCE")}),10)}},created:function(){!this.typeViewFullScreen||this.typeViewInAllInOneStockMaster||this.flgInStockInformation||this.getAllDataCompany(this.selectedSymbol)},mounted:function(){this.$nextTick((function(){window.addEventListener("click",this.checkPageZoom)})),this.checkPageZoomFirstOpen();var t=this.$global.symbolData[this.currentSymbol];"INDEX"===(null==t?void 0:t.t)&&(this.selectedSymbol="VIC",this.oldSymbol="VIC")},beforeDestroy:function(){window.removeEventListener("click",this.checkPageZoom)},methods:{getAllDataCompany:function(symbol){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"/api/v1/stock-detail/get-all",e.next=3,t.$restApi.request("/api/v1/stock-detail/get-all",S.METHOD.GET,{ticker:symbol});case 3:(n=e.sent)&&(t.summaryFga=null==n?void 0:n.summary,t.majorShareholdersFga=null==n?void 0:n.majorShareholders,t.overViewFga=null==n?void 0:n.overView,t.bodFga=null==n?void 0:n.bod,t.businessPerformanceFga=null==n?void 0:n.businessPerformance,t.balanceSheetFga=null==n?void 0:n.balanceSheet,t.majorBusinessFga=null==n?void 0:n.majorBusiness,t.cashDividendFga=null==n?void 0:n.cashDividend,t.stockDividendFga=null==n?void 0:n.stockDividend,t.organizationInformationFga=null==n?void 0:n.organizationInformation,t.companySummaryWTSFga=null==n?void 0:n.companySummaryWTS,t.foreignOwnershipWTSFga=null==n?void 0:n.foreignOwnershipWTS,t.ratioValuationFga=null==n?void 0:n.ratioValuation,t.ratioProfitabilityFga=null==n?void 0:n.ratioProfitability,t.cashFlowFga=null==n?void 0:n.cashFlow,t.profitIndexIcbFga=null==n?void 0:n.profitIndexIcb),t.loaded=!0,t.firstLoadingProfile=!1,t.selectedSymbolParam=t.selectedSymbol,t.tmpCurrentSymbolSelected=t.selectedSymbol;case 9:case"end":return e.stop()}}),e)})))()},checkPageZoomFirstOpen:function(){var t,e,n,o;this.typeViewFullScreen=null===(t=$("#company-information"))||void 0===t||null===(e=t.closest(".lm_stack"))||void 0===e||null===(n=e.find(".lm_maximise"))||void 0===n||null===(o=n.css("background-image"))||void 0===o?void 0:o.includes("minim")},checkPageZoom:function(t){var e;t.target.classList.contains("lm_maximise")&&($(t.target).closest(".lm_stack").find("#company-information").length>0&&(this.typeViewFullScreen=null===(e=$(t.target).css("background-image"))||void 0===e?void 0:e.includes("minim")))},changeTabView:function(t){1===t?this.flgShowBoardOfDirectors=!0:2===t&&(this.flgShowBoardOfDirectors=!1)},getSymbol:function(symbol){this.$store.commit("stock/companyinfo/SET_COMPONENT_ID",this.componentId)},resize:function(t){this.typeViewFullScreen=t.width>Math.floor(window.innerWidth/2),this.init=!0},onBuySell:function(t,e){this.$store.commit({type:"order/"+h.ORDER_FORM_TRIGGER,payload:{orderKind:S.ORDER_KIND.NORMAL_ORDER,sellBuyType:t,action:t===S.SELL_BUY_TYPE.BUY?S.ORDER_ACTION.BUY:S.ORDER_ACTION.SELL,isInit:!0}}),this.$h.openTab({component:"GeneralOrder",title:"L_GeneralOrderDL",symbol:this.selectedSymbol,isLink:S.DEFAULT_MDI_LINK,isLock:!0,event:e})},resetScrollTab:function(){$('[data-component-id="'+this.componentId+'"]').scrollLeft(0),$('[data-component-id="'+this.componentId+'"] .tab-content').scrollLeft(0),$('[data-component-id="'+this.componentId+'"]').scrollTop(0),$('[data-component-id="'+this.componentId+'"] .tab-content').scrollTop(0)}}},w=_,I=n(5),component=Object(I.a)(w,(function(){var t=this,e=t._self._c;return e("div",{class:t.flgInStockInformation||t.typeViewInAllInOneStockMaster?t.flgInStockInformation?t.typeViewFullScreen?"div-company-info-in-stock type-view-as-full-screen min-33vw ":"div-company-info-in-stock":t.typeViewFullScreen?"div-company-info-in-all-in-one type-view-as-full-screen min-33vw ":"div-company-info-in-all-in-one":t.typeViewFullScreen?"div-company-info type-view-as-full-screen min-33vw ":"div-company-info min-33vw ",attrs:{"data-component-id":t.componentId}},[t.flgInStockInformation||t.flgInStockInformationSmallScreen||t.typeViewInAllInOneStockMaster?t._e():e("div",{class:t.typeViewFullScreen?"div-header-search-stock":"div-header-search-stock div-header-search-stock-small"},[t.typeViewFullScreen?e("StockHeader",{attrs:{hideStockInfo:!1,flgShowInCompany:!0,selectedSymbol:t.selectedSymbol,symbolData:t.symbolData,onChangeSymbol:t.onChangeSymbol},on:{getSymbol:t.getSymbol}}):e("StockHeader",{attrs:{selectedSymbol:t.selectedSymbol,symbolData:t.symbolData,onChangeSymbol:t.onChangeSymbol,"two-line-style":!0,inInvest:"",hideAccountPicker:"","hide-stock-index":!0,hideStockPrice:!1}}),t._v(" "),t.typeViewFullScreen?e("div",{staticClass:"div-buy-sell"},[e("button",{staticClass:"buy"},[e("span",{staticClass:"text",on:{click:function(e){return t.onBuySell(t.SELL_BUY_TYPE.BUY,e)}}},[t._v(t._s(t.$t("L_Buy")))])]),t._v(" "),e("button",{staticClass:"sell"},[e("span",{staticClass:"text",on:{click:function(e){return t.onBuySell(t.SELL_BUY_TYPE.SELL,e)}}},[t._v(t._s(t.$t("L_Sell")))])])]):t._e()],1),t._v(" "),e("AutoSizer",{attrs:{className:"company-information-responsive"},on:{resize:t.resize}},[t.init?[t.flgInStockInformation?e("div",{staticClass:"company-information company-information-in-stock",attrs:{id:"company-information"}},[t.tabData.length>0?e("TabTable",{ref:"tabTable",attrs:{data:t.tabData,inInvest:""},on:{changeTabView:function(e){return t.resetScrollTab()}}}):t._e()],1):!t.typeViewFullScreen||t.typeViewInAllInOneStockMaster?e("div",{class:t.typeViewInAllInOneStockMaster?"company-information company-information-all-in-one":"company-information",attrs:{id:"company-information"}},[t.tabData.length>0?e("TabTable",{ref:"tabTable",attrs:{data:t.tabData,inInvest:""},on:{changeTabView:function(e){return t.resetScrollTab()}}}):t._e()],1):e("div",{staticClass:"company-information company-information-fullscreen",attrs:{id:"company-information"}},[t.loaded?e("div",{staticClass:"div-list-information"},[e("div",{staticClass:"row-list-information"},[e("div",{staticClass:"div-information-item"},[e("div",{staticClass:"title-box"},[t._v(t._s(t.$t("L_CompanyProfile")))]),t._v(" "),e("div",{staticClass:"div-item-body"},[t.firstLoadingProfile?e("LoadingDisplay"):t.summaryFga?[e("Profile",{attrs:{typeViewFullScreen:t.typeViewFullScreen,componentId:t.componentId,currentSymbolSelected:t.typeViewFullScreen?t.selectedSymbolParam:t.tmpCurrentSymbolSelected,summaryFga:t.summaryFga,companySummaryWTSFga:t.companySummaryWTSFga,organizationInformationFga:t.organizationInformationFga,foreignOwnershipWTSFga:t.foreignOwnershipWTSFga}}),t._v(" "),e("div",{staticClass:"div-information-item-shareholder"},[e("Shareholders",{attrs:{typeViewFullScreen:t.typeViewFullScreen,currentSymbolSelected:t.typeViewFullScreen?t.selectedSymbolParam:t.tmpCurrentSymbolSelected,bodFga:t.bodFga,majorShareholdersFga:t.majorShareholdersFga,overViewFga:t.overViewFga}}),t._v(" "),e("div",{staticClass:"div-ownership"},[e("div",{staticClass:"title-box"},[t._v(t._s(t.$t("L_Ownership")))]),t._v(" "),e("div",{staticClass:"div-tab"},[e("TabSwitcher",{attrs:{tabId:"tab-view-ownership",dataSwitcher:t.dataSwitcher},on:{click:function(e){return t.changeTabView(e)}}})],1)]),t._v(" "),t.flgShowBoardOfDirectors?e("BoardOfDirectors",{attrs:{typeViewFullScreen:t.typeViewFullScreen,currentSymbolSelected:t.typeViewFullScreen?t.selectedSymbolParam:t.tmpCurrentSymbolSelected,bodFga:t.bodFga}}):e("Subsidiaries",{attrs:{typeViewFullScreen:t.typeViewFullScreen,currentSymbolSelected:t.typeViewFullScreen?t.selectedSymbolParam:t.tmpCurrentSymbolSelected}})],1)]:[e("NoDataDisplay")]],2)]),t._v(" "),e("div",{staticClass:"div-information-item"},[e("div",{staticClass:"title-box"},[t._v(t._s(t.$t("L_Performance")))]),t._v(" "),e("div",{staticClass:"div-item-body"},[e("Performance",{attrs:{typeViewFullScreen:t.typeViewFullScreen,dataSwitcher:t.dataSwitcherTime,componentId:t.componentId,currentSymbolSelected:t.typeViewFullScreen?t.selectedSymbolParam:t.tmpCurrentSymbolSelected,balanceSheetFga:t.balanceSheetFga,stockDividendFga:t.stockDividendFga,cashDividendFga:t.cashDividendFga,businessPerformanceFga:t.businessPerformanceFga}})],1)]),t._v(" "),e("div",{staticClass:"div-information-item"},[e("div",{staticClass:"title-box"},[t._v(t._s(t.$t("L_Financial")))]),t._v(" "),e("div",{staticClass:"div-item-body"},[e("Financial",{attrs:{typeViewFullScreen:t.typeViewFullScreen,dataSwitcher:t.dataSwitcherTime,componentId:t.componentId,ratioValuationFga:t.ratioValuationFga,ratioProfitabilityFga:t.ratioProfitabilityFga,balanceSheetFga:t.balanceSheetFga,cashFlowFga:t.cashFlowFga,organizationInformationFga:t.organizationInformationFga,currentSymbolSelected:t.typeViewFullScreen?t.selectedSymbolParam:t.tmpCurrentSymbolSelected}})],1)])])]):t._e()])]:t._e()],2)],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{StockHeader:n(365).default,TabTable:n(1002).default,LoadingDisplay:n(364).default,NoDataDisplay:n(77).default,Performance:n(2440).default,AutoSizer:n(533).default})},2093:function(t,e,n){},2137:function(t,e,n){},2320:function(t,e,n){},2321:function(t,e,n){},602:function(t,e,n){"use strict";n.r(e);n(15),n(10);var o=n(1655),l=n(1656),r=n(1657),c=n(1658),d=n(1659),m=n(1660),f=n(1661),S=(n(2137),{components:{Fb:o.a,Zalo:l.a,Youtube:r.a,TickTok:c.a,Location:d.a,Telephone:m.a,Mail:f.a},props:{contact:{type:Array,required:!0}},data:function(){return{}},computed:{},watch:{},methods:{dataMap:function(){var code=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"content";if(!code||!t||this.contact.length<=0)return null;var content=this.contact.filter((function(t){return t.code===code}));return content.length>0?content[0][t]:null}}}),h=S,y=n(5),component=Object(y.a)(h,(function(){var t=this,e=t._self._c;return e("div",[t.contact.length>0?e("div",{staticClass:"popup"},[e("div",{staticClass:"popup-body contact"},[e("div",{staticClass:"contact-link"},["en"===t.$i18n.locale?e("span",[t._v(t._s(t.dataMap("name_en")))]):e("span",[t._v(t._s(t.dataMap("name")))]),t._v(" "),e("ul",[e("li",[t.dataMap("facebook")?e("a",{attrs:{href:t.dataMap("facebook"),target:"_blank"}},[e("Fb")],1):t._e(),t._v(" "),t.dataMap("zalo")?e("a",{attrs:{href:t.dataMap("zalo"),target:"_blank"}},[e("Zalo")],1):t._e(),t._v(" "),t.dataMap("youtube")?e("a",{attrs:{href:t.dataMap("youtube"),target:"_blank"}},[e("Youtube")],1):t._e(),t._v(" "),t.dataMap("tiktok")?e("a",{attrs:{href:t.dataMap("tiktok"),target:"_blank"}},[e("TickTok")],1):t._e()])])]),t._v(" "),e("div",{staticClass:"contact-ct"},[e("Location"),t._v(" "),"en"===t.$i18n.locale?e("span",[t._v(t._s(t.dataMap("address_en")))]):e("span",[t._v(t._s(t.dataMap("address")))])],1),t._v(" "),e("div",{staticClass:"contact-ct sc"},[e("Telephone"),t._v(" "),e("span",{staticClass:"tel"},[t._v("\n          "+t._s(t.dataMap("hotline"))+"\n        ")]),t._v(" "),e("span",{staticClass:"mail"},[e("Mail"),t._v(" "),e("span",[t._v(t._s(t.dataMap("email")))])],1)],1),t._v(" "),e("div",{staticClass:"map",domProps:{innerHTML:t._s(t.dataMap("google_map"))}})]),t._v(" "),t._m(0)]):t._e()])}),[function(){var t=this._self._c;return t("div",{staticClass:"popup-footer"},[t("div")])}],!1,null,null,null);e.default=component.exports}}]);