!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)))}},f=t=>{requestAnimationFrame(()=>requestAnimationFrame(()=>t()))},d=()=>{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||d()>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}},p=(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{}},m=t=>{let e=!1;return()=>{e||(t(),e=!0)}};let g=-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(g)||(g="visibilitychange"===t.type?t.timeStamp:0,removeEventListener("prerenderingchange",w,!0))}},C=()=>{if(g<0){const t=d(),e=document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(e=>"hidden"===e.name&&e.startTime>t)[0]?.startTime;g=e??y(),addEventListener("visibilitychange",w,!0),addEventListener("prerenderingchange",w,!0),u(()=>{setTimeout(()=>{g=y()})})}return{get firstHiddenTime(){return g},onHidden(t){v.add(t)}}},L=t=>{document.prerendering?addEventListener("prerenderingchange",()=>t(),!0):t()},S=[1800,3e3],M=(t,e={})=>{L(()=>{const n=C();let r,i=l("FCP");const o=p("paint",t=>{for(const e of t)"first-contentful-paint"===e.name&&(o.disconnect(),e.startTime{i=l("FCP"),r=h(t,i,S,e.reportAllChanges),f(()=>{i.value=performance.now()-n.timeStamp,r(!0)})}))})},B=[.1,.25],D=t=>t.find(t=>1===t.node?.nodeType)||t[0];let T=0,_=1/0,x=0;const z=t=>{for(const e of t)e.interactionId&&(_=Math.min(_,e.interactionId),x=Math.max(x,e.interactionId),T=x?(x-_)/7+1:0)};let b;const A=()=>b?T:performance.interactionCount??0;let E=0;class k{l=[];h=new Map;m;p;v(){E=A(),this.l.length=0,this.h.clear()}M(){const t=Math.min(this.l.length-1,Math.floor((A()-E)/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 H=t=>{const e=globalThis.requestIdleCallback||setTimeout;"hidden"===document.visibilityState?t():(t=m(t),addEventListener("visibilitychange",t,{once:!0,capture:!0}),e(()=>{t(),removeEventListener("visibilitychange",t,{capture:!0})}))},I=[200,500];class P{m;u(t){this.m?.(t)}}const q=[2500,4e3],j=[800,1800],N=t=>{document.prerendering?L(()=>N(t)):"complete"!==document.readyState?addEventListener("load",()=>N(t),!0):setTimeout(t)},U="",K="1",O="0",R="p",Z="a",J="m",W="t",Y="m",V="a",X="p",F="s";function G(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;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:U}function h(t){return n.includes(t.replace("t","s").toUpperCase())}return{v:"3",con:{CMP:{[V]:u(V),[X]:u(X),[Y]:u(Y),[F]:u(F)}},region:r||"",cus:a,purposes:{[Z]:h(Z),[R]:h(R),[J]:h(J),[W]:h(W)},sale_of_data_region:"t"==o,display_banner:"t"==i,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}(Z)}function et(){return tt()}!function(t){var e=508,n=512,r=503,i=506,o=505,s=523,a=504,c=492,u=510,h=511,f=501,d=522,l=513,p=500,m=514,g=519,v=530;function y(t,e){return st(t- -742,e)}for(var w=t();;)try{if(874929===-parseInt(y(-e,-n))/1*(parseInt(y(-r,-508))/2)+parseInt(y(-i,-o))/3*(parseInt(y(-519,-514))/4)+parseInt(y(-s,-518))/5*(parseInt(y(-a,-c))/6)+parseInt(y(-u,-503))/7*(-parseInt(y(-h,-521))/8)+parseInt(y(-509,-f))/9*(parseInt(y(-518,-d))/10)+-parseInt(y(-l,-513))/11*(parseInt(y(-507,-p))/12)+-parseInt(y(-m,-g))/13*(parseInt(y(-520,-v))/14))break;w.push(w.shift())}catch(t){w.push(w.shift())}}(at);var nt,rt,it=(nt=460,rt=!0,function(t,e){var n=219,r=rt?function(){if(e){var r=e[(i=456,o=nt,st(i-n,o))](t,arguments);return e=null,r}var i,o}:function(){};return rt=!1,r}),ot=it(this,function(){function t(t,e){return st(t- -585,e)}return ot[t(-358,-363)]()[t(-355,-359)](t(-365,-356))[t(-358,-355)]()[t(-344,-354)](ot)[t(-355,-357)](t(-365,-358))});function st(t,e){var n=at();return st=function(e,r){var i=n[e-=219];if(void 0===st.rqGURS){var o=function(t){for(var e,n,r="",i="",s=r+o,a=0,c=0;n=t.charAt(c++);~n&&(e=a%4?64*e+n:n,a++%4)?r+=s.charCodeAt(c+10)-10!=0?String.fromCharCode(255&e>>(-2*a&6)):a:0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);for(var u=0,h=r.length;u{var n,r;this[(n=158,r=f,l(r-d,n))](t)})}catch(e){this[l(-304,-334)](t)}else this[l(-304,-288)](t)}[ct(403,456)](){const t=239,e=219,n=207,r=304,i=141,o=113,s=133,a=306,c=this[h(194,283)][h(268,t)],u=new RegExp(h(176,e)+c+h(n,r))[h(170,i)](this[h(o,s)][h(304,a)][h(217,229)]);function h(t,e){return ct(t,e- -165)}return u?u[2]:null}[ct(363,387)](t){const e=542,n=570,r=539,i=599,o=475,s=613,a=519,c=426,u=528,h=525,f=392,d=412,l=471,p=540;function m(t,e){return ct(e,t-71)}this[m(369,273)][m(e,n)][m(465,r)]=this[m(519,i)][m(o,378)]+"="+t+m(512,s)+this[m(a,c)][m(386,447)]+m(u,534)+this[m(519,569)][m(h,c)]+m(f,d)+this[m(519,532)][m(l,p)]}[ct(471,460)](t){function e(t,e){return ct(e,t- -734)}this[e(-286,-269)][e(-317,-279)]&&console[e(-274,-180)](e(-395,-491)+t)}}const pt={document:document,navigator:typeof navigator!==ct(344,405)?{get webdriver(){return navigator[(t=-364,e=-462,ct(t,e- -812))];var t,e},get userAgent(){return navigator[(t=-602,e=-616,ct(e,t- -1031))];var t,e},get languages(){return navigator[(t=756,e=828,ct(e,t-405))];var t,e},get plugins(){return navigator[(t=-331,e=-409,ct(t,e- -682))];var t,e},sendBeacon:navigator[ct(182,268)]?.[ct(388,472)](navigator)}:{webdriver:void 0,userAgent:"",languages:[],plugins:[],sendBeacon:void 0},window:window,screen:screen,cookieStore:typeof window!==ct(367,405)&&ct(352,263)in window?window[ct(301,263)]:void 0,performance:typeof performance!==ct(461,405)?performance:void 0};function mt(t){const e=1169,n=1222,r=1169,i=1101,o=1170,s=843;if(t[h(1258,e)]<2)return{speed:0,jitter:0};const a=t[h(1268,n)]((t,e)=>t+e.s,0)/t[h(1186,r)],c=t[h(1134,n)]((t,e)=>t+(e.s-a)**2,0)/(t[h(i,e)]-1),u=Math[h(1082,o)](c);function h(t,e){return ct(t,e-s)}return{speed:a,jitter:u}}function gt(t,e,n,r,i,o,s,a,c,u,h,f,d){const l=443,p=330,m=400,g=1058,v=Math[O(-733,-779)](1e3,t),y=Math[O(-733,-752)](1e3,n),w=Math[O(-733,-804)](1e3,o),C=Math[O(-733,-664)](1e3,a),L=Math[O(-733,-737)](1e3,s),S=Math[O(-733,-810)](1e3,c),M=[];if(e[O(-678,-680)]>=3)for(let t=1;t5e-4){n=!0;break}i=e.s}else i=e.s;return n}(M),D=function(t){if(t[n(-159,-110)]<3)return 0;let e=0;function n(t,e){return ct(e,t- -485)}let r=0;for(let i=1;i2*Math.PI-Math.PI/12)&&e++,r++}return r>0?e/r:0}(e),{speed:T,jitter:_}=mt(M);let x=0,z=0;if(r[O(-678,-698)]>1){const t=new Set(r[O(-540,-613)](t=>Math[O(-729,-796)](t.x/20)+","+Math[O(-729,-701)](t.y/20)))[O(-724,-795)];x=t>1?1:0,z=r[O(-625,-611)]((t,e)=>t+e[O(-595,-605)],0)/r[O(-678,-698)]}const b=i[O(-625,-592)]((t,e)=>{if(null===e[n(l,400)])return t;function n(t,e){return O(e-g,t)}return t[n(225,p)](e[n(442,m)]),t},[]),{rhythmConsistency:A,jitter:E}=function(t){const e=379,n=342,r=390,i=346,o=380,s=446;if(t[a(395,e)]<2)return{rhythmConsistency:0,jitter:0};function a(t,e){return ct(t,e-53)}const c=t[a(n,432)]((t,e)=>t+e,0)/t[a(r,e)],u=t[a(347,432)]((t,e)=>(t??0)+((e??0)-c)**2,0)/t[a(381,379)],h=Math[a(i,o)](u);return{rhythmConsistency:0===h?1:Math[a(s,r)](0,1-h/c),jitter:h/c}}(b),k=b[O(-678,-632)]>0?b[O(-625,-627)]((t,e)=>t+e,0)/b[O(-678,-774)]:0,H=[];if(u[O(-678,-645)]>=3)for(let t=1;tu[t-1].p?O(-582,-543):"up";H[O(-728,-744)]({s:r,dir:i,t:u[t].t})}const{speed:I,jitter:P}=mt(H),q=function(t){if(t[n(-147,-248)]<2)return 0;let e=0;function n(t,e){return ct(t,e- -574)}for(let r=1;r=500&&t[n].t-i>=500&&(r++,i=t[n].t);return r}(H)),{speed:N,jitter:U}=mt(h),K=function(t){function e(t,e){return ct(e,t- -1138)}if(t[e(-812,-843)]<2)return 0;let n=0;for(let r=1;r=500&&e++;return e}(h)),Z=Math[O(-729,-770)]((d-f)/1e3);return{ma:v,ca:y,ka:w,sa:C,ta:S,kba:L,t:Math[O(-733,-835)](3600,Z),nm:B?1:0,ms:wt(D),mj:wt(_),msp:wt(T),vc:x,cp:wt(z),rc:wt(A),kj:wt(E),ki:wt(k),ss:wt(I),sj:wt(P),ssm:wt(q),sp:j,ts:wt(N),tj:wt(U),tp:R,tsm:wt(K)}}function vt(t,e){let n=0;return(...r)=>{const i=typeof performance!==o(-270,-306)?performance[o(-284,-381)]():Date[o(-310,-381)]();function o(t,e){return yt(e- -572,t)}i-n>=e&&(n=i,t(...r))}}function yt(t,e){const n=St();return yt=function(e,r){let i=n[e-=122];if(void 0===yt.cxQzlX){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;t{function o(t,e){return yt(e-162,t)}await this[o(468,376)](),await this[o(303,t)](),await this[o(470,396)](!0),this[o(e,n)][o(r,i)][o(591,488)](()=>{var t,e;this[(t=-176,e=-221,o(t,e- -555))]()},100);const s=()=>{const t=Date[e(-176,-86)]();function e(t,e){return o(e,t- -529)}const n=t-(this[e(-128,-29)][e(-63,-53)]||t),r=Math[e(-169,-170)](0,this[e(-75,-94)][e(-71,-54)]-n),i=()=>{function t(t,n){return e(n- -210,t)}this[t(-363,-418)][t(-270,-341)][t(-347,-449)]?this[t(-330,-338)][t(-443,-346)]=this[t(-476,-418)][t(-427,-341)][t(-550,-449)](()=>{function e(e,n){return t(e,n- -404)}this[e(-795,-747)]()[e(-729,-816)](()=>{s()})},{timeout:2e3}):this[t(-287,-343)]()[t(-351,-412)](()=>{s()})};r>0?this[e(-208,-260)][e(-131,-76)][e(-41,-24)](i,r):i()};s()})()}[ct(240,324)](){const t=1069,e=995,n=1020,r=1077,i=989,o=1125,s=1055,a=1138,c=1069,u=1016,h=989,f=998,d=1023,l=982,p=1171,m=1066,g=935,v=1023,y=1099,w=1069,C=927,L=1180,S=1162,M=976,B=1009,D=1069,T=1027,_=991,x=1024,z=957,b=1089,A=1081,E=1006,k=1069,H=991,I=1182,P=1046,q=1109,j=1010,N=1098,U=1134,K=985,O=989,R=1174,Z=1162,J=973,W=991,Y=998,V=1198,X=1133,F=1054,G=988,$=955,Q=1031,tt=992,et=1017,nt=1115,rt=1162,it=976,ot=1059,st=1049,at=960,ut=1191,ht=1162,ft=1086,dt=1031,lt=1045,pt=1031,mt=1031,gt=1074,vt=1099,yt=912,wt=918,Ct=991,Lt=1031,St=909,Mt=1066,Bt=1244,Dt=1164,Tt=1075,_t=1069,xt=1177,zt=1082;function bt(t,e){return ct(t,e-691)}this[bt(995,t)][bt(e,n)]&&this[bt(r,i)][bt(o,1066)][bt(s,a)](this[bt(1117,1069)][bt(1099,1020)]),this[bt(1101,c)][bt(1126,1061)]&&this[bt(u,h)][bt(1111,1066)][bt(f,d)]&&this[bt(l,i)][bt(p,m)][bt(g,v)](this[bt(y,1069)][bt(1058,1061)]),this[bt(1048,w)][bt(C,991)]&&(this[bt(999,989)][bt(L,S)][bt(1054,M)](bt(B,1009),this[bt(1144,D)][bt(T,_)][bt(x,B)]),this[bt(z,989)][bt(1106,1162)][bt(888,976)](bt(b,A),this[bt(E,k)][bt(1083,H)][bt(I,A)]),this[bt(1011,h)][bt(1081,S)][bt(1065,M)](bt(P,q),this[bt(j,1069)][bt(N,991)][bt(U,q)]),this[bt(K,O)][bt(R,Z)][bt(934,M)](bt(J,f),this[bt(1056,1069)][bt(927,W)][bt(1034,Y)]),bt(V,X)in window&&this[bt(F,1069)][bt(G,991)][bt(1005,1059)]&&this[bt(1095,1069)][bt(921,991)][bt($,Q)]&&this[bt(tt,D)][bt(et,991)][bt(1098,nt)]&&(this[bt(1067,h)][bt(1178,rt)][bt(1006,it)](bt(1097,ot),this[bt(st,1069)][bt(998,H)][bt(1112,1059)]),this[bt(at,h)][bt(ut,ht)][bt(1006,M)](bt(ft,dt),this[bt(lt,k)][bt(1067,991)][bt(pt,mt)]),this[bt(gt,989)][bt(vt,1162)][bt(yt,976)](bt(1167,1115),this[bt(1014,t)][bt(wt,Ct)][bt(1207,1115)]))),this[bt(1004,D)][bt(Lt,1082)]?.[bt(St,1011)]&&this[bt(928,i)][bt(1083,Mt)][bt(Bt,1138)](this[bt(Dt,1069)][bt(Tt,1082)][bt(934,1011)]),this[bt(1036,_t)][bt(xt,zt)]=void 0}async[ct(278,353)](){if(!this[t(-169,-86)][t(-287,-234)])return;function t(t,e){return ct(e,t- -600)}const e=function(t){const e=714,n=292;if(!t)return null;try{const o=JSON[(r=e,i=707,ct(r,i-n))](atob(decodeURIComponent(t)));return o.v&&o.ts?o:null}catch(t){return null}var r,i}(await this[t(-134,-81)][t(-151,-144)]());e&&(this[t(-222,-201)][t(-157,-134)]=e.ts,e[t(-162,-242)]&&(this[t(-222,-311)][t(-167,-174)]={pageCount:e[t(-162,-81)].p||1,sessionStart:e[t(-162,-255)].s||Date[t(-270,-365)](),duration:e[t(-162,-184)].d||0}))}[ct(458,363)](){const t=1064,e=998,n=1074,r=944,i=1041,o=1010,s=1113,a={wd:this[c(1015,943)][c(968,992)][c(955,995)]?1:0,ua:/bot|crawler|spider|scraper/i[c(t,1021)](this[c(999,943)][c(e,992)][c(1148,n)])?0:1,cv:this[c(r,1034)]()?1:0,br:this[c(947,i)]()?1:0};function c(t,e){return ct(t,e-645)}return this[c(955,1023)][c(o,938)]=a,this[c(1023,1023)][c(1117,s)]=!0,a}[ct(372,389)](){const t=544,e=615,n=454,r=543,i=416,o=564,s=454,a=550,c=466,u=426,h=461,f=510,d=613,l=521,p=435,m=478,g=542,v=470,y=144;function w(t,e){return ct(t,e-y)}try{const y=this[w(480,442)][w(t,e)][w(376,452)](w(n,r));y[w(i,487)]=200,y[w(o,486)]=50;const C=y[w(498,578)]("2d");if(null===C)return!1;const L=C[w(s,a)](0,0,200,0);L[w(c,571)](0,w(475,u)),L[w(600,571)](1,w(374,h)),C[w(399,c)]=L,C[w(544,443)](0,0,200,50),C[w(394,466)]=w(549,580),C[w(423,446)]=w(f,606),C[w(d,l)](w(629,537),33,30);const S=y[w(p,m)]();return Boolean(S&&S[w(g,v)]>50)}catch(t){return!1}}[ct(333,396)](){const t=423,e=380,n=419,r=489,i=398,o=317,s=382,a=419,c=345,u=370,h=250,f=356,d=419,l=513,p=501,m=312,g=334,v=471,y=447,w=381,C=477,L=509;function S(t,e){return ct(t,e-72)}let M=0;this[S(270,370)][S(336,419)][S(323,t)]&&this[S(456,370)][S(e,n)][S(r,423)][S(378,i)]>0&&M++,(this[S(o,370)][S(s,a)][S(292,c)]&&this[S(390,u)][S(328,419)][S(h,345)][S(357,398)]>0||this[S(436,370)][S(f,d)][S(l,p)][S(m,341)](S(g,388)))&&M++,this[S(v,545)]()&&M++,typeof this[S(284,u)][S(459,y)][S(w,350)]!==S(436,C)&&M++;try{const t=(new Date)[S(613,L)]();t>-840&&t<840&&M++}catch(t){}return M>=3}[ct(531,473)](){const t=322,e=376,n=408,r=352,i=275,o=363,s=372,a=336,c=299,u=388,h=353,f=this[p(351,299)][p(t,e)][p(n,429)]||this[p(310,299)][p(569,472)][p(r,275)][p(182,288)],d=this[p(309,299)][p(i,376)][p(o,s)]||this[p(a,c)][p(411,472)][p(316,275)][p(u,h)];if(!f||!d)return!1;if(f<=2||d<=2)return!1;const l=f/d;function p(t,e){return ct(t,e-1)}return l>=.2&&l<=5}[ct(288,311)](){const t=1042,e=1193,n=1076,r=1020,i=1069,o=1154,s=1120,a=1125,c=1154,u=1029,h=1171,f=984,d=1090,l=1187,p=1056,m=1130,g=1062,v=963,y=1020,w=533,C=192,L=192,S=181,M=210,B=250,D=242,T=210,_=201,x=221,z=222,b=133,A=227,E=137,k=117,H=161,I=277,P=272,q=185,j=157,N=234,U=164,K=137,O=230,R=79,Z=312,J=1089,W=1194,Y=1213,V=1125,X=1228,F=1126,G=1085,$=1323,Q=1194,tt=1277,et=1196,nt=1158,rt=1277,it=1183,ot=1142,st=1172,at=1277,ut=1147,ht=1181,ft=1092,dt=1290,lt=1142,pt=1115,mt=1159,gt=1190,wt=1147,Ct=10,Lt=22,St=3,Mt=48,Bt=25,Dt=3,Tt=9,_t=389,xt=473,zt=504,bt=487,At=396,Et=500,kt=487,Ht=479,It=504,Pt=545,qt=564,jt=599,Nt=385,Ut=414,Kt=414,Ot=554,Rt=631,Zt=489,Jt=248,Wt=vt(t=>{function e(t,e){return yt(t-Jt,e)}this[e(487,_t)][e(xt,zt)]++,this[e(bt,At)][e(504,Et)][e(435,504)]>=10&&this[e(kt,Ht)][e(It,Pt)][e(qt,557)](),this[e(487,426)][e(504,jt)][e(Nt,Ut)]({x:t[e(Kt,315)],y:t[e(Ot,Rt)],t:t[e(Zt,592)]})},100),Yt=t=>{function e(t,e){return yt(e- -366,t)}this[e(-164,-127)][e(-168,-240)]++,requestAnimationFrame(()=>setTimeout(()=>{function n(t,n){return e(t,n-122)}this[n(Ct,-5)][n(46,3)][n(-49,-57)]>=5&&this[n(55,-5)][n(Lt,St)][n(Mt,72)](),this[n(Bt,-5)][n(-34,Dt)][n(-110,-107)]({x:t[n(-98,-78)],y:t[n(-10,62)],t:t[n(Tt,-3)],pre:this[n(-69,-17)](t)})},0))},Vt=t=>{this[o(J,W)][o(1267,1266)]++;const e=t[o(1240,1154)];if([o(1187,1112),o(Y,1230),o(1026,V),o(1247,X)][o(F,G)](e))return;const n=this[o(1200,W)][o($,1277)][this[o(1138,Q)][o(1305,tt)][o(1112,1142)]-1],r=t[o(1169,et)],i=n?r-n.t:null;function o(t,e){return yt(e-955,t)}this[o(nt,Q)][o(1232,rt)][o(it,ot)]>=10&&this[o(1142,1194)][o(1362,1277)][o(1359,1271)](),this[o(1172,W)][o(st,at)][o(1070,1092)]({_0x37c4fa:e,t:r,int:i}),null!==i&&i<100?(this[o(1179,1194)][o(1127,ut)][o(ht,ft)](i),this[o(dt,W)][o(1069,1147)][o(1064,lt)]>=5&&(this[o(pt,1194)][o(1052,1128)]++,this[o(mt,1194)][o(1143,ut)]=[])):this[o(gt,1194)][o(1242,wt)]=[]},Xt=vt(t=>{function e(t,e){return yt(t- -412,e)}this[e(-173,-92)][e(-263,-321)]++;const n=t[e(-171,-230)],r=window[e(-111,-151)];this[e(-173,-244)][e(-248,-232)][e(-225,-137)]>=10&&this[e(-173,-255)][e(-248,-348)][e(-96,-146)](),this[e(-173,-123)][e(-248,-279)][e(-275,-205)]({p:r,t:n})},200),Ft=t=>{function e(t,e){return yt(e- -468,t)}this[e(-336,-229)][e(-288,-288)]++,this[e(-280,-229)][e(-111,-206)][e(-277,-281)]>=10&&this[e(-141,-229)][e(-101,-206)][e(-102,-152)](),this[e(-163,-229)][e(-256,-205)]={x:t[e(-189,-247)][0][e(-316,-302)],y:t[e(-342,-247)][0][e(-242,-162)],t:t[e(-311,-227)],typ:e(-168,-246),s:0,d:0}},Gt=vt(t=>{const e={x:t[n(C,199)][0][n(137,57)],y:t[n(L,92)][0][n(277,S)]};function n(t,e){return yt(t- -29,e)}if(this[n(M,132)][n(234,B)]){const r=this[n(D,317)](this[n(T,_)][n(234,250)],e);this[n(M,132)][n(233,x)][n(158,z)]>=10&&this[n(M,b)][n(233,A)][n(287,212)]();const i={x:t[n(192,265)][0][n(E,k)],y:t[n(192,H)][0][n(I,P)],t:t[n(212,q)],typ:n(j,196),d:r,s:r/(t[n(212,107)]-this[n(T,247)][n(N,229)].t)};this[n(M,194)][n(233,147)][n(108,198)](i),this[n(210,305)][n(234,U)]=i}else{const e={x:t[n(C,106)][0][n(K,201)],y:t[n(C,194)][0][n(277,O)],t:t[n(212,180)],typ:n(157,R),s:0,d:0};this[n(M,j)][n(234,Z)]=e}},200);function $t(t,e){return ct(t,e-722)}const Qt=t=>{function e(t,e){return yt(t-294,e)}this[e(w,439)][e(557,478)]=null};this[$t(t,1020)][$t(1241,e)][$t(n,1154)]($t(1117,1040),Wt,{passive:!0}),this[$t(944,r)][$t(1256,e)][$t(1250,1154)]($t(i,1112),Yt,{passive:!0}),this[$t(974,1020)][$t(1219,1193)][$t(1071,o)]($t(1122,1140),Vt,{passive:!0}),this[$t(s,1020)][$t(a,1193)][$t(1147,c)]($t(1031,u),Xt,{passive:!0}),$t(1090,1164)in window&&(this[$t(953,1020)][$t(h,1193)][$t(1058,1154)]($t(f,d),Ft,{passive:!0}),this[$t(1073,r)][$t(l,e)][$t(p,1154)]($t(m,g),Gt,{passive:!0}),this[$t(v,y)][$t(1205,e)][$t(1214,1154)]($t(1122,1146),Qt,{passive:!0})),this[$t(1180,1100)][$t(1123,1022)]={mousemove:Wt,click:Yt,keydown:Vt,scroll:Xt,touchstart:Ft,touchmove:Gt,touchend:Qt}}async[ct(286,373)](t=!1){if(this[n(-247,-311)](t),this[n(-164,-161)][n(-171,-247)]&&await this[n(-351,-308)](),!this[n(-157,-161)][n(-343,-279)])return;const e=this[n(-277,-244)]();function n(t,e){return ct(t,e- -592)}e&&(await this[n(-38,-126)][n(-403,-303)](e),this[n(-215,-214)][n(-221,-149)]=Date[n(-326,-262)]())}[ct(216,281)](t=!1){function e(t,e){return ct(t,e- -959)}const n=Date[e(-703,-629)]();let r=Math[e(-670,-684)]((n-this[e(-654,-581)][e(-528,-567)])/1e3);null!==this[e(-530,-581)][e(-552,-516)]&&(r=Math[e(-651,-684)]((n-this[e(-652,-581)][e(-568,-516)])/1e3)),this[e(-509,-581)][e(-589,-526)]?(this[e(-657,-581)][e(-598,-526)][e(-623,-665)]+=t?1:0,this[e(-671,-581)][e(-620,-526)][e(-747,-693)]+=r):this[e(-669,-581)][e(-503,-526)]={pageCount:1,sessionStart:this[e(-493,-581)][e(-470,-567)],duration:0}}[ct(264,348)](){const t=1155,e=1301,n=1103,r=1109,i=965,o=1176,s=1155,a=1096,c=1070,u=1144,h=1141,f=1172,d=1212,l=1004,p=1042,m=1155,g=1149,v=1227,y=1019,w=1089,C=1112,L=1065,S=1108,M=1096,B=1244,D=1080,T=1102,_=1169,x=1107,z=1119,b=1210,A=1155,E=1210,k=1073,H=1105,I=1192,P=1025,q=1206,j=1107;if(!this[O(1067,t)][O(e,1245)]&&0===this[O(n,1155)][O(r,1141)]&&0===this[O(1133,1155)][O(i,1042)])return null;const N=this[O(o,s)][O(a,c)]??{wd:0,ua:1,cv:0,br:0},U=gt(this[O(u,1155)][O(1128,h)],this[O(1185,1155)][O(1171,f)],this[O(d,1155)][O(l,p)],this[O(1117,t)][O(1062,1163)],this[O(1244,m)][O(g,1238)],this[O(1252,m)][O(1197,v)],this[O(1121,1155)][O(y,w)],this[O(1203,1155)][O(C,L)],this[O(S,m)][O(1138,M)],this[O(B,1155)][O(1027,D)],this[O(1168,1155)][O(1234,1178)],this[O(T,1155)][O(1115,_)],Date[O(1183,x)]()),K={p:this[O(_,1155)][O(z,b)]?.[O(985,1071)]??1,s:this[O(1074,A)][O(1171,E)]?.[O(k,H)]??this[O(I,t)][O(1117,_)],d:this[O(1208,m)][O(1110,1210)]?.[O(P,1043)]??0};function O(t,e){return ct(t,e-777)}const R=function(t,e,n,r,i){function o(t,e){return st(t- -816,e)}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[o(-590,-585)],ta:r.ta,t:r.t,nm:r.nm,ms:r.ms,mj:r.mj,msp:r[o(-591,-586)],vc:r.vc,cp:r.cp,rc:r.rc,kj:r.kj,ki:r.ki,ss:r.ss,sj:r.sj,ssm:r[o(-576,-586)],sp:r.sp,ts:r.ts,tj:r.tj,tp:r.tp,tsm:r[o(-595,-596)]},ses:{p:i.p,s:i.s,d:i.d}}}(2,Date[O(q,j)](),N,U,K);return encodeURIComponent(btoa(JSON[O(995,1047)](R)))}[ct(483,460)](t){function e(t,e){return ct(e,t- -856)}this[e(-425,-469)][e(-439,-360)]&&console[e(-396,-457)](e(-491,-448)+t)}[ct(345,420)](){const t=496,e=432,n=529,r=420,i=511,o=411,s=390,a=595,c=463,u=134;try{if(this[f(t,e)][f(n,509)][f(r,411)]){const t=this[f(362,e)][f(i,509)][f(311,o)][f(s,457)](dt);if(t){const e=JSON[f(a,549)](t);let n;return f(c,429)in e?n=e:n={webdriver_detected:(h=e).wd,bot_user_agent:h.ua,canvas_fingerprint_normal:h.cf,browser_environment_normal:h.be,natural_mouse_activity:h.nm,natural_click_patterns:h.nc,keyboard_activity:h.ka,scroll_activity:h.sa,touch_activity:h.ta,significant_page_time:h.pt,multiple_pages_visited:h.mp,session_duration_reasonable:h.sd},n}}}catch(t){}var h;function f(t,e){return ct(t,e-u)}return null}[ct(344,355)](t){const e=1022,n=918,r=906,i=908,o=992,s=885,a=909,c=970,u=878;function h(t,e){return ct(t,e-608)}try{this[h(838,906)][h(e,983)][h(n,885)]&&this[h(803,r)][h(i,983)][h(o,s)][h(1002,a)](dt,JSON[h(c,u)](Ct(t)))}catch(t){}}[ct(441,366)](t){const e=843,n=851,r=827,i=764,o=842,s=827,a=895,c=720,u=894,h=780,f=931,d=827,l=846,p=758,m=t[g(888,815)];function g(t,e){return ct(e,t-485)}if(!(m&&m instanceof Element&&m[g(e,n)]))return 0;const v=m[g(843,902)]();if(!v[g(828,894)]||!v[g(r,839)])return 0;const y=v[g(i,855)]+v[g(828,o)]/2,w=v[g(834,n)]+v[g(s,898)]/2,C=this[g(a,978)]({x:t[g(790,c)],y:t[g(930,u)]},{x:y,y:w}),L=Math[g(812,h)](v[g(828,f)]**2+v[g(d,l)]**2)/2;return L>0?Math[g(822,p)](0,1-C/L):0}[ct(456,410)](t,e){return Math[(n=776,r=810,ct(r,n-449))]((e.x-t.x)**2+(e.y-t.y)**2);var n,r}async[ct(247,268)](t){const e=58,n=52,r=200,i=181,o=19,s=71,a=33,c=22,u=11,h=14,f=52,d=114,l=82,p=66,m=64,g=103;function v(t,e){return ct(t,e- -449)}if(!this[v(40,-18)][v(-122,-104)]||!this[v(-87,-71)][v(-15,-58)])return;const y=function(t,e){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}}}(1,Ct(t)),w=JSON[v(-148,-179)](y),C=this[v(-123,-18)][v(-111,-188)];if(this[v(-225,-151)][v(-128,-102)][v(-166,-181)])try{const t=new Blob([w],{type:v(-90,-n)});if(this[v(-177,-151)][v(-171,-102)][v(-r,-i)](C,t))return void(this[v(-o,-s)][v(a,-58)][v(c,-28)]=0)}catch(t){}try{const t=await fetch(C,{method:v(-u,h),headers:{"Content-Type":v(6,-f)},body:w,credentials:v(-d,-l),keepalive:!0});if(!t.ok)throw new Error(v(-57,-o)+t[v(28,-p)]);this[v(-m,-71)][v(49,-e)][v(-g,-28)]=0}catch(e){this[v(-54,-30)](t)}}[ct(439,419)](t){if(!this[n(-251,-270)][n(-238,-327)]||this[n(-251,-251)][n(-238,-216)][n(-208,-204)]>=this[n(-198,-150)][n(-296,-302)])return;const e=Math[n(-358,-370)](1e3*2**this[n(-251,-261)][n(-238,-188)][n(-208,-248)],3e4);function n(t,e){return ct(e,t- -629)}this[n(-251,-225)][n(-238,-153)][n(-208,-103)]++,this[n(-251,-171)][n(-238,-258)][n(-309,-293)]=this[n(-331,-382)][n(-254,-307)][n(-164,-239)](()=>{function e(t,e){return n(t- -95,e)}this[e(-346,-336)][e(-333,-278)]&&this[e(-293,-222)][e(-379,-298)]&&this[e(-456,-381)](t)},e)}async[ct(350,284)](){const t=661,e=660;if(!this[r(-441,-489)][r(-527,-424)]||!this[r(-494,-454)][r(-481,-571)])return;const n=gt(this[r(-494,-543)][r(-508,-535)],this[r(-494,-461)][r(-477,-516)],this[r(-494,-433)][r(-607,-549)],this[r(-494,-439)][r(-486,-449)],this[r(-494,-532)][r(-411,-394)],this[r(-494,-408)][r(-422,-331)],this[r(-494,-464)][r(-560,-577)],this[r(-494,-515)][r(-584,-595)],this[r(-494,-469)][r(-553,-552)],this[r(-494,-526)][r(-569,-546)],this[r(-494,-518)][r(-471,-418)],this[r(-494,-457)][r(-480,-421)],Date[r(-542,-462)]());function r(t,e){return ct(e,t- -872)}const i=function(t,e,n,r){const i=177,o=21,s=102,a=117,c={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 u(t,e){return ct(t,e- -314)}if(e.ma>5&&1===e.nm&&(c[u(i,125)]=!0),e.ca>0&&1===e.vc&&(c[u(20,97)]=!0),e.ka>5&&(c[u(-79,0)]=!0),e.sa>0&&(c[u(-90,-4)]=!0),e.ta>0&&(c[u(-7,-28)]=!0),e.t>30&&(c[u(34,o)]=!0),n&&(n[u(-6,-20)]>1&&(c[u(133,s)]=!0),n[u(-68,-48)]>60&&(c[u(a,67)]=!0)),r){const t=Object[u(127,68)](c);for(const e of t)c[e]=c[e]||r[e]}return c}(this[r(-494,-502)][r(-579,-555)],n,this[r(-494,-485)][r(-439,-545)],this[r(-494,-556)][r(-481,-451)][r(-464,-527)]);if(function(t,e){const n=757;if(!e)return!0;const r=Object[(i=1178,o=1139,ct(i,o-n))](t);var i,o;for(const n of r)if(t[n]!==e[n])return!0;return!1}(i,this[r(-494,-515)][r(-481,-418)][r(-464,-372)])){if(Date[r(-542,-575)]()-this[r(-494,-576)][r(-481,-557)][r(-516,-564)]<100)return;if(this[r(-441,-512)][r(-455,-424)]){if(this[r(-494,-584)][r(-481,-515)][r(-464,-427)]){Object[r(-490,-396)](i)[r(-420,-319)](n=>{const o=1155;function s(t,e){return r(e-o,t)}this[s(647,t)][s(e,674)][s(773,691)][n],i[n]})}else;this[r(-494,-392)][r(-439,-341)]}this[r(-494,-595)][r(-481,-464)][r(-464,-535)]=(o=i,{...o}),this[r(-494,-394)][r(-481,-406)][r(-516,-597)]=Date[r(-542,-473)](),this[r(-517,-531)](i),await this[r(-604,-709)](i)}else this[r(-441,-362)][r(-455,-444)];var o}}function St(){const t=["y2HLy2TfBNzPCM9UBwvUDa","Bw91C2vby3rPDML0Eq","w1niu10G","y2fSy3vSyxrLq2XPy2TqCMvJAxnPB24","Aw5JBhvKzq","Dg91y2HZDgfYDa","re9nq29UDgvUDeXVywrLza","CMvXDwvZDeLKBgvdywXSyMfJA0LK","Aw5UzxjizwLNAhq","x3nOC19ZDgf0zq","DxbKyxrLq29VA2LL","qxqGBgvHC3qGB25LihnPz25HBcbJB2XSzwn0Aw9Uig1LDgHVzcbTDxn0igjLigvUywjSzwqGkgnVB2TPzsbVCIbIzwfJB24P","D2LUzg93","DgvZDa","zMLSBfrLEhq","C3rHDgu","CMvKDwnL","DgLTzvn0yw1W","C2vZC2LVBL9KDxjHDgLVBL9YzwfZB25HyMXL","A2v5CW","C3rHDhvZ","kf58icK","DMfSDwu","y2XPy2TqB3nPDgLVBNm","C2v0tgvNywn5","yxrHBJi","CNvUq2fUDMfZvgvZDa","y2XPy2S","yMvHy29Uu3rHDgu","C3rHCNruAw1L","u2HVCgLMEsbtDg9YzwzYB250","y29VA2LL","Bw91C2vqB3nPDgLVBNm","y2HLy2TcCM93C2vYq29UC2LZDgvUy3K","yxbWBgLJyxrPB24VANnVBG","y2fUDMfZx2zPBMDLCNbYAw50x25VCM1HBa","y2fUDMfZ","C2fTzvnPDgu","Dg91y2HfDMvUDhm","BgfZDfrVDwnOrxzLBNq","DgfYz2v0","y29VA2LLtMfTzq","Dw5KzwzPBMvK","y3jLyxrLtgLUzwfYr3jHzgLLBNq","y2f0y2G","BgfZDfnPz25HBhm","ChjL","z2v0rgLZDgfUy2u","BMf0DxjHBf9JBgLJA19Wyxr0zxjUCW","twv0yq","Dg9mB3DLCKnHC2u","q29UDhjVBa","CgfYC2u","BxvSDgLWBgvFCgfNzxnFDMLZAxrLza","zgvIDwC","A2v5zg93BG","C2nOzwr1BgvczwfJB25szxrYEq","Bg9HzfnLC3nPB25tAwDUywXZ","CMv0CNLdB3vUDa","zg93BG","zgLY","Dg91y2HLBMq","A2vLCf9HBgL2zq","odC1mfzws2nRvW","ywrKq29SB3jtDg9W","Aw5UzxjxAwr0Aa","DxnLCKfNzw50","qMvHy29UigzHAwXLzdOG","xZb4mMmWntaZ","ywrKrxzLBNrmAxn0zw5LCG","C2vZC2LVBKrHDge","z2v0q29UDgv4Da","DxbKyxrLsw50zxj2ywW","i2zMzG","z2v0vgLTzxPVBMvpzMzZzxq","C2vZ","BMf0DxjHBf9TB3vZzv9Hy3rPDML0Eq","C2nYB2XSwq","oYbWyxrOpq","B250B3vJAhn0yxj0","BgfZDfvWzgf0zvrPBwu","mZG1nZa4mKTxuuLgza","y2XPzw50wq","C2vHCMnO","y2XLyxjuAw1LB3v0","B3b0Aw9UCW","z2v0","A2v5qwn0AxzPDhK","mZG1odaWofbWAenMuW","zM9YrwfJAa","kcGOlISPkYKRksSK","y29VA2LLrxHWAxj5","C2HPzNq","z2v0tgvNywn5","oYbTyxGTywDLpq","yxbWBhK","y29UC3rYDwn0B3i","Bg9N","A2v5rxzLBNrZ","mtzWEcbbCMLHBa","ue9tva","BwfW","C2v0vgLTzw91Da","y29VA2LLsMfY","l2fWAs9JB2XSzwn0","zw52AxjVBM1LBNrdAgvJA2vK","psHBxJTDkYK","otq0ntqZnLrdwNfvBW","zg9JDw1LBNq","yMLUza","y2HLy2TwAwv3Cg9YDfjHDgLV","yMvHy29Urw5KCg9PBNq","u3rYAwn0","y29VA2LLu3rVCMu","Aw5PDa","y2XPy2Tby3rPDML0Eq","zhvYyxrPB24","CMvXDwvZDeLKBgvdywXSyMfJAW","C2vUzejLywnVBG","Aw5JBhvKzxm","C3rYAw5NAwz5","BwLU","CM91BMq","CgX1z2LUCW","zg9JDw1LBNrfBgvTzw50","zMXVB3i","ChvZAa","C2vZC2LVBLn0B3jHz2u","zgv2AwnLugL4zwXsyxrPBW","BgvMDa","C2L6zq","DxbKyxrLu2vZC2LVBKrHDge","CMvK","ntm4mdKWDgrNquDA","y2HLy2TbBMrtzw5Ku2LNBMfSCW","CMvTB3zLrxzLBNrmAxn0zw5LCG","Dg91y2HFywn0AxzPDhK","y2XPzw50v2LKDgG","C2nYB2XSqwn0AxzPDhK","C2v0","ywjZ","CMvHzhLtDgf0zq","Dg9tDhjPBMC","zw52AxjVBM1LBNq","CgfNzunVDw50","D2vIzhjPDMvYx2rLDgvJDgvK","u2HPzNq","yM90x3vZzxjFywDLBNq","yNjVD3nLCKfqsq","zMLSBfjLy3q","zxzLBNriyw5KBgvYCW","C2v0sxrLBq","zM9UDa","C2nYB2XSrxzLBNrZ","DgHLBG","y2XPzw50wa","zxHLyW","C2nYB2XS","y3jLyxrLrwXLBwvUDa","qwX0","C2nYB2XSx2fJDgL2Axr5","Bw9UAxrVCKjLAgf2Aw9Y","A2v5yM9HCMrcDxjZDefJDgL2Axr5","zw5HyMXLq29VA2LL","A2v5yM9HCMrFywn0AxzPDhK","Cgf0Aa","tw9IAwXL","yMX1zq","Bw91C2vTB3zL","Dg91y2Hby3rPDML0Eq","CMv0CNLuAw1LB3v0swq","oYbtyw1Lu2L0zt0","zMLSBfn0EwXL","z2v0sxrLBq","zgvZDhjVEq","Bw92zq","BgvUz3rO","C3fYDa","C2vZC2LVBLn0yxj0","DxbKyxrLsw50zxj2ywXjza","BM93","A2v5yM9HCMrcDxjZDhm","y2fUy2vSswrSzunHBgXIywnR","yMvHy29UuMv0CNLmAw1PDa","Dg9eyxrHvvjm","C2LNBMLMAwnHBNrFCgfNzv90Aw1L","mtqYmJLlvu9Nweu","Bwf4","A2v5","w0nVB2TPzuPHCL0G","Dg91y2HTB3zL","nJi5nZa4Bvntt09K","AgvPz2H0","D2LKDgG","ndy5mdi3mMfMueT6Ea","zw5HyMXLqMvHy29U","Aw50","BMf2AwDHDg9Y","ChjLCgfYzvbHEwXVywreyxrH","Dg9W","D2vIzhjPDMvY","BgfUz3vHz2vZ","y2XPzw50sgvPz2H0","Bg9HzfnLC3nPB25eyxrH","nxz6CfnyzG","C2f2zvnLC3nPB25tAwDUywXZ","BgfZDfbYB2nLC3nuAw1L","yNjVD3nLCL9LBNzPCM9UBwvUDf9UB3jTywW","z2v0qM91BMrPBMDdBgLLBNrszwn0","Bg9HzgLUzW","Dg91y2HLCW","C3rHCNq","mJbSz2jktxe"];return(St=function(){return t})()}var Mt="2.0.7";const Bt=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"}),Dt=new RegExp(`^${window.location.origin}/((?:(?:[a-z]{2,3}|zh-hans|zh-hant)(?:-[a-zA-Z0-9]+)/)?cart/(add|change|update|clear))`),Tt=new RegExp("cart-performance:|add:|change:|clear:|note_update:");var _t;function xt({monorailRegion:t,schema:e,rawData:n}){const r=Date.now(),i={schema_id:e,payload:e===_t.OnUnload?zt(n):bt(n),metadata:{event_created_at_ms:r,event_sent_at_ms:r}},o=Bt[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 zt(t){const e=At(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 bt(t){const e=At(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 At(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"}(_t||(_t={}));const Et="xxxx-4xxx-xxxx-xxxxxxxxxxxx";function kt(){let t="";try{const e=window.crypto,n=new Uint16Array(31);e.getRandomValues(n);let r=0;t=Et.replace(/[x]/g,t=>{const e=n[r]%16;return r++,("x"===t?e:3&e|8).toString(16)}).toUpperCase()}catch(e){t=Et.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 Ht=!0,It=!1,Pt=null,qt=null,jt=!1;class Nt{info;config;performanceMetrics;constructor(t){const e=/_shopify_s=([^;]*)/.exec(document.cookie),n=e?e[1]:void 0,r=/_shopify_y=([^;]*)/.exec(document.cookie),i=r?r[1]:void 0;this.config=t,this.info={perfKitInit:Date.now(),perfKitVersion:Mt,url:window.location.href,referrer:document.referrer||void 0,microSessionId:kt(),microSessionCount:0,sessionToken:n,uniqueToken:i},performance.setResourceTimingBufferSize(1e3),this.performanceMetrics=function(t){const e=performance.getEntriesByType("navigation");if(0===e.length)return{};const n=e[0];let r=!1;return(n.requestStart&&n.startTime&&n.requestStartt+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 Ut(t){Pt=new Nt(t),t.spaMode&&(window.PerfKit={navigate:()=>{Ht?Ht=!1:It||(Ot(),Pt=new Nt(t),It=!0)},setPageType:e=>{t.storefrontData.pageType=e},setConsent:t=>{qt=t}}),t.shs&&((t,e=pt)=>{const n=235,r=299,i=118,o=280,s=196;function a(t,e){return ct(e,t- -236)}const c=new Lt(t,e);e[a(n,r)][a(55,-37)]===a(123,i)?e[a(n,o)][a(s,250)](a(133,80),()=>c[a(28,104)]()):c[a(28,-20)]()})({debug:!0,enableBeacon:t.shsBeacon||!1,enableCookie:t.shsCookie||!0})}const Kt=new Set;function Ot(){if(null!==Pt){if(Rt()&&Kt.size>0){let t={};for(const e of Kt)t={...t,...e};Kt.clear(),Pt.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))})}(Pt.config.resourceTimingSamplingRate),n=performance.getEntriesByType("resource").filter(t=>Dt.test(t.name)),r=performance.getEntriesByType("measure").filter(t=>Tt.test(t.name)).map(t=>{const e=t.toJSON();return e.name.startsWith("cart-performance:")||(e.name=`cart-performance:${e.name}`),e});xt({monorailRegion:Pt.config.monorailRegion,schema:_t.OnUnload,rawData:{...Pt.info,...Pt.config.storefrontData,...Pt.performanceMetrics,...t,resourceTiming:e,cartAjaxResourceTimings:n,cartPerformanceMetrics:r,paintTimingHidden:jt}})}}else console.debug("⛔️ Shopify/perf-kit is not initialized")}function Rt(){return null!==qt?qt:et()}((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),n=e?.node;if(n){const t=r.generateTarget?.(n)??i(n);a.set(e,t)}}},((e,n={})=>{const r=C();M(m(()=>{let i,o=l("CLS",0);const a=s(n,t),c=t=>{for(const e of t)a.u(e);a.o>o.value&&(o.value=a.o,o.entries=a.i,i())},d=p("layout-shift",c);d&&(i=h(e,o,B,n.reportAllChanges),r.onHidden(()=>{c(d.takeRecords()),i(!0)}),u(()=>{a.o=0,o=l("CLS",0),i=h(e,o,B,n.reportAllChanges),f(()=>i())}),setTimeout(i))}))})(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;Kt.add({cumulativeLayoutShift:n,cumulativeLayoutShiftTarget:e.largestShiftTarget})}),((t,n={})=>{const r=s(n=Object.assign({},n),P),o=new WeakMap;r.m=t=>{const e=t.element;if(e){const r=n.generateTarget?.(e)??i(e);o.set(t,r)}},((t,e={})=>{L(()=>{const n=C();let r,i=l("LCP");const o=s(e,P),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)}),o=t=>{t.isTrusted&&(H(n),removeEventListener(t.type,o,{capture:!0}))};for(const t of["keydown","click","visibilitychange"])addEventListener(t,o,{capture:!0});u(n=>{i=l("LCP"),r=h(t,i,q,e.reportAllChanges),f(()=>{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;Kt.add({largestContentfulPaint:Math.round(n),largestContentfulPaintTarget:e.target})}),((t,r={})=>{M(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;Kt.add({firstContentfulPaint:Math.round(e)})}),((t,e={})=>{const r=s(e=Object.assign({},e),k);let o=[],a=[],c=0;const f=new WeakMap,d=new WeakMap;let m=!1;const g=()=>{m||(H(v),m=!0)},v=()=>{const t=r.l.map(t=>f.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)),m=!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)&&f.set(t,n),g()},r.p=t=>{if(!d.get(t)){const n=t.entries[0].target;if(n){const r=e.generateTarget?.(n)??i(n);d.set(t,r)}}};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=f.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:d.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),f=h?h.startTime+h.duration:0;f>=e+n+r&&(c=t.nextPaintTime-f),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})};p("long-animation-frame",t=>{o=o.concat(t),g()}),((t,e={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const n=C();L(()=>{"interactionCount"in performance||b||(b=p("event",z,{type:"event",buffered:!0,durationThreshold:0}));let r,i=l("INP");const o=s(e,k),a=t=>{H(()=>{for(const e of t)o.u(e);const e=o.M();e&&e.T!==i.value&&(i.value=e.T,i.entries=e.entries,r())})},c=p("event",a,{durationThreshold:e.durationThreshold??40});r=h(t,i,I,e.reportAllChanges),c&&(c.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{a(c.takeRecords()),r(!0)}),u(()=>{o.v(),i=l("INP"),r=h(t,i,I,e.reportAllChanges)}))})})(e=>{const n=w(e);t(n)},e)})(function(t){const{attribution:e,value:n}=t;if(null===Pt)return void console.debug("⛔️ Shopify/perf-kit is not initialized");if(!Rt())return;Pt.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)}:{};xt({monorailRegion:Pt.config.monorailRegion,schema:_t.OnInteraction,rawData:{...Pt.info,...Pt.config.storefrontData,...Pt.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,j,n.reportAllChanges);N(()=>{const o=e();o&&(r.value=Math.max(o.responseStart-d(),0),r.entries=[o],i(!0),u(()=>{r=l("TTFB",0),i=h(t,r,j,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;Kt.add({timeToFirstByte:Math.round(e)})}),addEventListener("DOMContentLoaded",()=>{jt="hidden"===document.visibilityState}),addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&Ot()}),function(){const{dataset:t}=document.currentScript;try{Ut(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)}}()}();