1(function(b,h){"object"===typeof exports&&"object"===typeof module?module.exports=h():"function"===typeof define&&define.amd?define([],h):"object"===typeof exports?exports.axios=h():b.axios=h()})(this,function(){return function(b){function h(c){if(a[c])return a[c].exports;var d=a[c]={exports:{},id:c,loaded:!1};b[c].call(d.exports,d,d.exports,h);d.loaded=!0;return d.exports}var a={};h.m=b;h.c=a;h.p="";return h(0)}([function(b,h,a){b.exports=a(1)},function(b,h,a){function c(m){m=new e(m);var n=k(e.prototype.request, 2m);d.extend(n,e.prototype,m);d.extend(n,m);return n}var d=a(2),k=a(3),e=a(4),g=a(22);h=a(10);var f=c(h);f.Axios=e;f.create=function(m){return c(g(f.defaults,m))};f.Cancel=a(23);f.CancelToken=a(24);f.isCancel=a(9);f.all=function(m){return Promise.all(m)};f.spread=a(25);b.exports=f;b.exports.default=f},function(b,h,a){function c(l){return"[object Array]"===p.call(l)}function d(l){return"undefined"===typeof l}function k(l){return null!==l&&"object"===typeof l}function e(l){return"[object Function]"=== 3p.call(l)}function g(l,t){if(null!==l&&"undefined"!==typeof l)if("object"!==typeof l&&(l=[l]),c(l))for(var r=0,q=l.length;r<q;r++)t.call(null,l[r],r,l);else for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&t.call(null,l[r],r,l)}function f(){function l(u,w){t[w]="object"===typeof t[w]&&"object"===typeof u?f(t[w],u):u}for(var t={},r=0,q=arguments.length;r<q;r++)g(arguments[r],l);return t}function m(){function l(u,w){t[w]="object"===typeof t[w]&&"object"===typeof u?m(t[w],u):"object"===typeof u? 4m({},u):u}for(var t={},r=0,q=arguments.length;r<q;r++)g(arguments[r],l);return t}var n=a(3),p=Object.prototype.toString;b.exports={isArray:c,isArrayBuffer:function(l){return"[object ArrayBuffer]"===p.call(l)},isBuffer:function(l){return null!==l&&!d(l)&&null!==l.constructor&&!d(l.constructor)&&"function"===typeof l.constructor.isBuffer&&l.constructor.isBuffer(l)},isFormData:function(l){return"undefined"!==typeof FormData&&l instanceof FormData},isArrayBufferView:function(l){return"undefined"!==typeof ArrayBuffer&& 5ArrayBuffer.isView?ArrayBuffer.isView(l):l&&l.buffer&&l.buffer instanceof ArrayBuffer},isString:function(l){return"string"===typeof l},isNumber:function(l){return"number"===typeof l},isObject:k,isUndefined:d,isDate:function(l){return"[object Date]"===p.call(l)},isFile:function(l){return"[object File]"===p.call(l)},isBlob:function(l){return"[object Blob]"===p.call(l)},isFunction:e,isStream:function(l){return k(l)&&e(l.pipe)},isURLSearchParams:function(l){return"undefined"!==typeof URLSearchParams&& 6l instanceof URLSearchParams},isStandardBrowserEnv:function(){return"undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product?"undefined"!==typeof window&&"undefined"!==typeof document:!1}
6,forEach:g,merge:f,deepMerge:m,extend:function(l,t,r){g(t,function(q,u){l[u]=r&&"function"===typeof q?n(q,r):q});return l},trim:function(l){return l.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(b,h){b.exports=function(a,c){return function(){for(var d= 7Array(arguments.length),k=0;k<d.length;k++)d[k]=arguments[k];return a.apply(c,d)}}},function(b,h,a){function c(m){this.defaults=m;this.interceptors={request:new e,response:new e}}var d=a(2),k=a(5),e=a(6),g=a(7),f=a(22);c.prototype.request=function(m,n){"string"===typeof m?(m=n||{},m.url=m):m=m||{};m=f(this.defaults,m);m.method=m.method?m.method.toLowerCase():this.defaults.method?this.defaults.method.toLowerCase():"get";var p=[g,void 0];m=Promise.resolve(m);this.interceptors.request.forEach(function(l){p.unshift(l.fulfilled, 8l.rejected)});for(this.interceptors.response.forEach(function(l){p.push(l.fulfilled,l.rejected)});p.length;)m=m.then(p.shift(),p.shift());return m};c.prototype.getUri=function(m){m=f(this.defaults,m);return k(m.url,m.params,m.paramsSerializer).replace(/^\?/,"")};d.forEach(["delete","get","head","options"],function(m){c.prototype[m]=function(n,p){return this.request(d.merge(p||{},{method:m,url:n}))}});d.forEach(["post","put","patch"],function(m){c.prototype[m]=function(n,p,l){return this.request(d.merge(l|| 9{},{method:m,url:n,data:p}))}});b.exports=c},function(b,h,a){function c(k){return encodeURIComponent(k).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var d=a(2);b.exports=function(k,e,g){if(!e)return k;if(g)e=g(e);else if(d.isURLSearchParams(e))e=e.toString();else{var f=[];d.forEach(e,function(m,n){null!==m&&"undefined"!==typeof m&&(d.isArray(m)?n+="[]":m=[m],d.forEach(m,function(p){d.isDate(p)?p=p.toISOString(): 10d.isObject(p)&&(p=JSON.stringify(p));f.push(c(n)+"\x3d"+c(p))}))});e=f.join("\x26")}e&&(g=k.indexOf("#"),-1!==g&&(k=k.slice(0,g)),k+=(-1===k.indexOf("?")?"?":"\x26")+e);return k}},function(b,h,a){function c(){this.handlers=[]}var d=a(2);c.prototype.use=function(k,e){this.handlers.push({fulfilled:k,rejected:e});return this.handlers.length-1};c.prototype.eject=function(k){this.handlers[k]&&(this.handlers[k]=null)};c.prototype.forEach=function(k){d.forEach(this.handlers,function(e){null!==e&&k(e)})}; 11b.exports=c},function(b,h,a){var c=a(2),d=a(8),k=a(9),e=a(10);b.exports=function(g){g.cancelToken&&g.cancelToken.throwIfRequested();g.headers=g.headers||{};g.data=d(g.data,g.headers,g.transformRequest);g.headers=c.merge(g.headers.common||{},g.headers[g.method]||{},g.headers);c.forEach("delete get head post put patch common".split(" "),function(f){delete g.headers[f]});return(g.adapter||e.adapter)(g).then(function(f){g.cancelToken&&g.cancelToken.throwIfRequested();f.data=d(f.data,f.headers,g.transformResponse); 12return f},function(f){k(f)||(g.cancelToken&&g.cancelToken.throwIfRequested(),f&&f.response&&(f.response.data=d(f.response.data,f.response.headers,g.transformResponse)));return Promise.reject(f)})}},function(b,h,a){var c=a(2);b.exports=function(d,k,e){c.forEach(e,function(g){d=g(d,k)});return d}},function(b,h){b.exports=function(a){return!(!a||!a.__CANCEL__)}},function(b,h,a){function c(f,m){!d.isUndefined(f)&&d.isUndefined(f["Content-Type"])&&(f["Content-Type"]=m)}var d=a(2),k=a(11),e={"Content-Type":"application/x-www-form-urlencoded"}, 13g={adapter:function(){var f;"undefined"!==typeof XMLHttpRequest?f=a(12):"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(f=a(12));return f}(),transformRequest:[function(f,m){k(m,"Accept");k(m,"Content-Type");return d.isFormData(f)||d.isArrayBuffer(f)||d.isBuffer(f)||d.isStream(f)||d.isFile(f)||d.isBlob(f)?f:d.isArrayBufferView(f)?f.buffer:d.isURLSearchParams(f)?(c(m,"application/x-www-form-urlencoded;charset\x3dutf-8"),f.toString()):d.isObject(f)?(c(m,"application/json;charset\x3dutf-8"), 14JSON.stringify(f)):f}],transformResponse:[function(f){if("string"===typeof f)try{f=JSON.parse(f)}catch(m){}return f}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(f){return 200<=f&&300>f},headers:{common:{Accept:"application/json, text/plain, */*"}}};d.forEach(["delete","get","head"],function(f){g.headers[f]={}});d.forEach(["post","put","patch"],function(f){g.headers[f]=d.merge(e)});b.exports=g},function(b,h,a){var c=a(2);b.exports=
15function(d,k){c.forEach(d,function(e,g){g!==k&&g.toUpperCase()===k.toUpperCase()&&(d[k]=e,delete d[g])})}},function(b,h,a){var c=a(2),d=a(13),k=a(5),e=a(16),g=a(19),f=a(20),m=a(14);b.exports=function(n){return new Promise(function(p,l){var t=n.data,r=n.headers;c.isFormData(t)&&delete r["Content-Type"];var q=new XMLHttpRequest;n.auth&&(r.Authorization="Basic "+btoa((n.auth.username||"")+":"+(n.auth.password||"")));var u=e(n.baseURL,n.url);q.open(n.method.toUpperCase(),k(u,n.params,n.paramsSerializer), 16!0);q.timeout=n.timeout;q.onreadystatechange=function(){if(q&&4===q.readyState&&(0!==q.status||q.responseURL&&0===q.responseURL.indexOf("file:"))){var v="getAllResponseHeaders"in q?g(q.getAllResponseHeaders()):null;d(p,l,{data:n.responseType&&"text"!==n.responseType?q.response:q.responseText,status:q.status,statusText:q.statusText,headers:v,config:n,request:q});q=null}};q.onabort=function(){q&&(l(m("Request aborted",n,"ECONNABORTED",q)),q=null)};q.onerror=function(){l(m("Network Error",n,null,q)); 17q=null};q.ontimeout=function(){var v="timeout of "+n.timeout+"ms exceeded";n.timeoutErrorMessage&&(v=n.timeoutErrorMessage);l(m(v,n,"ECONNABORTED",q));q=null};if(c.isStandardBrowserEnv()){var w=a(21);(u=(n.withCredentials||f(u))&&n.xsrfCookieName?w.read(n.xsrfCookieName):void 0)&&(r[n.xsrfHeaderName]=u)}"setRequestHeader"in q&&c.forEach(r,function(v,x){"undefined"===typeof t&&"content-type"===x.toLowerCase()?delete r[x]:q.setRequestHeader(x,v)});c.isUndefined(n.withCredentials)||(q.withCredentials= 18!!n.withCredentials);if(n.responseType)try{q.responseType=n.responseType}catch(v){if("json"!==n.responseType)throw v;}"function"===typeof n.onDownloadProgress&&q.addEventListener("progress",n.onDownloadProgress);"function"===typeof n.onUploadProgress&&q.upload&&q.upload.addEventListener("progress",n.onUploadProgress);n.cancelToken&&n.cancelToken.promise.then(function(v){q&&(q.abort(),l(v),q=null)});void 0===t&&(t=null);q.send(t)})}},function(b,h,a){var c=a(14);b.exports=function(d,k,e){var g=e.config.validateStatus; 19!g||g(e.status)?d(e):k(c("Request failed with status code "+e.status,e.config,null,e.request,e))}},function(b,h,a){var c=a(15);b.exports=function(d,k,e,g,f){return c(Error(d),k,e,g,f)}},function(b,h){b.exports=function(a,c,d,k,e){a.config=c;d&&(a.code=d);a.request=k;a.response=e;a.isAxiosError=!0;a.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack, 20config:this.config,code:this.code}};return a}},function(b,h,a){var c=a(17),d=a(18);b.exports=function(k,e){return k&&!c(e)?d(k,e):e}},function(b,h){b.exports=function(a){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(a)}},function(b,h){b.exports=function(a,c){return c?a.replace(/\/+$/,"")+"/"+c.replace(/^\/+/,""):a}},function(b,h,a){var c=a(2),d="age authorization content-length content-type etag expires from host if-modified-since if-unmodified-since last-modified location max-forwards proxy-authorization referer retry-after user-agent".split(" "); 21b.exports=function(k){var e={},g,f,m;if(!k)return e;c.forEach(k.split("\n"),function(n){m=n.indexOf(":");g=c.trim(n.substr(0,m)).toLowerCase();f=c.trim(n.substr(m+1));!g||e[g]&&0<=d.indexOf(g)||(e[g]="set-cookie"===g?(e[g]?e[g]:[]).concat([f]):e[g]?e[g]+", "+f:f)});return e}},function(b,h,a){var c=a(2);b.exports=c.isStandardBrowserEnv()?function(){function d(f){k&&(e.setAttribute("href",f),f=e.href);e.setAttribute("href",f);return{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host, 22search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}var k=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");var g=d(window.location.href);return function(f){f=c.isString(f)?d(f):f;return f.protocol===g.protocol&&f.host===g.host}}():function(){return function(){return!0}}()},function(b,h,a){var c=a(2);b.exports=c.isStandardBrowserEnv()?function(){return{write:function(d, 23k,e,g,f,m){var n=[];n.push(d+"\x3d"+encodeURIComponent(k));
23c.isNumber(e)&&n.push("expires\x3d"+(new Date(e)).toGMTString());c.isString(g)&&n.push("path\x3d"+g);c.isString(f)&&n.push("domain\x3d"+f);!0===m&&n.push("secure");document.cookie=n.join("; ")},read:function(d){return(d=document.cookie.match(new RegExp("(^|;\\s*)("+d+")\x3d([^;]*)")))?decodeURIComponent(d[3]):null},remove:function(d){this.write(d,"",Date.now()-864E5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()}, 24function(b,h,a){var c=a(2);b.exports=function(d,k){k=k||{};var e={},g=["url","method","params","data"],f=["headers","auth","proxy"],m="baseURL url transformRequest transformResponse paramsSerializer timeout withCredentials adapter responseType xsrfCookieName xsrfHeaderName onUploadProgress onDownloadProgress maxContentLength validateStatus maxRedirects httpAgent httpsAgent cancelToken socketPath".split(" ");c.forEach(g,function(p){"undefined"!==typeof k[p]&&(e[p]=k[p])});c.forEach(f,function(p){c.isObject(k[p])? 25e[p]=c.deepMerge(d[p],k[p]):"undefined"!==typeof k[p]?e[p]=k[p]:c.isObject(d[p])?e[p]=c.deepMerge(d[p]):"undefined"!==typeof d[p]&&(e[p]=d[p])});c.forEach(m,function(p){"undefined"!==typeof k[p]?e[p]=k[p]:"undefined"!==typeof d[p]&&(e[p]=d[p])});var n=g.concat(f).concat(m);g=Object.keys(k).filter(function(p){return-1===n.indexOf(p)});c.forEach(g,function(p){"undefined"!==typeof k[p]?e[p]=k[p]:"undefined"!==typeof d[p]&&(e[p]=d[p])});return e}},function(b,h){function a(c){this.message=c}a.prototype.toString= 26function(){return"Cancel"+(this.message?": "+this.message:"")};a.prototype.__CANCEL__=!0;b.exports=a},function(b,h,a){function c(k){if("function"!==typeof k)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(f){e=f});var g=this;k(function(f){g.reason||(g.reason=new d(f),e(g.reason))})}var d=a(23);c.prototype.throwIfRequested=function(){if(this.reason)throw this.reason;};c.source=function(){var k;return{token:new c(function(e){k=e}),cancel:k}};b.exports=c}, 27function(b,h){b.exports=function(a){return function(c){return a.apply(null,c)}}}])});var baseHttp=function(){var b={baseURL:"",headers:{Authorization:""}};return{defaultConfig:b,get:function(h,a){return axios.get(h,a||b)},post:function(h,a,c){return axios.post(h,a,c||b)}}}; 28function _extends(){_extends=Object.assign||function(b){for(var h=1;h<arguments.length;h++){var a=arguments[h],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c])}return b};return _extends.apply(this,arguments)} 29var searchService=_extends({},function(){return{search:function(b,h){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:1,c=3<arguments.length&&void 0!==arguments[3]?arguments[3]:10;return this.get("/bin/nncorp/search?search\x3d".concat(b,"\x26path\x3d").concat(h,"\x26page\x3d").concat(a,"\x26limit\x3d").concat(c)).then(function(d){return d.data})}}}(),baseHttp()); 30Vue.component("loading-indicator",{template:'\x3cdiv class\x3d"loading-indicator" :class\x3d"indicatorStyle"\x3e\n \x3cdiv class\x3d"cir cir-1"\x3e\x3c/div\x3e\n \x3cdiv class\x3d"cir cir-2"\x3e\x3c/div\x3e\n \x3cdiv class\x3d"cir cir-3"\x3e\x3c/div\x3e\n \x3c/div\x3e',props:{show:{type:Boolean,"default":!1},color:{type:String,"default":"blue"}},computed:{indicatorStyle:function(){var b=[];this.show&&b.push("show");b.push(this.color); 31return b.join(" ")}}}); 32Vue.component("loading-button",{template:'\x3ca v-if\x3d"isLink" :href\x3d"path" class\x3d"lnk" :aria-label\x3d"ariaLabel" role\x3d"link"\x3e \n \x3cbutton class\x3d"loading-button" :class\x3d"buttonStyles"\x3e\n \x3cspan class\x3d"text" :class\x3d"buttonColor \x3d\x3d\x3d \'blue\' ? \'color-white\' : \'color-blue\'"\x3e{{text}}\x3c/span\x3e\n \x3cloading-indicator :color\x3d"buttonColor \x3d\x3d\x3d \'blue\' ? \'white\' : \'blue\'" /\x3e\n \x3cspan v-if\x3d"mouseOverEffect \x26\x26 !loading" class\x3d"icon icon-right-arrow"\x3e\x3c/span\x3e\n \x3c/button\x3e \n \x3c/a\x3e\n \x3cbutton v-else class\x3d"loading-button" :class\x3d"buttonStyles" :aria-label\x3d"ariaLabel"\x3e\n \x3cspan class\x3d"text" :class\x3d"buttonColor \x3d\x3d\x3d \'blue\' ? \'color-white\' : \'color-blue\'"\x3e{{text}}\x3c/span\x3e\n \x3cloading-indicator :color\x3d"buttonColor \x3d\x3d\x3d \'blue\' ? \'white\' : \'blue\'" /\x3e\n \x3cspan v-if\x3d"mouseOverEffect \x26\x26 !loading" class\x3d"icon icon-right-arrow"\x3e\x3c/span\x3e\n \x3c/button\x3e',computed:{buttonStyles:function(){var b= 33[];b.push("background-"+this.buttonColor);
33this.loading&&b.push("loading");this.mouseOverEffect&&b.push("button m-s-top button-link-animation");this.mouseOverEffectDesktopOnly&&b.push("button-link-animation-desktop");return b.join(" ")}},props:{name:String,path:String,text:String,loading:{type:Boolean,"default":!0},mouseOverEffect:{type:Boolean,"default":!1},mouseOverEffectDesktopOnly:{type:Boolean,"default":!1},isLink:{type:Boolean,"default":!1},buttonColor:{type:String,"default":"blue"},ariaLabel:String}}); 34function ownKeys(b,h){var a=Object.keys(b);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(b);h&&(c=c.filter(function(d){return Object.getOwnPropertyDescriptor(b,d).enumerable}));a.push.apply(a,c)}return a} 35function _objectSpread(b){for(var h=1;h<arguments.length;h++){var a=null!=arguments[h]?arguments[h]:{};h%2?ownKeys(Object(a),!0).forEach(function(c){_defineProperty(b,c,a[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(a)):ownKeys(Object(a)).forEach(function(c){Object.defineProperty(b,c,Object.getOwnPropertyDescriptor(a,c))})}return b} 36function _defineProperty(b,h,a){h in b?Object.defineProperty(b,h,{value:a,enumerable:!0,configurable:!0,writable:!0}):b[h]=a;return b}function _extends(){_extends=Object.assign||function(b){for(var h=1;h<arguments.length;h++){var a=arguments[h],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c])}return b};return _extends.apply(this,arguments)} 37Vue.component("search-result",{data:function(){return{globalInfo:{},listResults:[],searchFilters:{text:"",pageIndex:1,limit:10},searchRuning:!1,allowPaging:!0,showLoadMoreBtn:"hide",loading:!1,loadMoreLabel:this.getString("trueblue - Load more")}},mixins:[utilitiesMixin],template:'\x3cdiv class\x3d"search-result m-m-top"\x3e\n \x3ca class\x3d"result-item m-s-top" v-for\x3d"(item, index) in this.listResults" :href\x3d"item.URL" v-on:click\x3d"searchResultClicked(index)" :aria-label\x3d"item.title" tabindex\x3d"0"\x3e\n \x3ch2 class\x3d"h2" v-html\x3d"item.title"\x3e\x3c/h2\x3e\n \x3cp class\x3d"paragraph-l m-xxs-top" v-html\x3d"item.excerpt"\x3e\x3c/p\x3e \n \x3ca class\x3d"infotext" :href\x3d"item.URL" v-on:click\x3d"searchResultClicked(index)" aria-label\x3d"link" tabindex\x3d"-1"\x3e{{item.URL | htmlExtension}}\x3c/a\x3e\n \x3c/a\x3e \n \x3cdiv class\x3d"loading-button-wrapper m-m-top" :class\x3d"showLoadMoreBtn" v-on:click\x3d"loadMore"\x3e \n \x3cloading-button :text\x3d"loadMoreLabel" :buttonColor\x3d"\'blue\'" :loading\x3d"loading" :aria-label\x3d"\'Load more search results\'"/\x3e \n \x3c/div\x3e \n \x3c/div\x3e', 38methods:{onSearch:function(b){var h=this,a=b.text,c=b.pageIndex,d=b.limit;b=b.isPaging;var k=void 0===b?!1:b;this.searchRuning=!0;this.searchFilters=_extends({},{text:a,pageIndex:c,limit:d});k&&(this.loading=!0);searchService.search(a,this.globalInfo.currentPagePath,c,d).then(function(e){var g=e.data.totalMatches;h.listResults=1===c?e.data.resultList:h.listResults.concat(e.data.resultList);h.searchRuning=!1;h.allowSearch=0!==g?!0:!1;k||VueBus.$emit("showTotalResult",g);h.showLoadMoreBtn=c<Math.ceil(g/ 39d)?"show":"hide";k&&(h.loading=!1)})},getGlobalInfo:function(b){this.globalInfo=_extends({},b);VueBus.$off("globalInfo")},loadMore:function(){var b=this;if(this.allowSearch)this.onSearch(_objectSpread(_objectSpread({},this.searchFilters),{},{pageIndex:this.searchFilters.pageIndex+1,isPaging:!0}));setTimeout(function(){var h=b.$el.querySelectorAll(".result-item[tabindex\x3d'0']");if(h=h[h.length-10])h.focus(),h.scrollIntoView({behavior:"smooth",block:"center"})},1E3)},searchResultClicked:function(b){this.addAnalytics("Click", 40"Search Clicked",{onsiteSearch:{searchResultPositionClick:b.toString()}})},getString:function(b){return Granite.I18n.get(b)}},created:function(){VueBus.$on("globalInfo",this.getGlobalInfo);VueBus.$on("onSearch",this.onSearch)},mounted:function(){VueBus.register("search-result")},destroyed:function(){VueBus.$off("globalInfo");VueBus.$off("onSearch")}}); 41VueBus.resourceReady(function(){Array.from(document.getElementsByClassName("nncorp-search")).forEac
41h(function(b){b.__vue__||new Vue({data:{textSearch:"",oldText:"",limit:0,pageIndex:1,totalResult:null},mixins:[utilitiesMixin],el:"#".concat(b.id),methods:{submitForm:function(h){h.preventDefault()},onTyping:function(h){13===h.keyCode&&this.search()},search:function(){3<=this.textSearch.length&&this.textSearch!==this.oldText&&(this.oldText=this.textSearch,VueBus.$emit("onSearch",{text:this.textSearch, 42pageIndex:this.pageIndex,limit:this.limit}))},showTotalResult:function(h){this.totalResult=h;0<this.totalResult?this.addAnalytics("Page Load","onsite search",{onsiteSearch:{searchTerm:this.textSearch,searchResults:this.totalResult.toString(),searchType:"global"}}):this.addAnalytics("Page Load","zero search",{onsiteSearch:{searchTerm:this.textSearch,searchResults:"zero",searchType:"global"}})}},mounted:function(){this.limit=this.$refs.limit.value;VueBus.$on("showTotalResult",this.showTotalResult)}})})});
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.