1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6838],{70216:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[domainLocale]/product/detail/[productSlug]",function(){return r(30778)}])},30778:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return F},default:function(){return H}});var a=r(85893),l=r(52091),o=r(2777),s=r(41664),i=r(11163),c=r(67294),d=r(86896),n=r(36005),u=r(55023),h=r(91305),x=r(4998),p=r(11878),g=r(71294),m=r(35141),f=r(63009),b=r(24604),j=r(44080),w=r(94184),y=r.n(w),v=r(12918);function N(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 _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){_(e,t,r[t])}))}return e}function k(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,l,o=[],s=!0,i=!1;try{for(r=r.call(e);!(s=(a=r.next()).done)&&(o.push(a.value),!t||o.length!==t);s=!0);}catch(c){i=!0,l=c}finally{try{s||null==r.return||r.return()}finally{if(i)throw l}}return o}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return N(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 N(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 P=[{locale:"ID",title:"Bahasa"},{locale:"EN",title:"English"},{locale:"TH",title:"Thai"},{locale:"VI",title:"Viet"}],S=function(e){var t=e.product,r=e.isDesktop,l=e.t,o=(0,c.useState)(!1),s=o[0],i=o[1];return(0,c.useEffect)((function(){window.document?i(!0):i(!1)}),[]),s&&t&&t.media&&t.media.url?(0,a.jsx)(f.Z,{imageProps:{src:t.media.url,className:"object-fill focus-none"},magnifiedImageProps:{src:t.media.url,width:750,height:750},magnifyContainerProps:{width:r?800:400,height:r?600:300,className:"bg-white border border-gray-200"},portalProps:{id:"portal",horizontalOffset:r?30:0,placement:r?"right-start":"over"},activationInteractionHint:"click",shouldStopTouchMovePropagation:"true",hintProps:{hintTextMouse:l("product.clickZoom.label","Click to Zoom"),hintTextTouch:l("product.touchZoom.label","Touch to Zoom")}}):null},U=function(e){var t=e.brochures,r=e.slug,o=e.domainLocale,i=e.t;return(0,n.Ft)(t)||!t?"":t.length>1?(0,a.jsxs)(b.v,{as:"div",className:"relative w-full col-span-2",children:[(0,a.jsx)(b.v.Button,{as:"div",className:"group border bg-yellow-450 hover:bg-white hover:border-gray-200 p-2 lg:p-4 rounded-sm cursor-pointer",children:(0,a.jsxs)("p",{className:"text-white group-hover:text-yellow-450 text-bold text-base xl:text-xl tracking-widest flex items-center",children:[(0,a.jsx)("span",{className:"px-4",children:(0,a.jsx)(l.uYZ,{className:"text-xl"})}),i("product.detail.label","View Product Detail")]})}),(0,a.jsx)(j.u,{as:c.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,a.jsx)(b.v.Items,{as:"div",className:"absolute left-0 mt-2 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none",children:t.map((function(e){return(0,a.jsx)(b.v.Item,{as:"div",className:"p-2",children:function(t){var l;t.active;return(0,a.jsx)(s.default,{href:"/".concat(o,"/product/detail/").concat(r,"/brochure/").concat(e.id),passHref:!0,children:(0,a.jsx)("a",{target:"_self",children:(0,a.jsxs)("span",{className:"text-base flex justify-left items-center cursor-pointer",children:[" ","Click here for ".concat(null===(l=P.find((function(t){return t.locale==e.locale})))||void 0===l?void 0:l.title)," "]})})})}},e.id)}))})})]}):1==t.length?(0,a.jsx)("div",{className:"group col-span-2 border bg-yellow-450 hover:bg-white hover:border-gray-200 p-2 lg:p-4 roun
1ded-sm cursor-pointer",children:(0,a.jsx)(s.default,{href:"/".concat(o,"/product/detail/").concat(r,"/brochure/").concat(t[0].id),passHref:!0,children:(0,a.jsx)("a",{target:"_self",children:(0,a.jsxs)("p",{className:"text-white group-hover:text-yellow-450 text-bold text-base xl:text-xl tracking-widest flex items-center",children:[(0,a.jsx)("span",{className:"px-4",children:(0,a.jsx)(l.uYZ,{className:"text-xl"})}),i("product.detail.label","View Product Detail")]})})})}):(0,a.jsx)("div",{className:"border col-span-2 bg-gray-200 p-2 lg:p-4 rounded-sm cursor-not-allowed border-gray-200 flex",children:(0,a.jsxs)("p",{className:"text-gray-400 text-bold text-base xl:text-xl tracking-widest flex items-center",children:[(0,a.jsx)("span",{className:"px-4",children:(0,a.jsx)(l.ZJh,{className:"text-xl"})}),i("product.detail.label","View Product Detail")]})})},F=!0;function H(e){var t,r=(0,d.Z)().formatMessage,f=(0,c.useState)(!0),b=f[0],j=f[1],w=k((0,u.BV)(),2),N=w[0],_=(w[1],(0,c.useMemo)((function(){return N>=1024}),[N])),P=(0,c.useState)({hasSensorCatalog:!1,hasCatalog:!1,hasProductHighlight:!1,hasVideo:!1,hasBrochures:!1}),F=P[0],H=P[1],L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return r({id:e,defaultMessage:t||e})},E=(0,i.useRouter)();(0,c.useEffect)((function(){var t,r,a,l,o;e.product_detail&&H({hasSensorCatalog:!(0,n.xb)(null===(t=e.product_detail)||void 0===t?void 0:t.sensorLink),hasCatalog:!(0,n.xb)(null===(r=e.product_detail)||void 0===r?void 0:r.generalCatalogueLink),hasProductHighlight:!(0,n.xb)(null===(a=e.product_detail)||void 0===a?void 0:a.productHighlight),hasVideo:!(0,n.xb)(null===(l=e.product_detail)||void 0===l?void 0:l.video),hasBrochures:!(0,n.xb)(null===(o=e.product_detail)||void 0===o?void 0:o.brochures)})}),[e.product_detail]);var V=(0,c.useCallback)((function(t){var r=e.domainLocale;return t?"/".concat(r).concat(t):"/".concat(r)}),[e]);if(E.isFallback)return"Loading...";if(!e||!e.product_detail||(0,n.xb)(e.product_detail))return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g.default,{addsearchBot:"noindex"}),(0,a.jsx)(v.default,{statusCode:404})]});var q={},D=(0,n.U2)(e,["product_detail","productCategory"],[]).map((function(e){return e.name})).join(","),O=(0,n.U2)(e,["product_detail","productSubCategory"],[]).map((function(e){return e.name})).join(","),I=(0,n.U2)(e,["product_detail","productCategory"],[]).map((function(e){return e.name?e.name.trim():""}));return I.push((0,n.U2)(e,["product_detail","productSubCategory"],[]).map((function(e){return e.name?e.name.trim():""}))),I.push((0,n.U2)(e,["product_detail","name"])),(0,n.U2)(e,["product_detail","header"])&&I.push((0,n.U2)(e,["product_detail","header"])),(0,a.jsxs)("div",{className:"flex flex-col px-1 lg:px-0",children:[(0,a.jsx)(g.default,{title:(0,n.U2)(e,["product_detail","name"],""),domainTitle:(0,n.U2)(e,["homepage","title"],"Mitutoyo Asia Pacific"),domain:(0,n.U2)(e,["homepage","domain"]),metatag:"".concat(D,",").concat(O,",").concat((0,n.U2)(e,["product_detail","name"],""),",").concat((0,n.U2)(e,["product_detail","metatag"],"")),meta:(0,n.U2)(e,["product_detail","meta"],null),image:(0,n.U2)(e,["product_detail","media"],{}),locales:(0,n.U2)(e,"locales","en"),locale:(0,n.U2)(e,"locale","en"),countryCode:(0,n.U2)(e,"countryCode"),categories:["Product"],keywords:I,productFeatured:(0,n.U2)(e,["product_detail","featuredFlag"],!1),productNew:(0,n.U2)(e,["product_detail","newFlag"],!1),productCategory:(0,n.U2)(e,["product_detail","productCategory"],[]),productSubCategory:(0,n.U2)(e,["product_detail","productSubCategory"],[])}),(0,a.jsx)("div",{className:"flex border-0 border-black pb-4",children:e.product_detail?(0,a.jsxs)("div",{className:"container",children:[(0,a.jsxs)("ol",{className:"flex flex-row py-5 bg-grey-light text-grey items-center justify-start",children:[(0,a.jsx)("li",{className:"pr-2",children:(0,a.jsx)(s.default,{href:{pathname:V(),query:C({},q)},passHref:!0,children:(0,a.jsx)("a",{target:"_self",className:"no-underline text-indigo",children:"Home"})})}),(0,a.jsx)("li",{children:(0,a.jsx)(l.jS6,{size:"1.2em",className:"mr-1"})}),(0,a.jsx)("li",{className:"px-2 hidden lg:block",children:(0,a.jsx)(s.default,{href:{pathname:V("/product"),query:C({},q)},className:"no-underline text-indigo",children:(0,a.jsx)("a",{target:"_self",children:L("breadCrumb.product.label")})})}),(0,a.jsx)("li",{className:"hidden lg:block",children:(0,a.jsx)(l.jS6,{size:"1.2em",className:"mr-1"})}),(0,a.jsx)("li",{className:"px-2",children:(0,n.U2)(e,["product_detail","name"])})]}),(0,a.jsxs)("div",{className:"w-full flex flex-wrap text-left",children:[(0,a.jsxs)("div",{className:"w-full flex flex-wrap pb-10",children:[(0,a.jsx)("div",{className:"w-full lg:w-1/3 flex justify-center pb-5",children:(0,a.jsxs)("div",{className:"w-full p-1 overflow-hidden",style:{width:_?450:360,height:450},children:[(0,a.jsxs)("div",{className:"w-full grid grid-cols-2",children:[!0===e.product_detail.newFlag&&(0,a.jsx)("div",{className:y()(!1===e.product_detail.featuredFlag?"w-full col-span-2 border-yellow-450 border-t-2 roun
1ded-t-xl":"w-full border-yellow-450 border-t-2 rounded-tl-xl","flex justify-center items-center bg-yellow-450 p-2 h-12"),children:(0,a.jsx)("p",{className:"text-white text-center font-bold text-lg",children:L("product.newFlag.title","New!")})}),!0===e.product_detail.featuredFlag&&(0,a.jsx)("div",{className:y()(!1===e.product_detail.newFlag?"w-full col-span-2 border-gray-600 border-t-2 rounded-t-xl":"w-full border-gray-600 border-t-2 rounded-tr-xl","flex justify-center items-center bg-gray-600 p-2 h-12"),children:(0,a.jsx)("p",{className:"text-white text-center font-bold text-lg",children:L("product.featuredFlag.title","Featured Product!")})})]}),(0,a.jsx)("div",{className:y()("w-full flex justify-center rounded-b-xl border-l-2 border-r-2 border-b-2 border-yellow-450 w-100 h-120 overflow-hidden ",e.product_detail.featuredFlag||e.product_detail.newFlag?"":"border-t-2 rounded-t-xl"),children:(0,a.jsx)("div",{className:"relative self-auto cursor-pointer overflow-hidden",children:(0,a.jsx)(S,{product:e.product_detail,isDesktop:_,t:L})})})]})}),(0,a.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-wrap self-start px-1 lg:px-2 space-y-2 relative",children:[(0,a.jsx)("div",{id:"portal",className:"absolute top-100 -left-30 z-30 "}),(0,a.jsx)("p",{id:"productHeader",className:"w-full mitutoyo-orange text-3xl",children:e.product_detail.header}),(0,a.jsx)("h1",{id:"productName",className:"w-full product-name text-black text-xl",children:(null===(t=e.product_detail.meta)||void 0===t?void 0:t.h1)||e.product_detail.name}),_?(0,a.jsxs)("div",{className:y()("w-full space-y-1 pt-4","vi"!=(0,n.U2)(e,"locale","en")?"lg:w-1/2":"lg:w-3/4"),children:[(0,a.jsx)("div",{className:"group border bg-yellow-450 hover:bg-white hover:border-gray-200 p-2 lg:p-4 rounded-sm cursor-pointer",children:(0,a.jsx)(s.default,{href:V("/contactus/contact-us?s=PriceEnquiry&productId=".concat(e.product_detail.id)),children:(0,a.jsx)("a",{target:"_self",rel:"nofollow noindex",children:(0,a.jsxs)("p",{className:"text-white group-hover:text-yellow-450 text-bold text-base xl:text-xl tracking-widest flex items-center",children:[(0,a.jsx)("span",{className:"px-4",children:(0,a.jsx)(o.oQC,{className:"text-xl"})}),L("product.price.label","Price")]})})})}),(0,a.jsx)("div",{className:"group border bg-yellow-450 hover:bg-white hover:border-gray-200 p-2 lg:p-4 rounded-sm cursor-pointer",children:(0,a.jsx)(s.default,{href:V("/contactus/contact-us?s=ProductEnquiry&productId=".concat(e.product_detail.id)),children:(0,a.jsx)("a",{target:"_self",rel:"nofollow noindex",children:(0,a.jsxs)("p",{className:"text-white group-hover:text-yellow-450 text-bold text-base xl:text-xl tracking-widest flex items-center",children:[(0,a.jsx)("span",{className:"px-4",children:(0,a.jsx)(l.DCG,{className:"text-xl"})}),L("product.enquiries.label","Contact Us for Enquiries")]})})})}),(0,a.jsx)(U,{brochures:e.product_detail.brochures,slug:e.product_detail.slug,domainLocale:e.domainLocale,t:L})]}):(0,a.jsxs)("div",{className:"w-full grid grid-cols-2 pt-4 gap-2",children:[(0,a.jsx)("div",{className:"bg-yellow-450 p-2 rounded-sm cursor-pointer flex items-center",children:(0,a.jsx)(s.default,{href:V("/contactus/contact-us?s=PriceEnquiry&productId=".concat(e.product_detail.id)),children:(0,a.jsx)("a",{target:"_self",rel:"nofollow noindex",children:(0,a.jsxs)("p",{className:"text-white text-bold text-base flex items-center",children:[(0,a.jsx)("span",{className:"px-4",children:(0,a.jsx)(o.oQC,{className:"text-lg"})}),L("product.price.label","Price")]})})})}),(0,a.jsx)("div",{className:"bg-yellow-450 p-2 rounded-sm cursor-pointer flex items-center w-full",children:(0,a.jsx)(s.default,{href:V("/contactus/contact-us?s=ProductEnquiry&productId=".concat(e.product_detail.id)),children:(0,a.jsx)("a",{target:"_self",rel:"nofollow noindex",className:"flex items-center ",children:(0,a.jsxs)("p",{className:"text-white text-bold text-base flex items-center",children:[(0,a.jsx)("span",{className:"px-4",children:(0,a.jsx)(l.DCG,{className:"text-lg"})}),L("product.enquiries.label","Contact Us for Enquiries")]})})})}),(0,a.jsx)(U,{brochures:e.product_detail.brochures,slug:e.product_detail.slug,domainLocale:e.domainLocale,t:L})]})]}),_?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"w-full lg:w-1/3 flex justify-center",children:(0,a.jsxs)("div",{className:"flex-0 space-y-1",children:[F.hasProductHighlight?(0,a.jsx)("div",{children:(0,a.jsx)("a",{href:"#product-highlight",rel:"nofollow",children:(0,a.jsxs)("div",{className:y()("lg:w-100 items-start w-full h-12 text-white text-base bg-yellow-450 border hover:border-gray-200 hover:bg-white hover:text-gray-800 rounded-sm py-2 px-2"),children:[L("product.highlights.label","Product Highlights")," ",(0,a.jsx)("span",{className:"float-right text-lg",children:(0,a.jsx)(l.qL$,{})})]})})}):(0,a.jsxs)("div",{className:y()("lg:w-100 items-start w-full h-12 text-gray-400 text-base bg-gray-200 border border-gray-300 rounded-sm py-2 px-2 cursor-not-allowed"),children:[L("product.highlights.label","Product Highlights")," ",(0,a.jsx)("span",{className:"float-right text-lg",children:(0,a.jsx)(l.qL$,{})})]}),F.hasVideo?(0,a.jsx)("div",{children:(0,a.jsx)("a",{href:"#video",rel:"nofollow",children:(0,a.jsxs)("div",{className:y()("lg:w-100 items-start w-full h-12 text-white text-base cursor-pointer bg-yellow-450 border hover:border-gray-200 hover:bg-white hover:text-gray-800 rounded-sm py-2 px-2"),children:[L("product.video.label","Product Video")," ",(0,a.jsx)("span",{className:"float-right text-lg",children:(0,a.jsx)(l.qL$,{})})]})})}):(0,a.jsxs)("div",{className:y()("lg:w-100 items-start w-full h-12 text-gray-400 text-base bg-gray-200 border border-gray-300 rounded-sm py-2 px-2 cursor-not-allowed "),children:[L("product.video.label","Product Video")," ",(0,a.jsx)("span",{className:"float-right text-lg",children:(0,a.jsx)(l.qL$,{})})]}),F.hasCatalog||F.hasSensorCatalog?(0,a.jsx)("div",{id:"catalogLink",children:F.hasSensorCatalog?(0,a.jsx)(s.default,{href:V((0,n.U2)(e,["product_detail","sensorLink"])),passHref:!0,children:(0,a.jsx)("a",{target:"_blank",children:(0,a.jsx)("div",{className:y()("lg:w-100 items-start w-full h-12 text-white text-base cursor-pointer bg-yellow-450 border hover:border-gray-200 hover:bg-white hover:text-gray-800 rounded-sm py-2 px-2"),children:L("product.esensor.label","View Product in E-Sensor Catalog")})})}):(0,a.jsx)(s.default,{href:V((0,n.U2)(e,["product_detail","generalCatalogueLink"])),passHref:!0,children:(0,a.jsx)("a",{target:"_blank",children:(0,a.jsx)("div",{className:y()("lg:w-100 items-start w-full h-12 text-white text-base cursor-pointer bg-yellow-450 border hover:border-gray-200 hover:bg-white hover:text-gray-800 rounded-sm py-2 px-2"),children:L("product.ebook.label","View Product in E-Book Catalog")})})})}):(0,a.jsx)("div",{className:y()("lg:w-100 items-start w-full h-12 text-gray-400 text-base bg-gray-200 border border-gray-300 rounded-sm py-2 px-2 cursor-not-allowed "),children:L("product.ebook.label","View Product in E-Book Catalog")})]})}),(0,a.jsxs)("div",{className:"w-full lg:w-2/3 px-2 flex flex-wrap items-start",children:[(0,a.jsxs)("p",{className:y()("hover:text-yellow-450 text-2xl w-full flex items-center cursor-pointer",b?"underline text-yellow-450 pb-4":"text-gray-600 "),onClick:function(){return j((function(e){return!e}))},children:[L("product.information.label","View Details Information")," ",b?(0,a.jsx)(o.FS3,{className:"ml-2 text-2xl"}):(0,a.jsx)(o.O9D,{className:"ml-2 text-2xl"})]}),(0,a.jsx)("div",{id:"productDetail","data-addsearch":"include",className:y()(b?"block":"hidden"),children:(0,a.jsx)(h.default,{content:e.product_detail.productDetail})})]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"w-full pt-10 pl-1",children:[(0,a.jsxs)("p",{className:y()("hover:text-yellow-450 text-2xl w-full flex items-center cursor-pointer",b?"underline text-yellow-450 pb-4":"text-gray-600 "),onClick:function(){return j((function(e){return!e}))},children:[L("product.information.label","View Details Information")," ",b?(0,a.jsx)(o.FS3,{className:"ml-2 text-2xl"}):(0,a.jsx)(o.O9D,{className:"ml-2 text-2xl"})]}),(0,a.jsx)("div",{id:"productDetail","data-addsearch":"include",className:y()(b?"block":"hidden"),children:(0,a.jsx)(h.default,{content:e.product_detail.productDetail})})]}),(0,a.jsxs)("div",{className:"w-full lg:w-120 px-1 py-2 lg:p-2 space-y-1 gap-2 lg:flex lg:flex-wrap justify-center",children:[F.hasProductHighlight?(0,a.jsx)("div",{children:(0,a.jsx)("a",{href:"#product-highlight","aria-label":"go to product highlight section",children:(0,a.jsxs)("div",{className:"items-start w-full lg:w-64 h-12 text-white text-base bg-yellow-450 border hover:border-gray-200 hover:bg-white hover:text-gray-800 rounded-sm py-2 px-4",children:[L("product.highlights.label","Product Highlights")," ",(0,a.jsx)("span",{className:"float-right text-lg",children:(0,a.jsx)(l.qL$,{})})]})})}):(0,a.jsxs)("div",{className:"items-start w-full lg:w-64 h-12 text-gray-400 text-base bg-gray-200 border border-gray-300 rounded-sm py-2 px-4 cursor-not-allowed ",children:[L("product.highlights.label","Product Highlights")," ",(0,a.jsx)("span",{className:"float-right text-lg",children:(0,a.jsx)(l.qL$,{})})]}),F.hasVideo?(0,a.jsx)("div",{children:(0,a.jsx)("a",{href:"#video","aria-label":"go to video section",children:(0,a.jsxs)("div",{className:"items-start w-full lg:w-64 h-12 text-white text-base cursor-pointer bg-yellow-450 border hover:border-gray-200 hover:bg-white hover:text-gray-800 rounded-sm py-2 px-4",children:[L("product.video.label","Product Video")," ",(0,a.jsx)("span",{className:"float-right text-lg",children:(0,a.jsx)(l.qL$,{})})]})})}):(0,a.jsxs)("div",{className:"items-start w-full lg:w-64 h-12 text-gray-400 text-base bg-gray-200 border border-gray-300 rounded-sm py-2 px-4 cursor-not-allowed ",children:[L("product.video.label","Product Video")," ",(0,a.jsx)("span",{className:"float-right text-lg",children:(0,a.jsx)(l.qL$,{})})]}),F.hasSensorCatalog||F.hasCatalog?(0,a.jsx)("div",{id:"catalogLink",children:F.hasSensorCatalog?(0,a.jsx)(s.default,{href:V((0,n.U2)(e,["product_detail","sensorLink"])),passHref:!0,children:(0,a.jsx)("a",{target:"_self","aria-label":"open sensor catalogue in new tab",rel:"nofollow noindex",children:(0,a.jsx)("div",{className:"items-start w-full lg:w-80 h-12 text-white text-base cursor-pointer bg-yellow-450 border hover:border-gray-200 hover:bg-white hover:text-gray-800 rounded-sm py-2 px-4 overflow-hidden",children:L("product.esensor.label","View Product in E-Sensor Catalog")})})}):(0,a.jsx)(s.default,{href:V((0,n.U2)(e,["product_detail","generalCatalogueLink"])),passHref:!0,children:(0,a.jsx)("a",{target:"_self","aria-label":"open e-book catalogue in new tab",rel:"nofollow noindex",children:(0,a.jsx)("div",{className:"items-start w-full lg:w-80 h-12 text-white text-base cursor-pointer bg-yellow-450 border hover:border-gray-200 hover:bg-white hover:text-gray-800 rounded-sm py-2 px-4 overflow-hidden",children:L("product.ebook.label","View Product in E-Book Catalog")})})})}):(0,a.jsx)("div",{className:"items-start w-full lg:w-80 h-12 text-gray-400 text-base bg-gray-200 border border-gray-300 rounded-sm py-2 px-4 cursor-not-allowed ",children:L("product.ebook.label","View Product in E-Book Catalog")})]})]})]}),(0,a.jsxs)("div",{className:"w-full",children:[!(0,n.Ft)((0,n.U2)(e,["product_detail","productHighlight"]))&&!(0,n.xb)((0,n.U2)(e,["product_detail","productHighlight"]))&&(0,a.jsxs)("div",{id:"productHighlight","data-addsearch":"include",className:"flex flex-col py-10",children:[(0,a.jsx)("div",{id:"product-highlight",style:{position:"relative",top:"-140px",visibility:"hidden"}}),(0,a.jsx)("div",{className:"flex pb-5 border-b-2 border-yellow-450",children:(0,a.jsx)("span",{className:"text-2xl text-bold mitutoyo-orange",children:L("product.highlights.label")})}),(0,a.jsx)("div",{className:"pt-5",children:(0,a.jsx)(x.default,{banner:e.product_detail.productHighlight.banner,content:e.product_detail.productHighlight.brief,cards:e.product_detail.productHighlight.itemHighlights})})]}),!(0,n.Ft)((0,n.U2)(e,["product_detail","video"]))&&!(0,n.xb)((0,n.U2)(e,["product_detail","video"]))&&(0,a.jsxs)("div",{className:"flex flex-col py-10",children:[(0,a.jsx)("div",{id:"video",style:{position:"relative",top:"-140px",visibility:"hidden"}}),(0,a.jsx)("div",{className:"flex pb-5 border-b-2 border-yellow-450",children:(0,a.jsx)("span",{className:"text-2xl text-bold mitutoyo-orange",children:L("product.video.label")})}),(0,n.U2)(e,["product_detail","video"],[]).map((function(e){return(0,a.jsx)("div",{className:"flex flex-col py-5",style:N>=1024?{height:780,width:1280}:N>=640?{width:640,height:360}:{width:375,height:240},children:(0,a.jsx)(p.default,{video:e,isContained:!0,useCoverHQ:!0})},e.id)}))]})]})]})]}):""}),(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)(m.default,{position:"horizontal",productvideo:!0,ebook:!0,contactus:!0})})})})]})}},71294:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return c}});var a=r(85893),l=r(9008),o=r(11163),s=(r(67294),r(36005)),i=r(55023);function c(e){var t=(0,o.useRouter)();if((0,s.xb)(e))return"";var r=(0,s.U2)(e,"locale","en"),c=(0,s.U2)(e,"domainTitle","Mitutoyo Asia Pacific"),d=(0,s.Ft)(e.meta)?(0,s.xb)(e.metatag)?"":"".concat(e.metatag):e.meta,n=c;d&&!(0,s.xb)(d.title)?n="".concat(c," - ").concat(d.title):(0,s.xb)(e.title)||(n="".concat(c," - ").concat(e.title));var u=[];
1if(e.locales&&"en"!==e.locales){for(var h=e.locales.split(","),x={},p=0;p<h.length;p++)h[p]==r?x=(0,a.jsx)("link",{rel:"canonical",href:"https://".concat(e.domain).concat(t.asPath)},(0,s.EL)()):u.push((0,a.jsx)("link",{rel:"alternate",href:"https://".concat(e.domain).concat(t.asPath).replace(e.countryCode+"-"+r,e.countryCode+"-"+h[p]),hrefLang:h[p]},(0,s.EL)()));u.unshift(x)}return(0,a.jsxs)(l.default,{children:[(0,a.jsx)("title",{children:n}),u,(0,a.jsx)("meta",{name:"twitter:title",content:n}),(0,a.jsx)("meta",{property:"og:title",content:n}),(0,a.jsx)("meta",{name:"url",content:"https://".concat(e.domain).concat(t.asPath)}),(0,a.jsx)("meta",{name:"twitter:url",content:"https://".concat(e.domain).concat(t.asPath)}),(0,a.jsx)("meta",{property:"og:url",content:"https://".concat(e.domain).concat(t.asPath)}),(0,a.jsx)("meta",{name:"description",content:(0,s.xb)(d,"description")?d:d.description}),(0,a.jsx)("meta",{name:"keywords",content:(0,s.xb)(d,"keywords")?d:d.keywords}),(0,a.jsx)("meta",{property:"og:description",content:(0,s.xb)(d,"description")?d:d.description}),(0,a.jsx)("meta",{name:"twitter:description",content:(0,s.xb)(d,"description")?d:d.description}),(0,a.jsx)("meta",{name:"apple-touch-fullscreen",content:"yes"}),(0,a.jsx)("meta",{name:"mobile-web-app-capable",content:"yes"}),e.categories&&e.categories.map((function(e,t){return(0,a.jsx)("meta",{name:"addsearch-custom-field","data-type":"text",content:"category=".concat(e)},"cat".concat(t))})),e.keywords&&e.keywords.map((function(e,t){return(0,a.jsx)("meta",{name:"addsearch-custom-field","data-type":"text",content:"keyword=".concat(e)},"key".concat(t))})),(0,s.jn)(e.productFeatured)&&(0,a.jsx)("meta",{name:"addsearch-custom-field",content:"featured=".concat(!0===e.productFeatured?"yes":"no")}),(0,s.jn)(e.productNew)&&(0,a.jsx)("meta",{name:"addsearch-custom-field",content:"new=".concat(!0===e.productNew?"yes":"no")}),e.productCategory&&e.productCategory.length>0&&e.productCategory.map((function(e){return(0,a.jsx)("meta",{name:"addsearch-custom-field","data-type":"text",content:"productCategory=".concat(e.name.trim())},(0,s.EL)("cat"))})),e.productSubCategory&&e.productSubCategory.length>0&&e.productSubCategory.map((function(e){return(0,a.jsx)("meta",{name:"addsearch-custom-field","data-type":"text",content:"productSubCategory=".concat(e.name.trim())},(0,s.EL)("subcat"))})),(0,s.jn)(e.hasCatalog)&&(0,a.jsx)("meta",{name:"addsearch-custom-field",content:"hasCatalog=".concat(!0===e.hasCatalog?"yes":"no")}),(0,s.jn)(e.hasSensorCatalog)&&(0,a.jsx)("meta",{name:"addsearch-custom-field",content:"hasSensorCatalog=".concat(!0===e.hasSensorCatalog?"yes":"no")}),e.image&&e.image.url&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{name:"og:image",content:e.image&&e.image.url.startsWith("http")?e.image.url:"".concat(i.oY).concat(e.image.url)}),(0,a.jsx)("meta",{name:"twitter:image",content:e.image&&e.image.url.startsWith("http")?e.image.url:"".concat(i.oY).concat(e.image.url)})]}),(0,a.jsx)("meta",{property:"og:locale",content:r}),(0,a.jsx)("meta",{name:"twitter:locale",content:r}),e.robots?(0,a.jsx)("meta",{name:"robots",content:e.robots}):(0,a.jsx)("meta",{name:"robots",content:"index, follow"}),!(0,s.Ft)(e.addsearchBot)&&!(0,s.xb)(e.addsearchBot)&&!(0,s.o8)(e.addsearchBot)&&(0,a.jsx)("meta",{name:"addsearchbot",content:e.addsearchBot}),(0,a.jsx)("link",{rel:"preconnect",href:i.FH,crossOrigin:"anonymous"}),(0,a.jsx)("link",{rel:"dns-prefetch",href:i.FH}),(0,a.jsx)("link",{rel:"dns-prefetch",href:i.oY})]})}}},function(e){e.O(0,[807,9145,7781,5141,9350,4998,9774,2888,179],(function(){return t=70216,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.