!function(){"use strict";class t{t;o=0;i=[];u(t){if(t.hadRecentInput)return;const e=this.i[0],n=this.i.at(-1);this.o&&e&&n&&t.startTime-n.startTime<1e3&&t.startTime-e.startTime<5e3?(this.o+=t.value,this.i.push(t)):(this.o=t.value,this.i=[t]),this.t?.(t)}}const e=()=>{const t=performance.getEntriesByType("navigation")[0];if(t&&t.responseStart>0&&t.responseStart{if("loading"===document.readyState)return"loading";{const n=e();if(n){if(t{const e=t.nodeName;return 1===t.nodeType?e.toLowerCase():e.toUpperCase().replace(/^#/,"")},r=t=>{let e="";try{for(;9!==t?.nodeType;){const n=t,r=n.id?"#"+n.id:[i(n),...Array.from(n.classList).sort()].join(".");if(e.length+r.length>99)return e||r;if(e=e?r+">"+e:r,n.id)break;t=n.parentNode}}catch{}return e},s=new WeakMap;function o(t,e){return s.get(t)||s.set(t,new e),s.get(t)}let a=-1;const c=()=>a,u=t=>{addEventListener("pageshow",e=>{e.persisted&&(a=e.timeStamp,t(e))},!0)},h=(t,e,n,i)=>{let r,s;return o=>{e.value>=0&&(o||i)&&(s=e.value-(r??0),(s||void 0===r)&&(r=e.value,e.delta=s,e.rating=((t,e)=>t>e[1]?"poor":t>e[0]?"needs-improvement":"good")(e.value,n),t(e)))}},l=t=>{requestAnimationFrame(()=>requestAnimationFrame(()=>t()))},d=()=>{const t=e();return t?.activationStart??0},f=(t,n=-1)=>{const i=e();let r="navigate";return c()>=0?r="back-forward-cache":i&&(document.prerendering||d()>0?r="prerender":document.wasDiscarded?r="restore":i.type&&(r=i.type.replace(/_/g,"-"))),{name:t,value:n,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},p=(t,e,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const i=new PerformanceObserver(t=>{Promise.resolve().then(()=>{e(t.getEntries())})});return i.observe({type:t,buffered:!0,...n}),i}}catch{}},g=t=>{let e=!1;return()=>{e||(t(),e=!0)}};let m=-1;const v=new Set,y=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,w=t=>{if("hidden"===document.visibilityState){if("visibilitychange"===t.type)for(const t of v)t();isFinite(m)||(m="visibilitychange"===t.type?t.timeStamp:0,removeEventListener("prerenderingchange",w,!0))}},C=()=>{if(m<0){const t=d(),e=document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(e=>"hidden"===e.name&&e.startTime>t)[0]?.startTime;m=e??y(),addEventListener("visibilitychange",w,!0),addEventListener("prerenderingchange",w,!0),u(()=>{setTimeout(()=>{m=y()})})}return{get firstHiddenTime(){return m},onHidden(t){v.add(t)}}},b=t=>{document.prerendering?addEventListener("prerenderingchange",()=>t(),!0):t()},L=[1800,3e3],B=(t,e={})=>{b(()=>{const n=C();let i,r=f("FCP");const s=p("paint",t=>{for(const e of t)"first-contentful-paint"===e.name&&(s.disconnect(),e.startTime{r=f("FCP"),i=h(t,r,L,e.reportAllChanges),l(()=>{r.value=performance.now()-n.timeStamp,i(!0)})}))})},M=[.1,.25],z=t=>t.find(t=>1===t.node?.nodeType)||t[0];let x=0,S=1/0,T=0;const D=t=>{for(const e of t)e.interactionId&&(S=Math.min(S,e.interactionId),T=Math.max(T,e.interactionId),x=T?(T-S)/7+1:0)};let _;const A=()=>_?x:performance.interactionCount??0;let P=0;class k{l=[];h=new Map;m;p;v(){P=A(),this.l.length=0,this.h.clear()}M(){const t=Math.min(this.l.length-1,Math.floor((A()-P)/50));return this.l[t]}u(t){if(this.m?.(t),!t.interactionId&&"first-input"!==t.entryType)return;const e=this.l.at(-1);let n=this.h.get(t.interactionId);if(n||this.l.length<10||t.duration>e.T){if(n?t.duration>n.T?(n.entries=[t],n.T=t.duration):t.duration===n.T&&t.startTime===n.entries[0].startTime&&n.entries.push(t):(n={id:t.interactionId,entries:[t],T:t.duration},this.h.set(n.id,n),this.l.push(n)),this.l.sort((t,e)=>e.T-t.T),this.l.length>10){const t=this.l.splice(10);for(const e of t)this.h.delete(e.id)}this.p?.(n)}}}const I=t=>{const e=globalThis.requestIdleCallback||setTimeout;"hidden"===document.visibilityState?t():(t=g(t),addEventListener("visibilitychange",t,{once:!0,capture:!0}),e(()=>{t(),removeEventListener("visibilitychange",t,{capture:!0})}))},q=[200,500];class j{m;u(t){this.m?.(t)}}const H=[2500,4e3],N=[800,1800],E=t=>{document.prerendering?b(()=>E(t)):"complete"!==document.readyState?addEventListener("load",()=>E(t),!0):setTimeout(t)},U="",O="1",V="0",Z="p",W="a",K="m",Y="t",R="m",G="a",X="p",J="s";function F(t){try{return decodeURIComponent(t)}catch(t){return""}}function $(t,e=!1){const n=function(){try{return document.cookie}catch{return!1}}()?document.cookie.split("; "):[];for(let e=0;e"_cmp"===t.name);let i=null==n?void 0:n.description;if(!i)return;try{i=decodeURIComponent(i)}catch{}return i}catch{return}}();if(void 0!==t)return function(t){if("%"==t.slice(0,1))try{t=decodeURIComponent(t)}catch{}const e=t.slice(0,1);if("{"==e)return function(t){var e;let n;try{n=JSON.parse(t)}catch{return}if("2.1"!==n.v)return;if(null===(e=n.con)||void 0===e||!e.CMP)return;return n}(t);if("3"==e)return function(t){const e=t.slice(1).split("_"),[n,i,r,s,o]=e;let a,c;try{a=e[5]?JSON.parse(e.slice(5).join("_")):void 0}catch{}if(o){const t=o.replace(/\*/g,"/").replace(/-/g,"+"),e=Array.from(atob(t)).map(t=>t.charCodeAt(0).toString(16).padStart(2,"0")).join("");c=[8,13,18,23].reduce((t,e)=>t.slice(0,e)+"-"+t.slice(e),e)}function u(t){const e=n.split(".")[0];return e.includes(t.toLowerCase())?V:e.includes(t.toUpperCase())?O:U}function h(t){return n.includes(t.replace("t","s").toUpperCase())}return{v:"3",con:{CMP:{[G]:u(G),[X]:u(X),[R]:u(R),[J]:u(J)}},region:i||"",cus:a,purposes:{[W]:h(W),[Z]:h(Z),[K]:h(K),[Y]:h(Y)},sale_of_data_region:"t"==s,display_banner:"t"==r,consent_id:c}}(t);return}(t)}function tt(){return function(t){const e=Q();if(!e||!e.purposes)return!0;const n=e.purposes[t];return"boolean"!=typeof n||n}(W)}function et(){return tt()}function nt(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var it=0;function rt(t){return"__private_"+it+++"_"+t}function st(t){return Object.entries(t).map(([t,e])=>({key:t,value:{stringValue:String(e)}}))}function ot(t){if(Array.isArray(t))return{arrayValue:{values:t.map(t=>ot(t))}};switch(typeof t){case"boolean":return{boolValue:Boolean(t)};case"number":return{doubleValue:Number(t)};default:return{stringValue:String(t)}}}const at=function(t,e,n){const i=[0];for(let r=0;r{switch(e.attributes={...nt(this,ut)[ut],...e.attributes},e.type){case"histogram":!function(t,e){var n;const{name:i,value:r,unit:s,timeUnixNano:o,attributes:a}=e,c=null!==(n=e.bounds)&&void 0!==n?n:at,u=new Array(c.length+1).fill(0);t[i]||={name:i,unit:s||"1",histogram:{aggregationTemporality:1,dataPoints:[]}};for(let t=0;t0?l:0,bucketCounts:i>0?[1]:[]};t[n].exponentialHistogram.dataPoints.push({attributes:st(null!=o?o:{}),startTimeUnixNano:s,timeUnixNano:s,count:1,sum:c,scale:u,zeroCount:d,positive:p,negative:f,min:c,max:c,zeroThreshold:0})}(t,e);break;case"counter":!function(t,e){const{name:n,value:i,unit:r,timeUnixNano:s,attributes:o}=e;t[n]||={name:n,unit:r||"1",sum:{aggregationTemporality:1,isMonotonic:!0,dataPoints:[]}},t[n].sum.dataPoints.push({startTimeUnixNano:s,timeUnixNano:s,asDouble:i,attributes:st(null!=o?o:{})})}(t,e);break;case"gauge":!function(t,e){const{name:n,value:i,unit:r,timeUnixNano:s,attributes:o}=e;t[n]||={name:n,unit:r||"1",gauge:{dataPoints:[]}},t[n].gauge.dataPoints.push({startTimeUnixNano:s,timeUnixNano:s,asDouble:i,attributes:st(null!=o?o:{})})}(t,e)}});const e=Object.values(t);0!==e.length&&(nt(this,ht)[ht]=[],await nt(this,ct)[ct].exportMetrics(e))}async exportLogs(){const t=nt(this,lt)[lt].map(t=>{const e={timeUnixNano:t.timeUnixNano,observedTimeUnixNano:t.timeUnixNano,attributes:(n={...nt(this,ut)[ut],...t.attributes},Object.entries(n).map(([t,e])=>({key:t,value:ot(e)})))};var n;return t.body&&(e.body={stringValue:t.body}),e});0!==t.length&&(nt(this,lt)[lt]=[],await nt(this,ct)[ct].exportLogs(t))}}var ft=rt("url"),pt=rt("serviceName"),gt=rt("logger"),mt=rt("fetchFn");class vt{constructor(t,e,n){Object.defineProperty(this,ft,{writable:!0,value:void 0}),Object.defineProperty(this,pt,{writable:!0,value:void 0}),Object.defineProperty(this,gt,{writable:!0,value:void 0}),Object.defineProperty(this,mt,{writable:!0,value:void 0}),nt(this,ft)[ft]=t.replace(/\/v1\/(logs|metrics|traces)\/?$/,""),nt(this,pt)[pt]=e,nt(this,gt)[gt]=null==n?void 0:n.logger,nt(this,mt)[mt]=null==n?void 0:n.fetchFn}async exportMetrics(t){await this.exportBatches("/v1/metrics",[...t],t=>({resourceMetrics:[{resource:{attributes:[{key:"service.name",value:{stringValue:nt(this,pt)[pt]}}]},scopeMetrics:[{scope:{name:"open-telemetry-mini-client",version:"1.1.0",attributes:[]},metrics:t}]}]}))}async exportLogs(t){await this.exportBatches("/v1/logs",[...t],t=>({resourceLogs:[{resource:{attributes:[{key:"service.name",value:{stringValue:nt(this,pt)[pt]}}]},scopeLogs:[{scope:{name:"open-telemetry-mini-client",version:"1.1.0",attributes:[]},logRecords:t}]}]}))}async exportTo(t,e){var n;const i=JSON.stringify(t),r=(new TextEncoder).encode(i).length;if(r>65536)throw new wt(`Payload size ${r} exceeds 65536 bytes`);const s=await this.exporterFetch()(`${nt(this,ft)[ft]}${e}`,{method:"POST",keepalive:!0,headers:{"Content-Type":"application/json"},body:i});if(null===(n=nt(this,gt)[gt])||void 0===n||n.log({status:s.status}),!s.ok){if(400===s.status){const t=await s.text();throw new yt(`Invalid OpenTelemetry Data: ${t}`)}if(429===s.status||503===s.status){const e=await s.text(),n=s.headers.get("Retry-After"),i=n?{seconds:Number(n)}:void 0;throw new yt("Server did not accept data",{errorData:e,retryAfter:i,body:t})}throw new yt(`Server responded with ${s.status}`)}}exporterFetch(){return nt(this,mt)[mt]||fetch}async exportBatches(t,e,n){let i=e.length;for(;e.length>0;)try{const r=e.slice(0,i);await this.exportTo(n(r),t),e.splice(0,i)}catch(t){if(!(t instanceof wt&&i>1))throw t;i=Math.ceil(i/2)}}}class yt extends Error{constructor(t,e){super(t),this.metadata=void 0,this.name="OpenTelemetryClientError",this.metadata=e}}class wt extends Error{constructor(...t){super(...t),this.name="PayloadTooLargeError"}}var Ct={name:"@shopify/human-signals",version:"1.4.5",description:"Human signal detection for bot vs human traffic analysis",type:"module",main:"dist/index.js",types:"dist/index.d.ts",source:"src/index.ts",files:["dist"],scripts:{build:"npx tsc",bundle:"pnpm build && rollup -c",test:"vitest run","test:watch":"vitest",lint:"eslint ./src",format:"prettier ./src --write","format:check":"prettier --check ./src",prepack:"pnpm bundle"},author:"Shopify Inc.",license:"MIT",devDependencies:{"@rollup/plugin-json":"^6.1.0","@rollup/plugin-node-resolve":"^16.0.1","@rollup/plugin-replace":"^6.0.2","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^12.1.4","@shopify/eslint-plugin":"^50.0.0","@shopify/opentelemetry-mini-client-private":"^1.6.0","@shopify/prettier-config":"^1.1.4","@types/node":"^24.1.0",eslint:"^9.31.0","javascript-obfuscator":"^4.1.1",jsdom:"^26.1.0",prettier:"^3.6.2",rollup:"^4.45.1","rollup-plugin-obfuscator":"^1.1.0",typescript:"^5.8.3",vitest:"^3.2.4"},peerDependencies:{"@shopify/opentelemetry-mini-client-private":"^1.6.0"},prettier:"@shopify/prettier-config"};function bt(t,e){var n=zt();return bt=function(e,i){var r=n[e-=402];if(void 0===bt.iSPgNh){var s=function(t){for(var e,n,i="",r="",o=i+s,a=0,c=0;n=t.charAt(c++);~n&&(e=a%4?64*e+n:n,a++%4)?i+=o.charCodeAt(c+10)-10!=0?String.fromCharCode(255&e>>(-2*a&6)):a:0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);for(var u=0,h=i.length;u=this.sampleRate))try{await this.otelClient.exportLogs()}catch(t){this.stdout&&console.log(`[SHS] Otel export logs failure: ${t}`)}}}!function(t){const e=45,n=278,i=160,r=29,s=36,o=109,a=45,c=143,u=197;function h(t,e){return Ht(t- -682,e)}const l=t();for(;;)try{if(203389===-parseInt(h(-182,-e))/1+parseInt(h(-228,-n))/2+-parseInt(h(-243,-i))/3+-parseInt(h(-187,-253))/4+parseInt(h(-115,-r))/5+-parseInt(h(-151,-s))/6+-parseInt(h(-o,-a))/7*(-parseInt(h(-c,-u))/8))break;l.push(l.shift())}catch(t){l.push(l.shift())}}(Dt);const St=function(){let t=!0;return function(e,n){const i=t?function(){if(n){const r=n[(t=-193,i=-82,Ht(i- -667,t))](e,arguments);return n=null,r}var t,i}:function(){};return t=!1,i}}(),Tt=St(this,function(){const t=936,e=926,n=780,i=876,r=855,s=926;function o(t,e){return Ht(e-406,t)}return Tt[o(872,t)]()[o(729,760)](o(823,e))[o(989,t)]()[o(n,i)](Tt)[o(843,760)](o(r,s))});function Dt(){const t=["y2HHBMDL","u2vUzgLUzYbIzwfJB24GzhvLihrVihnPz25HBcbJAgfUz2vZ","mtzWEcbbCMLHBa","D2LUzg93","Bg9N","C3rHDgu","Bw92zq","zgvZDhjVEq","yMLUza","Ag9ZDa","Dw5KzwzPBMvK","C2HVCeLK","DgLTzvn0yw1W","CgvYAw9KAwm","y2HLy2TbBMrtzw5Ku2LNBMfSCW","Dg91y2Hby3rPDML0Eq","qMvHy29UihnLBMqGzgvIB3vUy2vKicH0B28GC29VBIbZAw5JzsbSyxn0ihnLBMqP","C2vUzejLywnVBG","Bg9HzgLUzW","BgvMDa","ChjLCgfYzvbHEwXVywreyxrH","CMvTB3zLrxzLBNrmAxn0zw5LCG","yNjVD3nLCL9LBNzPCM9UBwvUDf9UB3jTywW","mta0nZuZmufkCM9AuG","A2v5yM9HCMrcDxjZDhm","A2v5zg93BG","oYbWyxrOpq","D2LKDgG","y2XPzw50wa","B3jPz2LU","Aw5JBhvKzq","C3rYAw5NAwz5","D2vIzhjPDMvYx2rLDgvJDgvK","C2vZC2LVBLn0yxj0","C3rHDhvZ","yxbWBgLJyxrPB24VANnVBG","iokgKIa","icaOsw5PDgLHBcbZAwDUywWGC2v0kq","mta5mZeWuwLVCKPl","DgHLBG","icbty3jVBgWGywn0AxzPDhK6ia","A2v5yM9HCMrFywn0AxzPDhK","zw52AxjVBM1LBNrdAgvJA2vK","icblzxLIB2fYzcbHy3rPDML0EtOG","z2v0rgLZDgfUy2u","icbuAw1Lig9UihbHz2u6ia","x3nOC19ZDgf0zq","uMf3igjLAgf2Aw9YywWGzgf0ytO","B3b0Aw9UCW","zxzLBNriyw5KBgvYCW","y2XLyxjuAw1LB3v0","A2v5CW","C2LNBMLMAwnHBNrFCgfNzv90Aw1L","Dg91y2HfDMvUDhm","y29UC3rYDwn0B3i","Aw5UzxjizwLNAhq","BMf0DxjHBf9TB3vZzv9Hy3rPDML0Eq","zMXVB3i","BgfUz3vHz2vZ","C3rHCNrZv2L0Aa","Aw5UzxjxAwr0Aa","DxbKyxrLq29VA2LL","icbnB3vZzsbHy3rPDML0EtOG","y3jLyxrLtgLUzwfYr3jHzgLLBNq","ChvZAa","Dg9eyxrHvvjm","C2vZC2LVBKrHDge","q29UDhjVBa","C2nYB2XSqwn0AxzPDhK","z2v0qM91BMrPBMDdBgLLBNrszwn0","BxvSDgLWBgvFCgfNzxnFDMLZAxrLza","C2vZC2LVBLn0B3jHz2u","qMvHy29UihjLDhj5igXPBwL0ihjLywnOzwq","Ahr0Chm6lY9VDgXWlwH0DhaTChjVzhvJDgLVBI5ZAg9WAwz5C3zJlMnVBq","Bw9UAxrVCKjLAgf2Aw9Y","q29VA2LLihnLDcb1C2LUzYbdB29RAwvtDg9YzsbbueK","q29VA2LLu3rVCMuGz2v0igzHAwXLzcWGzMfSBgLUzYbIywnRoIa","y2HLy2TwAwv3Cg9YDfjHDgLV","C2vUzejLywnVBIbLCNjVCJOG","mta5ntu0oeXpAePWra","CMv0CNLdB3vUDa","qMvHy29UihnLBNqGC3vJy2vZC2z1BgX5ihzPysbMzxrJAa","zhvYyxrPB24","Dg9W","mZKYnZm0v3v3z2Hm","icbwyxjPzwqGy2XPy2TZoIa","w1niu10G","y29VA2LL","A2v5qwn0AxzPDhK","zgvIDwC","icbqywDLignVDw50oIa","Dg9mB3DLCKnHC2u","y2HLy2TfBNzPCM9UBwvUDa","u2vZC2LVBIbKyxrHigXVywrLzdOG","zg9JDw1LBNq","zMLSBfrLEhq","z2v0sxrLBq","u2HVCgLMEsbtDg9YzwzYB250","C2nYB2XSrxzLBNrZ","icbtzxnZAw9Uigr1CMf0Aw9UoIa","DxnLCKfNzw50","y2XPzw50v2LKDgG","DgvZDa","qMvHy29UigzHAwXLzdOG","kcGOlISPkYKRksSK","w0nVB2TPzuPHCL0G","yxrHBJi","i2zMzG","BgfZDfn1y2nLC3nMDwXtzw5KvgLTzq","CMvXDwvZDeLKBgvdywXSyMfJA0LK","tM8GC2vZC2LVBIbKyxrHigzVDw5KoIa","u2vZC2LVBIbZAwDUywXZihnHDMvK","Dg91y2HFywn0AxzPDhK","BgfZDfrVDwnOrxzLBNq","Dg9tDhjPBMC","mtCXndq5nejeDgzMvW","DxbKyxrLu2vZC2LVBKrHDge","y2fSy3vSyxrLq2XPy2TqCMvJAxnPB24","Dg91y2HZDgfYDa","zgv2AwnLugL4zwXsyxrPBW","yMvHy29UuMv0CNLmAw1PDa","CMvXDwvZDeLKBgvdywXSyMfJAW","q29VA2LLihnLDcb1C2LUzYbSzwDHy3KGBwv0Ag9K","nZjAquz0B0K","q29VA2LLu3rVCMuGC2v0igzHAwXLzcWGzMfSBgLUzYbIywnRoIa","rMfPBgvKihrVihnHDMuGC2vZC2LVBIbZAwDUywXZoIa","Dg91y2HLCW","y3jLyxrLrwXLBwvUDa","CMv0CNLuAw1LB3v0swq","u3rYAwn0","C2v0","twv0yq","Bg9JyxrPB24","A2vLCf9HBgL2zq","C3fYDa","y2HLy2TcCM93C2vYq29UC2LZDgvUy3K","ue9tva","CMvKDwnL","tg9HzgvKihnLC3nPB24GC2LNBMfSCYbPBIbqCM9JzxnZzwrtAwDUywXZigzVCM1HDa","C2vZ","C2nYB2XSx2fJDgL2Axr5","zMLSBfn0EwXL","Bw91C2vby3rPDML0Eq","CYbZAw5JzsbSyxn0ihn1y2nLC3nMDwWGC2vUza","BMf2AwDHDg9Y","Aw50","zgLY","CM91BMq","y29VA2LLu3rVCMu","y2XPy2TqB3nPDgLVBNm","zM9UDa","mtq5oti4mfzqDu9IEq","C2HPzNq","C3rHCNq","Cgf0Aa","CgX1z2LUCW","CMvK","odK0nZC1vhHLtK51","Dg91y2HTB3zL","C3rHCNruAw1L","C2f2zvnLC3nPB25tAwDUywXZ","DxbKyxrLsw50zxj2ywW","yM90x3vZzxjFywDLBNq","u2HPzNq","Bg9HzfnLC3nPB25tAwDUywXZ","q29VA2LLigXVywrPBMCGC2TPChbLzcaTignVB2TPzxmGzgLZywjSzwq","y29VA2LLrxHWAxj5","BgfZDfnPz25HBhm","C2fTzvnPDgu","yxbWBhK","ywrKrxzLBNrmAxn0zw5LCG","sw5PDgLHBgL6Aw5NigH1BwfUigrLDgvJDgLVBG","DxbKyxrLsw50zxj2ywXjza","zxHLyW","zMLSBfjLy3q","zw52AxjVBM1LBNq","oYbTyxGTywDLpq","l2fWAs9JB2XSzwn0","DMvYC2LVBG","Ahr0Chm6lY8","BM93","rMfPBgvKihrVigXVywqGC2vZC2LVBIbZAwDUywXZoIa","qMvHy29UigvYCM9YoIa","Bwf4","AhjLzG","C2nOzwr1BgvczwfJB25szxrYEq","yMvHy29Uu3rHDgu","tg9HzgvKihnLC3nPB24GC2LNBMfSCYbMCM9TifnPz25HBhnqyxLSB2fKigzVCM1HDa","Aw5PDa","tM8GC2LNBMfSignOyw5NzxmGzgv0zwn0zwqGyw5Kig1HEcbZAwXLBMnLihrPBwuGBM90ihjLywnOzwqSigjLywnVBIbUB3qGC2vUDa","Dg91y2HLBMq","z2v0qwjZB2X1DgvvCMW","ihbHz2vZ","y2XPzw50sgvPz2H0","CNvUq2fUDMfZvgvZDa","zg93BG","qwX0","A2v5rxzLBNrZ","Ag9ZDg5HBwu","CgvYzI1RAxqTAhvTyw4TC2LNBMfSCW","u2LNBMfSignOyw5NzxmGzgv0zwn0zwq6","y2fUDMfZx2zPBMDLCNbYAw50x25VCM1HBa","C2vZC2LVBL9KDxjHDgLVBL9YzwfZB25HyMXL","BMf0DxjHBf9JBgLJA19Wyxr0zxjUCW","yMX1zq","z2v0tgvNywn5","vxbKyxrPBMCGy29VA2LLihDPDgGGCgf5Bg9HzdOG","A2v5yM9HCMrcDxjZDefJDgL2Axr5","yMfZzvvssq","icbdBgLJAYbHy3rPDML0EtOG","z2v0q29UDgv4Da","C2nYB2XSwq","C2v0sxrLBq","C2v0vgLTzw91Da","y2XPy2S","tw9IAwXL","C2vHCMnO","y29VA2LLsMfY","ywrKq29SB3jtDg9W","zw5HyMXLqMvHy29U","BgfZDfvWzgf0zvrPBwu","qMvHy29UihnLBNqGC3vJy2vZC2z1BgX5ihzPysbZzw5KqMvHy29Uiefqsq","qxqGBgvHC3qGB25LihnPz25HBcbJB2XSzwn0Aw9Uig1LDgHVzcbTDxn0igjLigvUywjSzwqGkgnVB2TPzsbVCIbIzwfJB24P","C2nYB2XS","yNjVD3nLCKfqsq","CgfNzunVDw50","xZb4m2m0ndHJ","AgvPz2H0","oYbtyw1Lu2L0zt0","C2L6zq","BgvUz3rO","zMX1C2HpDgvStg9NCW","D2vIzhjPDMvY","CgfYC2u","CMvHzhLtDgf0zq","y2f0y2G","kf58icK","ChjL","q29VA2LLu3rVCMuGC2v0ihbYB21PC2uGCMvQzwn0zwq6ia","C2vUzejLywnVBIbYzxr1CM5LzcbMywXZzsWGzMfSBgLUzYbIywnRihrVigzLDgnO","re9nq29UDgvUDeXVywrLza","Aw5JBhvKzxm","z2v0vgLTzxPVBMvpzMzZzxq","BgfZDfbYB2nLC3nuAw1L","icboyxr1CMfSig1VDMvTzw50oIa","Bw91C2vqB3nPDgLVBNm","Ahr0CdOVlW","psHBxJTDkYK","y2XPzw50wq","y2fUDMfZ","Bwf4u2LSzw5Jzu1Z","ChjVDg9JB2W","zxHWB3j0v2L0AezLDgnO","BwLU","y29VA2LLtMfTzq","zw5HyMXLq29VA2LL","qMvHy29UihjLDhj5ihnJAgvKDwXLzcbPBIa","zg9JDw1LBNrfBgvTzw50","BwfW","xZb4ndu5nZLH","DgfYz2v0","z2v0","u2vUzgLUzYbWzxjPB2rPyYbIzwfJB24Glsa","Bg9HzfnLC3nPB25eyxrH","CMvMzxjYzxi","Bg9NC1nHBxbSzvjHDgu","C2v0tgvNywn5","yMvHy29Urw5KCg9PBNq","lcbMywXSAw5NigjHy2SGDg8GzMv0y2G","DMfSDwu","Bg9NtwvZC2fNzq","zM9YrwfJAa","B250B3vJAhn0yxj0","y2XPy2Tby3rPDML0Eq","Bw91C2vTB3zL","y2fUy2vSswrSzunHBgXIywnR","A2v5","ywjZ"];return(Dt=function(){return t})()}function _t(t,e){return Ht(e- -593,t)}Tt();const At=_t(1,-104),Pt=_t(-332,-256),kt=_t(-193,-278),It=_t(-161,-131);class qt{[_t(-189,-231)];[_t(-146,-129)];[_t(-210,-229)];constructor(t,e,n){const i=893,r=983,s=1122,o=1064,a=1007;function c(t,e){return _t(t,e-1112)}this[c(1010,881)]=t,this[c(i,r)]={path:"/",sameSite:c(s,o),...e},this[c(a,883)]=n}async[_t(-323,-194)](){const t=374,e=499,n=212,i=297,r=462,s=581,o=this[a(-336,-397)][a(-493,-469)];function a(t,e){return _t(t,e- -268)}if(this[a(-443,-499)][a(-405,-297)])try{const c=await this[a(-t,-e)][a(-n,-i)][a(-519,-r)]({name:o});return c?c[a(-s,-454)]:null}catch(t){return this[a(-370,-453)](a(-403,-369)+t),this[a(-563,-518)]()}return this[a(-623,-518)]()}async[_t(37,-47)](t){const e=1276,n=1172,i=1159,r=1258,s=1382,o=1176,a=1168,c=1104,u=1060,h=1238,l=1282,d=1250,f=1294,p=1176,g=1103,m=1296,v=1219,y=1185,w=1120,C=1183,b=1203,L=1195,B=1004,M=1214,z=1116,x=1207,S=1116,T=350,D=478,_=354;function A(t,e){return _t(e,t-1305)}if(this[A(1074,1147)][A(e,1402)])try{await this[A(1074,n)][A(1276,i)][A(r,s)]({name:this[A(o,a)][A(c,u)],value:t,path:this[A(1176,h)][A(l,1196)],maxAge:this[A(o,d)][A(f,1333)],sameSite:this[A(p,g)][A(m,1413)]?.[A(v,y)]()})[A(1085,u)](e=>{const n=1470;function i(t,e){return A(t- -n,e)}this[i(-T,-D)](i(-382,-261)+e),this[i(-_,-260)](t)}),this[A(w,C)](A(b,L))}catch(e){this[A(1120,B)](A(1252,M)+e),this[A(z,x)](t)}else this[A(S,1226)](t)}[_t(-191,-250)](){const t=this[n(-291,-200)][n(-363,-321)],e=new RegExp(n(-381,-437)+t+n(-370,-500))[n(-166,-27)](this[n(-393,-414)][n(-245,-295)][n(-252,-349)]);function n(t,e){return _t(e,t- -162)}return e?e[2]:null}[_t(-253,-189)](t){const e=1309,n=1281,i=1274,r=1249,s=1163,o=1319,a=1213,c=1353,u=1085,h=1235,l=1194,d=1326,f=1235,p=1476,g=1355,m=1212,v=1179,y=1309,w=1364;function C(t,e){return _t(t,e-w)}this[C(1155,1133)][C(e,n)][C(1163,i)]=this[C(r,1235)][C(1172,s)]+"="+t+C(o,a)+this[C(c,1235)][C(1229,1341)]+C(1185,u)+this[C(1326,h)][C(1394,c)]+C(l,1137)+this[C(d,f)][C(p,g)],this[C(m,v)](C(1201,y))}[_t(-231,-185)](t){function e(t,e){return _t(t,e- -53)}this[e(-215,-282)][e(-225,-226)](e(-181,-125)+t)}}function jt(){const t=508,e=515,n=475,i=621,r=646,s=593,o=508,a=108,c=1098,u=43,h=1259,l=1335,d=675;function f(t,e){return _t(e,t-d)}return{document:document,navigator:typeof navigator!==f(t,629)?{get webdriver(){return navigator[(t=h,e=l,f(t-807,e))];var t,e},get userAgent(){return navigator[(t=653,e=641,f(e-u,t))];var t,e},get languages(){return navigator[(t=1178,e=c,f(e-542,t))];var t,e},get plugins(){return navigator[(t=a,e=81,f(t- -545,e))];var t,e},sendBeacon:navigator[f(e,631)]?.[f(506,n)](navigator)}:{webdriver:void 0,userAgent:"",languages:[],plugins:[],sendBeacon:void 0},window:window,screen:screen,cookieStore:typeof window!==f(t,i)&&f(r,s)in window?window[f(646,572)]:void 0,performance:typeof performance!==f(o,535)?performance:void 0}}function Ht(t,e){const n=Dt();return Ht=function(e,i){let r=n[e-=313];if(void 0===Ht.nbODHq){var s=function(t){let e="",n="",i=e+s;for(let n,r,s=0,o=0;r=t.charAt(o++);~r&&(n=s%4?64*n+r:r,s++%4)?e+=i.charCodeAt(o+10)-10!=0?String.fromCharCode(255&n>>(-2*s&6)):s:0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(let t=0,i=e.length;tt+e.s,0)/t[a(1209,e)],s=t[a(1325,i)]((t,e)=>t+(e.s-r)**2,0)/(t[a(1159,1114)]-1),o=Math[a(1356,1296)](s);function a(t,e){return _t(t,e-1339)}return{speed:r,jitter:o}}function Et(t,e,n,i,r,s,o,a,c,u,h,l,d){const f=234,p=223,g=223,m=105,v=133,y=200,w=167,C=382,b=312,L=200,B=332,M=199,z=312,x=255,S=202,T=385,D=435,_=200,A=200,P=243,k=153,I=58,q=275,j=312,H=266,N=305,E=425,U=Math[ht(223,201)](1e3,t),O=Math[ht(223,f)](1e3,n),V=Math[ht(p,196)](1e3,s),Z=Math[ht(223,169)](1e3,a),W=Math[ht(p,299)](1e3,o),K=Math[ht(g,m)](1e3,c),Y=[];if(e[ht(200,v)]>=3)for(let t=1;t5e-4){i=!0;break}r=e.s}else r=e.s;return i}(Y),G=function(t){const e=898,n=839,i=791,r=805;if(t[s(744,786)]<3)return 0;function s(t,e){return _t(e,t-969)}let o=0,a=0;for(let c=1;c2*Math.PI-Math.PI/12)&&o++,a++}return a>0?o/a:0}(e),{speed:X,jitter:J}=Nt(Y);let F=0,$=0;if(i[ht(L,221)]>1){const t=new Set(i[ht(228,B)](t=>Math[ht(305,261)](t.x/20)+","+Math[ht(305,411)](t.y/20)))[ht(M,z)];F=t>1?1:0,$=i[ht(385,x)]((t,e)=>t+e[ht(207,326)],0)/i[ht(200,197)]}const Q=r[ht(385,387)]((t,e)=>{if(null===e[n(-232,-301)])return t;function n(t,e){return ht(e- -694,t)}return t[n(-322,-382)](e[n(-352,-301)]),t},[]),{rhythmConsistency:tt,jitter:et}=function(t){const e=1115,n=1093;if(t[s(1058,1115)]<2)return{rhythmConsistency:0,jitter:0};const i=t[s(1383,1300)]((t,e)=>t+e,0)/t[s(1057,e)],r=t[s(1216,1300)]((t,e)=>(t??0)+((e??0)-i)**2,0)/t[s(1107,e)];function s(t,e){return _t(t,e-1340)}const o=Math[s(1326,1297)](r);return{rhythmConsistency:0===o?1:Math[s(n,1068)](0,1-o/i),jitter:o/i}}(Q),nt=Q[ht(200,S)]>0?Q[ht(T,D)]((t,e)=>t+e,0)/Q[ht(L,208)]:0,it=[];if(u[ht(_,244)]>=3)for(let t=1;tu[t-1].p?ht(165,q):"up";it[ht(j,377)]({s:i,dir:r,t:u[t].t})}const{speed:rt,jitter:st}=Nt(it),ot=function(t){const e=361,n=382,i=414,r=203,s=413;if(t[o(188,146)]<2)return 0;function o(t,e){return _t(e,t-s)}let a=0;for(let r=1;r=500&&t[r].t-i>=500&&(e++,i=t[r].t);return e}(it)),{speed:ct,jitter:ut}=Nt(h);function ht(t,e){return _t(e,t-E)}const lt=function(t){const e=234,n=350,i=234,r=459;if(t[o(283,e)]<2)return 0;let s=0;for(let n=1;n=500&&e++;function n(t,e){return _t(e,t- -407)}return e}(h)),ft=Math[ht(N,366)]((d-l)/1e3);return{ma:U,ca:O,ka:V,sa:Z,ta:K,kba:W,t:Math[ht(223,112)](3600,ft),nm:R?1:0,ms:Ot(G),mj:Ot(J),msp:Ot(X),vc:F,cp:Ot($),rc:Ot(tt),kj:Ot(et),ki:Ot(nt),ss:Ot(rt),sj:Ot(st),ssm:Ot(ot),sp:at,ts:Ot(ct),tj:Ot(ut),tp:dt,tsm:Ot(lt)}}function Ut(t,e){const n=354,i=16;let r=0;return(...s)=>{const o=typeof performance!==a(532,442)?performance[a(n,334)]():Date[a(250,334)]();function a(t,e){return Ht(e-i,t)}o-r>=e&&(r=o,t(...s))}}function Ot(t){return Math[(e=-231,n=-204,_t(n,e- -201))](100*t)/100;var e,n}function Vt(t){function e(t,e){return _t(e,t- -292)}return{wd:t[e(-437,-359)],ua:t[e(-307,-399)],cf:t[e(-546,-458)],be:t[e(-447,-543)],nm:t[e(-413,-316)],nc:t[e(-544,-605)],ka:t[e(-428,-468)],sa:t[e(-329,-277)],ta:t[e(-357,-474)],pt:t[e(-417,-362)],mp:t[e(-399,-414)],sd:t[e(-545,-619)]}}class Zt{[_t(-254,-196)];[_t(-95,-172)];[_t(-253,-231)];[_t(-269,-238)];[_t(-325,-229)];constructor(t,e,n=jt()){const i=1052,r=1087,s=1089,o=1118,a=1008,c=1082,u=1151,h=1117,l=1222,d=1099,f=1047,p=1043,g=1236,m=1122,v=947,y=1082,w=1399,C=1049,b=1318,L={shopId:0,cookieName:B(1153,1274),cookieExpiry:1800,updateInterval:5e3,debug:!1,enableBeacon:!1,beaconEndpoint:kt,beaconRetryLimit:3,enableCookie:!0,maxSilenceMs:18e5,exportWithFetch:!1,logsSampleRate:1};function B(t,e){return _t(t,e-b)}if(this[B(i,1122)]={...L,...e},this[B(1221,r)]=n,this[B(1144,s)]=t,!this[B(1074,1122)][B(1076,o)]&&!this[B(a,1122)][B(1086,c)])throw new Error(B(u,1085));if(this[B(1188,1080)]=new qt(this[B(1087,1087)],{cookieName:this[B(1016,1122)][B(980,h)],cookieExpiry:this[B(1064,1122)][B(l,1307)]},this[B(d,1089)]),this[B(1224,1146)]={startTime:Date[B(f,p)](),lastUpdateTime:null,environmentChecked:!1,sessionData:null,mouseActivity:0,clickActivity:0,keyActivity:0,keyboardBurstActivity:0,scrollActivity:0,touchActivity:0,mousePositions:[],clickPositions:[],keyEvents:[],scrollEvents:[],keyboardBursts:[],touchEvents:[],lastTouchEvent:null},this[B(g,m)][B(v,y)]){const t=this[B(w,1305)]();this[B(1042,1146)][B(1185,C)]={lastSignals:t,lastProcessTime:0,lastSuccessfulSendTime:0,retryCount:0}}}[_t(-365,-267)](){const t=1434,e=230,n=199,i=31,r=84,s=48,o=73;function a(t,e){return _t(e,t-1372)}this[a(1187,1065)](a(1366,t),!0),(async()=>{const t=350,c=165,u=253,h=276,l=402,d=380,f=506,p=217,g=392,m=332,v=302,y=310,w=212;function C(t,e){return a(e- -1057,t)}await this[C(60,123)](),await this[C(267,e)](),await this[C(283,n)](!0),this[C(i,r)][C(8,141)][C(s,o)](()=>{var t,e;this[(t=96,e=74,C(e,t- -116))]()},100);const b=()=>{const e=1209,n=1245,i=Date[a(-489,-519)](),r=i-(this[a(-386,-289)][a(-449,-428)]||i),s=Math[a(-486,-393)](0,this[a(-410,-369)][a(-230,-99)]-r),o=()=>{const i=662;function r(t,e){return a(t-i,e)}this[r(217,t)][r(274,c)][r(392,u)]?this[r(h,l)][r(d,f)]=this[r(p,275)][r(274,229)][r(g,265)](()=>{function t(t,e){return r(e-877,t)}this[t(1088,e)]()[t(n,1187)](()=>this[t(1166,1096)][t(1226,1101)]())[t(1154,1187)](()=>{b()})},{timeout:2e3}):this[r(m,v)]()[r(y,364)](()=>this[r(219,266)][r(224,237)]())[r(310,w)](()=>{b()})};function a(t,e){return C(e,t- -529)}s>0?this[a(-445,-344)][a(-388,-336)][a(-456,-317)](o,s):o()};b()})()}[_t(-75,-170)](){const t=1102,e=1180,n=1172,i=1269,r=1102,s=1238,o=1043,a=1007,c=1100,u=1094,h=1185,l=1100,d=1081,f=1122,p=1191,g=1137,m=1102,v=1093,y=1159,w=1118,C=1033,b=1155,L=1042,B=1260,M=1118,z=1197,x=1235,S=988,T=1173,D=1117,_=1043,A=1032,P=1243,k=998,I=1042,q=1037,j=1042,H=1085,N=1091,E=1098,U=1156,O=1146,V=1014,Z=1215,W=1146,K=1192,Y=1255,R=1146,G=1009,X=1043,J=1043,F=1059,$=1283,Q=1181,tt=1102,et=1195,nt=1118,it=1180,rt=1254,st=1102,ot=1223,at=1296,ct=1203,ut=1009,ht=1146,lt=1110,dt=1067,ft=1005,pt=1105,gt=1147,mt=1226,vt=1225,yt=1240,wt=1212;function Ct(t,e){return _t(e,t-1274)}this[Ct(t,1151)][Ct(1269,1192)]&&this[Ct(1043,1050)][Ct(1100,1133)][Ct(1147,e)](this[Ct(t,n)][Ct(i,1185)]),this[Ct(r,976)][Ct(1206,s)]&&this[Ct(o,a)][Ct(c,1052)][Ct(u,h)]&&this[Ct(o,1067)][Ct(l,1013)][Ct(1094,1140)](this[Ct(1102,975)][Ct(1206,d)]),this[Ct(r,1087)][Ct(1146,f)]&&(this[Ct(1043,1005)][Ct(1191,p)][Ct(1118,1217)](Ct(1093,g),this[Ct(m,1133)][Ct(1146,1139)][Ct(v,1206)]),this[Ct(1043,y)][Ct(1191,1089)][Ct(w,1061)](Ct(C,1167),this[Ct(1102,1215)][Ct(1146,b)][Ct(1033,1123)]),this[Ct(1043,L)][Ct(1191,B)][Ct(M,z)](Ct(f,x),this[Ct(1102,S)][Ct(1146,T)][Ct(1122,D)]),this[Ct(_,A)][Ct(1191,P)][Ct(M,k)](Ct(I,987),this[Ct(1102,q)][Ct(1146,1255)][Ct(j,H)]),Ct(N,E)in window&&this[Ct(1102,U)][Ct(O,V)][Ct(Z,1108)]&&this[Ct(m,1214)][Ct(W,K)][Ct(Y,1268)]&&this[Ct(t,996)][Ct(R,1126)][Ct(G,X)]&&(this[Ct(J,F)][Ct(p,$)][Ct(1118,Q)](Ct(1215,1207),this[Ct(tt,et)][Ct(1146,1222)][Ct(1215,1312)]),this[Ct(1043,1043)][Ct(1191,1127)][Ct(nt,it)](Ct(1255,rt),this[Ct(st,1085)][Ct(1146,ot)][Ct(Y,1269)]),this[Ct(1043,1157)][Ct(p,at)][Ct(M,ct)](Ct(ut,961),this[Ct(st,982)][Ct(ht,lt)][Ct(ut,dt)]))),this[Ct(1102,1085)][Ct(ft,pt)]?.[Ct(1225,1359)]&&this[Ct(1043,1080)][Ct(c,1167)][Ct(gt,1214)](this[Ct(t,mt)][Ct(ft,1006)][Ct(vt,yt)]),this[Ct(tt,wt)][Ct(1005,893)]=void 0}async[_t(-156,-192)](){const t=731,e=856,n=746,i=765,r=912,s=746,o=756,a=696,c=599,u=893,h=759,l=711,d=820,f=708,p=756,g=656,m=893,v=746,y=942,w=668;if(!this[b(735,714)][b(t,e)])return void this[b(n,i)](b(919,r));const C=await this[b(693,604)][b(737,851)]();function b(t,e){return _t(e,t-931)}const L=function(t){if(!t)return null;try{const i=JSON[(e=-274,n=-295,_t(n,e- -52))](atob(decodeURIComponent(t)));return i.v&&i.ts?i:null}catch(t){return null}var e,n}(C);L?(this[b(759,768)][b(a,c)]=L.ts,L[b(u,966)]&&(this[b(h,l)][b(d,f)]={pageCount:L[b(u,845)].p||1,sessionStart:L[b(u,p)].s||Date[b(g,790)](),duration:L[b(m,955)].d||0},this[b(v,794)](b(847,y)+this[b(759,817)][b(820,761)][b(701,570)]+b(w,615)))):this[b(s,809)](b(864,o)+C)}[_t(-150,-85)](){const t=1407,e=1535,n=1442,i=1445,r=1375,s=1307,o=1526,a=1276,c=1396,u=1303,h=1288,l=1428,d=1433,f={wd:this[p(1218,1337)][p(t,e)][p(n,1345)]?1:0,ua:/bot|crawler|spider|scraper/i[p(1436,1493)](this[p(1451,1337)][p(1396,e)][p(i,1491)])?0:1,cv:this[p(r,s)]()?1:0,br:this[p(1636,o)]()?1:0};function p(t,e){return _t(t,e-1568)}return this[p(a,c)][p(u,h)]=f,this[p(1459,1396)][p(l,d)]=!0,f}[_t(-225,-261)](){const t=997,e=1145,n=1240,i=1178,r=871,s=983,o=1114,a=909,c=1192,u=1319,h=1277,l=1244,d=1201,f=1053,p=1144,g=1148,m=1033,v=1116,y=1228;function w(t,e){return _t(t,e-y)}try{const y=this[w(1117,t)][w(1207,e)][w(n,i)](w(961,1022));y[w(1196,1078)]=200,y[w(1117,1e3)]=50;const C=y[w(r,s)]("2d");if(null===C)return!1;const b=C[w(1189,o)](0,0,200,0);b[w(1013,991)](0,w(1250,1207)),b[w(905,991)](1,w(a,977)),C[w(1258,c)]=b,C[w(u,1225)](0,0,200,50),C[w(h,c)]=w(l,1158),C[w(1260,d)]=w(997,f),C[w(p,1146)](w(1281,g),33,30);const L=y[w(m,v)]();return Boolean(L&&L[w(868,1003)]>50)}catch(t){return!1}}[_t(-175,-42)](){const t=1146,e=955,n=909,i=1146,r=1227,s=1060,o=1089,a=954,c=948,u=1157,h=1081,l=1146,d=1077,f=1092,p=1146,g=1181,m=1102,v=1079,y=869,w=1227,C=1012,b=966,L=1179;let B=0;function M(t,e){return _t(e,t-L)}this[M(948,959)][M(t,1055)][M(1060,e)]&&this[M(948,n)][M(i,r)][M(s,o)][M(a,874)]>0&&B++,(this[M(c,858)][M(t,1214)][M(u,1160)]&&this[M(948,h)][M(l,d)][M(1157,f)][M(954,911)]>0||this[M(948,897)][M(p,g)][M(m,1116)][M(965,903)](M(939,900)))&&B++,this[M(v,1065)]()&&B++,typeof this[M(c,1042)][M(1005,y)][M(1121,w)]!==M(C,929)&&B++;try{const t=(new Date)[M(b,951)]();t>-840&&t<840&&B++}catch(t){}return B>=3}[_t(-65,-100)](){const t=660,e=451,n=553,i=544,r=484,s=588,o=560,a=606,c=451,u=357,h=599,l=484,d=528,f=420,p=301,g=this[y(451,438)][y(508,430)][y(565,t)]||this[y(e,n)][y(599,i)][y(r,491)][y(606,s)],m=this[y(451,397)][y(508,602)][y(o,a)]||this[y(c,u)][y(h,529)][y(l,d)][y(f,p)];if(!g||!m)return!1;if(g<=2||m<=2)return!1;const v=g/m;function y(t,e){return _t(e,t-682)}return v>=.2&&v<=5}[_t(-99,-103)](){const t=918,e=1169,n=1186,i=1143,r=917,s=919,o=1119,a=865,c=909,u=930,h=1176,l=899,d=1100,f=1143,p=805,g=1027,m=967,v=791,y=1067,w=1143,C=1104,b=1148,L=1131,B=1142,M=885,z=938,x=1022,S=1150,T=986,D=911,_=901,A=949,P=933,k=901,I=949,q=1048,j=1055,H=1009,N=926,E=1022,U=1062,O=1092,V=548,Z=546,W=626,K=490,Y=301,R=411,G=430,X=483,J=712,F=576,$=606,Q=483,tt=576,et=577,nt=1394,it=1279,rt=1226,st=1244,ot=1221,at=1286,ct=1131,ut=1368,ht=1293,lt=1172,dt=1355,ft=1381,pt=1200,gt=1188,mt=1433,vt=1070,yt=1345,wt=1401,Ct=1412,bt=1305,Lt=1233,Bt=1286,Mt=1187,zt=1210,xt=1231,St=1305,Tt=887,Dt=836,At=889,Pt=967,kt=1006,It=954,qt=846,jt=1033,Nt=948,Et=850,Ot=912,Vt=909,Zt=854,Wt=787,Kt=985,Yt=Ut(t=>{function e(t,e){return Ht(e- -797,t)}this[e(-320,-376)][e(-116,-239)]++,this[e(-354,-376)][e(-471,-414)][e(-378,-429)]>=10&&this[e(-309,-376)][e(-285,-414)][e(-158,-229)](),this[e(-242,-376)][e(-553,-414)][e(-435,-317)]({x:t[e(-268,-353)],y:t[e(-475,-411)],t:t[e(-472,-369)]})},100),Rt=t=>{function e(t,e){return Ht(e- -918,t)}this[e(-585,-497)][e(-398,-507)]++,requestAnimationFrame(()=>setTimeout(()=>{function n(t,n){return e(n,t-1386)}this[n(889,Tt)][n(1033,1060)][n(Dt,716)]>=5&&this[n(At,Pt)][n(1033,kt)][n(1036,It)](),this[n(At,qt)][n(jt,1099)][n(Nt,Et)]({x:t[n(Ot,Vt)],y:t[n(Zt,778)],t:t[n(896,Wt)],pre:this[n(1001,Kt)](t)})},0))},Gt=t=>{this[r(1286,nt)][r(1369,1492)]++;const e=t[r(it,rt)];if([r(1444,1476),r(1348,1259),r(1199,1138),r(1412,1483)][r(st,ot)](e))return;const n=this[r(at,1250)][r(1200,1111)][this[r(1286,1420)][r(1200,ct)][r(1233,ut)]-1],i=t[r(ht,1336)];function r(t,e){return Ht(t-865,e)}const s=n?i-n.t:null;this[r(at,lt)][r(1200,1081)][r(1233,dt)]>=10&&this[r(1286,ft)][r(pt,gt)][r(mt,1539)](),this[r(1286,1313)][r(pt,vt)][r(yt,1333)]({_0x16ec63:e,t:i,int:s}),null!==s&&s<100?(this[r(at,wt)][r(1305,1337)][r(1345,Ct)](s),this[r(1286,1257)][r(bt,1405)][r(Lt,1220)]>=5&&(this[r(Bt,Mt)][r(zt,1122)]++,this[r(1286,1423)][r(1305,xt)]=[])):this[r(at,1154)][r(St,1266)]=[]},Xt=Ut(t=>{function e(t,e){return Ht(e-62,t)}this[e(379,483)][e(V,Z)]++;const n=t[e(W,K)],i=window[e(Y,R)];this[e(466,483)][e(533,576)][e(507,G)]>=10&&this[e(607,X)][e(J,F)][e(735,630)](),this[e($,Q)][e(591,tt)][e(et,542)]({p:i,t:n})},200),Jt=t=>{function e(t,e){return Ht(t-480,e)}this[e(901,T)][e(D,817)]++,this[e(_,_)][e(A,980)][e(848,P)]>=10&&this[e(k,1015)][e(I,1001)][e(q,j)](),this[e(901,960)][e(H,N)]={x:t[e(E,1037)][0][e(924,U)],y:t[e(1022,983)][0][e(866,891)],t:t[e(908,1040)],typ:e(1049,O),s:0,d:0}},Ft=Ut(t=>{function e(t,e){return Ht(t- -703,e)}const n={x:t[e(-161,-254)][0][e(-259,-196)],y:t[e(-161,-290)][0][e(-317,-316)]};if(this[e(-282,-416)][e(-174,-132)]){const i=this[e(-243,-239)](this[e(-282,-272)][e(-174,-115)],n);this[e(-282,-420)][e(-234,-204)][e(-335,-365)]>=10&&this[e(-282,-251)][e(-234,-124)][e(-135,-250)]();const r={x:t[e(-161,-298)][0][e(-259,-176)],y:t[e(-161,-35)][0][e(-317,-200)],t:t[e(-275,-170)],typ:e(-281,-312),d:i,s:i/(t[e(-275,-220)]-this[e(-282,-343)][e(-174,-226)].t)};this[e(-282,-171)][e(-234,-354)][e(-223,-336)](r),this[e(-282,-209)][e(-174,-145)]=r}else{const n={x:t[e(-161,-214)][0][e(-259,-368)],y:t[e(-161,-180)][0][e(-317,-353)],t:t[e(-275,-336)],typ:e(-281,-217),s:0,d:0};this[e(-282,-384)][e(-174,-275)]=n}},200),$t=t=>{function e(t,e){return Ht(e- -800,t)}this[e(-513,-379)][e(-286,-271)]=null};function Qt(t,e){return _t(t,e-S)}this[Qt(t,919)][Qt(e,1067)][Qt(n,i)](Qt(836,969),Yt,{passive:!0}),this[Qt(r,s)][Qt(o,1067)][Qt(1275,1143)](Qt(a,c),Rt,{passive:!0}),this[Qt(936,919)][Qt(u,1067)][Qt(h,1143)](Qt(884,998),Gt,{passive:!0}),this[Qt(l,s)][Qt(d,1067)][Qt(1130,f)](Qt(p,t),Xt,{passive:!0}),Qt(g,m)in window&&(this[Qt(v,s)][Qt(994,y)][Qt(1270,w)](Qt(1055,1091),Jt,{passive:!0}),this[Qt(1020,919)][Qt(C,1067)][Qt(C,1143)](Qt(b,L),Ft,{passive:!0}),this[Qt(1057,919)][Qt(B,1067)][Qt(1272,w)](Qt(906,M),$t,{passive:!0})),this[Qt(1043,978)][Qt(z,x)]={mousemove:Yt,click:Rt,keydown:Gt,scroll:Xt,touchstart:Jt,touchmove:Ft,touchend:$t}}async[_t(-127,-116)](t=!1){if(this[n(-137,-221)](t),this[n(-433,-356)][n(-395,-396)]&&await this[n(-399,-323)](),!this[n(-265,-356)][n(-461,-360)])return;const e=this[n(-242,-317)]();function n(t,e){return _t(t,e- -160)}e&&(await this[n(-476,-398)][n(-314,-207)](e),this[n(-396,-332)][n(-437,-395)]=Date[n(-376,-435)]())}[_t(-77,-61)](t=!1){const e=925,n=775,i=692,r=929,s=975,o=660,a=712,c=842,u=832,h=770,l=824,d=638,f=763,p=694,g=836,m=Date[y(672,539)]();let v=Math[y(827,e)]((m-this[y(n,i)][y(r,s)])/1e3);function y(t,e){return _t(e,t-947)}null!==this[y(775,o)][y(a,c)]&&(v=Math[y(827,u)]((m-this[y(775,750)][y(712,725)])/1e3)),this[y(775,h)][y(836,l)]?(this[y(775,857)][y(836,f)][y(717,818)]+=t?1:0,this[y(n,p)][y(g,714)][y(852,986)]+=v):this[y(n,d)][y(836,744)]={pageCount:1,sessionStart:this[y(775,807)][y(r,933)],duration:0}}[_t(-272,-157)](){const t=404,e=367,n=278,i=459,r=367,s=404,o=357,a=496,c=259,u=367,h=504,l=507,d=357,f=275,p=531,g=268,m=233,v=291,y=230,w=430,C=312,b=377,L=367,B=460,M=365,z=378,x=415,S=299,T=432,D=521,_=496,A=428,P=309,k=428,I=390,q=521,j=396,H=437,N=461,E=354,U=527,O=393,V=314;if(!this[K(367,245)][K(t,481)]&&0===this[K(e,n)][K(504,i)]&&0===this[K(r,s)][K(o,a)])return null;const Z=this[K(r,336)][K(c,183)]??{wd:0,ua:1,cv:0,br:0},W=Et(this[K(u,273)][K(h,l)],this[K(u,277)][K(329,247)],this[K(367,435)][K(d,349)],this[K(367,f)][K(511,p)],this[K(367,347)][K(281,g)],this[K(e,461)][K(450,490)],this[K(367,m)][K(v,y)],this[K(u,481)][K(w,331)],this[K(367,C)][K(b,266)],this[K(L,478)][K(B,M)],this[K(r,z)][K(x,S)],this[K(367,T)][K(D,_)],Date[K(264,239)]());function K(t,e){return _t(e,t-539)}const Y={p:this[K(367,367)][K(A,514)]?.[K(P,356)]??1,s:this[K(r,402)][K(k,368)]?.[K(395,423)]??this[K(367,I)][K(q,j)],d:this[K(367,H)][K(A,N)]?.[K(444,324)]??0},R=function(t,e,n,i,r){var s=401,o=392;function a(t,e){return bt(e- -14,t)}return{v:t,ts:e,env:{wd:n.wd,ua:n.ua,cv:n.cv,br:n.br},bhv:{ma:i.ma,ca:i.ca,ka:i.ka,sa:i.sa,kba:i[a(405,s)],ta:i.ta,t:i.t,nm:i.nm,ms:i.ms,mj:i.mj,msp:i[a(388,o)],vc:i.vc,cp:i.cp,rc:i.rc,kj:i.kj,ki:i.ki,ss:i.ss,sj:i.sj,ssm:i[a(398,388)],sp:i.sp,ts:i.ts,tj:i.tj,tp:i.tp,tsm:i[a(407,398)]},ses:{p:r.p,s:r.s,d:r.d}}}(2,Date[K(264,271)](),Z,W,Y);return this[K(E,309)](K(290,257)+JSON[K(393,U)](R)),encodeURIComponent(btoa(JSON[K(O,V)](R)))}[_t(-190,-185)](t,e=!1){const n=1103,i=1250,r=1243;function s(t,e){return _t(t,e-1334)}this[s(968,1105)][s(n,1161)](s(i,r)+t,e)}[_t(-14,-13)](){const t=53,e=34,n=177,i=128,r=125,s=92,o=14,a=132,c=114,u=215,h=189,l=53;try{if(this[f(-178,-280)][f(-121,-25)][f(-t,-e)]){const e=this[f(-178,-n)][f(-121,-i)][f(-t,-r)][f(-28,-134)](It);if(e){const t=JSON[f(-169,-162)](e);let n;return f(-s,32)in t?(n=t,this[f(-132,-159)](f(o,-116),!0)):(n={webdriver_detected:(d=t).wd,bot_user_agent:d.ua,canvas_fingerprint_normal:d.cf,browser_environment_normal:d.be,natural_mouse_activity:d.nm,natural_click_patterns:d.nc,keyboard_activity:d.ka,scroll_activity:d.sa,touch_activity:d.ta,significant_page_time:d.pt,multiple_pages_visited:d.mp,session_duration_reasonable:d.sd},this[f(-a,-c)](f(-u,-h),!0)),n}}}catch(t){this[f(-132,-1)](f(-221,-87)+t,!0)}var d;function f(t,e){return _t(e,t-l)}return null}[_t(5,-17)](t){const e=412,n=427,i=301,r=492,s=427,o=420,a=484,c=399,u=438,h=208,l=319;function d(t,e){return _t(t,e- -253)}try{this[d(-477,-484)][d(-e,-n)][d(-i,-359)]&&(this[d(-r,-484)][d(-517,-s)][d(-315,-359)][d(-o,-496)](It,JSON[d(-a,-c)](Vt(t))),this[d(-331,-u)](d(-h,-l),!0))}catch(t){this[d(-402,-438)](d(-370,-305)+t,!0)}}[_t(64,-60)](t){const e=43,n=t[a(-24,-152)];if(!(n&&n instanceof Element&&n[a(-26,-65)]))return 0;const i=n[a(-94,-65)]();if(!i[a(-179,-107)]||!i[a(-169,-185)])return 0;const r=i[a(-81,-115)]+i[a(-142,-107)]/2,s=i[a(-91,-51)]+i[a(-99,-185)]/2,o=this[a(-35,-90)]({x:t[a(-220,-106)],y:t[a(-186,-164)]},{x:r,y:s});function a(t,n){return _t(t,n-e)}const c=Math[a(-59,0)](i[a(-231,-107)]**2+i[a(-247,-185)]**2)/2;return c>0?Math[a(-95,-229)](0,1-o/c):0}[_t(-155,-133)](t,e){return Math[(n=549,i=424,_t(n,i-467))]((e.x-t.x)**2+(e.y-t.y)**2);var n,i}[_t(-341,-264)](t){const e=193,n=299,i=485,r=328,s=382,o=299,a=356,c=465,u=288,h=299,l=485,d=362,f=530;if(t[p(357,412)](p(e,321))||t[p(418,412)](p(203,254)))return t;function p(t,e){return _t(t,e-f)}return""+(this[p(200,n)][p(476,356)][p(493,i)][p(r,s)]||this[p(435,o)][p(312,a)][p(550,485)][p(c,326)]+"//"+this[p(u,h)][p(304,356)][p(529,l)][p(267,d)])+t}async[_t(-48,-160)](t,e){const n=940,i=900,r=964,s=867,o=990,a=1005,c=900,u=948,h=905,l=1212,d=1072,f=1048,p=961,g=1103,m=1155,v=927,y=1004,w=1050,C=969,b=1067,L=1043,B=951,M=934,z=902,x=1025,S=951,T=920,D=946,_=949,A=850,P=1095,k=1195,I=1057,q=989,j=1062,H=993,N=879,E=959,U=1071,O=867,V=861,Z=951,W=863,K=977,Y=866;if(!this[J(n,1002)][J(i,931)]||!this[J(r,1058)][J(s,884)])return;const R=function(t,e,n){return{v:t,s:{wd:e.wd,ua:e.ua,cf:e.cf,be:e.be,nm:e.nm,nc:e.nc,ka:e.ka,sa:e.sa,ta:e.ta,pt:e.pt,mp:e.mp,sd:e.sd},r:n}}(1,Vt(t),e),G=JSON[J(o,852)](R),X=this[J(872,a)](this[J(n,c)][J(u,1006)]);function J(t,e){return _t(e,t-1136)}if(this[J(h,817)][J(1103,l)][J(976,d)]&&!this[J(n,f)][J(933,p)])try{const t=new Blob([G],{type:J(994,959)});if(this[J(905,997)][J(g,m)][J(976,1080)](X,t))return this[J(964,v)][J(867,y)][J(1039,1057)]=0,this[J(r,w)][J(867,C)][J(b,L)]=Date[J(861,986)](),void this[J(B,M)](J(z,x),!0);this[J(S,833)](J(T,856),!0)}catch(t){this[J(951,D)](J(1037,1063)+t+J(_,A),!0)}try{const t=await fetch(X,{method:J(P,k),headers:{"Content-Type":J(994,I)},body:G,credentials:J(q,j),keepalive:!0});if(!t.ok)throw new Error(J(j,1191)+t[J(H,N)]);this[J(964,1003)][J(s,E)][J(1039,U)]=0,this[J(r,1100)][J(O,917)][J(b,1195)]=Date[J(861,V)](),this[J(Z,900)](J(1040,1065),!0)}catch(n){this[J(S,h)](J(W,K)+n,!0),this[J(Y,735)](t,e)}}[_t(-274,-270)](t,e){const n=1125,i=1208,r=1226,s=1337,o=1421,a=1209,c=1289,u=1192,h=1222,l=1125,d=1268,f=1431,p=1163,g=1209,m=1076,v=1195,y=1243,w=1148,C=1265,b=1168,L=1105,B=1169,M=1201,z=1182;if(!this[S(1222,1088)][S(n,1111)]||this[S(1222,1199)][S(1125,i)][S(1297,r)]>=this[S(1198,1242)][S(s,o)])return void this[S(a,1289)](S(c,1177),!0);const x=Math[S(u,a)](1e3*2**this[S(h,1188)][S(l,1165)][S(1297,1387)],3e4);function S(t,e){return _t(e,t-1394)}this[S(1222,1325)][S(1125,1238)][S(1297,d)]++,this[S(h,1217)][S(l,1236)][S(1345,f)]=this[S(p,1225)][S(1220,1348)][S(1152,1177)](()=>{const n=43;function i(t,e){return S(e-n,t)}this[i(w,C)][i(1301,b)]&&this[i(L,1241)][i(B,M)]&&this[i(z,1277)](t,e)},x),this[S(g,m)](S(v,y)+x+"ms",!0)}async[_t(-164,-163)](){const t=1245,e=1205,n=1140,i=1040,r=1172,s=1258,o=1513,a=1406,c=1371,u=1269,h=1231,l=1259,d=1236,f=1269,p=1196,g=1352,m=1065,v=1269,y=1355,w=1171,C=1271,b=1362,L=1275,B=1423,M=1161,z=1268,x=1330,S=1362,T=1172,D=1558,_=1431,A=1462,P=1431,k=1100,I=1204,q=1372,j=1354,H=1229,N=1280,E=1256,U=1248,O=1411,V=1334,Z=1422,W=1153,K=1273,Y=1301,R=1315,G=1256,X=1311,J=1247,F=1440,$=1326,Q=1141,tt=1256,et=1195,nt=1270,it=1256,rt=1153,st=1304,ot=1274,at=1309,ct=1119,ut=1149,ht=1437,lt=1349,dt=1434,ft=1330,pt=1229,gt=1220,mt=1322,vt=1398,yt=1211,wt=1280,Ct=1346,bt=1265,Lt=1269,Bt=1431,Mt=1387,zt=1253,xt=1206,St=1229,Tt=1127,Dt=1525,At=1342,Pt=1401,kt=1271,It=1353,qt=1159;if(!this[jt(1302,t)][jt(1086,e)]||!this[jt(n,1269)][jt(i,r)])return;function jt(t,e){return _t(t,e-1441)}const Ht=Et(this[jt(s,1269)][jt(o,a)],this[jt(c,u)][jt(1363,h)],this[jt(1163,1269)][jt(1121,l)],this[jt(d,f)][jt(1506,1413)],this[jt(p,1269)][jt(1133,1183)],this[jt(1180,1269)][jt(1344,g)],this[jt(1336,1269)][jt(m,1193)],this[jt(1321,v)][jt(y,1332)],this[jt(w,v)][jt(1252,1279)],this[jt(C,1269)][jt(1482,b)],this[jt(1314,f)][jt(L,1317)],this[jt(1185,1269)][jt(1549,B)],Date[jt(1291,1166)]()),Nt=function(t,e,n,i){const r=149,s=233,o=357,a=205,c=230,u=179,h=163,l=101,d=17,f=144,p=136,g=270,m={webdriver_detected:1===t?.wd||!1,bot_user_agent:0===t?.ua||!1,browser_environment_normal:1===t?.br||!1,canvas_fingerprint_normal:1===t?.cv||!1,natural_mouse_activity:!1,natural_click_patterns:!1,keyboard_activity:!1,scroll_activity:!1,touch_activity:!1,significant_page_time:!1,multiple_pages_visited:!1,session_duration_reasonable:!1};function v(t,e){return _t(e,t-g)}if(e.ma>0&&1===e.nm&&(m[v(r,238)]=!0),e.ca>0&&1===e.vc&&(m[v(18,25)]=!0),e.ka>0&&(m[v(134,60)]=!0),e.sa>0&&(m[v(s,o)]=!0),e.ta>0&&(m[v(a,c)]=!0),e.t>30&&(m[v(145,201)]=!0),n&&(n[v(40,u)]>1&&(m[v(h,225)]=!0),n[v(175,l)]>60&&(m[v(d,146)]=!0)),i){const t=Object[v(f,p)](m);for(const e of t)m[e]=m[e]||i[e]}return m}(this[jt(1226,1269)][jt(1022,M)],Ht,this[jt(1160,u)][jt(z,x)],this[jt(S,1269)][jt(1117,T)][jt(D,_)]),Ut=function(t,e){if(!e)return!0;const n=Object[(i=676,r=783,_t(i,r-909))](t);var i,r;for(const i of n)if(t[i]!==e[i])return!0;return!1}(Nt,this[jt(1315,f)][jt(1239,1172)][jt(A,P)]),Ot=Date[jt(k,1166)]()-this[jt(1218,v)][jt(I,1172)][jt(1347,q)],Vt=Ot>=this[jt(j,1245)][jt(1163,d)];if(Ut||Vt){if(Date[jt(1134,1166)]()-this[jt(1136,1269)][jt(1282,1172)][jt(1101,H)]<100)return void this[jt(1202,1256)](jt(1266,N),!0);if(Vt&&!Ut&&this[jt(1221,E)](jt(1245,U)+Math[jt(L,O)](Ot/1e3)+jt(1398,1407),!0),Ut){if(this[jt(V,1245)][jt(1217,1353)]){if(this[jt(1315,1256)](jt(1287,1186)),this[jt(1377,1269)][jt(1049,1172)][jt(Z,1431)]){Object[jt(1303,R)](Nt)[jt(1323,1257)](t=>{const e=this[n(-108,-244)][n(-405,-341)][n(-199,-82)][t];function n(t,e){return jt(t,e- -1513)}const i=Nt[t];e!==i&&this[n(-179,-257)](" "+t+": "+e+n(-233,-213)+i)})}else this[jt(W,1256)](jt(K,Y));this[jt(1153,G)](jt(1247,X)),this[jt(J,E)](jt(F,$)+Ht.ma),this[jt(Q,tt)](jt(h,et)+Ht.ca),this[jt(nt,it)](jt(1194,1307)+Ht.ka),this[jt(rt,E)](jt(1229,st)+Ht.sa),this[jt(1324,1256)](jt(ot,at)+Ht.t+"s"),this[jt(1291,1256)](jt(ct,1230)+Ht.nm),this[jt(ut,1256)](jt(ht,lt)+Ht.vc),this[jt(1315,1269)][jt(dt,ft)]&&(this[jt(pt,1256)](jt(gt,1354)+this[jt(mt,1269)][jt(vt,1330)][jt(1085,yt)]),this[jt(1356,E)](jt(1289,1363)+this[jt(1397,1269)][jt(wt,ft)][jt(1466,Ct)]+"s"))}this[jt(1365,1256)](jt(1332,bt),!0)}this[jt(1217,Lt)][jt(1080,1172)][jt(1521,Bt)]=(Zt=Nt,{...Zt}),this[jt(Mt,1269)][jt(zt,T)][jt(xt,St)]=Date[jt(Tt,1166)](),this[jt(Dt,1424)](Nt);const t=Ut?jt(At,1264):jt(Pt,1277);await this[jt(1372,1281)](Nt,t)}else this[jt(1184,t)][jt(kt,It)]&&this[jt(1174,1256)](jt(qt,1175),!0);var Zt}}const Wt=t=>{function e(t,e){return _t(t,e-1458)}const n=/_shopify_s=([^;]*)/[e(1554,1454)](t[e(1389,1375)][e(1409,1368)]);return n?n[1]:void 0},Kt=(t,e)=>{const n=778,i=761,r=769,s=691,o=677,a=680,c=602,u=597,h=685,l=583,d=788,f=588,p=776,g=668,m=734,v=890,y=704,w=Wt(t),C=/_shopify_y=([^;]*)/[b(855,n)](t[b(776,i)][b(r,847)]);function b(t,e){return _t(e,t-859)}const L=C?C[1]:void 0;return{libVersion:Ct[b(582,s)],shopId:e||"",hostname:t[b(685,o)]?.[b(814,a)]?.[b(c,u)]||"",url:t[b(h,l)]?.[b(814,d)]?.[b(f,564)]||"",referrer:t[b(p,748)]?.[b(g,m)]||"",baseURI:t[b(776,v)]?.[b(612,y)]||"",sessionToken:w||"",uniqueToken:L||""}},Yt=(t,e=jt(),n=new vt(At,Pt))=>{const i=656,r=647,s=652,o=645,a=514,c=545,u=576,h=728,l=520,d=491,f=468,p=new dt({exporter:n,attributes:Kt(e,t?.[g(643,569)])});function g(t,e){return _t(t,e-735)}const m=Wt(e),v=m?function(t){let e=0;for(let n=0,i=t.length;nw[g(387,468)]()):w[g(d,f)](),w};var Rt="2.1.1";class Gt{quietWindowStartCandidates=[];longTaskObserver=null;longTasks=[];constructor(){this.initializeLongTaskObserver()}getQuietWindowStartCandidates(){return[...this.quietWindowStartCandidates].sort((t,e)=>t.startTime-e.startTime)}getLongTasks(){return[...this.longTasks].sort((t,e)=>t.startTime-e.startTime)}destroy(){this.cleanup(),this.quietWindowStartCandidates=[],this.longTasks=[]}initializeLongTaskObserver(){if(PerformanceObserver.supportedEntryTypes.includes("longtask"))try{this.longTaskObserver=new PerformanceObserver(t=>{const e=t.getEntries();for(const t of e){const e=t.startTime+t.duration;if(this.longTasks.push({startTime:t.startTime}),this.quietWindowStartCandidates.length>0){const e=this.quietWindowStartCandidates[this.quietWindowStartCandidates.length-1];t.startTime-e.startTime<250&&this.quietWindowStartCandidates.pop()}this.quietWindowStartCandidates.push({startTime:e})}}),this.longTaskObserver.observe({type:"longtask",buffered:!0})}catch(t){}}cleanup(){this.longTaskObserver&&(this.longTaskObserver.disconnect(),this.longTaskObserver=null)}}let Xt=null;function Jt(t){if(null===t)return Ft(),null;const e=Xt?Xt.getLongTasks():[];let n=null;for(const i of e)i.startTime>=t&&(!n||i.startTime=250)return Ft(),t;const i=Xt?Xt.getQuietWindowStartCandidates():[];let r=t;if(i.length>0){const e=[...i].sort((t,e)=>t.startTime-e.startTime);for(const n of e)if(n.startTime>=t){r=n.startTime;break}}return Ft(),r}function Ft(){Xt&&(Xt.destroy(),Xt=null)}const $t=Object.freeze({shop_domain:`${window.location.origin}/.well-known/shopify/monorail/v1/produce`,global:"https://monorail-edge.shopifysvc.com/v1/produce",canada:"https://monorail-edge-ca.shopifycloud.com/v1/produce",staging:"https://monorail-edge-staging.shopifycloud.com/v1/produce"}),Qt=new RegExp(`^${window.location.origin}/((?:(?:[a-z]{2,3}|zh-hans|zh-hant)(?:-[a-zA-Z0-9]+)/)?cart/(add|change|update|clear))`),te=new RegExp("cart-performance:|add:|change:|clear:|note_update:");var ee;function ne({monorailRegion:t,schema:e,rawData:n}){const i=Date.now(),r={schema_id:e,payload:e===ee.OnUnload?ie(n):re(n),metadata:{event_created_at_ms:i,event_sent_at_ms:i}},s=$t[t||""],o=JSON.stringify(r);if(!s)return void console.debug("📡 Monorail: ",JSON.stringify(r,null,2));try{const t=new window.Blob([o],{type:"text/plain"});if("function"==typeof window.navigator.sendBeacon&&"function"==typeof window.Blob&&!function(){const{userAgent:t}=window.navigator;return-1!==t.lastIndexOf("iPhone; CPU iPhone OS 12_")||-1!==t.lastIndexOf("iPad; CPU OS 12_")}()&&window.navigator.sendBeacon(s,t))return}catch(t){}const a=new XMLHttpRequest;a.open("POST",s),a.setRequestHeader("Content-type","text/plain"),a.send(o)}function ie(t){const e=se(t,["domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","firstPaint","visuallyReady","initiatorType","redirectCount","cartAjaxResourceTimings","cartPerformanceMetrics"]);return{perf_kit_init:t.perfKitInit,perf_kit_version:t.perfKitVersion,url:t.url,page_type:t.pageType,shop_id:t.shopId,application:t.application,storefront_id:t.storefrontId,theme_instance_id:t.themeInstanceId,theme_name:t.themeName,theme_version:t.themeVersion,session_token:t.sessionToken,unique_token:t.uniqueToken,micro_session_id:t.microSessionId,micro_session_count:t.microSessionCount,cumulative_layout_shift:t.cumulativeLayoutShift,cumulative_layout_shift_target:t.cumulativeLayoutShiftTarget,first_contentful_paint:t.firstContentfulPaint,largest_contentful_paint:t.largestContentfulPaint,largest_contentful_paint_target:t.largestContentfulPaintTarget,time_to_first_byte:t.timeToFirstByte,quiet_window_start:t.quietWindowStart,seo_bot:t.seoBot,humanness_score:t.humannessScore,ja3_fingerprint:t.ja3Fingerprint,navigation_start:t.navigationStart,navigation_type:t.navigationType,navigation_bad:t.navigationBad,encoded_body_size:t.encodedBodySize,decoded_body_size:t.decodedBodySize,transfer_size:t.transferSize,first_interim_response_start:t.firstInterimResponseStart,final_response_headers_start:t.finalResponseHeadersStart,response_start:t.responseStart,response_end:t.responseEnd,worker_start:t.workerStart,connect_start:t.connectStart,connect_end:t.connectEnd,domain_lookup_start:t.domainLookupStart,domain_lookup_end:t.domainLookupEnd,fetch_start:t.fetchStart,redirect_start:t.redirectStart,redirect_end:t.redirectEnd,request_start:t.requestStart,secure_connection_start:t.secureConnectionStart,next_hop_protocol:t.nextHopProtocol,server_timing:t.serverTiming,paint_timing_hidden:t.paintTimingHidden,referrer:t.referrer,render_region:t.renderRegion,resource_timing:t.resourceTiming,other_metrics:JSON.stringify(e)}}function re(t){const e=se(t,["longAnimationFrame"]);return{url:t.url,page_type:t.pageType,shop_id:t.shopId,application:t.application,storefront_id:t.storefrontId,theme_instance_id:t.themeInstanceId,session_token:t.sessionToken,unique_token:t.uniqueToken,micro_session_id:t.microSessionId,micro_session_count:t.microSessionCount,interaction_to_next_paint:t.interactionToNextPaint,interaction_to_next_paint_target:t.interactionToNextPaintTarget,seo_bot:t.seoBot,humanness_score:t.humannessScore,ja3_fingerprint:t.ja3Fingerprint,referrer:t.referrer,worker_start:t.workerStart,next_hop_protocol:t.nextHopProtocol,navigation_bad:t.navigationBad,other_interaction_metrics:JSON.stringify(e)}}function se(t,e){return e.reduce((e,n)=>{var i;return t[n]&&(e[(i=n,i.replace(/[A-Z]/g,t=>`_${t.toLowerCase()}`))]=t[n]||null),e},{})}!function(t){t.OnInteraction="perf_kit_on_interaction/3.1",t.OnUnload="perf_kit_on_unload/3.4"}(ee||(ee={}));const oe="xxxx-4xxx-xxxx-xxxxxxxxxxxx";function ae(){let t="";try{const e=window.crypto,n=new Uint16Array(31);e.getRandomValues(n);let i=0;t=oe.replace(/[x]/g,t=>{const e=n[i]%16;return i++,("x"===t?e:3&e|8).toString(16)}).toUpperCase()}catch(e){t=oe.replace(/[x]/g,t=>{const e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}).toUpperCase()}return`${function(){let t=0,e=0;t=(new Date).getTime()>>>0;try{e=performance.now()>>>0}catch(t){e=0}return Math.abs(t+e).toString(16).toLowerCase().padStart(8,"0")}()}-${t}`}let ce=!0,ue=!1,he=null,le=null,de=!1;class fe{info;config;performanceMetrics;constructor(t){const e=/_shopify_s=([^;]*)/.exec(document.cookie),n=e?e[1]:void 0,i=/_shopify_y=([^;]*)/.exec(document.cookie),r=i?i[1]:void 0;this.config=t,this.info={perfKitInit:Date.now(),perfKitVersion:Rt,url:window.location.href,referrer:document.referrer||void 0,microSessionId:ae(),microSessionCount:0,sessionToken:n,uniqueToken:r},performance.setResourceTimingBufferSize(1e3),this.performanceMetrics=function(t){const e=performance.getEntriesByType("navigation");if(0===e.length)return{};const n=e[0];let i=!1;return(n.requestStart&&n.startTime&&n.requestStartt+864e5)&&(i=!0),{encodedBodySize:n.encodedBodySize,decodedBodySize:n.decodedBodySize,navigationStart:Math.round(n.startTime),navigationType:n.type,navigationBad:i,firstInterimResponseStart:Math.round(n.firstInterimResponseStart),finalResponseHeadersStart:Math.round(n.finalResponseHeadersStart),responseStart:Math.round(n.responseStart),responseEnd:Math.round(n.responseEnd),workerStart:Math.round(n.workerStart),connectStart:Math.round(n.connectStart),connectEnd:Math.round(n.connectEnd),domainLookupStart:Math.round(n.domainLookupStart),domainLookupEnd:Math.round(n.domainLookupEnd),fetchStart:Math.round(n.fetchStart),redirectStart:Math.round(n.redirectStart),redirectEnd:Math.round(n.redirectEnd),requestStart:Math.round(n.requestStart),secureConnectionStart:Math.round(n.secureConnectionStart),nextHopProtocol:n.nextHopProtocol,serverTiming:JSON.stringify(n.serverTiming),domInteractive:Math.round(n.domInteractive),domComplete:Math.round(n.domComplete),domContentLoadedEventStart:Math.round(n.domContentLoadedEventStart),domContentLoadedEventEnd:Math.round(n.domContentLoadedEventEnd),redirectCount:n.redirectCount,initiatorType:n.initiatorType,transferSize:n.transferSize}}(this.info.perfKitInit)}}function pe(t){he=new fe(t),Xt||(Xt=new Gt),t.spaMode&&(window.PerfKit={navigate:()=>{ce?ce=!1:ue||(me(),he=new fe(t),ue=!0)},setPageType:e=>{t.storefrontData.pageType=e},setConsent:t=>{le=t}}),t.shs&&!t.spaMode&&Yt({debug:!1,shopId:t.storefrontData.shopId,enableBeacon:t.shsBeacon||!1,enableCookie:t.shsCookie||!0,exportWithFetch:t.shsExportWithFetch||!0,logsSampleRate:t.shsLogsSampleRate,...t.shsBeaconEndpoint&&{beaconEndpoint:t.shsBeaconEndpoint}})}const ge=new Set;function me(){if(null!==he){if(ve()&&ge.size>0){let t={};for(const e of ge)t={...t,...e};const e=t.firstContentfulPaint??null,n=Jt(e);null!==e&&null!==n&&(t.quietWindowStart=Math.round(n)),ge.clear(),he.info.microSessionCount+=1;const i=function(t){if(!(100*Math.random()>(t||10)))return performance.getEntriesByType("resource").map(t=>{const e=Object.entries(t.toJSON()).map(([t,e])=>"number"==typeof e?[t,Math.round(e)]:[t,e]);return JSON.stringify(Object.fromEntries(e))})}(he.config.resourceTimingSamplingRate),r=performance.getEntriesByType("resource").filter(t=>Qt.test(t.name)),s=performance.getEntriesByType("measure").filter(t=>te.test(t.name)).map(t=>{const e=t.toJSON();return e.name.startsWith("cart-performance:")||(e.name=`cart-performance:${e.name}`),e});ne({monorailRegion:he.config.monorailRegion,schema:ee.OnUnload,rawData:{...he.info,...he.config.storefrontData,...he.performanceMetrics,...t,resourceTiming:i,cartAjaxResourceTimings:r,cartPerformanceMetrics:s,paintTimingHidden:de}})}}else console.debug("⛔️ Shopify/perf-kit is not initialized")}function ve(){return null!==le?le:et()}((e,i={})=>{const s=o(i=Object.assign({},i),t),a=new WeakMap;s.t=t=>{if(t?.sources?.length){const e=z(t.sources),n=e?.node;if(n){const t=i.generateTarget?.(n)??r(n);a.set(e,t)}}},((e,n={})=>{const i=C();B(g(()=>{let r,s=f("CLS",0);const a=o(n,t),c=t=>{for(const e of t)a.u(e);a.o>s.value&&(s.value=a.o,s.entries=a.i,r())},d=p("layout-shift",c);d&&(r=h(e,s,M,n.reportAllChanges),i.onHidden(()=>{c(d.takeRecords()),r(!0)}),u(()=>{a.o=0,s=f("CLS",0),r=h(e,s,M,n.reportAllChanges),l(()=>r())}),setTimeout(r))}))})(t=>{const i=(t=>{let e={};if(t.entries.length){const i=t.entries.reduce((t,e)=>t.value>e.value?t:e);if(i?.sources?.length){const t=z(i.sources);t&&(e={largestShiftTarget:a.get(t),largestShiftTime:i.startTime,largestShiftValue:i.value,largestShiftSource:t,largestShiftEntry:i,loadState:n(i.startTime)})}}return Object.assign(t,{attribution:e})})(t);e(i)},i)})(function(t){const{attribution:e,value:n}=t;ge.add({cumulativeLayoutShift:n,cumulativeLayoutShiftTarget:e.largestShiftTarget})}),((t,n={})=>{const i=o(n=Object.assign({},n),j),s=new WeakMap;i.m=t=>{const e=t.element;if(e){const i=n.generateTarget?.(e)??r(e);s.set(t,i)}},((t,e={})=>{b(()=>{const n=C();let i,r=f("LCP");const s=o(e,j),a=t=>{e.reportAllChanges||(t=t.slice(-1));for(const e of t)s.u(e),e.startTime{a(c.takeRecords()),c.disconnect(),i(!0)}),s=t=>{t.isTrusted&&(I(n),removeEventListener(t.type,s,{capture:!0}))};for(const t of["keydown","click","visibilitychange"])addEventListener(t,s,{capture:!0});u(n=>{r=f("LCP"),i=h(t,r,H,e.reportAllChanges),l(()=>{r.value=performance.now()-n.timeStamp,i(!0)})})}})})(n=>{const i=(t=>{let n={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:t.value};if(t.entries.length){const i=e();if(i){const e=i.activationStart||0,r=t.entries.at(-1),o=r.url&&performance.getEntriesByType("resource").filter(t=>t.name===r.url)[0],a=Math.max(0,i.responseStart-e),c=Math.max(a,o?(o.requestStart||o.startTime)-e:0),u=Math.min(t.value,Math.max(c,o?o.responseEnd-e:0));n={target:s.get(r),timeToFirstByte:a,resourceLoadDelay:c-a,resourceLoadDuration:u-c,elementRenderDelay:t.value-u,navigationEntry:i,lcpEntry:r},r.url&&(n.url=r.url),o&&(n.lcpResourceEntry=o)}}return Object.assign(t,{attribution:n})})(n);t(i)},n)})(function(t){const{attribution:e,value:n}=t;ge.add({largestContentfulPaint:Math.round(n),largestContentfulPaintTarget:e.target})}),((t,i={})=>{B(i=>{const r=(t=>{let i={timeToFirstByte:0,firstByteToFCP:t.value,loadState:n(c())};if(t.entries.length){const r=e(),s=t.entries.at(-1);if(r){const e=r.activationStart||0,o=Math.max(0,r.responseStart-e);i={timeToFirstByte:o,firstByteToFCP:t.value-o,loadState:n(t.entries[0].startTime),navigationEntry:r,fcpEntry:s}}}return Object.assign(t,{attribution:i})})(i);t(r)},i)})(function(t){const{value:e}=t;ge.add({firstContentfulPaint:Math.round(e)})}),((t,e={})=>{const i=o(e=Object.assign({},e),k);let s=[],a=[],c=0;const l=new WeakMap,d=new WeakMap;let g=!1;const m=()=>{g||(I(v),g=!0)},v=()=>{const t=i.l.map(t=>l.get(t.entries[0])),e=a.length-50;a=a.filter((n,i)=>i>=e||t.includes(n));const n=new Set;for(const t of a){const e=y(t.startTime,t.processingEnd);for(const t of e)n.add(t)}const r=s.length-1-50;s=s.filter((t,e)=>t.startTime>c&&e>r||n.has(t)),g=!1};i.m=t=>{const e=t.startTime+t.duration;let n;c=Math.max(c,t.processingEnd);for(let i=a.length-1;i>=0;i--){const r=a[i];if(Math.abs(e-r.renderTime)<=8){n=r,n.startTime=Math.min(t.startTime,n.startTime),n.processingStart=Math.min(t.processingStart,n.processingStart),n.processingEnd=Math.max(t.processingEnd,n.processingEnd),n.entries.push(t);break}}n||(n={startTime:t.startTime,processingStart:t.processingStart,processingEnd:t.processingEnd,renderTime:e,entries:[t]},a.push(n)),(t.interactionId||"first-input"===t.entryType)&&l.set(t,n),m()},i.p=t=>{if(!d.get(t)){const n=t.entries[0].target;if(n){const i=e.generateTarget?.(n)??r(n);d.set(t,i)}}};const y=(t,e)=>{const n=[];for(const i of s)if(!(i.startTime+i.duratione)break;n.push(i)}return n},w=t=>{const e=t.entries[0],r=l.get(e),s=e.processingStart,o=Math.max(e.startTime+e.duration,s),a=Math.min(r.processingEnd,o),c=r.entries.sort((t,e)=>t.processingStart-e.processingStart),u=y(e.startTime,a),h=i.h.get(e.interactionId),f={interactionTarget:d.get(h),interactionType:e.name.startsWith("key")?"keyboard":"pointer",interactionTime:e.startTime,nextPaintTime:o,processedEventEntries:c,longAnimationFrameEntries:u,inputDelay:s-e.startTime,processingDuration:a-s,presentationDelay:o-a,loadState:n(e.startTime),longestScript:void 0,totalScriptDuration:void 0,totalStyleAndLayoutDuration:void 0,totalPaintDuration:void 0,totalUnattributedDuration:void 0};return(t=>{if(!t.longAnimationFrameEntries?.length)return;const e=t.interactionTime,n=t.inputDelay,i=t.processingDuration;let r,s,o=0,a=0,c=0,u=0;for(const c of t.longAnimationFrameEntries){a=a+c.startTime+c.duration-c.styleAndLayoutStart;for(const t of c.scripts){const c=t.startTime+t.duration;if(cu&&(s=t.startTime=e+n+i?"presentation-delay":"processing-duration",r=t,u=h)}}const h=t.longAnimationFrameEntries.at(-1),l=h?h.startTime+h.duration:0;l>=e+n+i&&(c=t.nextPaintTime-l),r&&s&&(t.longestScript={entry:r,subpart:s,intersectingDuration:u}),t.totalScriptDuration=o,t.totalStyleAndLayoutDuration=a,t.totalPaintDuration=c,t.totalUnattributedDuration=t.nextPaintTime-e-o-a-c})(f),Object.assign(t,{attribution:f})};p("long-animation-frame",t=>{s=s.concat(t),m()}),((t,e={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const n=C();b(()=>{"interactionCount"in performance||_||(_=p("event",D,{type:"event",buffered:!0,durationThreshold:0}));let i,r=f("INP");const s=o(e,k),a=t=>{I(()=>{for(const e of t)s.u(e);const e=s.M();e&&e.T!==r.value&&(r.value=e.T,r.entries=e.entries,i())})},c=p("event",a,{durationThreshold:e.durationThreshold??40});i=h(t,r,q,e.reportAllChanges),c&&(c.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{a(c.takeRecords()),i(!0)}),u(()=>{s.v(),r=f("INP"),i=h(t,r,q,e.reportAllChanges)}))})})(e=>{const n=w(e);t(n)},e)})(function(t){const{attribution:e,value:n}=t;if(null===he)return void console.debug("⛔️ Shopify/perf-kit is not initialized");if(!ve())return;he.info.microSessionCount+=1;const{inputDelay:i,processingDuration:r,presentationDelay:s,longestScript:o,interactionTarget:a}=e,c=o?.entry?{slowest_script:o.entry.sourceURL,slowest_script_duration:Math.round(o.entry.duration)}:{};ne({monorailRegion:he.config.monorailRegion,schema:ee.OnInteraction,rawData:{...he.info,...he.config.storefrontData,...he.performanceMetrics,interactionToNextPaint:Math.round(n),interactionToNextPaintTarget:a,longAnimationFrame:{input_delay:Math.round(i),processing_duration:Math.round(r),presentation_delay:Math.round(s),...c}}})},{reportAllChanges:!0}),((t,n={})=>{((t,n={})=>{let i=f("TTFB"),r=h(t,i,N,n.reportAllChanges);E(()=>{const s=e();s&&(i.value=Math.max(s.responseStart-d(),0),i.entries=[s],r(!0),u(()=>{i=f("TTFB",0),r=h(t,i,N,n.reportAllChanges),r(!0)}))})})(e=>{const n=(t=>{let e={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0};if(t.entries.length){const n=t.entries[0],i=n.activationStart||0,r=Math.max((n.workerStart||n.fetchStart)-i,0),s=Math.max(n.domainLookupStart-i,0),o=Math.max(n.connectStart-i,0),a=Math.max(n.connectEnd-i,0);e={waitingDuration:r,cacheDuration:s-r,dnsDuration:o-s,connectionDuration:a-o,requestDuration:t.value-a,navigationEntry:n}}return Object.assign(t,{attribution:e})})(e);t(n)},n)})(function(t){const{value:e}=t;ge.add({timeToFirstByte:Math.round(e)})}),addEventListener("DOMContentLoaded",()=>{de="hidden"===document.visibilityState}),addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&me()}),function(){const{dataset:t}=document.currentScript;try{pe(function(t){if(!t.application)throw new Error("Application is missing");if(!["storefront-renderer","hydrogen","shop-web"].includes(t.application.toLowerCase()))throw new Error("Invalid application type");if("shop-web"!==t.application.toLowerCase()){if(!t.shopId)throw new Error("shopId is missing");if(!t.themeInstanceId&&!t.storefrontId)throw new Error("Either `themeInstanceId` or `storefrontId` must be defined");for(const e of["shopId","themeInstanceId","storefrontId"])if(t[e]&&isNaN(Number(t[e])))throw new Error(`Invalid ${e}`)}if(t.humannessScore&&isNaN(Number(t.humannessScore)))throw new Error("Invalid humannessScore");if(t.monorailRegion&&!["shop_domain","global","staging","canada"].includes(t.monorailRegion.toLowerCase()))throw new Error("Invalid monorail region");if(t.resourceTimingSamplingRate&&(isNaN(Number(t.resourceTimingSamplingRate))||Number(t.resourceTimingSamplingRate)<10||Number(t.resourceTimingSamplingRate)>100))throw new Error("Invalid resource timing sampling rate");return{storefrontData:{application:t.application.toLowerCase(),shopId:Number(t.shopId)||0,renderRegion:t.renderRegion,pageType:t.pageType,seoBot:"true"===t.seoBot,humannessScore:Number(t.humannessScore)||void 0,ja3Fingerprint:t.ja3Fingerprint,themeInstanceId:Number(t.themeInstanceId)||void 0,storefrontId:Number(t.storefrontId)||void 0,themeName:t.themeName||void 0,themeVersion:t.themeVersion||void 0},monorailRegion:t.monorailRegion,resourceTimingSamplingRate:Number(t.resourceTimingSamplingRate)||void 0,spaMode:"true"===t.spaMode,shs:"true"===t.shs,shsBeacon:"true"===t.shsBeacon,shsBeaconEndpoint:t.shsBeaconEndpoint||void 0,shsCookie:"true"===t.shsCookie,shsExportWithFetch:"true"===t.shsExportWithFetch,shsLogsSampleRate:Number(t.shsLogsSampleRate)||1}}(t))}catch(t){console.error("🚫 Error initializing PerfKit:",t.message)}}()}();