1/*! For license information please see script-dynamic.js.LICENSE.txt */ 2!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,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(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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=2)}([function(e,t,n){"use strict";const r=n(3),o=n(4),i=n(5),a=n(6),l=Symbol("encodeFragmentIdentifier");function c(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function s(e,t){return t.decode?o(e):e}function d(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function f(e){const t=(e=d(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function _(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function p(e,t){c((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&s(n,e).includes(e.arrayFormatSeparator);n=i?s(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map(t=>s(t,e)):null===n?n:s(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?s(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map(t=>s(t,e));void 0!==r[t]?r[t]=[].concat(r[t],i):r[t]=i};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;let[e,a]=i(t.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:s(a,t),n(s(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=_(n[e],t);else r[e]=_(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(n):e[t]=n,e},Object.create(null))}t.extract=f,t.parse=p,t.stringify=(e,t)=>{if(!e)return"";c((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[",o,"]"].join("")]:[...n,[u(t,e),"[",u(o,e),"]=",u(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[]"].join("")]:[...n,[u(t,e),"[]=",u(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),":list="].join("")]:[...n,[u(t,e),":list=",u(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[u(n,e),t,u(o,e)].join("")]:[[r,u(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,u(t,e)]:[...n,[u(t,e),"=",u(r,e)].join("")]}}(t),o={};for(const t of Object.keys(e))n(t)||(o[t]=e[t]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map(n=>{const o=e[n];return void 0===o?"":null===o?u(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?u(n,t)+"[]":o.reduce(r(n),[]).join("&"):u(n,t)+"="+u(o,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>
2{t=Object.assign({decode:!0},t);const[n,r]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:p(f(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:s(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[l]:!0},n);const r=d(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query);let c=t.stringify(a,n);c&&(c="?"+c);let s=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(s="#"+(n[l]?u(e.fragmentIdentifier,n):e.fragmentIdentifier)),`${r}${c}${s}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[l]:!1},r);const{url:o,query:i,fragmentIdentifier:c}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:a(i,n),fragmentIdentifier:c},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},function(e,t,n){"use strict";t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var n={},r=(t||{}).decode||i,o=0;for(;o<e.length;){var a=e.indexOf("=",o);if(-1===a)break;var c=e.indexOf(";",o);if(-1===c)c=e.length;else if(c<a){o=e.lastIndexOf(";",a-1)+1;continue}var u=e.slice(o,a).trim();if(void 0===n[u]){var s=e.slice(a+1,c).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),n[u]=l(s,r)}
2o=c+1}return n},t.serialize=function(e,t,n){var i=n||{},l=i.encode||a;if("function"!=typeof l)throw new TypeError("option encode is invalid");if(!o.test(e))throw new TypeError("argument name is invalid");var c=l(t);if(c&&!o.test(c))throw new TypeError("argument val is invalid");var u=e+"="+c;if(null!=i.maxAge){var s=i.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");u+="; Max-Age="+Math.floor(s)}if(i.domain){if(!o.test(i.domain))throw new TypeError("option domain is invalid");u+="; Domain="+i.domain}if(i.path){if(!o.test(i.path))throw new TypeError("option path is invalid");u+="; Path="+i.path}if(i.expires){var d=i.expires;if(!function(e){return"[object Date]"===r.call(e)||e instanceof Date}(d)||isNaN(d.valueOf()))throw new TypeError("option expires is invalid");u+="; Expires="+d.toUTCString()}i.httpOnly&&(u+="; HttpOnly");i.secure&&(u+="; Secure");i.partitioned&&(u+="; Partitioned");if(i.priority){switch("string"==typeof i.priority?i.priority.toLowerCase():i.priority){case"low":u+="; Priority=Low";break;case"medium":u+="; Priority=Medium";break;case"high":u+="; Priority=High";break;
2default:throw new TypeError("option priority is invalid")}}if(i.sameSite){switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"strict":u+="; SameSite=Strict";break;case"none":u+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return u};var r=Object.prototype.toString,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function i(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function a(e){return encodeURIComponent(e)}function l(e,t){try{return t(e)}catch(t){return e}}},function(e,t,n){e.exports=n(8)},function(e,t,n){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>"%"+e.charCodeAt(0).toString(16).toUpperCase())},function(e,t,n){"use strict";var r=new RegExp("(%[a-f0-9]{2})|([^%]+?)","gi"),o=new RegExp("(%[a-f0-9]{2})+","gi");function i(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function a(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(r)||[],n=1;n<t.length;n++)t=(e=i(t,n).join("")).match(r)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=o.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var r=a(n[0]);r!==n[0]&&(t[n[0]]=r)}n=o.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),l=0;l<i.length;l++){var c=i[l];e=e.replace(new RegExp(c,"g"),t[c])}return e}(e)}}},function(e,t,n){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},function(e,t,n){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),i=0;i<r.length;i++){var a=r[i],l=e[a];(o?-1!==t.indexOf(a):t(a,l,e))&&(n[a]=l)}return n}},function(e,t){!function(){var e=/\[object (Boolean|Number|String|Function|Array|Date|RegExp)\]/;function t(t){return null==t?String(t):(t=e.exec(Object.prototype.toString.call(Object(t))))?t[1].toLowerCase():"object"}function n(e,t){return Object.prototype.hasOwnProperty.call(Object(e),t)}function r(e){if(!e||"object"!=t(e)||e.nodeType||e==e.window)return!1;try{if(e.constructor&&!n(e,"constructor")&&!n(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(var r in e);return void 0===r||n(e,r)}function o(e,t,n){this.b=e,this.f=t||function(){},this.d=!1,this.a={},this.c=[],this.e=function(e){return{set:function(t,n){l(a(t,n),e.a)},get:function(t){return e.get(t)}}}(this),i(this,e,!n);var r=e.push,o=this;e.push=function(){var t=[].slice.call(arguments,0),n=r.apply(e,t);return i(o,t),n}}function i(e,n,o){for(e.c.push.apply(e.c,n);!1===e.d&&0<e.c.length;){if("array"==t(n=e.c.shift()))e:{var i=n,c=e.a;if("string"==t(i[0])){for(var u=i[0].split("."),s=u.pop(),d=(i=i.slice(1),0);d<u.length;d++){if(void 0===c[u[d]])break e;c=c[u[d]]}try{c[s].apply(c,i)}catch(e){}}}else if("function"==typeof n)try{n.call(e.e)}catch(e){}else{if(!r(n))continue;for(var f in n)l(a(f,n[f]),e.a)}o||(e.d=!0,e.f(e.a,n),e.d=!1)}}function a(e,t){for(var n={},r=n,o=e.split("."),i=0;i<o.length-1;i++)r=r[o[i]]={};return r[o[o.length-1]]=t,n}function l(e,o){for(var i in e)if(n(e,i)){var a=e[i];"array"==t(a)?("array"==t(o[i])||(o[i]=[]),l(a,o[i])):r(a)?(r(o[i])||(o[i]={}),l(a,o[i])):o[i]=a}}window.DataLayerHelper=o,o.prototype.get=function(e){var t=this.a;e=e.split(".");for(var n=0;n<e.length;n++){if(void 0===t[e[n]])return;t=t[e[n]]}return t},o.prototype.flatten=function(){this.b.splice(0,this.b.length),this.b[0]={},l(this.a,this.b[0])}}()},function(e,t,n){"use strict";n.r(t),n.d(t,"__setGa4AdoptConflictEnabled",(function(){return Br})),n.d(t,"__resetGa4GtmLatchForTests",(function(){return qr})),n.d(t,"parseDataLayer",(function(){return li})),n.d(t,"stringifyCircularJSON",(function(){return ni})),n.d(t,"searchKnowledge",(function(){return Xo})),n.d(t,"installGa4V2Globals",(function(){return Oo})),n.d(t,"drainGa4V2Deferred",(function(){return Eo})),n.d(t,"dataLayerListener",(function(){return si}
2)),n.d(t,"ga4V2GtagReady",(function(){return Ur})),n.d(t,"ga4V2DestinationLayer",(function(){return Vr})),n.d(t,"ga4V2DestinationBoundElsewhere",(function(){return Hr})),n.d(t,"attemptGa4HostLayerAdoption",(function(){return $r})),n.d(t,"promoteGa4V2DeferredToMp",(function(){return no})),n.d(t,"ga4AuditProofs",(function(){return po})),n.d(t,"TrlApplication",(function(){return vi})),n.d(t,"restartGa4V2DeferredBudget",(function(){return eo})),n.d(t,"__resetGa4DeferredRetryForTests",(function(){return bi})),n.d(t,"__resetGa4AuditForTests",(function(){return Si})),n.d(t,"__resetGa4ConsentHoldForTests",(function(){return ki})),n.d(t,"GA4_CONSENT_HOLD_MAX_WAIT",(function(){return Sr})),n.d(t,"GA4_CONSENT_HOLD_POLL_INTERVAL",(function(){return kr})),n.d(t,"__resetGa4PixelRecoveryForTests",(function(){return Ci})),n.d(t,"GA4_PIXEL_VERDICT_DELAY",(function(){return Cr})),n.d(t,"GA4_PIXEL_VERDICT_MAX_DELAY",(function(){return Ar})),n.d(t,"GA4_PIXEL_CB_TIMEOUT",(function(){return Or})),n.d(t,"GA4_PIXEL_CONSENT_GRACE",(function(){return Er})),n.d(t,"GA4_PIXEL_PAGEHIDE_MIN_AGE",(function(){return Ir})),n.d(t,"GA4_PIXEL_MAX_REPORTS_PER_PAGE",(function(){return xr})),n.d(t,"isShopifyWebPixelSandboxWindow",(function(){return xo})),n.d(t,"TRL_GA_PERSIST_KEY",(function(){return Po})),n.d(t,"parsePersistedIdentityEnvelope",(function(){return No})),n.d(t,"readPersistedIdentity",(function(){return Fo})),n.d(t,"writePersistedIdentity",(function(){return Mo})),n.d(t,"clearPersistedIdentity",(function(){return Ro})),n.d(t,"buildPersistEnvelopeFromCookieJar",(function(){return Bo})),n.d(t,"buildPersistEnvelopeFromPair",(function(){return Uo})),n.d(t,"sandboxCookiesWritable",(function(){return Vo})),n.d(t,"resolveSandboxCookieDomain",(function(){return Ho})),n.d(t,"tryWritePersistedIdentityCookies",(function(){return $o})),n.d(t,"hydrateSandboxIdentity",(function(){return zo}));var r,o,i,a,l,c,u,s={},d=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function _(e,t){for(var n in t)e[n]=t[n];return e}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,n){var o,i,a,l={};for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:l[a]=t[a];if(arguments.length>2&&(l.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===l[a]&&(l[a]=e.defaultProps[a]
vendor: 4,750 bytes, line 2
2);return g(e,l,o,i,null)}function g(e,t,n,r,a){var l={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++i:a};return null==a&&null!=o.vnode&&o.vnode(l),l}function v(e){return e.children}function y(e,t){this.props=e,this.context=t}function m(e,t){if(null==t)return e.__?m(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?m(e):null}function w(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return w(e)}}function b(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!S.__r++||c!==o.debounceRendering)&&((c=o.debounceRendering)||l)(S)}function S(){for(var e;S.__r=a.length;)e=a.sort((function(e,t){return e.__v.__b-t.__v.__b})),a=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=_({},o)).__v=o.__v+1,G(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?m(o):i,o.__h),D(n,o),o.__e!=i&&w(o)))}))}function k(e,t,n,r,o,i,a,l,c,u){var f,_,p,h,y,w,b,S=r&&r.__k||d,k=S.length;for(n.__k=[],f=0;f<t.length;f++)if(null!=(h=n.__k[f]=null==(h=t[f])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?g(null,h,null,null,h):Array.isArray(h)?g(v,{children:h},null,null,null):h.__b>0?g(h.type,h.props,h.key,null,h.__v):h)){if(h.__=n,h.__b=n.__b+1,null===(p=S[f])||p&&h.key==p.key&&h.type===p.type)S[f]=void 0;else for(_=0;_<k;_++){if((p=S[_])&&h.key==p.key&&h.type===p.type){S[_]=void 0;break}p=null}G(e,h,p=p||s,o,i,a,l,c,u),y=h.__e,(_=h.ref)&&p.ref!=_&&(b||(b=[]),p.ref&&b.push(p.ref,null,h),b.push(_,h.__c||y,h)),null!=y?(null==w&&(w=y),"function"==typeof h.type&&h.__k===p.__k?h.__d=c=C(h,c,e):c=O(e,h,p,S,y,c),"function"==typeof n.type&&(n.__d=c)):c&&p.__e==c&&c.parentNode!=e&&(c=m(p))}for(n.__e=w,f=k;f--;)null!=S[f]&&("function"==typeof n.type&&null!=S[f].__e&&S[f].__e==n.__d&&(n.__d=m(r,f+1)),L(S[f],S[f]));if(b)for(f=0;f<b.length;f++)T(b[f],b[++f],b[++f])}function C(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?C(r,t,n):O(n,r,r,o,r.__e,t));return t}function A(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){A(e,t)})):t.push(e)),t}function O(e,t,n,r,o,i){var a,l,c;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(l=i,c=0;(l=l.nextSibling)&&c<r.length;c+=2)if(l==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function E(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||f.test(t)?n:n+"px"}function I(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||E(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||E(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?P:x,i):e.removeEventListener(t,i?P:x,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function x(e){this.l[e.type+!1](o.event?o.event(e):e)}function P(e){this.l[e.type+!0](o.event?o.event(e):e)}function G(e,t,n,r,i,a,l,c,u){var s,d,f,p,h,g,m,w,b,S,C,A=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(u=n.__h,c=t.__e=n.__e,t.__h=null,a=[c]),(s=o.__b)&&s(t);try{e:if("function"==typeof A){if(w=t.props,b=(s=A.contextType)&&r[s.__c],S=s?b?b.props.value:s.__:r,n.__c?m=(d=t.__c=n.__c).__=d.__E:("prototype"in A&&A.prototype.render?t.__c=d=new A(w,S):(t.__c=d=new y(w,S),d.constructor=A,d.render=N),b&&b.sub(d),d.props=w,d.state||(d.state={}),d.context=S,d.__n=r,f=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=A.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=_({},d.__s)),_(d.__s,A.getDerivedStateFromProps(w,d.__s))),p=d.props,h=d.state,f)null==A.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==A.getDerivedStateFromProps&&w!==p&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(w,S),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(w,d.__s,S)||t.__v===n.__v){d.props=w,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEac
vendor: 3,953 bytes, line 2
2h((function(e){e&&(e.__=t)})),d.__h.length&&l.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(w,d.__s,S),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(p,h,g)}))}d.context=S,d.props=w,d.state=d.__s,(s=o.__r)&&s(t),d.__d=!1,d.__v=t,d.__P=e,s=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(r=_(_({},r),d.getChildContext())),f||null==d.getSnapshotBeforeUpdate||(g=d.getSnapshotBeforeUpdate(p,h)),C=null!=s&&s.type===v&&null==s.key?s.props.children:s,k(e,Array.isArray(C)?C:[C],t,n,r,i,a,l,c,u),d.base=t.__e,t.__h=null,d.__h.length&&l.push(d),m&&(d.__E=d.__=null),d.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=j(n.__e,t,n,r,i,a,l,u);(s=o.diffed)&&s(t)}catch(e){t.__v=null,(u||null!=a)&&(t.__e=c,t.__h=!!u,a[a.indexOf(c)]=null),o.__e(e,t,n)}}function D(e,t){o.__c&&o.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){o.__e(e,t.__v)}}))}function j(e,t,n,o,i,a,l,c){var u,d,f,_=n.props,h=t.props,g=t.type,v=0;if("svg"===g&&(i=!0),null!=a)for(;v<a.length;v++)if((u=a[v])&&"setAttribute"in u==!!g&&(g?u.localName===g:3===u.nodeType)){e=u,a[v]=null;break}if(null==e){if(null===g)return document.createTextNode(h);e=i?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,h.is&&h),a=null,c=!1}if(null===g)_===h||c&&e.data===h||(e.data=h);else{if(a=a&&r.call(e.childNodes),d=(_=n.props||s).dangerouslySetInnerHTML,f=h.dangerouslySetInnerHTML,!c){if(null!=a)for(_={},v=0;v<e.attributes.length;v++)_[e.attributes[v].name]=e.attributes[v].value;(f||d)&&(f&&(d&&f.__html==d.__html||f.__html===e.innerHTML)||(e.innerHTML=f&&f.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||I(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||I(e,i,t[i],n[i],r)}(e,h,_,i,c),f)t.__k=[];else if(v=t.props.children,k(e,Array.isArray(v)?v:[v],t,n,o,i&&"foreignObject"!==g,a,l,a?a[0]:n.__k&&m(n,0),c),null!=a)for(v=a.length;v--;)null!=a[v]&&p(a[v]);c||("value"in h&&void 0!==(v=h.value)&&(v!==_.value||v!==e.value||"progress"===g&&!v)&&I(e,"value",v,_.value,!1),"checked"in h&&void 0!==(v=h.checked)&&v!==e.checked&&I(e,"checked",v,_.checked,!1))}return e}function T(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function L(e,t,n){var r,i;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||T(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&L(r[i],t,"function"!=typeof e.type);n||null==e.__e||p(e.__e),e.__e=e.__d=void 0}function N(e,t,n){return this.constructor(e,n)}function F(e,t,n){var i,a,l;o.__&&o.__(e,t),a=(i="function"==typeof n)?null:n&&n.__k||t.__k,l=[],G(t,e=(!i&&n||t).__k=h(v,null,[e]),a||s,s,void 0!==t.ownerSVGElement,!i&&n?[n]:a?null:t.firstChild?r.call(t.childNodes):null,l,!i&&n?n:a?a.__e:t.firstChild,i),D(l,e)}function M(e,t){F(e,t,M)}function R(e,t,n){var o,i,a,l=_({},e.props);for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:l[a]=t[a];return arguments.length>2&&(l.children=arguments.length>3?r.call(arguments,2):n),g(e.type,l,o||e.key,i||e.ref,null)}r=d.slice,o={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e}},i=0,y.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=_({},this.state),"function"==typeof e&&(e=e(_({},n),this.props)),e&&_(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),b(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),b(this))},y.prototype.render=v,a=[],l="function"==typeof Promise?Promise.prototype.then.bind(Prom
vendor: 7,275 bytes, line 2
2ise.resolve()):setTimeout,S.__r=0,u=0;var B,U,V,H=0,W=[],$=o.__b,z=o.__r,J=o.diffed,q=o.__c,K=o.unmount;function X(e,t){o.__h&&o.__h(U,e,H||t),H=0;var n=U.__H||(U.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Z(e){return H=1,Q(ae,e)}function Q(e,t,n){var r=X(B++,2);return r.t=e,r.__c||(r.__=[n?n(t):ae(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=U),r.__}function Y(e,t){var n=X(B++,4);!o.__s&&ie(n.__H,t)&&(n.__=e,n.__H=t,U.__h.push(n))}function ee(e,t){var n=X(B++,7);return ie(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function te(){var e;for(W.sort((function(e,t){return e.__v.__b-t.__v.__b}));e=W.pop();)if(e.__P)try{e.__H.__h.forEach(re),e.__H.__h.forEach(oe),e.__H.__h=[]}catch(t){e.__H.__h=[],o.__e(t,e.__v)}}o.__b=function(e){U=null,$&&$(e)},o.__r=function(e){z&&z(e),B=0;var t=(U=e.__c).__H;t&&(t.__h.forEach(re),t.__h.forEach(oe),t.__h=[])},o.diffed=function(e){J&&J(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==W.push(t)&&V===o.requestAnimationFrame||((V=o.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ne&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ne&&(t=requestAnimationFrame(n))})(te)),U=null},o.__c=function(e,t){t.some((function(e){try{e.__h.forEach(re),e.__h=e.__h.filter((function(e){return!e.__||oe(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],o.__e(n,e.__v)}})),q&&q(e,t)},o.unmount=function(e){K&&K(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{re(e)}catch(e){t=e}})),t&&o.__e(t,n.__v))};var ne="function"==typeof requestAnimationFrame;function re(e){var t=U,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),U=t}function oe(e){var t=U;e.__c=e.__(),U=t}function ie(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function ae(e,t){return"function"==typeof t?t(e):t}function le(e,t){for(var n in t)e[n]=t[n];return e}function ce(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ue(e){this.props=e}(ue.prototype=new y).isPureReactComponent=!0,ue.prototype.shouldComponentUpdate=function(e,t){return ce(this.props,e)||ce(this.state,t)};var se=o.__b;o.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),se&&se(e)};var de="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var fe=function(e,t){return null==e?null:A(A(e).map(t))},_e={map:fe,forEach:fe,count:function(e){return e?A(e).length:0},only:function(e){var t=A(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:A},pe=o.__e;o.__e=function(e,t,n){if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);pe(e,t,n)};var he=o.unmount;function ge(){this.__u=0,this.t=null,this.__b=null}function ve(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function ye(){this.u=null,this.o=null}o.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),he&&he(e)},(ge.prototype=new y).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=ve(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(l):l())};n.__R=a;var l=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},ge.prototype.componentWillUnmount=function(){this.t=[]},ge.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=le({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&h(v,null,e.fallback);return o&&(o.__h=null),[h(v,null,t.__e?null:e.children),o]};var me=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function we(e){return this.getChildContext=function(){return e.context},e.children}function be(e){var t=this,n=e.i;t.componentWillUnmount=function(){F(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),F(h(we,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(ye.prototype=new y).__e=function(e){var t=this,n=ve(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),me(t,e,r)):o()};n?n(i):i()}},ye.prototype.render=function(e){this.u=null,this.o=new Map;var t=A(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ye.prototype.componentDidUpdate=ye.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){me(e,n,t)}))};var Se="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ke=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ce="undefined"!=typeof document,Ae=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};y.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(y.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Oe=o.event;function Ee(){}function Ie(){return this.cancelBubble}function xe(){return this.defaultPrevented}o.event=function(e){return Oe&&(e=Oe(e)),e.persist=Ee,e.isPropagationStopped=Ie,e.isDefaultPrevented=xe,e.nativeEvent=e};var Pe,Ge={configurable:!0,get:function(){return this.class}},De=o.vnode;o.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in r={},n){var a=n[i];Ce&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in n&&null==a||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===a?a="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Ae(n.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp)/.test(i)?i=i.toLowerCase():o&&ke.test(i)?i=i.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===a&&(a=void 0),r[i]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=A(n.children).forEac
2h((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=A(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(Ge.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Ge))}e.$$typeof=Se,De&&De(e)};var je=o.__r;o.__r=function(e){je&&je(e),Pe=e.__c};function Te(e){return!!e&&e.$$typeof===Se}var Le={useState:Z,useReducer:Q,useEffect:function(e,t){var n=X(B++,3);!o.__s&&ie(n.__H,t)&&(n.__=e,n.__H=t,U.__H.__h.push(n))},useLayoutEffect:Y,useRef:function(e){return H=5,ee((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){H=6,Y((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))},useMemo:ee,useCallback:function(e,t){return H=8,ee((function(){return e}),t)},useContext:function(e){var t=U.context[e.__c],n=X(B++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(U)),t.props.value):e.__},useDebugValue:function(e,t){o.useDebugValue&&o.useDebugValue(t?t(e):e)},version:"17.0.2",Children:_e,render:function(e,t,n){return null==t.__k&&(t.textContent=""),F(e,t),"function"==typeof n&&n(),e?e.__c:null},hydrate:function(e,t,n){return M(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(F(null,e),!0)},createPortal:function(e,t){return h(be,{__v:e,i:t})},createElement:h,createContext:function(e,t){var n={__c:t="__cC"+u++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(b)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return h.bind(null,e)},cloneElement:function(e){return Te(e)?R.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:v,isValidElement:Te,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:y,PureComponent:ue,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:ce(this.props,e)}function r(t){return this.shouldComponentUpdate=n,h(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t,n){var r=le({},t);return delete r.ref,e(r,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=de,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:v,Suspense:ge,SuspenseList:ye,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return h(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:{current:{readContext:function(e){return Pe.__n[e.__c].props.value}}}}},Ne=n(0),Fe=n.n(Ne),Me=n(1);function Re(e,t){void 0===t&&(t={});var n=function(e){if(e&&"j"===e[0]&&":"===e[1])return e.substr(2);return e}(e);if(function(e,t){return void 0===t&&(t=!e||"{"!==e[0]&&"["!==e[0]&&'"'!==e[0]),!t}(n,t.doNotParse))try{return JSON.parse(n)}catch(e){}return e}var Be=function(){return(Be=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Ue=function(){function e(e,t){var n=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function(e,t){return"string"==typeof e?Me.parse(e,t):"object"==typeof e&&null!==e?e:{}}(e,t),new Promise((function(){n.HAS_DOCUMENT_COOKIE="object"==typeof document&&"string"==typeof document.cookie})).catch((function(){}))}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=Me.parse(document.cookie,e))},e.prototype._emitChange=function(e){for(var t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)},e.prototype.get=function(e,t,n){return void 0===t&&(t={}),this._updateBrowserValues(n),Re(this.cookies[e],t)},e.prototype.getAll=function(e,t){void 0===e&&(e={}),this._updateBrowserValues(t);var n={};for(var r in this.cookies)n[r]=Re(this.cookies[r],e);return n},e.prototype.set=function(e,t,n){var r;"object"==typeof t&&(t=JSON.stringify(t)),this.cookies=Be(Be({},this.cookies),((r={})[e]=t,r)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=Me.serialize(e,t,n)),this._emitChange({name:e,value:t,options:n})},e.prototype.remove=function(e,t){var n=t=Be(Be({},t),{expires:new Date(1970,1,1,0,0,1),maxAge:0}
2);this.cookies=Be({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=Me.serialize(e,"",n)),this._emitChange({name:e,value:void 0,options:t})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1)},e}(),Ve=(n(7),"trlDataLayer");function He(){return Ve}function We(){(window[Ve]=window[Ve]||[]).push(arguments)}function $e(e){return($e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var ze=!1,Je=!1,qe=!1,Ke=!1,Xe=!1,Ze=!1,Qe=["gtm.scrollDepth","gtm.linkClick"],Ye=["gtm.uniqueEventId","gtm.priorityId","gtm.priorityQueue","eventCallback","eventTimeout"],et=!1,tt=null;function nt(e){et=!0===e}var rt=null,ot=null,it=0,at=null,lt=null;function ct(e){return!(!lt||!lt.has(e))}function ut(){if("function"==typeof WeakSet)return new WeakSet;var e=[];return{has:function(t){return-1!==e.indexOf(t)},add:function(t){e.push(t)}}}function st(){if(ze)return!0;if("undefined"==typeof window)return!1;var e=window.dataLayer;if(!e||"number"!=typeof e.length)return!1;for(var t=0;t<e.length;t++){var n=e[t];if(n&&"object"===$e(n)&&(!ct(n)&&"consent"===n[0]&&("default"===n[1]||"update"===n[1])&&n[2]&&"object"===$e(n[2]))){if(ze=!0,qe)try{console.log("[trl:ga4] External consent management detected on window.dataLayer. Going hands-off.")}catch(e){}return!0}}return!1}function dt(){ze=!0}function ft(){Je=!0}function _t(e,t){if("undefined"==typeof window)return!1;var n=He(),r=window[n],o=r&&"number"==typeof r.length?r.length:0;try{We("consent",e,t)}catch(e){return!1}var i=window[n];return(i&&"number"==typeof i.length?i.length:0)>o}function pt(){if("undefined"!=typeof window&&!Ze){var e=window.dataLayer;if(e&&"number"==typeof e.length){rt||(rt=ut());var t=0;e===ot&&e.length>=it&&(0===it||e[it-1]===at)&&(t=it);for(var n=t;n<e.length;n++){var r=e[n];if(r&&"object"===$e(r)&&("consent"===r[0]&&("default"===r[1]||"update"===r[1])&&r[2]&&"object"===$e(r[2])&&!ct(r)&&!rt.has(r))){rt.add(r);try{var o=Object.assign({},r[2]);Array.isArray(o.region)&&(o.region=o.region.slice()),We("consent",r[1],o)}catch(e){}}}ot=e,it=e.length,at=e.length>0?e[e.length-1]:null}}}function ht(e,t){if(et&&!Ze&&"undefined"!=typeof window&&!window.__trlGtagBlocked)for(var n,r=function(){var n=e[o];if(!n||"object"!==$e(n)||Array.isArray(n))return 0;if("[object Arguments]"===Object.prototype.toString.call(n))return 0;if(-1===Qe.indexOf(n.event))return 0;if("string"!=typeof n["gtm.triggers"])return 0;var r=window.trlDataLayer=window.trlDataLayer||[];if(r===t||r===window.dataLayer)return{v:void 0};if(tt||(tt=ut()),tt.has(n))return 0;tt.add(n);var i={};if(Object.keys(n).forEach((function(e){-1===Ye.indexOf(e)&&"function"!=typeof n[e]&&(i[e]=n[e])})),tt.add(i),r.push(i),qe)try{console.log("[trl:ga4] EM bridge: "+n.event+" -> trlDataLayer")}catch(e){}},o=0;o<e.length;o++)if(0!==(n=r())&&n)return n.v}function gt(){if("undefined"!=typeof window){pt();var e=window.dataLayer;if(e&&"function"==typeof e.push&&!e.push.__trlConsentMirror){var t=e.push,n=function(){var e=t.apply(this,arguments);try{pt()}catch(e){}try{ht(arguments,this)}catch(e){}return e};n.__trlConsentMirror=!0,e.push=n}}}function vt(){"undefined"!=typeof window&&"function"!=typeof window.__trlEmitV1Consent&&(window.__trlEmitV1Consent=function(e,t){if(("update"===e||"default"===e)&&t&&"object"===$e(t)&&!st()){lt||(lt=ut());var n=function(){return arguments}("consent",e,t);lt.add(n);var r=window.dataLayer=window.dataLayer||[];try{r.push(n)}catch(e){}}})}function yt(e){if(!e||"object"!==$e(e))return!1;if(!0===e.never_emit)return dt(),!1;if(st())return!1;var t=Object.assign({},e);delete t.never_emit;var n=_t("default",t);return n&&"denied"===t.analytics_storage&&(Ke=!0),n}function mt(){return!!Ke&&(!Xe&&("undefined"!=typeof window&&(!function(){for(var e=[window.trlDataLayer,window[He()],window.dataLayer],t=0;t<e.length;t++){var n=e[t];if(n&&"number"==typeof n.length)for(var r=n.length-1;r>=0;r--){var o=n[r];
2if(o&&"object"===$e(o)&&(!ct(o)&&"consent"===o[0]&&"update"===o[1]&&o[2]&&"object"===$e(o[2])&&"analytics_storage"in o[2]))return!0}}return!1}()||(Xe=!0,!1))))}function wt(e){return!!(e&&e.consent&&"update"===e.consent.kind&&e.consent.values&&"object"===$e(e.consent.values))&&(!!Je&&(!st()&&_t("update",e.consent.values)))}function bt(e,t){if(!e||"number"!=typeof e.length)return null;for(var n=e.length-1;n>=0;n--){var r=e[n];if(r&&"object"===$e(r)&&("consent"===r[0]&&("default"===r[1]||"update"===r[1])&&r[2]&&"object"===$e(r[2])&&"string"==typeof r[2][t]))return r[2][t]}return null}function St(e){if("undefined"==typeof window)return null;var t=bt(window.trlDataLayer,e),n=bt(window[He()],e),r=bt(window.dataLayer,e);return"denied"===t||"denied"===n||"denied"===r?"denied":"granted"===t||"granted"===n||"granted"===r?"granted":null!==r?r:null!==n?n:t}function kt(e){return(kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Ct=["url","product_url","image_url","compare_at_price"],At={};["item_id","id","sku","content_id","product_id","variant_id","variation_id","product_variant_id","data_process"].forEach((function(e){At[e]=!0}));var Ot={item_name:!0,name:!0,content_name:!0,product_name:!0},Et={item_category:!0,category:!0,content_category:!0,product_category:!0,item_category2:!0,item_category3:!0,item_category4:!0,item_category5:!0},It=Object.assign(Object.create(null),{view_item_list:0,select_item:0,view_promotion:0,select_promotion:0,view_category:0,view_item:1,view_cart:1,add_to_wishlist:1,view_content:1,add_to_cart:2,remove_from_cart:2,begin_checkout:3,add_shipping_info:3,add_payment_info:3,initiate_checkout:3,purchase:4,refund:4});function xt(e){var t,n=It[(t=e,"string"!=typeof t?"":t.replace(/([a-z0-9])([A-Z])/g,"$1_$2").replace(/[\s\-]+/g,"_").toLowerCase())];return"number"==typeof n?n:2}var Pt=["items","contents"];function Gt(e){return"object"===kt(e)&&null!==e&&!Array.isArray(e)}function Dt(e){if(!Array.isArray(e))return null;var t=e[2];return Gt(t)?t:null}function jt(e){return Array.isArray(e)?e[1]:void 0}function Tt(e){for(var t=[],n=0;n<Pt.length;n++){var r=Pt[n],o=e[r];Array.isArray(o)&&o.length>0&&t.push({key:r,items:o})}return t}function Lt(e){try{return JSON.parse(JSON.stringify(e))}catch(e){return null}}function Nt(e){for(var t=["item_id","id","sku","content_id","product_id","variant_id"],n=0;n<t.length;n++){var r=e[t[n]];if("string"==typeof r&&""!==r)return r;if("number"==typeof r)return String(r)}return null}var Ft={};function Mt(e,t){for(var n=Object.keys(e),r=0;r<n.length;r++){var o=n[r],i=e[o];!0===t[o]&&""!==i&&null!==i||delete e[o]}}function Rt(e,t){for(var n,r=["item_list_id","item_list_name"],o=0;o<r.length;o++){for(var i=r[o],a=void 0,l=t.length>0,c=0;c<t.length;c++){var u=t[c][i];if("string"!=typeof u&&"number"!=typeof u){l=!1;break}if(void 0===a)a=u;else if(u!==a){l=!1;break}}if(l&&void 0!==a&&(void 0!==e[i]&&null!==e[i]||(e[i]=a),e[i]===a))for(var s=0;s<t.length;s++)delete t[s][i]}for(var d=t.length>0,f=0;f<t.length;f++){var _=t[f].currency;
2if("string"!=typeof _||""===_){d=!1;break}if(void 0===n)n=_;else if(_!==n){d=!1;break}}if(d&&void 0!==n&&(void 0!==e.currency&&null!==e.currency||(e.currency=n),e.currency===n))for(var p=0;p<t.length;p++)delete t[p].currency;for(var h=0;h<t.length;h++)"string"==typeof t[h].category&&t[h].category===t[h].item_category&&delete t[h].category}function Bt(e,t){var n=Ft;Array.isArray(t)&&t.length>0&&(n={},Object.keys(Ft).forEach((function(e){n[e]=!0})),t.forEach((function(e){"string"==typeof e&&""!==e&&(n[e]=!0)})));for(var r=0;r<e.length;r++){var o=Dt(e[r]);if(o)for(var i=Tt(o),a=0;a<i.length;a++){for(var l=[],c=0;c<i[a].items.length;c++){var u=i[a].items[c];Gt(u)&&(Mt(u,n),Object.keys(u).length>0&&l.push(u))}0!==l.length?(o[i[a].key]=l,Rt(o,l)):delete o[i[a].key]}}return e}function Ut(e,t){return e.length>t?e.slice(0,t):e}function Vt(e,t){for(var n=Tt(e),r=0;r<n.length;r++)for(var o=n[r].items,i=0;i<o.length;i++){for(var a=o[i],l=0;l<Ct.length;l++){var c=Ct[l];t&&!0===t[c]||delete a[c]}for(var u=Object.keys(a),s=0;s<u.length;s++){var d=u[s];if(!0!==At[d]){var f=a[d];if("string"==typeof f){var _=!0===Ot[d]?80:!0===Et[d]?40:120;a[d]=Ut(f,_)}else"categories"===d&&Array.isArray(f)&&(a[d]=f.map((function(e){return"string"==typeof e?Ut(e,40):e})))}}}}function Ht(e){for(var t=!1,n=0;n<e.length;n++)if("number"==typeof e[n].index){t=!0;break}return t?e.map((function(e,t){return{item:e,position:t}})).sort((function(e,t){var n="number"==typeof e.item.index?e.item.index:1/0,r="number"==typeof t.item.index?t.item.index:1/0;return n===r?e.position-t.position:n-r})).map((function(e){return e.item})):e}function Wt(e,t){"number"!=typeof e.items_total&&(e.items_total=t),e.items_truncated=1}function $t(e,t){for(var n=Tt(e),r=0;r<n.length;r++){var o=n[r].items;if(!(o.length<=t)){var i=Ht(o);Wt(e,o.length),e[n[r].key]=i.slice(0,t)}}}function zt(e,t){for(var n=Tt(e),r=0;r<n.length;r++){for(var o=n[r].items,i=Ht(o),a=JSON.stringify(i).length,l="number"==typeof e.items_total?e.items_total:o.length,c=!1;a>t&&i.length>1;)i=i.slice(0,i.length-1),a=JSON.stringify(i).length,c=!0;c&&(Wt(e,l),e[n[r].key]=i)}}function Jt(e){for(var t=[],n=0,r=Tt(e),o=0;o<r.length;o++){var i=r[o].items;n+=i.length;for(var a=Ht(i),l=0;l<a.length;l++){var c=Nt(a[l]);null!==c&&t.push(c)}delete e[r[o].key]}return t.length>0&&(e.content_ids=t.join(",")),"number"!=typeof e.items_total&&n>0&&(e.items_total=n),t}function qt(e,t,n,r){var o={fitted:!1,lastStage:"none"},i=null;if(Array.isArray(r)&&r.length>0){i={};for(var a=0;a<r.length;a++)"string"==typeof r[a]&&""!==r[a]&&(i[r[a]]=!0)}for(var l=e.map((function(e,t){return{event:e,position:t,cls:xt(jt(e))}})).filter((function(e){var t=Dt(e.event);return null!==t&&Tt(t).length>0})).sort((function(e,t){return e.cls===t.cls?e.position-t.position:e.cls-t.cls})),c=0;c<l.length;c++){var u=Dt(l[c].event),s=l[c].cls;if(Vt(u,i),o.lastStage="s4-trim",n())return o.fitted=!0,o;if($t(u,t.itemsMax),o.lastStage="s5-cap",n())return o.fitted=!0,o;if(s<4&&(zt(u,s<=1?t.budgetList:t.budgetCart),o.lastStage="s6-budget",n()))return o.fitted=!0,o;if(0===s){var d=Jt(u);if(o.lastStage="s7-skeleton",n())return o.fitted=!0,o;for(;d.length>1;)if(d=d.slice(0,d.length-1),u.content_ids=d.join(","),n())return o.fitted=!0,o}}return o.fitted=n(),o}function Kt(e){return(Kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xt(Object(n),!0).forEach((function(t){Qt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Kt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Kt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Kt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}["item_id","id","sku","content_id","product_id","variant_id","variation_id","product_variant_id","item_name","name","content_name","product_name","price","item_price","product_price","cost","value","revenue","total","subtotal","amount","sum","row_total","quantity","product_quantity","qty","index","affiliation","coupon","discount","location_id","item_list_id","item_list_name","
2item_brand","brand","content_brand","product_brand","item_variant","variant","item_category","category","content_category","product_category","categories","item_category2","item_category3","item_category4","item_category5","delivery_category","currency","item_currency","currency_code","currencyCode","curr","cc","total_discount","discount_allocations","data_process"].concat(Ct).forEach((function(e){Ft[e]=!0}));var Yt=["vc","vc_inc_s","trl_ets","_gcl_aw","_fbp","__kla_id","_rdt_uuid","partref","clickuid","trls","trlc","_ga","cart","CookieConsent","_tracking_consent","_pandectes_gdpr","cmplz_marketing","cmplz_statistics","CookieInformationConsent","cmplz_banner-status","cmplz_choice","_fbc","_gcl_au"],en=["_ga_","trl_","AMP_","amp_","mp_"],tn={"LS-63713010-3":{referrer:!1}};var nn=Zt({},{enabled:!0,itemsMax:100,budgetList:3500,budgetCart:4500,extraKeys:[]});function rn(e){nn=Zt(Zt({},nn),e||{})}function on(){return!!nn.enabled&&("undefined"==typeof window||!window.__trlNoPayloadStrip)}var an={mode:0,phoneCc:"358"};function ln(e){var t=e||{};return{mode:Number.isInteger(t.security_mode)&&t.security_mode>=1?t.security_mode:0,phoneCc:"string"==typeof t.security_mode_phone_cc&&/^[0-9]{1,4}$/.test(t.security_mode_phone_cc)?t.security_mode_phone_cc:an.phoneCc}}var cn=Zt({},an);function un(e){cn=Zt(Zt({},cn),e||{})}function sn(){return Zt({},cn)}var dn={};function fn(e,t){dn[e]=Zt(Zt({},an),t||{})}function _n(e,t){return e&&e.mode>=1?hn(t):t}function pn(e){return _n(cn,e)}function hn(e){var t={};if(!e||"object"!==Kt(e))return t;for(var n=Object.keys(e),r=0;r<n.length;r++){for(var o=n[r],i=-1!==Yt.indexOf(o),a=0;!i&&a<en.length;a++)0===o.indexOf(en[a])&&(i=!0);i&&(t[o]=e[o])}return t}function gn(e){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(e).length:e.length}function vn(e,t,n,r){var o,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:7500,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,l=function(t,n,o){return e+"/collect?"+r(t,n,o)},c=l(t,!0,void 0),u="full",s=!0;if(gn(c)<=i)return{url:c,tier:u,includeKnowledge:s,bytes:gn(c)};var d=null;if(on()&&Array.isArray(a)&&a.length>0&&(d=Lt(a))&&(Bt(d,nn.extraKeys),o=JSON.stringify(d),u="p-lossless",gn(c=l(t,!0,o))<=i))return{url:c,tier:u,includeKnowledge:s,bytes:gn(c)};var f=hn(t);if(u="allowlist",gn(c=l(f,!0,o))<=i)return{url:c,tier:u,includeKnowledge:s,bytes:gn(c)};if(n&&(s=!1,u="allowlist-no-knowledge",gn(c=l(f,!1,o))<=i))return{url:c,tier:u,includeKnowledge:s,bytes:gn(c)};if(d){var _=function(){return o=JSON.stringify(d),gn(c=l(f,s,o))<=i},p=qt(d,{itemsMax:nn.itemsMax,budgetList:nn.budgetList,budgetCart:nn.budgetCart},_,nn.extraKeys);if(p.fitted)return u="p-"+p.lastStage,{url:c,tier:u,includeKnowledge:s,bytes:gn(c)};"none"!==p.lastStage&&(u="p-"+p.lastStage)}return{url:c,tier:u,includeKnowledge:s,bytes:gn(c)}}function yn(e){return(yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var mn=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function wn(e,t){return e>>>t|e<<32-t}function bn(e){var t=function(e){for(var t=unescape(encodeURIComponent(e)),n=new Array(t.length),r=0;r<t.length;r++)n[r]=255&t.charCodeAt(r);return n}(String(e)),n=8*t.length;for(t.push(128);t.length%64!=56;)t.push(0);var r=Math.floor(n/4294967296),o=n>>>0;t.push(r>>>24&255,r>>>16&255,r>>>
28&255,255&r),t.push(o>>>24&255,o>>>16&255,o>>>8&255,255&o);for(var i=1779033703,a=3144134277,l=1013904242,c=2773480762,u=1359893119,s=2600822924,d=528734635,f=1541459225,_=new Array(64),p=0;p<t.length;p+=64){for(var h=0;h<16;h++){var g=p+4*h;_[h]=(t[g]<<24|t[g+1]<<16|t[g+2]<<8|t[g+3])>>>0}for(var v=16;v<64;v++){var y=wn(_[v-15],7)^wn(_[v-15],18)^_[v-15]>>>3,m=wn(_[v-2],17)^wn(_[v-2],19)^_[v-2]>>>10;_[v]=_[v-16]+y+_[v-7]+m>>>0}for(var w=i,b=a,S=l,k=c,C=u,A=s,O=d,E=f,I=0;I<64;I++){var x=E+(wn(C,6)^wn(C,11)^wn(C,25))+(C&A^~C&O)+mn[I]+_[I]>>>0,P=w&b^w&S^b&S;E=O,O=A,A=C,C=k+x>>>0,k=S,S=b,b=w,w=x+((wn(w,2)^wn(w,13)^wn(w,22))+P>>>0)>>>0}i=i+w>>>0,a=a+b>>>0,l=l+S>>>0,c=c+k>>>0,u=u+C>>>0,s=s+A>>>0,d=d+O>>>0,f=f+E>>>0}for(var G=[i,a,l,c,u,s,d,f],D="",j=0;j<8;j++)D+=("00000000"+G[j].toString(16)).slice(-8);return D}var Sn=["email","phoneNumber","emailVariants","phoneNumberVariants","firstName","lastName","address"],kn=["null","undefined","empty","-","***","eos"],Cn=/^[0-9a-fA-F]{64}$/;function An(e){return"string"==typeof e&&Cn.test(e)}function On(e){return String(e).replace(/^[ \t\n\r\0\x0B]+|[ \t\n\r\0\x0B]+$/g,"")}function En(e){var t=On(e);return""===t||-1!==["null","empty","-","***","eos"].indexOf(t.toLowerCase())?null:t}function In(e,t){var n=On(String(e).toLowerCase());if(null===(n=En(n=n.split(" ").join(""))))return null;if(t){var r=/^(.+)@(gmail\.com|googlemail\.com)$/i.exec(n);r&&(n=r[1].split(".").join("")+"@"+r[2])}return n}function xn(e,t){var n=/^[+-]?[0-9]+$/;return n.test(e)&&n.test(t)?Number(e)===Number(t):e===t}function Pn(e,t){var n=String(e);if(""===n||"0"===n)return null;if(An(n))return n;var r=String(t||"358");return xn((n=n.replace(/[^0-9+]+/g,"")).substr(0,r.length+2),"00"+r)&&(n="0"+n.substr(r.length+2)),xn(n.substr(0,r.length+1),"+"+r)&&(n="0"+n.substr(r.length+1)),xn(n.substr(0,r.length),r)&&(n="0"+n.substr(r.length)),"0"!==n.charAt(0)&&"+"!==n.charAt(0)&&(n="0"+n),"0"===n.charAt(0)&&(n="+"+r+n.substr(1)),n}function Gn(e,t,n){if("string"!=typeof t)return null;if(function(e){var t=On(e).toLowerCase();return""===t||-1!==kn.indexOf(t)}(t))return null;var r;switch(e){case"email":case"emailVariants":r=In(t,!1);break;case"phoneNumber":r=Pn(t,n);break;case"phoneNumberVariants":"string"==typeof(r=Pn(t,n))&&(r=r.split("+").join(""));break;case"firstName":case"lastName":r=function(e){return En(On(String(e).replace(/[0-9]+/g,"")).toLowerCase())}(t);break;case"address":r=function(e){return En(On(String(e)).toLowerCase())}(t);break;default:return null}return"string"==typeof r&&""!==r?r:null}function Dn(e){return"string"==typeof e?e:"number"==typeof e&&isFinite(e)?Math.floor(e)===e&&Math.abs(e)<1e15?e.toFixed(0):String(e):null}function jn(e){return"string"==typeof e||"number"==typeof e&&isFinite(e)}function Tn(e,t,n){var r=Dn(t);if(null===r)return{primary:t,variant:null,changed:!1};if(An(r))return{primary:r,variant:null,changed:!1};var o=Gn(e,r,n);if(null===o)return{primary:t,variant:null,changed:!1};var i=null;if("email"===e){var a=In(r,!0);null!==a&&a!==o&&(i=bn(a))}else"phoneNumber"===e&&(i=bn(o.split("+").join("")));return{primary:bn(o),variant:i,changed:!0}}function Ln(e){return String(e).toLowerCase().replace(/[_-]/g,"")}var Nn={email:"email",inputemail:"email","customerinfo.email":"email",phonenumber:"phoneNumber",phone:"phoneNumber",inputphonenumber:"phoneNumber","customerinfo.phone":"phoneNumber",emailvariants:"emailVariants",phonenumbervariants:"phoneNumberVariants",firstname:"firstName",lastname:"lastName",address:"address",address1:"address","customerinfo.address":"address"},Fn=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,Mn=[""," ","null","NULL","undefined","none","None","nil","n/a","N/A","-","0","false","true","empty","[object Object]","***","eos"],Rn=null;function Bn(e,t){return An(t)&&-1===e.indexOf("variant")&&!function(e){return null===Rn&&(Rn=Mn.map(bn)),-1!==Rn.indexOf(e.toLowerCase())}(t)}function Un(e,t){var n=Ln(e),r=Dn(t);if(null===r)return null;if(r.length<1||0===r.indexOf("LS-")&&"visitorhash"!==n)return null;if(Object.prototype.hasOwnProperty.call(Nn,n))return Nn[n];var o=-1!==n.indexOf("email"),i=-1!==n.indexOf("phone");return o||i?An(r)?Bn(n,r)?o?"email":"phoneNumber":null:o&&Fn.test(On(r))?"email":i&&(r.match(/[0-9]/g)||[]).length>=6?"phoneNumber":null:null}var Vn=["event_attributes","eventAttributes"],Hn=["type","label","name"];function Wn(e){var t=$n(e,0);return t.length>0?t[0].field:null}function $n(e,t){var n=[];if(!jn(e.value))return n;for(var r=0;r<Hn.length;r++){var o=e[Hn[r]];if("string"==typeof o){var i=Un(o,e.value);
2null!==i&&n.push({field:i,priority:Zn(o,t)})}}return n}function zn(e,t){if("string"!=typeof e||-1!==Vn.indexOf(String(t)))return null;var n=On(e);if("{"!==n.charAt(0)&&"["!==n.charAt(0))return null;try{var r=JSON.parse(n);return null!==r&&"object"===yn(r)?r:null}catch(e){return null}}var Jn={email:"emailVariants",phoneNumber:"phoneNumberVariants"},qn={email:"emailVariants",phoneNumber:"phoneNumberVariants"};function Kn(e){return null!=e&&""!==e}function Xn(e,t){return Object.prototype.hasOwnProperty.call(e,t)&&Kn(e[t])}function Zn(e,t){var n=Ln(e);return Object.prototype.hasOwnProperty.call(Nn,n)?(0===n.indexOf("customerinfo.")?5:1)+.1*t:10}function Qn(e,t,n,r){if(Array.isArray(e)){for(var o=n.hash?new Array(e.length):null,i=0;i<e.length;i++){var a=Qn(e[i],t,n,r+1);o&&(o[i]=a)}return o}if(null===e||"object"!==yn(e))return e;for(var l=n.hash?{}:null,c=n.hash?{}:null,u=Wn(e),s=null!==u?Yn(u,e.value,$n(e,r),t,n):null,d=Object.keys(e),f=0;f<d.length;f++){var _=d[f],p=e[_];if(null===p||"object"!==yn(p))if(null===s||"value"!==_){var h=zn(p,_);if(null===h){var g=jn(p)?Un(_,p):null;if(null!==g){var v=Yn(g,p,[{field:g,priority:Zn(_,r+1)}],t,n);l&&er(l,_,g,v,n,c)}else l&&(l[_]=p)}else{var y=Qn(h,t,n,r+1);if(l){var m=JSON.stringify(y);l[_]=m===JSON.stringify(h)?p:m}}}else l&&er(l,_,u,s,n,c);else{var w=-1!==Vn.indexOf(_);w&&n.rawDepth++;var b=Qn(p,t,n,r+1);w&&n.rawDepth--,l&&(l[_]=b)}}if(l)for(var S=Object.keys(c),k=0;k<S.length;k++)l[S[k]]=c[S[k]];return l}function Yn(e,t,n,r,o){var i=o.ordinal++;"emailVariants"!==e&&"phoneNumberVariants"!==e||!o.hash&&Kn(t)&&(o.explicit[e]=!0);var a=Tn(e,t,r);if(!o.hash&&0===o.rawDepth)for(var l=0;l<n.length;l++){var c=n[l].field;if(qn[c]){var u=c===e?a.variant:Tn(c,t,r).variant;o.leaves[c]=o.leaves[c]||[],o.leaves[c].push({ordinal:i,priority:n[l].priority,variant:u})}}return{ordinal:i,hashed:a}}function er(e,t,n,r,o,i){e[t]=r.hashed.primary;var a=Jn[n];a&&o.variantAt[n]===r.ordinal&&null!==r.hashed.variant&&(i[a]=r.hashed.variant)}function tr(e,t){var n={hash:!1,ordinal:0,rawDepth:0,leaves:{},explicit:{},variantAt:{}};Qn(e,t,n,0);for(var r={},o=Object.keys(n.leaves),i=0;i<o.length;i++){var a=o[i];if(!n.explicit[qn[a]]){for(var l=n.leaves[a],c=null,u=0;u<l.length;u++)(null===c||l[u].priority<=c.priority)&&(c=l[u]);c&&null!==c.variant&&(r[a]=c.ordinal)}}return Qn(e,t,{hash:!0,ordinal:0,rawDepth:0,leaves:{},explicit:{},variantAt:r},0)}function nr(e){if(Array.isArray(e))return e.map(nr);if(null===e||"object"!==yn(e))return e;for(var t={},n=Wn(e),r=Object.keys(e),o=0;o<r.length;o++){var i=r[o],a=e[i];null!==a&&"object"===yn(a)?t[i]=nr(a):null!==n&&"value"===i||null!==zn(a,i)||jn(a)&&null!==Un(i,a)&&!An(String(a))||(t[i]=a)}return t}function rr(e){for(var t=String(e).replace(/[-_]/g," ").split(" "),n="",r=0;r<t.length;r++)n+=t[r].charAt(0).toUpperCase()+t[r].slice(1);return n.charAt(0).toLowerCase()+n.slice(1)}function or(e,t,n){var r=Jn[t];if(!r)return!1;for(var o=Object.keys(e),i=0;i<o.length;i++){if((n?rr(o[i]):o[i])===r&&Kn(e[o[i]]))return!0}return!1}function ir(e,t,n){for(var r={},o={},i=Object.keys(e),a=0;a<i.length;a++){var l=i[a],c=e[l],u=n?rr(l):l;if(jn(c)&&-1!==Sn.indexOf(u)){var s=Tn(u,c,t);r[l]=s.primary;var d=Jn[u];!d||null===s.variant||or(e,u,n)||Xn(o,d)||(o[d]=s.variant)}else r[l]=c}for(var f=Object.keys(o),_=0;_<f.length;_++)r[f[_]]=o[f[_]];return r}function ar(e,t){for(var n={},r=Object.keys(e),o=0;o<r.length;o++){var i=r[o],a=t?rr(i):i;jn(e[i])&&-1!==Sn.indexOf(a)&&!An(String(e[i]))||(n[i]=e[i])}return n}function lr(e,t,n){if(!e||!t||0===t.length)return null;var r=n||{},o=null,i=function(n){if(!(n>=t.length)){var a=document.createElement("script");a.async=!0,a.src=t[n],a.onerror=function(){var e=n+1<t.length?t[n+1]:null;if("function"==typeof r.onError)try{r.onError(t[n],e,n)}catch(e){}i(n+1)},a.onload=function(){if("function"==typeof r.onLoad)try{r.onLoad(t[n],n)}catch(e){}},e.appendChild(a),o||(o=a)}};return i(0),o}function cr(e){return function(e){if(Array.isArray(e))return wr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||mr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ur(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,gr(r.key),r)}}function sr(e,t,n){return t=dr(t),function(e,t){if(t&&("object"==br(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,n||[],dr(e).constructor):t.apply(e,n))}function dr(e){return(dr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fr(e,t){return(fr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?_r(Object(n),!0).forEach((function(t){hr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hr(e,t,n){return(t=gr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gr(e){var t=function(e,t){if("object"!=br(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=br(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==br(t)?t:t+""}function vr(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=mr(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function yr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||mr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mr(e,t){if(e){if("string"==typeof e)return wr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wr(e,t):void 0}}function wr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function br(e){return(br="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Sr=15e3,kr=200,Cr=1e4,Ar=3e4,Or=6e4,Er=2e3,Ir=2e3,xr=20,Pr=["email","phone","externalid","gender","name","address","zip","post","utm"];function Gr(){return"undefined"==typeof window||!window.__trlNoKnowledgeCache}var Dr=["purchase","refund","add_to_cart","remove_from_cart","begin_checkout","add_payment_info","add_shipping_info","view_item","view_item_list","select_item","view_cart","add_to_wishlist","view_promotion","select_promotion"],jr=Object.assign(Object.create(null),{purchase:0,refund:1,begin_checkout:2,add_payment_info:3}),Tr=[["ecommerce","items"],["ecommerce","products"],["ecommerce","purchase","products"],["items"],["products"],["transactionProducts"]],Lr=["_cmp_a","_tracking_consent","CookieConsent","cmplz_marketing","cmplz_statistics","CookieInformationConsent","_pandectes_gdpr"],Nr=0;function Fr(){window.dataLayer=window.dataLayer||[],"function"!=typeof window.gtag&&(window.gtag=function(){window.dataLayer.push(arguments)})}var Mr=!1;function Rr(){return!0===Mr}function Br(e){Mr=!0===e}function Ur(e){if("undefined"==typeof window||!e)return!1;if("function"!=typeof window.gtag)return!1;try{var t=window.google_tag_manager,n=t&&t[e];if(!n)return!1;var r=n.dataLayer&&n.dataLayer.name;return(!Rr()||"string"!=typeof r||""===r||r===He())&&("function"==typeof n.get||"function"==typeof(n.dataLayer&&n.dataLayer.get)||void 0!==n.bootstrap)}catch(e){return!1}}function Vr(e){if("undefined"==typeof window||!e)return null;try{var t=window.google_tag_manager,n=t&&t[e],r=n&&n.dataLayer&&n.dataLayer.name;return"string"==typeof r&&""!==r?r:null}catch(e){return null}}function Hr(e){var t=Vr(e);return"string"==typeof t&&""!==t&&t!==He()}function Wr(){try{var e=window.google_tag_manager;if(!e||"object"!==br(e))return!1;for(var t in e)if(/^GTM-/.test(t))return!0}catch(e){}return!1}function $r(e){if("undefined"==typeof window||!e)return!1;try{if(window.__trlGa4Adopted&&window.__trlGa4Adopted[e])return!0;
2if(window.__trlNoGa4Adopt)return!1;if(window.__trlGtagBlocked)return!1;var t=He(),n=Vr(e);if(!n||n===t)return!1;if(window.__trlGa4Conflict=!0,!Rr())return!1;if("denied"===St("analytics_storage"))return _i&&console.warn("[trl:ga4] destination conflict on",e,"â analytics_storage denied, refusing host-layer adoption."),!1;if(Wr())return _i&&console.warn("[trl:ga4] destination conflict on",e,"â GTM container present, staying MP-only (echo-loop guard)."),!1;if(function(e,t){try{var n=window.google_tag_manager;if(!n||"object"!==br(n))return!1;for(var r in n)if(r!==t&&/^G-[A-Z0-9]{6,12}$/.test(r))try{var o=n[r];if(o&&o.dataLayer&&o.dataLayer.name===e)return!0}catch(e){}}catch(e){}return!1}(t,e))return _i&&console.warn("[trl:ga4] destination conflict on",e,'â another stream still drains "'+t+'", staying MP-only for this stream.'),!1;"string"==typeof(r=n)&&""!==r&&(Ve=r);try{Ze=!0}catch(e){}try{dt()}catch(e){}window.__trlGa4Adopted=window.__trlGa4Adopted||{},window.__trlGa4Adopted[e]=n,_i&&console.warn('[trl:ga4] adopted host gtag layer "'+n+'" for '+e+" (host page hard-codes gtag.js for the same id).");try{co("adopted")}catch(e){}try{to(null)}catch(e){}return!0}catch(e){return!1}var r}function zr(e){return!(!e||!window["__trlGa4ScriptLoaded_"+e])}var Jr=!1;function qr(){"undefined"!=typeof globalThis&&globalThis.__TRL_TEST_MODE__&&(Jr=!1)}var Kr=null,Xr=0,Zr={},Qr=!1;function Yr(){Kr&&(clearTimeout(Kr),Kr=null),Xr=0,Zr={}}function eo(e){e&&Zr[e]&&(Zr[e]=Date.now())}function to(e){var t=window.__trlGa4Deferred;if(!t||0===t.length)return!0;if(window.__trlGtagBlocked)return window.__trlGa4Deferred=[],!0;window.__trlGa4Deferred=[];for(var n=[],r=[],o=0;o<t.length;o++){var i=t[o];if(i&&"object"===br(i))if(Ur(i.measurementId))try{window.__trlGa4Apply(i)}catch(e){}else e&&e(i)?r.push(i):n.push(i)}return r.length>0&&(no(r),window.__trlGtagBlocked)?(window.__trlGa4Deferred=[],!0):0===n.length?!(window.__trlGa4Deferred&&window.__trlGa4Deferred.length>0):(window.__trlGa4Deferred=n.concat(window.__trlGa4Deferred||[]),!1)}function no(e){if(e&&0!==e.length)if("denied"!==St("analytics_storage")){try{for(var t=[],n=0;n<e.length;n++){var r=e[n],o=r&&r.measurementId;if(o&&$r(o),o&&Ur(o)&&!Hr(o))try{window.__trlGa4Apply(r)}catch(e){}else t.push(r)}if(0===t.length)return;e=t}catch(e){}var i=!1;try{i=!(!window.trlApp||"function"!=typeof window.trlApp.sendGa4GtagBlockedPing||!window.trlApp.sendGa4GtagBlockedPing())}catch(e){i=!1}if(i)_i&&console.warn("[trl:ga4] gtag not wired at deadline â promoting",e.length,"pending payload(s) to Measurement Protocol."),window.__trlGtagBlocked=!0;else{_i&&console.warn("[trl:ga4] gtag not wired at deadline but gtag-blocked ping unavailable â falling back to stub-push.");for(var a=0;a<e.length;a++)try{window.__trlGa4Apply(e[a],!0)}catch(e){}}}else{if(!window.__trlNoGa4ConsentHold&&!ao&&mt()&&!window.__trlGtagBlocked){_i&&console.warn("[trl:ga4] gtag not wired at deadline, consent decision pending â parking payload(s) in the consent hold."),window.__trlGa4ConsentHold||(window.__trlGa4ConsentHold=[]);for(var l=0;l<e.length;l++)window.__trlGa4ConsentHold.push(e[l]);return void so()}if(_i&&console.warn("[trl:ga4] gtag not wired at deadline, analytics_storage denied â keeping cookieless pixel path (no MP)."),!window.__trlGtagBlocked)for(var c=0;c<e.length;c++)try{window.__trlGa4Apply(e[c],!0)}catch(e){}}}function ro(){if("undefined"!=typeof window&&(function(){if(Qr||"undefined"==typeof window)return;Qr=!0;var e=function(e){var t=window.__trlGa4Deferred;t&&0!==t.length&&(to((function(t){return e||zr(t.measurementId)}))&&Yr())};try{window.addEventListener("pagehide",(function(){e(!0)}),{capture:!0}),document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&e(!1)}),{capture:!0})}catch(e){}}(),!Kr)){Xr||(Xr=Date.now());var e=function(){Kr=null;var t=window.__trlGa4Deferred;if(t&&0!==t.length){for(var n=Date.now(),r=0;r<t.length;r++){var o=t[r];if(o&&"object"===br(o)){var i=o.measurementId;i&&!Zr[i]&&zr(i)&&(Zr[i]=n),i&&$r(i)}}var a=n-Xr>=6e4;to((function(e){if(a)return!0;var t=Zr[e.measurementId];return!!t&&n-t>=2e3}))?Yr():Kr=setTimeout(e,100)}else Yr()};Kr=setTimeout(e,100)}}var oo=null,io=0,ao=!1,lo=!1;function co(e){ao=!0,oo&&(clearTimeout(oo),oo=null),io=0;var t=window.__trlGa4ConsentHold;if(window.__trlGa4ConsentHold=[],t&&0!==t.length)if(window.__trlGtagBlocked)_i&&console.log("[trl:ga4] consent hold dropped â session is MP-only.");else{_i&&console.warn("[trl:ga4] consent hold released ("+e+"): "+t.length+" payload(s)");for(var n=0;n<t.length;n++){var r=t[n];"resolved"===e&&r&&r.consent&&delete(r=Object.assign({},r)).consent;try{window.__trlGa4Apply(r,"teardown"===e)}catch(e){}}}}function uo(e){if(!e||!e.consent||"cmp_decision"!==e.consent.provenance)return e;if(!wt(e))return e;var t=Object.assign({},e);return delete t.consent,t}function so(){if("undefined"!=typeof window&&(function(){if(lo||"undefined"==typeof window)return;lo=!0;var e=function(){var e=window.__trlGa4ConsentHold;e&&0!==e.length&&co("teardown")};try{window.addEventListener("pagehide",(function(){e()}),{capture:!0}),document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&e()}),{capture:!0})}catch(e){}}(),io||(io=Date.now()),!oo)){var e=function(){oo=null;var t=window.__trlGa4ConsentHold;if(t&&0!==t.length){!function(){if(!window.__trlGtagBlocked&&!window.__trlNoGa4ConsentHold){var e=window.__trlGa4ConsentHold;if(e&&0!==e.length)for(var t=0;t<e.length;t++)e[t]=uo(e[t])}}();var n=Date.now()-io>=Sr,r=!mt();if(n||r||window.__trlGtagBlocked||window.__trlNoGa4ConsentHold)co(!r&&n?"deadline":"resolved");else oo=setTimeout(e,kr)}else io=0};oo=setTimeout(e,kr)}}var fo=Object.create(null),_o=!1;function po(e){try{if(window.__trlGa4Adopted&&window.__trlGa4Adopted[e])return!0}catch(e){}try{if(/(?:^|;\s*)trl_ga(?:_|=)/.test(document.cookie))return!0}catch(e){}
2try{if(window.trlApp&&window.trlApp._ga4CapturedId)return!0}catch(e){}try{if(!Hr(e)&&"undefined"!=typeof performance&&"function"==typeof performance.getEntriesByType)for(var t=performance.getEntriesByType("resource"),n=0;n<t.length;n++){var r=t[n]&&t[n].name;if("string"==typeof r&&/\/g\/collect/.test(r)&&-1!==r.indexOf("tid="+e))return!0}}catch(e){}return!1}function ho(e){var t={hint:0,resolved:!1};if(!e||"number"!=typeof e.length)return t;for(var n=null,r=0;r<e.length;r++){var o=e[r];o&&"object"===br(o)&&("consent"!==o[0]||"default"!==o[1]&&"update"!==o[1]||o[2]&&"object"===br(o[2])&&("default"===o[1]&&"number"==typeof o[2].wait_for_update&&o[2].wait_for_update>t.hint&&(t.hint=o[2].wait_for_update),"string"==typeof o[2].analytics_storage&&(n=o[1])))}return t.resolved="update"===n,t}function go(){var e={hint:0,resolved:!1};if("undefined"==typeof window)return e;for(var t=[window.trlDataLayer,window[He()],window.dataLayer],n=!0,r=0;r<t.length;r++){var o=ho(t[r]);o.hint>e.hint?(e.hint=o.hint,n=o.resolved):o.hint===e.hint&&o.hint>0&&(n=n&&o.resolved)}return e.resolved=e.hint>0&&n,e}function vo(){if(!window.__trlGtagBlocked){var e=!1;try{e=!(!window.trlApp||"function"!=typeof window.trlApp.sendGa4GtagBlockedPing||!window.trlApp.sendGa4GtagBlockedPing())}catch(t){e=!1}e?(_i&&console.warn("[trl:ga4] processing audit failed â promoting session to Measurement Protocol."),window.__trlGtagBlocked=!0):_i&&console.warn("[trl:ga4] processing audit failed but gtag-blocked ping unavailable â leaving pixel path untouched.")}}function yo(e){if("undefined"!=typeof window&&e&&!window.__trlNoGa4DeferredRetry&&!window.__trlGtagBlocked&&!fo[e]){var t={mid:e,firstFireAt:Date.now(),settled:!1,timer:null};fo[e]=t,function(){if(!_o&&"undefined"!=typeof window){_o=!0;try{window.addEventListener("pagehide",(function(e){if(!e||!e.persisted)for(var t in fo){var n=fo[t];n&&!n.settled&&(window.__trlGtagBlocked||po(t)?n.settled=!0:"denied"!==St("analytics_storage")?$r(t)?n.settled=!0:(n.settled=!0,vo()):n.settled=!0)}}),{capture:!0})}catch(e){}}}(),t.timer=setTimeout((function(){!function e(t,n){if(t.timer=null,!t.settled)if(window.__trlGtagBlocked)t.settled=!0;else if(po(t.mid))t.settled=!0;else if("denied"!==St("analytics_storage")){if(1===n){var r=go();if(r.hint>0&&!r.resolved){var o=t.firstFireAt+Math.min(Math.max(r.hint+2e3,4e3),15e3);return void(t.timer=setTimeout((function(){e(t,2)}),Math.max(o-Date.now(),0)))}}$r(t.mid)?t.settled=!0:(t.settled=!0,vo())}else t.settled=!0}(t,1)}),2e3)}}var mo=Object.create(null),wo=[],bo=0,So=!1;function ko(e){try{var t=e&&"string"==typeof e.message?e.message:String(e);return String(t||"error").slice(0,200)}catch(e){return"error"}}function Co(e){var t=mo[e];if(t){var n=Cr,r=go();r.hint>0&&(n=Math.max(n,Math.min(r.hint+Er,Ar))),t.timer=setTimeout((function(){Ao(e,!1)}),n),function(){if(So||"undefined"==typeof window)return;So=!0;try{window.addEventListener("pagehide",(function(e){if(!e||!e.persisted)for(var t=wo.slice(),n=0;n<t.length;n++){var r=mo[t[n]];if(r&&!r.settled)try{Ao(t[n],!0)}catch(e){}}}))}catch(e){}}()}}function Ao(e,t){var n=mo[e];if(n&&!n.settled){n.timer=null;var r=go();if(r.hint>0&&r.hint+Er>Date.now()-n.at){if(t||!r.resolved)return void(n.settled=!0);if(!n.graced)return n.graced=!0,void(n.timer=setTimeout((function(){Ao(e,!1)}),Er))}if(n.settled=!0,!(window.__trlGtagBlocked||window.__trlNoGa4PixelRecovery||"denied"===St("analytics_storage")||t&&Date.now()-n.at<Ir)){for(var o=[],i=[],a=0;a<n.thrown.length;a++)n.cb[n.thrown[a]]||o.push(n.thrown[a]);for(var l=0;l<n.emitted.length;l++)n.cb[n.emitted[l]]||i.push(n.emitted[l]);o.length+i.length!==0&&(bo>=xr||(bo++,function(e){try{var t=window.trlApp&&window.trlApp.state||{},n=t.trlId,r=t.visitorHash,o=t.domain;if(!n||!o||"function"!=typeof fetch)return!1;var i=o;if(gi)try{i=window.location.origin||o}catch(e){}var a=new Ue,l=vn(o,pn(a.getAll()),!1,(function(t){var o;return Fe.a.stringify({k:n,p:JSON.stringify([["knowledge"]]),u:r,entry_url:null===(o=window.location)||void 0===o?void 0:o.href,domain:i,c:JSON.stringify(t),ga4_lost:JSON.stringify(e)})}));fetch(l.url,{method:"GET",keepalive:!0,credentials:"omit",mode:"cors"}).catch((function(){})),_i&&console.warn("[trl:ga4] Sent pixel-lost report:",e)}catch(e){return!1}}({n:e,x:o,d:i,e:n.err})))}}}function Oo(){if("undefined"!=typeof window&&("function"!=typeof window.__trlGa4Apply||!window.__trlGa4Apply.__trlInstalled)){var e=function(e,n){if(e&&"object"===br(e)&&"string"==typeof e.measurementId&&/^G-[A-Z0-9]{6,12}$/.test(e.measurementId)&&Array.isArray(e.events)){if(e.nonce&&!window.__trlNoGa4NonceDedup){var r=window.__trlGa4State;if(r&&r.appliedNonces&&r.appliedNonces[e.nonce])return void(_i&&console.log("[trl:ga4] Dropping payload â nonce already applied:",e.nonce))}if(window.__trlNoGa4DeferredRetry){if("function"!=typeof window.gtag)return window.__trlGa4Deferred||(window.__trlGa4Deferred=[]),void window.__trlGa4Deferred.push(e)}else if(n)Fr();else{if(window.__trlGtagBlocked)return void(_i&&console.log("[trl:ga4] Dropping pixel payload â session is MP-only (gtag_blocked)."));if(!Ur(e.measurementId))return _i&&console.log("[trl:ga4] gtag.js not wired for",e.measurementId,"â deferring payload."),window.__trlGa4Deferred||(window.__trlGa4Deferred=[]),window.__trlGa4Deferred.push(e),void ro()}if("trlDataLayer"!==He()&&(Jr||Wr()&&(Jr=!0,window.__trlGa4GtmAppeared=!0,_i&&console.warn("[trl:ga4] GTM container appeared after host-layer adoption â halting gtag emissions (echo-loop guard); /collect delivery continues."),1)))_i&&console.log("[trl:ga4] Dropping pixel payload â GTM appeared after adoption (echo-loop guard).");else{if(window.__trlGa4Deferred&&window.__trlGa4Deferred.length>0){var o=window.__trlGa4Deferred;window.__trlGa4Deferred=[];for(var i=0;i<o.length;i++)try{t(o[i])}catch(e){}}if(e=uo(e),!n&&!window.__trlNoGa4ConsentHold&&!ao){var a=window.__trlGa4ConsentHold;if(a&&a.length>0||mt())return _i&&console.log("[trl:ga4] consent pending â holding payload for",e.measurementId),window.__trlGa4ConsentHold||(window.__trlGa4ConsentHold=[]),window.__trlGa4ConsentHold.push(e),void so()}window.__trlGa4State=window.__trlGa4State||{},window.__trlGa4State.appliedStreams=window.__trlGa4State.appliedStreams||{},window.__trlGa4State.appliedByMeasurementId=window.__trlGa4State.appliedByMeasurementId||{};var l=e.streamKey||e.measurementId,c=!window.__trlGa4State.appliedStreams[l],u=function(e,t){return!("undefined"==typeof window||!e||!0!==e.rec||"string"!=typeof e.nonce)&&(!(t||window.__trlGtagBlocked||window.__trlNoGa4DeferredRetry||window.__trlNoGa4PixelRecovery)&&Ur(e.measurementId))}(e,n),s=u?function(e){var t={at:Date.now(),emitted:[],thrown:[],cb:Object.create(null),err:null,settled:!1,graced:!1,timer:null},n=mo[e];if(n)n.timer&&clearTimeout(n.timer);else for(wo.push(e);wo.length>50;){var r=wo.shift(),o=mo[r];o&&o.timer&&clearTimeout(o.timer),delete mo[r]}return mo[e]=t,"undefined"!=typeof window&&window.__trlGa4State&&(window.__trlGa4State.emission=mo),t}(e.nonce):{at:Date.now(),emitted:[],thrown:[],cb:Object.create(null),err:null};if(c&&(window.__trlGa4State.appliedStreams[l]=!0,!window.__trlGa4State.appliedByMeasurementId[e.measurementId])){window.__trlGa4State.appliedByMeasurementId[e.measurementId]=!0;var d=window.__trlGa4ConfigPartial&&"object"===br(window.__trlGa4ConfigPartial)?window.__trlGa4ConfigPartial:{};
2try{We("config",e.measurementId,Object.assign({},d,e.config||{}))}catch(e){null===s.err&&(s.err=ko(e))}}try{wt(e)}catch(e){null===s.err&&(s.err=ko(e))}for(var f=0,_=function(t){var n=e.events[t];if(!n||!n.name)return 0;if(!0===n.deniedPing&&"denied"!==St("analytics_storage"))return _i&&console.log("[trl:ga4] Dropping denied-ping event â page consent no longer denies analytics:",n.name),0;try{var r=Object.assign({},n.params||{});r.transaction_id&&!/^(purchase|refund)$/.test(n.name)&&delete r.transaction_id,r.send_to=e.measurementId,u&&(r.event_callback=function(){s.cb[t]=!0},r.event_timeout=Or),We("event",n.name,r),s.emitted.push(t),f++}catch(e){s.thrown.push(t),null===s.err&&(s.err=ko(e)),_i&&console.warn("[trl:ga4] Event emission threw â continuing with the rest of the payload:",n.name,e)}},p=0;p<e.events.length;p++)_(p);e.nonce&&!window.__trlNoGa4NonceDedup&&(window.__trlGa4State.appliedNonces=window.__trlGa4State.appliedNonces||{},window.__trlGa4State.appliedNonces[e.nonce]=!0),f>0&&!n&&yo(e.measurementId),u&&s.emitted.length+s.thrown.length>0&&Co(e.nonce)}}},t=function(t,n){Nr++;try{try{pt()}catch(e){}e(t,n)}finally{Nr--}};t.__trlInstalled=!0,window.__trlGa4Apply=t;for(var n=window.__trlGa4Queue&&"number"==typeof window.__trlGa4Queue.length?window.__trlGa4Queue:[],r=0;r<n.length;r++)try{t(n[r])}catch(e){}window.__trlGa4Queue={push:t}}}function Eo(){if("undefined"!=typeof window&&"function"==typeof window.__trlGa4Apply){var e=window.__trlGa4Deferred;if(e&&0!==e.length){window.__trlGa4Deferred=[];for(var t=0;t<e.length;t++)try{window.__trlGa4Apply(e[t])}catch(e){}}}}var Io=/\/web-pixels@[^/]+\/[^/]+\/web-pixel-[^/]+\/sandbox\//;function xo(){if(function(){try{if("string"==typeof window.origin)return"null"===window.origin}catch(e){}try{return document.cookie,!1}catch(e){return!0}}())return!0;try{if(void 0!==window.shopifyBrowser||void 0!==window.shopifyInit)return!0}catch(e){}try{var e=window.location&&window.location.pathname;if("string"==typeof e&&Io.test(e))return!0}catch(e){}return!1}var Po="trl_idp",Go=/^trl_ga_[A-Za-z0-9_-]+$/,Do=/^[A-Za-z0-9.$_-]+$/,jo=!1;function To(){try{var e=window.shopifyBrowser&&window.shopifyBrowser.localStorage;if(e&&"function"==typeof e.getItem&&"function"==typeof e.setItem)return e}catch(e){}return null}function Lo(){try{return window.shopifyBrowser&&window.shopifyBrowser.cookie||null}catch(e){return null}}function No(e){if("string"!=typeof e||""===e)return null;try{var t=JSON.parse(e);return t&&"object"===br(t)&&1===t.v&&(t.trl_ga||t.streams||t.pair)?t:null}catch(e){return null}}function Fo(){var e=To();return e?e.getItem(Po).then((function(e){if("string"==typeof e)return No(e);var t=Lo();return t&&"function"==typeof t.get?t.get(Po).then((function(e){return No(e)})).catch((function(){return null})):null})).catch((function(){return null})):Promise.resolve(null)}function Mo(e){var t;try{t=JSON.stringify(e)}catch(e){return}var n=To();if(n)try{n.setItem(Po,t).catch((function(){}))}catch(e){}var r=Lo();if(r&&"function"==typeof r.set)try{r.set(Po,t).catch((function(){}))}catch(e){}}function Ro(){var e=To();if(e)try{e.setItem(Po,"").catch((function(){}))}catch(e){}var t=Lo();if(t&&"function"==typeof t.set)try{t.set(Po,"").catch((function(){}))}catch(e){}}function Bo(e){var t=e&&e.trl_ga,n={},r=0;for(var o in e||{})0===o.indexOf("trl_ga_")&&e[o]&&(n[o]=e[o],r++);if(!t&&0===r)return null;var i={v:1,at:Date.now()};return t&&(i.trl_ga=t),r>0&&(i.streams=n),i}function Uo(e){if("string"!=typeof e||-1===e.indexOf("|"))return null;var t=e.split("|");return 2===t.length&&t[0]&&t[1]?"null"===t[0]||"undefined"===t[0]||"null"===t[1]||"undefined"===t[1]?null:{v:1,pair:{cid:t[0],sid:t[1],at:Date.now()},at:Date.now()}:null}function Vo(){try{document.cookie="trl_probe=1; path=/; SameSite=Lax";var e=-1!==document.cookie.indexOf("trl_probe=");return document.cookie="trl_probe=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT",e}catch(e){return!1}}function Ho(){try{var e=(window.location&&window.location.hostname||"").split(".");if(e.length<2)return null;for(var t=e.length-2;t>=0;t--){var n=e.slice(t).join(".");if(document.cookie="trl_dprobe=1; path=/; SameSite=Lax; domain=."+n,-1!==document.cookie.indexOf("trl_dprobe="))return document.cookie="trl_dprobe=; path=/; domain=."+n+"; expires=Thu, 01 Jan 1970 00:00:00 GMT",n}}catch(e){}return null}function Wo(){try{for(var e=(document.cookie||"").split("; "),t=0;t<e.length;t++)if(0===e[t].indexOf("trl_ga=")){var n=e[t].substring(7);try{return decodeURIComponent(n)}catch(e){return n}}}catch(e){}return null}function $o(e){if(!e||!e.trl_ga||!Do.test(e.trl_ga))return!1;if(!Vo())return!1;try{var t=document.cookie||"",n=Wo();if(null!==n&&n!==e.trl_ga)return!0;
2if(null===n&&/(^|; )trl_ga_/.test(t))return!0;var r=Ho(),o="; path=/; SameSite=Lax; max-age=63072000"+(r?"; domain=."+r:"");for(var i in null===n&&(document.cookie="trl_ga="+e.trl_ga+o),e.streams||{}){var a=e.streams[i];Go.test(i)&&("string"==typeof a&&Do.test(a)&&-1===t.indexOf(i+"=")&&(document.cookie=i+"="+a+o))}return!0}catch(e){return!1}}function zo(){return Fo().then((function(e){if(!e)return null;if($o(e))return null;if(null!==Wo())return null;var t=null;if(e.pair&&e.pair.cid)t=e.pair.cid;else if("string"==typeof e.trl_ga&&e.trl_ga){var n=e.trl_ga.split(".");n.length>=4&&(t=n.slice(2,4).join("."))}return"string"==typeof t&&/^\d+\.\d+$/.test(t)?t:null})).catch((function(){return null}))}var Jo={"LS-79253243-8":{api:!0},"LS-31308308-8":{api:!0},"LS-26440689-3":{api:!0},"LS-85934501-8":{api:!0,inject:!0},"LS-35079582-3":{api:!0,inject:!0},"LS-88456208-5":{api:!0,inject:!0},"LS-23547418-7":{api:!0,inject:!0},"LS-65150776-1":{api:!0,inject:!0},"LS-33282502-7":{api:!0,inject:!0},"LS-79428006-0":{api:!0,inject:!0},"LS-29194366-4":{api:!0},"LS-59097129-6":{api:!0},"LS-72102329-8":{api:!0},"LS-70801101-0":{api:!0}},qo={"LS-13450663-1":{fp:!1},"LS-49181006-2":{fp:!1},"LS-94683358-1":{fp:!1},"LS-90633482-8":{fp:!1},"LS-43527816-0":{fp:!1},"LS-97779651-6":{fp:!1},"LS-30464382-3":{fp:!1}};function Ko(){return new Promise((function(e){var t,n,r,o,i=!1,a=0,l=function(t){!0===t&&(i=!0),++a>=2&&e(i)};(t=document.createElement("div")).innerHTML=" ",t.className="pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links ad-text adSense adBlock adContent adBanner",t.style.position="absolute",t.style.left="-999px",t.style.top="-999px",t.style.width="1px",t.style.height="1px",document.body.appendChild(t),setTimeout((function(){var e=0===t.offsetHeight||0===t.offsetWidth||0===t.clientHeight||"none"===window.getComputedStyle(t).display||"hidden"===window.getComputedStyle(t).visibility;document.body.removeChild(t),l(e)}),100),n=["canRunAds","isAdBlockActive","ABDetector","canRunAdvertising","google_ad_status"],r=["adBlockEnabled"],(o=document.createElement("div")).innerHTML=" ",o.className="adsbox",document.body.appendChild(o),setTimeout((function(){for(var e=!1,t=0;t<n.length;t++)if(void 0!==window[n[t]]){console.log("AdBlocker detected: ".concat(n[t]," is defined")),e=!0;break}for(var i=0;i<r.length;i++)try{if(!0===window[r[i]]){console.log("AdBlocker detected: ".concat(r[i]," is true")),e=!0;break}}catch(e){}0!==o.offsetHeight&&0!==o.clientHeight||(e=!0),document.body.removeChild(o),l(e)}),100)}))}function Xo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(_i&&console.log("searchKnowledge",{item:e,recursionDepth:t}),t>=10)return[!1,null];if(!e)return[!1,null];if("consent"===e[0])return[!0,"consent"];if("event"===e[0])return[!0,"event"];if("object"===br(e)&&!Array.isArray(e)){var n="string"==typeof e.event?e.event:null,r=n?n.toLowerCase():null;if(r&&-1!==Dr.indexOf(r))return[!0,"ecommerce"];if(e.ecommerce&&"object"===br(e.ecommerce))return[!0,"ecommerce"];if(e.transaction_id||e.transactionId)return[!0,"ecommerce"];if(Array.isArray(e.products)||Array.isArray(e.transactionProducts))return[!0,"ecommerce"]}if("object"===br(e))for(var o,i=Object.keys(e),a=function(){var n=i[l],r=n.toLowerCase().replace(/[^a-z0-9]/g,"");if(Pr.some((function(e){return r.includes(e)})))return{v:[!0,"contact-info"]};if("object"===br(e[n])){var o=yr(Xo(e[n],t+1),2),a=o[0],c=o[1];if(a)return{v:[a,c]}}},l=0;l<i.length;l++)if(o=a())return o.v;return[!1,null]}function Zo(e){try{return JSON.stringify(e),!0}catch(e){return!1}}function Qo(e,t){var n=br(e);if("bigint"===n)return!1;if(null===e||"object"!==n)return!0;var r=t.get(e);if(void 0!==r)return"pending"!==r&&r;t.set(e,"pending");var o=!1;try{if("function"==typeof e.toJSON)JSON.stringify(e),o=!0;else if(Array.isArray(e)){o=!0;for(var i=0;i<e.length;i++){var a=e[i],l=br(a);if("function"!==l&&"undefined"!==l&&"symbol"!==l&&!Qo(a,t)){o=!1;break}}}else{o=!0;for(var c=Object.keys(e),u=0;u<c.length;u++){var s=e[c[u]],d=br(s);if("function"!==d&&"undefined"!==d&&"symbol"!==d&&!Qo(s,t)){o=!1;break}}}}catch(e){o=!1}return t.set(e,o),o}function Yo(e){if(!e)return e;try{return JSON.parse(e)}catch(t){return e}}function ei(e,t){if(null===e||"object"!==br(e))return!0;
2if(Object.keys(e).length>100)return!1;var n=Gr()&&t;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&(n?Qo(e[r],t):Zo(e[r])))return!0;return!1}function ti(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new WeakSet,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new WeakMap;if(!(t>n)){if(null===e||"object"!==br(e))return e;if(!r.has(e)){r.add(e);var i=Array.isArray(e)?[]:{},a=!1;for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&ei(e[l],o)&&(i[l]=ti(e[l],t+1,n,r,o),a=!0);return a?i:void 0}}}function ni(e){try{var t=ti(e);return JSON.stringify(t)}catch(e){return null}}var ri=new WeakMap,oi=new WeakMap;function ii(e){if(!Gr()||null===e||"object"!==br(e))return Xo(e,0);if(oi.has(e))return oi.get(e);var t=Xo(e,0);return oi.set(e,t),t}function ai(e,t,n){var r,o=void 0!==n?n:ni(e);if(!o)return null;if(o.length<=t)return e;try{r=JSON.parse(o)}catch(e){return null}var i,a=null,l=null,c=0,u=vr(Tr);try{for(u.s();!(i=u.n()).done;){for(var s=i.value,d=r,f=0;f<s.length-1;f++){if(!d||"object"!==br(d)){d=null;break}d=d[s[f]]}var _=s[s.length-1];if(d&&Array.isArray(d[_])&&d[_].length>0){a=d,l=_,c=d[_].length;break}}}catch(e){u.e(e)}finally{u.f()}if(!a)return null;a[l]=[];var p=ni(r);return!p||p.length>t?null:(_i&&console.warn("[parseDataLayer] truncated ecommerce items",{droppedItems:c,finalSize:p.length}),r)}function li(e){var t,n,r,o,i,a,l,c,u,s,d,f,_,p,h=[],g=["ucData","uc_gcm","CookieConsent","cookiebot","cookie_consent","_gaConsent"];if((_i&&console.log("[Shopify Local Storage]","undefined"==typeof window?"undefined":br(window),"undefined"==typeof browser?"undefined":br(browser),br(null===(t=window)||void 0===t?void 0:t.browser),br(null===(n=window)||void 0===n?void 0:n.shopifyBrowser)),void 0!==(null===(r=window)||void 0===r?void 0:r.shopifyBrowser))&&(_i&&console.log(" -- ",br(null===(c=window)||void 0===c?void 0:c.shopifyBrowser.localStorage)),null!==(u=window)&&void 0!==u&&u.shopifyBrowser.localStorage)){var v=g.map((function(e){return window.shopifyBrowser.localStorage.getItem(e).then((function(t){return t?(_i&&console.log(" -- Shopify localStorage works (".concat(e,"):"),t),{key:e,value:Yo(t)}):null})).catch((function(t){return _i&&console.error(" -- Shopify localStorage error (".concat(e,"):"),t),null}))}));Promise.all(v).then((function(e){e.forEach((function(e){e&&h.push(hr({},e.key,e.value))}))}))}(_i&&console.log("[Shopify Init]",br(null===(o=window)||void 0===o?void 0:o.shopifyInit)),void 0!==(null===(i=window)||void 0===i?void 0:i.shopifyInit))&&(_i&&console.log(" -- ",br(null===(s=window)||void 0===s?void 0:s.shopifyInit.customerPrivacy)),null!==(d=window)&&void 0!==d&&d.shopifyInit&&null!==(f=window)&&void 0!==f&&f.shopifyInit.customerPrivacy&&(_i&&console.log("[Shopify customerPrivacy]",null===(_=window)||void 0===_?void 0:_.shopifyInit.customerPrivacy),h.push({shopifyCustomerPrivacy:null===(p=window)||void 0===p?void 0:p.shopifyInit.customerPrivacy})));if(_i&&console.log("[Local Storage]","undefined"==typeof window?"undefined":br(window),"undefined"==typeof localStorage?"undefined":br(localStorage),br(null===(a=window)||void 0===a?void 0:a.localStorage)),null!==(l=window)&&void 0!==l&&l.localStorage){var y,m=vr(g);try{for(m.s();!(y=m.n()).done;){var w=y.value;try{var b=window.localStorage.getItem(w);b&&(_i&&console.log(" -- localStorage works (".concat(w,"):"),b),h.push(hr({},w,Yo(b))))}catch(e){_i&&console.error(" -- localStorage error (".concat(w,"):"),e)}}}catch(e){m.e(e)}finally{m.f()}}if(!e)return h;for(var S=new Map,k=[],C=0;C<e.length;C++){var A=e[C],O=yr(ii(A),2),E=O[0],I=O[1];if(E)if("ecommerce"!==I)k.push({item:A,knowledgeType:I});else{var x=A&&"object"===br(A)&&"string"==typeof A.event?A.event:null,P=x?x.toLowerCase():"__anon_".concat(C);S.set(P,A)}}var G,D=Array.from(S.entries()).sort((function(e,t){var n,r,o=yr(e,1)[0],i=yr(t,1)[0];return(null!==(n=jr[o])&&void 0!==n?n:99)-(null!==(r=jr[i])&&void 0!==r?r:99)})).map((function(e){return yr(e,2)[1]})),j=0,T=new Set,L=function(e){if(!Gr()){var t=ni(e);if(!t)return;if(t.length>3500){var n=ai(e,3500);if(!n)return;if(!(t=ni(e=n)))return}return j+t.length>
26e3?void(_i&&console.warn("[parseDataLayer] global knowledge cap reached, skipping item",{size:t.length,used:j,cap:6e3})):(j+=t.length,void h.push(ti(e)))}var r=function(e){var t=function(){try{var t=ti(e);return{sanitized:t,serialized:JSON.stringify(t)}}catch(e){return{sanitized:void 0,serialized:null}}};if(!Gr()||null===e||"object"!==br(e))return t();var n=ri.get(e);return void 0===n&&(n=t(),ri.set(e,n)),n}(e),o=r.sanitized,i=r.serialized;if(i){if(i.length>3500){var a=ai(e,3500,i);if(!a)return;if(o=ti(a),!(i=ni(a)))return}if(j+i.length>6e3)_i&&console.warn("[parseDataLayer] global knowledge cap reached, skipping item",{size:i.length,used:j,cap:6e3});else{j+=i.length;var l=o;T.has(l)&&(l=ti(e)),T.add(l),h.push(l)}}},N=vr(D);try{for(N.s();!(G=N.n()).done;){L(G.value)}}catch(e){N.e(e)}finally{N.f()}for(var F=0,M=k;F<M.length;F++){var R=M[F],B=R.item;if("consent"===R.knowledgeType){var U=h.findIndex((function(e){return e&&"consent"===e[0]}));if(U>-1){B[1]&&"default"!==B[1]&&(h[U]=B);continue}}L(B)}return h}var ci=null,ui=null;function si(e,t){Nr>0||yr(Xo(t),1)[0]&&(clearTimeout(ui),ui=setTimeout((function(){yi(["knowledge"])}),1e3))}var di=0,fi=0,_i=!1,pi=!1,hi=!1,gi=!1,vi=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),hr(e=sr(this,t),"payload",{}),hr(e,"pendingEvents",[]),hr(e,"_hasInteraction",!1),hr(e,"state",{trlId:null,shouldWaitForConfig:null,hasAPIConfig:null,isInitDone:!1,inject:!1,data:null,visitorHash:null,query:[],render:0,url:null,ga4:null,ga4clid:null,adBlockDetected:null,fp:null,isDomainValidated:!1,ga4V2Active:!1,ga4V2ServerOnly:!1,ga4V2ConfigPartial:null,domain:null,_bd:void 0,_pf:void 0}),window.trlApp=e,e._customPixelChannelId=null,e._handleCustomPixelMessage=function(t){return e.onCustomPixelMessage(t)},e._handleGa4Message=function(t){return e.onGa4Message(t)},e._gtagWatchdog=null,e._isMounted=!1,e._lastInjectedData=null,e._collectFrames=[],e._collectFrameSeq=0,e._collectFrameHost=null,e._collectFrameRetain=void 0,e._collectFrameRetainRemote=void 0,e._setCollectFrameHost=function(t){return e._onCollectFrameHost(t)},Oo(),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fr(e,t)}(t,e),function(e,t,n){return t&&ur(e.prototype,t),n&&ur(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}
2(t,[{key:"computeFp",value:function(){var e=this;(function(){try{var e=function(e){for(var t=5381,n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n),t&=t;return(t>>>0).toString(16).padStart(16,"0")};try{var t=function(){try{var t=document.createElement("canvas");t.width=400,t.height=200;var n=t.getContext("2d");if(!n)return null;var r=n.createLinearGradient(0,0,400,200);return r.addColorStop(0,"#ff6600"),r.addColorStop(.5,"#0066ff"),r.addColorStop(1,"#00ff66"),n.fillStyle=r,n.fillRect(0,0,400,200),n.textBaseline="top",n.font="18px Arial, sans-serif",n.fillStyle="#069",n.fillText("Canvas FP: ð ä½ å¥½ ÐÑÐ¸Ð²ÐµÑ Ø§ÙØ¹Ø±Ø¨ÙØ©",2,2),n.font="14px 'Times New Roman', serif",n.fillStyle="rgba(102, 204, 0, 0.7)",n.fillText("Serif test: The quick brown fox",2,24),n.beginPath(),n.arc(350,50,40,0,2*Math.PI),n.fillStyle="rgba(255, 0, 128, 0.5)",n.fill(),n.beginPath(),n.moveTo(10,100),n.bezierCurveTo(50,50,150,150,200,100),n.strokeStyle="#333",n.lineWidth=2.5,n.stroke(),n.shadowColor="rgba(0, 0, 0, 0.5)",n.shadowBlur=10,n.shadowOffsetX=5,n.shadowOffsetY=5,n.fillStyle="#ff0066",n.fillRect(220,80,80,50),n.shadowColor="transparent",n.globalCompositeOperation="multiply",n.fillStyle="#00ffff",n.beginPath(),n.ellipse(100,150,60,30,0,0,2*Math.PI),n.fill(),e(t.toDataURL())}catch(e){return null}}(),n=function(){try{var t=document.createElement("canvas"),n=t.getContext("webgl2")||t.getContext("webgl")||t.getContext("experimental-webgl");if(!n)return null;var r="undefined"!=typeof WebGL2RenderingContext&&n instanceof WebGL2RenderingContext,o=n.getExtension("WEBGL_debug_renderer_info"),i={vendor:o?n.getParameter(o.UNMASKED_VENDOR_WEBGL):null,renderer:o?n.getParameter(o.UNMASKED_RENDERER_WEBGL):null,version:n.getParameter(n.VERSION),shadingLanguage:n.getParameter(n.SHADING_LANGUAGE_VERSION),maxTextureSize:n.getParameter(n.MAX_TEXTURE_SIZE),maxRenderbufferSize:n.getParameter(n.MAX_RENDERBUFFER_SIZE),maxViewportDims:Array.from(n.getParameter(n.MAX_VIEWPORT_DIMS)),maxVertexAttribs:n.getParameter(n.MAX_VERTEX_ATTRIBS),maxVertexUniformVectors:n.getParameter(n.MAX_VERTEX_UNIFORM_VECTORS),maxFragmentUniformVectors:n.getParameter(n.MAX_FRAGMENT_UNIFORM_VECTORS),aliasedLineWidthRange:Array.from(n.getParameter(n.ALIASED_LINE_WIDTH_RANGE)),aliasedPointSizeRange:Array.from(n.getParameter(n.ALIASED_POINT_SIZE_RANGE)),extensions:(n.getSupportedExtensions()||[]).sort()};return r&&(i.max3DTextureSize=n.getParameter(n.MAX_3D_TEXTURE_SIZE),i.maxDrawBuffers=n.getParameter(n.MAX_DRAW_BUFFERS)),e(JSON.stringify(i))}catch(e){return null}}();return t&&n?function(){try{var t=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(!t)return Promise.resolve(null);var n=new t(1,48e3,48e3),r=n.createOscillator();r.type="triangle",r.frequency.value=1e4;var o=n.createOscillator();o.type="sine",o.frequency.value=1e3;var i=n.createGain();i.gain.value=.5;var a=n.createGain();a.gain.value=.3;var l=n.createBiquadFilter();l.type="bandpass",l.frequency.value=5e3,l.Q.value=1;var c=n.createDynamicsCompressor();c.threshold.value=-50,c.knee.value=40,c.ratio.value=12,c.attack.value=0,c.release.value=.25;var u=n.createGain();return u.gain.value=.8,r.connect(i),o.connect(a),i.connect(l),a.connect(l),l.connect(c),c.connect(u),u.connect(n.destination),r.start(0),o.start(0),n.startRendering().then((function(t){var n=t.getChannelData(0),r=Math.floor(n.length/2)-2e3,o=n.slice(r,r+4e3),i=Array.from(o,(function(e){return Math.round(1e5*e)/1e5})).join(",");return e(i)})).catch((function(){return null}))}catch(e){return Promise.resolve(null)}}().then((function(r){if(!r)return Promise.resolve(null);var o=[t,r,n].join("|");return e(o)})).catch((function(){return Promise.resolve(null)})):Promise.resolve(null)}catch(e){return Promise.resolve(null)}}catch(e){return Promise.resolve(null)}})().then((function(t){_i&&console.log("[FP]",t),e.setState({fp:t})})).catch((function(){}))}},{key:"computeBotProbe",value:function(){var e=0;try{navigator.webdriver&&(e|=1)}catch(e){}try{!window.chrome&&/Chrome/.test(navigator.userAgent)&&(e|=2)}catch(e){}try{navigator.languages&&0!==navigator.languages.length||(e|=4)}catch(e){}this.setState({_bd:e})}},{key:"computePerfProbe",value:function(){var e=0;try{var t=performance.getEntriesByType("navigation");if(t&&t[0]){var n=t[0];n.domInteractive>0&&(e|=1),n.domContentLoadedEventEnd>0&&(e|=2),n.connectEnd>n.connectStart&&(e|=4),n.responseStart>n.requestStart&&(e|=8),n.transferSize>0&&(e|=16)}}catch(e){}this.setState({_pf:e})}},{key:"attachInteractionListeners",value:function(){var e=this,t=function(){e._hasInteraction=!0;try{document.removeEventListener("click",t,!0)}catch(e){}try{document.removeEventListener("touchstart",t,!0)}catch(e){}try{document.removeEventListener("keydown",t,!0)}catch(e){}try{document.removeEventListener("scroll",t,!0)}catch(e){}};try{document.addEventListener("click",t,!0)}catch(e){}try{document.addEventListener("touchstart",t,!0)}catch(e){}try{document.addEventListener("keydown",t,!0)}catch(e){}try{document.addEventListener("scroll",t,!0)}catch(e){}}},{key:"parseDomainConfig",value:function(){var e=window.tlq;if(_i&&console.log("[Parse Domain Config] src:",e?e.src:null),e&&e.src){var t=new URL(e.src);"1"===t.searchParams.get("dval")&&(hi=!0);var n=t.searchParams.get("p");if(n){if(/^\/[a-z0-9_-]{1,32}$/.test(n))return _i&&console.log("[Parse Domain Config] pathMode active, prefix:",n),{pathMode:!0,pathPrefix:n,customDomain:n,fallbackDomain:null};_i&&console.log("[Parse Domain Config] ?p= ignored, invalid value:",n)}var r=t.searchParams.get("d");if(r){var o,i=r.trim().replace(/^(https?:\/\/)?/,""),a=i.indexOf("/"),l=null;if(a>-1?(o=i.substring(0,a).trim(),l=i.substring(a+1).trim().replace(/^(https?:\/\/)?/,"")||null):o=i,!o)return null;var c="https://".concat(o),u=null;return l&&(u=l.includes(".")?"https://".concat(l):"https://api.".concat(l,".tracklution.com")),_i&&console.log("[Parse Domain Config] customDomain:",c,"fallbackDomain:",u),{pathMode:!1,customDomain:c,fallbackDomain:u}}}return null}},{key:"componentDidMount",value:function(){var e=this;this._isMounted=!0,window.addEventListener("message",this._handleCustomPixelMessage),window.addEventListener("message",this._handleGa4Message);var t=Fe.a.parse(window.location.search),n=t.u?t.u:null,r=window.tlq;
2_i=r&&r.pd||t.debug&&"1"===t.debug,qe=!!_i,pi=r&&!1===r.src;var o=!r||!(!1===r.tools),i=r?r.version:null;this.setState({visitorHash:n,query:t,version:i,isDomainValidated:!1}),o&&this.initTools(),this.detectAdBlockStatus();try{this.computeBotProbe()}catch(e){}try{this.computePerfProbe()}catch(e){}try{this.attachInteractionListeners()}catch(e){}var a=this.parseDomainConfig();if(a&&a.pathMode){gi=!0;var l=a.pathPrefix;return this.setState({domain:l,isDomainValidated:!0}),void this.processPendingEvents()}var c=a?a.customDomain:null,u=a&&a.fallbackDomain?a.fallbackDomain:r&&r.src?e.extractHostname(r.src):"https://tracking.leadspark.io",s=u;if(c)return _i&&console.log("[Domain Validation] Testing custom domain:",c),void this.validateDomain(c).then((function(t){t?(s=c,_i&&console.log("[Domain Validation] Using custom domain:",c)):_i&&console.log("[Domain Validation] Custom domain failed, using fallback:",u),e.setState({domain:s,isDomainValidated:!0}),e.processPendingEvents()}));this.setState({domain:s,isDomainValidated:!0}),this.processPendingEvents()}},{key:"validateDomain",value:function(e){if(hi||gi)return Promise.resolve(!0);var t="".concat(e,"/js/script-dynamic.js");return new Promise((function(n){var r=new AbortController,o=!1,i=function(e){o||(o=!0,n(e))},a=setTimeout((function(){_i&&console.log("[Domain Validation] Timeout for:",e),r.abort(),i(!1)}),3e3);fetch(t,{method:"HEAD",signal:r.signal,mode:"no-cors"}).then((function(){clearTimeout(a),_i&&console.log("[Domain Validation] Success for:",e),i(!0)})).catch((function(t){clearTimeout(a),"AbortError"===t.name?_i&&console.log("[Domain Validation] Aborted for:",e):_i&&console.log("[Domain Validation] Error for:",e,t.message),i(!1)}))}))}},{key:"detectAdBlockStatus",value:function(){var e=this;try{if(document.body)Ko().then((function(t){_i&&console.log("[AdBlock Detection]",t),e.setState({adBlockDetected:t})})).catch((function(t){_i&&console.error("[AdBlock Detection Error]",t),e.setState({adBlockDetected:!1})}));else{this.setState({adBlockDetected:!1});var t=setInterval((function(){document.body&&(clearInterval(t),Ko().then((function(t){_i&&console.log("[AdBlock Detection]",t),e.setState({adBlockDetected:t})})).catch((function(t){_i&&console.error("[AdBlock Detection Error]",t),e.setState({adBlockDetected:!1})})))}),250);setTimeout((function(){return clearInterval(t)}),5e3)}}catch(e){_i&&console.error("[AdBlock Detection Fatal Error]",e),this.setState({adBlockDetected:!1})}}},{key:"initTools",value:function(){window.dataLayer=window.dataLayer||[],new DataLayerHelper(window.dataLayer,si,{listenToPast:!0}),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,n=new Ue,r=n.getAll(),o=Lr.reduce((function(e,t){return pr(pr({},e),{},hr({},t,r[t]))}),{});setInterval((function(){var t=n.getAll(),r=Lr.reduce((function(e,n){return pr(pr({},e),{},hr({},n,t[n]))}),{});if(ni(r)!==ni(o))try{e({oldValue:o,newValue:r})}finally{o=r}}),t)}((function(e){e.oldValue,e.newValue;yi(["knowledge-cookies"])}),1e3)}},{key:"shouldComponentUpdate",value:function(e,t){var n=this.props,r=this.state,o=!!t.trlId;return _i&&console.log("\n\n[Should Component Update]",{currentProps:n,nextProps:e,currentState:r,nextState:t},o),!0}},{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.shouldWaitForConfig,r=t.hasAPIConfig,o=t.isInitDone;fi++,_i&&console.log("[Component Did Update]",fi,{shouldWaitForConfig:n}),n&&!o&&setTimeout((function(){e.mountSettings(r)}))}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,window.removeEventListener("message",this._handleCustomPixelMessage),window.removeEventListener("message",this._handleGa4Message),this._gtagWatchdog&&(clearTimeout(this._gtagWatchdog),this._gtagWatchdog=null),this._releaseAllCollectFrames()}},{key:"mountSettings",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(_i&&console.log("mountSettings",t),t){if(this._mountSettingsFetching)return;return this._mountSettingsFetching=!0,void this.fetchAPIConfig().then((function(t){if(e._isMounted){var n=(t=t||{}).ga4||null,r=!0===t.ga4_v2_enabled;Br(!0===t.ga4_adopt_conflict),nt(!0===t.ga4_em_bridge),rn(pr(pr(pr(pr({enabled:!1!==t.collect_strip},"number"==typeof t.collect_items_max&&t.collect_items_max>0?{itemsMax:t.collect_items_max}:{}),"number"==typeof t.collect_items_budget_list&&t.collect_items_budget_list>0?{budgetList:t.collect_items_budget_list}:{}),"number"==typeof t.collect_items_budget_cart&&t.collect_items_budget_cart>0?{budgetCart:t.collect_items_budget_cart}:{}),Array.isArray(t.collect_items_extra_keys)?{extraKeys:t.collect_items_extra_keys.filter((function(e){return"string"==typeof e&&""!==e})).slice(0,100)}:{}));var o=ln(t);un(o),e.state.trlId&&fn(e.state.trlId,o),e._collectFrameRetainRemote=!1!==t.collect_frame_retain&&void 0;var i=e.state.inject||e.canReachParentWindow();if(r&&i){e.bootstrapGA4Stub();try{gt()}catch(e){}try{"undefined"!=typeof performance&&"function"==typeof performance.setResourceTimingBufferSize&&performance.setResourceTimingBufferSize(1e3)}catch(e){}window.__trlGa4ConfigPartial=t.config_partial||{};try{vt()}catch(e){}!0===t.ga4_v2_server_consent&&e.state.inject&&xo()&&(window.__trlNoGa4ConsentHold=!0),yt(t.consent_default),ft();
2var a=function(r){if(We("js",new Date),n){if(window.__trlGa4State=window.__trlGa4State||{},window.__trlGa4State.appliedStreams=window.__trlGa4State.appliedStreams||{},window.__trlGa4State.appliedByMeasurementId=window.__trlGa4State.appliedByMeasurementId||{},!window.__trlGa4State.appliedByMeasurementId[n]){var o=e.resolveGa4ClientId(n),i=Object.assign({},t.config_partial||{});i.cookie_prefix||(i.cookie_prefix="trl"),o.passToConfig&&o.clientId&&(i.client_id=o.clientId),r&&!i.client_id&&(i.client_id=r),window.__trlGa4State.appliedByMeasurementId[n]=!0,We("config",n,i)}Eo();var a="__trlGa4ScriptLoaded_"+n;if(!window[a]){window[a]=!0;var l=t&&!0===t.first_party_pixels,c=gi?e.state.domain:"",u="&l=".concat("trlDataLayer"),s="https://www.googletagmanager.com/gtag/js?id=".concat(n).concat(u),d="https://www.googletagmanager.com/gtag/destination?id=".concat(n).concat(u),f=l&&c?["".concat(c,"/gtag/js?id=").concat(n).concat(u),s,d]:[s,d],_=document.head||document.body||document.documentElement,p=e;lr(_,f,{onError:function(e,t){t&&eo(n)},onLoad:function(e){e===d&&(window.__trlGa4LoaderFallback=window.__trlGa4LoaderFallback||{},window.__trlGa4LoaderFallback[n]="destination"),setTimeout((function(){$r(n),p.resumeGa4IdentityCatchup()}),0)}})}e.installGtagWatchdog(n)}n||Eo()},l=!0===t.ga4_v2_sandbox_persistence&&e.state.inject&&xo();l&&(jo=!0);var c=l&&"denied"!==St("analytics_storage");return c?Promise.race([zo(),new Promise((function(e){setTimeout((function(){return e(null)}),300)}))]).then((function(t){try{a(t),e.startGa4IdentityCatchup(n)}catch(e){_i&&console.log("sandbox persistence gtag tail failed",e)}})):a(null),e.installSpaDetector(),e.setState({ga4:n,ga4V2Active:!0,ga4V2ConfigPartial:t.config_partial||{},isInitDone:!0,hasAPIConfig:!1}),setTimeout((function(){return e.fire()})),void(c||e.startGa4IdentityCatchup(n))}if(r)return e.installSpaDetector(),e.setState({ga4:n,ga4V2Active:!0,ga4V2ServerOnly:!0,isInitDone:!0,hasAPIConfig:!1}),void setTimeout((function(){return e.fire()}));var u={hasAPIConfig:!1};(n||e.state.ga4===n)&&(u.ga4=n),_i&&console.log("newSettingsFromAPI",u,n),e.setState(u)}})).catch((function(e){_i&&console.error("[mountSettings] fetchAPIConfig handler error",e)})).finally((function(){e._mountSettingsFetching=!1}))}var n=this.state.ga4,r={isInitDone:!0};Promise.all([this.getGa4Clid(n)]).then((function(t){var n=yr(t,1)[0];n&&(r.ga4clid=n),_i&&console.log("newSettings",r),e.setState(r),setTimeout((function(){e.fire()}))}))}},{key:"bootstrapGA4Stub",value:function(){Fr()}},{key:"readCookieJar",value:function(){try{for(var e=document.cookie?document.cookie.split(";"):[],t={},n=0;n<e.length;n++){var r=e[n].indexOf("=");if(!(r<0))t[e[n].substring(0,r).trim()]=decodeURIComponent(e[n].substring(r+1))}return t}catch(e){return{}}}},{key:"extractClientIdFromGa",value:function(e){if("string"!=typeof e||!e)return null;var t=e.split(".");return t.length<4?null:t.slice(2,4).join(".")}},{key:"_parseGa4StreamSessionId",value:function(e){if("string"!=typeof e||!e)return null;if(-1!==e.indexOf("$")){var t=e.match(/s(\d+)/);return t&&t[1]?t[1]:null}var n=e.split(".");return n.length>=3?n[2]:null}},{key:"_parseGa4StreamLastActivity",value:function(e){if("string"!=typeof e||!e)return null;if(-1!==e.indexOf("$")){var t=e.match(/\$t(\d+)/);return t&&t[1]?this._ga4EpochOf(t[1]):null}var n=e.split(".");return n.length>=6?this._ga4EpochOf(n[5]):null}},{key:"extractSessionIdFromGaStream",value:function(e,t,n){return this._extractSessionStateFromGaStream(e,t,n).sessionId}},{key:"_extractSessionStateFromGaStream",value:function(e,t,n){var r=this,o=function(e){var t=r._parseGa4StreamSessionId(e);return t?{sessionId:t,lastActivityEpoch:r._parseGa4StreamLastActivity(e)}:null};return n&&(o(e[t+n.replace(/^G-/i,"")])||o(e[t+n]))||{sessionId:null,lastActivityEpoch:null}}},{key:"resolveGa4ClientId",value:function(e){var t=this.readCookieJar();if(t.trl_ga){var n=this.extractClientIdFromGa(t.trl_ga),r=this._extractSessionStateFromGaStream(t,"trl_ga_",e);return{source:"trl_ga",clientId:n,sessionId:r.sessionId,sessionLastActivityEpoch:r.lastActivityEpoch,passToConfig:!1}}return t._ga?{source:"ga_migrate",clientId:this.extractClientIdFromGa(t._ga),sessionId:null,
2sessionLastActivityEpoch:null,passToConfig:!0}:{source:"fresh",clientId:null,sessionId:null,sessionLastActivityEpoch:null,passToConfig:!1}}},{key:"_ga4EpochOf",value:function(e){if("string"!=typeof e||!/^\d+$/.test(e))return null;var t=parseInt(e,10);return t<1420070400||t>Math.floor(Date.now()/1e3)+172800?null:t}},{key:"readGa4Clid",value:function(e){var t=this.resolveGa4ClientId(this.state&&this.state.ga4);if(!t.clientId||!t.sessionId)return null;if("number"==typeof e&&null!==t.sessionLastActivityEpoch&&Date.now()/1e3-t.sessionLastActivityEpoch>e)return null;var n=this._ga4EpochOf(t.clientId.split(".")[1]),r=this._ga4EpochOf(t.sessionId);return null!==n&&null!==r&&r<n-10?null:t.clientId+"|"+t.sessionId}},{key:"canReachParentWindow",value:function(){try{return!!window.parent&&(window.parent.postMessage("__trl_probe","*"),!0)}catch(e){return!1}}},{key:"installSpaDetector",value:function(){if(!window.__trlSpaDetectorInstalled){window.__trlSpaDetectorInstalled=!0;var e=history.pushState,t=history.replaceState,n=function(){window.__trlSpaDetected=!0};try{history.pushState=function(){return n(),e.apply(this,arguments)},history.replaceState=function(){return n(),t.apply(this,arguments)}}catch(e){}}}},{key:"installGtagWatchdog",value:function(e){window.__trlGtagWatchdogInstalled||(window.__trlGtagWatchdogInstalled=!0,this._gtagWatchdog&&clearTimeout(this._gtagWatchdog),this._gtagWatchdog=setTimeout((function(){(e?Ur(e):!!window.google_tag_manager)||(window.__trlGtagBlocked=!0,_i&&console.warn("[gtag watchdog] gtag.js appears blocked â promoting to MP-only."))}),6e4))}},{key:"expectedMessageOrigin",value:function(){if(gi)try{return window.location.origin}catch(e){return null}return this.state.domain}},{key:"onGa4Message",value:function(e){var t=e&&e.data;if(t&&"trl:ga4"===t.type&&2===t.v&&t.payload){var n=this.expectedMessageOrigin();if(n&&e.origin===n){if("function"==typeof window.__trlGa4Apply)try{window.__trlGa4Apply(t.payload)}catch(e){_i&&console.error("[trl:ga4] apply error",e)}}else _i&&console.log("[trl:ga4] Origin mismatch:",e.origin,"!==",n)}}},{key:"getGa4Clid",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((function(n){if(!e)return n(null);if(t)_i&&console.log("getGa4Clid via emitter",e),We("get",e,"client_id",(function(t){We("get",e,"session_id",(function(e){_i&&console.log("ga4clid","".concat(t,"|").concat(e)),n("".concat(t,"|").concat(e))}))}));else{if(void 0===window.gtag)return n(null);_i&&console.log("window.gtag",e),window.gtag("get",e,"client_id",(function(t){window.gtag("get",e,"session_id",(function(e){_i&&console.log("ga4clid","".concat(t,"|").concat(e)),n("".concat(t,"|").concat(e))}))}))}setTimeout((function(){_i&&console.log("ga4clid FALLBACK"),n(null)}),500)}))}},{key:"_isValidGa4Clid",value:function(e){if("string"!=typeof e||-1===e.indexOf("|"))return!1;var t=e.split("|");if(2!==t.length)return!1;var n=t[0],r=t[1];return!(!n||!r)&&("null"!==n&&"undefined"!==n&&"null"!==r&&"undefined"!==r)}},{key:"startGa4IdentityCatchup",value:function(e){this._ga4IdSyncStarted||(this._ga4IdSyncStarted=!0,e&&(this._ga4IdCatchupMid=e,this.installGa4IdentityUnloadFlush(),this._runGa4IdentityPoll()))}},{key:"resumeGa4IdentityCatchup",value:function(){this._ga4IdSyncStarted&&this._ga4IdCatchupMid&&(this._ga4IdSyncDone||this._ga4CapturedId||this._ga4IdShipped||this._ga4IdPollActive||this._runGa4IdentityPoll())}},{key:"_runGa4IdentityPoll",value:function(){var e=this,t=this._ga4IdCatchupMid,n=0;this._ga4IdPollActive=!0;var r=function(){if(!e._ga4IdSyncDone&&!e._ga4CapturedId)return e._ga4IdShipped?(e._ga4IdSyncDone=!0,void(e._ga4IdPollActive=!1)):void e.getGa4Clid(t,!0).then((function(t){if(e._ga4IdSyncDone||e._ga4CapturedId)e._ga4IdPollActive=!1;else{if(e._isValidGa4Clid(t))return e._ga4CapturedId=t,e._isMounted&&e.state.ga4clid!==t&&e.setState({ga4clid:t}),e.maybePersistSandboxIdentity(t),e._tryFlushGa4IdentitySync(!1),void(e._ga4IdPollActive=!1);++n<10?setTimeout(r,1e3):e._ga4IdPollActive=!1}}));e._ga4IdPollActive=!1};r()}},{key:"_tryFlushGa4IdentitySync",value:function(e){if(!this._ga4IdSyncDone)if(this._ga4IdShipped)this._ga4IdSyncDone=!0;else{var t=this._ga4CapturedId||(e?this.readGa4Clid(1800):null);if(this._isValidGa4Clid(t)&&this._ga4IdShippedEmpty){var n=this.buildGa4IdentityUrl(t);if(n){this._ga4IdSyncDone=!0;try{e&&"undefined"!=typeof navigator&&"function"==typeof navigator.sendBeacon?navigator.sendBeacon(n):"function"==typeof fetch?fetch(n,{method:"GET",keepalive:!0,credentials:"omit",mode:"cors"}).catch((function(){})):"undefined"!=typeof navigator&&"function"==typeof navigator.sendBeacon&&navigator.sendBeacon(n)}catch(e){}}}}}},{key:"buildGa4IdentityUrl",value:function(e){var t,n=this.state,r=n.trlId,o=n.visitorHash,i=n.domain;if(!(r&&i&&o&&this._isValidGa4Clid(e)))return null;var a=i;if(gi)try{a=window.location.origin||i}catch(e){}return"".concat(i,"/collect/identity?")+Fe.a.stringify({k:r,u:o,ga4clid:e,entry_url:null===(t=window.location)||void 0===t?void 0:t.href,domain:a,dataSource:"browser"})}},{key:"sendGa4GtagBlockedPing",value:function(){if(this._ga4GtagBlockedPingSent)return!1;var e=this.state,t=e.trlId,n=e.visitorHash,r=e.domain;if(!t||!r)return!1;var o=r;if(gi)try{o=window.location.origin||r}catch(e){}var i=vn(r,pn((new Ue).getAll()),!1,(function(e){var r;return Fe.a.stringify({k:t,p:JSON.stringify([["knowledge"]]),u:n,entry_url:null===(r=window.location)||void 0===r?void 0:r.href,domain:o,c:JSON.stringify(e),gtag_blocked:"1"})}));try{if("function"==typeof fetch)return fetch(i.url,{method:"GET",keepalive:!0,credentials:"omit",mode:"cors"}).catch((function(){})),this._ga4GtagBlockedPingSent=!0,_i&&console.warn("[trl:ga4] Sent gtag-blocked ping:",i.url),!0}catch(e){}return!1}},{key:"installGa4IdentityUnloadFlush",value:function(){if(!this._ga4IdUnloadInstalled){this._ga4IdUnloadInstalled=!0;var e=this,t=function(){e.maybePersistSandboxIdentity(e._ga4CapturedId),e._tryFlushGa4IdentitySync(!0)};try{window.addEventListener("pagehide",t,{capture:!0}),document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&t()}),{capture:!0})}catch(e){}}}},{key:"maybePersistSandboxIdentity",value:function(e){if(jo)try{if
2("denied"===St("analytics_storage"))return void Ro();var t=Bo(this.readCookieJar())||Uo(e);t&&Mo(t)}catch(e){}}},{key:"fetchAPIConfig",value:function(){var e=this.state,t=e.trlId,n=e.domain;if(!t||!n)return new Promise((function(e){e(null)}));var r=Fe.a.stringify({k:t}),o="".concat(n,"/config?").concat(r);return new Promise((function(e){fetch(o).then((function(e){return e.json()})).then((function(t){e(t)})).catch((function(t){e(null)}))}))}},{key:"processEvent",value:function(e){var t=this.parseDomainConfig();if(t&&!t.pathMode&&!this.state.isDomainValidated)return _i&&console.log("[Queue Event] Domain not validated yet, queuing:",e),void this.pendingEvents.push(e);this.executeEvent(e)}},{key:"executeEvent",value:function(e){var t=this;if(e[0]){if("init"===e[0]){if(this.state.trlId)return;if(!e[1])return void console.error("TRL Pixel init does not have value.");var n={trlId:e[1],shouldWaitForConfig:!0,hasAPIConfig:!0};if(Jo[n.trlId]||e[2]){var r=pr(pr({},e[2]||{}),Jo[n.trlId]||{});r.domain&&(n.domain="https://"+r.domain),r.url&&(n.url=r.url),r.inject&&(n.inject=r.inject),r.ga4&&(n.ga4=r.ga4),!1===r.api&&(n.shouldWaitForConfig=!1,n.hasAPIConfig=!1)}try{var o,i=!0;if(null!=n&&n.trlId&&n.trlId in qo)i=!1!==(null===(o=qo[n.trlId])||void 0===o?void 0:o.fp);i&&this.computeFp()}catch(e){}return n.shouldWaitForConfig||(n.isInitDone=!0),_i&&console.log(" -- New Settings",n),this.setState(n),void(n.shouldWaitForConfig||setTimeout((function(){t.fire()})))}var a=e[2]&&e[2].target?e[2].target:"default",l=this.payload[a]?this.payload[a]:[];this.payload[a]=[].concat(cr(l),[Object.values(e)]),this.fire()}else console.error("TRL Pixel does not have alias.")}},{key:"processPendingEvents",value:function(){for(_i&&console.log("[Process Pending Events] Processing",this.pendingEvents.length,"events");this.pendingEvents.length>0;){var e=this.pendingEvents.shift();this.executeEvent(e)}}},{key:"extractHostname",value:function(e){var t;return((t=(t=(t=e.indexOf("//")>-1?e.split("/")[2]:e.split("/")[0]).split(":")[0]).split("?")[0]).indexOf("leadspark.io")>-1||t.indexOf("tracklution.com")>-1?"https:":window.location.protocol)+"//"+t}},{key:"fire",value:function(){var e=this;if(!this.state.isInitDone||!this.state.isDomainValidated)return null;this._customPixelChannelId=Math.random().toString(36).substring(2)+Math.random().toString(36).substring(2);var t=this.state,n=t.render,r=t.inject;clearTimeout(this.fireTimeout),this.fireTimeout=setTimeout((function(){if(clearTimeout(ui),r){for(var t=e.getUrls(),o=[],i=0;i<t.length;i++)o.push(e.renderUrl(t[i]));Promise.all(o).then((function(t){if(e._isMounted){var r=e.parseData(t).ga4,o={data:t,render:n+1};e.state.ga4V2Active||(o.ga4=r),e.setState(o)}}))}if(!r){if(void 0===e._collectFrameRetain&&(e._collectFrameRetain=e._collectFrameRetainEnabled()),e._collectFrameRetain){var a=e.getUrls();a.length&&e._enqueueCollectFrames(a)}e.setState({render:n+1})}}),200)}},{key:"_collectFrameRetainEnabled",value:function(){return("undefined"==typeof window||!window.__trlNoCollectFrameRetain)&&!1!==this._collectFrameRetainRemote}},{key:"_onCollectFrameHost",value:function(e){this._collectFrameHost=e||null,e&&this._mountPendingCollectFrames()}},{key:"_enqueueCollectFrames",value:function(e){for(var t=this,n=function(){for(;t._collectFrames.length>=8;)t._evictCollectFrameForCapacity();var n=++t._collectFrameSeq,o=document.createElement("iframe");o.height="0",o.width="0",o.style.display="none",o.style.visibility="hidden",o.addEventListener("load",(function(){return t._onCollectFrameLoad(n)})),o.src=e[r],t._collectFrames.push({k:n,el:o,mounted:!1,loadTimer:null,maxTimer:setTimeout((function(){return t._releaseCollectFrame(n)}),15e3)})},r=0;r<e.length;r++)n();this._mountPendingCollectFrames()}},{key:"_evictCollectFrameForCapacity",value:function(){for(var e=0;e<this._collectFrames.length;e++)if(this._collectFrames[e].loadTimer)return void this._releaseCollectFrame(this._collectFrames[e].k);this._releaseCollectFrame(this._collectFrames[0].k)}},{key:"_mountPendingCollectFrames",value:function(){var e=this._collectFrameHost;if(e)for(var t=0;t<this._collectFrames.length;t++){var n=this._collectFrames[t];
2n.mounted||(n.mounted=!0,e.appendChild(n.el))}}},{key:"_onCollectFrameLoad",value:function(e){for(var t=this,n=0;n<this._collectFrames.length;n++){var r=this._collectFrames[n];if(r.k===e)return void(r.loadTimer||(r.loadTimer=setTimeout((function(){return t._releaseCollectFrame(e)}),3e3)))}}},{key:"_releaseCollectFrame",value:function(e){for(var t=0;t<this._collectFrames.length;t++){var n=this._collectFrames[t];if(n.k===e)return clearTimeout(n.loadTimer),clearTimeout(n.maxTimer),this._collectFrames.splice(t,1),void(n.el.parentNode&&n.el.parentNode.removeChild(n.el))}}},{key:"_releaseAllCollectFrames",value:function(){for(;this._collectFrames.length;)this._releaseCollectFrame(this._collectFrames[0].k)}},{key:"hasOnlyPreviousKnowledge",value:function(e,t,n){return n&&1===n.length&&"knowledge"===n[0][0]&&e===t}},{key:"getUrls",value:function(){var e=this,t=this.state,n=t.trlId,r=t.visitorHash,o=t.query,i=t.domain,a=t.ga4,l=t.ga4clid,c=t.adBlockDetected,u=t.fp,s=t._bd,d=t._pf,f=t.ga4V2Active,_=t.ga4V2ServerOnly,p=new Ue,h=f&&(this.readGa4Clid(_?void 0:1800)||this._ga4CapturedId)||l,g=0;try{g=Math.round(10*(window.devicePixelRatio||0))}catch(e){}var v=this._hasInteraction?1:0,y=i;if(gi)try{y=window.location.origin||i}catch(e){}var m=[],w=_i?function(e,t){return console.warn(e,t)}:void 0,b=[],S=function(t){var l="default"===t?n:t,S=e.resolveDestinationSecurityPolicy(l);if(null===S)return 0;b.push(t);var k=S.mode>=1,C=S.phoneCc,A=li(window.dataLayer),O=ni(k?function(e,t,n){if(!Array.isArray(e))return e;for(var r=new Array(e.length),o=0;o<e.length;o++)try{r[o]=tr(e[o],t)}catch(t){r[o]=nr(e[o]),"function"==typeof n&&n("[trl] security mode: knowledge identifier hashing failed, identifiers removed",t)}return r}(A,C,w):A);if(e.hasOnlyPreviousKnowledge(O,ci,e.payload[t]))return 0;ci=O;var E=e.payload[t];if(k){var I=Lt(e.payload[t]);E=function(e,t,n){if(!Array.isArray(e))return e;for(var r=0;r<e.length;r++){var o=e[r];if(Array.isArray(o)&&(null!==(l=o[2])&&"object"===yn(l)&&!Array.isArray(l))){var i="set"===o[0]&&"ContactInfo"===o[1],a="track"===o[0];if(i||a)try{o[2]=ir(o[2],t,!0)}catch(e){o[2]=ar(o[2],!0),"function"==typeof n&&n("[trl] security mode: event identifier hashing failed, identifiers removed",e)}}}var l;return e}(null!==I?I:e.payload[t],C,w)}var x=vn(i,_n(S,p.getAll()),!(!window.dataLayer||!O),(function(i,p,m){var w,b,S,k,C,A,I;return Fe.a.stringify(pr(pr(pr({},o),pr(pr(pr(pr(pr(pr(pr({k:"default"===t?n:t,p:void 0!==m?m:JSON.stringify(E),u:r,entry_url:null===(w=window.location)||void 0===w?void 0:w.href,page_title:document.title,page_referrer:(C=l,A=document.referrer,!1===(null===(I=tn[C])||void 0===I?void 0:I.referrer)?void 0:A),screen_resolution:(null===(b=window.screen)||void 0===b?void 0:b.width)+"x"+(null===(S=window.screen)||void 0===S?void 0:S.height),language:null===(k=navigator)||void 0===k?void 0:k.language,c:JSON.stringify(i),ga4clid:h,knowledge:p?window.dataLayer&&O:void 0,domain:y,bv:"dynamic-local",ab:null!==c?c?1:0:void 0},window.__trlGtagBlocked?{gtag_blocked:"1"}:{}),window.__trlSpaDetected?{spa:"1"}:{}),window.__trlGa4Conflict?{gtag_conflict:"1"}:{}),a&&window.__trlGa4Adopted&&window.__trlGa4Adopted[a]?{gtag_adopted:"1"}:{}),window.__trlGa4GtmAppeared?{gtag_gtm_after_adopt:"1"}:{}),f&&!_?{trl_consent_owner:st()?"external":"tracklution"}:{}),{},{_trl_ch:e._customPixelChannelId,_bd:s,_pf:d,_hi:v,_dp:g})),u?{fp:u}:{}))}),void 0,E);"allowlist-no-knowledge"===x.tier&&_i?console.warn("[trl] /collect over size budget: dropped knowledge",{bytes:x.bytes}):"allowlist"===x.tier&&_i?console.warn("[trl] /collect over size budget: trimmed cookies to allowlist",{bytes:x.bytes}):"p-lossless"===x.tier&&_i?console.log("[trl] /collect over size budget: stripped zero-read payload bytes (lossless)",{bytes:x.bytes}):0===x.tier.indexOf("p-")&&_i&&console.warn("[trl] /collect over size budget: reduced event items",{tier:x.tier,bytes:x.bytes}),m.push(x.url)};for(var k in this.payload)S(k);if(f&&!_&&m.length>0){this._isValidGa4Clid(h)?this._ga4IdShipped=!0:this._ga4IdShippedEmpty=!0;var C=this;setTimeout((function(){C._tryFlushGa4IdentitySync(!1)}),0)}for(var A=0;A<b.length;A++)delete this.payload[b[A]];return m}},{key:"resolveDestinationSecurityPolicy",value:function(e){var t=this.state.trlId;if(!e||e===t)return sn();var n,r=(n=dn[e])?Zt({},n):null;if(null!==r)return r;if(sn().mode<1)return pr({},an);this._destinationPolicyLookups=this._destinationPolicyLookups||{};var o=this._destinationPolicyLookups[e]||{pending:!1,attempts:0,retryAt:0};if(this._destinationPolicyLookups[e]=o,o.pending||Date.now()<o.retryAt)return null;o.pending=!0;var i=this,a=function(t){if(t.ok)return fn(e,ln(t.data)),delete i._destinationPolicyLookups[e],void setTimeout((function(){i.fire()}));if(o.attempts+=1,o.pending=!1,o.attempts>=3)return _i&&console.warn("[trl] security mode: destination /config unavailable, applying the primary policy to",e),fn(e,sn()),delete i._destinationPolicyLookups[e],void setTimeout((function(){i.fire()}));var n,r=(n=o.attempts,1e3*Math.pow(2,Math.max(0,n-1)));o.retryAt=Date.now()+r,setTimeout((function(){i.fire()}),r)};return this.fetchAPIConfigFor(e).then(a).catch((function(){a({ok:!1})})),null}},{key:"fetchAPIConfigFor",value:function(e){var t=this.state.domain;if(!e||!t||"function"!=typeof fetch)return new Promise((function(e){e({ok:!1})}));
2var n="".concat(t,"/config?").concat(Fe.a.stringify({k:e}));return new Promise((function(e){var t=!1,r="function"==typeof AbortController?new AbortController:null,o=function(n){t||(t=!0,clearTimeout(i),e(n))},i=setTimeout((function(){o({ok:!1});try{r&&r.abort()}catch(e){}}),5e3);fetch(n,r?{signal:r.signal}:void 0).then((function(e){if(!e||200!==e.status)throw new Error("status");return e.json()})).then((function(e){o(null===e||"object"!==br(e)||Array.isArray(e)?{ok:!1}:{ok:!0,data:e})})).catch((function(){o({ok:!1})}))}))}},{key:"renderUrl",value:function(e){return new Promise((function(t){_i&&console.log("[renderUrl] Starting request to:",e),fetch(e).then((function(e){switch(_i&&console.log("[renderUrl] Response status:",e.status),e.status){case 200:return e.text();default:return console.error("Tracklution: Error fetching data",e.status),null}})).then((function(e){t(e)})).catch((function(n){console.error("[renderUrl] Fetch error:",n.message,n.name,"urlBytes:",e.length),t(null)}))}))}},{key:"parseData",value:function(e){if(!e||!e.length)return{ga4:null};for(var t=/gtag\("config", "(.*)"/,n=0;n<e.length;n++)if(e[n]){var r=e[n].match(t);if(r&&r[1]&&String(r[1]).startsWith("G-"))return{ga4:r[1]}}return{ga4:null}}},{key:"render",value:function(){var e,t=this,n=this.state,r=n.trlId,o=n.render,i=n.ga4,a=n.ga4clid,l=n.url,c=n.shouldWaitForConfig,u=n.hasAPIConfig,s=n.isInitDone,d=n.inject,f=n.data,_=n.isDomainValidated,p=n.ga4V2Active;di++,_i&&console.log(" > Render count:",di,{shouldWaitForConfig:c,hasAPIConfig:u,isInitDone:s,isDomainValidated:_,ga4V2Active:p});var h=Le.createElement(Le.Fragment,null,i&&Le.createElement(Le.Fragment,null,Le.createElement("script",{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=".concat(i),onError:function(){var e=document.createElement("script");e.async=!0,e.src="https://www.googletagmanager.com/gtag/destination?id=".concat(i),(document.head||document.body||document.documentElement).appendChild(e)}}),Le.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n\n gtag('config', '".concat(i,"', {'page_location': '").concat(l||(null===(e=window.location)||void 0===e?void 0:e.href),"', 'send_page_view': ").concat(pi?"true":"false","});")}}))),g=(!c||s)&&!p;if(0===o||!r||!_)return _i&&console.log(" -- config",o,r,i,l,a,_),Le.createElement(Le.Fragment,null,g&&h);if(!d){var v=!0===this._collectFrameRetain;_i&&console.log(" -- [URLS]",o,r,r,i,l,a,{inject:d,retain:v});var y=v?[]:this.getUrls();return Le.createElement(Le.Fragment,null,v?[Le.createElement("div",{key:"trl-frames",ref:this._setCollectFrameHost,style:{display:"none"}})]:y.map((function(e,t){return Le.createElement("iframe",{src:e,key:"trl-k-"+t+"-"+o,height:"0",width:"0",style:{display:"none",visibility:"hidden"}})})),g&&h)}if(d){for(var m="",w=0;w<f.length;w++)m+=f[w];return setTimeout((function(){t.afterRender(m,f)}),200),Le.createElement(Le.Fragment,null,g&&h,Le.createElement("div",{id:"trl-payload",dangerouslySetInnerHTML:{__html:m}}))}}},{key:"afterRender",value:function(e,t){_i&&console.log(" -- [AFTER RENDER]",e);var n=document.getElementById("trl-payload");if(n)if(void 0===t||window.__trlNoInjectDedup||this._lastInjectedData!==t){var r=document.createRange();r.selectNode(n);var o=r.createContextualFragment(e);n.innerHTML="",n.append(o),void 0!==t&&(this._lastInjectedData=t)}else _i&&console.log(" -- [AFTER RENDER] skipped â payload batch already injected")}},{key:"onCustomPixelMessage",value:function(e){if(e.data&&"trl:customPixel"===e.data.type&&e.data.html){var t=this.expectedMessageOrigin();if(e.origin===t)if(this._customPixelChannelId&&e.data.ch===this._customPixelChannelId){_i&&console.log("[Custom Pixel Main Window]",e.data.html);try{var n=document.createElement("div");n.style.display="none",document.body.appendChild(n);var r=document.createRange();r.selectNode(n);var o=r.createContextualFragment(e.data.html);n.appendChild(o)}catch(e){_i&&console.error("[Custom Pixel Main Window Error]",e)}}else _i&&console.log("[Custom Pixel] Channel mismatch");else _i&&console.log("[Custom Pixel] Origin mismatch:",e.origin,"!==",t)}}}])}(ue);
2function yi(e){window.trlApp.processEvent(e)}function mi(){for(var e=window.tlq;e.queue.length;){yi(e.queue.shift())}}"undefined"!=typeof tlq&&(tlq.callMethod=function(e){yi(e)});var wi=0;function bi(){"undefined"!=typeof globalThis&&globalThis.__TRL_TEST_MODE__&&Yr()}function Si(){if("undefined"!=typeof globalThis&&globalThis.__TRL_TEST_MODE__){for(var e in fo){var t=fo[e];t&&t.timer&&clearTimeout(t.timer)}fo=Object.create(null)}}function ki(){"undefined"!=typeof globalThis&&globalThis.__TRL_TEST_MODE__&&(oo&&(clearTimeout(oo),oo=null),io=0,ao=!1)}function Ci(){if("undefined"!=typeof globalThis&&globalThis.__TRL_TEST_MODE__){for(var e in mo){var t=mo[e];t&&t.timer&&clearTimeout(t.timer)}mo=Object.create(null),wo=[],bo=0}}"undefined"!=typeof globalThis&&globalThis.__TRL_TEST_MODE__||function e(){if(wi++,window.trlApp)mi();else if(document.body)Le.render(Le.createElement(vi,null),document.body.appendChild(document.createElement("div"))),mi();else{if(wi>10)return void console.error("Tracklution: Could not find <body> element to render the application.");setTimeout(e,200*wi)}}()}]);
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.