PageSourceSearch

https://www.videojet.com/wp-content/themes/videojet-2020/assets/build/js/add-utm-to-url.js?ver=1790867592

js videojet.com collected 2026-10-03 21:37:41 UTC 2,362 bytes, 1 lines download raw bytes

1!function(r){var a={};function n(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}n.m=r,n.c=a,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(r,a,function(e){return t[e]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=39)}({11:function(e,t,r){"use strict";var a={allowedUTMParams:["utm_source","utm_medium","utm_term","utm_content","utm_campaign","gclid","email","username"],init:function(){this.queryVars||(this.queryVars=this.getUrlVars()),this.URLHasUTMParams=this.URLHasUTMParams.bind(this),this.addUTMToSession=this.addUTMToSession.bind(this),this.getUrlVars=this.getUrlVars.bind(this),this.getAllowedUTMParamValue=this.getAllowedUTMParamValue.bind(this),this.URLHasUTMParams()&&this.addUTMToSession()},URLHasUTMParams:function(){this.queryVars||(this.queryVars=this.getUrlVars());for(var e=Object.keys(this.queryVars),t=e.length,r=0;r<t;r++)if(this.allowedUTMParams.includes(e[r]))return!0;return!1},addUTMToSession:function(){var r=this;this.allowedUTMParams.forEach(function(e){var t=r.getAllowedUTMParamValue(e,r.queryVars);null==t?sessionStorage.removeItem(e):sessionStorage.setItem(e,t)})},addUTMToURL:function(){if(!this.URLHasUTMParams()){var r=new URL(decodeURI(window.location.href));this.allowedUTMParams.forEach(function(e){var t=sessionStorage.getItem(e);null!=t&&r.searchParams.set(e,t)}),window.history.replaceState({},null,r.href.replace(/\+/g," "))}},getUrlVars:function(){var a={};return window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(e,t,r){a[t]=r}),a},getAllowedUTMParamValue:function(e,t){if(void 0!==t[e])return decodeURIComponent(t[e].replace(/\+/g," "))}};t.a=a},39:function(e,t,r){"use strict";r.r(t),r(11).a.addUTMToURL()}});

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.