(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8110],{96125:function(e,t,r){var a=r(15787).w_;e.exports.Z=function(e){return a({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zM142.1 273l135.5 135.5c9.4 9.4 24.6 9.4 33.9 0l17-17c9.4-9.4 9.4-24.6 0-33.9L226.9 256l101.6-101.6c9.4-9.4 9.4-24.6 0-33.9l-17-17c-9.4-9.4-24.6-9.4-33.9 0L142.1 239c-9.4 9.4-9.4 24.6 0 34z"}}]})(e)}},88536:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[domainLocale]/aboutus/regional-office-and-showroom",function(){return r(98791)}])},98791:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return w},default:function(){return N}});var a=r(85893),n=r(41664),c=r(11163),s=(r(67294),r(10615)),l=(r(92728),r(36005)),i=r(55023),o=r(38277),d=r(71294),u=r(35141),f=(r(75904),r(86355)),x=r(18499),m=r(88637),h=r(68593),p=r(25675),b=r(50520),g=r(96125);function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,n,c=[],s=!0,l=!1;try{for(r=r.call(e);!(s=(a=r.next()).done)&&(c.push(a.value),!t||c.length!==t);s=!0);}catch(i){l=!0,n=i}finally{try{s||null==r.return||r.return()}finally{if(l)throw n}}return c}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return j(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return j(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var w=!0;function N(e){var t=y((0,i.BV)(),2),r=(t[0],t[1],(0,c.useRouter)()),j=r.asPath;if(r.isFallback)return(0,a.jsx)("div",{children:"Loading..."});var w=(0,l.U2)(e,"data",[]).map((function(e){return e.country})).join();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.default,{title:"Regional Office & Showroom",domainTitle:(0,l.U2)(e,["homepage","title"],"Mitutoyo Asia Pacific"),domain:(0,l.U2)(e,["homepage","domain"]),metatag:"Mitutoyo regional Office & Showroom in ".concat(w),locale:(0,l.U2)(e,"locale"),countryCode:(0,l.U2)(e,"countryCode"),locales:(0,l.U2)(e,"locales")}),(0,a.jsxs)("div",{className:"flex flex-col px-1 lg:px-0",children:[(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)(o.default,{pathString:j}),(0,a.jsx)("div",{className:"w-full flex flex-wrap",children:(0,a.jsx)("div",{className:"w-full lg:w-5/5 border-0 border-black",children:(0,l.U2)(e,"data",[]).map((function(e){return(0,a.jsxs)("div",{className:"w-full flex flex-wrap border-0 border-black pb-2",children:[(0,a.jsx)("div",{className:"text-xl bg-gray-500 text-gray-200 p-4",children:e.country}),(0,a.jsx)("div",{className:"bg-gray-500 w-full",style:{height:"1px"}}),(0,a.jsx)("div",{className:"w-full py-4",children:(0,a.jsx)("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 xl:grid-cols-3",children:e.regionalOffices.map((function(e){return(0,a.jsxs)("div",{className:"border border-gray-200 flex flex-col w-full",children:[(0,a.jsx)(s.lr,{className:"bg-gray-100",autoPlay:!1,infiniteLoop:!0,showThumbs:!1,showStatus:!1,showIndicators:!1,preventMovementUntilSwipeScrollTolerance:!0,swipeScrollTolerance:50,centerMode:!1,dynamicHeight:!1,axis:"horizontal",renderArrowPrev:function(e,t,r){return t&&(0,a.jsx)("button",{type:"button",onClick:e,className:"z-10",title:r,style:{position:"absolute",top:"calc(50% - 15px)",width:30,height:30,cursor:"pointer",left:15,color:"#ffffff",opacity:.7},children:(0,a.jsx)(g.Z,{size:"2em"})})},renderArrowNext:function(e,t,r){return t&&(0,a.jsx)("button",{type:"button",onClick:e,className:"z-10",title:r,style:{position:"absolute",top:"calc(50% - 15px)",width:30,height:30,cursor:"pointer",right:15,color:"#ffffff",opacity:.7},children:(0,a.jsx)(b.j,{size:"2em"})})},children:e.media.map((function(t){return(0,a.jsx)("div",{className:"border border-gray-100",children:(0,a.jsx)(p.default,{src:t.url,layout:"responsive",width:1e3,height:600,alt:e.name})},t.id)}))}),(0,a.jsx)("div",{className:"bg-gray-100 text-center pt-1 px-4 pb-4",children:(0,a.jsx)("h3",{className:"text-lg text-gray-600",children:e.name})}),(0,a.jsxs)("div",{className:"bg-white text-left flex flex-col flex-1 p-4",children:[(0,a.jsx)("span",{className:"text-base p-1",children:e.contact.street}),(0,a.jsx)("span",{className:"text-base p-1",children:e.contact.building}),(0,a.jsxs)("span",{className:"text-base p-1",children:[e.contact.city," ",e.contact.postcode]}),e.contact.phone&&(0,a.jsxs)("span",{className:"text-base p-1 flex items-center",children:[(0,a.jsx)(h.I,{className:"mr-2",size:"1.2em"}),e.contact.phone]}),e.contact.fax&&(0,a.jsxs)("span",{className:"text-base p-1 flex items-center",children:[(0,a.jsx)(x.u,{className:"mr-2",size:"1.2em"}),e.contact.fax]}),e.contact.email&&(0,a.jsxs)("span",{className:"text-base p-1 flex items-center",children:[(0,a.jsx)(f.S,{className:"mr-2",size:"1.2em"}),(0,a.jsx)("a",{href:"mailTo:".concat(e.contact.email),children:e.contact.email})]}),e.contact.website&&(0,a.jsxs)("span",{className:"text-base p-1 cursor-pointer flex items-center",children:[(0,a.jsx)(m.s,{className:"mr-2",size:"1.2em"}),(0,a.jsx)(n.default,{href:(0,l.U2)(e,["contact","website"],"").startsWith("http")?"".concat(e.contact.website):"https://".concat(e.contact.website),children:(0,a.jsx)("a",{target:"_blank",rel:"nofollow noindex",children:e.contact.website.replace("https://","")})})]})]})]},e.name)}))})})]},e.country)}))})})]}),(0,a.jsx)("section",{id:"LinkProduct",className:"text-center bg-image-1",children:(0,a.jsx)("div",{className:"flex flex-wrap bg-gray-300 bg-opacity-80",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)(u.default,{position:"horizontal",productvideo:!1,ebook:!0,contactus:!0})})})})]})]})}}},function(e){e.O(0,[807,5141,9110,9774,2888,179],(function(){return t=88536,e(e.s=t);var t}));var t=e.O();_N_E=t}]);