(self.webpackChunk_segment_analytics_next=self.webpackChunk_segment_analytics_next||[]).push([[96],{8309:function(e,a,r){"use strict";function s(e,a){return Object.keys(a).reduce((function(r,s){s.startsWith(e)&&(r[s.substr(e.length)]=a[s]);return r}),{})}function t(e,a){var r=document.createElement("a");r.href=a;var t=r.search.slice(1).split("&").reduce((function(e,a){var r=a.split("="),s=r[0],t=r[1];return e[s]=decodeURI(t).replace("+"," "),e}),{}),n=[],i=t.ajs_uid,u=t.ajs_event,_=t.ajs_aid;if(i){var c=Array.isArray(t.ajs_uid)?t.ajs_uid[0]:t.ajs_uid,d=s("ajs_trait_",t);n.push(e.identify(c,d))}if(u){var j=Array.isArray(t.ajs_event)?t.ajs_event[0]:t.ajs_event,f=s("ajs_prop_",t);n.push(e.track(j,f))}if(_){var l=Array.isArray(t.ajs_aid)?t.ajs_aid[0]:t.ajs_aid;e.setAnonymousId(l)}return Promise.all(n)}r.r(a),r.d(a,{queryString:function(){return t}})}}]);
//# sourceMappingURL=queryString.bundle.311777ad602ab3322ffd.js.map