1System.register([],function(f){"use strict";return{execute:function(){function s(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function b(e){if(Array.isArray(e))return e}function I(e){if(Array.isArray(e))return s(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,x(n.key),n)}}function U(e,t,r){return t&&g(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function w(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=d(e))||t){r&&(e=r);var n=0,u=function(){};return{s:u,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(a){throw a},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var l,i=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var a=r.next();return i=a.done,a},e:function(a){c=!0,l=a},f:function(){try{i||r.return==null||r.return()}finally{if(c)throw l}}}}function k(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function T(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,u,l,i,c=[],a=!0,p=!1;try{if(l=(r=r.call(e)).next,t!==0)for(;!(a=(n=l.call(r)).done)&&(c.push(n.value),c.length!==t);a=!0);}catch(L){p=!0,u=L}finally{try{if(!a&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(p)throw u}}return c}}function _(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function A(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 4In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C(e,t){return b(e)||T(e,t)||d(e,t)||_()}function S(e){return I(e)||k(e)||d(e)||A()}function j(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function x(e){var t=j(e,"string");return typeof t=="symbol"?t:t+""}function d(e,t){if(e){if(typeof e=="string")return s(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}var E=function(t){var r=document.cookie?document.cookie.split("; "):[],n=w(r),u;try{for(n.s();!(u=n.n()).done;){var l=u.value,i=l.split("=");if(i[0]===t)return i.slice(1).join("=")}}catch(c){n.e(c)}finally{n.f()}return null},P=function(t,r,n){var u=["".concat(t,"=").concat(r)].concat(S(Object.entries(n||{}).map(function(l){var i=C(l,2),c=i[0],a=i[1];return"".concat(c,"=").concat(a)})));document.cookie=u.join("; ")};const o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));function D(e,t=0){return(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase()}let y;const O=new Uint8Array(16);function R(){if(!y){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");y=crypto.getRandomValues.bind(crypto)}return y(O)}var m={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function H(e,t,r){if(m.randomUUID&&!t&&!e)return m.randomUUID();e=e||{};const n=e.random??e.rng?.()??R();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,D(n)}var v="testUserId",M=function(){function e(){h(this,e)}return U(e,[{key:"ensureUserTestId",value:function(){var r=this.getUserIdFromCookie(v);return r||(r=this.setNewUserIdCookie()),r}},{key:"getUserIdFromCookie",value:function(r){var n=E(r);if(n)return n}},{key:"setNewUserIdCookie",value:function(){var r={"max-age":15552e3,path:"/"},n=H();return P(v,n,r),n}}]),e}(),V=new M,F=f("ensureUserTestId",function(){return V.ensureUserTestId()}),K=f("default",{ensureUserTestId:F})}}}); 5//# sourceMappingURL=ab-test-cookie-CrhtlpOA.js.map
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.