(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[351],{1855:(e,t,a)=>{var s={"./en/common.json":[3374,3374],"./en/menu.json":[3148,3148],"./en/product.json":[5160,5160],"./vn/common.json":[9195,9195],"./vn/menu.json":[233,233],"./vn/product.json":[1779,1779],"./zh/common.json":[1953,1953],"./zh/menu.json":[7915,7915]};function n(e){if(!a.o(s,e))return Promise.resolve().then(()=>{var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=s[e],n=t[0];return a.e(t[1]).then(()=>a.t(n,19))}n.keys=()=>Object.keys(s),n.id=1855,e.exports=n},4722:(e,t,a)=>{Promise.resolve().then(a.bind(a,9827)),Promise.resolve().then(a.bind(a,9214)),Promise.resolve().then(a.bind(a,1560))},4976:(e,t,a)=>{"use strict";function s(e){let{src:t,width:a,quality:s}=e;return"".concat(t,"?w=").concat(a)}a.r(t),a.d(t,{default:()=>s})},7181:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var s=a(5407),n=a(2115);let l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};var r=a(5640);let i=n.forwardRef(function(e,t){return n.createElement(r.default,(0,s.A)({},e,{ref:t,icon:l}))})},4425:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var s=a(5407),n=a(2115);let l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"};var r=a(5640);let i=n.forwardRef(function(e,t){return n.createElement(r.default,(0,s.A)({},e,{ref:t,icon:l}))})},5424:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var s=a(5407),n=a(2115);let l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z"}}]},name:"phone",theme:"outlined"};var r=a(5640);let i=n.forwardRef(function(e,t){return n.createElement(r.default,(0,s.A)({},e,{ref:t,icon:l}))})},3387:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>i});var s=a(5155),n=a(2115);let l={src:"/_next/static/media/imageNoAvailable.2f3ff52f.png",height:920,width:902,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAM1BMVEX////p6eny8vL5+fnY2NiLi4vIyMjj4+Pe3t7Q0NAsLCxYWFi2trbAwMCmpqYXFxd1dXU4vgH0AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAPElEQVR4nBXKtxHAMAwAsWcSSQXb+0/rU4cCIO09BKgqHwnkt6wv9jvXHIBHRDggnd5qkOfs5x7NqlL7ATCwAWTORxc4AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8};var r=a(5565);let i=e=>{let{fallback:t=l,alt:a,src:i,className:c="",...o}=e,[h,d]=(0,n.useState)(null);return(0,n.useEffect)(()=>{d(null)},[i]),o.priority||(o.loading="lazy"),(0,s.jsx)(r.default,{draggable:"false",alt:a,onError:d,className:c,src:h?t:i,...o})}},1560:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>u});var s=a(5155),n=a(5424),l=a(7181),r=a(4425),i=a(9969),c=a(1483),o=a(3387),h=a(2115),d=a(8173),m=a.n(d);let u=()=>{let[e,t]=(0,h.useState)(null);(0,h.useEffect)(()=>{(async()=>{try{let e=await (0,c.GG)();t(e)}catch(e){console.error("Error fetching banners:",e)}})()},[]);let{t:a}=(0,i.Bd)("common");return(0,s.jsxs)("div",{className:"max-w-7xl",children:[(0,s.jsxs)("div",{className:"relative bg-white mt-9 md:mt-0 shadow-lg overflow-hidden mb-4 md:mb-8",children:[(0,s.jsx)(o.default,{src:(null==e?void 0:e.imagePath)||"https://tramhuonghvc.com/uploads/images/1736393304459-contact.webp",alt:"Customer Service",width:1200,height:300,sizes:"(max-width: 600px) 50vw, (max-width: 1200px) 50vw, 40vw",className:"w-full h-auto object-cover"}),(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center ml-[180px] md:ml-[600px]",children:(0,s.jsxs)("h2",{className:"text-white text-xs md:text-2xl font-light",children:[a("How can we help you"),"?"]})})]}),(0,s.jsx)("div",{className:"items-left",children:(0,s.jsxs)("div",{className:"max-w-4xl mx-auto py-8 px-4 lg:py-12 lg:px-8",children:[(0,s.jsx)("h2",{className:"text-xs md:text-lg font-semibold text-gray-900 mb-6 text-left",children:a("Contact Us")}),(0,s.jsxs)("div",{className:"",children:[(0,s.jsxs)("div",{className:"flex items-left gap-4 py-3 px-6 rounded-lg hover:bg-gray-100 transition",children:[(0,s.jsx)("div",{className:"w-10 h-10 flex justify-center items-left text-black",children:(0,s.jsx)(n.A,{})}),(0,s.jsx)("h3",{className:"text-xs md:text-[13px] text-gray-800 mt-3",children:"0931 338 566"})]}),(0,s.jsxs)("div",{className:"flex items-left gap-4 py-3 px-6 rounded-lg hover:bg-gray-100 transition",children:[(0,s.jsx)("div",{className:"w-10 h-10 flex justify-center items-left text-black",children:(0,s.jsx)(l.A,{})}),(0,s.jsxs)("h3",{className:"text-xs md:text-[13px] text-gray-800 mt-3",children:[a("Book an Appointment")," "]})]}),(0,s.jsxs)("div",{className:"flex items-left gap-4 py-3 pl-6 rounded-lg hover:bg-gray-100 transition",children:[(0,s.jsx)("div",{className:"w-10 h-10 flex justify-center items-left text-black",children:(0,s.jsx)(r.A,{className:""})}),(0,s.jsx)(m(),{href:"https://www.google.com/maps/place/Tr%E1%BA%A7m+H%C6%B0%C6%A1ng+M%E1%BB%98C+AN/@10.7952862,106.7107293,20.36z/data=!4m9!1m2!2m1!1s+66%2F37D,+Xo+Viet+Nghe+Tinh+Street,+Ward+19,+Binh+Thanh+District,+Ho+Chi+Minh+City.'!3m5!1s0x317529af30aa7277:0xb7018a53801433c8!8m2!3d10.7952!4d106.710986!16s%2Fg%2F11sc3k9v9w?hl=vi-VN&entry=ttu&g_ep=EgoyMDI1MDExNS4wIKXMDSoASAFQAw%3D%3D",children:(0,s.jsx)("h3",{className:"text-xs md:text-[13px] text-gray-800 mt-3 flex",children:a("Address: 66/37D, Xo Viet Nghe Tinh Street, Ward 19, Binh Thanh District, Ho Chi Minh City.")})})]})]})]})}),(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6 max-w-7xl mx-auto px-6",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center",children:[(0,s.jsx)("img",{src:"/images/20-1 3.JPG",alt:"Left Image",sizes:"(max-width: 640px) 90vw, (max-width: 1024px) 80vw, 50vw",className:"w-full h-auto max-w-md rounded-lg shadow-lg"}),(0,s.jsx)("h3",{className:"font-semibold mt-3 text-sm md:text-lg ",children:a("Product Services")}),(0,s.jsx)("p",{className:"text-center text-gray-600 mt-2 text-xs md:text-[13px]",children:a("We offer cleaning, repair and fit alterations for the lifetime of your Moc Phuc Duyen piece.")})]}),(0,s.jsxs)("div",{className:"flex flex-col items-center",children:[(0,s.jsx)("img",{src:"/images/24-2 3.JPG",alt:"Right Image",sizes:"(max-width: 640px) 90vw, (max-width: 1024px) 80vw, 50vw",className:"w-full h-auto max-w-md rounded-lg shadow-lg"}),(0,s.jsx)("h3",{className:"text-sm md:text-lg font-semibold mt-3",children:a("Product Care")}),(0,s.jsx)("p",{className:"text-center text-gray-600 mt-2 text-xs md:text-[13px]",children:a("We offer cleaning, repair and fit alterations for the lifetime of your Moc Phuc Duyen piece.")})]})]})]})}},6745:(e,t,a)=>{"use strict";a.d(t,{Ri:()=>r,TV:()=>l,Xo:()=>i,_O:()=>n});var s=a(9208);let n="hvclang",l=(e,t,a)=>{s.A.set(e,t,a)},r=e=>s.A.get(e),i=()=>r(n)||"vn"},9969:(e,t,a)=>{"use strict";a.d(t,{v2:()=>h,Xo:()=>o,Bd:()=>d});var s=a(3768),n=a(3976),l=a(8144);let r=["vn","zh","en"],i="translation";var c=a(6745);function o(){return(0,c.Ri)(c._O)||"vn"}async function h(e){(0,c.Ri)(c._O)!==e&&((0,c.TV)(c._O,e),window.location.reload())}s.Ay.use(n.r9).use((0,l.A)((e,t)=>a(1855)("./".concat(e,"/").concat(t,".json")).then(e=>e.default))).init({...function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return{defaultLocale:"vn",supportedLngs:r,fallbackLng:[e],lng:"vn",fallbackNS:i,defaultNS:i,ns:t}}("vn"),lng:function(){let e=(0,c.Ri)(c._O);return e||(0,c.TV)(c._O,"vn",{expires:365}),e}(),detection:{order:["querystring","cookie","htmlTag","navigator"],caches:["cookie"]}});let d=n.Bd},9225:(e,t,a)=>{"use strict";a.d(t,{AQ:()=>r,Qq:()=>i});class s{callApi(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;e=this.baseURL+e;let l=new Headers;l.set("Content-Type",s?"multipart/form-data":"application/json"),l.set("Cache-Control","no-store, no-cache, must-revalidate"),l.set("Pragma","no-cache"),l.set("Expires","0");let r={method:t,headers:l,..."POST"===t||"PUT"===t?{body:s?a:JSON.stringify(a)}:{},...n||{}};return new Promise((t,a)=>{fetch(e,r).then(e=>200!==e.status?401===e.status?a("Please check your permission"):e.json().then(e=>a(JSON.stringify(e))):t(e.json())).catch(t=>(console.error(t),"TypeError: Failed to fetch"===t.toString())?a("".concat(t.toString()," ").concat(e)):"AbortError"!==t.name?(console.log("failed to fetch URL ".concat(e)),a(t)):void 0)})}httpGet(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.callApi(e,"GET",null,!1,t)}httpPost(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this.callApi(e,"POST",t,!1,a)}httpPut(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this.callApi(e,"PUT",t,!1,a)}httpDelete(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.callApi(e,"DELETE",null,!1,t)}httpPostFormData(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this.callApi(e,"POST",t,!0,a)}httpPutFormData(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this.callApi(e,"PUT",t,!0,a)}constructor(e){this.baseURL=e}}let n="/api/landingpage";class l extends s{constructor(){super("http://mpdapi-service:6001"+n)}}new l;class r extends s{constructor(){super("https://tramhuongmocphucduyen.com"+n)}}let i=new r},1483:(e,t,a)=>{"use strict";a.d(t,{GG:()=>r,Gr:()=>n,z4:()=>l});var s=a(9225);async function n(){try{let e=await s.Qq.httpGet("/configuration/key/Banner3");if(!e.success||!e.item||!e.item.imagePath)return"/images/banner.webp";return e.item}catch(e){return"/images/banner.webp"}}async function l(){try{let e=await s.Qq.httpGet("/configuration/key/BannerAppointment");if(!e||!e.item)return"/images/banner.webp";return e.item}catch(e){return"/images/banner.webp"}}async function r(){try{let e=await s.Qq.httpGet("/configuration/key/BannerContact");if(!e.success||!e.item||!e.item.imagePath)return"/images/20-1 3.JPG";return e.item}catch(e){return"/images/20-1 3.JPG"}}}},e=>{var t=t=>e(e.s=t);e.O(0,[3986,5565,5640,8173,8441,1517,7358],()=>t(4722)),_N_E=e.O()}]);