1(window.webpackJsonp=window.webpackJsonp||[]).push([[58],{1202:function(t,e,r){"use strict";r.r(e);r(6);var n=r(3),c=(r(7),r(39),r(36),r(17),r(187)),o=r(639),l=r(662),d=r(2),f={components:{loadingPage:r(548).a},data:function(){return{businessArea:{},locationCategories:[],isLoading:!1,arrAreaOfInterest:[],reload:0,typeContact:""}},asyncData:function(t){return Object(n.a)(regeneratorRuntime.mark(function e(){var r,n,c,f,v,h,k;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.app,(n=t.query)&&("homeAppliances"==n.t||"buildingSolution"==n.t||"factoryAutomation"==n.t||"infrastructureSolution"==n.t)){e.next=1;break}return e.abrupt("return",context.error({statusCode:404}));case 1:return c=n.t,"homeAppliances"===n.t?f=d.b.HomeAppliances:"buildingSolution"===n.t?f=d.b.BuildingSolution:"factoryAutomation"===n.t?f=d.b.FactoryAutomation:"infrastructureSolution"===n.t&&(f=d.b.InfrastructureSolution),e.next=2,o.a.getBusinessAreaById(r.$axios,f);case 2:return v=e.sent,e.next=3,l.a.getLocationCategoryByBusinessAreaId(r.$axios,f);case 3:return h=e.sent,k={businessAreaId:f,firstName:"",contactType:d.e.GetInTouch},e.abrupt("return",{businessAreaId:f,businessArea:v.data.result,locationCategories:h.data.result,contact:k,typeContact:c});case 4:case"end":return e.stop()}},e)}))()},mounted:function(){},watch:{businessArea:function(t){this.arrAreaOfInterest=[],this.contact.businessAreaId=t.id},"$route.query.t":function(){var t=this;return Object(n.a)(regeneratorRuntime.mark(function e(){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.$route.query,e.next=1,t.onLoadData({app:app,query:r});case 1:case"end":return e.stop()}},e)}))()}},methods:{onLoadData:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark(function r(){var n,c,f,v,h,k;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(t.app,(n=t.query)&&("homeAppliances"==n.t||"buildingSolution"==n.t||"factoryAutomation"==n.t||"infrastructureSolution"==n.t)){r.next=1;break}return r.abrupt("return",context.error({statusCode:404}));case 1:return c=n.t,"homeAppliances"===n.t?f=d.b.HomeAppliances:"buildingSolution"===n.t?f=d.b.BuildingSolution:"factoryAutomation"===n.t?f=d.b.FactoryAutomation:"infrastructureSolution"===n.t&&(f=d.b.InfrastructureSolution),r.next=2,o.a.getBusinessAreaById(e.$axios,f);case 2:return v=r.sent,r.next=3,l.a.getLocationCategoryByBusinessAreaId(e.$axios,f);case 3:h=r.sent,k={businessAreaId:f,firstName:"",contactType:d.e.GetInTouch},e.businessAreaId=f,e.businessArea=v.data.result,e.locationCategories=h.data.result,e.contact=k,e.typeContact=c;case 4:case"end":return r.stop()}},r)}))()},getBusinessAreaById:function(t){var e=this;this.isLoading=!0,this.arrAreaOfInterest=[],this.reload++,o.a.getBusinessAreaById(this.$axios,t).then(function(t){e.businessArea=t.data.result}).finally(function(){e.isLoading=!1}),this.getLocationCategoryByBusinessAreaId(t)},getLocationCategoryByBusinessAreaId:function(t){var e=this;l.a.getLocationCategoryByBusinessAreaId(this.$axios,t).then(function(t){e.locationCategories=t.data.result})},selectInterest:function(t){if(this.arrAreaOfInterest.includes(t.id)){var e=this.arrAreaOfInterest.indexOf(t.id);this.arrAreaOfInterest.splice(e,1)}else this.arrAreaOfInterest.push(t.id)},submitContact:function(){var t=this;this.$validator.validateAll().then(function(e){return e?t.businessArea.areaOfInterests&&t.businessArea.areaOfInterests.length>0&&t.arrAreaOfInterest.length<1?(alert(t.L("Please select area of interest!")),!1):(t.contact.areaOfInterest=t.arrAreaOfInterest.join(","),t.isLoading=!0,void c.a.postContact(t.$axios,t.contact).then(function(p){p.data.result?(alert(t.L("Thank you for your contact, we will reach you soon!")),t.contact={businessAreaId:t.contact.businessAreaId,contactType:d.e.GetInTouch}):alert(t.L("Oop! something wrong, please try again!"))}).finally(function(p){t.reload++,t.arrAreaOfInterest=[],t.isLoading=!1})):(alert(t.L("Please fill all the required fields!")),!1)})}}},v=(r(998),r(5)),component=Object(v.a)(f,function(){var t=this,e=t._self._c;return e("div",{staticClass:"pageContactUs"},[e("header",{staticClass:"banner banner-bg-image",style:{backgroundImage:"url('"+" ".concat(t.getPictureUrl(t.businessArea.bannerUrl))+"')"}},[e("div",{staticClass:"banner-inner"},[e("div",{staticClass:"banner-title"},[e("h6",[t._v(t._s(t.L("Contact Us")))]),t._v(" "),e("h1",{staticClass:"page-title display-3",attrs:{title:t.businessArea.name}},[t._v(t._s(t.businessArea.name))])])])]),t._v(" "),e("div",{staticClass:"container"},[e("div",{staticClass:"contact-content"},[t._m(0),t._v(" "),e("div",{staticClass:"contact-accordion",attrs:{id:"accordion"}},t._l(t.locationCategories,function(n,c){return e("div",{key:c,staticClass:"card"},[e("div",{staticClass:"card-header",attrs:{id:"heading"+c}},[e("h5",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link",attrs:{"data-toggle":"collapse","data-target":"#collapse"+c,"aria-expanded":"false","aria-controls":"collapse"+c}},[t._v(t._s(n.name))])])]),t._v(" "),e("div",{staticClass:"collapse multi-collapse",attrs:{id:"c
1ollapse"+c,"aria-labelledby":"heading"+c,"data-parent":"#accordion"}},[n.locations.length>=1?e("table",{staticClass:"table"},[e("thead",[e("tr",[e("th",[t._v(t._s(t.L("Product")))]),t._v(" "),e("th",[t._v(t._s(t.L("Phone")))]),t._v(" "),e("th",[t._v(t._s(t.L("Address")))])])]),t._v(" "),e("tbody",t._l(n.locations,function(n,c){return e("tr",{key:c},[e("td",[e("h4",[t._v(t._s(n.name))])]),t._v(" "),e("td",[e("div",{staticClass:"inline-text"},[e("span",[e("img",{attrs:{src:r(660),alt:n.phone}})]),t._v(" "),e("span",[t._v(t._s(n.phone))])])]),t._v(" "),e("td",[n.address?e("div",{staticClass:"inline-text"},[e("span",[e("img",{attrs:{src:r(661),alt:n.address}})]),t._v(" "),e("span",[t._v(t._s(n.address))])]):t._e()])])}),0)]):t._e()])])}),0)])]),t._v(" "),e("loadingPage",{attrs:{loading:t.isLoading}})],1)},[function(){var t=this,e=t._self._c;return e("div",{staticClass:"container text-center pageThankyou"},[e("p",[t._v("Cảm Æ¡n bạn Äã quan tâm Äến sản phẩm Tá»± Äá»ng hóa cá»§a Mitsubishi Electric, chúng tôi sẽ có bá» pháºn liên há»\n bạn trong thá»i gian sá»m nhất! ")]),t._v(" "),e("p",[t._v("Thank you for interesting in Mitsubishi Electric Factory Automation product, we will deliver your\n information to our engineers support immediately! ")])])}],!1,null,"040156bf",null);e.default=component.exports},546:function(t,e,r){var content=r(550);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(16).default)("7a06c438",content,!0,{sourceMap:!1})},548:function(t,e,r){"use strict";var n={props:{loading:Boolean,defaultValue:!1},data:function(){return{}},methods:{}},c=(r(549),r(5)),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return t.loading?e("div",{staticClass:"loading-page"},[t._m(0)]):t._e()},[function(){var t=this,e=t._self._c;return e("div",{staticClass:"sk-circle"},[e("div",{staticClass:"sk-circle1 sk-child"}),t._v(" "),e("div",{staticClass:"sk-circle2 sk-child"}),t._v(" "),e("div",{staticClass:"sk-circle3 sk-child"}),t._v(" "),e("div",{staticClass:"sk-circle4 sk-child"}),t._v(" "),e("div",{staticClass:"sk-circle5 sk-child"}),t._v(" "),e("div",{staticClass:"sk-circle6 sk-child"}),t._v(" "),e("div",{staticClass:"sk-circle7 sk-child"}),t._v(" "),e("div",{staticClass:"sk-circle8 sk-child"}),t._v(" "),e("div",{staticClass:"sk-circle9 sk-child"}),t._v(" "),e("div",{staticClass:"sk-circle10 sk-child"}),t._v(" "),e("div",{staticClass:"sk-circle11 sk-child"}),t._v(" "),e("div",{staticClass:"sk-circle12 sk-child"})])}],!1,null,"595b14b6",null);e.a=component.exports},549:function(t,e,r){"use strict";r(546)},550:function(t,e,r){var n=r(15)(function(i){return i[1]});n.push([t.i,'.loading-page[data-v-595b14b6]{align-items:center;background:hsla(0,0%,99%,.25);display:flex;flex-direction:column;font-size:30px;height:100%;justify-content:center;left:0;margin:0;padding:0;position:fixed;text-align:center;top:0;width:100%;z-index:9999}img[data-v-595b14b6]{margin:15px 0}.sk-circle[data-v-595b14b6]{height:40px;position:relative;width:40px}.sk-circle .sk-child[data-v-595b14b6]{height:100%;left:0;position:absolute;top:0;width:100%}.sk-circle .sk-child[data-v-595b14b6]:before{animation:sk-circleBounceDelay-595b14b6 1.2s ease-in-out infinite both;background-color:#e7232b;border-radius:100%;content:"";display:block;height:15%;margin:0 auto;width:15%}.sk-circle .sk-circle2[data-v-595b14b6]{transform:rotate(30deg)}.sk-circle .sk-circle3[data-v-595b14b6]{transform:rotate(60deg)}.sk-circle .sk-circle4[data-v-595b14b6]{transform:rotate(90deg)}.sk-circle .sk-circle5[data-v-595b14b6]{transform:rotate(120deg)}.sk-circle .sk-circle6[data-v-595b14b6]{transform:rotate(150deg)}.sk-circle .sk-circle7[data-v-595b14b6]{transform:rotate(180deg)}.sk-circle .sk-circle8[data-v-595b14b6]{transform:rotate(210deg)}.sk-circle .sk-circle9[data-v-595b14b6]{transform:rotate(240deg)}.sk-circle .sk-circle10[data-v-595b14b6]{transform:rotate(270deg)}.sk-circle .sk-circle11[data-v-595b14b6]{transform:rotate(300deg)}.sk-circle .sk-circle12[data-v-595b14b6]{transform:rotate(330deg)}.sk-circle .sk-circle2[data-v-595b14b6]:before{animation-delay:-1.1s}.sk-circle .sk-circle3[data-v-595b14b6]:before{animation-delay:-1s}.sk-circle .sk-circle4[data-v-595b14b6]:before{animation-delay:-.9s}.sk-circle .sk-circle5[data-v-595b14b6]:before{animation-delay:-.8s}.sk-circle .sk-circle6[data-v-595b14b6]:before{animation-delay:-.7s}.sk-circle .sk-circle7[data-v-595b14b6]:before{animation-delay:-.6s}.sk-circle .sk-circle8[data-v-595b14b6]:before{animation-delay:-.5s}.sk-circle .sk-circle9[data-v-595b14b6]:before{animation-delay:-.4s}.sk-circle .sk-circle10[data-v-595b14b6]:before{animation-delay:-.3s}.sk-circle .sk-circle11[data-v-595b14b6]:before{animation-delay:-.2s}.sk-circle .sk-circle12[data-v-595b14b6]:before{animation-delay:-.1s}@keyframes sk-circleBounceDelay-595b14b6{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}',""]),n.locals={}
1,t.exports=n},639:function(t,e,r){"use strict";e.a={getListBusinessArea:function(t,e){return t.get("/api/services/app/BusinessArea/GetListBoxDto",{params:e}).then(function(t){return t})},getBusinessAreaById:function(t,e){return t.get("/api/services/app/BusinessArea/GetDetailDto",{params:{id:e}}).then(function(t){return t})}}},660:function(t,e,r){t.exports=r.p+"img/phone.ec2e9dd.png"},661:function(t,e,r){t.exports=r.p+"img/location.1698afd.png"},662:function(t,e,r){"use strict";e.a={getLocationCategoryByBusinessAreaId:function(t,e){return t.get("/api/services/app/Location/GetListDetailDto",{params:{businessAreaId:e}}).then(function(t){return t})}}},735:function(t,e,r){var content=r(999);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(16).default)("5e08c3ce",content,!0,{sourceMap:!1})},998:function(t,e,r){"use strict";r(735)},999:function(t,e,r){var n=r(15)(function(i){return i[1]});n.push([t.i,".pageThankyou[data-v-040156bf]{margin:50px 0 100px}",""]),n.locals={},t.exports=n}}]);
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.