PageSourceSearch

https://www.mitutoyo.com.sg/_next/static/chunks/5519-26aa4bb068df9080.js

js mitutoyo.com.sg collected 2026-10-08 06:47:29 UTC 15,889 bytes, 1 lines download raw bytes

vendor: 4,723 bytes, line 1
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5519],{27484:function(t){t.exports=function(){"use strict";var t=1e3,e=6e4,r=36e5,n="millisecond",a="second",s="minute",i="hour",o="day",c="week",u="month",l="quarter",d="year",h="date",f="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},y=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},b={s:y,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),a=r%60;return(e<=0?"+":"-")+y(n,2,"0")+":"+y(a,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),a=e.clone().add(n,u),s=r-a<0,i=e.clone().add(n+(s?-1:1),u);return+(-(n+(r-a)/(s?a-i:i-a))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:d,w:c,d:o,D:h,h:i,m:s,s:a,ms:n,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},x="en",$={};$[x]=g;var j=function(t){return t instanceof M},w=function(t,e,r){var n;if(!t)return x;if("string"==typeof t)$[t]&&(n=t),e&&($[t]=e,n=t);else{var a=t.name;$[a]=t,n=a}return!r&&n&&(x=n),n||!r&&x},v=function(t,e){if(j(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new M(r)},S=b;S.l=w,S.i=j,S.w=function(t,e){return v(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var M=function(){function g(t){this.$L=w(t.locale,null,!0),this.parse(t)}var y=g.prototype;return y.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(S.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(m);if(n){var a=n[2]-1||0,s=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],a,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)):new Date(n[1],a,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},y.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},y.$utils=function(){return S},y.isValid=function(){return!(this.$d.toString()===f)},y.isSame=function(t,e){var r=v(t);return this.startOf(e)<=r&&r<=this.endOf(e)},y.isAfter=function(t,e){return v(t)<this.startOf(e)},y.isBefore=function(t,e){return this.endOf(e)<v(t)},y.$g=function(t,e,r){return S.u(t)?this[e]:this.set(r,t)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(t,e){var r=this,n=!!S.u(e)||e,l=S.p(t),f=function(t,e){var a=S.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return n?a:a.endOf(o)},m=function(t,e){return S.w(r.toDate()[t].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(e)),r)},p=this.$W,g=this.$M,y=this.$D,b="set"+(this.$u?"UTC":"");switch(l){case d:return n?f(1,0):f(31,11);case u:return n?f(1,g):f(0,g+1);case c:var x=this.$locale().weekStart||0,$=(p<x?p+7:p)-x;return f(n?y-$:y+(6-$),g);case o:case h:return m(b+"Hours",0);case i:return m(b+"Minutes",1);case s:return m(b+"Seconds",2);case a:return m(b+"Milliseconds",3);default:return this.clone()}},y.endOf=function(t){return this.startOf(t,!1)},y.$set=function(t,e){var r,c=S.p(t),l="set"+(this.$u?"UTC":""),f=(r={},r[o]=l+"Date",r[h]=l+"Date",r[u]=l+"Month",r[d]=l+"FullYear",r[i]=l+"Hours",r[s]=l+"Minutes",r[a]=l+"Seconds",r[n]=l+"Milliseconds",r)[c],m=c===o?this.$D+(e-this.$W):e;if(c===u||c===d){var p=this.clone().set(h,1);p.$d[f](m),p.init(),this.$d=p.set(h,Math.min(this.$D,p.daysInMonth())).$d}else f&&this.$d[f](m);return this.init(),this},y.set=function(t,e){return this.clone().$set(t,e)},y.get=function(t){return this[S.p(t)]()},y.add=function(n,l){var h,f=this;n=Number(n);var m=S.p(l),p=function(t){var e=v(f);return S.w(e.date(e.date()+Math.round(t*n)),f)};if(m===u)return this.set(u,this.$M+n);if(m===d)return this.set(d,this.$y+n);if(m===o)return p(1);if(m===c)return p(7);var g=(h={},h[s]=e,h[i]=r,h[a]=t,h)[m]||1,y=this.$d.getTime()+n*g;return S.w(y,this)},y.subtract=function(t,e){return this.add(-1*t,e)},y.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||f;var n=t||"YYYY-MM-DDTHH:mm:ssZ",a=S.z(this),s=this.$H,i=this.$m,o=this.$M,c=r.weekdays,u=r.months,l=function(t,r,a,s){return t&&(t[r]||t(e,n))||a[r].substr(0,s)},d=function(t){return S.s(s%12||12,t,"0")}
1,h=r.meridiem||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n},m={YY:String(this.$y).slice(-2),YYYY:this.$y,M:o+1,MM:S.s(o+1,2,"0"),MMM:l(r.monthsShort,o,u,3),MMMM:l(u,o),D:this.$D,DD:S.s(this.$D,2,"0"),d:String(this.$W),dd:l(r.weekdaysMin,this.$W,c,2),ddd:l(r.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(s),HH:S.s(s,2,"0"),h:d(1),hh:d(2),a:h(s,i,!0),A:h(s,i,!1),m:String(i),mm:S.s(i,2,"0"),s:String(this.$s),ss:S.s(this.$s,2,"0"),SSS:S.s(this.$ms,3,"0"),Z:a};return n.replace(p,(function(t,e){return e||m[t]||a.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(n,h,f){var m,p=S.p(h),g=v(n),y=(g.utcOffset()-this.utcOffset())*e,b=this-g,x=S.m(this,g);return x=(m={},m[d]=x/12,m[u]=x,m[l]=x/3,m[c]=(b-y)/6048e5,m[o]=(b-y)/864e5,m[i]=b/r,m[s]=b/e,m[a]=b/t,m)[p]||b,f?x:S.a(x)},y.daysInMonth=function(){return this.endOf(u).$D},y.$locale=function(){return $[this.$L]},y.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=w(t,e,!0);return n&&(r.$L=n),r},y.clone=function(){return S.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},g}(),C=M.prototype;return v.prototype=C,[["$ms",n],["$s",a],["$m",s],["$H",i],["$W",o],["$M",u],["$y",d],["$D",h]].forEach((function(t){C[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),v.extend=function(t,e){return t.$i||(t(e,M,v),t.$i=!0),v},v.locale=w,v.isDayjs=j,v.unix=function(t){return v(1e3*t)},v.en=$[x],v.Ls=$,v.p={},v}()},38277:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return b}});var n=r(85893),a=r(67294),s=r(41664),i=r(11163),o=r(86896),c=r(36005),u=r(52091),l=r(94184),d=r.n(l);function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function f(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){f(t,e,r[e])}))}return t}function p(t,e){if(null==t)return{};var r,n,a=function(t,e){if(null==t)return{};var r,n,a={},s=Object.keys(t);for(n=0;n<s.length;n++)r=s[n],e.indexOf(r)>=0||(a[r]=t[r]);return a}(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(n=0;n<s.length;n++)r=s[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(a[r]=t[r])}return a}function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,s=[],i=!0,o=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(s.push(n.value),!e||s.length!==e);i=!0);}catch(c){o=!0,a=c}finally{try{i||null==r.return||r.return()}finally{if(o)throw a}}return s}}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return h(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.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 h(t,e)}(t,e)||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.")}()}function y(t){return t.replace(/\-/g," ").replace(/\w\S*/g,(function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()}))}function b(t){var e=t.paths,r=t.hideTitle,l=t.breadCrumbLabel,h=t.defaultTitle,f=p(t,["paths","hideTitle","breadCrumbLabel","defaultTitle"]),b=(0,o.Z)().formatMessage,x=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return b({id:t,defaultMessage:e||t})},$=(0,a.useState)([]),j=$[0],w=$[1],v=(0,i.useRouter)(),S=function(t){switch(t){case"product":return x("breadCrumb.product.label","Product");case"solutions":return x("breadCrumb.solution.label","Solutions");
1case"support":return x("breadCrumb.support.label");case"news-exhibition":return x("breadCrumb.newsExhibition.label");case"aboutus":return x("breadCrumb.aboutUs.label");case"contactus":return x("breadCrumb.contactUs.label");case"search":case"search#":return x("breadCrumb.search.label");case"register":return x("header.register.label");case"forget-password":return x("signin.forgotPassword.label");case"reset-password":return x("resetPassword.resetPassword.title");case"change-password":return x("header.changePassword.label");case"account":return x("breadCrumb.account.label");case"article":return x("breadCrumb.article.label");case"uploads":return x("breadCrumb.uploads.label");case"software-download":return x("breadCrumb.software-download.label");default:return x(t,t)}},M={};(0,a.useEffect)((function(){var t=v.asPath.split("?")[0].split("#")[0];if(e)w(e);else if(t){var r="",n=[],a=t.split("/"),s=!0,i=!1,o=void 0;try{for(var u,d=a.entries()[Symbol.iterator]();!(s=(u=d.next()).done);s=!0){var h=g(u.value,2),f=h[0],m=h[1];if(0!=f){var p=m.split("?")[0];p=1==f?x("Home","Home"):2==f?S(p):t.includes("/product")||(0,c.Ft)(l)||(0,c.o8)(l)?x(p,y(p)):f==a.length-1?l:x("breadCrumb.".concat(p,".label"),y(p)),r=r+"/"+m.split("?")[0],"contactus"==m&&"account"==m||n.push({title:p,link:r})}}}catch(b){i=!0,o=b}finally{try{s||null==d.return||d.return()}finally{if(i)throw o}}n.length>0&&w(n)}}),[e,v.asPath]);var C=(0,a.useMemo)((function(){return j.length>0?j[j.length-1].title:""}),[j]);return(0,n.jsxs)("div",{className:d()(f.className?f.className:""),children:[(0,n.jsx)("ol",{className:"w-full flex flex-row py-5 bg-grey-light text-grey items-center justify-start",children:j&&j.length>=2?j.map((function(t,e){return(0,n.jsx)(a.Fragment,{children:e<j.length-1?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("li",{className:"pr-2 cursor-pointer",style:{paddingTop:"1px"},children:(0,n.jsx)(s.default,{href:{pathname:t.link,query:m({},M)},children:(0,n.jsx)("a",{target:"_self",children:t.title})})},(0,c.EL)()),(0,n.jsx)("li",{className:"pr-2",children:(0,n.jsx)(u.jS6,{size:"1.2em",className:"mr-1"})},(0,c.EL)())]}):(0,n.jsx)("li",{className:"pr-2 text-yellow-450",style:{paddingTop:"1px"},children:C},(0,c.EL)())},e)})):1==j.length?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("li",{className:"pr-2 cursor-pointer",style:{paddingTop:"1px"},children:(0,n.jsx)(s.default,{href:{pathname:j[0].link,query:m({},M)},children:(0,n.jsx)("a",{target:"_self",children:(0,n.jsx)("span",{className:"",children:j[0].title})})})}),(0,n.jsx)("li",{className:"pr-2",children:(0,n.jsx)(u.jS6,{size:"1.2em",className:"mr-1"})}),(0,n.jsx)("li",{className:"px-0 text-yellow-450",children:(0,n.jsx)("span",{className:"",children:C})},(0,c.EL)())]}):(0,n.jsx)(n.Fragment,{})}),!r&&(0,n.jsx)("div",{className:"pt-0 border-0 border-black",children:(0,n.jsx)("h1",{className:"page-title",children:h||C})})]})}},71294:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return c}});var n=r(85893),a=r(9008),s=r(11163),i=(r(67294),r(36005)),o=r(55023);function c(t){var e=(0,s.useRouter)();if((0,i.xb)(t))return"";var r=(0,i.U2)(t,"locale","en"),c=(0,i.U2)(t,"domainTitle","Mitutoyo Asia Pacific"),u=(0,i.Ft)(t.meta)?(0,i.xb)(t.metatag)?"":"".concat(t.metatag):t.meta,l=c;u&&!(0,i.xb)(u.title)?l="".concat(c," - ").concat(u.title):(0,i.xb)(t.title)||(l="".concat(c," - ").concat(t.title));var d=[];if(t.locales&&"en"!==t.locales){for(var h=t.locales.split(","),f={},m=0;m<h.length;m++)h[m]==r?f=(0,n.jsx)("link",{rel:"canonical",href:"https://".concat(t.domain).concat(e.asPath)},(0,i.EL)()):d.push((0,n.jsx)("link",{rel:"alternate",href:"https://".concat(t.domain).concat(e.asPath).replace(t.countryCode+"-"+r,t.countryCode+"-"+h[m]),hrefLang:h[m]},(0,i.EL)()));d.unshift(f)}return(0,n.jsxs)(a.default,{children:[(0,n.jsx)("title",{children:l}),d,(0,n.jsx)("meta",{name:"twitter:title",content:l}),(0,n.jsx)("meta",{property:"og:title",content:l}),(0,n.jsx)("meta",{name:"url",content:"https://".concat(t.domain).concat(e.asPath)}),(0,n.jsx)("meta",{name:"twitter:url",content:"https://".concat(t.domain).concat(e.asPath)}),(0,n.jsx)("meta",{property:"og:url",content:"https://".concat(t.domain).concat(e.asPath)}),(0,n.jsx)("meta",{name:"description",content:(0,i.xb)(u,"description")?u:u.description}),(0,n.jsx)("meta",{name:"keywords",content:(0,i.xb)(u,"keywords")?u:u.keywords}),(0,n.jsx)("meta",{property:"og:description",content:(0,i.xb)(u,"description")?u:u.description}),(0,n.jsx)("meta",{name:"twitter:description",content:(0,i.xb)(u,"description")?u:u.description}),(0,n.jsx)("meta",{name:"apple-touch-fullscreen",content:"yes"}),(0,n.jsx)("meta",{name:"mobile-web-app-capable",content:"yes"}),t.categories&&t.categories.map((function(t,e){return(0,n.jsx)("meta",{name:"addsearch-custom-field","data-type":"text",content:"category=".concat(t)},"cat".concat(e))})),t.keywords&&t.keywords.map((function(t,e){return(0,n.jsx)("meta",{name:"addsearch-custom-field","data-type":"text",content:"keyword=".concat(t)},"key".concat(e))})),(0,i.jn)(t.productFeatured)&&(0,n.jsx)("meta",{name:"addsearch-custom-field",content:"featured=".concat(!0===t.productFeatured?"yes":"no")}),(0,i.jn)(t.productNew)&&(0,n.jsx)("meta",{name:"addsearch-custom-field",content:"new=".concat(!0===t.productNew?"yes":"no")}),t.productCategory&&t.productCategory.length>0&&t.productCategory.map((function(t){return(0,n.jsx)("meta",{name:"addsearch-custom-field","data-type":"text",content:"productCategory=".concat(t.name.trim())},(0,i.EL)("cat"))})),t.productSubCategory&&t.productSubCategory.length>0&&t.productSubCategory.map((function(t){return(0,n.jsx)("meta",{name:"addsearch-custom-field","data-type":"text",content:"productSubCategory=".concat(t.name.trim())},(0,i.EL)("subcat"))})),(0,i.jn)(t.hasCatalog)&&(0,n.jsx)("meta",{name:"addsearch-custom-field",content:"hasCatalog=".concat(!0===t.hasCatalog?"yes":"no")}),(0,i.jn)(t.hasSensorCatalog)&&(0,n.jsx)("meta",{name:"addsearch-custom-field",content:"hasSensorCatalog=".concat(!0===t.hasSensorCatalog?"yes":"no")}),t.image&&t.image.url&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{name:"og:image",content:t.image&&t.image.url.startsWith("http")?t.image.url:"".concat(o.oY).concat(t.image.url)}),(0,n.jsx)("meta",{name:"twitter:image",content:t.image&&t.image.url.startsWith("http")?t.image.url:"".concat(o.oY).concat(t.image.url)})]}),(0,n.jsx)("meta",{property:"og:locale",content:r}),(0,n.jsx)("meta",{name:"twitter:locale",content:r}),t.robots?(0,n.jsx)("meta",{name:"robots",content:t.robots}):(0,n.jsx)("meta",{name:"robots",content:"index, follow"}),!(0,i.Ft)(t.addsearchBot)&&!(0,i.xb)(t.addsearchBot)&&!(0,i.o8)(t.addsearchBot)&&(0,n.jsx)("meta",{name:"addsearchbot",content:t.addsearchBot}
1),(0,n.jsx)("link",{rel:"preconnect",href:o.FH,crossOrigin:"anonymous"}),(0,n.jsx)("link",{rel:"dns-prefetch",href:o.FH}),(0,n.jsx)("link",{rel:"dns-prefetch",href:o.oY})]})}}}]);

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.