PageSourceSearch

https://www.norway.chargedrive.com/assets/query-string-C8w5ajR_.js

js chargedrive.com collected 2026-09-24 10:54:01 UTC 1,198 bytes, 1 lines download raw bytes

1import{r as e}from"./chunk-BEqpzyXh.js";import{t}from"./helpers-hD41TQTM.js";import{t as n}from"./gracefulDecodeURIComponent-BCByewCJ.js";function r(e,t){return Object.keys(t).reduce(function(n,r){if(r.startsWith(e)){var i=r.substr(e.length);n[i]=t[r]}return n},{})}var i=e({hasQueryString:()=>o,queryString:()=>a});function a(e,i){var a=document.createElement(`a`);a.href=i;var o=a.search.slice(1).split(`&`).reduce(function(e,t){var r=t.split(`=`),i=r[0],a=r[1];return e[i]=n(a),e},{}),s=[],c=o.ajs_uid,l=o.ajs_event,u=o.ajs_aid,d=t(e.options.useQueryString)?e.options.useQueryString:{},f=d.aid,p=f===void 0?/.+/:f,m=d.uid,h=m===void 0?/.+/:m;if(u){var g=Array.isArray(o.ajs_aid)?o.ajs_aid[0]:o.ajs_aid;p.test(g)&&e.setAnonymousId(g)}if(c){var _=Array.isArray(o.ajs_uid)?o.ajs_uid[0]:o.ajs_uid;if(h.test(_)){var v=r(`ajs_trait_`,o);s.push(e.identify(_,v))}}if(l){var y=Array.isArray(o.ajs_event)?o.ajs_event[0]:o.ajs_event,b=r(`ajs_prop_`,o);s.push(e.track(y,b))}return Promise.all(s)}function o(e,t){if(typeof window>`u`||(window==null?void 0:window.location)?.search==null)return!1;var n=new URLSearchParams(window.location.search).get(e);return t===void 0?n!==null:n===t}export{i as n,o as 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.