!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(/^#/,"")},i=t=>{let e="";try{for(;9!==t?.nodeType;){const n=t,i=n.id?"#"+n.id:[r(n),...Array.from(n.classList).sort()].join(".");if(e.length+i.length>99)return e||i;if(e=e?i+">"+e:i,n.id)break;t=n.parentNode}}catch{}return e},o=new WeakMap;function s(t,e){return o.get(t)||o.set(t,new e),o.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,r)=>{let i,o;return s=>{e.value>=0&&(s||r)&&(o=e.value-(i??0),(o||void 0===i)&&(i=e.value,e.delta=o,e.rating=((t,e)=>t>e[1]?"poor":t>e[0]?"needs-improvement":"good")(e.value,n),t(e)))}},d=t=>{requestAnimationFrame(()=>requestAnimationFrame(()=>t()))},f=()=>{const t=e();return t?.activationStart??0},l=(t,n=-1)=>{const r=e();let i="navigate";return c()>=0?i="back-forward-cache":r&&(document.prerendering||f()>0?i="prerender":document.wasDiscarded?i="restore":r.type&&(i=r.type.replace(/_/g,"-"))),{name:t,value:n,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:i}},m=(t,e,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const r=new PerformanceObserver(t=>{Promise.resolve().then(()=>{e(t.getEntries())})});return r.observe({type:t,buffered:!0,...n}),r}}catch{}},p=t=>{let e=!1;return()=>{e||(t(),e=!0)}};let g=-1;const v=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,y=t=>{"hidden"===document.visibilityState&&g>-1&&(g="visibilitychange"===t.type?t.timeStamp:0,L())},w=()=>{addEventListener("visibilitychange",y,!0),addEventListener("prerenderingchange",y,!0)},L=()=>{removeEventListener("visibilitychange",y,!0),removeEventListener("prerenderingchange",y,!0)},S=()=>{if(g<0){const t=f(),e=document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(e=>"hidden"===e.name&&e.startTime>t)[0]?.startTime;g=e??v(),w(),u(()=>{setTimeout(()=>{g=v(),w()})})}return{get firstHiddenTime(){return g}}},C=t=>{document.prerendering?addEventListener("prerenderingchange",()=>t(),!0):t()},M=[1800,3e3],T=(t,e={})=>{C(()=>{const n=S();let r,i=l("FCP");const o=m("paint",t=>{for(const e of t)"first-contentful-paint"===e.name&&(o.disconnect(),e.startTime{i=l("FCP"),r=h(t,i,M,e.reportAllChanges),d(()=>{i.value=performance.now()-n.timeStamp,r(!0)})}))})},B=[.1,.25],D=t=>t.find(t=>1===t.node?.nodeType)||t[0];let _=0,x=1/0,b=0;const z=t=>{for(const e of t)e.interactionId&&(x=Math.min(x,e.interactionId),b=Math.max(b,e.interactionId),_=b?(b-x)/7+1:0)};let A;const E=()=>A?_:performance.interactionCount??0;let k=0;class q{l=[];h=new Map;m;p;v(){k=E(),this.l.length=0,this.h.clear()}M(){const t=Math.min(this.l.length-1,Math.floor((E()-k)/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 P=t=>{const e=globalThis.requestIdleCallback||setTimeout;"hidden"===document.visibilityState?t():(t=p(t),document.addEventListener("visibilitychange",t,{once:!0}),e(()=>{t(),document.removeEventListener("visibilitychange",t)}))},I=[200,500];class j{m;u(t){this.m?.(t)}}const H=[2500,4e3],N=[800,1800],U=t=>{document.prerendering?C(()=>U(t)):"complete"!==document.readyState?addEventListener("load",()=>U(t),!0):setTimeout(t)},R="",K="1",O="0",Z="p",V="a",X="m",W="t",J="m",Y="a",F="p",G="s";function $(t){try{return decodeURIComponent(t)}catch(t){return""}}function Q(t,e=!1){const n=function(){try{return document.cookie}catch{return!1}}()?document.cookie.split("; "):[];for(let e=0;et.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())?O:e.includes(t.toUpperCase())?K:R}function h(t){return n.includes(t.replace("t","s").toUpperCase())}return{v:"3",con:{CMP:{[Y]:u(Y),[F]:u(F),[J]:u(J),[G]:u(G)}},region:r||"",cus:a,purposes:{[V]:h(V),[Z]:h(Z),[X]:h(X),[W]:h(W)},sale_of_data_region:"t"==o,display_banner:"t"==i,consent_id:c}}(t);return}(t)}function et(){return function(t){const e=tt();if(!e||!e.purposes)return!0;const n=e.purposes[t];return"boolean"!=typeof n||n}(V)}function nt(){return et()}var rt="2.0.4";const it=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"}),ot=new RegExp(`^${window.location.origin}/((?:(?:[a-z]{2,3}|zh-hans|zh-hant)(?:-[a-zA-Z0-9]+)/)?cart/(add|change|update|clear))`),st=new RegExp("cart-performance:|add:|change:|clear:|note_update:");var at;function ct({monorailRegion:t,schema:e,rawData:n}){const r=Date.now(),i={schema_id:e,payload:e===at.OnUnload?ut(n):ht(n),metadata:{event_created_at_ms:r,event_sent_at_ms:r}},o=it[t||""],s=JSON.stringify(i);if(!o)return void console.debug("📡 Monorail: ",JSON.stringify(i,null,2));try{const t=new window.Blob([s],{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(o,t))return}catch(t){}const a=new XMLHttpRequest;a.open("POST",o),a.setRequestHeader("Content-type","text/plain"),a.send(s)}function ut(t){const e=dt(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,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 ht(t){const e=dt(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 dt(t,e){return e.reduce((e,n)=>{var r;return t[n]&&(e[(r=n,r.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.3"}(at||(at={}));const ft="xxxx-4xxx-xxxx-xxxxxxxxxxxx";function lt(){let t="";try{const e=window.crypto,n=new Uint16Array(31);e.getRandomValues(n);let r=0;t=ft.replace(/[x]/g,t=>{const e=n[r]%16;return r++,("x"===t?e:3&e|8).toString(16)}).toUpperCase()}catch(e){t=ft.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}`}!function(t){const e=86,n=30,r=57,i=46,o=10,s=15,a=105,c=95,u=104,h=39,d=204,f=t();function l(t,e){return Dt(e- -439,t)}for(;;)try{if(764369===parseInt(l(-e,-100))/1*(-parseInt(l(-n,-r))/2)+-parseInt(l(152,i))/3+parseInt(l(-o,-s))/4+-parseInt(l(-117,-33))/5+parseInt(l(183,83))/6*(-parseInt(l(-a,-c))/7)+parseInt(l(-10,-u))/8*(-parseInt(l(43,30))/9)+parseInt(l(h,-66))/10*(parseInt(l(-d,-a))/11))break;f.push(f.shift())}catch(t){f.push(f.shift())}}(_t);const mt=function(){let t=!0;return function(e,n){const r=596,i=620,o=t?function(){const t=282;if(n){const a=n[(o=r,s=i,Dt(s-t,o))](e,arguments);return n=null,a}var o,s}:function(){};return t=!1,o}}(),pt=mt(this,function(){const t=1563,e=1335,n=1399,r=1484,i=1293;function o(t,e){return Dt(e-977,t)}return pt[o(1312,1399)]()[o(t,1484)](o(e,1332))[o(1326,n)]()[o(1297,1309)](pt)[o(1574,r)](o(i,1332))});pt();const gt=Lt(573,601),vt=Lt(456,459);class yt{[Lt(471,383)];[Lt(602,701)];constructor(t,e){const n=369,r=287;function i(t,e){return Lt(t- -148,e)}this[i(323,386)]=t,this[i(454,n)]={path:"/",sameSite:i(325,r),debug:!1,...e}}async[Lt(521,571)](){const t=1034,e=1066,n=913,r=956,i=1006,o=842,s=944,a=890,c=485,u=this[h(1184,1087)][h(933,962)];if(this[h(t,956)][h(982,e)])try{const t=await this[h(n,r)][h(1008,1066)][h(1061,i)]({name:u});return t?t[h(1039,1076)]:null}catch(t){return this[h(o,s)]()}function h(t,e){return Lt(e-c,t)}return this[h(a,944)]()}async[Lt(454,404)](t){const e=347,n=390,r=272,i=287,o=435,s=239,a=310,c=460,u=435,h=442,d=421,f=435,l=478,m=194,p=296,g=513,v=452,y=511;function w(t,e){return Lt(e- -167,t)}if(this[w(238,304)][w(448,414)])try{await this[w(e,304)][w(n,414)][w(r,i)]({name:this[w(538,o)][w(s,a)],value:t,path:this[w(c,u)][w(h,478)],maxAge:this[w(d,f)][w(478,434)],sameSite:this[w(l,435)][w(448,438)]?.[w(m,267)]()})[w(278,p)](e=>{var n,r;this[(n=534,r=568,w(r,n-82))](t)})}catch(e){this[w(g,v)](t)}else this[w(y,v)](t)}[Lt(459,425)](){const t=552,e=720,n=632,r=617,i=639,o=679,s=128,a=this[u(730,767)][u(605,t)],c=new RegExp(u(e,643)+a+u(573,n))[u(r,688)](this[u(599,505)][u(690,i)][u(o,600)]);function u(t,e){return Lt(t-s,e)}return c?c[2]:null}[Lt(619,562)](t){function e(t,e){return Lt(t- -890,e)}this[e(-419,-454)][e(-328,-376)][e(-339,-423)]=this[e(-288,-310)][e(-413,-469)]+"="+t+e(-380,-276)+this[e(-288,-237)][e(-245,-272)]+e(-381,-277)+this[e(-288,-195)][e(-289,-329)]+e(-318,-382)+this[e(-288,-279)][e(-285,-346)]}[Lt(449,489)](t){function e(t,e){return Lt(t- -664,e)}this[e(-62,-36)][e(-162,-242)]&&console[e(-215,-159)](e(-138,-114)+t)}}const wt={document:document,navigator:typeof navigator!==Lt(527,610)?{get webdriver(){return navigator[(t=-302,e=-344,Lt(t- -800,e))];var t,e},get userAgent(){return navigator[(t=1243,e=1145,Lt(t-763,e))];var t,e},get languages(){return navigator[(t=-344,e=-338,Lt(e- -793,t))];var t,e},get plugins(){return navigator[(t=477,e=525,Lt(e- -16,t))];var t,e},sendBeacon:navigator[Lt(561,659)]?.[Lt(638,580)](navigator)}:{webdriver:void 0,userAgent:"",languages:[],plugins:[],sendBeacon:void 0},window:window,screen:screen,cookieStore:typeof window!==Lt(527,553)&&Lt(581,531)in window?window[Lt(581,597)]:void 0,performance:typeof performance!==Lt(527,527)?performance:void 0};function Lt(t,e){return Dt(t-109,e)}function St(t){const e=486,n=463,r=542,i=543;if(t[a(463,454)]<2)return{speed:0,jitter:0};const o=t[a(e,461)]((t,e)=>t+e.s,0)/t[a(n,r)],s=t[a(486,475)]((t,e)=>t+(e.s-o)**2,0)/(t[a(463,515)]-1);function a(t,e){return Lt(t- -82,e)}const c=Math[a(i,535)](s);return{speed:o,jitter:c}}function Ct(t,e,n,r,i,o,s,a,c,u,h,d,f){const l=664,m=767,p=688,g=730,v=668,y=750,w=841,L=774,S=869,C=807,M=684,T=774,B=756,D=797,_=873,x=733,b=674,z=774,A=702,E=703,k=700,q=710,P=841,I=808,j=767,H=767,N=847,U=629,R=543,K=229,O=Math[W(741,767)](1e3,t),Z=Math[W(l,m)](1e3,n),V=Math[W(826,767)](1e3,o),X=Math[W(p,767)](1e3,a);function W(t,e){return Lt(e-K,t)}const J=Math[W(811,767)](1e3,s),Y=Math[W(g,767)](1e3,c),F=[];if(e[W(v,774)]>=3)for(let t=1;t5e-4){n=!0;break}r=i.s}else r=i.s;return n}(F),$=function(t){if(t[n(-607,-560)]<3)return 0;let e=0;function n(t,e){return Lt(e- -1105,t)}let r=0;for(let i=1;i2*Math.PI-Math.PI/12)&&e++,r++}return r>0?e/r:0}(e),{speed:Q,jitter:tt}=St(F);let et=0,nt=0;if(r[W(866,L)]>1){const t=new Set(r[W(704,758)](t=>Math[W(879,847)](t.x/20)+","+Math[W(768,847)](t.y/20)))[W(S,799)];et=t>1?1:0,nt=r[W(C,797)]((t,e)=>t+e[W(790,723)],0)/r[W(M,T)]}const rt=i[W(B,D)]((t,e)=>{if(null===e[n(558,U)])return t;function n(t,e){return W(e,t- -298)}return t[n(R,458)](e[n(558,534)]),t},[]),{rhythmConsistency:it,jitter:ot}=function(t){const e=129,n=174,r=146,i=125,o=197,s=186,a=218;function c(t,e){return Lt(e- -439,t)}if(t[c(42,106)]<2)return{rhythmConsistency:0,jitter:0};const u=t[c(164,e)]((t,e)=>t+e,0)/t[c(n,106)],h=t[c(r,129)]((t,e)=>(t??0)+((e??0)-u)**2,0)/t[c(i,106)],d=Math[c(o,s)](h);return{rhythmConsistency:0===d?1:Math[c(a,171)](0,1-d/u),jitter:d/u}}(rt),st=rt[W(_,T)]>0?rt[W(x,D)]((t,e)=>t+e,0)/rt[W(839,774)]:0,at=[];if(u[W(b,T)]>=3)for(let t=1;tu[t-1].p?W(k,q):"up";at[W(763,P)]({s:r,dir:i,t:u[t].t})}const{speed:ct,jitter:ut}=St(at),ht=function(t){const e=704,n=560,r=666,i=847,o=230;if(t[a(684,775)]<2)return 0;let s=0;for(let i=1;i=500&&t[r].t-s>=500&&(i++,s=t[r].t);return i}(at)),{speed:ft,jitter:lt}=St(h),mt=function(t){const e=548,n=615,r=544,i=684;function o(t,e){return Lt(e-70,t)}if(t[o(581,615)]<2)return 0;let s=0;for(let i=1;i=500&&n++;return n}(h)),gt=Math[W(854,N)]((f-d)/1e3);return{ma:O,ca:Z,ka:V,sa:X,ta:Y,kba:J,t:Math[W(720,767)](3600,gt),nm:G?1:0,ms:Tt($),mj:Tt(tt),msp:Tt(Q),vc:et,cp:Tt(nt),rc:Tt(it),kj:Tt(ot),ki:Tt(st),ss:Tt(ct),sj:Tt(ut),ssm:Tt(ht),sp:dt,ts:Tt(ft),tj:Tt(lt),tp:pt,tsm:Tt(mt)}}function Mt(t,e){const n=1393,r=1497,i=1429,o=1455,s=975;let a=0;return(...c)=>{function u(t,e){return Dt(t-s,e)}const h=typeof performance!==u(n,r)?performance[u(1429,1340)]():Date[u(i,o)]();h-a>=e&&(a=h,t(...c))}}function Tt(t){return Math[(e=749,n=701,Lt(e-237,n))](100*t)/100;var e,n}class Bt{[Lt(617,586)];[Lt(607,601)];[Lt(471,393)];[Lt(442,396)];constructor(t,e=wt){const n=752,r=769,i=706,o=742,s=769,a=713,c=755,u=705,h=594,d=618,f=629,l=769,m=753,p=672,g=654,v=695,y=808,w=715,L=781,S=658,C=614,M=582,T=759,B=613,D=152,_={cookieName:x(772,768),cookieExpiry:1800,updateInterval:5e3,debug:!1,enableBeacon:!1,beaconEndpoint:gt,beaconRetryLimit:3,enableCookie:!0};if(this[x(769,n)]={..._,...t},this[x(623,526)]=e,!this[x(r,i)][x(o,671)]&&!this[x(s,a)][x(c,u)])throw new Error(x(617,514));function x(t,e){return Lt(t-D,e)}if(this[x(h,528)]=new yt(this[x(623,d)],{cookieName:this[x(769,735)][x(f,569)],cookieExpiry:this[x(l,859)][x(m,p)],debug:this[x(769,788)][x(g,v)]}),this[x(759,y)]={startTime:Date[x(w,744)](),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[x(769,L)][x(755,S)]){const t=this[x(C,M)]();this[x(T,859)][x(B,701)]={lastSignals:t,lastProcessTime:0,retryCount:0}}}[Lt(623,625)](){(async()=>{await this[e(-293,-385)](),await this[e(-398,-376)](),await this[e(-323,-347)](!0),this[e(-472,-461)][e(-382,-339)][e(-454,-410)](()=>{var t,n;this[(t=-307,n=-369,e(n,t-89))]()},100);const t=()=>{const n=9,r=Date[a(-360,-327)](),i=r-(this[a(-316,-390)][a(-388,-428)]||r),o=Math[a(-313,-367)](0,this[a(-306,-324)][a(-444,-392)]-i),s=()=>{const e=1218,n=1235,r=1246,i=123;function o(t,e){return a(e-i,t)}this[o(-271,-329)][o(-280,-207)][o(-176,-204)]?this[o(-274,-193)][o(-187,-214)]=this[o(-417,-329)][o(-181,-207)][o(-128,-204)](()=>{function i(t,e){return o(e,t-1433)}this[i(e,n)]()[i(r,1240)](()=>{t()})},{timeout:2e3}):this[o(-201,-215)]()[o(-241,-187)](()=>{t()})};function a(t,r){return e(r,t-n)}o>0?this[a(-452,-486)][a(-330,-276)][a(-401,-445)](s,o):s()};function e(t,e){return Dt(e- -823,t)}t()})()}[Lt(574,595)](){const t=53,e=50;function n(t,e){return Lt(e- -663,t)}this[n(-108,-56)][n(-108,-66)]&&this[n(-249,-192)][n(0,-70)][n(-47,-21)](this[n(-96,-56)][n(-131,-66)]),this[n(-56,-56)][n(-48,-77)]&&this[n(-282,-192)][n(1,-70)][n(-110,-57)]&&this[n(-157,-192)][n(-22,-70)][n(-154,-57)](this[n(48,-56)][n(-147,-77)]),this[n(-118,-56)][n(-111,-145)]&&(this[n(-167,-192)][n(-97,-101)][n(-249,-159)](n(-168,-94),this[n(-14,-56)][n(-190,-145)][n(-148,-94)]),this[n(-140,-192)][n(-21,-101)][n(-180,-159)](n(15,-55),this[n(44,-56)][n(-172,-145)][n(-160,-55)]),this[n(-194,-192)][n(-191,-101)][n(-162,-159)](n(-145,-167),this[n(-139,-56)][n(-196,-145)][n(-183,-167)]),this[n(-237,-192)][n(-172,-101)][n(-150,-159)](n(-57,-135),this[n(-135,-56)][n(-129,-145)][n(-109,-135)]),n(-79,-180)in window&&this[n(-80,-56)][n(-94,-145)][n(3,-27)]&&this[n(34,-56)][n(-81,-145)][n(-313,-211)]&&this[n(-105,-56)][n(-213,-145)][n(-138,-79)]&&(this[n(-164,-192)][n(-60,-101)][n(-186,-159)](n(-36,-27),this[n(-161,-56)][n(-221,-145)][n(t,-27)]),this[n(-280,-192)][n(-159,-101)][n(-105,-159)](n(-106,-211),this[n(16,-56)][n(-51,-145)][n(-148,-211)]),this[n(-165,-192)][n(-70,-101)][n(-141,-159)](n(-76,-79),this[n(e,-56)][n(-176,-145)][n(-52,-79)]))),this[n(27,-56)][n(-160,-202)]?.[n(-270,-173)]&&this[n(-145,-192)][n(-6,-70)][n(-8,-21)](this[n(29,-56)][n(-267,-202)][n(-157,-173)]),this[n(-134,-56)][n(-161,-202)]=void 0}async[Lt(547,454)](){if(!this[e(-468,-538)][e(-495,-480)])return;const t=function(t){const e=681;if(!t)return null;try{const i=JSON[(n=-e,r=-607,Lt(r- -1083,n))](atob(decodeURIComponent(t)));return i.v&&i.ts?i:null}catch(t){return null}var n,r}(await this[e(-643,-723)][e(-564,-604)]());function e(t,e){return Lt(t- -1085,e)}t&&(this[e(-478,-396)][e(-550,-648)]=t.ts,t[e(-519,-497)]&&(this[e(-478,-423)][e(-553,-656)]={pageCount:t[e(-519,-446)].p||1,sessionStart:t[e(-519,-493)].s||Date[e(-522,-520)](),duration:t[e(-519,-550)].d||0}))}[Lt(556,652)](){const t={wd:this[e(-183,-205)][e(-129,-23)][e(-156,-50)]?1:0,ua:/bot|crawler|spider|scraper/i[e(-22,-15)](this[e(-183,-250)][e(-129,-32)][e(-174,-162)])?0:1,cv:this[e(-78,-130)]()?1:0,br:this[e(-94,-42)]()?1:0};function e(t,e){return Lt(t- -654,e)}return this[e(-47,14)][e(-101,-30)]=t,this[e(-47,56)][e(-77,-102)]=!0,t}[Lt(576,540)](){const t=1189,e=1113,n=1270,r=1112,i=1165,o=1350,s=1183,a=1242,c=1240,u=1059,h=1153,d=1240,f=1328,l=1117,m=1042,p=1127,g=1211,v=1222,y=1219,w=1150,L=1283,S=1253,C=1258;function M(t,e){return Lt(e-642,t)}try{const T=this[M(t,e)][M(1132,1204)][M(1242,n)](M(1139,1182));T[M(1101,r)]=200,T[M(i,1257)]=50;const B=T[M(o,1272)]("2d");if(null===B)return!1;const D=B[M(s,1231)](0,0,200,0);D[M(a,c)](0,M(u,h)),D[M(1189,d)](1,M(f,1271)),B[M(l,1127)]=D,B[M(1246,1217)](0,0,200,50),B[M(m,p)]=M(1195,1229),B[M(g,1207)]=M(v,1285),B[M(y,w)](M(L,S),33,30);const _=T[M(C,1224)]();return Boolean(_&&_[M(1116,1187)]>50)}catch(t){return!1}}[Lt(560,581)](){const t=530,e=584,n=492,r=530,i=669,o=604,s=475,a=627,c=590,u=609,h=530,d=507,f=600,l=631,m=616,p=511,g=455,v=539,y=693,w=605,L=747,S=706,C=555,M=530,T=672,B=652,D=496,_=586,x=770,b=699,z=59;let A=0;function E(t,e){return Lt(e-z,t)}this[E(589,t)][E(518,e)][E(596,514)]&&this[E(n,r)][E(522,584)][E(458,514)][E(i,o)]>0&&A++,(this[E(s,530)][E(a,e)][E(c,600)]&&this[E(u,h)][E(649,e)][E(d,f)][E(l,o)]>0||this[E(m,t)][E(p,e)][E(g,v)][E(y,w)](E(L,693)))&&A++,this[E(S,668)]()&&A++,typeof this[E(C,M)][E(T,B)][E(s,D)]!==E(493,_)&&A++;try{const t=(new Date)[E(x,b)]();t>-840&&t<840&&A++}catch(t){}return A>=3}[Lt(609,645)](){const t=735,e=789,n=668,r=761,i=667,o=758,s=744,a=697,c=752,u=702,h=561,d=853,f=758,l=790,m=697,p=768,g=196,v=this[y(587,667)][y(t,e)][y(600,n)]||this[y(r,i)][y(777,o)][y(s,a)][y(c,754)];function y(t,e){return Lt(e-g,t)}const w=this[y(707,i)][y(827,789)][y(722,u)]||this[y(h,667)][y(d,f)][y(l,m)][y(p,703)];if(!v||!w)return!1;if(v<=2||w<=2)return!1;const L=v/w;return L>=.2&&L<=5}[Lt(536,577)](){const t=304,e=375,n=426,r=216,i=304,o=241,s=377,a=333,c=518,u=395,h=219,d=215,f=427,l=284,m=380,p=361,g=269,v=395,y=329,w=469,L=485,S=284,C=385,M=285,T=410,B=187,D=417,_=359,x=351,b=246,z=1005,A=911,E=1042,k=981,q=873,P=1014,I=928,j=873,H=890,N=988,U=1025,R=1020,K=988,O=927,Z=1e3,V=926,X=988,W=891,J=880,Y=1018,F=1102,G=819,$=978,Q=930,tt=969,et=943,nt=992,rt=1005,it=993,ot=971,st=932,at=999,ct=901,ut=988,ht=427,dt=319,ft=365,lt=336,mt=457,pt=464,gt=312,vt=453,yt=284,wt=480,St=429,Ct=523,Tt=561,Bt=551,_t=512,xt=477,bt=461,zt=523,At=520,Et=553,kt=584,qt=496,Pt=25,It=931,jt=925,Ht=889,Nt=860,Ut=920,Rt=877,Kt=898,Ot=1069,Zt=1018,Vt=857,Xt=877,Wt=1048,Jt=978,Yt=1018,Ft=975,Gt=877,$t=990,Qt=1023,te=1018,ee=966,ne=1023,re=1121,ie=912,oe=904,se=1040,ae=860,ce=966,ue=1038,he=942,de=664,fe=631,le=602,me=278,pe=225,ge=173,ve=216,ye=278,we=365,Le=128,Se=240,Ce=322,Me=24,Te=283,Be=304,De=109,_e=34,xe=259,be=Mt(t=>{function e(t,e){return Dt(t- -220,e)}this[e(me,253)][e(pe,209)]++,this[e(me,ge)][e(128,102)][e(ve,135)]>=10&&this[e(ye,we)][e(Le,169)][e(308,Se)](),this[e(ye,Ce)][e(Le,Me)][e(Te,237)]({x:t[e(Be,344)],y:t[e(De,_e)],t:t[e(xe,225)]})},100);function ze(t,e){return Lt(t- -167,e)}const Ae=t=>{const e=133;function n(t,n){return Dt(n-e,t)}this[n(de,fe)][n(le,603)]++,requestAnimationFrame(()=>setTimeout(()=>{function e(t,e){return n(e,t- -804)}this[e(-173,-79)][e(-237,-335)][e(-235,-203)]>=5&&this[e(-173,-198)][e(-237,-185)][e(-143,-48)](),this[e(-173,-214)][e(-237,-332)][e(-168,-134)]({x:t[e(-147,-178)],y:t[e(-342,-315)],t:t[e(-192,-228)],pre:this[e(-209,-164)](t)})},0))},Ee=t=>{const e=520;this[s(It,1018)][s(1093,1050)]++;const n=t[s(1051,948)];if([s(1050,959),s(974,jt),s(831,Ht),s(Nt,927)][s(Ut,957)](n))return;const r=this[s(999,1018)][s(965,Rt)][this[s(1104,1018)][s(910,Rt)][s(921,956)]-1],i=t[s(918,999)],o=r?i-r.t:null;function s(t,n){return Dt(n-e,t)}this[s(1109,1018)][s(Kt,Rt)][s(903,956)]>=10&&this[s(Ot,Zt)][s(Vt,Xt)][s(1123,Wt)](),this[s(Jt,Yt)][s(Ft,Gt)][s($t,Qt)]({_0x196ea6:n,t:i,int:o}),null!==o&&o<100?(this[s(1109,te)][s(1018,ee)][s(991,ne)](o),this[s(re,1018)][s(896,ee)][s(ie,956)]>=5&&(this[s(1040,te)][s(oe,851)]++,this[s(se,1018)][s(ae,ce)]=[])):this[s(ue,1018)][s(he,ee)]=[]},ke=Mt(t=>{function e(t,e){return Dt(t-Pt,e)}this[e(Ct,432)][e(530,Tt)]++;const n=t[e(504,531)],r=window[e(Bt,449)];this[e(523,_t)][e(466,xt)][e(bt,414)]>=10&&this[e(zt,At)][e(466,377)][e(Et,kt)](),this[e(523,qt)][e(466,557)][e(528,_t)]({p:r,t:n})},200),qe=t=>{function e(t,e){return Dt(t- -71,e)}this[e(427,343)][e(379,293)]++,this[e(ht,512)][e(dt,218)][e(ft,466)]>=10&&this[e(427,338)][e(319,lt)][e(mt,461)](),this[e(ht,523)][e(pt,443)]={x:t[e(gt,322)][0][e(vt,479)],y:t[e(gt,347)][0][e(258,yt)],t:t[e(408,wt)],typ:e(441,St),s:0,d:0}},Pe=Mt(t=>{const e={x:t[n(798,q)][0][n(1106,P)],y:t[n(I,j)][0][n(H,819)]};function n(t,e){return Dt(e-490,t)}if(this[n(916,N)][n(1013,U)]){const r=this[n(899,981)](this[n(913,988)][n(992,1025)],e);this[n(R,K)][n(O,880)][n(Z,V)]>=10&&this[n(991,X)][n(W,J)][n(1073,Y)]();const i={x:t[n(929,j)][0][n(F,P)],y:t[n(823,873)][0][n(908,G)],t:t[n($,969)],typ:n(1030,Q),d:r,s:r/(t[n(1047,tt)]-this[n(et,988)][n(nt,1025)].t)};this[n(1006,X)][n(805,880)][n(rt,it)](i),this[n(ot,X)][n(st,1025)]=i}else{const e={x:t[n(836,q)][0][n(at,1014)],y:t[n(943,873)][0][n(879,819)],t:t[n(910,969)],typ:n(ct,930),s:0,d:0};this[n(954,ut)][n(990,1025)]=e}},200),Ie=t=>{function e(t,e){return Dt(t-507,e)}this[e(z,A)][e(E,k)]=null};this[ze(t,e)][ze(395,n)][ze(284,r)](ze(402,408),be,{passive:!0}),this[ze(i,o)][ze(395,s)][ze(284,a)](ze(441,c),Ae,{passive:!0}),this[ze(304,353)][ze(u,409)][ze(284,h)](ze(329,432),Ee,{passive:!0}),this[ze(304,d)][ze(395,f)][ze(l,m)](ze(p,g),ke,{passive:!0}),ze(316,284)in window&&(this[ze(t,229)][ze(v,y)][ze(284,203)](ze(w,L),qe,{passive:!0}),this[ze(t,377)][ze(v,371)][ze(S,C)](ze(M,r),Pe,{passive:!0}),this[ze(304,299)][ze(v,T)][ze(284,B)](ze(D,459),Ie,{passive:!0})),this[ze(440,_)][ze(x,b)]={mousemove:be,click:Ae,keydown:Ee,scroll:ke,touchstart:qe,touchmove:Pe,touchend:Ie}}async[Lt(585,568)](t=!1){const e=714,n=719,r=714,i=687,o=627,s=696,a=519,c=704,u=660,h=97;if(this[f(520,557)](t),this[f(614,e)][f(n,700)]&&await this[f(778,738)](),!this[f(675,r)][f(734,i)])return;const d=this[f(o,s)]();function f(t,e){return Lt(e-h,t)}d&&(await this[f(a,539)][f(535,551)](d),this[f(803,c)][f(705,632)]=Date[f(584,u)]())}[Lt(460,440)](t=!1){const e=329,n=225,r=121,i=247,o=153,s=187,a=198,c=256,u=150,h=150,d=82,f=225,l=148,m=99,p=161,g=150,v=137,y=162,w=225,L=150,S=240,C=Date[M(181,124)]();function M(t,e){return Lt(t- -382,e)}let T=Math[M(236,e)]((C-this[M(n,226)][M(148,r)])/1e3);null!==this[M(n,i)][M(o,s)]&&(T=Math[M(236,a)]((C-this[M(225,301)][M(153,209)])/1e3)),this[M(n,c)][M(u,178)]?(this[M(225,p)][M(g,v)][M(y,259)]+=t?1:0,this[M(w,211)][M(L,128)][M(S,201)]+=T):this[M(225,308)][M(h,d)]={pageCount:1,sessionStart:this[M(f,295)][M(l,m)],duration:0}}[Lt(599,544)](){if(!this[e(-79,-45)][e(-109,-207)]&&0===this[e(-79,-164)][e(-132,-210)]&&0===this[e(-79,-170)][e(-107,-98)])return null;const t=this[e(-79,-163)][e(-133,-120)]??{wd:0,ua:1,cv:0,br:0};function e(t,e){return Lt(t- -686,e)}const n=Ct(this[e(-79,-169)][e(-132,-71)],this[e(-79,-116)][e(-229,-240)],this[e(-79,-88)][e(-107,-175)],this[e(-79,23)][e(-143,-113)],this[e(-79,-161)][e(-220,-282)],this[e(-79,-145)][e(-47,-70)],this[e(-79,-176)][e(-246,-258)],this[e(-79,-43)][e(-72,-16)],this[e(-79,-144)][e(-127,-174)],this[e(-79,-180)][e(-136,-69)],this[e(-79,-87)][e(-187,-223)],this[e(-79,-14)][e(-156,-145)],Date[e(-123,-164)]()),r={p:this[e(-79,-54)][e(-154,-161)]?.[e(-142,-179)]??1,s:this[e(-79,-71)][e(-154,-116)]?.[e(-82,-149)]??this[e(-79,7)][e(-156,-90)],d:this[e(-79,-16)][e(-154,-239)]?.[e(-64,39)]??0},i=function(t,e,n,r,i){return{v:t,ts:e,env:{wd:n.wd,ua:n.ua,cv:n.cv,br:n.br},bhv:{ma:r.ma,ca:r.ca,ka:r.ka,sa:r.sa,kba:r.kba,ta:r.ta,t:r.t,nm:r.nm,ms:r.ms,mj:r.mj,msp:r.msp,vc:r.vc,cp:r.cp,rc:r.rc,kj:r.kj,ki:r.ki,ss:r.ss,sj:r.sj,ssm:r.ssm,sp:r.sp,ts:r.ts,tj:r.tj,tp:r.tp,tsm:r.tsm},ses:{p:i.p,s:i.s,d:i.d}}}(2,Date[e(-123,-146)](),t,n,r);return encodeURIComponent(btoa(JSON[e(-152,-166)](i)))}[Lt(449,411)](t){const e=611,n=714;function r(t,e){return Lt(e-162,t)}this[r(813,779)][r(608,664)]&&console[r(650,e)](r(661,n)+t)}[Lt(462,469)](){const t=627,e=505,n=505,r=605,i=627,o=652,s=410,a=622;function c(t,e){return Lt(t- -1098,e)}try{if(this[c(-t,-726)][c(-e,-n)][c(-585,-r)]){const t=this[c(-i,-o)][c(-505,-598)][c(-585,-686)][c(-515,-s)](vt);if(t){return JSON[c(-a,-560)](t)}}}catch(t){}return null}[Lt(564,664)](t){const e=177,n=142,r=219,i=301,o=299,s=113;function a(t,e){return Lt(e- -294,t)}try{this[a(210,e)][a(266,299)][a(n,r)]&&this[a(267,177)][a(i,o)][a(289,219)][a(s,203)](vt,JSON[a(134,240)](t))}catch(t){}}[Lt(571,514)](t){const e=t[s(-252,-168)];if(!(e&&e instanceof Element&&e[s(-166,-223)]))return 0;const n=e[s(-259,-223)]();if(!n[s(-275,-221)]||!n[s(-36,-76)])return 0;const r=n[s(-102,-152)]+n[s(-299,-221)]/2,i=n[s(-305,-224)]+n[s(-82,-76)]/2,o=this[s(-53,-91)]({x:t[s(-30,-58)],y:t[s(-162,-253)]},{x:r,y:i});function s(t,e){return Lt(e- -691,t)}const a=Math[s(-166,-66)](n[s(-238,-221)]**2+n[s(-75,-76)]**2)/2;return a>0?Math[s(-14,-81)](0,1-o/a):0}[Lt(600,699)](t,e){return Math[(n=626,r=521,Lt(r- -104,n))]((e.x-t.x)**2+(e.y-t.y)**2);var n,r}async[Lt(561,551)](t){const e=844,n=913,r=994,i=917,o=876,s=827,a=781,c=871,u=886,h=835,d=771,f=738,l=815,m=797,p=794,g=839,v=804,y=917,w=771,L=785,S=765,C=877,M=310;if(!this[B(927,e)][B(n,r)]||!this[B(i,937)][B(771,721)])return;const T=function(t,e){return{v:t,s:{wd:e.wd,ua:e.ua,be:e.be,nm:e.nm,nc:e.nc,ka:e.ka,sa:e.sa,pt:e.pt,mp:e.mp,sd:e.sd}}}(1,function(t){const e=1053,n=1083,r=1175,i=1201,o=1257,s=1036,a=1110,c=1109,u=1119,h=633;function d(t,e){return Lt(e-h,t)}return{wd:t[d(1057,1128)],ua:t[d(1168,1228)],be:t[d(e,1136)],nm:t[d(1020,n)],nc:t[d(1186,r)],ka:t[d(i,o)],sa:t[d(1256,1190)],pt:t[d(s,1072)],mp:t[d(a,1079)],sd:t[d(c,u)]}}(t));function B(t,e){return Lt(t-M,e)}const D=JSON[B(e,891)](T),_=this[B(927,o)][B(s,904)];if(this[B(a,867)][B(835,795)][B(c,901)])try{const t=new Blob([D],{type:B(797,724)});if(this[B(781,u)][B(h,880)][B(c,924)](_,t))return void(this[B(917,830)][B(d,f)][B(785,873)]=0)}catch(t){}try{const t=await fetch(_,{method:B(803,l),headers:{"Content-Type":B(m,896)},body:D,credentials:B(p,762),keepalive:!0});if(!t.ok)throw new Error(B(830,g)+t[B(745,v)]);this[B(y,898)][B(w,841)][B(L,S)]=0}catch(e){this[B(C,933)](t)}}[Lt(567,616)](t){const e=1115,n=1068,r=1223,i=1129,o=1260,s=1301,a=1115,c=1052,u=1174,h=1115,d=1261,f=1092,l=1144,m=1125,p=1175,g=1176,v=363,y=275,w=126,L=390,S=229;if(!this[M(1159,1261)][M(1048,e)]||this[M(1311,1261)][M(n,1115)][M(r,i)]>=this[M(1166,1271)][M(o,1159)])return;const C=Math[M(o,1192)](1e3*2**this[M(s,1261)][M(1194,a)][M(c,1129)],3e4);function M(t,e){return Lt(e-654,t)}this[M(1284,1261)][M(u,h)][M(1055,1129)]++,this[M(1362,d)][M(1139,1115)][M(f,l)]=this[M(1043,m)][M(p,1247)][M(1129,g)](()=>{function e(t,e){return M(t,e- -986)}this[e(v,y)][e(w,129)]&&this[e(L,285)][e(188,271)]&&this[e(156,S)](t)},C)}async[Lt(641,599)](){const t=356,e=155,n=242,r=471,i=388,o=377,s=335,a=335,c=278,u=238,h=325,d=348,f=324,l=215,m=247,p=420,g=321,v=388,y=302,w=221,L=378,S=409,C=395,M=350,T=376,B=230,D=331,_=280,x=332,b=311,z=428,A=394,E=259,k=334,q=435,P=224,I=313,j=232,H=269,N=388,U=159,R=269,K=407,O=327,Z=305,V=283,X=384,W=388,J=151,Y=374,F=269,G=300,$=240,Q=347,tt=242,et=335,nt=388,rt=300,it=242,ot=305,st=274,at=344,ct=345,ut=312,ht=48;if(!this[ft(433,398)][ft(461,384)]||!this[ft(t,388)][ft(e,n)])return;const dt=Ct(this[ft(r,i)][ft(o,s)],this[ft(a,388)][ft(c,u)],this[ft(h,388)][ft(281,360)],this[ft(423,388)][ft(d,f)],this[ft(366,388)][ft(l,m)],this[ft(488,i)][ft(374,p)],this[ft(g,v)][ft(y,w)],this[ft(L,388)][ft(S,C)],this[ft(M,388)][ft(313,340)],this[ft(T,388)][ft(B,D)],this[ft(413,388)][ft(287,_)],this[ft(367,i)][ft(x,b)],Date[ft(z,344)]());function ft(t,e){return Lt(e- -219,t)}const lt=function(t,e,n,r){const i=1239,o=1331,s=1312,a=1413,c=1384,u=1429,h=1316,d=1195,f=1332,l=1308,m=1400,p={webdriver_detected:1===t?.wd||!1,bot_user_agent:0===t?.ua||!1,browser_environment_normal:1===t?.br&&1===t?.cv||!1,natural_mouse_activity:!1,natural_click_patterns:!1,keyboard_activity:!1,scroll_activity:!1,significant_page_time:!1,multiple_pages_visited:!1,session_duration_reasonable:!1};function g(t,e){return Lt(t-789,e)}if(e.ma>5&&1===e.nm&&(p[g(i,1335)]=!0),e.ca>0&&1===e.vc&&(p[g(o,s)]=!0),e.ka>5&&(p[g(a,c)]=!0),e.sa>0&&(p[g(1346,u)]=!0),e.t>30&&(p[g(1228,h)]=!0),n&&(n[g(1333,1360)]>1&&(p[g(1235,d)]=!0),n[g(1411,f)]>60&&(p[g(1275,1209)]=!0)),r){const t=Object[g(l,m)](p);for(const e of t)p[e]=p[e]||r[e]}return p}(this[ft(A,388)][ft(E,k)],dt,this[ft(q,388)][ft(P,I)],this[ft(472,388)][ft(163,242)][ft(j,H)]);if(function(t,e){if(!e)return!0;const n=Object[(r=1141,i=1234,Lt(i-715,r))](t);var r,i;for(const r of n)if(t[r]!==e[r])return!0;return!1}(lt,this[ft(464,N)][ft(U,242)][ft(238,R)])){if(Date[ft(K,344)]()-this[ft(486,388)][ft(O,242)][ft(276,Z)]<100)return;if(this[ft(461,398)][ft(301,V)]){if(this[ft(X,W)][ft(J,242)][ft(Y,F)]){Object[ft(214,G)](lt)[ft($,239)](t=>{function e(t,e){return ft(e,t- -396)}this[e(-8,ht)][e(-154,-177)][e(-127,-197)][t],lt[t]})}else;this[ft(380,388)][ft(Q,I)]}this[ft(303,388)][ft(139,tt)][ft(216,H)]=(mt=lt,{...mt}),this[ft(et,nt)][ft(rt,it)][ft(355,ot)]=Date[ft(st,at)](),this[ft(447,ct)](lt),await this[ft(ut,342)](lt)}else this[ft(391,398)][ft(184,283)];var mt}}function Dt(t,e){const n=_t();return Dt=function(e,r){let i=n[e-=325];if(void 0===Dt.EQvXKm){var o=function(t){let e="",n="",r=e+o;for(let n,i,o=0,s=0;i=t.charAt(s++);~i&&(n=o%4?64*n+i:i,o++%4)?e+=r.charCodeAt(s+10)-10!=0?String.fromCharCode(255&n>>(-2*o&6)):o:0)i="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);for(let t=0,r=e.length;tt+864e5)&&(r=!0),{encodedBodySize:n.encodedBodySize,decodedBodySize:n.decodedBodySize,navigationStart:Math.round(n.startTime),navigationType:n.type,navigationBad:r,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 qt(t){zt=new kt(t),t.spaMode&&(window.PerfKit={navigate:()=>{xt?xt=!1:bt||(It(),zt=new kt(t),bt=!0)},setPageType:e=>{t.storefrontData.pageType=e},setConsent:t=>{At=t}}),t.shs&&((t,e=wt)=>{const n=new Bt(t,e);function r(t,e){return Lt(e- -897,t)}e[r(-433,-335)][r(-344,-317)]===r(-274,-271)?e[r(-434,-335)][r(-343,-446)](r(-494,-397),()=>n[r(-202,-274)]()):n[r(-279,-274)]()})({debug:!0,enableBeacon:t.shsBeacon||!1,enableCookie:t.shsCookie||!0})}const Pt=new Set;function It(){if(null!==zt){if(jt()&&Pt.size>0){let t={};for(const e of Pt)t={...t,...e};Pt.clear(),zt.info.microSessionCount+=1;const e=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))})}(zt.config.resourceTimingSamplingRate),n=performance.getEntriesByType("resource").filter(t=>ot.test(t.name)),r=performance.getEntriesByType("measure").filter(t=>st.test(t.name)).map(t=>{const e=t.toJSON();return e.name.startsWith("cart-performance:")||(e.name=`cart-performance:${e.name}`),e});ct({monorailRegion:zt.config.monorailRegion,schema:at.OnUnload,rawData:{...zt.info,...zt.config.storefrontData,...zt.performanceMetrics,...t,resourceTiming:e,cartAjaxResourceTimings:n,cartPerformanceMetrics:r,paintTimingHidden:Et}})}}else console.debug("⛔️ Shopify/perf-kit is not initialized")}function jt(){return null!==At?At:nt()}((e,r={})=>{const o=s(r=Object.assign({},r),t),a=new WeakMap;o.t=t=>{if(t?.sources?.length){const e=D(t.sources);if(e){const t=(r.generateTarget??i)(e.node);a.set(e,t)}}},((e,n={})=>{T(p(()=>{let r,i=l("CLS",0);const o=s(n,t),a=t=>{for(const e of t)o.u(e);o.o>i.value&&(i.value=o.o,i.entries=o.i,r())},c=m("layout-shift",a);c&&(r=h(e,i,B,n.reportAllChanges),document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&(a(c.takeRecords()),r(!0))}),u(()=>{o.o=0,i=l("CLS",0),r=h(e,i,B,n.reportAllChanges),d(()=>r())}),setTimeout(r))}))})(t=>{const r=(t=>{let e={};if(t.entries.length){const r=t.entries.reduce((t,e)=>t.value>e.value?t:e);if(r?.sources?.length){const t=D(r.sources);t&&(e={largestShiftTarget:a.get(t),largestShiftTime:r.startTime,largestShiftValue:r.value,largestShiftSource:t,largestShiftEntry:r,loadState:n(r.startTime)})}}return Object.assign(t,{attribution:e})})(t);e(r)},r)})(function(t){const{attribution:e,value:n}=t;Pt.add({cumulativeLayoutShift:n,cumulativeLayoutShiftTarget:e.largestShiftTarget})}),((t,n={})=>{const r=s(n=Object.assign({},n),j),o=new WeakMap;r.m=t=>{if(t.element){const e=(n.generateTarget??i)(t.element);o.set(t,e)}},((t,e={})=>{C(()=>{const n=S();let r,i=l("LCP");const o=s(e,j),a=t=>{e.reportAllChanges||(t=t.slice(-1));for(const e of t)o.u(e),e.startTime{a(c.takeRecords()),c.disconnect(),r(!0)});for(const t of["keydown","click","visibilitychange"])addEventListener(t,()=>P(n),{capture:!0,once:!0});u(n=>{i=l("LCP"),r=h(t,i,H,e.reportAllChanges),d(()=>{i.value=performance.now()-n.timeStamp,r(!0)})})}})})(n=>{const r=(t=>{let n={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:t.value};if(t.entries.length){const r=e();if(r){const e=r.activationStart||0,i=t.entries.at(-1),s=i.url&&performance.getEntriesByType("resource").filter(t=>t.name===i.url)[0],a=Math.max(0,r.responseStart-e),c=Math.max(a,s?(s.requestStart||s.startTime)-e:0),u=Math.min(t.value,Math.max(c,s?s.responseEnd-e:0));n={target:o.get(i),timeToFirstByte:a,resourceLoadDelay:c-a,resourceLoadDuration:u-c,elementRenderDelay:t.value-u,navigationEntry:r,lcpEntry:i},i.url&&(n.url=i.url),s&&(n.lcpResourceEntry=s)}}return Object.assign(t,{attribution:n})})(n);t(r)},n)})(function(t){const{attribution:e,value:n}=t;Pt.add({largestContentfulPaint:Math.round(n),largestContentfulPaintTarget:e.target})}),((t,r={})=>{T(r=>{const i=(t=>{let r={timeToFirstByte:0,firstByteToFCP:t.value,loadState:n(c())};if(t.entries.length){const i=e(),o=t.entries.at(-1);if(i){const e=i.activationStart||0,s=Math.max(0,i.responseStart-e);r={timeToFirstByte:s,firstByteToFCP:t.value-s,loadState:n(t.entries[0].startTime),navigationEntry:i,fcpEntry:o}}}return Object.assign(t,{attribution:r})})(r);t(i)},r)})(function(t){const{value:e}=t;Pt.add({firstContentfulPaint:Math.round(e)})}),((t,e={})=>{const r=s(e=Object.assign({},e),q);let o=[],a=[],c=0;const d=new WeakMap,f=new WeakMap;let p=!1;const g=()=>{p||(P(v),p=!0)},v=()=>{const t=r.l.map(t=>d.get(t.entries[0])),e=a.length-50;a=a.filter((n,r)=>r>=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 i=o.length-1-50;o=o.filter((t,e)=>t.startTime>c&&e>i||n.has(t)),p=!1};r.m=t=>{const e=t.startTime+t.duration;let n;c=Math.max(c,t.processingEnd);for(let r=a.length-1;r>=0;r--){const i=a[r];if(Math.abs(e-i.renderTime)<=8){n=i,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)&&d.set(t,n),g()},r.p=t=>{if(!f.get(t)){const n=(e.generateTarget??i)(t.entries[0].target);f.set(t,n)}};const y=(t,e)=>{const n=[];for(const r of o)if(!(r.startTime+r.duratione)break;n.push(r)}return n},w=t=>{const e=t.entries[0],i=d.get(e),o=e.processingStart,s=Math.max(e.startTime+e.duration,o),a=Math.min(i.processingEnd,s),c=i.entries.sort((t,e)=>t.processingStart-e.processingStart),u=y(e.startTime,a),h=r.h.get(e.interactionId),l={interactionTarget:f.get(h),interactionType:e.name.startsWith("key")?"keyboard":"pointer",interactionTime:e.startTime,nextPaintTime:s,processedEventEntries:c,longAnimationFrameEntries:u,inputDelay:o-e.startTime,processingDuration:a-o,presentationDelay:s-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,r=t.processingDuration;let i,o,s=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&&(o=t.startTime=e+n+r?"presentation-delay":"processing-duration",i=t,u=h)}}const h=t.longAnimationFrameEntries.at(-1),d=h?h.startTime+h.duration:0;d>=e+n+r&&(c=t.nextPaintTime-d),i&&o&&(t.longestScript={entry:i,subpart:o,intersectingDuration:u}),t.totalScriptDuration=s,t.totalStyleAndLayoutDuration=a,t.totalPaintDuration=c,t.totalUnattributedDuration=t.nextPaintTime-e-s-a-c})(l),Object.assign(t,{attribution:l})};m("long-animation-frame",t=>{o=o.concat(t),g()}),((t,e={})=>{globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype&&C(()=>{"interactionCount"in performance||A||(A=m("event",z,{type:"event",buffered:!0,durationThreshold:0}));let n,r=l("INP");const i=s(e,q),o=t=>{P(()=>{for(const e of t)i.u(e);const e=i.M();e&&e.T!==r.value&&(r.value=e.T,r.entries=e.entries,n())})},a=m("event",o,{durationThreshold:e.durationThreshold??40});n=h(t,r,I,e.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&(o(a.takeRecords()),n(!0))}),u(()=>{i.v(),r=l("INP"),n=h(t,r,I,e.reportAllChanges)}))})})(e=>{const n=w(e);t(n)},e)})(function(t){const{attribution:e,value:n}=t;if(null===zt)return void console.debug("⛔️ Shopify/perf-kit is not initialized");if(!jt())return;zt.info.microSessionCount+=1;const{inputDelay:r,processingDuration:i,presentationDelay:o,longestScript:s,interactionTarget:a}=e,c=s?.entry?{slowest_script:s.entry.sourceURL,slowest_script_duration:Math.round(s.entry.duration)}:{};ct({monorailRegion:zt.config.monorailRegion,schema:at.OnInteraction,rawData:{...zt.info,...zt.config.storefrontData,...zt.performanceMetrics,interactionToNextPaint:Math.round(n),interactionToNextPaintTarget:a,longAnimationFrame:{input_delay:Math.round(r),processing_duration:Math.round(i),presentation_delay:Math.round(o),...c}}})},{reportAllChanges:!0}),((t,n={})=>{((t,n={})=>{let r=l("TTFB"),i=h(t,r,N,n.reportAllChanges);U(()=>{const o=e();o&&(r.value=Math.max(o.responseStart-f(),0),r.entries=[o],i(!0),u(()=>{r=l("TTFB",0),i=h(t,r,N,n.reportAllChanges),i(!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],r=n.activationStart||0,i=Math.max((n.workerStart||n.fetchStart)-r,0),o=Math.max(n.domainLookupStart-r,0),s=Math.max(n.connectStart-r,0),a=Math.max(n.connectEnd-r,0);e={waitingDuration:i,cacheDuration:o-i,dnsDuration:s-o,connectionDuration:a-s,requestDuration:t.value-a,navigationEntry:n}}return Object.assign(t,{attribution:e})})(e);t(n)},n)})(function(t){const{value:e}=t;Pt.add({timeToFirstByte:Math.round(e)})}),addEventListener("DOMContentLoaded",()=>{Et="hidden"===document.visibilityState}),addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&It()}),function(){const{dataset:t}=document.currentScript;try{qt(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,shsCookie:"true"===t.shsCookie}}(t))}catch(t){console.error("🚫 Error initializing PerfKit:",t.message)}}()}();

search