PageSourceSearch

https://savemart.com/build/root-LE6GO2CI.js

js savemart.com collected 2026-09-24 20:03:27 UTC 202,962 bytes, 45 lines download raw bytes

1import{a as bc,b as Ic,c as Dc,d as wc}from"/build/_shared/chunk-QSEQTQPT.js";import{a as uc,b as dc,c as _c}from"/build/_shared/chunk-XVAPMXJX.js";import{a as mc}from"/build/_shared/chunk-PYM6WJZB.js";import{a as en,b as Lc}from"/build/_shared/chunk-IDMZFMQZ.js";import{a as Qr}from"/build/_shared/chunk-NDF3P3WL.js";import{b as Uc}from"/build/_shared/chunk-AOCBU542.js";import{a as vc}from"/build/_shared/chunk-OOBV5GSW.js";import{a as gc}from"/build/_shared/chunk-JJMZICW5.js";import{b as qs}from"/build/_shared/chunk-3JJSUKUK.js";import{a as Vc}from"/build/_shared/chunk-3E6KFISN.js";import{b as Nc}from"/build/_shared/chunk-OF5QEQJX.js";import{a as ac}from"/build/_shared/chunk-DFGF7PMK.js";import"/build/_shared/chunk-QQSHRUPO.js";import{a as Um}from"/build/_shared/chunk-SFARWUO7.js";import{a as Mc,b as Oc}from"/build/_shared/chunk-55F422JF.js";import"/build/_shared/chunk-2DFJDBLC.js";import{a as so}from"/build/_shared/chunk-L4TGNK6B.js";import"/build/_shared/chunk-E57WOO3O.js";import{a as km}from"/build/_shared/chunk-FLT6L6K2.js";import{a as Vm}from"/build/_shared/chunk-B2FWI4SG.js";import{a as xc}from"/build/_shared/chunk-3QBGRSAQ.js";import"/build/_shared/chunk-OJUPVNEE.js";import{a as Bm}from"/build/_shared/chunk-FIXT7LR5.js";import"/build/_shared/chunk-JOEPP3Z5.js";import{a as Cc}from"/build/_shared/chunk-ARLO5ONP.js";import"/build/_shared/chunk-QKGY3HOB.js";import"/build/_shared/chunk-YNOAROMI.js";import{a as yc,b as Pc}from"/build/_shared/chunk-EGPVPUSB.js";import"/build/_shared/chunk-6SIFOYB3.js";import"/build/_shared/chunk-EJQDBLZO.js";import"/build/_shared/chunk-VGTBUDWX.js";import"/build/_shared/chunk-BYWR45SZ.js";import{b as Br}from"/build/_shared/chunk-G466YYRW.js";import{a as Hs}from"/build/_shared/chunk-7WQKHCSN.js";import{a as sc}from"/build/_shared/chunk-LEOEITBH.js";import{a as Hm}from"/build/_shared/chunk-WA77X3DN.js";import{a as wm}from"/build/_shared/chunk-XDJM4OE7.js";import"/build/_shared/chunk-PAIXSKMP.js";import"/build/_shared/chunk-Y3ZJBBSO.js";import"/build/_shared/chunk-TNWWPGCZ.js";import{a as fc}from"/build/_shared/chunk-QGKIPCNV.js";import"/build/_shared/chunk-H2TVMI6R.js";import"/build/_shared/chunk-ZBNZBIQQ.js";import"/build/_shared/chunk-VK43Q5AP.js";import{d as hc}from"/build/_shared/chunk-2OPFJI6K.js";import"/build/_shared/chunk-CCZPNS3X.js";import"/build/_shared/chunk-ID6W65EA.js";import{e as Jr,f as Bo,g as Ec}from"/build/_shared/chunk-D3CDB3GT.js";import{a as Dm}from"/build/_shared/chunk-RZUMHWOZ.js";import"/build/_shared/chunk-N6WFVNIT.js";import{h as Sc}from"/build/_shared/chunk-QPVMPQBM.js";import"/build/_shared/chunk-DEEIYPRZ.js";import{a as Xs}from"/build/_shared/chunk-KJEOPK57.js";import{g as Tc}from"/build/_shared/chunk-DKUOJGEI.js";import"/build/_shared/chunk-MPUKDBDL.js";import{e as ws,f as Us,i as Vs,r as ks}from"/build/_shared/chunk-HHIVXM4B.js";import{b as ki}from"/build/_shared/chunk-XJOD3PKR.js";import{a as qr,b as oc,c as Ct,d as rc,e as nc,f as Xr,g as pc}from"/build/_shared/chunk-LLC55C6N.js";import{a as Zs,b as Qs,c as Js,d as ec,f as tc,h as Zr,i as ic,j as Re}from"/build/_shared/chunk-D7PKK72C.js";import{a as jr}from"/build/_shared/chunk-CCXUG7EA.js";import{b as Rc}from"/build/_shared/chunk-XG7VCJHW.js";import{a as ne,b as Ac}from"/build/_shared/chunk-BWJJ7KE5.js";import"/build/_shared/chunk-BOFLYQ3G.js";import{b as Gt}from"/build/_shared/chunk-GLNX7PBK.js";import{a as Be}from"/build/_shared/chunk-CUSDUZIO.js";import"/build/_shared/chunk-WNYMBWMF.js";import{a as ko,b as Ho,d as cc,e as lc,f as Z}from"/build/_shared/chunk-HGY3FHMJ.js";import{a as Hi,b as Ft}from"/build/_shared/chunk-QXZHEXFA.js";import{a as ht}from"/build/_shared/chunk-ZWW24JP5.js";import{u as ao}from"/build/_shared/chunk-XWUHCRY3.js";import{O as bs,U as vs,Z as Di,ga as io,i as Ns,j as xs,k as Ms,l as Os,m as Ls,n as ys,o as Ps}from"/build/_shared/chunk-JDCYZ4LL.js";import{A as Vo,c as Im,k as Kr,p as Is,r as Ds,w as wi,x as zr}from"/build/_shared/chunk-ZSEETMYI.js";import{a as Wr,b as Ys,c as $r,d as Ks,e as Ui,f as et,g as zs,h as Ws,j as $s,k as js,l as Vi}from"/build/_shared/chunk-EIOGUGV2.js";import{a as vi,d as Ii}from"/build/_shared/chunk-JHYR5QDS.js";import"/build/_shared/chunk-IWXKJYOV.js";import{a as Bs,c as Gs,d as Fs}from"/build/_shared/chunk-4V5XVBRQ.js";import{b as He,c as kr,d as ns,e as is,g as as,h as Pi,i as Tt,l as ss,m as Io,o as cs,p as ls,q as ps,s as us,t as Hr,v as ds}from"/build/_shared/chunk-BTADOTLT.js";import{$ as Uo,E as Gr,G as fs,I as St,J as As,K as oe,M as wo,O as W,T as gs,U as ft,V as hs,Y as Fr,Z as Bt,_ as Cs,aa as At,m as Ts,n as bi,p as Ss,qa as Yr,sa as gt,t as Je,wa as Rs,y as Do,z as Ht}from"/build/_shared/chunk-FES3B5QL.js";import{A as Es,g as no,p as _s,q as ms}from"/build/_shared/chunk-XC7SPKRF.js";import{a as x}from"/build/_shared/chunk-G3QUQOKW.js";import{a as M}from"/build/_shared/chunk-F3RAJA4O.js";import"/build/_shared/chunk-O5OXJSFQ.js";import{a as g,b as vo,c as bm,e as E,f as vm}from"/build/_shared/chunk-O3BUCIVF.js";var Qc,Jc=g(()=>{Qc=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof globalThis=="object"?globalThis:{}});var el=g(()=>{Jc()});var tt,Fi=g(()=>{tt="1.9.0"});function tE(e){var t=new Set([e]),o=new Set,r=e.match(tl);
1if(!r)return function(){return!1};var n={major:+r[1],minor:+r[2],patch:+r[3],prerelease:r[4]};if(n.prerelease!=null)return function(c){return c===e};function i(s){return o.add(s),!1}function a(s){return t.add(s),!0}return function(c){if(t.has(c))return!0;if(o.has(c))return!1;var l=c.match(tl);if(!l)return i(c);var p={major:+l[1],minor:+l[2],patch:+l[3],prerelease:l[4]};return p.prerelease!=null||n.major!==p.major?i(c):n.major===0?n.minor===p.minor&&n.patch<=p.patch?a(c):i(c):n.minor<=p.minor?a(c):i(c)}}var tl,ol,rl=g(()=>{Fi();tl=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;ol=tE(tt)});function Ge(e,t,o,r){var n;r===void 0&&(r=!1);var i=Fo[Go]=(n=Fo[Go])!==null&&n!==void 0?n:{version:tt};if(!r&&i[e]){var a=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+e);return o.error(a.stack||a.message),!1}if(i.version!==tt){var a=new Error("@opentelemetry/api: Registration of version v"+i.version+" for "+e+" does not match previously registered API v"+tt);return o.error(a.stack||a.message),!1}return i[e]=t,o.debug("@opentelemetry/api: Registered a global for "+e+" v"+tt+"."),!0}function fe(e){var t,o,r=(t=Fo[Go])===null||t===void 0?void 0:t.version;if(!(!r||!ol(r)))return(o=Fo[Go])===null||o===void 0?void 0:o[e]}function Fe(e,t){t.debug("@opentelemetry/api: Unregistering a global for "+e+" v"+tt+".");var o=Fo[Go];o&&delete o[e]}var oE,Go,Fo,Yt=g(()=>{el();Fi();rl();oE=tt.split(".")[0],Go=Symbol.for("opentelemetry.js.api."+oE),Fo=Qc});function Yo(e,t,o){var r=fe("diag");if(r)return o.unshift(t),r[e].apply(r,nE([],rE(o),!1))}var rE,nE,nl,il=g(()=>{Yt();rE=function(e,t){var o=typeof Symbol=="function"&&e[Symbol.iterator];if(!o)return e;var r=o.call(e),n,i=[],a;try{for(;(t===void 0||t-- >0)&&!(n=r.next()).done;)i.push(n.value)}catch(s){a={error:s}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(a)throw a.error}}return i},nE=function(e,t,o){if(o||arguments.length===2)for(var r=0,n=t.length,i;r<n;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))},nl=function(){function e(t){this._namespace=t.namespace||"DiagComponentLogger"}return e.prototype.debug=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return Yo("debug",this._namespace,t)},e.prototype.error=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return Yo("error",this._namespace,t)},e.prototype.info=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return Yo("info",this._namespace,t)},e.prototype.warn=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return Yo("warn",this._namespace,t)},e.prototype.verbose=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return Yo("verbose",this._namespace,t)},e}()});var z,rn=g(()=>{(function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"})(z||(z={}))});function al(e,t){e<z.NONE?e=z.NONE:e>z.ALL&&(e=z.ALL),t=t||{};function o(r,n){var i=t[r];return typeof i=="function"&&e>=n?i.bind(t):function(){}}return{error:o("error",z.ERROR),warn:o("warn",z.WARN),info:o("info",z.INFO),debug:o("debug",z.DEBUG),verbose:o("verbose",z.VERBOSE)}}var sl=g(()=>{rn()});var iE,aE,sE,ie,Kt=g(()=>{il();sl();rn();Yt();iE=function(e,t){var o=typeof Symbol=="function"&&e[Symbol.iterator];if(!o)return e;var r=o.call(e),n,i=[],a;try{for(;(t===void 0||t-- >0)&&!(n=r.next()).done;)i.push(n.value)}catch(s){a={error:s}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(a)throw a.error}}return i},aE=function(e,t,o){if(o||arguments.length===2)for(var r=0,n=t.length,i;r<n;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))},sE="diag",ie=function(){function e(){function t(n){return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var s=fe("diag");if(s)return s[n].apply(s,aE([],iE(i),!1))}}var o=this,r=function(n,i){var a,s,c;if(i===void 0&&(i={logLevel:z.INFO}),n===o){var l=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return o.error((a=l.stack)!==null&&a!==void 0?a:l.message),!1}typeof i=="number"&&(i={logLevel:i});var p=fe("diag"),d=al((s=i.logLevel)!==null&&s!==void 0?s:z.INFO,n);if(p&&!i.suppressOverrideMessage){var m=(c=new Error().stack)!==null&&c!==void 0?c:"<failed to generate stacktrace>";p.warn("Current logger will be overwritten from "+m),d.warn("Current logger will over
1write one already registered from "+m)}return Ge("diag",d,o,!0)};o.setLogger=r,o.disable=function(){Fe(sE,o)},o.createComponentLogger=function(n){return new nl(n)},o.verbose=t("verbose"),o.debug=t("debug"),o.info=t("info"),o.warn=t("warn"),o.error=t("error")}return e.instance=function(){return this._instance||(this._instance=new e),this._instance},e}()});var cE,lE,cl,ll=g(()=>{cE=function(e,t){var o=typeof Symbol=="function"&&e[Symbol.iterator];if(!o)return e;var r=o.call(e),n,i=[],a;try{for(;(t===void 0||t-- >0)&&!(n=r.next()).done;)i.push(n.value)}catch(s){a={error:s}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(a)throw a.error}}return i},lE=function(e){var t=typeof Symbol=="function"&&Symbol.iterator,o=t&&e[t],r=0;if(o)return o.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},cl=function(){function e(t){this._entries=t?new Map(t):new Map}return e.prototype.getEntry=function(t){var o=this._entries.get(t);if(o)return Object.assign({},o)},e.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(t){var o=cE(t,2),r=o[0],n=o[1];return[r,n]})},e.prototype.setEntry=function(t,o){var r=new e(this._entries);return r._entries.set(t,o),r},e.prototype.removeEntry=function(t){var o=new e(this._entries);return o._entries.delete(t),o},e.prototype.removeEntries=function(){for(var t,o,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=new e(this._entries);try{for(var a=lE(r),s=a.next();!s.done;s=a.next()){var c=s.value;i._entries.delete(c)}}
1catch(l){t={error:l}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(t)throw t.error}}return i},e.prototype.clear=function(){return new e},e}()});var pl,ul=g(()=>{pl=Symbol("BaggageEntryMetadata")});function dl(e){return e===void 0&&(e={}),new cl(new Map(Object.entries(e)))}function Yi(e){return typeof e!="string"&&(pE.error("Cannot create baggage metadata from unknown type: "+typeof e),e=""),{__TYPE__:pl,toString:function(){return e}}}var pE,Ki=g(()=>{Kt();ll();ul();pE=ie.instance()});function ot(e){return Symbol.for(e)}var uE,rt,Ko=g(()=>{uE=function(){function e(t){var o=this;o._currentContext=t?new Map(t):new Map,o.getValue=function(r){return o._currentContext.get(r)},o.setValue=function(r,n){var i=new e(o._currentContext);return i._currentContext.set(r,n),i},o.deleteValue=function(r){var n=new e(o._currentContext);return n._currentContext.delete(r),n}}return e}(),rt=new uE});function zo(){return Wi}var zt,dE,nn,_E,mE,EE,TE,zi,SE,fE,AE,Wi,gE,hE,CE,RE,NE,xE,ME,$i=g(()=>{zt=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function r(){this.constructor=t}t.prototype=o===null?Object.create(o):(r.prototype=o.prototype,new r)}}(),dE=function(){function e(){}return e.prototype.createGauge=function(t,o){return hE},e.prototype.createHistogram=function(t,o){return CE},e.prototype.createCounter=function(t,o){return gE},e.prototype.createUpDownCounter=function(t,o){return RE},e.prototype.createObservableGauge=function(t,o){return xE},e.prototype.createObservableCounter=function(t,o){return NE},e.prototype.createObservableUpDownCounter=function(t,o){return ME},e.prototype.addBatchObservableCallback=function(t,o){},e.prototype.removeBatchObservableCallback=function(t){},e}(),nn=function(){function e(){}return e}(),_E=function(e){zt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.add=function(o,r){},t}(nn),mE=function(e){zt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.add=function(o,r){},t}(nn),EE=function(e){zt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.record=function(o,r){},t}(nn),TE=function(e){zt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.record=function(o,r){},t}(nn),zi=function(){function e(){}return e.prototype.addCallback=function(t){},e.prototype.removeCallback=function(t){},e}(),SE=function(e){zt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(zi),fE=function(e){zt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(zi),AE=function(e){zt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(zi),Wi=new dE,gE=new _E,hE=new EE,CE=new TE,RE=new mE,NE=new SE,xE=new fE,ME=new AE});var _l,ml,El=g(()=>{_l={get:function(e,t){if(e!=null)return e[t]},keys:function(e){return e==null?[]:Object.keys(e)}},ml={set:function(e,t,o){e!=null&&(e[t]=o)}}});var OE,LE,Tl,Sl=g(()=>{Ko();OE=function(e,t){var o=typeof Symbol=="function"&&e[Symbol.iterator];if(!o)return e;var r=o.call(e),n,i=[],a;try{for(;(t===void 0||t-- >0)&&!(n=r.next()).done;)i.push(n.value)}catch(s){a={error:s}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(a)throw a.error}}return i},LE=function(e,t,o){if(o||arguments.length===2)for(var r=0,n=t.length,i;r<n;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))},Tl=function(){function e(){}return e.prototype.active=function(){return rt},e.prototype.with=function(t,o,r){for(var n=[],i=3;i<arguments.length;i++)n[i-3]=arguments[i];return o.call.apply(o,LE([r],OE(n),!1))},e.prototype.bind=function(t,o){return o},e.prototype.enable=function(){return this},e.prototype.disable=function(){return this},e}()});var yE,PE,ji,bE,Nt,Wo=g(()=>{Sl();Yt();Kt();yE=function(e,t){var o=typeof Symbol=="function"&&e[Symbol.iterator];if(!o)return e;
1var r=o.call(e),n,i=[],a;try{for(;(t===void 0||t-- >0)&&!(n=r.next()).done;)i.push(n.value)}catch(s){a={error:s}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(a)throw a.error}}return i},PE=function(e,t,o){if(o||arguments.length===2)for(var r=0,n=t.length,i;r<n;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))},ji="context",bE=new Tl,Nt=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalContextManager=function(t){return Ge(ji,t,ie.instance())},e.prototype.active=function(){return this._getContextManager().active()},e.prototype.with=function(t,o,r){for(var n,i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];return(n=this._getContextManager()).with.apply(n,PE([t,o,r],yE(i),!1))},e.prototype.bind=function(t,o){return this._getContextManager().bind(t,o)},e.prototype._getContextManager=function(){return fe(ji)||bE},e.prototype.disable=function(){this._getContextManager().disable(),Fe(ji,ie.instance())},e}()});var ce,qi=g(()=>{(function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"})(ce||(ce={}))});var an,sn,$o,cn=g(()=>{qi();an="0000000000000000",sn="00000000000000000000000000000000",$o={traceId:sn,spanId:an,traceFlags:ce.NONE}});var xt,ln=g(()=>{cn();xt=function(){function e(t){t===void 0&&(t=$o),this._spanContext=t}return e.prototype.spanContext=function(){return this._spanContext},e.prototype.setAttribute=function(t,o){return this},e.prototype.setAttributes=function(t){return this},e.prototype.addEvent=function(t,o){return this},e.prototype.addLink=function(t){return this},e.prototype.addLinks=function(t){return this},e.prototype.setStatus=function(t){return this},e.prototype.updateName=function(t){return this},e.prototype.end=function(t){},e.prototype.isRecording=function(){return!1},e.prototype.recordException=function(t,o){},e}()});function pn(e){return e.getValue(Xi)||void 0}function fl(){return pn(Nt.getInstance().active())}function jo(e,t){return e.setValue(Xi,t)}function Al(e){return e.deleteValue(Xi)}function gl(e,t){return jo(e,new xt(t))}function un(e){var t;return(t=pn(e))===null||t===void 0?void 0:t.spanContext()}var Xi,Zi=g(()=>{Ko();ln();Wo();Xi=ot("OpenTelemetry Context Key SPAN")});function dn(e){return vE.test(e)&&e!==sn}function hl(e){return IE.test(e)&&e!==an}function nt(e){return dn(e.traceId)&&hl(e.spanId)}function Cl(e){return new xt(e)}var vE,IE,_n=g(()=>{cn();ln();vE=/^([0-9a-f]{32})$/i,IE=/^[0-9a-f]{16}$/i});function DE(e){return typeof e=="object"&&typeof e.spanId=="string"&&typeof e.traceId=="string"&&typeof e.traceFlags=="number"}var Qi,mn,Ji=g(()=>{Wo();Zi();ln();_n();Qi=Nt.getInstance(),mn=function(){function e(){}return e.prototype.startSpan=function(t,o,r){r===void 0&&(r=Qi.active());var n=Boolean(o?.root);if(n)return new xt;var i=r&&un(r);return DE(i)&&nt(i)?new xt(i):new xt},e.prototype.startActiveSpan=function(t,o,r,n){var i,a,s;if(!(arguments.length<2)){arguments.length===2?s=o:arguments.length===3?(i=o,s=r):(i=o,a=r,s=n);var c=a??Qi.active(),l=this.startSpan(t,i,c),p=jo(c,l);return Qi.with(p,s,void 0,l)}},e}()});var wE,Rl,Nl=g(()=>{Ji();wE=new mn,Rl=function(){function e(t,o,r,n){this._provider=t,this.name=o,this.version=r,this.options=n}return e.prototype.startSpan=function(t,o,r){return this._getTracer().startSpan(t,o,r)},e.prototype.startActiveSpan=function(t,o,r,n){var i=this._getTracer();return Reflect.apply(i.startActiveSpan,i,arguments)},e.prototype._getTracer=function(){if(this._delegate)return this._delegate;var t=this._provider.getDelegateTracer(this.name,this.version,this.options);return t?(this._delegate=t,this._delegate):wE},e}()});var xl,Ml=g(()=>{Ji();xl=function(){function e(){}return e.prototype.getTracer=function(t,o,r){return new mn},e}()});var UE,ea,Ol=g(()=>{Nl();Ml();UE=new xl,ea=function(){function e(){}return e.prototype.getTracer=function(t,o,r){var n;return(n=this.getDelegateTracer(t,o,r))!==null&&n!==void 0?n:new Rl(this,t,o,r)},e.prototype.getDelegate=function(){var t;return(t=this._delegate)!==null&&t!==void 0?t:UE},e.prototype.setDelegate=function(t){this._delegate=t},e.prototype.getDelegateTracer=function(t,o,r){var n;return(n=this._delegate)===null||n===void 0?void 0:n.getTracer(t,o,r)},e}()});var co,Ll=g(()=>{(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(co||(co={}))});var it,yl=g(()=>{(function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"})(it||(it={}))});var le,Pl=g(()=>{(function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"})(le||(le={}))});var H,bl=g(()=>{Wo();H=Nt.getInstance()});var L,vl=g(()=>{Kt();L=ie.instance()});var VE,Il,Dl=g(()=>{$i();VE=function(){function e(){}return e.prototype.getMeter=function(t,o,r){return Wi},e}(),Il=new VE});var ta,wl,Ul=g(()=>{Dl();Yt();Kt();ta="metrics",wl=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalMeterProvider=function(t){return Ge(ta,t,ie.instance())},e.prototype.getMeterProvider=function(){return fe(ta)||Il},e.prototype.getMeter=function(t,o,r){return this.getMeterProvider().getMeter(t,o,r)},e.prototype.disable=function(){Fe(ta,ie.instance())},e}()});var qo,Vl=g(()=>{Ul();qo=wl.getInstance()});var kl,Hl=g(()=>{kl=function(){function e(){}return e.prototype.inject=function(t,o){},e.prototype.extract=function(t,o){return t},e.prototype.fields=function(){return[]},e}()});function ra(e){return e.getValue(oa)||void 0}function Bl(){return ra(Nt.getInstance().active())}function Gl(e,t){return e.setValue(oa,t)}function Fl(e){return e.deleteValue(oa)}var oa,Yl=g(()=>{Wo();Ko();oa=ot("OpenTelemetry Baggage Key")});var na,kE,Kl,zl=g(()=>{Yt();Hl();El();Yl();Ki();Kt();na="propagation",kE=new kl,Kl=function(){function e(){this.createBaggage=dl,this.getBaggage=ra,this.getActiveBaggage=Bl,this.setBaggage=Gl,this.deleteBaggage=Fl}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalPropagator=function(t){return Ge(na,t,ie.instance())},e.prototype.inject=function(t,o,r){return r===void 0&&(r=ml),this._getGlobalPropagator().inject(t,o,r)},e.prototype.extract=function(t,o,r){return r===void 0&&(r=_l),this._getGlobalPropagator().extract(t,o,r)},e.prototype.fields=function(){return this._getGlobalPropagator().fields()},e.prototype.disable=function(){Fe(na,ie.instance())},e.prototype._getGlobalPropagator=function(){return fe(na)||kE},e}()});var pe,Wl=g(()=>{zl();pe=Kl.getInstance()});var ia,$l,jl=g(()=>{Yt();Ol();_n();Zi();Kt();ia="trace",$l=function(){function e(){this._proxyTracerProvider=new ea,this.wrapSpanContext=Cl,this.isSpanContextValid=nt,this.deleteSpan=Al,this.get
1Span=pn,this.getActiveSpan=fl,this.getSpanContext=un,this.setSpan=jo,this.setSpanContext=gl}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalTracerProvider=function(t){var o=Ge(ia,this._proxyTracerProvider,ie.instance());return o&&this._proxyTracerProvider.setDelegate(t),o},e.prototype.getTracerProvider=function(){return fe(ia)||this._proxyTracerProvider},e.prototype.getTracer=function(t,o){return this.getTracerProvider().getTracer(t,o)},e.prototype.disable=function(){Fe(ia,ie.instance()),this._proxyTracerProvider=new ea},e}()});var G,ql=g(()=>{jl();G=$l.getInstance()});var B=g(()=>{Ki();Ko();rn();$i();Ll();yl();Pl();qi();_n();cn();bl();vl();Vl();Wl();ql()});function lo(e){return e.setValue(sa,!0)}function Xl(e){return e.deleteValue(sa)}function Mt(e){return e.getValue(sa)===!0}var sa,Xo=g(()=>{B();sa=ot("OpenTelemetry SDK Context Key SUPPRESS_TRACING")});var Zl,ca,En,Tn,la=g(()=>{Zl="=",ca=";",En=",",Tn="baggage"});function Jl(e){return e.reduce((t,o)=>{let r=`${t}${t!==""?En:""}${o}`;return r.length>8192?t:r},"")}function ep(e){return e.getAllEntries().map(([t,o])=>{let r=`${encodeURIComponent(t)}=${encodeURIComponent(o.value)}`;return o.metadata!==void 0&&(r+=ca+o.metadata.toString()),r})}function tp(e){if(!e)return;let t=e.indexOf(ca),o=t===-1?e:e.substring(0,t),r=o.indexOf(Zl);if(r<=0)return;let n=o.substring(0,r).trim(),i=o.substring(r+1).trim();if(!n||!i)return;let a,s;try{a=decodeURIComponent(n),s=decodeURIComponent(i)}catch{return}let c;if(t!==-1&&t<e.length-1){let l=e.substring(t+1);c=Yi(l)}return{key:a,value:s,metadata:c}}function da(e,t,o,r){let n=0;for(;n<e.length&&o<180;){let i=e.indexOf(En,n),a=i===-1?e.length:i,s=a-n;if(s<=4096){let c=tp(e.substring(n,a));if(c){let l=(o===0?0:1)+s;if(r+l>8192)break;t[c.key]=c.metadata?{value:c.value,metadata:c.metadata}:{value:c.value},o++,r+=l}}if(i===-1)break;n=i+1}return[o,r]}function op(e){let t={};return typeof e=="string"&&e.length>0&&e.split(En).forEach(o=>{let r=tp(o);r!==void 0&&r.value.length>0&&(t[r.key]=r.value)}),t}var _a=g(()=>{B();la()});var po,rp=g(()=>{B();Xo();la();_a();po=class{inject(t,o,r){let n=pe.getBaggage(t);if(!n||Mt(t))return;let i=ep(n).filter(s=>s.length<=4096).slice(0,180),a=Jl(i);a.length>0&&r.set(o,Tn,a)}extract(t,o,r){let n=r.get(o,Tn);if(!n)return t;let i={},a=0,s=0;if(Array.isArray(n))for(let c=0;c<n.length;c++)[a,s]=da(n[c],i,a,s);else[a]=da(n,i,a,s);return a===0?t:pe.setBaggage(t,pe.createBaggage(i))}fields(){return[Tn]}}});var Sn,np=g(()=>{Sn=class{_monotonicClock;_epochMillis;_performanceMillis;constructor(t,o){this._monotonicClock=o,this._epochMillis=t.now(),this._performanceMillis=o.now()}now(){let t=this._monotonicClock.now()-this._performanceMillis;return this._epochMillis+t}}});function at(e){let t={};if(typeof e!="object"||e==null)return t;for(let o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;if(!HE(o)){L.warn(`Invalid attribute key: ${o}`);continue}let r=e[o];if(!Zo(r)){L.warn(`Invalid attribute value set for key: ${o}`);continue}Array.isArray(r)?t[o]=r.slice():t[o]=r}return t}function HE(e){return typeof e=="string"&&e!==""}function Zo(e){return e==null?!0:Array.isArray(e)?BE(e):ip(typeof e)}function BE(e){let t;for(let o of e){if(o==null)continue;let r=typeof o;if(r!==t){if(!t){if(ip(r)){t=r;continue}return!1}return!1}}return!0}function ip(e){switch(e){case"number":case"boolean":case"string":return!0}return!1}var ap=g(()=>{B()});function fn(){return e=>{L.error(GE(e))}}function GE(e){return typeof e=="string"?e:JSON.stringify(FE(e))}function FE(e){let t={},o=e;for(;o!==null;)Object.getOwnPropertyNames(o).forEach(r=>{if(t[r])return;let n=o[r];n&&(t[r]=String(n))}),o=Object.getPrototypeOf(o);return t}var ma=g(()=>{B()});function cp(e){sp=e}function Ne(e){try{sp(e)}catch{}}var sp,lp=g(()=>{ma();sp=fn()});function Ea(e){}function Ta(e){}function Sa(e){}function fa(e){}var pp=g(()=>{});var Aa,up=g(()=>{Aa=globalThis});var dp,_p=g(()=>{dp="2.8.0"});var mp=g(()=>{});var Ep=g(()=>{mp()});var YE,Tp,Sp=g(()=>{YE="deployment.environment",Tp=YE});var fp=g(()=>{Sp()});var Ot,An,Ap,gn,hn,Cn,Rn,Nn,xn,Mn,gp,Qo,hp,Jo,er,On,Cp,Rp=g(()=>{Ot="error.type",An="exception.message",Ap="exception.stacktrace",gn="exception.type",hn="http.request.method",Cn="http.request.method_original",Rn="http.response.status_code",Nn="server.address",xn="server.port",Mn="service.name",gp="service.version",Qo="telemetry.sdk.language",hp="webjs",Jo="telemetry.sdk.name",er="telemetry.sdk.version",On="url.full",Cp="user_agent.original"});var Np=g(()=>{});var xp=g(()=>{});var Lt=g(()=>{Ep();fp();Rp();Np();xp()});var Mp,Op=g(()=>{Mp="process.runtime.name"});var Wt,Lp=g(()=>{_p();Lt();Op();Wt={[Jo]:"opentelemetry",[Mp]:"browser",[Qo]:hp,[er]:dp}});var ue,ga=g(()=>{pp();up();Lp();ue=performance});function Ae(e){let t=e/1e3,o=Math.trunc(t),r=Math.round(e%1e3*zE);return[o,r]}function Pp(){return ue.timeOrigin}function be(e){let t=Ae(ue.timeOrigin),o=Ae(typeof e=="number"?e:ue.now());return rr(t,o)}function yt(e){if(uo(e))return e;if(typeof e=="number")return e<ue.timeOrigin?be(e):Ae(e);
1if(e instanceof Date)return Ae(e.getTime());throw TypeError("Invalid input type")}function Ln(e,t){let o=t[0]-e[0],r=t[1]-e[1];return r<0&&(o-=1,r+=tr),[o,r]}function bp(e){let t=yp,o=`${"0".repeat(t)}${e[1]}Z`,r=o.substring(o.length-t-1);return new Date(e[0]*1e3).toISOString().replace("000Z",r)}function ve(e){return e[0]*tr+e[1]}function vp(e){return e[0]*1e6+e[1]/1e3}function Ip(e){return e[0]*1e3+e[1]/1e6}function Dp(e){return e[0]+e[1]/tr}function uo(e){return Array.isArray(e)&&e.length===2&&typeof e[0]=="number"&&typeof e[1]=="number"}function or(e){return uo(e)||typeof e=="number"||e instanceof Date}function rr(e,t){let o=[e[0]+t[0],e[1]+t[1]];return o[1]>=tr&&(o[1]-=tr,o[0]+=1),o}var yp,KE,zE,tr,wp=g(()=>{ga();yp=9,KE=6,zE=Math.pow(10,KE),tr=Math.pow(10,yp)});function Up(e){typeof e!="number"&&e.unref()}var Vp=g(()=>{});var Pt,kp=g(()=>{(function(e){e[e.SUCCESS=0]="SUCCESS",e[e.FAILED=1]="FAILED"})(Pt||(Pt={}))});var _o,Hp=g(()=>{B();_o=class{_propagators;_fields;constructor(t={}){this._propagators=t.propagators??[];let o=new Set;for(let r of this._propagators){let n=typeof r.fields=="function"?r.fields():[];for(let i of n)o.add(i)}this._fields=Array.from(o)}inject(t,o,r){for(let n of this._propagators)try{n.inject(t,o,r)}catch(i){L.warn(`Failed to inject with ${n.constructor.name}. Err: ${i.message}`)}}extract(t,o,r){return this._propagators.reduce((n,i)=>{try{return i.extract(n,o,r)}catch(a){L.warn(`Failed to extract with ${i.constructor.name}. Err: ${a.message}`)}return n},t)}fields(){return this._fields.slice()}}});function Ca(e){return jE.test(e)}function Ra(e){return qE.test(e)&&!XE.test(e)}var ha,WE,$E,jE,qE,XE,Bp=g(()=>{ha="[_0-9a-z-*/]",WE=`[a-z]${ha}{0,255}`,$E=`[a-z0-9]${ha}{0,240}@[a-z]${ha}{0,13}`,jE=new RegExp(`^(?:${WE}|${$E})$`),qE=/^[ -~]{0,255}[!-~]$/,XE=/,|=/});var ZE,Gp,Fp,Yp,bt,Na=g(()=>{Bp();ZE=32,Gp=512,Fp=",",Yp="=",bt=class{_length;_rawTraceState;_internalState;constructor(t){this._rawTraceState=typeof t=="string"?t:"",this._length=this._rawTraceState.length}set(t,o){if(!Ca(t)||!Ra(o))return this;let r=this._getState(),n=r.get(t),i=this._length;if(typeof n=="string"?i+=o.length-n.length:i+=t.length+o.length+(r.size>0?2:1),i>Gp)return this;let a=new Map(r);return a.delete(t),a.set(t,o),this._fromState(a,i)}unset(t){let o=this._getState(),r=o.get(t);if(typeof r!="string")return this;let n=this._length-(t.length+r.length+1);o.size>1&&(n=n-1);let i=new Map(o);return i.delete(t),this._fromState(i,n)}get(t){return this._getState().get(t)}serialize(){let t="",o=0;for(let r of this._getState())o>0&&(t=Fp+t),t=`${r[0]}${Yp}${r[1]}`+t,o++;return t}_getState(){if(this._internalState)return this._internalState;let t=this._rawTraceState.split(Fp),o=new Map,r=0;for(let n of t){let i=n.trim(),a=i.indexOf(Yp);if(a===-1)continue;let s=i.slice(0,a),c=i.slice(a+1);if(!Ca(s)||!Ra(c))continue;let l=r+i.length+(o.size>0?1:0);if(!(l>Gp)&&(o.set(s,c),r=l,o.size>=ZE))break}return this._length=r,this._internalState=new Map(Array.from(o.entries()).reverse()),this._internalState}_fromState(t,o){let r=Object.create(bt.prototype);return r._internalState=t,r._length=o,r}}});function xa(e){let t=rT.exec(e);return!t||t[1]==="00"&&t[5]?null:{traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}}var nr,ir,QE,JE,eT,tT,oT,rT,vt,Kp=g(()=>{B();Xo();Na();nr="traceparent",ir="tracestate",QE="00",JE="(?!ff)[\\da-f]{2}",eT="(?![0]{32})[\\da-f]{32}",tT="(?![0]{16})[\\da-f]{16}",oT="[\\da-f]{2}",rT=new RegExp(`^\\s?(${JE})-(${eT})-(${tT})-(${oT})(-.*)?\\s?$`);vt=class{inject(t,o,r){let n=G.getSpanContext(t);if(!n||Mt(t)||!nt(n))return;let i=`${QE}-${n.traceId}-${n.spanId}-0${Number(n.traceFlags||ce.NONE).toString(16)}`;r.set(o,nr,i),n.traceState&&r.set(o,ir,n.traceState.serialize())}extract(t,o,r){let n=r.get(o,nr);if(!n)return t;let i=Array.isArray(n)?n[0]:n;if(typeof i!="string")return t;let a=xa(i);if(!a)return t;a.isRemote=!0;let s=r.get(o,ir);if(s){let c=Array.isArray(s)?s.join(","):s;a.traceState=new bt(typeof c=="string"?c:void 0)}return G.setSpanContext(t,a)}fields(){return[nr,ir]}}});function zp(e,t){return e.setValue(Ma,t)}function Wp(e){return e.deleteValue(Ma)}function $p(e){return e.getValue(Ma)}var Ma,yn,jp=g(()=>{B();Ma=ot("OpenTelemetry SDK Context Key RPC_METADATA");(function(e){e.HTTP="http"})(yn||(yn={}))});function Oa(e){if(!pT(e)||uT(e)!==nT)return!1;let t=lT(e);
1if(t===null)return!0;let o=Zp.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&qp.call(o)===cT}function pT(e){return e!=null&&typeof e=="object"}function uT(e){return e==null?e===void 0?aT:iT:$t&&$t in Object(e)?dT(e):_T(e)}function dT(e){let t=Zp.call(e,$t),o=e[$t],r=!1;try{e[$t]=void 0,r=!0}catch{}let n=Qp.call(e);return r&&(t?e[$t]=o:delete e[$t]),n}function _T(e){return Qp.call(e)}var nT,iT,aT,sT,qp,cT,lT,Xp,Zp,$t,Qp,Jp=g(()=>{nT="[object Object]",iT="[object Null]",aT="[object Undefined]",sT=Function.prototype,qp=sT.toString,cT=qp.call(Object),lT=Object.getPrototypeOf,Xp=Object.prototype,Zp=Xp.hasOwnProperty,$t=Symbol?Symbol.toStringTag:void 0,Qp=Xp.toString});function vn(...e){let t=e.shift(),o=new WeakMap;for(;e.length>0;)t=tu(t,e.shift(),0,o);return t}function La(e){return bn(e)?e.slice():e}function tu(e,t,o=0,r){let n;if(!(o>mT)){if(o++,Pn(e)||Pn(t)||ou(t))n=La(t);else if(bn(e)){if(n=e.slice(),bn(t))for(let i=0,a=t.length;i<a;i++)n.push(La(t[i]));else if(ar(t)){let i=Object.keys(t);for(let a=0,s=i.length;a<s;a++){let c=i[a];c==="__proto__"||c==="constructor"||c==="prototype"||(n[c]=La(t[c]))}}}else if(ar(e))if(ar(t)){if(!ET(e,t))return t;n=Object.assign({},e);let i=Object.keys(t);for(let a=0,s=i.length;a<s;a++){let c=i[a];if(c==="__proto__"||c==="constructor"||c==="prototype")continue;let l=t[c];if(Pn(l))typeof l>"u"?delete n[c]:n[c]=l;else{let p=n[c],d=l;if(eu(e,c,r)||eu(t,c,r))delete n[c];else{if(ar(p)&&ar(d)){let m=r.get(p)||[],u=r.get(d)||[];m.push({obj:e,key:c}),u.push({obj:t,key:c}),r.set(p,m),r.set(d,u)}n[c]=tu(n[c],l,o,r)}}}}else n=t;return n}}function eu(e,t,o){let r=o.get(e[t])||[];for(let n=0,i=r.length;n<i;n++){let a=r[n];if(a.key===t&&a.obj===e)return!0}return!1}function bn(e){return Array.isArray(e)}function ou(e){return typeof e=="function"}function ar(e){return!Pn(e)&&!bn(e)&&!ou(e)&&typeof e=="object"}function Pn(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e>"u"||e instanceof Date||e instanceof RegExp||e===null}function ET(e,t){return!(!Oa(e)||!Oa(t))}var mT,ru=g(()=>{Jp();mT=20});function nu(e,t){let o,r=new Promise(function(i,a){o=setTimeout(function(){a(new jt("Operation timed out."))},t)});return Promise.race([e,r]).then(n=>(clearTimeout(o),n),n=>{throw clearTimeout(o),n})}var jt,iu=g(()=>{jt=class extends Error{constructor(t){super(t),Object.setPrototypeOf(this,jt.prototype)}}});function sr(e,t){return typeof t=="string"?e===t:!!e.match(t)}function mo(e,t){if(!t)return!1;for(let o of t)if(sr(e,o))return!0;return!1}var au=g(()=>{});var In,su=g(()=>{In=class{_promise;_resolve;_reject;constructor(){this._promise=new Promise((t,o)=>{this._resolve=t,this._reject=o})}get promise(){return this._promise}resolve(t){this._resolve(t)}reject(t){this._reject(t)}}});var Eo,cu=g(()=>{su();Eo=class{_isCalled=!1;_deferred=new In;_callback;_that;constructor(t,o){this._callback=t,this._that=o}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(...t){if(!this._isCalled){this._isCalled=!0;try{Promise.resolve(this._callback.call(this._that,...t)).then(o=>this._deferred.resolve(o),o=>this._deferred.reject(o))}catch(o){this._deferred.reject(o)}}return this._deferred.promise}}});function pu(e){if(e==null)return;let t=lu[e.toUpperCase()];return t??(L.warn(`Unknown log level "${e}", expected one of ${Object.keys(lu)}, using default`),z.INFO)}var lu,uu=g(()=>{B();lu={ALL:z.ALL,VERBOSE:z.VERBOSE,DEBUG:z.DEBUG,INFO:z.INFO,WARN:z.WARN,ERROR:z.ERROR,NONE:z.NONE}});function du(e,t){return new Promise(o=>{H.with(lo(H.active()),()=>{e.export(t,o)})})}var _u=g(()=>{B();Xo()});var ya={};bm(ya,{AnchoredClock:()=>Sn,BindOnceFuture:()=>Eo,CompositePropagator:()=>_o,ExportResultCode:()=>Pt,RPCType:()=>yn,SDK_INFO:()=>Wt,TRACE_PARENT_HEADER:()=>nr,TRACE_STATE_HEADER:()=>ir,TimeoutError:()=>jt,TraceState:()=>bt,W3CBaggagePropagator:()=>po,W3CTraceContextPropagator:()=>vt,_globalThis:()=>Aa,addHrTimes:()=>rr,callWithTimeout:()=>nu,deleteRPCMetadata:()=>Wp,diagLogLevelFromString:()=>pu,getBooleanFromEnv:()=>Ta,getNumberFromEnv:()=>Sa,getRPCMetadata:()=>$p,getStringFromEnv:()=>Ea,getStringListFromEnv:()=>fa,getTimeOrigin:()=>Pp,globalErrorHandler:()=>Ne,hrTime:()=>be,hrTimeDuration:()=>Ln,hrTimeToMicroseconds:()=>vp,hrTimeToMilliseconds:()=>Ip,hrTimeToNanoseconds:()=>ve,hrTimeToSeconds:()=>Dp,hrTimeToTimeStamp:()=>bp,internal:()=>TT,isAttributeValue:()=>Zo,isTimeInput:()=>or,isTimeInputHrTime:()=>uo,isTracingSuppressed:()=>Mt,isUrlIgnored:()=>mo,loggingErrorHandler:()=>fn,merge:()=>vn,millisToHrTime:()=>Ae,otperformance:()=>ue,parseKeyPairsIntoRecord:()=>op,parseTraceParent:()=>xa,sanitizeAttributes:()=>at,setGlobalErrorHandler:()=>cp,setRPCMetadata:()=>zp,suppressTracing:()=>lo,timeInputToHrTime:()=>yt,unrefTimer:()=>Up,unsuppressTracing:()=>Xl,urlMatches:()=>sr});var TT,ae=g(()=>{rp();np();ap();lp();ma();wp();Vp();kp();_a();ga();Hp();Kp();jp();Xo();Na();ru();iu();au();cu();uu();_u();TT={_export:du}});var Eu=vo(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.hexToBinary=void 0;function mu(e){return e>=48&&e<=57?e-48:e>=97&&e<=102?e-87:e-55}function ST(e){let t=new Uint8Array(e.length/2),o=0;for(let r=0;r<e.length;r+=2){let n=mu(e.charCodeAt(r)),i=mu(e.charCodeAt(r+1));t[o++]=n<<4|i}return t}Dn.hexToBinary=ST});var gu=vo(Ee=>{"use strict";
1Object.defineProperty(Ee,"__esModule",{value:!0});Ee.JSON_ENCODER=Ee.PROTOBUF_ENCODER=Ee.encodeAsString=Ee.encodeAsLongBits=Ee.toLongBits=Ee.hrTimeToNanos=void 0;var fT=(ae(),vm(ya)),Tu=Eu();function ba(e){let t=BigInt(1e9);return BigInt(Math.trunc(e[0]))*t+BigInt(Math.trunc(e[1]))}Ee.hrTimeToNanos=ba;function Su(e){let t=Number(BigInt.asUintN(32,e)),o=Number(BigInt.asUintN(32,e>>BigInt(32)));return{low:t,high:o}}Ee.toLongBits=Su;function fu(e){let t=ba(e);return Su(t)}Ee.encodeAsLongBits=fu;function Au(e){return ba(e).toString()}Ee.encodeAsString=Au;var AT=typeof BigInt<"u"?Au:fT.hrTimeToNanoseconds;function Pa(e){return e}function gT(e){if(e!==void 0)return(0,Tu.hexToBinary)(e)}Ee.PROTOBUF_ENCODER={encodeHrTime:fu,encodeSpanContext:Tu.hexToBinary,encodeOptionalSpanContext:gT,encodeUint8Array:Pa};Ee.JSON_ENCODER={encodeHrTime:AT,encodeSpanContext:Pa,encodeOptionalSpanContext:Pa,encodeUint8Array:e=>{if(typeof Buffer<"u")return Buffer.from(e).toString("base64");let t=new Array(e.length);for(let o=0;o<e.length;o++)t[o]=String.fromCharCode(e[o]);return btoa(t.join(""))}}});var Cu=vo(xe=>{"use strict";Object.defineProperty(xe,"__esModule",{value:!0});xe.toAnyValue=xe.toKeyValue=xe.toAttributes=xe.createInstrumentationScope=xe.createResource=void 0;function hT(e,t){let o={attributes:va(e.attributes,t),droppedAttributesCount:0},r=e.schemaUrl;return r&&r!==""&&(o.schemaUrl=r),o}xe.createResource=hT;function CT(e,t){let o={name:e.name,version:e.version};return e.attributes&&Object.keys(e.attributes).length>0&&(o.attributes=va(e.attributes,t),o.droppedAttributesCount=e.droppedAttributesCount??0),o}xe.createInstrumentationScope=CT;function va(e,t){return Object.keys(e).map(o=>hu(o,e[o],t))}xe.toAttributes=va;function hu(e,t,o){return{key:e,value:wn(t,o)}}xe.toKeyValue=hu;function wn(e,t){let o=typeof e;if(o==="string")return{stringValue:e};if(o==="number")return Number.isInteger(e)?{intValue:e}:{doubleValue:e};if(o==="boolean")return{boolValue:e};if(e instanceof Uint8Array)return{bytesValue:t.encodeUint8Array(e)};if(Array.isArray(e)){let r=new Array(e.length);for(let n=0;n<e.length;n++)r[n]=wn(e[n],t);return{arrayValue:{values:r}}}if(o==="object"&&e!=null){let r=Object.keys(e),n=new Array(r.length);for(let i=0;i<r.length;i++)n[i]={key:r[i],value:wn(e[r[i]],t)};return{kvlistValue:{values:n}}}return{}}xe.toAnyValue=wn});var Ou=vo(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.createExportTraceServiceRequest=Ye.toOtlpSpanEvent=Ye.toOtlpLink=Ye.sdkSpanToOtlpSpan=void 0;var cr=Cu(),RT=256,NT=512;function Ru(e,t){let o=e&255|RT;return t&&(o|=NT),o}function Nu(e,t){let o=e.spanContext(),r=e.status,n=e.parentSpanContext?.spanId?t.encodeSpanContext(e.parentSpanContext?.spanId):void 0;return{traceId:t.encodeSpanContext(o.traceId),spanId:t.encodeSpanContext(o.spanId),parentSpanId:n,traceState:o.traceState?.serialize(),name:e.name,kind:e.kind==null?0:e.kind+1,startTimeUnixNano:t.encodeHrTime(e.startTime),endTimeUnixNano:t.encodeHrTime(e.endTime),attributes:(0,cr.toAttributes)(e.attributes,t),droppedAttributesCount:e.droppedAttributesCount,events:e.events.map(i=>Mu(i,t)),droppedEventsCount:e.droppedEventsCount,status:{code:r.code,message:r.message},links:e.links.map(i=>xu(i,t)),droppedLinksCount:e.droppedLinksCount,flags:Ru(o.traceFlags,e.parentSpanContext?.isRemote)}}Ye.sdkSpanToOtlpSpan=Nu;function xu(e,t){return{attributes:e.attributes?(0,cr.toAttributes)(e.attributes,t):[],spanId:t.encodeSpanContext(e.context.spanId),traceId:t.encodeSpanContext(e.context.traceId),traceState:e.context.traceState?.serialize(),droppedAttributesCount:e.droppedAttributesCount||0,flags:Ru(e.context.traceFlags,e.context.isRemote)}}Ye.toOtlpLink=xu;function Mu(e,t){return{attributes:e.attributes?(0,cr.toAttributes)(e.attributes,t):[],name:e.name,timeUnixNano:t.encodeHrTime(e.time),droppedAttributesCount:e.droppedAttributesCount||0}}Ye.toOtlpSpanEvent=Mu;function xT(e,t){return{resourceSpans:OT(e,t)}}Ye.createExportTraceServiceRequest=xT;function MT(e){let t=new Map;for(let o of e){let r=t.get(o.resource);r||(r=new Map,t.set(o.resource,r));let n=`${o.instrumentationScope.name}@${o.instrumentationScope.version||""}:${o.instrumentationScope.schemaUrl||""}`,i=r.get(n);i||(i=[],r.set(n,i)),i.push(o)}return t}function OT(e,t){let o=MT(e),r=[],n=o.entries(),i=n.next();for(;!i.done;){let[a,s]=i.value,c=[],l=s.values(),p=l.next();for(;!p.done;){let u=p.value;if(u.length>0){let _=u.map(T=>Nu(T,t));c.push({scope:(0,cr.createInstrumentationScope)(u[0].instrumentationScope,t),spans:_,schemaUrl:u[0].instrumentationScope.schemaUrl})}p=l.next()}let d=(0,cr.createResource)(a,t),m={resource:d,scopeSpans:c,schemaUrl:d.schemaUrl};r.push(m),i=n.next()}return r}});var Lu=vo(It=>{"use strict";
1Object.defineProperty(It,"__esModule",{value:!0});It.EStatusCode=It.ESpanKind=void 0;var LT;(function(e){e[e.SPAN_KIND_UNSPECIFIED=0]="SPAN_KIND_UNSPECIFIED",e[e.SPAN_KIND_INTERNAL=1]="SPAN_KIND_INTERNAL",e[e.SPAN_KIND_SERVER=2]="SPAN_KIND_SERVER",e[e.SPAN_KIND_CLIENT=3]="SPAN_KIND_CLIENT",e[e.SPAN_KIND_PRODUCER=4]="SPAN_KIND_PRODUCER",e[e.SPAN_KIND_CONSUMER=5]="SPAN_KIND_CONSUMER"})(LT=It.ESpanKind||(It.ESpanKind={}));var yT;(function(e){e[e.STATUS_CODE_UNSET=0]="STATUS_CODE_UNSET",e[e.STATUS_CODE_OK=1]="STATUS_CODE_OK",e[e.STATUS_CODE_ERROR=2]="STATUS_CODE_ERROR"})(yT=It.EStatusCode||(It.EStatusCode={}))});var Bi="/build/css-bundle-YT3EGMWM.css";var ts=E(Dm());var Ve=E(M());var Hc=E(M(),1),tn=E(M(),1);var Gm="@vercel/analytics",Fm="1.5.0",Ym=()=>{window.va||(window.va=function(...t){(window.vaq=window.vaq||[]).push(t)})};function Bc(){return typeof window<"u"}function Gc(){try{let e="production";if(e==="development"||e==="test")return"development"}catch{}return"production"}function Km(e="auto"){if(e==="auto"){window.vam=Gc();return}window.vam=e}function zm(){return(Bc()?window.vam:Gc())||"production"}function Gi(){return zm()==="development"}function Wm(e,t){if(!e||!t)return e;let o=e;try{let r=Object.entries(t);for(let[n,i]of r)if(!Array.isArray(i)){let a=kc(i);a.test(o)&&(o=o.replace(a,`/[${n}]`))}for(let[n,i]of r)if(Array.isArray(i)){let a=kc(i.join("/"));a.test(o)&&(o=o.replace(a,`/[...${n}]`))}return o}catch{return e}}function kc(e){return new RegExp(`/${$m(e)}(?=[/?#]|$)`)}function $m(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function jm(e){return e.scriptSrc?e.scriptSrc:Gi()?"https://va.vercel-scripts.com/v1/script.debug.js":e.basePath?`${e.basePath}/insights/script.js`:"/_vercel/insights/script.js"}function qm(e={debug:!0}){var t;if(!Bc())return;Km(e.mode),Ym(),e.beforeSend&&((t=window.va)==null||t.call(window,"beforeSend",e.beforeSend));let o=jm(e);if(document.head.querySelector(`script[src*="${o}"]`))return;let r=document.createElement("script");r.src=o,r.defer=!0,r.dataset.sdkn=Gm+(e.framework?`/${e.framework}`:""),r.dataset.sdkv=Fm,e.disableAutoTrack&&(r.dataset.disableAutoTrack="1"),e.endpoint?r.dataset.endpoint=e.endpoint:e.basePath&&(r.dataset.endpoint=`${e.basePath}/insights`),e.dsn&&(r.dataset.dsn=e.dsn),r.onerror=()=>{let n=Gi()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${o}. ${n}`)},Gi()&&e.debug===!1&&(r.dataset.debug="false"),document.head.appendChild(r)}function Xm({route:e,path:t}){var o;(o=window.va)==null||o.call(window,"pageview",{route:e,path:t})}function Zm(){if(!(typeof process>"u"||typeof process.env>"u"))return process.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}function Qm(e){return(0,tn.useEffect)(()=>{var t;e.beforeSend&&((t=window.va)==null||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,tn.useEffect)(()=>{qm({framework:e.framework||"react",basePath:e.basePath??Zm(),...e.route!==void 0&&{disableAutoTrack:!0},...e})},[]),(0,tn.useEffect)(()=>{e.route&&e.path&&Xm({route:e.route,path:e.path})},[e.route,e.path]),null}var Jm=()=>{let e=ns(),{pathname:t}=He();return{route:Wm(t,e),path:t}};function eE(){try{return import.meta.env.VITE_VERCEL_OBSERVABILITY_BASEPATH}catch{}}function Fc(e){return Hc.default.createElement(Qm,{...Jm(),...e,basePath:eE(),framework:"remix"})}var Yc=E(x());var Kc=E(M());function zc(e){let{i18n:t}=Br();(0,Kc.useEffect)(()=>{t.changeLanguage(e)},[e,t])}var Wc=E(M()),$c=()=>{let e=He();(0,Wc.useEffect)(()=>{let t=()=>{sessionStorage.setItem("scrollPosition",window.scrollY.toString()),sessionStorage.setItem("lastLocation",e.pathname)},o=sessionStorage.getItem("lastLocation"),r=sessionStorage.getItem("scrollPosition"),n=setTimeout(()=>{window.addEventListener("scroll",t),o===e.pathname&&r?window.scrollTo({top:parseInt(r,10),behavior:"instant"}):(window.scrollTo({top:0,behavior:"instant"}),sessionStorage.setItem("scrollPosition","0"),sessionStorage.setItem("lastLocation",e.pathname))},100);return()=>{window.removeEventListener("scroll",t),clearTimeout(n)}},[e.pathname])};var ZS=E(wm());var QS=E(Um());var JS=E(Vm());var Rt=E(x()),jc=({rootPageData:e})=>{var o,r,n,i,a,s,c,l,p;let{siteLogos:t}=e||{};return(0,Rt.jsxs)(Rt.Fragment,{children:[((n=(r=(o=t==null?void 0:t.Favicon)==null?void 0:o.data)==null?void 0:r.attributes)==null?void 0:n.url)&&(0,Rt.jsx)("link",{href:t.Favicon.data.attributes.url,rel:"icon"}),((s=(a=(i=t==null?void 0:t.Favicon_svg)==null?void 0:i.data)==null?void 0:a.attributes)==null?void 0:s.url)&&(0,Rt.jsx)("link",{href:t.Favicon_svg.data.attributes.url,rel:"icon",type:"image/svg+xml"}),((p=(l=(c=t==null?void 0:t.Apple_touch_icon_180x180)==null?void 0:c.data)==null?void 0:l.attributes)==null?void 0:p.url)&&(0,Rt.jsx)("link",{href:t.Apple_touch_icon_180x180.data.attributes.url,rel:"apple-touch-icon"})]})};var on=E(M());var Xc=E(x()),qc=({message:e})=>{let t=(0,on.useRef)(null);return(0,on.useEffect)(()=>{let o=t.current;o&&o.focus()},[]),(0,Xc.jsx)(W,{fs:"16px",fw:500,ref:t,tabIndex:0,children:e})};var Q=E(M());var Zc=e=>{let t=(0,Q.useMemo)(()=>qr(e),[e]),o=(0,Q.useMemo)(()=>(t==null?void 0:t.type)==="SECURITI",[t]),r=(0,Q.useMemo)(()=>(t==null?void 0:t.type)==="ONE_TRUST",[t]),n=(0,Q.useMemo)(()=>(t==null?void 0:t.type)==="TRUST_ARC",[t]),i=(0,Q.useMemo)(()=>(t==null?void 0:t.type)==="DIDOMI",[t]),a=(0,Q.useRef)(null),s=(0,Q.useRef)(null),c=(0,Q.useRef)(null),l=(0,Q.useRef)(!1),p=(0,Q.useCallback)(u=>{if(u&&u.parentNode===document.head)try{document.head.removeChild(u)}catch(_){console.error("Error removing element from head",_)}},[]),d=(0,Q.useCallback)(()=>{let u=window;if(o){if(typeof u.setConsentBannerParams!="function"){console.warn("Securiti: setConsentBannerParams() function not found");return}if(!l.current){let _=t.domain_id;u.setConsentBannerParams({uuid:_}),l.current=!0}}},[t,o]),m=(0,Q.useCallback)(()=>{let u=t;if(u.show_footer_config_btn==="TRUE"){let _=oc(u);if(_||u.footer_config_svg_negative_icon==="TRUE"){let T=document.createElement("style");T.className="securitiCookieIconColors";
1let S=_||{St0leftBackground:"#FFFFFF",St1RightBgAndBorder:"#0066FF",St2Xcolor:"#FFFFFF",St3CheckColor:"#0066FF"},h=u.footer_config_svg_negative_icon==="TRUE";T.textContent=`
2          .footer-section .cmp-revoke-consent .st0 { fill: ${S.St0leftBackground}; }
3          .footer-section .cmp-revoke-consent .st1 { fill: ${S.St1RightBgAndBorder}; }
4          .footer-section .cmp-revoke-consent .st2 { fill: ${S.St2Xcolor}; }
5          .footer-section .cmp-revoke-consent .st3 { fill: ${S.St3CheckColor}; }
6          ${h?`.footer-section .cmp-revoke-consent .st0, .footer-section .cmp-revoke-consent .st1 { stroke: ${S.St0leftBackground}; }`:""}
7        `,document.head.appendChild(T),c.current=T}}},[t]);return(0,Q.useEffect)(()=>{var v;if(!o)return;let u=t,{auto_blocking_id:_,disable_css_fetch:T,domain_id:S,enable_auto_blocking:h,env:C,show_footer_config_btn:N,tenant_id:f}=u||{},y=C==="PROD",w=Boolean(h==="TRUE"&&_),A=T==="TRUE",k=N==="TRUE";k&&m();let P=document.createElement("script");if(P.src="https://cdn-prod.securiti.ai/consent/cookie-consent-sdk-loader.js",P.setAttribute("data-tenant-uuid",f),P.setAttribute("data-domain-uuid",S),P.setAttribute("data-backend-url","https://app.securiti.ai"),P.setAttribute("data-skip-css","false"),P.defer=!0,y||P.setAttribute("data-securiti-staging-mode","true"),document.head.appendChild(P),!A){let R=document.createElement("link");R.rel="stylesheet",R.href="https://cdn-prod.securiti.ai/consent/cookie-consent-latest.css",document.head.appendChild(R),a.current=R}if(w){let R=document.createElement("script");R.src=`https://cdn-prod.securiti.ai/consent/auto_blocking/${u.auto_blocking_id}.js`,document.head.appendChild(R),s.current=R}return P.onload=d,(v=document.querySelector("#default-cookie-content"))==null||v.remove(),()=>{p(P),A||p(a.current),w&&p(s.current),k&&p(c.current)}},[o,t,d,p,m]),(0,Q.useEffect)(()=>{var h,C;if(!r)return;let u=t,{align:_,id:T}=u||{},S=document.createElement("script");if(S.src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js",S.setAttribute("data-domain-script",T),S.type="text/javascript",document.head.appendChild(S),_==="RIGHT"){let N=document.createElement("style");return N.id="OnetrustStylesOverride",N.innerHTML=`
8              /* Tooltip arrow */
9              #ot-sdk-btn-floating.ot-floating-button:hover::before {
10                transform: translate(0.5em, -50%) scale(1) rotate(180deg) !important;
11              }
12              #ot-sdk-btn-floating.ot-floating-button::before {
13                transform: translate(10px, -50%) rotate(180deg) !important;
14                right: 67px !important;
15              }
16              /* Tooltip box */
17              #ot-sdk-btn-floating.ot-floating-button::after {
18                right: 70px;
19                left: initial !important;
20              }
21              #ot-sdk-btn-floating.ot-floating-button {
22                right: 10px !important;
23                left: initial !important;
24              }
25            `,document.head.appendChild(N),(h=document.querySelector("#default-cookie-content"))==null||h.remove(),()=>{p(N),p(S)}}return(C=document.querySelector("#default-cookie-content"))==null||C.remove(),()=>{p(S)}},[r,t,p]),(0,Q.useEffect)(()=>{var S;if(!n)return;let u=t,{id:_,src:T}=u||{};if(!document.getElementById("trustArc")){let h=document.createElement("script");h.src=T,h.setAttribute("async","async"),h.setAttribute("id","trustArc"),h.setAttribute("crossOrigin",""),_&&h.setAttribute("data-domain-script",_),document.head.appendChild(h),(S=document.querySelector("#default-cookie-content"))==null||S.remove()}},[n,t]),(0,Q.useEffect)(()=>{var A,k,P;if(!i)return;let u=t,{api_key:_,notice_id:T}=u||{};if(!_||!T){console.error("Didomi: Missing required api_key or notice_id");return}if(typeof window!="undefined"){let v=window;v.didomiConfig=v.didomiConfig||{},v.didomiConfig.sdkPath=v.didomiConfig.sdkPath||"https://sdk.privacy-center.org/"}let S=((A=window.didomiConfig)==null?void 0:A.sdkPath)||"https://sdk.privacy-center.org/",h=document.createElement("link");h.rel="preconnect",h.setAttribute("as","script"),h.href=S;let C=document.createElement("link");C.rel="dns-prefetch",C.setAttribute("as","script"),C.href=S;let N=document.createElement("script");N.id="spcloader",N.type="text/javascript",N.async=!0,N.charset="utf-8";let f=`${S}${_}/loader.js?target_type=notice&target=${T}`,y=window;if((k=y.didomiConfig)!=null&&k.user){let v=y.didomiConfig.user,R=new URL(f);
25v.country&&(R.searchParams.set("country",v.country),v.region&&R.searchParams.set("region",v.region)),N.src=R.toString()}else N.src=f;let w=document.getElementsByTagName("script")[0];return w&&w.parentNode?(w.parentNode.insertBefore(h,w),w.parentNode.insertBefore(C,w),w.parentNode.insertBefore(N,w)):(document.head.appendChild(h),document.head.appendChild(C),document.head.appendChild(N)),(P=document.querySelector("#default-cookie-content"))==null||P.remove(),()=>{p(h),p(C),p(N)}},[i,t,p]),{showSecuritiCookie:o,showOneTrustCookie:r}};var ri=E(M());ae();var bu=E(gu()),vu=E(Ou());var yu=E(Lu());var PT="duration_ns";function Pu(e=[],t){var o,r;for(let n of e){let{scopeSpans:i}=n;for(let a of i){let{scope:s,spans:c=[]}=a;for(let l of c){if(l.kind!==yu.ESpanKind.SPAN_KIND_CLIENT)continue;let p={traceId:l.traceId.toString(),spanId:l.spanId.toString()},d={};for(let _ of l.attributes)d[_.key]=String(Object.values(_.value)[0]);!Number.isNaN(l.endTimeUnixNano)&&!Number.isNaN(l.startTimeUnixNano)&&(d[PT]=String(Number(l.endTimeUnixNano)-Number(l.startTimeUnixNano)));let m=((o=s?.name)!==null&&o!==void 0?o:"").indexOf("-"),u=zs;s?.name&&(m===-1&&(u=(r=s.name.split("/")[1])!==null&&r!==void 0?r:s.name),m>-1&&(u=s?.name.substring(m+1))),t.pushEvent(`faro.tracing.${u}`,d,void 0,{spanContext:p,timestampOverwriteMs:Number(l.endTimeUnixNano)/1e6,customPayloadTransformer:_=>{var T,S;return d["faro.action.user.name"]!=null&&d["faro.action.user.parentId"]!=null&&(_.action={name:d["faro.action.user.name"],parentId:d["faro.action.user.parentId"]},(T=_.attributes)===null||T===void 0||delete T["faro.action.user.name"],(S=_.attributes)===null||S===void 0||delete S["faro.action.user.parentId"]),_}})}}}}var Un=class{constructor(t){this.config=t}export(t,o){let r=(0,vu.createExportTraceServiceRequest)(t,bu.JSON_ENCODER);this.config.api.pushTraces(r),Pu(r.resourceSpans,this.config.api),o({code:Pt.SUCCESS})}shutdown(){return Promise.resolve(void 0)}};B();B();var lr=class{emit(t){}enabled(){return!1}},Iu=new lr;var pr=Symbol.for("io.opentelemetry.js.api.logs"),To=globalThis;function Du(e,t,o){return r=>r===e?t:o}var Ia=1;var Da=class{getLogger(t,o,r){return new lr}},Vn=new Da;var kn=class{constructor(t,o,r,n){this._provider=t,this.name=o,this.version=r,this.options=n}emit(t){this._getLogger().emit(t)}enabled(t){return this._getLogger().enabled(t)}_getLogger(){if(this._delegate)return this._delegate;let t=this._provider._getDelegateLogger(this.name,this.version,this.options);return t?(this._delegate=t,this._delegate):Iu}};var ur=class{getLogger(t,o,r){var n;return(n=this._getDelegateLogger(t,o,r))!==null&&n!==void 0?n:new kn(this,t,o,r)}_getDelegate(){var t;return(t=this._delegate)!==null&&t!==void 0?t:Vn}_setDelegate(t){this._delegate=t}_getDelegateLogger(t,o,r){var n;return(n=this._delegate)===null||n===void 0?void 0:n.getLogger(t,o,r)}};var So=class{constructor(){this._proxyLoggerProvider=new ur}static getInstance(){return this._instance||(this._instance=new So),this._instance}setGlobalLoggerProvider(t){return To[pr]?this.getLoggerProvider():(To[pr]=Du(Ia,t,Vn),this._proxyLoggerProvider._setDelegate(t),t)}getLoggerProvider(){var t,o;return(o=(t=To[pr])===null||t===void 0?void 0:t.call(To,Ia))!==null&&o!==void 0?o:this._proxyLoggerProvider}getLogger(t,o,r){return this.getLoggerProvider().getLogger(t,o,r)}disable(){delete To[pr],this._proxyLoggerProvider=new ur}};var Hn=So.getInstance();function wu(e,t,o,r){for(let n=0,i=e.length;n<i;n++){let a=e[n];t&&a.setTracerProvider(t),o&&a.setMeterProvider(o),r&&a.setLoggerProvider&&a.setLoggerProvider(r),a.getConfig().enabled||a.enable()}}function Uu(e){e.forEach(t=>t.disable())}function wa(e){let t=e.tracerProvider||G.getTracerProvider(),o=e.meterProvider||qo.getMeterProvider(),r=e.loggerProvider||Hn.getLoggerProvider(),n=e.instrumentations?.flat()??[];return wu(n,t,o,r),()=>{Uu(n)}}B();var de=console.error.bind(console);function dr(e,t,o){let r=!!e[t]&&Object.prototype.propertyIsEnumerable.call(e,t);Object.defineProperty(e,t,{configurable:!0,enumerable:r,writable:!0,value:o})}var Bn=(e,t,o)=>{if(!e||!e[t]){de("no original function "+String(t)+" to wrap");return}if(!o){de("no wrapper function"),de(new Error().stack);return}let r=e[t];if(typeof r!="function"||typeof o!="function"){de("original object and wrapper must be functions");return}let n=o(r,t);return dr(n,"__original",r),dr(n,"__unwrap",()=>{e[t]===n&&dr(e,t,r)}),dr(n,"__wrapped",!0),dr(e,t,n),n},Ua=(e,t,o)=>{if(e)Array.isArray(e)||(e=[e]);else{de("must provide one or more modules to patch"),de(new Error().stack);return}if(!(t&&Array.isArray(t))){de("must provide one or more functions to wrap on modules");return}e.forEach(r=>{t.forEach(n=>{Bn(r,n,o)})})},Gn=(e,t)=>{if(!e||!e[t]){de("no function to unwrap."),de(new Error().stack);return}let o=e[t];if(!o.__unwrap)de("no original to unwrap to -- has "+String(t)+" already been unwrapped?");else{o.__unwrap();return}},Va=(e,t)=>{if(e)Array.isArray(e)||(e=[e]);else{de("must provide one or more modules to patch"),de(new Error().stack);return}if(!(t&&Array.isArray(t))){de("must provide one or more functions to unwrap on modules");return}e.forEach(o=>{t.forEach(r=>{Gn(o,r)})})};function _r(e){e&&e.logger&&(typeof e.logger!="function"?de("new logger isn't a function, not replacing"):de=e.logger)}_r.wrap=Bn;_r.massWrap=Ua;_r.unwrap=Gn;_r.massUnwrap=Va;var Fn=class{_config={};_tracer;_meter;_logger;_diag;instrumentationName;instrumentationVersion;constructor(t,o,r){this.instrumentationName=t,this.instrumentationVersion=o,this.setConfig(r),this._diag=L.createComponentLogger({namespace:t}),this._tracer=G.getTracer(t,o),this._meter=qo.getMeter(t,o),this._logger=Hn.getLogger(t,o),this._updateMetricInstruments()}_wrap=Bn;_unwrap=Gn;_massWrap=Ua;_massUnwrap=Va;get meter(){return this._meter}setMeterProvider(t){this._meter=t.getMeter(this.instrumentationName,this.instrumentationVersion),this._updateMetricInstruments()}get logger(){return this._logger}setLoggerProvider(t){this._logger=t.getLogger(this.instrumentationName,this.instrumentationVersion)}getModuleDefinitions(){let t=this.init()??[];return Array.isArray(t)?t:[t]}_updateMetricInstruments(){}getConfig(){return this._config}setConfig(t){this._config={enabled:!0,...t}}setTracerProvider(t){this._tracer=t.getTracer(this.instrumentationName,this.instrumentationVersion)}get tracer(){return this._tracer}_runSpanCustomizationHook(t,o,r,n){if(t)try{t(r,n)}catch(i){this._diag.error("Error running span customization hook due to exception in handler",{triggerName:o},i)}}};var Dt=class extends Fn{constructor(t,o,r){super(t,o,r),this._config.enabled&&this.enable()}};function fo(e,t,o){let r,n;try{n=e()}catch(i){r=i}finally{if(t(r,n),r&&!o)throw r;return n}}var K;(function(e){e[e.STABLE=1]="STABLE",e[e.OLD=2]="OLD",e[e.DUPLICATE=3]="DUPLICATE"})(K||(K={}));function mr(e,t){let o=K.OLD,r=t?.split(",").map(n=>n.trim()).filter(n=>n!=="");for(let n of r??[])if(n.toLowerCase()===e+"/dup"){o=K.DUPLICATE;break}else n.toLowerCase()===e&&(o=K.STABLE);return o}ae();var V;(function(e){e.CONNECT_END="connectEnd",e.CONNECT_START="connectStart",e.DECODED_BODY_SIZE="decodedBodySize",e.DOM_COMPLETE="domComplete",e.DOM_CONTENT_LOADED_EVENT_END="domContentLoadedEventEnd",e.DOM_CONTENT_LOADED_EVENT_START="domContentLoadedEventStart",e.DOM_INTERACTIVE="domInteractive",e.DOMAIN_LOOKUP_END="domainLookupEnd",e.DOMAIN_LOOKUP_START="domainLookupStart",e.ENCODED_BODY_SIZE="encodedBodySize",e.FETCH_START="fetchStart",e.LOAD_EVENT_END="loadEventEnd",e.LOAD_EVENT_START="loadEventStart",e.NAVIGATION_START="navigationStart",e.REDIRECT_END="redirectEnd",e.REDIRECT_START="redirectStart",e.REQUEST_START="requestStart",e.RESPONSE_END="responseEnd",e.RESPONSE_START="responseStart",e.SECURE_CONNECTION_START="secureConnectionStart",e.START_TIME="startTime",e.UNLOAD_EVENT_END="unloadEventEnd",e.UNLOAD_EVENT_START="unloadEventStart"})(V||(V={}));ae();var Vu="http.response_content_length",ku="http.response_content_length_uncompressed";var ka;function vT(){return ka||(ka=document.createElement("a")),ka}function Hu(e,t){return t in e}function Ke(e,t,o,r=!0){if(Hu(o,t)&&typeof o[t]=="number"&&!(r&&o[t]===0))return e.addEvent(t,o[t])}function qt(e,t,o=!1,r,n){if(r===void 0&&(r=t[V.START_TIME]!==0),o||(Ke(e,V.FETCH_START,t,r),Ke(e,V.DOMAIN_LOOKUP_START,t,r),Ke(e,V.DOMAIN_LOOKUP_END,t,r),Ke(e,V.CONNECT_START,t,r),Ke(e,V.SECURE_CONNECTION_START,t,r),Ke(e,V.CONNECT_END,t,r),Ke(e,V.REQUEST_START,t,r),Ke(e,V.RESPONSE_START,t,r),Ke(e,V.RESPONSE_END,t,r)),!n){let i=t[V.ENCODED_BODY_SIZE];i!==void 0&&e.setAttribute(Vu,i);let a=t[V.DECODED_BODY_SIZE];a!==void 0&&i!==a&&e.setAttribute(ku,a)}}function Bu(e){return e.slice().sort((t,o)=>{let r=t[V.FETCH_START],n=o[V.FETCH_START];return r>n?1:r<n?-1:0})}function Gu(){return typeof location<"u"?location.origin:void 0}function Er(e,t,o,r,n=new WeakSet,i){let a=Me(e);e=a.toString();let s=DT(e,t,o,r,n,i);if(s.length===0)return{mainRequest:void 0};if(s.length===1)return{mainRequest:s[0]};let c=Bu(s);if(a.origin!==Gu()&&c.length>1){let l=c[0],p=IT(c,l[V.RESPONSE_END],o),d=l[V.RESPONSE_END];return p[V.FETCH_START]<d&&(p=l,l=void 0),{corsPreFlightRequest:l,mainRequest:p}}else return{mainRequest:s[0]}}function IT(e,t,o){let r=ve(o),n=ve(yt(t)),i=e[1],a,s=e.length;for(let c=1;c<s;c++){let l=e[c],p=ve(yt(l[V.FETCH_START])),d=ve(yt(l[V.RESPONSE_END])),m=r-d;p>
25=n&&(!a||m<a)&&(a=m,i=l)}return i}function DT(e,t,o,r,n,i){let a=ve(t),s=ve(o),c=r.filter(l=>{let p=ve(yt(l[V.FETCH_START])),d=ve(yt(l[V.RESPONSE_END]));return l.initiatorType.toLowerCase()===(i||"xmlhttprequest")&&l.name===e&&p>=a&&d<=s});return c.length>0&&(c=c.filter(l=>!n.has(l))),c}function Me(e){if(typeof URL=="function")return new URL(e,typeof document<"u"?document.baseURI:typeof location<"u"?location.href:void 0);let t=vT();return t.href=e,t}function Tr(e,t){let o=t||[];return(typeof o=="string"||o instanceof RegExp)&&(o=[o]),Me(e).origin===Gu()?!0:o.some(n=>sr(e,n))}var Sr;(function(e){e.COMPONENT="component",e.HTTP_STATUS_TEXT="http.status_text"})(Sr||(Sr={}));var Fu="http.host",Yu="http.method",Ku="http.request.body.size",zu="http.request_content_length_uncompressed";var Wu="http.scheme",$u="http.status_code",ju="http.url",qu="http.user_agent";Lt();B();var Xu=L.createComponentLogger({namespace:"@opentelemetry/opentelemetry-instrumentation-fetch/utils"});function Zu(...e){if(e[0]instanceof URL||typeof e[0]=="string"){let t=e[1];if(!t?.body)return Promise.resolve();if(t.body instanceof ReadableStream){let{body:o,length:r}=UT(t.body);return t.body=o,r}else return Promise.resolve(kT(t.body))}else{let t=e[0];return t?.body?t.clone().text().then(o=>Ha(o)):Promise.resolve()}}function UT(e){if(!e.pipeThrough)return Xu.warn("Platform has ReadableStream but not pipeThrough!"),{body:e,length:Promise.resolve(void 0)};let t=0,o,r=new Promise(i=>{o=i}),n=new TransformStream({start(){},async transform(i,a){let s=await i;t+=s.byteLength,a.enqueue(i)},flush(){o(t)}});return{body:e.pipeThrough(n),length:r}}function VT(e){return typeof Document<"u"&&e instanceof Document}function kT(e){if(VT(e))return new XMLSerializer().serializeToString(document).length;if(typeof e=="string")return Ha(e);if(e instanceof Blob)return e.size;if(e instanceof FormData)return BT(e);if(e instanceof URLSearchParams)return Ha(e.toString());if(e.byteLength!==void 0)return e.byteLength;Xu.warn("unknown body type")}var HT=new TextEncoder;function Ha(e){return HT.encode(e).byteLength}function BT(e){let t=0;for(let[o,r]of e.entries())t+=o.length,r instanceof Blob?t+=r.size:t+=r.length;return t}function Qu(e){let t=FT(),o=e.toUpperCase();return o in t?o:"_OTHER"}var GT={CONNECT:!0,DELETE:!0,GET:!0,HEAD:!0,OPTIONS:!0,PATCH:!0,POST:!0,PUT:!0,TRACE:!0,QUERY:!0},fr;function FT(){if(fr===void 0){let e=void 0;e&&e.length>0?(fr={},e.forEach(t=>{fr[t]=!0})):fr=GT}return fr}var YT={"https:":"443","http:":"80"};function Ju(e){let t=Number(e.port||YT[e.protocol]);if(t&&!isNaN(t))return t}var Ba="0.219.0";var KT=300,ed=typeof PerformanceObserver<"u",Ar=class extends Dt{component="fetch";version=Ba;moduleName=this.component;_usedResources=new WeakSet;_tasksCount=0;_semconvStability;constructor(t={}){super("@opentelemetry/instrumentation-fetch",Ba,t),this._semconvStability=mr("http",t?.semconvStabilityOptIn)}init(){}_addChildSpan(t,o){let r=this.tracer.startSpan("CORS Preflight",{startTime:o[V.FETCH_START]},G.setSpan(H.active(),t)),n=!(this._semconvStability&K.OLD);qt(r,o,this.getConfig().ignoreNetworkEvents,void 0,n),r.end(o[V.RESPONSE_END])}_addFinalSpanAttributes(t,o){let r=Me(o.url);if(this._semconvStability&K.OLD&&(t.setAttribute($u,o.status),o.statusText!=null&&t.setAttribute(Sr.HTTP_STATUS_TEXT,o.statusText),t.setAttribute(Fu,r.host),t.setAttribute(Wu,r.protocol.replace(":","")),typeof navigator<"u"&&t.setAttribute(qu,navigator.userAgent)),this._semconvStability&K.STABLE){t.setAttribute(Rn,o.status),t.setAttribute(Nn,r.hostname);let n=Ju(r);n&&t.setAttribute(xn,n)}}_addHeaders(t,o){if(!Tr(o,this.getConfig().propagateTraceHeaderCorsUrls)){let r={};pe.inject(H.active(),r),Object.keys(r).length>0&&this._diag.debug("headers inject skipped due to CORS policy");return}if(t instanceof Request)pe.inject(H.active(),t.headers,{set:(r,n,i)=>r.set(n,typeof i=="string"?i:String(i))});else{let r=new Headers(t.headers);pe.inject(H.active(),r,{set:(n,i,a)=>n.set(i,typeof a=="string"?a:String(a))}),t.headers=r}}_clearResources(){this._tasksCount===0&&this.getConfig().clearTimingResources&&(performance.clearResourceTimings(),this._usedResources=new WeakSet)}_createSpan(t,o={}){if(mo(t,this.getConfig().ignoreUrls)){this._diag.debug("ignoring span as url matches ignored url");return}let r="",n={};
25if(this._semconvStability&K.OLD){let i=(o.method||"GET").toUpperCase();r=`HTTP ${i}`,n[Sr.COMPONENT]=this.moduleName,n[Yu]=i,n[ju]=t}if(this._semconvStability&K.STABLE){let i=o.method,a=Qu(o.method||"GET");r||(r=a),n[hn]=a,a!==i&&(n[Cn]=i),n[On]=t}return this.tracer.startSpan(r,{kind:it.CLIENT,attributes:n})}_findResourceAndAddNetworkEvents(t,o,r){let n=o.entries;if(!n.length){if(!performance.getEntriesByType)return;n=performance.getEntriesByType("resource")}let i=Er(o.spanUrl,o.startTime,r,n,this._usedResources,"fetch");if(i.mainRequest){let a=i.mainRequest;this._markResourceAsUsed(a);let s=i.corsPreFlightRequest;s&&(this._addChildSpan(t,s),this._markResourceAsUsed(s));let c=!(this._semconvStability&K.OLD);qt(t,a,this.getConfig().ignoreNetworkEvents,void 0,c)}}_markResourceAsUsed(t){this._usedResources.add(t)}_endSpan(t,o,r){let n=Ae(Date.now()),i=be();this._addFinalSpanAttributes(t,r),this._semconvStability&K.STABLE&&r.status>=400&&(t.setStatus({code:le.ERROR}),t.setAttribute(Ot,String(r.status))),setTimeout(()=>{o.observer?.disconnect(),this._findResourceAndAddNetworkEvents(t,o,i),this._tasksCount--,this._clearResources(),t.end(n)},KT)}_patchConstructor(){return t=>{let o=this;return function(...n){if(!o._isEnabled)return t.apply(this,n);let i=this,a=Me(n[0]instanceof Request?n[0].url:String(n[0])).href,s;n[0]instanceof Request?s=n[1]!=null?new Request(n[0],n[1]):n[0]:s=n[1]||{};let c=o._createSpan(a,s);if(!c)return t.apply(this,n);let l=o._prepareSpanData(a);o.getConfig().measureRequestSize&&Zu(...n).then(_=>{_&&(o._semconvStability&K.OLD&&c.setAttribute(zu,_),o._semconvStability&K.STABLE&&c.setAttribute(Ku,_))}).catch(_=>{o._diag.warn("getFetchBodyLength",_)});function p(_,T){o._applyAttributesAfterFetch(_,s,T),o._endSpan(_,l,{status:T.status||0,statusText:T.message,url:a})}function d(_,T){o._applyAttributesAfterFetch(_,s,T),T.status>=200&&T.status<400?o._endSpan(_,l,T):o._endSpan(_,l,{status:T.status,statusText:T.statusText,url:a})}function m(_,T){try{let h=T.clone().body;if(h){let C=h.getReader(),N=()=>{C.read().then(({done:f})=>{f?d(_,T):N()},f=>{p(_,f)})};N()}else d(_,T)}catch(S){o._diag.error("Failed to read fetch response body",S),o._endSpan(_,l,{status:0,url:a})}return T}function u(_,T){try{p(_,T)}catch(S){o._diag.error("Failed to end span on fetch error",S),o._endSpan(_,l,{status:T.status||0,url:a})}throw T}return H.with(G.setSpan(H.active(),c),()=>(o._callRequestHook(c,s),o._addHeaders(s,a),o._tasksCount++,t.apply(i,s instanceof Request?[s]:[a,s]).then(m.bind(i,c),u.bind(i,c))))}}}_applyAttributesAfterFetch(t,o,r){let n=this.getConfig().applyCustomAttributesOnSpan;n&&fo(()=>n(t,o,r),i=>{i&&this._diag.error("applyCustomAttributesOnSpan",i)},!0)}_callRequestHook(t,o){let r=this.getConfig().requestHook;r&&fo(()=>r(t,o),n=>{n&&this._diag.error("requestHook",n)},!0)}_prepareSpanData(t){let o=be(),r=[];if(typeof PerformanceObserver!="function")return{entries:r,startTime:o,spanUrl:t};let n=new PerformanceObserver(i=>{i.getEntries().forEach(s=>{s.initiatorType==="fetch"&&s.name===t&&r.push(s)})});return n.observe({entryTypes:["resource"]}),{entries:r,observer:n,startTime:o,spanUrl:t}}enable(){if(!ed){this._diag.warn("this instrumentation is intended for web usage only, it does not instrument server-side fetch()");return}if(!this._isEnabled){if(this._isFetchPatched){this._diag.debug("fetch constructor already patched"),this._isEnabled=!0;return}try{this._wrap(globalThis,"fetch",this._patchConstructor()),this._isFetchPatched=!0,this._isEnabled=!0}catch(t){this._diag.warn("Failed to patch globalThis.fetch; instrumentation will not be enabled. Another script may have locked globalThis.fetch via Object.defineProperty.",t)}}}disable(){ed&&this._isEnabled&&(this._isEnabled=!1,this._usedResources=new WeakSet)}};B();ae();Lt();var td="http.host",od="http.method",rd="http.request.body.size",nd="http.request_content_length_uncompressed";var id="http.scheme",ad="http.status_code",sd="http.url",cd="http.user_agent";var ze;(function(e){e.METHOD_OPEN="open",e.METHOD_SEND="send",e.EVENT_ABORT="abort",e.EVENT_ERROR="error",e.EVENT_LOAD="loaded",e.EVENT_TIMEOUT="timeout"})(ze||(ze={}));B();var zT=L.createComponentLogger({namespace:"@opentelemetry/opentelemetry-instrumentation-xml-http-request/utils"});function WT(e){return typeof Document<"u"&&e instanceof Document}function pd(e){if(WT(e))return new XMLSerializer().serializeToString(document).length;if(typeof e=="string")return ld(e);if(e instanceof Blob)return e.size;if(e instanceof FormData)return jT(e);if(e instanceof URLSearchParams)return ld(e.toString());if(e.byteLength!==void 0)return e.byteLength;zT.warn("unknown body type")}var $T=new TextEncoder;function ld(e){return $T.encode(e).byteLength}function jT(e){let t=0;for(let[o,r]of e.entries())t+=o.length,r instanceof Blob?t+=r.size:t+=r.length;return t}function ud(e){let t=XT(),o=e.toUpperCase();return o in t?o:"_OTHER"}var qT={CONNECT:!0,DELETE:!0,GET:!0,HEAD:!0,OPTIONS:!0,PATCH:!0,POST:!0,PUT:!0,TRACE:!0,QUERY:!0},gr;function XT(){if(gr===void 0){let e=void 0;e&&e.length>0?(gr={},e.forEach(t=>{gr[t]=!0})):gr=qT}return gr}var ZT={"https:":"443","http:":"80"};function dd(e){let t=Number(e.port||ZT[e.protocol]);if(t&&!isNaN(t))return t}var Ga="0.219.0";var Yn;(function(e){e.HTTP_STATUS_TEXT="http.status_text"})(Yn||(Yn={}));var QT=300,hr=class extends Dt{component="xml-http-request";version=Ga;moduleName=this.component;_tasksCount=0;_xhrMem=new WeakMap;_usedResources=new WeakSet;_semconvStability;constructor(t={}){super("@opentelemetry/instrumentation-xml-http-request",Ga,t),this._semconvStability=mr("http",t?.semconvStabilityOptIn)}init(){}_addHeaders(t,o){let r=Me(o).href;if(!Tr(r,this.getConfig().propagateTraceHeaderCorsUrls)){let i={};pe.inject(H.active(),i),Object.keys(i).length>0&&this._diag.debug("headers inject skipped due to CORS policy");return}let n={};
25pe.inject(H.active(),n),Object.keys(n).forEach(i=>{t.setRequestHeader(i,String(n[i]))})}_addChildSpan(t,o){H.with(G.setSpan(H.active(),t),()=>{let r=this.tracer.startSpan("CORS Preflight",{startTime:o[V.FETCH_START]}),n=!(this._semconvStability&K.OLD);qt(r,o,this.getConfig().ignoreNetworkEvents,void 0,n),r.end(o[V.RESPONSE_END])})}_addFinalSpanAttributes(t,o,r){if(this._semconvStability&K.OLD){if(o.status!==void 0&&t.setAttribute(ad,o.status),o.statusText!==void 0&&t.setAttribute(Yn.HTTP_STATUS_TEXT,o.statusText),typeof r=="string"){let n=Me(r);t.setAttribute(td,n.host),t.setAttribute(id,n.protocol.replace(":",""))}t.setAttribute(cd,navigator.userAgent)}this._semconvStability&K.STABLE&&o.status&&t.setAttribute(Rn,o.status)}_applyAttributesAfterXHR(t,o){let r=this.getConfig().applyCustomAttributesOnSpan;typeof r=="function"&&fo(()=>r(t,o),n=>{n&&this._diag.error("applyCustomAttributesOnSpan",n)},!0)}_addResourceObserver(t,o){let r=this._xhrMem.get(t);!r||typeof PerformanceObserver!="function"||typeof PerformanceResourceTiming!="function"||(r.createdResources={observer:new PerformanceObserver(n=>{let i=n.getEntries(),a=Me(o);i.forEach(s=>{s.initiatorType==="xmlhttprequest"&&s.name===a.href&&r.createdResources&&r.createdResources.entries.push(s)})}),entries:[]},r.createdResources.observer.observe({entryTypes:["resource"]}))}_clearResources(){this._tasksCount===0&&this.getConfig().clearTimingResources&&(ue.clearResourceTimings(),this._xhrMem=new WeakMap,this._usedResources=new WeakSet)}_findResourceAndAddNetworkEvents(t,o,r,n,i){if(!r||!n||!i||!t.createdResources)return;let a=t.createdResources.entries;(!a||!a.length)&&(a=ue.getEntriesByType("resource"));let s=Er(Me(r).href,n,i,a,this._usedResources);if(s.mainRequest){let c=s.mainRequest;this._markResourceAsUsed(c);let l=s.corsPreFlightRequest;l&&(this._addChildSpan(o,l),this._markResourceAsUsed(l));let p=!(this._semconvStability&K.OLD);qt(o,c,this.getConfig().ignoreNetworkEvents,void 0,p)}}_cleanPreviousSpanInformation(t){let o=this._xhrMem.get(t);if(o){let r=o.callbackToRemoveEvents;r&&r(),this._xhrMem.delete(t)}}_createSpan(t,o,r){let n=Me(o);if(mo(n.href,this.getConfig().ignoreUrls)){this._diag.debug("ignoring span as url matches ignored url");return}let i="",a={};if(this._semconvStability&K.OLD&&(i=r.toUpperCase(),a[od]=r,a[sd]=n.toString()),this._semconvStability&K.STABLE){let c=r,l=ud(r);i||(i=l),a[hn]=l,l!==c&&(a[Cn]=c),a[On]=n.toString(),a[Nn]=n.hostname;let p=dd(n);p&&(a[xn]=p)}let s=this.tracer.startSpan(i,{kind:it.CLIENT,attributes:a});return s.addEvent(ze.METHOD_OPEN),this._cleanPreviousSpanInformation(t),this._xhrMem.set(t,{span:s,spanUrl:o}),s}_markResourceAsUsed(t){this._usedResources.add(t)}_patchOpen(){return t=>{let o=this;return function(...n){if(!o._isEnabled)return t.apply(this,n);let i=n[0],a=n[1];return o._createSpan(this,a,i),t.apply(this,n)}}}_patchSend(){let t=this;function o(l,p,d,m){let u=p.callbackToRemoveEvents;typeof u=="function"&&u();let{span:_,spanUrl:T,sendStartTime:S}=p;_&&(t._findResourceAndAddNetworkEvents(p,_,T,S,d),_.addEvent(l,m),t._addFinalSpanAttributes(_,p,T),_.end(m),t._tasksCount--),t._clearResources()}function r(l,p,d,m){let u=t._xhrMem.get(p);if(!u)return;if(u.status=p.status,u.statusText=p.statusText,t._xhrMem.delete(p),u.span){let S=u.span;t._applyAttributesAfterXHR(S,p),t._semconvStability&K.STABLE&&(d?m&&(S.setStatus({code:le.ERROR,message:m}),S.setAttribute(Ot,m)):u.status&&u.status>=400&&(S.setStatus({code:le.ERROR}),S.setAttribute(Ot,String(u.status))))}let _=be(),T=Date.now();setTimeout(()=>{o(l,u,_,T)},QT)}function n(){r(ze.EVENT_ERROR,this,!0,"error")}function i(){r(ze.EVENT_ABORT,this,!1)}function a(){r(ze.EVENT_TIMEOUT,this,!0,"timeout")}function s(){this.status<299?r(ze.EVENT_LOAD,this,!1):r(ze.EVENT_ERROR,this,!1)}function c(l){l.removeEventListener("abort",i),l.removeEventListener("error",n),l.removeEventListener("load",s),l.removeEventListener("timeout",a);let p=t._xhrMem.get(l);p&&(p.callbackToRemoveEvents=void 0)}return l=>function(...d){if(!t._isEnabled)return l.apply(this,d);let m=t._xhrMem.get(this);if(!m)return l.apply(this,d);let u=m.span,_=m.spanUrl;if(u&&_){if(t.getConfig().measureRequestSize&&d?.[0]){let T=d[0],S=pd(T);
25S!==void 0&&(t._semconvStability&K.OLD&&u.setAttribute(nd,S),t._semconvStability&K.STABLE&&u.setAttribute(rd,S))}H.with(G.setSpan(H.active(),u),()=>{t._tasksCount++,m.sendStartTime=be(),u.addEvent(ze.METHOD_SEND),this.addEventListener("abort",i),this.addEventListener("error",n),this.addEventListener("load",s),this.addEventListener("timeout",a),m.callbackToRemoveEvents=()=>{c(this),m.createdResources&&m.createdResources.observer.disconnect()},t._addHeaders(this,_),t._addResourceObserver(this,_)})}return l.apply(this,d)}}enable(){if(!this._isEnabled){if(this._isXhrPatched){this._diag.debug("reactivating existing patch on",this.moduleName,this.version),this._isEnabled=!0;return}try{this._diag.debug("applying patch to",this.moduleName,this.version),this._wrap(XMLHttpRequest.prototype,"open",this._patchOpen()),this._wrap(XMLHttpRequest.prototype,"send",this._patchSend()),this._isXhrPatched=!0,this._isEnabled=!0}catch(t){this._unwrap(XMLHttpRequest.prototype,"open"),this._unwrap(XMLHttpRequest.prototype,"send"),this._diag.warn("Failed to patch globalThis.XMLHttpRequest; instrumentation will not be enabled. Another script may have locked globalThis.XMLHttpRequest via Object.defineProperty.",t)}}}disable(){this._isEnabled&&(this._isEnabled=!1,this._tasksCount=0,this._xhrMem=new WeakMap,this._usedResources=new WeakSet)}};var Kn=class extends hr{constructor(t={}){super(t);let o=this;this.parentCreateSpan=o._createSpan.bind(this)}_patchOpen(){return t=>{let o=this;return function(...n){let i;try{let s=n[0],c=Ws(n[1]);i=o.parentCreateSpan(this,c,s)}catch(s){et.internalLogger.error(s)}let a=et.api.getActiveUserAction();return i&&a&&a?.getState()===$r.Started&&(i.setAttribute("faro.action.user.name",a.name),i.setAttribute("faro.action.user.parentId",a.parentId)),t.apply(this,n)}}}};B();function JT(e,t,o){let r=o instanceof Error?0:o.status;_d(e,r)}function eS(e,t){_d(e,t.status)}function _d(e,t){if(t==null)return;let o=t===0,r=t>=400&&t<600;(o||r)&&e.setStatus({code:le.ERROR})}function md(e){return(t,o,r)=>{JT(t,o,r),e?.(t,o,r)}}function Ed(e){return(t,o)=>{eS(t,o),e?.(t,o)}}var tS=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};function Td(e={}){let{fetchInstrumentationOptions:t,xhrInstrumentationOptions:o}=e,r=tS(e,["fetchInstrumentationOptions","xhrInstrumentationOptions"]),n=oS(t,r),i=rS(o,r);return[new Ar(n),new Kn(i)]}function oS(e,t){return Object.assign(Object.assign(Object.assign(Object.assign({},t),{ignoreNetworkEvents:!0}),e),{applyCustomAttributesOnSpan:md(e?.applyCustomAttributesOnSpan),requestHook:(o,r)=>{let n=et.api.getActiveUserAction();n&&n?.getState()===$r.Started&&(o.setAttribute("faro.action.user.name",n.name),o.setAttribute("faro.action.user.parentId",n.parentId))}})}function rS(e,t){return Object.assign(Object.assign(Object.assign(Object.assign({},t),{ignoreNetworkEvents:!0}),e),{applyCustomAttributesOnSpan:Ed(e?.applyCustomAttributesOnSpan)})}B();ae();B();ae();Lt();var zn;function Sd(){if(zn===void 0)try{let e=globalThis.process.argv0;zn=e?`unknown_service:${e}`:"unknown_service"}catch{zn="unknown_service"}return zn}var Ao=e=>e!==null&&typeof e=="object"&&typeof e.then=="function";var go=class{_rawAttributes;_asyncAttributesPending=!1;_schemaUrl;_memoizedAttributes;static FromAttributeList(t,o){let r=new go({},o);return r._rawAttributes=fd(t),r._asyncAttributesPending=t.filter(([n,i])=>Ao(i)).length>0,r}constructor(t,o){let r=t.attributes??{};this._rawAttributes=Object.entries(r).map(([n,i])=>(Ao(i)&&(this._asyncAttributesPending=!0),[n,i])),this._rawAttributes=fd(this._rawAttributes),this._schemaUrl=nS(o?.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(this.asyncAttributesPending){for(let t=0;t<this._rawAttributes.length;t++){let[o,r]=this._rawAttributes[t];this._rawAttributes[t]=[o,Ao(r)?await r:r]}this._asyncAttributesPending=!1}}get attributes(){if(this.asyncAttributesPending&&L.error("Accessing resource attributes before async attributes settled"),this._memoizedAttributes)return this._memoizedAttributes;let t={};
25for(let[o,r]of this._rawAttributes){if(Ao(r)){L.debug(`Unsettled resource attribute ${o} skipped`);continue}r!=null&&(t[o]??=r)}return this._asyncAttributesPending||(this._memoizedAttributes=t),t}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(t){if(t==null)return this;let o=iS(this,t),r=o?{schemaUrl:o}:void 0;return go.FromAttributeList([...t.getRawAttributes(),...this.getRawAttributes()],r)}};function Wn(e,t){return go.FromAttributeList(Object.entries(e),t)}function Cr(){return Wn({[Mn]:Sd(),[Qo]:Wt[Qo],[Jo]:Wt[Jo],[er]:Wt[er]})}function fd(e){return e.map(([t,o])=>Ao(o)?[t,o.catch(r=>{L.debug("promise rejection for resource attribute: %s - %s",t,r)})]:[t,o])}function nS(e){if(typeof e=="string"||e===void 0)return e;L.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.",e)}function iS(e,t){let o=e?.schemaUrl,r=t?.schemaUrl,n=o===void 0||o==="",i=r===void 0||r==="";if(n)return r;if(i||o===r)return o;L.warn('Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.',o,r)}ae();B();B();B();ae();B();ae();Lt();var Ad="exception";var ho=Symbol.for("nodejs.util.inspect.custom");function Co(e){let t={};for(let[o,r]of e.getRawAttributes())typeof r?.then!="function"&&r!=null&&(t[o]??=r);return t}function Ro(e,t,o,r,n){if(typeof o=="number"&&o<0){let a=`[${e}]`;return r?.stylize?r.stylize(a,"special"):a}if(typeof n!="function"||!r)return t;let i={...r,depth:r.depth==null?r.depth:r.depth-1};return`${e} ${n(t,i)}`}var $n=class{_spanContext;kind;parentSpanContext;attributes={};links=[];events=[];startTime;resource;instrumentationScope;_droppedAttributesCount=0;_droppedEventsCount=0;_droppedLinksCount=0;_attributesCount=0;name;status={code:le.UNSET};endTime=[0,0];_ended=!1;_duration=[-1,-1];_spanProcessor;_spanLimits;_attributeValueLengthLimit;_recordEndMetrics;_performanceStartTime;_performanceOffset;_startTimeProvided;constructor(t){let o=Date.now();if(this._spanContext=t.spanContext,this._performanceStartTime=ue.now(),this._performanceOffset=o-(this._performanceStartTime+ue.timeOrigin),this._startTimeProvided=t.startTime!=null,this._spanLimits=t.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit??0,this._spanProcessor=t.spanProcessor,this.name=t.name,this.parentSpanContext=t.parentSpanContext,this.kind=t.kind,t.links)for(let r of t.links)this.addLink(r);this.startTime=this._getTime(t.startTime??o),this.resource=t.resource,this.instrumentationScope=t.scope,this._recordEndMetrics=t.recordEndMetrics,t.attributes!=null&&this.setAttributes(t.attributes),this._spanProcessor.onStart(this,t.context)}spanContext(){return this._spanContext}setAttribute(t,o){if(o==null||this._isSpanEnded())return this;if(t.length===0)return L.warn(`Invalid attribute key: ${t}`),this;if(!Zo(o))return L.warn(`Invalid attribute value set for key: ${t}`),this;let{attributeCountLimit:r}=this._spanLimits,n=!Object.prototype.hasOwnProperty.call(this.attributes,t);return r!==void 0&&this._attributesCount>=r&&n?(this._droppedAttributesCount++,this):(this.attributes[t]=this._truncateToSize(o),n&&this._attributesCount++,this)}setAttributes(t){for(let o in t)Object.prototype.hasOwnProperty.call(t,o)&&this.setAttribute(o,t[o]);return this}addEvent(t,o,r){if(this._isSpanEnded())return this;let{eventCountLimit:n}=this._spanLimits;if(n===0)return L.warn("No events allowed."),this._droppedEventsCount++,this;n!==void 0&&this.events.length>=n&&(this._droppedEventsCount===0&&L.debug("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),or(o)&&(or(r)||(r=o),o=void 0);let i=at(o),{attributePerEventCountLimit:a}=this._spanLimits,s={},c=0,l=0;for(let p in i){if(!Object.prototype.hasOwnProperty.call(i,p))continue;let d=i[p];if(a!==void 0&&l>=a){c++;continue}s[p]=this._truncateToSize(d),l++}return this.events.push({name:t,attributes:s,time:this._getTime(r),droppedAttributesCount:c}),this}addLink(t){if(this._isSpanEnded())return this;let{linkCountLimit:o}=this._spanLimits;if(o===0)return this._droppedLinksCount++,this;o!==void 0&&this.links.length>=o&&(this._droppedLinksCount===0&&L.debug("Dropping extra links."),this.links.shift(),this._droppedLinksCount++);let{attributePerLinkCountLimit:r}=this._spanLimits,n=at(t.attributes),i={},a=0,s=0;for(let l in n){if(!Object.prototype.hasOwnProperty.call(n,l))continue;let p=n[l];if(r!==void 0&&s>=r){a++;continue}i[l]=this._truncateToSize(p),s++}let c={context:t.context};return s>0&&(c.attributes=i),a>0&&(c.droppedAttributesCount=a),this.links.push(c),this}addLinks(t){for(let o of t)this.addLink(o);return this}setStatus(t){if(this._isSpanEnded())return this;if(t.code===le.UNSET)return this;if(this.status.code===le.OK)return this;let o={code:t.code};return t.code===le.ERROR&&(typeof t.message=="string"?o.message=t.message:t.message!=null&&L.warn(`Dropping invalid status.message of type '${typeof t.message}', expected 'string'`)),this.status=o,this}updateName(t){return this._isSpanEnded()?this:(this.name=t,this)}end(t){if(this._isSpanEnded()){L.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}this.endTime=this._getTime(t),this._duration=Ln(this.startTime,this.endTime),this._duration[0]<0&&(L.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&L.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`),this._droppedLinksCount>0&&L.warn(`Dropped ${this._droppedLinksCount} links because linkCountLimit reached`),this._spanProcessor.onEnding&&this._spanProcessor.onEnding(this),this._recordEndMetrics?.(),this._ended=!0,this._spanProcessor.onEnd(this)}_getTime(t){if(typeof t=="number"&&t<=ue.now())return be(t+this._performanceOffset);if(typeof t=="number")return Ae(t);if(t instanceof Date)return Ae(t.getTime());if(uo(t))return t;if(this._startTimeProvided)return Ae(Date.now());let o=ue.now()-this._performanceStartTime;return rr(this.startTime,Ae(o))}isRecording(){return this._ended===!1}
25recordException(t,o){let r={};typeof t=="string"?r[An]=t:t&&(t.code?r[gn]=t.code.toString():t.name&&(r[gn]=t.name),t.message&&(r[An]=t.message),t.stack&&(r[Ap]=t.stack)),r[gn]||r[An]?this.addEvent(Ad,r,o):L.warn(`Failed to record an exception ${t}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){let t=new Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);L.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,t)}return this._ended}_truncateToLimitUtil(t,o){return t.length<=o?t:t.substring(0,o)}_truncateToSize(t){let o=this._attributeValueLengthLimit;return o<=0?(L.warn(`Attribute value limit must be positive, got ${o}`),t):typeof t=="string"?this._truncateToLimitUtil(t,o):Array.isArray(t)?t.map(r=>typeof r=="string"?this._truncateToLimitUtil(r,o):r):t}[ho](t,o,r){let n={name:this.name,kind:this.kind,spanContext:this._spanContext,parentSpanContext:this.parentSpanContext,status:this.status,startTime:this.startTime,endTime:this.endTime,duration:this._duration,ended:this._ended,attributes:this.attributes,events:this.events,links:this.links,droppedAttributesCount:this._droppedAttributesCount,droppedEventsCount:this._droppedEventsCount,droppedLinksCount:this._droppedLinksCount,instrumentationScope:this.instrumentationScope,resource:{attributes:Co(this.resource)}};return Ro("SpanImpl",n,t,o,r)}};var J;(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(J||(J={}));var gd="otel.component.name",hd="otel.component.type",Cd="otel.span.parent.origin",Fa="otel.span.sampling_result",Rd="otel.sdk.processor.span.processed",Nd="otel.sdk.processor.span.queue.capacity",xd="otel.sdk.processor.span.queue.size",Md="otel.sdk.span.live",Od="otel.sdk.span.started",Ld="batching_span_processor";var jn=class{startedSpans;liveSpans;constructor(t){this.startedSpans=t.createCounter(Od,{unit:"{span}",description:"The number of created spans."}),this.liveSpans=t.createUpDownCounter(Md,{unit:"{span}",description:"The number of currently live spans."})}startSpan(t,o){let r=sS(o);if(this.startedSpans.add(1,{[Cd]:aS(t),[Fa]:r}),o===J.NOT_RECORD)return()=>{};let n={[Fa]:r};return this.liveSpans.add(1,n),()=>{this.liveSpans.add(-1,n)}}};function aS(e){return e?e.isRemote?"remote":"local":"none"}function sS(e){switch(e){case J.RECORD_AND_SAMPLED:return"RECORD_AND_SAMPLE";case J.RECORD:return"RECORD_ONLY";case J.NOT_RECORD:return"DROP"}}var yd="2.9.0";var qn=class{_sampler;_spanLimits;_idGenerator;instrumentationScope;_resource;_spanProcessor;_tracerMetrics;constructor(t,o){this.instrumentationScope=t,this._sampler=o.sampler,this._spanLimits=o.spanLimits,this._resource=o.resource,this._idGenerator=o.idGenerator,this._spanProcessor=o.spanProcessor;let r=o.meterProvider.getMeter("@opentelemetry/sdk-trace",yd);this._tracerMetrics=new jn(r)}startSpan(t,o={},r=H.active()){o.root&&(r=G.deleteSpan(r));let n=G.getSpan(r);if(Mt(r))return L.debug("Instrumentation suppressed, returning Noop Span"),G.wrapSpanContext($o);let i=n?.spanContext(),a=this._idGenerator.generateSpanId(),s,c,l;!i||!G.isSpanContextValid(i)?c=this._idGenerator.generateTraceId():(c=i.traceId,l=i.traceState,s=i);let p=o.kind??it.INTERNAL,d=(o.links??[]).map(N=>({context:N.context,attributes:at(N.attributes)})),m=at(o.attributes),u=this._sampler.shouldSample(r,c,t,p,m,d),_=this._tracerMetrics.startSpan(i,u.decision);l=u.traceState??l;let T=u.decision===co.RECORD_AND_SAMPLED?ce.SAMPLED:ce.NONE,S={traceId:c,spanId:a,traceFlags:T,traceState:l};if(u.decision===co.NOT_RECORD)return L.debug("Recording is off, propagating context in a non-recording span"),G.wrapSpanContext(S);let h=at(Object.assign(m,u.attributes));return new $n({resource:this._resource,scope:this.instrumentationScope,context:r,spanContext:S,name:t,kind:p,links:d,parentSpanContext:s,attributes:h,startTime:o.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits,recordEndMetrics:_})}startActiveSpan(t,o,r,n){let i,a,s;if(arguments.length<2)return;arguments.length===2?s=o:arguments.length===3?(i=o,s=r):(i=o,a=r,s=n);let c=a??H.active(),l=this.startSpan(t,i,c),p=G.setSpan(c,l);return H.with(p,s,void 0,l)}[ho](t,o,r){let n={instrumentationScope:this.instrumentationScope,resource:{attributes:Co(this._resource)},spanLimits:this._spanLimits};return Ro("Tracer",n,t,o,r)}};ae();var Xn=class{_spanProcessors;constructor(t){this._spanProcessors=t}forceFlush(){let t=[];for(let o of this._spanProcessors)t.push(o.forceFlush());return new Promise(o=>{Promise.all(t).then(()=>{o()}).catch(r=>{Ne(r||new Error("MultiSpanProcessor: forceFlush failed")),o()})})}onStart(t,o){for(let r of this._spanProcessors)r.onStart(t,o)}onEnding(t){for(let o of this._spanProcessors)o.onEnding&&o.onEnding(t)}onEnd(t){for(let o of this._spanProcessors)o.onEnd(t)}shutdown(){let t=[];for(let o of this._spanProcessors)t.push(o.shutdown());return new Promise((o,r)=>{Promise.all(t).then(()=>{o()},r)})}};B();ae();var Ie=class{shouldSample(){return{decision:J.NOT_RECORD}}toString(){return"AlwaysOffSampler"}};var _e=class{shouldSample(){return{decision:J.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}};var Oe=class{_root;_remoteParentSampled;_remoteParentNotSampled;_localParentSampled;_localParentNotSampled;constructor(t){this._root=t.root,this._root||(Ne(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new _e),this._remoteParentSampled=t.remoteParentSampled??new _e,this._remoteParentNotSampled=t.remoteParentNotSampled??new Ie,this._localParentSampled=t.localParentSampled??new _e,this._localParentNotSampled=t.localParentNotSampled??new Ie}shouldSample(t,o,r,n,i,a){let s=G.getSpanContext(t);return!s||!nt(s)?this._root.shouldSample(t,o,r,n,i,a):s.isRemote?s.traceFlags&ce.SAMPLED?this._remoteParentSampled.shouldSample(t,o,r,n,i,a):this._remoteParentNotSampled.shouldSample(t,o,r,n,i,a):s.traceFlags&ce.SAMPLED?this._localParentSampled.shouldSample(t,o,r,n,i,a):this._localParentNotSampled.shouldSample(t,o,r,n,i,a)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}};B();ae();Lt();var Pd=new Map,Zn=class{processedSpans;queueSize;queueSizeCallback;standardAttrs;droppedAttrs;constructor(t,o,r){let n=Pd.get(t)??0;if(Pd.set(t,n+1),this.standardAttrs={[hd]:t,[gd]:`${t}/${n}`},this.droppedAttrs={...this.standardAttrs,[Ot]:"queue_full"},this.processedSpans=o.createCounter(Rd,{unit:"{span}",description:"The number of spans for which the processing has finished, either successful or failed."}),r){let{capacity:i,getQueueSize:a}=r;o.createUpDownCounter(Nd,{unit:"{span}",description:"The maximum number of spans the queue of a given instance of an SDK span processor can hold."}).add(i,this.standardAttrs),this.queueSize=o.createObservableUpDownCounter(xd,{unit:"{span}",description:"The number of spans in the queue of a given instance of an SDK span processor."}),this.queueSizeCallback=c=>c.observe(a(),this.standardAttrs),this.queueSize.addCallback(this.queueSizeCallback)}}dropSpans(t){this.processedSpans.add(t,this.droppedAttrs)}finishSpans(t,o){if(!o){this.processedSpans.add(t,this.standardAttrs);return}let r={...this.standardAttrs,[Ot]:o.name};this.processedSpans.add(t,r)}shutdown(){this.queueSize&&this.queueSizeCallback&&this.queueSize.removeCallback(this.queueSizeCallback)}};var Qn=class{_maxExportBatchSize;_maxQueueSize;_scheduledDelayMillis;_exportTimeoutMillis;_exporter;_metrics;_isExporting=!1;_finishedSpans=[];_timer;_shutdownOnce;_droppedSpansCount=0;constructor(t){this._exporter=t.exporter,this._maxExportBatchSize=t.maxExportBatchSize??512,this._maxQueueSize=t.maxQueueSize??2048,this._scheduledDelayMillis=t.scheduledDelayMillis??5e3,this._exportTimeoutMillis=t.exportTimeoutMillis??3e4,this._shutdownOnce=new Eo(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(L.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize);let o=t.selfObsMeterProvider?t.selfObsMeterProvider.getMeter("@opentelemetry/sdk-trace"):zo();this._metrics=new Zn(Ld,o,{capacity:this._maxQueueSize,getQueueSize:()=>this._finishedSpans.length})}forceFlush(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()}onStart(t,o){}onEnd(t){this._shutdownOnce.isCalled||t.spanContext().traceFlags&ce.SAMPLED&&this._addToBuffer(t)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>this.onShutdown()).then(()=>this._flushAll()).then(()=>(this._metrics.shutdown(),this._exporter.shutdown()))}_addToBuffer(t){if(this._finishedSpans.length>=this._maxQueueSize){this._droppedSpansCount===0&&L.debug("maxQueueSize reached, dropping spans"),this._droppedSpansCount++,this._metrics.dropSpans(1);return}this._droppedSpansCount>0&&(L.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0),this._finishedSpans.push(t),this._maybeStartTimer()}_flushAll(){return new Promise((t,o)=>{let r=[],n=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let i=0,a=n;i<a;i++)r.push(this._flushOneBatch());Promise.all(r).then(()=>{t()}).catch(o)})}_flushOneBatch(){return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise((t,o)=>{let r=setTimeout(()=>{o(new Error("Timeout"))},this._exportTimeoutMillis);H.with(lo(H.active()),()=>{let n;this._finishedSpans.length<=this._maxExportBatchSize?(n=this._finishedSpans,this._finishedSpans=[]):n=this._finishedSpans.splice(0,this._maxExportBatchSize);let i=()=>this._exporter.export(n,s=>{clearTimeout(r),this._metrics.finishSpans(n.length,s.error),s.code===Pt.SUCCESS?t():o(s.error??new Error("BatchSpanProcessor: span export failed"))}),a=null;for(let s=0,c=n.length;s<c;s++){let l=n[s];l.resource.asyncAttributesPending&&l.resource.waitForAsyncAttributes&&(a??=[],a.push(l.resource.waitForAsyncAttributes()))}a===null?i():Promise.all(a).then(i,s=>{Ne(s),o(s)})})})}_maybeStartTimer(){if(this._isExporting)return;let t=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{this._isExporting=!1,this._finishedSpans.length>0&&(this._clearTimer(),this._maybeStartTimer())}).catch(o=>{this._isExporting=!1,Ne(o)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return t();this._timer===void 0&&(this._timer=setTimeout(()=>t(),this._scheduledDelayMillis),typeof this._timer!="number"&&this._timer.unref())}_clearTimer(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)}};ae();var No=class extends Qn{_visibilityChangeListener;_pageHideListener;constructor(t){super(t),this.onInit(t)}onInit(t){t.disableAutoFlushOnDocumentHide!==!0&&typeof document<"u"&&(this._visibilityChangeListener=()=>{document.visibilityState==="hidden"&&this.forceFlush().catch(o=>{Ne(o)})},this._pageHideListener=()=>{this.forceFlush().catch(o=>{Ne(o)})},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))}onShutdown(){typeof document<"u"&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))}};var bd=new Uint8Array(16),vd=new Uint8Array(8),cS=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function Id(e){for(let t=0;t<e.length;t++)e[t]=Math.random()*256>>>0;for(let t=0;t<e.length;t++)if(e[t]>0)return;e[e.length-1]=1}function Dd(e){let t="";for(let o=0;o<e.length;
25o++)t+=cS[e[o]];return t}var wt=class{generateTraceId(){return Id(bd),Dd(bd)}generateSpanId(){return Id(vd),Dd(vd)}};var Xt;(function(e){e[e.resolved=0]="resolved",e[e.timeout=1]="timeout",e[e.error=2]="error",e[e.unresolved=3]="unresolved"})(Xt||(Xt={}));var Rr=class{_resource;_activeSpanProcessor;_forceFlushTimeoutMillis;_tracerOptions;_tracers=new Map;constructor(t={}){this._forceFlushTimeoutMillis=t.forceFlushTimeoutMillis??3e4,this._resource=t.resource??Cr();let o=t.spanProcessors??[];this._activeSpanProcessor=new Xn(o),this._tracerOptions={resource:this._resource,sampler:t.sampler??new Oe({root:new _e}),spanLimits:{attributeCountLimit:t.spanLimits?.attributeCountLimit??128,attributeValueLengthLimit:t.spanLimits?.attributeValueLengthLimit??1/0,eventCountLimit:t.spanLimits?.eventCountLimit??128,linkCountLimit:t.spanLimits?.linkCountLimit??128,attributePerEventCountLimit:t.spanLimits?.attributePerEventCountLimit??128,attributePerLinkCountLimit:t.spanLimits?.attributePerLinkCountLimit??128},idGenerator:t.idGenerator||new wt,spanProcessor:this._activeSpanProcessor,meterProvider:t.meterProvider??{getMeter(){return zo()}}}}getTracer(t,o,r){let n=`${t}@${o||""}:${r?.schemaUrl||""}`;return this._tracers.has(n)||this._tracers.set(n,new qn({name:t,version:o,schemaUrl:r?.schemaUrl},this._tracerOptions)),this._tracers.get(n)}forceFlush(){let t=this._forceFlushTimeoutMillis,o=this._activeSpanProcessor._spanProcessors.map(r=>new Promise(n=>{let i,a=setTimeout(()=>{n(new Error(`Span processor did not completed within timeout period of ${t} ms`)),i=Xt.timeout},t);r.forceFlush().then(()=>{clearTimeout(a),i!==Xt.timeout&&(i=Xt.resolved,n(i))}).catch(s=>{clearTimeout(a),i=Xt.error,n(s)})}));return new Promise((r,n)=>{Promise.all(o).then(i=>{let a=i.filter(s=>s!==Xt.resolved);a.length>0?n(a):r()}).catch(i=>n([i]))})}shutdown(){return this._activeSpanProcessor.shutdown()}[ho](t,o,r){let n=this._activeSpanProcessor._spanProcessors,i={resource:{attributes:Co(this._resource)},tracers:Array.from(this._tracers.keys()),spanProcessors:n.map(a=>a.constructor?.name??"SpanProcessor")};return Ro("TracerProvider",i,t,o,r)}};B();var Ut=class{_ratio;_upperBound;constructor(t=0){this._ratio=this._normalize(t),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(t,o){return{decision:dn(o)&&this._accumulate(o)<this._upperBound?J.RECORD_AND_SAMPLED:J.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(t){return typeof t!="number"||isNaN(t)?0:t>=1?1:t<=0?0:t}_accumulate(t){let o=0;for(let r=0;r<32;r+=8){let n=0;for(let i=0;i<8;i++){let a=t.charCodeAt(r+i),s=a<58?a-48:a<71?a-55:a-87;n=n<<4|s}o=(o^n)>>>0}return o}};var We;(function(e){e.AlwaysOff="always_off",e.AlwaysOn="always_on",e.ParentBasedAlwaysOff="parentbased_always_off",e.ParentBasedAlwaysOn="parentbased_always_on",e.ParentBasedTraceIdRatio="parentbased_traceidratio",e.TraceIdRatio="traceidratio"})(We||(We={}));var Jn=1;function Ud(){return{sampler:lS(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:void 0??1/0,attributeCountLimit:void 0??128},spanLimits:{attributeValueLengthLimit:void 0??1/0,attributeCountLimit:void 0??128,linkCountLimit:void 0??128,eventCountLimit:void 0??128,attributePerEventCountLimit:void 0??128,attributePerLinkCountLimit:void 0??128}}}function lS(){let e=void 0??We.ParentBasedAlwaysOn;switch(e){case We.AlwaysOn:return new _e;case We.AlwaysOff:return new Ie;case We.ParentBasedAlwaysOn:return new Oe({root:new _e});case We.ParentBasedAlwaysOff:return new Oe({root:new Ie});case We.TraceIdRatio:return new Ut(wd());case We.ParentBasedTraceIdRatio:return new Oe({root:new Ut(wd())});default:return L.error(`OTEL_TRACES_SAMPLER value "${e}" invalid, defaulting to "${We.ParentBasedAlwaysOn}".`),new Oe({root:new _e})}}function wd(){let e=void 0;return e==null?(L.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${Jn}.`),Jn):e<0||e>1?(L.error(`OTEL_TRACES_SAMPLER_ARG=${e} was given, but it is out of range ([0..1]), defaulting to ${Jn}.`),Jn):e}var pS=128,uS=1/0;function Vd(e){let t=Object.assign({},e.spanLimits);return t.attributeCountLimit=e.spanLimits?.attributeCountLimit??e.generalLimits?.attributeCountLimit??void 0??void 0??pS,t.attributeValueLengthLimit=e.spanLimits?.attributeValueLengthLimit??e.generalLimits?.attributeValueLengthLimit??void 0??void 0??uS,Object.assign({},e,{spanLimits:t})}var xo=class extends Rr{constructor(t={}){let o=vn({},Ud(),Vd(t));delete o.generalLimits,super(o)}};var Mo=class extends No{constructor(t,o){o||(o={});let r=[["maxExportBatchSize","OTEL_BSP_MAX_EXPORT_BATCH_SIZE"],["maxQueueSize","OTEL_BSP_MAX_QUEUE_SIZE"],["scheduledDelayMillis","OTEL_BSP_SCHEDULE_DELAY"],["exportTimeoutMillis","OTEL_BSP_EXPORT_TIMEOUT"]];for(let[n,i]of r)if(o[n]===void 0){let a=void 0;a!==void 0&&(o[n]=a)}super({exporter:t,...o}
25)}};B();var ei=class{_enabled=!1;_currentContext=rt;_bindFunction(t=rt,o){let r=this,n=function(...i){return r.with(t,()=>o.apply(this,i))};return Object.defineProperty(n,"length",{enumerable:!1,configurable:!0,writable:!1,value:o.length}),n}active(){return this._currentContext}bind(t,o){return t===void 0&&(t=this.active()),typeof o=="function"?this._bindFunction(t,o):o}disable(){return this._currentContext=rt,this._enabled=!1,this}enable(){return this._enabled?this:(this._enabled=!0,this._currentContext=rt,this)}with(t,o,r,...n){let i=this._currentContext;this._currentContext=t||rt;try{return o.call(r,...n)}finally{this._currentContext=i}}};B();ae();function ES(e){if(e!==null){if(e===void 0){let t=new ei;t.enable(),H.setGlobalContextManager(t);return}e.enable(),H.setGlobalContextManager(e)}}function TS(e){if(e!==null){if(e===void 0){pe.setGlobalPropagator(new _o({propagators:[new vt,new po]}));return}pe.setGlobalPropagator(e)}}var Nr=class extends xo{constructor(t={}){super(t)}register(t={}){G.setGlobalTracerProvider(this),TS(t.propagator),ES(t.contextManager)}};Lt();var kd="session.id",Hd="deployment.environment.name",Bd="service.namespace",Gd="process.runtime.name",Fd="process.runtime.version",Yd="telemetry.distro.name",Kd="telemetry.distro.version",zd="browser.brands",Wd="browser.language",$d="browser.mobile",jd="browser.platform";var ti=class{constructor(t,o){this.processor=t,this.metas=o}forceFlush(){return this.processor.forceFlush()}onStart(t,o){var r;let n=this.metas.value.session;n?.id&&(t.attributes[kd]=n.id);let i=(r=this.metas.value.user)!==null&&r!==void 0?r:{};i.email&&(t.attributes["user.email"]=i.email),i.id&&(t.attributes["user.id"]=i.id),i.username&&(t.attributes["user.name"]=i.username),i.fullName&&(t.attributes["user.full_name"]=i.fullName),i.roles&&(t.attributes["user.roles"]=i.roles.split(",").map(a=>a.trim())),i.hash&&(t.attributes["user.hash"]=i.hash),this.processor.onStart(t,o)}onEnd(t){this.processor.onEnd(t)}shutdown(){return this.processor.shutdown()}};function qd(e={}){var t;return((t=e.attributes)===null||t===void 0?void 0:t.isSampled)==="true"?J.RECORD_AND_SAMPLED:J.NOT_RECORD}var Vt=class extends Ks{constructor(t={}){super(),this.options=t,this.name="@grafana/faro-web-tracing",this.version=Ui}initialize(){var t,o,r,n,i;let a=this.options,s={};this.config.app.name&&(s[Mn]=this.config.app.name),this.config.app.namespace&&(s[Bd]=this.config.app.namespace),this.config.app.version&&(s[gp]=this.config.app.version),this.config.app.environment&&(s[Hd]=this.config.app.environment,s[Tp]=this.config.app.environment);let c=this.metas.value.browser;Ys(c?.brands)&&(s[zd]=c.brands.map(_=>_.brand)),c?.language&&(s[Wd]=c.language),typeof c?.mobile=="boolean"&&(s[$d]=Boolean(c.mobile)),c?.os&&(s[jd]=c.os),c?.userAgent&&(s[Cp]=c.userAgent),s[Gd]="browser",s[Fd]=(t=this.metas.value.browser)===null||t===void 0?void 0:t.userAgent,s[Yd]="faro-web-sdk",s[Kd]=Ui,Object.assign(s,a.resourceAttributes);let l=Cr().merge(Wn(s));new Nr({resource:l,sampler:{shouldSample:()=>({decision:qd(this.api.getSession())})},spanProcessors:[(o=a.spanProcessor)!==null&&o!==void 0?o:new ti(new Mo(new Un({api:this.api}),{scheduledDelayMillis:Vt.SCHEDULED_BATCH_DELAY_MS,maxExportBatchSize:30}),this.metas)]}).register({propagator:(r=a.propagator)!==null&&r!==void 0?r:new vt,contextManager:a.contextManager});let{propagateTraceHeaderCorsUrls:d,fetchInstrumentationOptions:m,xhrInstrumentationOptions:u}=(n=this.options.instrumentationOptions)!==null&&n!==void 0?n:{};wa({instrumentations:(i=a.instrumentations)!==null&&i!==void 0?i:Td({ignoreUrls:this.getIgnoreUrls(),propagateTraceHeaderCorsUrls:d,fetchInstrumentationOptions:m,xhrInstrumentationOptions:u})}),this.api.initOTEL(G,H)}getIgnoreUrls(){return this.transports.transports.flatMap(t=>t.getIgnoreUrls())}};
25Vt.SCHEDULED_BATCH_DELAY_MS=1e3;var Xd={buildId:"623b9d0a",generatedAt:"2026-09-17T20:09:24.287Z",releaseVersion:"106.38.0",releaseVersionSource:"commit-message",commitSha:"8126cd95"};var Zd=Xd,gN=Zd.buildId,oi=Zd.releaseVersion||"0.0.0";var Jd="https://faro-collector-prod-us-east-0.grafana.net/collect";function e_(e=[]){return e.map(t=>{var o,r;return`  at ${t.function||"?"} (${t.filename}:${(o=t.lineno)!=null?o:0}:${(r=t.colno)!=null?r:0})`}).join(`
26`)}var fS=["onloadFunctionsCYB is not a function"];function AS(e){var a;if(e.type!==Wr.EXCEPTION||!window.location.pathname.startsWith("/wp/"))return!1;let t=e.payload,o=(a=t==null?void 0:t.stacktrace)==null?void 0:a.frames;if(!o||o.length===0||(t==null?void 0:t.value)==="Script error."&&o.length===1&&o[0].lineno===0&&o[0].colno===0)return!0;let n=window.location.origin;return o.some(s=>!s.filename||s.filename==="<anonymous>"?!1:!s.filename.startsWith(n))}function gS(e){var n;if(e.type!==Wr.EXCEPTION)return!1;let t=e.payload,o=(n=t==null?void 0:t.stacktrace)==null?void 0:n.frames;if(!o||o.length===0)return!1;let r=typeof window!="undefined"?window.location.origin:"";return o.every(i=>{let a=i.filename||"";return!(!a||a==="<anonymous>"||a.startsWith(r)||a.startsWith("/build/")||a.startsWith("/assets/"))})}function hS(e,t){var i,a;let o=t.payload,r=/\bis not defined\b/.test((i=o.value)!=null?i:"")?`[WP] ${o.value}`:o.value,n=new Error(r);n.name=r!=null?r:"wp-external-error",e.api.pushError(n,{type:r||"wp-external-error",context:{...o.context,route:window.location.pathname,originalStacktrace:e_((a=o.stacktrace)==null?void 0:a.frames)}})}var CS="Swiftly Ads]",RS=/%c\[%s Swiftly Ads\]\s*-\s*([\s\S]*?)\s*color:\s*white;\s*font-weight:\s*bold;\s*background-color:\s*#[0-9a-fA-F]{3,8}(?:\s+\d{1,2}:\d{2}:\d{2})?\s*([\s\S]*)$/;function NS(e){var o;if(e.type!==Wr.EXCEPTION)return!1;let t=(o=e.payload)==null?void 0:o.value;return typeof t=="string"&&t.includes(CS)}function xS(e){let t=RS.exec(e);return t?{message:t[1].trim(),args:t[2].trim()||void 0}:{message:e.replace(/^console\.error:\s*/,"").replace(/%[cs]/g,"").replace(/color:\s*[^;]+;[^#]*#[0-9a-fA-F]{3,8}
26/g,"").replace(/^\[\s*Swiftly Ads\]\s*-\s*/,"").replace(/\b\d{1,2}:\d{2}:\d{2}\b/g,"").replace(/\s+/g," ").trim()}}function MS(e,t,o){var c,l,p,d,m;let r=t.payload,{args:n,message:i}=xS((c=r.value)!=null?c:""),a=`[Ads SDK] ${i||"unknown error"}`,s=new Error(a);s.name=a,e.api.pushError(s,{type:a,context:{...r.context,banner:(l=o.configBanner)!=null?l:"unknown",brand:o.brandName,route:window.location.pathname,adsSdkVersion:String((d=(p=window.Swiftly)==null?void 0:p.version)!=null?d:"unknown"),...n?{consoleArgs:n}:{},originalStacktrace:e_((m=r.stacktrace)==null?void 0:m.frames)}})}function Qd(e,t){let o=null,r=!1,n=!1;return()=>{if(o||r||n)return o;n=!0;try{o=Vi({url:`${Jd}/${e}`,app:{name:t,version:oi,environment:"production"},isolate:!0,instrumentations:[new $s]})}catch{r=!0}finally{n=!1}return o}}function t_(e){let{brandName:t,configBanner:o,devIgnoreThirdPartyErrors:r,faroExternalPagesId:n,faroId:i,grafanaEnabled:a,webAdsSdkExternalFaroId:s}=e||{},[c,l]=(0,ri.useState)(!1);(0,ri.useEffect)(()=>{if(a==="true"&&i&&t&&!c)try{let p=n?Qd(n,`Monolith - ${t} (External Pages)`):null,d=s?Qd(s,`Monolith - ${t} (Ads SDK)`):null,m=r==="true";Vi({url:`${Jd}/${i}`,app:{name:`Monolith - ${t}`,version:oi,environment:"production"},isolate:!0,ignoreErrors:fS,instrumentations:[...js(),new Vt],beforeSend:u=>{try{if(NS(u)){let _=d==null?void 0:d();return _?(MS(_,u,{brandName:t,configBanner:o}),null):u}if(AS(u)){let _=p==null?void 0:p();return _?(hS(_,u),null):u}return m&&gS(u)?null:u}catch{return u}}}),console.log(`Faro initialized (v${oi})`),l(!0)}catch(p){console.error(p)}},[c,i,n,s,a,t,o,r])}var ge=E(M());function o_(e){let{clientGADataStreamId:t,cookieProviderObj:o,swiftlyGADataStreamId:r}=e||{},[n,i]=(0,ge.useState)(!1),a=(0,ge.useMemo)(()=>["scroll","mousemove","touchstart","click"],[]),s=(0,ge.useRef)(null),c=(0,ge.useRef)([]),l=!0,p=(0,ge.useCallback)((u,..._)=>{typeof window=="undefined"||!l||(n&&window.gtag?window.gtag(u,..._):c.current.push([u,..._]))},[n,l]),d=(0,ge.useCallback)(()=>{if(n||!l)return;typeof window!="undefined"&&(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)});let u=document.getElementsByTagName("head")[0],_=document.createElement("script");_.async=!0,_.src=`https://www.googletagmanager.com/gtag/js?id=${r}`;let T=document.createElement("script");T.innerHTML=`
27      window.dataLayer = window.dataLayer || [];
28      function gtag() {
29        dataLayer.push(arguments);
30      }
31      
32      gtag('js', new Date());
33      gtag('config', '${r}');
34      ${t?`gtag('config', '${t}');`:""}
35    `,u.appendChild(_),u.appendChild(T),_.onload=()=>{i(!0),c.current.length>0&&(c.current.forEach(S=>{window.gtag&&window.gtag(...S)}),c.current=[])},a.forEach(S=>window.removeEventListener(S,d,{capture:!0})),s.current&&(clearTimeout(s.current),s.current=null)},[n,r,t,a,l]),m=(0,ge.useCallback)(()=>{l&&(a.forEach(u=>window.addEventListener(u,d,{once:!0,passive:!0,capture:!0})),s.current=setTimeout(()=>{n||d()},1e3))},[d,n,a,l]);return(0,ge.useEffect)(()=>(r&&!n&&l&&Ct(o,m),()=>{n||(a.forEach(u=>window.removeEventListener(u,d,{capture:!0})),s.current&&(clearTimeout(s.current),s.current=null))}),[r,n,o,m,d,a,l]),{trackEvent:p}}var De=E(M());
35function r_(e){let{cookieProviderObj:t,swiftlyGtmId:o}=e||{},[r,n]=(0,De.useState)(!1),i=(0,De.useMemo)(()=>["scroll","mousemove","touchstart","click"],[]),a=(0,De.useRef)(null),s=!0,c=(0,De.useCallback)(()=>{if(r||!s)return;typeof window!="undefined"&&(window.dataLayer=window.dataLayer||[]);let p=document.createElement("script");p.innerHTML=`
36      (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
37      new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
38      j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
39      'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
40      })(window,document,'script','dataLayer','${o}')
41    `,document.head.appendChild(p),n(!0),i.forEach(d=>window.removeEventListener(d,c,{capture:!0})),a.current&&(clearTimeout(a.current),a.current=null)},[r,o,i,s]),l=(0,De.useCallback)(()=>{s&&(i.forEach(p=>window.addEventListener(p,c,{once:!0,passive:!0,capture:!0})),a.current=setTimeout(()=>{r||c()},1e3))},[c,r,i,s]);return(0,De.useEffect)(()=>(o&&!r&&s&&Ct(t,l),()=>{r||(i.forEach(p=>window.removeEventListener(p,c,{capture:!0})),a.current&&(clearTimeout(a.current),a.current=null))}),[o,r,t,l,c,i,s]),{gtmRegistered:r}}var ni=E(M());var OS=(e,t)=>{let o=`//js.hs-scripts.com/${e}.js`;return t?`${o}?businessUnitId=${t}`:o};function n_(e){let{cookieProviderObj:t,hubspotBusinessUnit:o,hubspotKey:r}=e||{},[n,i]=(0,ni.useState)(!1);(0,ni.useEffect)(()=>{if(!r||n)return;let a=()=>{if(document.getElementById("hs-script-loader")){i(!0);return}let c=OS(r,o),l=document.createElement("script");l.type="text/javascript",l.id="hs-script-loader",l.async=!0,l.defer=!0,l.src=c,l.onload=()=>{i(!0)},document.head.appendChild(l)};Ct(t,()=>{typeof window.requestIdleCallback=="function"?window.requestIdleCallback(a,{timeout:2e3}):setTimeout(a,100)})},[r,o,n,t])}var ii=E(M());function i_({primaryColor:e,setNoAdsLoaded:t,swiftlyShopperId:o}){let r=Hr("root"),{publicEnvs:n}=r||{},{adsDataAccountKey:i}=n||{},a=(0,ii.useRef)("");(0,ii.useEffect)(()=>{var s,c,l,p,d;typeof window===void 0||!i||a.current===o||((s=window==null?void 0:window.Swiftly)!=null&&s.ads&&(window.Swiftly.callbacks={adsReceived:m=>{(m==null?void 0:m.adCount)===0&&t(!0)}}),(l=(c=window.Swiftly)==null?void 0:c.ads)==null||l.init({accountKey:i,swiftlyUserId:o,primaryColor:e,disableInitialSearchForAdTags:"true",controls:"fixed"}),(d=(p=window==null?void 0:window.Swiftly)==null?void 0:p.ads)==null||d.refresh(),a.current=o)},[i,o,e,t])}var ai=E(M());var LS=5,yS=250,a_=e=>{var t,o,r;return Boolean((r=(o=(t=e==null?void 0:e.colors)==null?void 0:t.accents)==null?void 0:o.primary)==null?void 0:r.length)},s_=e=>{let t=a_(e)?e:ht,r=t!==e&&a_(ht),n=(0,ai.useRef)(!1);return(0,ai.useEffect)(()=>{if(!r||n.current)return;let i=0,a,s=window.location.pathname,c=()=>{var l,p;if(!((l=et)!=null&&l.config)||!((p=et.api)!=null&&p.pushError)){if(i+=1,i>=LS)return;a=setTimeout(c,yS);return}n.current=!0,et.api.pushError(new Error("Root loader data has no tenant colors"),{type:"root-tenant-config-fallback",context:{pathname:s,tenantConfigPresent:String(Boolean(e)),colorsPresent:String(Boolean(e==null?void 0:e.colors)),tenantConfigKeys:e?Object.keys(e).sort().join(","):""}})};return c(),()=>clearTimeout(a)},[r,e]),t};var si=E(M());var c_="vibes-tag-loader",PS="https://tagtracking.vibescm.com",bS=e=>(e==null?void 0:e.trim().toLowerCase())==="true",vS=e=>`${(e||PS).replace(/\/+$/,"")}/tag`;function l_(e){let{cookieProviderObj:t,enableVibesLocalhost:o,vibesTagEnabled:r,vibesTagHost:n}=e||{},[i,a]=(0,si.useState)(!1);(0,si.useEffect)(()=>{if(!bS(r)||i)return;let c=()=>{if(document.getElementById(c_)){a(!0);return}window.vTagData=window.vTagData||[],typeof window.vTag!="function"&&(window.vTag=(d,m,u)=>{var _;(_=window.vTagData)==null||_.push([d,m,u])});let p=document.createElement("script");p.async=!0,p.id=c_,p.src=vS(n),p.type="text/javascript",p.onload=()=>{a(!0)},document.head.appendChild(p)};Ct(t,()=>{typeof window.requestIdleCallback=="function"?window.requestIdleCallback(c,{timeout:2e3}):setTimeout(c,100)})},[t,o,i,r,n])}var Zt=E(M());var IS="swiftly-shared-context-enrichment",p_=e=>({name:IS,type:"enrichment",execute:async t=>{try{let o=nc({...rc({tenantId:e})});return{...t,event_properties:{...o,...t.event_properties}}}catch{return t}}});Vo();function u_(e){var _;let{amplitudeAppName:t,amplitudeKey:o,amplitudeSiteId:r,chainId:n,enableAmplitudeLocalhost:i}=e!=null?e:{},{firebaseSessionData:a,id:s,loyaltyId:c,store:l}=(_=Is())!=null?_:{},p=(a==null?void 0:a.uid)||s,d=(0,Zt.useRef)(void 0),[m,u]=(0,Zt.useState)(!1);(0,Zt.useEffect)(()=>{let S=i==="true";if(!0&&o&&!m){let C=typeof window!="undefined"?`${window.location.origin}/api/amplitude`:"/api/amplitude";ec(o,{serverUrl:C,autocapture:{attribution:!0,pageViews:!0,sessions:!0,formInteractions:!0,fileDownloads:!0,elementInteractions:!0}}),Qs(p_(n)),u(!0)}},[o,m,i,n]),(0,Zt.useEffect)(()=>
41{if(m&&p&&p!==d.current){tc(p);let T=new Zs;T.set("UserId",p),T.set("SwiftlyUserId",p),T.set("TenantLoyaltyId",c||""),T.set("StoreId",zr(l)),T.set("TenantId",n||""),T.set("SiteId",r||""),T.set("AppName",t||""),Js(T),d.current=p}},[m,p,c,l,n,r,t])}var d_=E(M());var Ya=({firebaseSessionData:e,primaryColor:t})=>{let{setNoAdsLoaded:o}=Z(),r=(0,d_.useCallback)(()=>{var n,i;try{return((n=e==null?void 0:e.payload)==null?void 0:n.swiftlyShopperId)||typeof window!="undefined"&&((i=JSON.parse(localStorage.getItem("user-data")||"{}"))==null?void 0:i.id)}catch{return}},[e]);return i_({swiftlyShopperId:r(),primaryColor:t,setNoAdsLoaded:o}),null};var Pe=E(M());var ci=E(M());function __(){let{setUserDetails:e,user:t}=Re(),o=(0,ci.useRef)(!1);(0,ci.useEffect)(()=>{var i,a,s;if(!((i=ao)!=null&&i.isSingleStoreBanner)||!ao.singleStoreId||t.selectedStore||o.current)return;let r=JSON.parse(localStorage.getItem("user-data")||"{}");if(r.selectedStore||(a=r.store)!=null&&a.storeId)return;o.current=!0;let n=ao.stores[0];n&&(t.isLoggedIn?((s=window.ENV)==null?void 0:s.enableSingleStoreAutoselectSave)==="true"?ws(void 0,n).then(l=>{l&&window.location.reload()}):e({selectedStore:ao.singleStoreId,store:n}):e({selectedStore:ao.singleStoreId,store:n}))},[t.isLoggedIn,t.selectedStore,e])}var m_=E(M());var E_=E(x()),Oo=()=>[],st=(0,m_.forwardRef)(function({children:t,className:o,...r},n){return(0,E_.jsx)(Fr,{ref:n,fluid:!0,size:"100%",className:`swiftly-container ${o||""}`,...r,children:t})});st.displayName="SwiftlyContainer";var Te=E(M());var xr=E(x()),T_=500,S_=()=>[],DS=(0,Te.forwardRef)((e,t)=>{let[o,r]=(0,Te.useState)(0),[n,i]=(0,Te.useState)(!1),a=(0,Te.useRef)(null),s=(0,Te.useRef)(null),[c,l]=(0,Te.useState)("");(0,Te.useEffect)(()=>()=>{a.current&&clearInterval(a.current),s.current&&clearTimeout(s.current)},[]),(0,Te.useEffect)(()=>{o>=25&&o<50?l("Loading page at 25%"):o>=50&&o<75?l("Loading page at 50%"):o>=75&&o<100?l("Loading page at 75%"):o>=100&&l(`${document.title} page loaded`)},[o]);let p=()=>{if(a.current)return;s.current&&(clearTimeout(s.current),s.current=null),r(0),l("Loading page"),i(!0);let m=()=>{r(u=>u>=0&&u<20?u+10:u>=20&&u<50?u+4:u>=50&&u<80?u+2:u>=80&&u<99?u+1:99)};a.current=setInterval(m,T_)},d=()=>{a.current&&(clearInterval(a.current),a.current=null),l(`${document.title} page loaded`),r(100),s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{s.current=null,i(!1),r(0)},T_)};return(0,Te.useImperativeHandle)(t,()=>({onStart:p,onComplete:d})),(0,xr.jsxs)("div",{className:Gt("navigation-progress",{"navigation-progress--hidden":!n}),tabIndex:-1,children:[(0,xr.jsx)("div",{className:"navigation-progress__bar",style:{width:`${o}%`}}),(0,xr.jsx)(Ht,{"aria-live":"assertive","aria-atomic":"true",tabIndex:-1,children:c})]})}),f_=DS;var A_=f_;var li=E(M());var he=E(M());Vo();var g_=e=>{let{publicEnvs:t,setShowStoreDrawer:o}=Z(),{user:r}=Re(),{ecomFeatureFlag:n}=Ft(),[i]=Tt(),a=kr(),s=Xr(),c=(0,he.useMemo)(()=>!r.selectedStore&&(!r.store||Object.keys(r.store).length===0),[r.store,r.selectedStore]),l=(0,he.useMemo)(()=>r!=null&&r.isLoggedIn?!r.selectedStore&&c?void 0:t!=null&&t.ecomLEUrl&&(r!=null&&r.token)?`${t==null?void 0:t.ecomLEUrl}?ex_access_token=${r==null?void 0:r.token}`:void 0:"/login?shopNow=true",[t,r,c]),p=(0,he.useMemo)(()=>Boolean(r.isLoggedIn&&c),[r.isLoggedIn,c]),d=(0,he.useMemo)(()=>{var y,w,A,k;let f=P=>{var v,R,O;return(O=(R=(v=P.find)==null?void 0:v.call(P,I=>I.name==="ShopNow"))==null?void 0:R.url)!=null?O:void 0};return(y=r==null?void 0:r.store)!=null&&y.webLinks?f((A=(w=r==null?void 0:r.store)==null?void 0:w.webLinks)!=null?A:[]):f((k=e==null?void 0:e.webLinks)!=null?k:[])},[e,r==null?void 0:r.store]),m=(0,he.useMemo)(()=>n?r.isLoggedIn?c?!0:Boolean(r.store&&wi(r.store)):!!(c||r.store&&wi(r.store)):!1,[r.store,r.isLoggedIn,n,c]),u=(0,he.useCallback)(()=>{o(!0),sessionStorage.setItem("shopNow","true");let f=new URLSearchParams(i);f.set("shopNow","true"),a(`?${f.toString()}`)},[o,i,a]),_=(0,he.useCallback)((f,y)=>({displayName:f.displayName,id:f.id,icon:f.icon,url:y}),[]),T=(0,he.useCallback)(f=>["Shop Now","Shop Online","Compra en L\xEDnea","Comprar Ahora"].includes(f),[]),S=(0,he.useCallback)(f=>(f==null?void 0:f.type)==="shop_now"?!0:T(f.displayName),[T]),h=(0,he.useCallback)(f=>S(f)&&m&&p&&!l,[S,m,p,l]),C=(0,he.useCallback)(f=>S(f)?d?_(f,d):m&&l?_(f,l):m&&!l&&p?_(f,""):(f.url==="",f):f,[S,d,m,l,p,_]);return{storeSpecificShopNowUrl:d,showEcomLEMenuItem:m,isLoggedInWithNoStore:p,shopNowLink:l,handleEcomShopNowCl
41ick:u,createShopNowMenuItemData:_,isShopNowBtnFn:S,checkHideStoreLink:h,getShopNowState:C,logTelemetryShopNowClick:(f,y)=>{T(f)&&s({eventName:"shop_now_tap",logType:"ALL",vibesEventProperties:{action:"click"}}),!T(f)&&y&&s({eventName:"shop_now_tap_way_to_shop",logType:"ALL",gaEventProperties:{shortName:y},faroEventProperties:{shortName:y}}),y&&!y.includes("login")&&s({eventName:"ecom_webview_loads",logType:"ALL",gaEventProperties:{shortName:y},faroEventProperties:{shortName:y}})}}};var h_=e=>{let[t]=Tt(),{isCouponModalOpen:o,openCouponModal:r,setQualifyingProducts:n}=Bo(),{isCouponDetailsModalPreLoaded:i,preload:a}=Jr(),s=(0,li.useRef)(o);(0,li.useEffect)(()=>{let c=t.get("id"),l=s.current&&!o;if(s.current=o,c&&!o&&!l){i||a();let p=!1;return(async()=>{var m,u,_,T,S,h;try{let[C,N]=await Promise.all([hc({couponId:c,request:void 0}),Tc({},c,e)]);if(p||!C)return;let f={...C,id:C.id,brand:((m=C.offer)==null?void 0:m.brandName)||void 0,imageUrl:C.imageDetailsUrl||C.imageThumbnailUrl||((_=(u=C.offer)==null?void 0:u.imageUrls)==null?void 0:_[0])||"",expirationDate:((T=C.offer)==null?void 0:T.expireDateString)||"",couponState:Nc(C.state),shortDescription:((S=C.offer)==null?void 0:S.description)||"",terms:((h=C.offer)==null?void 0:h.termsAndConditions)||void 0,isRebate:!1,valueText:C.displayValue||"",isExcluded:C.storeExclusionStatus==="Excluded"};r(f),n(N)}catch(C){console.error("Failed to fetch coupon data:",C)}})(),()=>{p=!0}}},[t,o,e,r,a,n,i])};var me=E(M());var C_=E(M()),R_=(0,C_.lazy)(()=>import("/build/_shared/SwiftlyAccountMobMenu-BVXB3PEA.js").then(e=>({default:e.SwiftlyAccountMobMenu})));var pi=E(M());var N_={current:!1},wS={current:!1},x_=()=>{let[e,t]=(0,pi.useState)(!1);return{preload:(0,pi.useCallback)(async()=>{N_.current||(await Promise.all([ko(()=>import("/build/_shared/SwiftlyAccountMobMenu-BVXB3PEA.js"),async()=>await Ho("mobile-menu-styles",()=>import("/build/_shared/links-A3ODZCS5.js")),N_),ko(()=>import("/build/_shared/SwiftlyLoyaltyMenuCard-GDJJJG2W.js"),async()=>await Ho("loyalty-menu-styles",()=>import("/build/_shared/links-P5O2R6F7.js")),wS)]),t(!0))},[]),isMobileMenuLoaded:e}};var M_=E(M());var Qt=E(x()),US={fontWeight:"bold"},ui=()=>[],we=({buttonAriaLabel:e,buttonClassName:t,buttonOnly:o=!1,className:r,data:{displayName:n,external:i,icon:a,id:s,url:c},disabled:l=!1,eventTrigger:p,onClick:d,tabIndex:m=0})=>{let{publicEnvs:u}=Z(),_=(0,M_.useMemo)(()=>c?xc(c,u==null?void 0:u.proxyRoutes):!1,[c,u==null?void 0:u.proxyRoutes]),T=()=>i?{"aria-label":`Opens in a new tab ${n}`}:{},S=()=>e?{"aria-label":e}:{},h=(0,Qt.jsx)(ft,{onClick:o?d:void 0,className:Gt("nav-item-btn",t,o&&r,o&&"isButtonOnlyMode",l&&"disabled-menu-button"),variant:"transparent",tabIndex:m,disabled:l,...S(),children:(0,Qt.jsxs)(oe,{gap:"xs",children:[a&&(0,Qt.jsx)(bc,{icon:a,className:"icon"}),(0,Qt.jsx)(W,{className:"label",size:"sm",children:n})]})});return o?h:(0,Qt.jsx)(ss,{className:Gt("nav-item",r),prefetch:_?"none":"intent",reloadDocument:_,role:"link",style:({isActive:C})=>C?US:{},tabIndex:-1,target:i?"_blank":"_self",to:c!=null?c:"",onClick:C=>{d&&d(C),p&&p(n,c)},...T(),children:h},s)};var di=E(M());var q=E(x()),O_=()=>[];function L_({notificationBar:e}){var l;let{dismissBanner:t}=Z(),o=((l=e.message)!=null?l:"").trim(),r=e.id,n=(0,di.useCallback)(()=>{t(r)},[t,r]),i=(0,di.useMemo)(()=>{if(e.destinationUrl)return e.destinationUrl;let p=o.match(/^\[(.+)\]\((.+)\)$/);return p?p[2]:""},[e.destinationUrl,o]),a=!!i,s=()=>{a&&window.open(i,"_blank","noopener")},c={disableAutoLink:!0,overrides:{a:{component:({children:p})=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(q.Fragment,{children:[p," "]})," "]})},strong:{component:({children:p})=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)("strong",{children:p})," "]})},i:{component:({children:p})=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)("i",{children:p})," "]})},u:{component:({children:p})=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)("u",{children:p})," "]})},p:{component:({children:p})=>(0,q.jsx)("p",{children:p})}}};return o?(0,q.jsxs)("aside",{className:"notificationBar",id:`notificationBar-${String(r)}`,onClick:s,style:{cursor:a?"pointer":"default"},"data-testid":"notification-bar",children:[(0,q.jsx)(W,{className:"banner",component:"p","data-testid":"notification-bar-text",children:(0,q.jsx)(vc,{className:"marked-down",options:c,children:o})}),(0,q.jsx)(ft,{"aria-label":"Click to close notification bar",className:"bannerButton",name:"Dismiss N
41otification Bar",onClick:p=>{p.stopPropagation(),n()},children:(0,q.jsx)(io,{className:"bannerClose",role:"presentation"})})]}):null}var _i=E(M());var y_={current:!1},mi=()=>{let[e,t]=(0,_i.useState)(!1);return{preload:(0,_i.useCallback)(async()=>{if(typeof window!="undefined"){if(y_.current){e||t(!0);return}try{await ko(()=>import("/build/_shared/SwiftlyCategoryTree-MW4JNN6X.js"),async()=>await Ho("category-tree-styles",()=>import("/build/_shared/links-NXBDQPEX.js")),y_),t(!0)}catch(r){console.error("Error preloading category tree:",r)}}},[e]),isLoaded:e}};var P_=E(M());var Le=E(x()),b_=()=>[],Ka=(0,P_.forwardRef)(function(t,o){var m,u,_;let{publicEnvs:r,rootPageData:n,setSmartBanner:i,smartBanner:a}=Z(),{siteLogos:s}=n||{},c=Be(),l=(_=(u=(m=s==null?void 0:s.Favicon_svg)==null?void 0:m.data)==null?void 0:u.attributes)==null?void 0:_.url,[,p]=ms({key:"swiftly-smart-banner-displayed",defaultValue:!1}),d=()=>{i(void 0),p(!0)};return a?(0,Le.jsx)(Je,{ref:o,className:"smart-banner-container",children:(0,Le.jsxs)(oe,{align:"center",gap:"xs",children:[(0,Le.jsx)(Do,{"aria-label":c==null?void 0:c.common_close,className:"close-button",onClick:d,children:(0,Le.jsx)(io,{role:"presentation"})}),(0,Le.jsx)(Je,{className:"logo-container",children:(0,Le.jsx)(At,{alt:"Logo",srcSet:l,w:40,h:40,role:"presentation",loading:"lazy"})}),(0,Le.jsxs)(gt,{flex:1,gap:0,children:[(0,Le.jsxs)(W,{className:"app-name",children:[r==null?void 0:r.brandName," App"]}),(0,Le.jsx)(W,{className:"banner-text",children:c==null?void 0:c.download_app_smart_banner})]}),(0,Le.jsx)(ft,{component:"a",href:a,size:"xs",onClick:d,children:c==null?void 0:c.download_smart_banner})]})}):null});Ka.displayName="SwiftlySmartBanner";var $e=E(M());var F=E(x()),I_=()=>[],v_=()=>{let[e]=Tt(),t=e.get("q"),o=Xr(),r=kr(),{couponFeatureFlag:n,defaultSearch:i,useAppCardIframeCoupons:a}=Ft(),[s,c]=(0,$e.useState)(t||""),[l,p]=(0,$e.useState)(!1),d=Be(),m=Im().sprintf,[u,_]=_s({key:"search-history",defaultValue:[]}),[T,S]=(0,$e.useState)(!1),h=(0,$e.useRef)(null),C=(0,$e.useRef)(null);(0,$e.useEffect)(()=>{c(t||"")},[t]);let N=R=>{o({eventName:"search_attempt",logType:"ALL",gaEventProperties:{searchTerm:R},faroEventProperties:{searchTerm:R}});let O=encodeURIComponent(R),I=n&&!a,D=i;D==="coupons"&&!I&&(D="products");let Y=(()=>{switch(D){case"products":return`/search/products?q=${O}`;case"coupons":return`/search/coupons?q=${O}`;case"recipes":return`/search/recipes?q=${O}&p=1&category=*`;default:return"/"}})();r(Y)},f=R=>{var I;R.preventDefault();let O=s.trim();O.length?(_(D=>{let Y=[...D],j=Y.findIndex(ke=>ke===O);if(j!==-1){let ke=Y.splice(j,1);return Y.unshift(ke[0]),Y}return Y.length===5&&Y.pop(),Y.unshift(O),Y}),(I=h.current)==null||I.select(),N(O)):p(!0)},y=R=>{var O;_(I=>{let D=[...I],Y=D.findIndex(ke=>ke===R),j=D.splice(Y,1);return D.unshift(j[0]),D}),N(R),(O=h.current)==null||O.focus(),S(!1)},w=R=>{var O;R.stopPropagation(),R.preventDefault(),_([]),c(""),S(!1),(O=h.current)==null||O.focus()},A=R=>{let O=R.relatedTarget;return!!(O!=null&&O.closest(".search-box-form"))},k=R=>{A(R)||S(!1)},P=R=>{var I;let O=(I=C.current)==null?void 0:I.getElementsByClassName("search-dropdown-selectable-option");if((R.key==="ArrowDown"||R.key==="ArrowUp")&&O){R.preventDefault(),R.stopPropagation();for(let D=0;D<O.length;D++)if(O[D]===document.activeElement){if(R.key==="ArrowUp"&&D>0){O[D-1].focus();break}if(R.key==="ArrowDown"&&D<O.length-1){O[D+1].focus();break}}}R.key==="Escape"&&S(!1)},v=R=>{var O;if(R.key==="ArrowDown"){R.preventDefault(),R.stopPropagation(),S(!0);let I=(O=C.current)==null?void 0:O.getElementsByClassName("search-dropdown-selectable-option");I&&I[0].focus()}R.key==="Escape"&&S(!1)};return(0,F.jsx)("form",{className:"search-box-form",role:"search",onSubmit:f,"data-testid":"search-box-form",children:(0,F.jsxs)(Gr,{withinPortal:!1,width:"target",opened:T,"aria-haspopup":"listbox",children:[(0,F.jsx)(Gr.Target,{children:(0,F.jsx)(As,{role:"combobox",ref:h,"aria-label":d==null?void 0:d.top_nav_search_label,className:Gt("search-bar-height",s&&"search-Box-filled",!s&&"search-Box-empty",l&&"search-Box-error"),placeholder:d==null?void 0:d.top_nav_search_placeholder,radius:"24px",rightSection:(0,F.jsx)(fs,{"aria-label":d==null?void 0:d.top_nav_search_btn_label,radius:"xl",type:"submit",variant:"transparent",onClick:f,children:(0,F.jsx)(Di,{className:"search-icon",role:"presentation",size:"1.5rem"})}),rightSectionPointerEvents:"all",value:s,variant:"filled",onChange:R=>{l&&p(!1),c(R.target.value),S(!0)},onClick:()=>S(!0),onFocus:()=>S(!0),onBlur:k,onKeyDown:v})}),(0,F.jsxs)(Gr.Dropdown,{p:4,ref:C,"aria-labelledby":"",role:"listbox",className:"search-dropdown",children:[(0,F.jsx)(W,{className:"search-dropdown-title","aria-hidden":"true","data-testid":"search-history-title",children:d==null?void 0:d.search_search_history}),u.length>0?u.map(R=>(0,F.jsx)(Do,{role:"option",tabIndex:0,"aria-label":m(d==null?void 0:d.search_result_history,R),className:"search-dropdown-selectable-option search-dropdown-option","data-testid":`search-history-item-${R}`,onClick:()=>y(R),onKeyDown:P,onBlur:k,children:(0,F.jsxs)(oe,{align:"center",gap:"xs",children:[(0,F.jsx)(Lc,{className:"history-icon",role:"presentation"})," ",(0,F.jsx)(W,{flex:1,children:R})]})},R)):(0,F.jsx)(W,{className:"search-dropdown-option",tabIndex:0,id:"search-option-0",children:d==null?void 0:d.search_result_no_history}),(0,F.jsx)(Do,{role:"option",tabIndex:0,className:"search-dropdown-selectable-option search-dropdown-clear-history","data-testid":"search-clear-history-button",onClick:w,onBlur:k,onKeyDown:P,children:(0,F.jsx)(W,{fw:600,fz:"sm",children:d==null?void 0:d.search_clear_history})})]})]})})},VS=()=>{let{loginFeatureFlag:e}
41=Ft(),[t,o]=(0,$e.useState)(!1);return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(Je,{className:`search-box-container ${e&&"has-right-margin"}`,"data-testid":"search-box-container",children:(0,F.jsx)(v_,{})}),(0,F.jsx)(Je,{className:"search-box-mobile-button","data-testid":"search-box-mobile-button",children:(0,F.jsx)(Di,{"aria-label":"Search",className:"search-box-button","data-testid":"search-box-mobile-icon",onClick:()=>{o(!0)}})}),t&&(0,F.jsxs)(Je,{className:"search-box-mobile-container","data-testid":"search-box-mobile-container",children:[(0,F.jsx)(v_,{}),(0,F.jsx)(io,{"data-testid":"search-box-mobile-close",onClick:()=>o(!1)})]})]})},D_=VS;var Ei=E(M());var Mr=E(M());Vo();var ct=E(x()),w_=()=>[...Oo(),...ui()],U_=({preloadStoreDrawer:e})=>{var p,d,m;let{rootPageData:t,setShowStoreDrawer:o}=Z(),{headerData:r}=t||{},{headerRight:n}=r||{},i=Be(),{user:a}=Re(),s=(0,Mr.useCallback)(async u=>{(u.type==="click"||u.type==="keydown"&&u.key==="Enter")&&(await e(),o(!0))},[e,o]),c=(0,Mr.useMemo)(()=>n==null?void 0:n.map(u=>(0,ct.jsx)(we,{className:"link",data:{...u,icon:""},onClick:()=>{u!=null&&u.url&&u.url.startsWith("/account")&&!Kr()&&localStorage.setItem("redirectTo",u.url)}},`${u==null?void 0:u.displayName}-${u==null?void 0:u.id}`)),[n]),l=(0,Mr.useCallback)(()=>{var _,T;return`${(_=a==null?void 0:a.store)!=null&&_.displayName?`Current store is ${(T=a==null?void 0:a.store)==null?void 0:T.displayName}`:"No store selected"}; store locator is currently closed. Select to open the store locator`},[(p=a==null?void 0:a.store)==null?void 0:p.displayName]);return(0,ct.jsx)(st,{className:"sub-nav-menu-container","data-testid":"sub-nav-menu",children:(0,ct.jsxs)(oe,{className:"content-box",children:[(0,ct.jsxs)(oe,{align:"center",gap:4,children:[(0,ct.jsxs)(W,{fw:500,p:0,size:"sm",style:{color:"var(--mantine-color-on-sub-navbar-0)"},children:[i==null?void 0:i.my_store,":"]}),(0,ct.jsxs)(ft,{"aria-label":l(),className:"store-select-link","data-testid":"store-select-link",variant:"transparent",onMouseEnter:e,onTouchStart:e,onClick:s,onKeyDown:s,children:[(d=a==null?void 0:a.store)==null?void 0:d.displayName,!((m=a==null?void 0:a.store)!=null&&m.displayName)&&(i==null?void 0:i.store_locator_select_store)]})]}),Boolean(c==null?void 0:c.length)&&(0,ct.jsx)(St,{className:"links",gap:"xs",style:{position:"relative",left:"8px"},children:c})]})})};var V_=E(M()),za=(0,V_.lazy)(()=>import("/build/_shared/SwiftlyMapSideOverlayV2-3HGZUH45.js")),k_=za;var Lo=E(x()),H_=()=>[...w_()],Wa=(0,Ei.forwardRef)(function(t,o){let r=He(),{app:{showSelectStoreDrawer:n},setShowStoreDrawer:i}=Z(),{isStoreLocatorModalLoaded:a,preload:s}=cc();return(0,Ei.useEffect)(()=>{if(!r)return;(async()=>
41{let p=new URLSearchParams(r.search),d=p.get("showStoreLocator");["lat","lng","miles"].some(u=>p.get(u))&&await s(),d==="true"&&(await s(),i(!0))})()},[r,s,i]),(0,Lo.jsxs)("div",{ref:o,className:"sub-nav-bar",children:[(0,Lo.jsx)(U_,{preloadStoreDrawer:s}),n||a?(0,Lo.jsx)(ne,{name:"SubNav-MapSideOverlayV2",children:(0,Lo.jsx)(za,{})}):null]})});Wa.displayName="SwiftlySubNavMenu";var yr=E(M());var je=E(M());var B_=E(M()),G_=(0,B_.lazy)(()=>import("/build/_shared/SwiftlyCategoryTree-MW4JNN6X.js").then(e=>({default:e.default})));var Ti=E(x()),Or=({categories:e,classPrefix:t,eventTrigger:o,hasSubCategories:r,hideToggleButton:n,icon:i,isCategoryTreeLoaded:a,label:s,preloadCategoryTree:c,title:l,titleLink:p})=>{let{setActiveMenu:d}=dc(),[m,u]=(0,je.useState)(null),[_,T]=(0,je.useState)(!1),S=(0,je.useRef)(null),[h,C]=(0,je.useState)(!1),N=(0,je.useCallback)(()=>{u(null),T(!_),d(_?"none":t)},[_,t,d,u]),f=()=>C(!0),y=()=>C(!1),w=(0,je.useMemo)(()=>(0,Ti.jsx)(Ic,{classPrefix:t,categoryTreeBtnRef:null,label:s,opened:_,icon:i,onClick:async()=>{await c(),T(!_)},onMouseEnter:async()=>await c(),onFocus:async()=>{f(),await c()},onBlur:y}),[t,s,_,i,c]);return a?(0,Ti.jsx)(ne,{name:"CategoryTree",fallback:w,children:(0,Ti.jsx)(G_,{categoryTreeBtnRef:S,handleToggleMenu:N,opened:_,setOpened:T,selectedCategoryIndex:m,setSelectedCategoryIndex:u,categories:e,classPrefix:t,hasSubCategories:r,hideToggleButton:n,icon:i!=null?i:"",label:s,title:l,titleLink:p,shouldRestoreFocus:h,eventTrigger:o},`${t}-categories-tree`)}):w},F_=Or;var Y_=E(M());var Si=E(x()),Lr=({activeMenu:e,buttonOnly:t=!1,data:o,disabled:r=!1,eventTrigger:n,onClick:i,toggle:a})=>{var m,u;let s=no(`(max-width: ${jr.DESKTOP_THRESHOLD})`),{isLoaded:c,preload:l}=mi(),p=!!((m=o==null?void 0:o.headerDropdown)!=null&&m.length),d=(0,Y_.useMemo)(()=>{var _;return p?((_=o.headerDropdown)==null?void 0:_.map(T=>{let{external:S,icon:h,id:C,link:N,title:f}=T!=null?T:{};return{title:f!=null?f:"",link:N!=null?N:"",external:S!=null?S:!1,icon:h,id:C}}))||[]:[]},[o,p]);return p?(0,Si.jsx)(ne,{name:"HeaderNav-CategoryTree",children:(0,Si.jsx)(F_,{categories:d!=null?d:[],icon:(u=o.icon)!=null?u:"",hideToggleButton:e!=="none",classPrefix:"parent-category",label:o==null?void 0:o.displayName,isCategoryTreeLoaded:c,preloadCategoryTree:l,hasSubCategories:!1,eventTrigger:n},`${o==null?void 0:o.displayName}-${o==null?void 0:o.id}`)}):(0,Si.jsx)(we,{disabled:r,className:s?"mobileLink":"link",data:o,onClick:s&&!i?a:i,tabIndex:0,buttonOnly:t,eventTrigger:n},`${o==null?void 0:o.displayName}-${o==null?void 0:o.id}`)};var fi=e=>(e==null?void 0:e.type)==="products"||(e==null?void 0:e.url)==="/categories"||(e==null?void 0:e.displayName)==="Products",K_=e=>(e==null?void 0:e.type)==="locations"||(e==null?void 0:e.displayName)==="Locations";var lt=E(x()),$a=e=>{let{auth:{authOIDCPingFeatureFlag:t,oidcLogin:o},loginRail:{loggedUserDisplayName:r,loginNavItems:n,top_nav_login_signup:i,user:a},nav:{activeMenu:s,categories:c,headerLeft:l,isCategoryTreeLoaded:p,preloadCategoryTree:d,product_category_menu_screen_title:m},shopNow:{checkHideStoreLink:u,getShopNowState:_,handleEcomShopNowClick:T,isShopNowBtnFn:S,logTelemetryShopNowClick:h}}=e,C=(0,yr.useMemo)(()=>l==null?void 0:l.map(f=>{var y,w;if(fi(f))return(0,lt.jsx)(Or,{hasSubCategories:!0,categories:c,classPrefix:"products",label:f==null?void 0:f.displayName,icon:(y=f.icon)!=null?y:"",isCategoryTreeLoaded:p,preloadCategoryTree:d,title:m||"Product Categories",titleLink:"/categories"},`desktop-categories-tree-${f==null?void 0:f.id}`);{let A=S(f),k=u(f),P=(w=_(f))!=null?w:{},v=k?T:void 0,R=P.url===""&&!v;return(0,lt.jsx)(Lr,{activeMenu:s,data:P,disabled:R,onClick:v,buttonOnly:k,eventTrigger:A&&!k?h:void 0},`desktop-nav-item-${f==null?void 0:f.id}`)}}),[s,c,u,_,T,l,p,S,h,d,m]),N=(0,yr.useMemo)(()=>n.map(f=>a.isLoggedIn&&(f==null?void 0:f.url)==="/account"?(a==null?void 0:a.phone)===Zr.phone&&!t?(0,lt.jsx)(Yr,{h:30,w:70},`desktop-skeleton-account-${f==null?void 0:f.id}`):(0,lt.jsxs)(yr.Fragment,{children:[(0,lt.jsx)(we,{buttonAriaLabel:`${r} account, select for more details`,className:"link",data:{...f,dis
41playName:r}},`desktop-account-nav-${f==null?void 0:f.id}`),(0,lt.jsx)(en,{isNotVisible:!0})]},`desktop-account-fragment-${f==null?void 0:f.id}`):!a.isLoggedIn&&(f==null?void 0:f.url)==="/login"?(0,lt.jsx)(we,{buttonAriaLabel:"Select to sign in or sign up",className:"link",buttonOnly:t,data:{...f,displayName:i||f.displayName,url:t?"":"/login"},onClick:t?async y=>await o(y):void 0},`desktop-login-nav-${f==null?void 0:f.id}`):null),[t,r,n,o,i,a.isLoggedIn,a==null?void 0:a.phone]);return{left:C,right:N}};var se=E(M()),ja=e=>{let{clientNotificationLayoutUnlocked:t,hasVisibleNotificationBars:o,notificationRevealHeightPx:r,notificationStackMeasureRef:n,setLayoutHeaderHeightPx:i,smartBanner:a}=e,s=(0,se.useRef)(null),c=(0,se.useRef)(null),l=(0,se.useRef)(null),p=(0,se.useRef)(null),d=(0,se.useCallback)(()=>{if(!c.current)return;let S=0;s.current&&(S=Math.ceil(s.current.getBoundingClientRect().height));let h=Math.ceil(c.current.getBoundingClientRect().height),C=l.current?Math.ceil(l.current.getBoundingClientRect().height):0,y=S+h+C+(t?r:0);p.current!==y&&(p.current=y,i(y))},[t,r,i]),m=(0,se.useRef)(d);(0,se.useEffect)(()=>{m.current=d},[d]);let u=(0,se.useRef)(null),_=(0,se.useRef)(new WeakSet),T=(0,se.useCallback)(()=>{let S=u.current;if(!S)return;[s,c,l,n].forEach(C=>{let N=C.current;!N||_.current.has(N)||(_.current.add(N),S.observe(N))})},[n]);return(0,se.useEffect)(()=>{let S=0,h=()=>{S||(S=requestAnimationFrame(()=>{S=0,m.current()}))};m.current();let C=new ResizeObserver(h);return u.current=C,T(),window.addEventListener("resize",h),()=>{S&&cancelAnimationFrame(S),C.disconnect(),u.current=null,_.current=new WeakSet,window.removeEventListener("resize",h)}},[T]),(0,se.useEffect)(()=>{T(),d()},[T,d,o,a,t,r]),(0,se.useEffect)(()=>()=>{p.current=null,i(null)},[i]),{smartBannerMeasureRef:s,headerMainChromeRef:c,headerSubNavChromeRef:l}};var pt=E(M());function z_(e){var t;return e?(t=e.notificationBars)!=null?t:[]:[]}function W_(e,t){var i;if(!((i=e.message)!=null?i:"").trim())return!1;let r=e.id;return!(t!=null?t:[]).includes(r)}var qa=e=>{let{clientNotificationLayoutUnlocked:t,dismissedBanners:o,rootPageData:r}=e,n=(0,pt.useMemo)(()=>z_(r!=null?r:null).filter(p=>W_(p,o)),[r,o]),i=n.length>0,[a,s]=(0,pt.useState)(0),c=(0,pt.useRef)(!1),l=(0,pt.useRef)(null);return(0,pt.useEffect)(()=>{if(!t||!i){s(0),c.current=!1;return}let p=l.current,d=p?Math.ceil(p.scrollHeight):0;if(d===0){s(0);return}let m=0,u=0;return c.current?s(d):(c.current=!0,s(0),m=requestAnimationFrame(()=>{u=requestAnimationFrame(()=>{s(d)})})),()=>{cancelAnimationFrame(m),cancelAnimationFrame(u)}},[t,i,n]),{visibleNotificationBars:n,hasVisibleNotificationBars:i,notificationRevealHeightPx:a,notificationStackMeasureRef:l}};var yo=E(M()),kS=50;function Xa(e){let[t,o]=(0,yo.useState)(!1),r=(0,yo.useCallback)(()=>{o(window.scrollY>kS)},[]);return(0,yo.useEffect)(()=>{if(e)return window.addEventListener("scroll",r,{passive:!0}),r(),()=>window.removeEventListener("scroll",r)},[e,r]),t}var Jt=E(M());var Za=e=>{var i;let[t,o]=(0,Jt.useState)(void 0),[r,n]=(0,Jt.useState)();return(0,Jt.useEffect)(()=>{(async()=>{let s=await Us();o(s)})()},[]),(0,Jt.useEffect)(()=>{var c;let a=(c=t==null?void 0:t.attributes)==null?void 0:c.selectedStore;if(!a)return;(async()=>{let l=await ac(a);l&&n(l)})()},[(i=t==null?void 0:t.attributes)==null?void 0:i.selectedStore]),(0,Jt.useEffect)(()=>{if(!t)return;let a=t.attributes;e({...a,...r?{store:r}:{}})},[t,r,e]),{storeDetails:r}};var Q_=E(M());var $_=E(M()),HS=(0,$_.lazy)(()=>import("/build/_shared/SwiftlyLoyaltyMenuCard-GDJJJG2W.js")),j_=HS;var Ai=E(M()),q_=(0,Ai.createContext)(null),X_=q_.Provider;function Z_(){let e=(0,Ai.useContext)(q_);if(!e)throw new Error("useSwiftlyHeaderMobileDrawer must be used within SwiftlyHeaderMobileDrawerProvider");return e}var ee=E(x()),J_=()=>{var w;let{activeMenu:e,authOIDCPingFeatureFlag:t,categories:o,checkHideStoreLink:r,drawerToggle:n,getShopNowState:i,handleEcomShopNowClick:a,headerLeft:s,headerRight:c,isCategoryTreeLoaded:l,isShopNowBtnFn:p,loadedResolutions:d,logTelemetryShopNowClick:m,loginNavItems:u,oidcLogin:_,preloadCategoryTree:T,product_category_menu_screen_title:S,setShowStoreDrawer:h,toggle:C,useAlternateLoyaltyId:N,user:f}=Z_();if(!(d!=null&&d.includes("mobile")))return null;let y=ks(f,N);return(0,ee.jsxs)(ee.Fragment,{children:[f.isLoggedIn&&(0,ee.jsxs)(ne,{name:"MobileDrawer
41-AccountMenu",fallback:(0,ee.jsx)("div",{children:"Loading user menu..."}),children:[(0,ee.jsx)(R_,{drawerToggle:n,user:f}),(0,ee.jsx)(j_,{loyaltyId:y})]}),u.map(A=>(0,ee.jsx)(Q_.Fragment,{children:!f.isLoggedIn&&(A==null?void 0:A.url)==="/login"&&(0,ee.jsx)(we,{className:"mobileLink",data:{...A,url:t?"":"/login"},buttonOnly:t,tabIndex:0,onClick:t?async k=>{await _(k),C()}:()=>{C()}},`mobile-login-nav-${A.id}`)},`mobile-login-fragment-${A==null?void 0:A.id}`)),e==="none"&&(0,ee.jsx)(Bt,{"data-testid":"menu-divider-account-to-left-items",my:"0.5rem",variant:"dashed"}),s==null?void 0:s.map(A=>{var P,v,R;let k=p(A);if(fi(A))return(0,ee.jsx)(ne,{name:"MobileDrawer-CategoryTree",fallback:(0,ee.jsx)(Yr,{height:32,radius:"md"},A==null?void 0:A.id),children:(0,ee.jsx)(Or,{categories:o,icon:(P=A.icon)!=null?P:"",hideToggleButton:e!=="none",classPrefix:"products",label:A==null?void 0:A.displayName,isCategoryTreeLoaded:l,preloadCategoryTree:T,hasSubCategories:!0,title:S||"Product Categories",titleLink:"/categories"},`mobile-category-tree-${A==null?void 0:A.id}`)},`mobile-category-tree-${A==null?void 0:A.id}-container`);if(k){let O=r(A),I=(v=i(A))!=null?v:{},D=O?a:void 0,Y=I.url===""&&!D;return(0,ee.jsx)(Lr,{activeMenu:e,data:I,disabled:Y,onClick:D,buttonOnly:O,eventTrigger:O?void 0:m},`mobile-nav-item-${A==null?void 0:A.id}`)}else{let O=!((R=A==null?void 0:A.headerDropdown)!=null&&R.length);return e!=="none"&&O?null:(0,ee.jsx)(Lr,{activeMenu:e,data:A,toggle:n},`mobile-header-nav-${A==null?void 0:A.id}`)}}),e==="none"&&((w=c==null?void 0:c.length)!=null?w:0)>0&&(0,ee.jsx)(Bt,{"data-testid":"menu-divider-left-items-to-right-items",my:"0.5rem",variant:"dashed"}),e==="none"&&(c==null?void 0:c.map(A=>K_(A)?(0,ee.jsx)(we,{className:"mobileLink",data:A,tabIndex:0,buttonOnly:!0,onClick:()=>h(!0)},`mobile-location-nav-${A.id}`):(0,ee.jsx)(we,{className:"mobileLink",data:A,tabIndex:0,onClick:n},`mobile-nav-${A.id}`)))]})};var gi=E(x()),em=e=>{let{clientNotificationLayoutUnlocked:t,notificationRevealHeightPx:o,notificationStackMeasureRef:r,visibleNotificationBars:n}=e.model;return t?(0,gi.jsx)("div",{className:"notification-bar-reveal",style:{height:o},children:(0,gi.jsx)(gt,{ref:r,gap:0,children:n.map((i,a)=>{var s;return(0,gi.jsx)(L_,{notificationBar:i},`${String((s=i.id)!=null?s:"notification-bar")}-${a}`)})})}):null};var Pr=E(x()),tm=()=>(0,Pr.jsxs)("div",{className:"skip-to-content-links",children:[(0,Pr.jsx)(Io,{className:"skip-to-content",to:"#main",onClick:()=>{var e;(e=document.getElementById("main"))==null||e.focus()},tabIndex:0,children:"Skip to main content"}),(0,Pr.jsx)(Io,{className:"skip-to-content",to:"#footer",onClick:()=>{var e;(e=document.getElementById("footer"))==null||e.focus()},tabIndex:0,children:"Skip to footer"})]});var X=E(x()),om=()=>[...I_(),...Dc(),...H_(),...O_(),...b_(),...Oo(),...ui()],rm=({taxonomies:e=[]})=>{var os,rs;let{app:t,clientNotificationLayoutUnlocked:o,publicEnvs:r,rootPageData:n,setLayoutHeaderHeightPx:i,setShowStoreDrawer:a,smartBanner:s}=Z(),{headerData:c,siteLogos:l}=n||{},{headerLeft:p,headerRight:d}=c||{},{dismissedBanners:m}=t,{hasVisibleNotificationBars:u,notificationRevealHeightPx:_,notificationStackMeasureRef:T,visibleNotificationBars:S}=qa({clientNotificationLayoutUnlocked:o,dismissedBanners:m,rootPageData:n}),{headerMainChromeRef:h,headerSubNavChromeRef:C,smartBannerMeasureRef:N}=ja({clientNotificationLayoutUnlocked:o,hasVisibleNotificationBars:u,notificationRevealHeightPx:_,notificationStackMeasureRef:T,setLayoutHeaderHeightPx:i,smartBanner:s}),f=!!(r!=null&&r.navLogoHeight),y=Xa(f),{setUserDetails:w,user:A}=Re(),{storeDetails:k}=Za(w),P=Be(),{product_category_menu_screen_title:v,top_nav_login_signup:R}=P||{},{authOIDCPing:O,loginFeatureFlag:I}=Ft(),{activeMenu:D,onEscapeCallbackOverride:Y,setActiveMenu:j,setOnEscapeCallbackOverride:ke}=_c(),[eo,{toggle:_t}]=Es(!1),[bo,Ir]=(0,me.useState)(["none"]),mt=no("(min-width: 1280px)"),[Dr,wr]=(0,me.useState)(!1),{oidcLogin:to}=Qr(),{preload:kt}=x_(),{isLoaded:oo,preload:Ze}=mi(),{preload:ro}=wc();(0,me.useEffect)(()=>{mt!==void 0&&Ir(Vr=>{let Et=[...Vr];return mt&&!Et.includes("desktop")&&Et.push("desktop"),!mt&&!Et.includes("mobile")&&Et.push("mobile"),Et.filter(Pm=>Pm!=="none")}),!mt&&D!=="none"&&j("none")},[mt]),(0,me.useEffect)(()=>{Ze(),ro()},[Ze,ro]),(0,me.useEffect)(()=>{wr(sc())},[]);let Ri=(0,me.useMemo)(()=>I?[{displayName:"Sign in / Sign up",icon:"IconUserCircle",id:"1",url:"/login",external:!1},{displayName:"Profile",icon:"IconUserCircle",id:"2",url:"/account",external:!1}]:[],[I]),Om=(0,me.useMemo)(()=>
41{if(!A.isLoggedIn)return"";let Vr=A.givenName||Zr.givenName,Et=A.surName?` ${A.surName}`:"";return!Et&&!Vr?"Your Account":`${Vr}${Et}`},[A.isLoggedIn,A.givenName,A.surName]),{checkHideStoreLink:Ni,getShopNowState:xi,handleEcomShopNowClick:Mi,isShopNowBtnFn:Oi,logTelemetryShopNowClick:Li}=g_(k),Ur=(0,me.useCallback)(async()=>{A.isLoggedIn&&await kt(),_t(),j("none")},[_t,j,kt,A.isLoggedIn]),yi=(0,me.useCallback)(()=>{kt(),Ze()},[Ze,kt]),Lm=(0,me.useMemo)(()=>({clientNotificationLayoutUnlocked:o,notificationRevealHeightPx:_,notificationStackMeasureRef:T,visibleNotificationBars:S}),[o,_,T,S]),ym=(0,me.useMemo)(()=>({loadedResolutions:bo,user:A,useAlternateLoyaltyId:r==null?void 0:r.useAlternateLoyaltyId,drawerToggle:Ur,loginNavItems:Ri,activeMenu:D,headerLeft:p,headerRight:d,authOIDCPingFeatureFlag:O,toggle:_t,oidcLogin:to,isShopNowBtnFn:Oi,categories:e,isCategoryTreeLoaded:oo,preloadCategoryTree:Ze,product_category_menu_screen_title:v,checkHideStoreLink:Ni,getShopNowState:xi,handleEcomShopNowClick:Mi,setShowStoreDrawer:a,logTelemetryShopNowClick:Li}),[bo,A,r==null?void 0:r.useAlternateLoyaltyId,Ur,Ri,D,p,d,O,_t,to,Oi,e,oo,Ze,v,Ni,xi,Mi,a,Li]),Qe=$a({auth:{authOIDCPingFeatureFlag:O,oidcLogin:to},loginRail:{loggedUserDisplayName:Om,loginNavItems:Ri,top_nav_login_signup:R,user:A},nav:{activeMenu:D,categories:e,headerLeft:p,isCategoryTreeLoaded:oo,preloadCategoryTree:Ze,product_category_menu_screen_title:v},shopNow:{checkHideStoreLink:Ni,getShopNowState:xi,handleEcomShopNowClick:Mi,isShopNowBtnFn:Oi,logTelemetryShopNowClick:Li}});return(0,X.jsxs)("nav",{className:`header${y?" header-collapsed":""}`,children:[(0,X.jsx)(tm,{}),(0,X.jsxs)("div",{"data-testid":"header-layout-root",children:[s?(0,X.jsx)(Ka,{ref:N}):null,(0,X.jsx)(em,{model:Lm}),(0,X.jsxs)(st,{ref:h,className:"inner main-header",children:[(0,X.jsxs)(oe,{align:"center",className:Qe!=null&&Qe.right?"has-right-section":"has-more-menu-icon",direction:"row",gap:"md",justify:"flex-start",style:{flex:1},children:[(0,X.jsx)(St,{children:(0,X.jsx)(so,{ariaLabel:"Link to homepage",bold:!0,className:"header-logo-link",to:"/",withText:!0,children:(0,X.jsx)(At,{alt:((rs=(os=l==null?void 0:l.Header_Logo.data)==null?void 0:os.attributes)==null?void 0:rs.alternativeText)||"Logo",className:"logo",srcSet:yc(n,A==null?void 0:A.store),loading:"eager",role:"presentation"})})}),(0,X.jsx)(St,{className:"links left-menu desktop-menu-items",gap:"xs",children:Qe==null?void 0:Qe.left}),(0,X.jsx)(D_,{}),(0,X.jsx)(St,{className:"links desktop-menu-items",gap:"xs",children:Qe==null?void 0:Qe.right})]}),(0,X.jsx)(gs,{className:"burger",color:"var(--mantine-color-accents-primary-light-color)",opened:eo,size:"sm",tabIndex:0,title:"Menu Toggle : Click to open/close",onClick:()=>{Ur(),yi()},onMouseEnter:yi,onFocus:yi}),(0,X.jsx)(uc.Provider,{value:{opened:eo,toggle:_t,onEscapeCallbackOverride:Y,setOnEscapeCallbackOverride:ke,activeMenu:D,setActiveMenu:j},children:(0,X.jsx)(Cs,{autoFocus:!0,"data-autofocus":!0,"aria-label":"Mobile Menu",className:"navDrawer mobile-menu-items",closeButtonProps:{tabIndex:0,autoFocus:!0},closeOnEscape:!0,keepMounted:!Dr,opened:eo,padding:"xs",position:"right",size:"xs",title:"Menu",transitionProps:{transition:"slide-left",duration:150,timingFunction:"linear"},onClose:()=>{Y===null?Ur():Y&&Y()},children:(0,X.jsx)(X_,{value:ym,children:(0,X.jsx)(J_,{})})})}),A.isLoggedIn&&(0,X.jsx)(en,{isNotVisible:!0})]}),(0,X.jsx)(Wa,{ref:C})]})]})};var nm=E(M()),im=(0,nm.lazy)(()=>import("/build/_shared/SwiftlyLoginRequestModal-NTQVLAUS.js"));var am=E(M()),sm=(0,am.lazy)(()=>import("/build/_shared/SwiftlyUserWaitModal-VMQ6EVEB.js"));var mm=E(M());var ye=E(M());var ut=E(M());var te=E(x()),BS=e=>(0,te.jsxs)("svg",{className:"ccpa-opt-out-icon",width:"30",height:"14",viewBox:"0 0 30 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,te.jsx)("path",{d:"M14.2 13.3002H14.5839L14.683 12.9293L17.783 1.32929L17.9511 0.700195H17.3H7.39998C3.92383 0.700195 1.09998 3.52405 1.09998 7.0002C1.09998 10.4763 3.92383 13.3002 7.39998 13.3002H14.2Z",className:"st0"}),(0,te.jsx)("path",{d:"M16.7831 1.32909L16.9512 0.7H16.3H7.40002C3.92388 0.7 1.10002 3.52386 1.10002 7C1.10002 10.4761 3.92388 13.3 7.40002 13.3H13.2H13.584L13.6831 12.9291L16.7831 1.32909ZM7.40002 0.5H22.6C26.1285 0.5 29.1 3.38078 29.1 7C29.1 10.6239 26.2239 13.5 22.6 13.5H7.40002C3.77617 13.5 0.900024 10.6239 0.900024 7C0.900024 3.37614 3.77617 0.5 7.40002 0.5Z",className:"st1"}),(0,te.jsx)("path",{d:"M24.6001 4.0001C24.8001 4.2001 24.8001 4.6001 24.6001 4.8001L22.5001 7.0001L24.7001 9.2001C24.9001 9.4001 24.9001 9.8001 24.7001 10.0001C24.5001 10.2001 24.1001 10.2001 23.9001 10.0001L21.7001 7.8001L19.5001 10.0001C19.3001 10.2001 18.9001 10.2001 18.7001 10.0001C18.5001 9.8001 18.5001 9.4001 18.7001 9.2001L20.8001 7.0001L18.6001 4.8001C18.4001 4.6001 18.4001 4.2001 18.6001 4.0001C18.8001 3.8001 19.2001 3.8001 19.4001 4.0001L21.6001 6.2001L23.8001 4.0001C24.0001 3.8001 24.4001 3.8001 24.6001 4.0001Z",className:"st2"}),(0,te.jsx)("path",{d:"M12.7 4.1002C12.9 4.3002 13 4.7002 12.8 4.9002L8.6 9.8002C8.5 9.9002 8.4 10.0002 8.3 10.0002C8.1 10.1002 7.8 10.1002 7.6 9.9002L5.4 7.7002C5.2 7.5002 5.2 7.
411002 5.4 6.9002C5.6 6.7002 6 6.7002 6.2 6.9002L8 8.6002L11.8 4.1002C12 3.9002 12.4 3.9002 12.7 4.1002Z",className:"st3"})]}),br=({useAlternateIcon:e,...t})=>e?(0,te.jsx)(BS,{...t}):(0,te.jsx)("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 32 15",xmlSpace:"preserve",className:"ccpa-opt-out-icon",...t,children:(0,te.jsxs)("g",{children:[(0,te.jsx)("g",{id:"final---dec.11-2020_1_",children:(0,te.jsx)("g",{id:"_x30_208-our-toggle_2_",transform:"translate(-1275.000000, -200.000000)",children:(0,te.jsx)("g",{id:"Final-Copy-2_2_",transform:"translate(1275.000000, 200.000000)",children:(0,te.jsx)("path",{className:"st0",fill:"#FFFFFF",d:"M7.4,12.8h6.8l3.1-11.6H7.4C4.2,1.2,1.6,3.8,1.6,7S4.2,12.8,7.4,12.8z"})})})}),(0,te.jsx)("g",{id:"final---dec.11-2020",children:(0,te.jsx)("g",{id:"_x30_208-our-toggle",transform:"translate(-1275.000000, -200.000000)",children:(0,te.jsxs)("g",{id:"Final-Copy-2",transform:"translate(1275.000000, 200.000000)",children:[(0,te.jsx)("path",{className:"st1",fill:"#0066FF",d:`M22.6,0H7.4c-3.9,0-7,3.1-7,7s3.1,7,7,7h15.2c3.9,0,7-3.1,7-7S26.4,0,22.6,0z M1.6,7c0-3.2,2.6-5.8,5.8-5.8
42                   h9.9l-3.1,11.6H7.4C4.2,12.8,1.6,10.2,1.6,7z`}),(0,te.jsx)("path",{id:"x",className:"st2",fill:"#FFFFFF",d:`M24.6,4c0.2,0.2,0.2,0.6,0,0.8l0,0L22.5,7l2.2,2.2c0.2,0.2,0.2,0.6,0,0.8c-0.2,0.2-0.6,0.2-0.8,0
43                   l0,0l-2.2-2.2L19.5,10c-0.2,0.2-0.6,0.2-0.8,0c-0.2-0.2-0.2-0.6,0-0.8l0,0L20.8,7l-2.2-2.2c-0.2-0.2-0.2-0.6,0-0.8
44                   c0.2-0.2,0.6-0.2,0.8,0l0,0l2.2,2.2L23.8,4C24,3.8,24.4,3.8,24.6,4z`}),(0,te.jsx)("path",{id:"y",className:"st3",fill:"#0066FF",d:`M12.7,4.1c0.2,0.2,0.3,0.6,0.1,0.8l0,0L8.6,9.8C8.5,9.9,8.4,10,8.3,10c-0.2,0.1-0.5,0.1-0.7-0.1l0,0
45                   L5.4,7.7c-0.2-0.2-0.2-0.6,0-0.8c0.2-0.2,0.6-0.2,0.8,0l0,0L8,8.6l3.8-4.5C12,3.9,12.4,3.9,12.7,4.1z`})]})})})]})});var Ce=E(x()),GS=({cookieProviderObj:e})=>{let t=(0,ut.useMemo)(()=>(e==null?void 0:e.type)==="SECURITI",[e]),o=(0,ut.useMemo)(()=>(e==null?void 0:e.type)==="ONE_TRUST",[e]),r=(0,ut.useMemo)(()=>(e==null?void 0:e.type)==="TRUST_ARC",[e]),n=(0,ut.useMemo)(()=>(e==null?void 0:e.type)==="DIDOMI",[e]),i=(0,ut.useMemo)(()=>(e==null?void 0:e.footer_config_svg_negative_icon)==="TRUE",[e]),a=(0,ut.useMemo)(()=>(e==null?void 0:e.footer_config_disable_svg_fill)==="TRUE"?" no-svg-fill":"",[e]);return(0,Ce.jsxs)(Ce.Fragment,{children:[t?(0,Ce.jsxs)("button",{className:`footer-cookie-button cmp-revoke-consent${a}`,"aria-label":"(CCPA) Cookie settings",children:[(e==null?void 0:e.footer_config_text_override)||"Your Privacy Choices",(0,Ce.jsx)(br,{useAlternateIcon:i})]}):null,o?(0,Ce.jsxs)("button",{id:"ot-sdk-btn",className:`footer-cookie-button ot-sdk-show-settings${a}`,"aria-label":"(CCPA) Cookie settings",children:[(e==null?void 0:e.footer_config_text_override)||"Cookie Settings",(0,Ce.jsx)(br,{useAlternateIcon:i})]}):null,r?(0,Ce.jsxs)("button",{className:`footer-cookie-button${a}`,id:"teconsent",children:[(e==null?void 0:e.footer_config_text_override)||"Cookie Preferences",(0,Ce.jsx)(br,{})]}):null,n?(0,Ce.jsxs)("button",{className:`footer-cookie-button${a}`,onClick:()=>{var c;let s=window.Didomi||window.didomi;s&&typeof((c=s.preferences)==null?void 0:c.show)=="function"?s.preferences.show():console.warn("Didomi SDK not loaded or preferences.show not available")},"aria-label":"(CCPA) Cookie settings",children:[(e==null?void 0:e.footer_config_text_override)||"Consent choices",(0,Ce.jsx)(br,{useAlternateIcon:i})]}):null]})},cm=ut.default.memo(GS);var hi=E(M());var Po=E(x()),FS=e=>(0,Po.jsxs)("svg",{fill:"none",height:"14",viewBox:"0 0 14 14",width:"14",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,Po.jsx)("path",{d:"M7.58325 6.41615L12.3666 1.63281",stroke:e.color||"#25262b",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,Po.jsx)("path",{d:"M12.8334 3.96602V1.16602H10.0334",stroke:e.color||"#25262b",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,Po.jsx)("path",{d:"M6.41675 1.16602H5.25008C2.33341 1.16602 1.16675 2.33268 1.16675 5.24935V8.74935C1.16675 11.666 2.33341 12.8327 5.25008 12.8327H8.75008C11.6667 12.8327 12.8334 11.666 12.8334 8.74935V7.58268",stroke:e.color||"#25262b",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})]}),lm=FS;var Ue=E(x()),Qa=e=>{let{isMobile:t,links:o,optionalContentAtEnd:r,title:n}=e,i=(0,hi.useCallback)(s=>
45{let{external:c,id:l,linkText:p,openInNewTab:d,path:m}=s||{};return(0,Ue.jsxs)(W,{className:"footer-link",component:"p",p:0,children:[(0,Ue.jsx)(so,{tabIndex:0,withText:!0,className:"footer-link-text",ariaLabel:p,href:d&&m||"",to:!d&&m||"",reloadDocument:c||!1,children:p||""}),d&&(0,Ue.jsx)(lm,{color:"var(--mantine-color-footer-action-on-surface-0)",role:"presentation"})]},l)},[]),a=(0,hi.useMemo)(()=>(o==null?void 0:o.map(s=>s&&i(s)).filter(Boolean))||[],[o,i]);return(0,Ue.jsxs)("div",{className:"footer-section sectionContainer",children:[!t&&n&&(0,Ue.jsxs)(Ue.Fragment,{children:[(0,Ue.jsx)("h3",{className:"sectionTitleText",children:n}),(0,Ue.jsx)(Bt,{className:"section-title-divider",labelPosition:"left",size:"md"})]}),a,r||null]})};var re=E(x()),pm=e=>{let{footerSections:t,isMobile:o}=e,[r,n]=(0,ye.useState)(null),i=(0,ye.useCallback)(m=>{n(u=>u===m?null:m)},[]),a=(0,ye.useMemo)(()=>qr(e.cookieProviderObj),[e.cookieProviderObj]),s=(0,ye.useMemo)(()=>(a==null?void 0:a.show_footer_config_btn)==="TRUE",[a]),c=1,l=(0,ye.useMemo)(()=>{let m=Number(a==null?void 0:a.footer_config_section_col_index);return isNaN(m)?c:m},[a]),p=(0,ye.useCallback)(({index:m})=>s&&l===m?(0,re.jsx)(cm,{cookieProviderObj:a}):null,[s,l,a]),d=(0,ye.useMemo)(()=>t==null?void 0:t.map(({links:m,title:u},_)=>{let T=u&&m&&m.length>0,S=o&&_<2;return(0,re.jsxs)(ye.Fragment,{children:[(0,re.jsx)(Uo.Col,{className:`footer-grid-item ${_===0?"first":""}`,span:o?12:3,children:T?o?(0,re.jsx)(wo,{chevron:r===u?(0,re.jsx)(bs,{className:"section-icon",size:"1rem"}):(0,re.jsx)(vs,{className:"section-icon",size:"1rem"}),value:r,onChange:()=>i(u),children:(0,re.jsxs)(wo.Item,{className:"acc-item","data-testid":u,value:u,children:[(0,re.jsx)(wo.Control,{pl:6,children:u}),(0,re.jsx)(wo.Panel,{children:(0,re.jsx)(Qa,{index:_,title:u,links:m,isMobile:!0,optionalContentAtEnd:p({links:m,title:u,index:_})})})]})},u):(0,re.jsx)(Qa,{index:_,title:u,isMobile:!1,links:m,optionalContentAtEnd:p({links:m,title:u,index:_})}):null}),S?(0,re.jsx)(Bt,{variant:"dashed",w:"100%"}):null]},u)}),[t,o,r,p,i]);return(0,re.jsx)(re.Fragment,{children:d})};var um=E(M());var dt=E(x());function Ja(){return(0,dt.jsxs)("svg",{width:"128",height:"40",viewBox:"0 0 128 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,dt.jsx)("rect",{x:"0.5",y:"0.5",width:"127",height:"39",rx:"7.5",fill:"black"}),(0,dt.jsx)("rect",{x:"0.5",y:"0.5",width:"127",height:"39",rx:"7.5",stroke:"#DADADA"}),(0,dt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.7689 20.5806C24.7907 18.8841 25.6801 17.3171 27.1254 16.4285C26.2095 15.1204 24.7304 14.3208 23.1343 14.2709C21.455 14.0946 19.8271 15.2757 18.9714 15.2757C18.0991 15.2757 16.7816 14.2884 15.3629 14.3176C13.4962 14.3779 11.7981 15.4134 10.89 17.0454C8.95595 20.3938 10.3985 25.3149 12.2512 28.0215C13.1781 29.3469 14.2613 30.8273 15.6788 30.7748C17.0658 30.7173 17.5839 29.8903 19.2582 29.8903C20.9169 29.8903 21.403 30.7748 22.8492 30.7414C24.3376 30.7173 25.2753 29.4102 26.1697 28.0723C26.8357 27.1279 27.3481 26.0842 27.6881 24.9798C25.9204 24.2321 24.7709 22.5 24.7689 20.5806Z",fill:"white"}),(0,dt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.0372 12.4906C22.8487 11.5164 23.2485 10.2642 23.1517 9C21.9119 9.13022 20.7666 9.72278 19.9442 10.6596C19.132 11.5839 18.7205 12.7932 18.8004 14.021C20.0569 14.0339 21.2499 13.4699 22.0372 12.4906Z",fill:"white"}),(0,dt.jsx)("path",{d:"M40.557 13.78H41.979C42.075 13.78 42.195 13.774 42.339 13.762C42.483 13.744 42.636 13.708 42.798 13.654C42.96 13.594 43.119 13.51 43.275 13.402C43.437 13.294 43.581 13.147 43.707 12.961C43.833 12.775 43.935 12.544 44.013 12.268C44.097 11.986 44.139 11.647 44.139 11.251C44.139 10.867 44.1 10.525 44.022 10.225C43.95 9.919 43.827 9.661 43.653 9.451C43.485 9.235 43.266 9.073 42.996 8.965C42.726 8.851 42.393 8.794 41.997 8.794H40.557V13.78ZM39.702 8.074H41.907C42.897 8.074 43.659 8.326 44.193 8.83C44.727 9.334 44.994 10.102 44.994 11.134C44.994 11.674 44.934 12.154 44.814 12.574C44.694 12.988 44.508 13.339 44.256 13.627C44.004 13.909 43.683 14.125 43.293 14.275C42.903 14.425 42.441 14.5 41.907 14.5H39.702V8.074ZM46.6509 12.178C46.6509 12.46 46.6869 12.712 46.7589 12.934C46.8369 13.15 46.9419 13.333 47.0739 13.483C47.2059 13.627 47.3589 13.738 47.5329 13.816C47.7129 13.894 47.9019 13.933 48.0999 13.933C48.2979 13.933 48.4839 13.894 48.6579 13.816C48.8379 13.738 48.9939 13.627 49.1259 13.483C49.2579 13.333 49.3599 13.15 49.4319 12.934C49.5099 12.712 49.5489 12.46 49.5489 12.178C49.5489 11.896 49.5099 11.647 49.4319 11.431C49.3599 11.209 49.2579 11.023 49.1259 10.873C48.9939 10.723 48.8379 10.609 48.6579 10.531C48.4839 10.453 48.2979 10.414 48.0999 10.414C47.9019 10.414 47.7129 10.453 47.5329 10.531C47.3589 10.609 47.2059 10.723 47.0739 10.873C46.9419 11.023 46.8369 11.209 46.7589 11.431C46.6869 11.647 46.6509 11.896 46.6509 12.178ZM45.8409 12.178C45.8409 11.836 45.8889 11.518 45.9849 11.224C46.0809 10.924 46.2249 10.666 46.4169 
4510.45C46.6089 10.228 46.8459 10.054 47.1279 9.928C47.4099 9.802 47.7339 9.739 48.0999 9.739C48.4719 9.739 48.7959 9.802 49.0719 9.928C49.3539 10.054 49.5909 10.228 49.7829 10.45C49.9749 10.666 50.1189 10.924 50.2149 11.224C50.3109 11.518 50.3589 11.836 50.3589 12.178C50.3589 12.52 50.3109 12.838 50.2149 13.132C50.1189 13.426 49.9749 13.684 49.7829 13.906C49.5909 14.122 49.3539 14.293 49.0719 14.419C48.7959 14.539 48.4719 14.599 48.0999 14.599C47.7339 14.599 47.4099 14.539 47.1279 14.419C46.8459 14.293 46.6089 14.122 46.4169 13.906C46.2249 13.684 46.0809 13.426 45.9849 13.132C45.8889 12.838 45.8409 12.52 45.8409 12.178ZM56.0489 14.5H55.2389L54.2939 10.801H54.2759L53.3399 14.5H52.5119L51.0179 9.847H51.8639L52.9169 13.654H52.9349L53.8709 9.847H54.7079L55.6799 13.654H55.6979L56.7419 9.847H57.5339L56.0489 14.5ZM58.4412 9.847H59.1612V10.585H59.1792C59.4972 10.021 60.0012 9.739 60.6912 9.739C60.9972 9.739 61.2522 9.781 61.4562 9.865C61.6602 9.949 61.8252 10.066 61.9512 10.216C62.0772 10.366 62.1642 10.546 62.2122 10.756C62.2662 10.96 62.2932 11.188 62.2932 11.44V14.5H61.5282V11.35C61.5282 11.062 61.4442 10.834 61.2762 10.666C61.1082 10.498 60.8772 10.414 60.5832 10.414C60.3492 10.414 60.1452 10.45 59.9712 10.522C59.8032 10.594 59.6622 10.696 59.5482 10.828C59.4342 10.96 59.3472 11.116 59.2872 11.296C59.2332 11.47 59.2062 11.662 59.2062 11.872V14.5H58.4412V9.847ZM63.6672 8.074H64.4322V14.5H63.6672V8.074ZM66.3553 12.178C66.3553 12.46 66.3913 12.712 66.4633 12.934C66.5413 13.15 66.6463 13.333 66.7783 13.483C66.9103 13.627 67.0633 13.738 67.2373 13.816C67.4173 13.894 67.6063 13.933 67.8043 13.933C68.0023 13.933 68.1883 13.894 68.3623 13.816C68.5423 13.738 68.6983 13.627 68.8303 13.483C68.9623 13.333 69.0643 13.15 69.1363 12.934C69.2143 12.712 69.2533 12.46 69.2533 12.178C69.2533 11.896 69.2143 11.647 69.1363 11.431C69.0643 11.209 68.9623 11.023 68.8303 10.873C68.6983 10.723 68.5423 10.609 68.3623 10.531C68.1883 10.453 68.0023 10.414 67.8043 10.414C67.6063 10.414 67.4173 10.453 67.2373 10.531C67.0633 10.609 66.9103 10.723 66.7783 10.873C66.6463 11.023 66.5413 11.209 66.4633 11.431C66.3913 11.647 66.3553 11.896 66.3553 12.178ZM65.5453 12.178C65.5453 11.836 65.5933 11.518 65.6893 11.224C65.7853 10.924 65.9293 10.666 66.1213 10.45C66.3133 10.228 66.5503 10.054 66.8323 9.928C67.1143 9.802 67.4383 9.739 67.8043 9.739C68.1763 9.739 68.5003 9.802 68.7763 9.928C69.0583 10.054 69.2953 10.228 69.4873 10.45C69.6793 10.666 69.8233 10.924 69.9193 11.224C70.0153 11.518 70.0633 11.836 70.0633 12.178C70.0633 12.52 70.0153 12.838 69.9193 13.132C69.8233 13.426 69.6793 13.684 69.4873 13.906C69.2953 14.122 69.0583 14.293 68.7763 14.419C68.5003 14.539 68.1763 14.599 67.8043 14.599C67.4383 14.599 67.1143 14.539 66.8323 14.419C66.5503 14.293 66.3133 14.122 66.1213 13.906C65.9293 13.684 65.7853 13.426 65.6893 13.132C65.5933 12.838 65.5453 12.52 65.5453 12.178ZM75.2673 14.482C75.1353 14.56 74.9523 14.599 74.7183 14.599C74.5203 14.599 74.3613 14.545 74.2413 14.437C74.1273 14.323 74.0703 14.14 74.0703 13.888C73.8603 14.14 73.6143 14.323 73.3323 14.437C73.0563 14.545 72.7563 14.599 72.4323 14.599C72.2223 14.599 72.0213 14.575 71.8293 14.527C71.6433 14.479 71.4813 14.404 71.3433 14.302C71.2053 14.2 71.0943 14.068 71.0103 13.906C70.9323 13.738 70.8933 13.537 70.8933 13.303C70.8933 13.039 70.9383 12.823 71.0283 12.655C71.1183 12.487 71.2353 12.352 71.3793 12.25C71.5293 12.142 71.6973 12.061 71.8833 12.007C72.0753 11.953 72.2703 11.908 72.4683 11.872C72.6783 11.83 72.8763 11.8 73.0623 11.782C73.2543 11.758 73.4223 11.728 73.5663 11.692C73.7103 11.65 73.8243 11.593 73.9083 11.521C73.9923 11.443 74.0343 11.332 74.0343 11.188C74.0343 11.02 74.0013 10.885 73.9353 10.783C73.8753 10.681 73.7943 10.603 73.6923 10.549C73.5963 10.495 73.4853 10.459 73.3593 10.441C73.2393 10.423 73.1193 10.414 72.9993 10.414C72.6753 10.414 72.4053 10.477 72.1893 10.603C71.9733 10.723 71.8563 10.954 71.8383 11.296H71.0733C71.0853 11.008 71.1453 10.765 71.2533 10.567C71.3613 10.369 71.5053 10.21 71.6853 10.09C71.8653 9.964 72.0693 9.874 72.2973 9.82C72.5313 9.766 72.7803 9.739 73.0443 9.739C73.2543 9.739 73.4613 9.754 73.6653 9.784C73.8753 9.814 74.0643 9.877 74.2323 9.973C74.4003 10.063 74.5353 10.192 74.6373 10.36C74.7393 10.528 74.7903 10.747 74.7903 11.017V13.411C74.7903 13.591 74.7993 13.723 74.8173 13.807C74.8413 13.891 74.9133 13.933 75.0333 13.933C75.0993 13.933 75.1773 13.918 75.2673 13.888V14.482ZM74.0253 12.097C73.9293 12.169 73.8033 12.223 73.6473 12.259C73.4913 12.289 73.3263 12.316 73.1523 12.34C72.9843 12.358 72.8133 12.382 72.6393 12.412C72.4653 12.436 72.3093 12.478 72.1713 12.538C72.0333 12.598 71.9193 12.685 71.8293 12.799C71.7453 12.907 71.7033 13.057 71.7033 13.249C71.7033 13.375 71.7273 13.483 71.7753 13.573C71.8293 13.657 71.8953 13.726 71.9733 13.78C72.0573 13.834 72.1533 13.873 72.2613 13.897C72.3693 13.921 72.4833 13.933 72.6033 13.933C72.8553 13.933 73.0713 13.9 73.2513 13.834C73.4313 13.762 73.5783 13.675 73.6923 13.573C73.8063 13.465 73.8903 13.351 73.9443 13.231C73.9983 13.105 74.0253 12.988 74.0253 12.88V12.097ZM76.7172 12.214C76.7172 12.43 76.7442 12.643 76.7982 12.853C76.8582 13.057 76.9452 13.24 77.0592 13.402C77.1792 13.564 77.3292 13.693 77.5092 13.789C77.6952 13.885 77.9112 13.933 78.1572 13.933C78.4152 13.933 78.6342 13.882 78.8142 
4513.78C78.9942 13.678 79.1412 13.546 79.2552 13.384C79.3692 13.216 79.4502 13.027 79.4982 12.817C79.5522 12.607 79.5792 12.394 79.5792 12.178C79.5792 11.95 79.5522 11.731 79.4982 11.521C79.4442 11.305 79.3572 11.116 79.2372 10.954C79.1232 10.792 78.9732 10.663 78.7872 10.567C78.6012 10.465 78.3762 10.414 78.1122 10.414C77.8542 10.414 77.6352 10.465 77.4552 10.567C77.2752 10.669 77.1312 10.804 77.0232 10.972C76.9152 11.14 76.8372 11.332 76.7892 11.548C76.7412 11.764 76.7172 11.986 76.7172 12.214ZM80.3172 14.5H79.5522V13.87H79.5342C79.4082 14.128 79.2102 14.314 78.9402 14.428C78.6702 14.542 78.3732 14.599 78.0492 14.599C77.6892 14.599 77.3742 14.533 77.1042 14.401C76.8402 14.269 76.6182 14.092 76.4382 13.87C76.2642 13.648 76.1322 13.39 76.0422 13.096C75.9522 12.802 75.9072 12.49 75.9072 12.16C75.9072 11.83 75.9492 11.518 76.0332 11.224C76.1232 10.93 76.2552 10.675 76.4292 10.459C76.6092 10.237 76.8312 10.063 77.0952 9.937C77.3652 9.805 77.6772 9.739 78.0312 9.739C78.1512 9.739 78.2802 9.751 78.4182 9.775C78.5562 9.799 78.6942 9.841 78.8322 9.901C78.9702 9.955 79.0992 10.03 79.2192 10.126C79.3452 10.216 79.4502 10.33 79.5342 10.468H79.5522V8.074H80.3172V14.5ZM84.9171 12.178C84.9171 12.46 84.9531 12.712 85.0251 12.934C85.1031 13.15 85.2081 13.333 85.3401 13.483C85.4721 13.627 85.6251 13.738 85.7991 13.816C85.9791 13.894 86.1681 13.933 86.3661 13.933C86.5641 13.933 86.7501 13.894 86.9241 13.816C87.1041 13.738 87.2601 13.627 87.3921 13.483C87.5241 13.333 87.6261 13.15 87.6981 12.934C87.7761 12.712 87.8151 12.46 87.8151 12.178C87.8151 11.896 87.7761 11.647 87.6981 11.431C87.6261 11.209 87.5241 11.023 87.3921 10.873C87.2601 10.723 87.1041 10.609 86.9241 10.531C86.7501 10.453 86.5641 10.414 86.3661 10.414C86.1681 10.414 85.9791 10.453 85.7991 10.531C85.6251 10.609 85.4721 10.723 85.3401 10.873C85.2081 11.023 85.1031 11.209 85.0251 11.431C84.9531 11.647 84.9171 11.896 84.9171 12.178ZM84.1071 12.178C84.1071 11.836 84.1551 11.518 84.2511 11.224C84.3471 10.924 84.4911 10.666 84.6831 10.45C84.8751 10.228 85.1121 10.054 85.3941 9.928C85.6761 9.802 86.0001 9.739 86.3661 9.739C86.7381 9.739 87.0621 9.802 87.3381 9.928C87.6201 10.054 87.8571 10.228 88.0491 10.45C88.2411 10.666 88.3851 10.924 88.4811 11.224C88.5771 11.518 88.6251 11.836 88.6251 12.178C88.6251 12.52 88.5771 12.838 88.4811 13.132C88.3851 13.426 88.2411 13.684 88.0491 13.906C87.8571 14.122 87.6201 14.293 87.3381 14.419C87.0621 14.539 86.7381 14.599 86.3661 14.599C86.0001 14.599 85.6761 14.539 85.3941 14.419C85.1121 14.293 84.8751 14.122 84.6831 13.906C84.4911 13.684 84.3471 13.426 84.2511 13.132C84.1551 12.838 84.1071 12.52 84.1071 12.178ZM89.7071 9.847H90.4271V10.585H90.4451C90.7631 10.021 91.2671 9.739 91.9571 9.739C92.2631 9.739 92.5181 9.781 92.7221 9.865C92.9261 9.949 93.0911 10.066 93.2171 10.216C93.3431 10.366 93.4301 10.546 93.4781 10.756C93.5321 10.96 93.5591 11.188 93.5591 11.44V14.5H92.7941V11.35C92.7941 11.062 92.7101 10.834 92.5421 10.666C92.3741 10.498 92.1431 10.414 91.8491 10.414C91.6151 10.414 91.4111 10.45 91.2371 10.522C91.0691 10.594 90.9281 10.696 90.8141 10.828C90.7001 10.96 90.6131 11.116 90.5531 11.296C90.4991 11.47 90.4721 11.662 90.4721 11.872V14.5H89.7071V9.847ZM98.6349 9.847H99.5619V10.522H98.6349V13.411C98.6349 13.501 98.6409 13.573 98.6529 13.627C98.6709 13.681 98.7009 13.723 98.7429 13.753C98.7849 13.783 98.8419 13.804 98.9139 13.816C98.9919 13.822 99.0909 13.825 99.2109 13.825H99.5619V14.5H98.9769C98.7789 14.5 98.6079 14.488 98.4639 14.464C98.3259 14.434 98.2119 14.383 98.1219 14.311C98.0379 14.239 97.9749 14.137 97.9329 14.005C97.8909 13.873 97.8699 13.699 97.8699 13.483V10.522H97.0779V9.847H97.8699V8.452H98.6349V9.847ZM100.592 8.074H101.357V10.531H101.375C101.435 10.387 101.519 10.267 101.627 10.171C101.735 10.069 101.855 9.988 101.987 9.928C102.125 9.862 102.266 9.814 102.41 9.784C102.56 9.754 102.704 9.739 102.842 9.739C103.148 9.739 103.403 9.781 103.607 9.865C103.811 9.949 103.976 10.066 104.102 10.216C104.228 10.366 104.315 10.546 104.363 10.756C104.417 10.96 104.444 11.188 104.444 11.44V14.5H103.679V11.35C103.679 11.062 103.595 10.834 103.427 10.666C103.259 10.498 103.028 10.414 102.734 10.414C102.5 10.414 102.296 10.45 102.122 10.522C101.954 10.594 101.813 10.696 101.
45699 10.828C101.585 10.96 101.498 11.116 101.438 11.296C101.384 11.47 101.357 11.662 101.357 11.872V14.5H100.592V8.074ZM109.004 11.728C108.992 11.548 108.95 11.377 108.878 11.215C108.812 11.053 108.719 10.915 108.599 10.801C108.485 10.681 108.347 10.588 108.185 10.522C108.029 10.45 107.855 10.414 107.663 10.414C107.465 10.414 107.285 10.45 107.123 10.522C106.967 10.588 106.832 10.681 106.718 10.801C106.604 10.921 106.514 11.062 106.448 11.224C106.382 11.38 106.343 11.548 106.331 11.728H109.004ZM109.742 13.024C109.64 13.546 109.415 13.939 109.067 14.203C108.719 14.467 108.281 14.599 107.753 14.599C107.381 14.599 107.057 14.539 106.781 14.419C106.511 14.299 106.283 14.131 106.097 13.915C105.911 13.699 105.77 13.441 105.674 13.141C105.584 12.841 105.533 12.514 105.521 12.16C105.521 11.806 105.575 11.482 105.683 11.188C105.791 10.894 105.941 10.639 106.133 10.423C106.331 10.207 106.562 10.039 106.826 9.919C107.096 9.799 107.39 9.739 107.708 9.739C108.122 9.739 108.464 9.826 108.734 10C109.01 10.168 109.229 10.384 109.391 10.648C109.559 10.912 109.673 11.2 109.733 11.512C109.799 11.824 109.826 12.121 109.814 12.403H106.331C106.325 12.607 106.349 12.802 106.403 12.988C106.457 13.168 106.544 13.33 106.664 13.474C106.784 13.612 106.937 13.723 107.123 13.807C107.309 13.891 107.528 13.933 107.78 13.933C108.104 13.933 108.368 13.858 108.572 13.708C108.782 13.558 108.92 13.33 108.986 13.024H109.742Z",fill:"white"}),(0,dt.jsx)("path",{d:"M55.9199 21.9766C58.2177 21.9766 59.7324 23.793 59.7324 26.5987C59.7324 29.4122 58.2266 31.2198 55.9541 31.2198C54.7795 31.2812 53.6731 30.666 53.1055 29.6358H53.0625V34.1202H51.2041V22.0713H53.0029V23.5772H53.0371C53.6299 22.5534 54.7375 21.9385 55.9199 21.9766ZM65.8847 21.9766C68.1826 21.9766 69.6973 23.793 69.6973 26.5987C69.6973 29.4122 68.1914 31.2198 65.9189 31.2198C64.7443 31.2812 63.6379 30.666 63.0703 29.6358H63.0273V34.1202H61.1689V22.0713H62.9677V23.5772H63.0019C63.5947 22.5534 64.7023 21.9385 65.8847 21.9766ZM79.2266 18.5C81.8506 18.5 83.6494 19.9717 83.71 22.1143H81.834C81.7217 20.875 80.6972 20.127 79.2002 20.127C77.7031 20.127 76.6787 20.8838 76.6787 21.9854C76.6787 22.8633 77.333 23.3799 78.9336 23.7754L80.3017 24.1113C82.8496 24.7138 83.9082 25.7373 83.9082 27.5537C83.9082 29.8769 82.0576 31.332 79.1142 31.332C76.3603 31.332 74.501 29.9111 74.3808 27.665L76.2832 27.6651C76.4209 28.8965 77.6172 29.7051 79.2519 29.7051C80.8184 29.7051 81.9453 28.8965 81.9453 27.7861C81.9453 26.8223 81.2656 26.2451 79.6562 25.8496L78.0469 25.4619C75.7666 24.9111 74.708 23.8447 74.708 22.1143C74.708 19.9717 76.5752 18.5 79.2266 18.5ZM94.9317 21.96C97.5567 21.96 99.2266 23.75 99.2266 26.5987C99.2266 29.4551 97.5655 31.2374 94.9317 31.2374C92.2988 31.2374 90.6377 29.4551 90.6377 26.5987C90.6377 23.7501 92.3155 21.96 94.9317 21.96ZM109.98 21.96C112.485 21.96 114.061 23.6807 114.061 26.4258V27.0625H107.666V27.1749C107.606 27.8489 107.839 28.5161 108.3
4505 29.0067C108.771 29.4974 109.425 29.7642 110.102 29.7393C111.003 29.8238 111.854 29.3059 112.192 28.4659L113.957 28.4659C113.707 30.1094 112.106 31.2374 110.059 31.2374C107.425 31.2374 105.79 29.4727 105.79 26.6416C105.79 23.8018 107.434 21.96 109.98 21.96ZM87.9189 19.9288V22.0713H89.6406V23.543H87.9189V28.5342C87.9189 29.3096 88.2637 29.6709 89.0205 29.6709C89.2249 29.6674 89.429 29.653 89.6318 29.6279V31.0908C89.2916 31.1544 88.9457 31.1832 88.5996 31.1768C86.7666 31.1768 86.0518 30.4883 86.0518 28.7324V23.543H84.7354V22.0713H86.0517V19.9288H87.9189ZM45.5664 18.7071L50.0498 31.1251H48.0107L46.875 27.7686H42.1416L41.0049 31.1251H39L43.4834 18.7071H45.5664ZM104.752 21.9766C104.966 21.9759 105.18 21.9991 105.389 22.0459V23.7842C105.118 23.7016 104.836 23.6637 104.554 23.6719C104.007 23.6498 103.479 23.8675 103.106 24.268C102.734 24.6684 102.555 25.2116 102.617 25.7549V31.125H100.759V22.0713H102.531V23.6123H102.574C102.821 22.6203 103.73 21.9376 104.752 21.9766ZM94.9317 23.4913C93.4258 23.4913 92.5313 24.6534 92.5313 26.5987C92.5313 28.5606 93.4258 29.7051 94.9317 29.7051C96.4375 29.7051 97.333 28.5606 97.333 26.5987C97.333 24.6446 96.4375 23.4913 94.9317 23.4913ZM55.4297 23.5606C54.0098 23.5606 53.0547 24.7911 53.0547 26.5987C53.0547 28.4229 54.0098 29.6446 55.4297 29.6446C56.875 29.6446 57.8223 28.4483 57.8223 26.5987C57.8223 24.7657 56.875 23.5606 55.4297 23.5606ZM65.3945 23.5606C63.9746 23.5606 63.0195 24.7911 63.0195 26.5987C63.0195 28.4229 63.9746 29.6446 65.3945 29.6446C66.8398 29.6446 67.7871 28.4483 67.7871 26.5987C67.7871 24.7657 66.8398 23.5606 65.3945 23.5606ZM44.5342 20.7725H44.4825L42.6318 26.2198H46.3838L44.5342 20.7725ZM109.98 23.4659C109.369 23.4622 108.782 23.7029 108.349 24.1344C107.916 24.5659 107.673 25.1525 107.675 25.7637H112.201C112.235 25.1581 112.014 24.5658 111.593 24.1296C111.171 23.6934 110.587 23.4528 109.98 23.4659Z",fill:"white"})]})}var $=E(x());function es(){return(0,$.jsxs)("svg",{width:"128",height:"40",viewBox:"0 0 128 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,$.jsx)("rect",{x:"0.5",y:"0.5",width:"127",height:"39",rx:"7.5",fill:"black"}),(0,$.jsx)("rect",{x:"0.5",y:"0.5",width:"127",height:"39",rx:"7.5",stroke:"#DADADA"}),(0,$.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.43502 7.5471C8.14402 7.8551 7.97302 8.3321 7.97302 8.9511V31.0491C7.97302 31.6681 8.14402 32.1451 8.43502 32.4531L8.50902 32.5251L20.888 20.1461V19.8541L8.50902 7.4751L8.43502 7.5471Z",fill:"#00D7FE"}),(0,$.jsx)("path",{d:"M25.0131 24.2741L20.8881 20.1461V19.8541L25.0151 15.7271L29.9971 18.5571C31.3931 19.3511 31.3931 20.6491 29.9971 21.4421L25.1081 24.2201L25.0131 24.2741Z",fill:"white"}),(0,$.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.0131 24.2741L20.8881 20.1461V19.8541L25.0151 15.7271L29.9971 18.5571C31.3931 19.3511 31.3931 20.6491 29.9971 21.4421L25.1081 24.2201L25.0131 24.2741Z",fill:"url(#paint0_linear_google_play)"}),(0,$.jsx)("path",{d:"M25.1081 24.22L20.8881 20L8.43506 32.453C8.89606 32.94 9.65606 33 10.5121 32.514L25.1081 24.22Z",fill:"white"}),(0,$.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.1081 24.22L20.8881 20L8.43506 32.453C8.89606 32.94 9.65606 33 10.5121 32.514L25.1081 24.22Z",fill:"url(#paint1_linear_google_play)"}),(0,$.jsx)("path",{d:"M25.1081 15.7802L10.5121 7.48617C9.65606 7.00017 8.89606 7.06017 8.43506 7.54717L20.8881 20.0002L25.1081 15.7802Z",fill:"white"}),(0,$.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.1081 15.7802L10.5121 7.48617C9.65606 7.00017 8.89606 7.06017 8.43506 7.54717L20.8881 20.0002L25.1081 15.7802Z",fill:"url(#paint2_linear_google_play)"}),(0,$.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M102.894 30.953H104.76V18.452H102.894V30.953ZM119.701 22.955L117.562 28.375H117.498L115.278 22.955H113.268L116.597 30.53L114.699 34.744H116.646L121.776 22.955H119.701ZM109.119 29.533C108.507 29.533 107.655 29.228 107.655 28.472C107.655 27.507 108.717 27.137 109.633 27.137C110.454 27.137 110.839 27.314 111.338 27.555C111.193 28.713 110.196 29.533 109.119 29.533ZM109.344 22.682C107.993 22.682 106.594 23.277 106.015 24.596L107.671 25.287C108.025 24.596 108.684 24.37 109.376 24.37C110.341 24.37 111.322 24.949 111.338 25.979V26.107C111 25.914 110.277 25.625 109.392 25.625C107.607 25.625 105.789 26.606 105.789 28.439C105.789 30.112 107.253 31.19 108.893 31.19C110.148 31.19 110.839 30.627 111.274 29.967H111.338V30.932H113.139V26.14C113.139 23.92 111.483 22.682 109.344 22.682ZM97.812 24.477H95.158V20.192H97.812C99.207 20.192 99.999 21.347 99.999 22.334C99.999 23.303 99.207 24.477 97.812 24.477ZM97.764 18.452H93.293V30.953H95.158V26.217H97.764C99.832 26.217 101.865 24.719 101.865 22.334C101.865 19.949 99.832 18.452 97.764 18.452ZM73.383 29.535C72.094 29.535 71.015 28.456 71.015 26.974C71.015 25.476 72.094 24.38 73.383 24.38C74.656 24.38 75.654 25.476 75.654 26.974C75.654 28.456 74.656 29.535 73.383 29.535ZM75.525 23.655H75.461C75.042 23.156 74.237 22.705 73.222 22.705C71.095 22.705 69.146 24.573 69.146 26.974C69.146 29.358 71.095 31.211 73.222 31.211C74.237 31.211 75.042 30.76 75.461 30.244H75.525V30.856C75.525 32.484 74.656 33.354 73.254 33.354C72.11 33.354 71.401 32.532 71.111 31.839L69.484 32.516C69.951 33.644 71.192 35.029 73.254 35.029C75.445 35.029 77.298 33.74 77.298 30.599V22.962H75.525V23.655ZM78.587 30.953H80.456V18.451H78.587V30.953ZM83.21 26.829C83.162 25.186 84.483 24.348 85.433 24.348C86.175 24.348 86.803 24.718 87.012 25.25L83.21 26.829ZM89.01 25.411C88.656 24.461 87.576 22.705 85.369 22.705C83.178 22.705 81.358 24.428 81.358 26.958C81.358 29.342 83.162 31.211 85.578 31.211C87.528 31.211 88.656 30.019 89.123 29.326L87.673 28.359C87.19 29.068 86.529 29.535 85.578 29.535C84.628 29.535 83.951 29.1 83.516 28.247L89.203 25.895L89.01 25.411ZM43.702 24.01V25.814H48.019C47.89 26.829 47.552 27.57 47.037 28.086C46.408 28.714 45.425 29.406 43.702 29.406C41.044 29.406 38.965 27.264 38.965 24.606C38.965 21.947 41.044 19.805 43.702 19.805C45.136 19.805 46.183 20.369 46.956 21.094L48.229 19.821C47.149 18.79 45.716 18 43.702 18C40.061 18 37 20.965 37 24.606C37 28.247 40.061 31.211 43.702 31.211C45.667 31.211 47.149 30.567 48.309 29.358C49.501 28.166 49.872 26.491 49.872 25.137C49.872 24.718 49.84 24.332 49.775 24.01H43.702ZM54.781 29.535C53.492 29.535 52.38 28.472 52.38 26.958C52.38 25.427 53.492 24.38 54.781 24.38C56.069 24.38 57.181 25.427 57.181 26.958C57.181 28.472 56.069 29.535 54.781 29.535ZM54.781 22.705C52.428 22.705 50.511 24.493 50.511 26.958C50.511 29.406 52.428 31.211 54.781 31.211C57.133 31.211 59.05 29.406 59.05 26.958C59.05 24.493 57.133 22.705 54.781 22.705ZM64.094 29.535C62.805 29.535 61.693 28.472 61.693 26.958C61.693 25.427 62.805 24.38 64.094 24.38C65.383 24.38 66.494 25.427 66.494 26.958C66.494 28.472 65.383 29.535 64.094 29.535ZM64.094 22.705C61.742 22.705 59.825 24.493 59.825 26.958C59.825 29.406 61.742 31.211 64.094 31.211C66.446 31.211 68.363 29.406 68.363 26.958C68.363 24.493 66.446 22.705 64.094 22.705Z",fill:"white"}),(0,$.jsx)("path",{d:"M42.4712 10.814V13.1562C42.3921 13.2734 42.2661 13.4053 42.0933 13.5518C41.9204 13.6953 41.6816 13.8213 41.377 13.9297C41.0752 14.0352 40.6855 14.0879 40.208 14.0879C39.8184 14.0879 39.4595 14.0205 39.1313 13.8857C38.8062 13.748 38.5234 13.5488 38.2832 13.2881C38.0459 
4513.0244 37.8613 12.7051 37.7295 12.3301C37.6006 11.9521 37.5361 11.5244 37.5361 11.0469V10.5503C37.5361 10.0728 37.5918 9.64648 37.7031 9.27148C37.8174 8.89648 37.9844 8.57861 38.2041 8.31787C38.4238 8.0542 38.6934 7.85498 39.0127 7.72021C39.332 7.58252 39.6982 7.51367 40.1113 7.51367C40.6006 7.51367 41.0093 7.59863 41.3374 7.76855C41.6685 7.93555 41.9263 8.16699 42.1108 8.46289C42.2983 8.75879 42.4185 9.0957 42.4712 9.47363H41.623C41.585 9.24219 41.5088 9.03125 41.3945 8.84082C41.2832 8.65039 41.1235 8.49805 40.9155 8.38379C40.7075 8.2666 40.4395 8.20801 40.1113 8.20801C39.8154 8.20801 39.5591 8.26221 39.3423 8.37061C39.1255 8.479 38.9468 8.63428 38.8062 8.83643C38.6655 9.03857 38.5601 9.2832 38.4897 9.57031C38.4224 9.85742 38.3887 10.1812 38.3887 10.5415V11.0469C38.3887 11.416 38.4312 11.7456 38.5161 12.0356C38.604 12.3257 38.7285 12.5732 38.8896 12.7783C39.0508 12.9805 39.2427 13.1343 39.4653 13.2397C39.6909 13.3452 39.9399 13.3979 40.2124 13.3979C40.5142 13.3979 40.7588 13.373 40.9463 13.3232C41.1338 13.2705 41.2803 13.209 41.3857 13.1387C41.4912 13.0654 41.5718 12.9966 41.6274 12.9321V11.4995H40.1465V10.814H42.4712ZM47.6724 13.3101V14H44.2842V13.3101H47.6724ZM44.4556 7.60156V14H43.6074V7.60156H44.4556ZM47.2241 10.3525V11.0425H44.2842V10.3525H47.2241ZM47.6284 7.60156V8.2959H44.2842V7.60156H47.6284ZM50.9048 7.60156V14H50.0699V7.60156H50.9048ZM52.9615 7.60156V8.2959H48.0176V7.60156H52.9615ZM56.337 7.60156V14H55.4888V7.60156H56.337ZM59.8419 7.60156V14H59.0069V7.60156H59.8419ZM61.8985 7.60156V8.2959H56.9547V7.60156H61.8985ZM69.2907 10.5986V11.0029C69.2907 11.4834 69.2306 11.9141 69.1105 12.2949C68.9904 12.6758 68.8175 12.9995 68.5919 13.2661C68.3663 13.5327 68.0954 13.7363 67.7789 13.877C67.4655 14.0176 67.1139 14.0879 66.7243 14.0879C66.3463 14.0879 65.9992 14.0176 65.6828 13.877C65.3693 13.7363 65.0968 13.5327 64.8654 13.2661C64.6369 12.9995 64.4596 12.6758 64.3336 12.2949C64.2077 11.9141 64.1447 11.4834 64.1447 11.0029V10.5986C64.1447 10.1182 64.2062 9.68896 64.3292 9.31104C64.4552 8.93018 64.6325 8.60645 64.861 8.33984C65.0895 8.07031 65.3605 7.86523 65.674 7.72461C65.9904 7.58398 66.3375 7.51367 66.7155 7.51367C67.1051 7.51367 67.4567 7.58398 67.7702 7.72461C68.0866 7.86523 68.3576 8.07031 68.5831 8.33984C68.8117 8.60645 68.986 8.93018 69.1061 9.31104C69.2291 9.68896 69.2907 10.1182 69.2907 10.5986ZM68.4513 11.0029V10.5898C68.4513 10.209 68.4118 9.87207 68.3327 9.5791C68.2565 9.28613 68.1437 9.04004 67.9943 8.84082C67.8449 8.6416 67.6618 8.49072 67.445 8.38818C67.2311 8.28564 66.9879 8.23438 66.7155 8.23438C66.4518 8.23438 66.213 8.28564 65.9992 8.38818C65.7882 8.49072 65.6066 8.6416 65.4542 8.84082C65.3048 9.04004 65.1891 9.28613 65.1071 9.5791C65.025 9.87207 64.984 10.209 64.984 10.5898V11.0029C64.984 11.3867 65.025 11.7266 65.1071 12.0225C65.1891 12.3154 65.3063 12.563 65.4586 12.7651C65.6139 12.9644 65.797 13.1152 66.0079 13.2178C66.2218 13.3203 66.4606 13.3716 66.7243 13.3716C66.9996 13.3716 67.2443 13.3203 67.4581 13.2178C67.672 13.1152 67.8522 12.9644 67.9987 12.7651C68.1481 12.563 68.2609 12.3154 68.3371 12.0225C68.4132 11.7266 68.4513 11.3867 68.4513 11.0029ZM75.2126 7.60156V14H74.36L71.1388 9.06494V14H70.2907V7.60156H71.1388L74.3732 12.5498V7.60156H75.2126Z",fill:"white"}),(0,$.jsxs)("defs",{children:[(0,$.jsxs)("linearGradient",{id:"paint0_linear_google_play",x1:"29.0889",y1:"20.0004",x2:"20.8881",y2:"20.0004",gradientUnits:"userSpaceOnUse",children:[(0,$.jsx)("stop",{stopColor:"#FFBC00"}),(0,$.jsx)("stop",{offset:"1",stopColor:"#FFDA03"})]}),(0,$.jsxs)("linearGradient",{id:"paint1_linear_google_play",x1:"22.8147",y1:"23.9708",x2:"12.1112",y2:"32.7933",gradientUnits:"userSpaceOnUse",children:[(0,$.jsx)("stop",{stopColor:"#E22652"}),(0,$.jsx)("stop",{offset:"1",stopColor:"#FF3A44"})]}),(0,$.jsxs)("linearGradient",{id:"paint2_linear_google_play",x1:"10.3207",y1:"9.04634",x2:"17.457",y2:"15.3213",gradientUnits:"userSpaceOnUse",children:[(0,$.jsx)("stop",{stopColor:"#0ED574"}),(0,$.jsx)("stop",{offset:"1",stopColor:"#07F076"})]})]})]})}var qe=E(x()),YS=e=>{if(!e)return null;try{let o=new URL(e).hostname.toLowerCase();if(o==="play.google.com")return(0,qe.jsx)(es,{});if(o==="apps.apple.com")return(0,qe.jsx)(Ja,{})}catch{return null}return null},dm=e=>
45{let{footerAppDownloadText:t,isMobile:o,mobileAppLinks:r}=e,n=(0,um.useMemo)(()=>r==null?void 0:r.map((i,a)=>{var m,u;if(!i)return null;let{alt_text:s,image:c,link:l}=i,p=(u=(m=c==null?void 0:c.data)==null?void 0:m.attributes)==null?void 0:u.url,d=YS(l);return!p&&!d?null:(0,qe.jsx)(Io,{"aria-label":`${s||l} (opens in a new window)`,className:"footer-mobile-app-image",prefetch:"intent",role:"link",tabIndex:0,target:"_blank",to:l||"",children:p?(0,qe.jsx)(At,{alt:s||l||"",fit:"contain",srcSet:p,loading:"lazy",role:"presentation"}):d},`mobile-app-${a}`)}),[r]);return r!=null&&r.length?(0,qe.jsxs)(hs,{p:0,bg:"var(--mantine-color-footer-surface-0)",children:[((t==null?void 0:t.length)||0)>0?(0,qe.jsx)(gt,{className:"small-container-second",justify:o?"center":"left",children:(0,qe.jsx)(W,{fw:600,children:t})}):null,r?(0,qe.jsx)(oe,{className:"footer-mobile-app",gap:8,justify:o?"center":"left",pt:8,children:n}):null]}):null};var Ci=E(M());var Xe=E(x());function _m(e){var p;let{footerLogo:t,logoUrl:o,socialLinks:r}=e,{alternativeText:n,url:i}=((p=t==null?void 0:t.data)==null?void 0:p.attributes)||{},a=o||i,s=(0,Ci.useCallback)(d=>{let u={IconBrandFacebookFilled:Ns,IconBrandInstagram:xs,IconBrandYoutube:Ps,IconBrandX:ys,IconBrandTiktokFilled:Ls,IconBrandLinkedin:Ms,IconBrandPinterest:Os}[d];return u?(0,Xe.jsx)(u,{size:"1.2rem",role:"presentation",stroke:1.5}):(0,Xe.jsx)(Xe.Fragment,{})},[]),c=(0,Ci.useMemo)(()=>r==null?void 0:r.map((d,m)=>{let{Social_Icon_List:u,social_company_name:_,social_url:T}=d||{};return(0,Xe.jsx)(so,{withText:!0,ariaLabel:_||"",className:"social-link",href:T||"",children:s(u)},`${_}-${m}`)}),[r,s]),l=r&&r.length>0;return!a&&!l?null:(0,Xe.jsxs)(gt,{className:"smallContainer-first",children:[a?(0,Xe.jsx)(At,{alt:n||"Footer Logo",srcSet:a||"",role:"presentation",loading:"lazy"}):null,l&&(0,Xe.jsx)(St,{align:"right",gap:8,pb:24,children:c})]})}var Se=E(x()),Em=()=>[],Tm=()=>{let{publicEnvs:e,rootPageData:t}=Z(),{user:o}=Re(),{footerData:r,siteLogos:n}=t||{},{Social_Links:i,footer_links:a,footer_links_2:s,footer_links_3:c,footer_section_title:l,footer_section_title_2:p,footer_section_title_3:d,mobile_app_links:m}=r||{},{Footer_Logo:u}=n||{},_=Be(),{footer_app_download:T,footer_copyright_text:S}=_||{},{legalEntity:h}=e||{},{cookieProviderObj:C}=e||{},N=Pc(t,o==null?void 0:o.store),f=no(`(max-width: ${jr.MOBILE})`),y=(0,mm.useMemo)(()=>[{title:l!=null?l:"",links:a!=null?a:[]},{title:p!=null?p:"",links:s!=null?s:[]},{title:d!=null?d:"",links:c!=null?c:[]}],[l,a,p,s,d,c]);return(0,Se.jsxs)("footer",{id:"footer",tabIndex:-1,children:[(0,Se.jsxs)(st,{className:"groupsContainer",children:[(0,Se.jsx)(Ht,{children:(0,Se.jsx)(Rs,{order:2,children:"Footer"})}),(0,Se.jsxs)(Uo,{grow:!0,className:"footer-items-grid",justify:"space-evenly",children:[(0,Se.jsx)(pm,{cookieProviderObj:C,footerSections:y,isMobile:f}),(0,Se.jsx)(Uo.Col,{className:"footer-grid-item last",span:f?12:3,children:(0,Se.jsxs)(oe,{className:"footer-logo-box",children:[(0,Se.jsx)(_m,{socialLinks:i!=null?i:[],footerLogo:u,logoUrl:N}),(0,Se.jsx)(dm,{mobileAppLinks:m!=null?m:[],footerAppDownloadText:T,isMobile:f})]})})]})]}),(0,Se.jsx)(Fr,{className:"copyrightContainer",children:(0,Se.jsx)(W,{c:"dimmed",size:"sm",children:S==null?void 0:S.replace("%1$s",new Date().getFullYear().toString()).replace("%2$s",h!=null?h:"Swiftly")})})]})};Vo();var Sm="/build/_assets/styles-V4Y6OPWJ.css";var fm="/build/_assets/appShell-TABKXF7P.css";var U=E(x()),WS=105,Am=()=>[{rel:"stylesheet",href:fm},{rel:"stylesheet",href:Sm},...Em(),...om(),...Mc(),...S_(),...Oo()],gm=({taxonomies:e})=>{let[t,o]=(0,Pe.useState)(""),r=is(),n=He(),i=(0,Pe.useRef)(null);Qr({initWindowsSwiftlyLogin:!0}),__();let{closeModal:a,isLoginModalLoaded:s,isStoreModalLoaded:c,isWaitModalLoaded:l,showLoginModal:p,showStoreModal:d,showWaitModal:m}=Bo(),{app:{showSelectStoreDrawer:u},breadcrumb:_,layoutHeaderHeightPx:T,showPageWideLoader:S}=Z(),h=(0,Pe.useMemo)(()=>typeof T=="number"?T:WS,[T]),{setRegisterStore:C,user:{registerStore:N,store:f}}=Re(),{couponDetailsModalProps:y,isCouponModalOpen:w}
45=Bo(),{isCouponDetailsModalPreLoaded:A}=Jr();(0,Pe.useEffect)(()=>{var I,D;r.state==="loading"&&((I=i.current)==null||I.onStart()),r.state==="idle"&&((D=i.current)==null||D.onComplete())},[r.state]),(0,Pe.useEffect)(()=>{let I=Uc();o(I)},[]);let k=(0,Pe.useMemo)(()=>{var I;return((I=ht)==null?void 0:I.couponFeatureFlag)&&(A||w)},[A,w]),P=(0,Pe.useMemo)(()=>zr(N||f),[N,f]),v=n.pathname==="/loyalty-lookup",R=n.pathname.split("/").some(I=>I.includes("embed")),O=(0,Pe.useMemo)(()=>{var Y,j;let I=n.pathname==="/register",D=n.pathname==="/register-success"&&(((Y=ht)==null?void 0:Y.enableRequestPhysicalCardFlow)||((j=ht)==null?void 0:j.enableLoyaltyLookupFlow));return I||v||D||R},[n.pathname,v,R]);return h_(P),O?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(Ht,{"aria-live":"assertive","aria-atomic":"true",tabIndex:-1,children:t}),(0,U.jsx)("main",{children:(0,U.jsx)(Pi,{})}),u&&!v&&!R&&(0,U.jsx)(ne,{name:"MapSideOverlayV2",children:(0,U.jsx)(k_,{currentStoreNumber:P,onSetAsMyStore:I=>{C({number:I.storeId,displayName:I.displayName})}})})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(Ht,{"aria-live":"assertive","aria-atomic":"true",tabIndex:-1,children:t}),(0,U.jsx)(A_,{ref:i}),(0,U.jsx)(rm,{taxonomies:e}),(0,U.jsx)("span",{id:"recaptcha-element",tabIndex:-1}),(0,U.jsx)(Je,{className:"main",id:"main",style:{marginTop:h},tabIndex:-1,children:(0,U.jsxs)(st,{className:"home-layout-container",children:[(0,U.jsx)(Oc,{breadcrumb:_||[]}),(0,U.jsx)("main",{children:(0,U.jsx)(Pi,{})})]})}),(0,U.jsx)(Tm,{}),S&&(0,U.jsx)(ne,{name:"PageLoader",children:(0,U.jsx)(gc,{})}),s&&(0,U.jsx)(ne,{name:"LoginRequestModal",children:(0,U.jsx)(im,{open:p,onClose:()=>a("login")})}),l&&(0,U.jsx)(ne,{name:"UserWaitModal",children:(0,U.jsx)(sm,{open:m,onClose:()=>a("wait")})}),c&&(0,U.jsx)(ne,{name:"StoreRequestModal",children:(0,U.jsx)(mc,{open:d,onClose:()=>a("store")})}),k&&(0,U.jsx)(ne,{name:"CouponDetailsModal",children:(0,U.jsx)(Cc,{...y})})]})};var vr=E(x());var $S=()=>(0,vr.jsxs)(oe,{align:"center",direction:"column",h:"100%",justify:"center",w:"100%",children:[(0,vr.jsx)("h1",{children:"Website under maintenance"}),(0,vr.jsx)(W,{children:"This website is currently undergoing scheduled maintenance. We expect to be back shortly."})]}),hm=$S;var Cm=hm;var Rm=e=>{var o;let t=e.other.navLogoHeight;return{variables:{"--mantine-color-primary":e.primaryColor[2],...t&&{"--nav-logo-height":`${t}px`,"--nav-logo-bar-height":`${t+24}px`}},light:{"--mantine-color-text":(o=e.colors["text-primary"])==null?void 0:o[9],"--mantine-color-deep-orange":e.other.deepOrangeLight},dark:{"--mantine-color-deep-orange":e.other.deepOrangeDark}}};function jS(e){if(e)try{let t=parseInt(e,10);return Number.isFinite(t)&&t>0?t:void 0}catch{return}}function Nm(e,t){return qS(e,{navLogoHeight:jS(t==null?void 0:t.navLogoHeight)})}function qS(e,t){var n,i,a,s,c,l,p,d,m,u,_,T,S,h,C,N,f,y,w,A,k,P,v,R,O,I,D,Y,j,ke,eo,_t,bo,Ir,mt,Dr,wr,to,kt,oo;let o={},r=(Ze,ro)=>{!ro||ro.length===0||(o[Ze]=Ts(ro))};return r("text-primary",e==null?void 0:e.textPrimary),r("layout",(n=e==null?void 0:e.layout)==null?void 0:n.layout),r("layout-surface-low",(i=e==null?void 0:e.layout)==null?void 0:i.surfaceLow),r("layout-surface-mid",(a=e==null?void 0:e.layout)==null?void 0:a.surfaceMid),r("layout-surface-high",(s=e==null?void 0:e.layout)==null?void 0:s.surfaceHigh),r("layout-on-surface",(c=e==null?void 0:e.layout)==null?void 0:c.onSurface),r("layout-on-surface-secondary",(l=e==null?void 0:e.layout)==null?void 0:l.onSurfaceSecondary),r("layout-strokes",(p=e==null?void 0:e.layout)==null?void 0:p.strokes),r("layout-lightbox",(d=e==null?void 0:e.layout)==null?void 0:d.lightbox),r("layout-surface-hover",(m=e==null?void 0:e.layout)==null?void 0:m.surfaceHover),r("layout-focus",(u=e==null?void 0:e.layout)==null?void 0:u.focus),r("accents-primary",(_=e==null?void 0:e.accents)==null?void 0:_.primary),r("accents-accent",(T=e==null?void 0:e.accents)==null?void 0:T.accent),r("accents-clip",(S=e==null?void 0:e.accents)==null?void 0:S.clip),r("accents-neutral",(h=e==null?void 0:e.accents)==null?void 0:h.neutral),r("inactive",(C=e
45==null?void 0:e.accents)==null?void 0:C.inactive),r("success",(N=e==null?void 0:e.additional)==null?void 0:N.success),r("fail",(f=e==null?void 0:e.additional)==null?void 0:f.fail),r("prices-coupon-value",(y=e==null?void 0:e.prices)==null?void 0:y.couponValue),r("prices-discount-value",(w=e==null?void 0:e.prices)==null?void 0:w.discountValue),r("prices-highlight-on-surface",(A=e==null?void 0:e.prices)==null?void 0:A.highlightOnSurface),r("prices-highlight-surface",(k=e==null?void 0:e.prices)==null?void 0:k.highlightSurface),r("top-nav-bar-secondary-top-nav-bar-surface",(P=e==null?void 0:e.navbar)==null?void 0:P.topNavBarSecondaryTopNavBarSurface),r("top-navbar-surface",(v=e==null?void 0:e.navbar)==null?void 0:v.topNavbarSurface),r("on-top-navbar",(R=e==null?void 0:e.navbar)==null?void 0:R.onTopNavbar),r("action-on-top-navbar",(O=e==null?void 0:e.navbar)==null?void 0:O.actionOnTopNavbar),r("top-sub-navbar-surface",(I=e==null?void 0:e.navbar)==null?void 0:I.topSubNavbarSurface),r("action-on-sub-navbar",(D=e==null?void 0:e.navbar)==null?void 0:D.actionOnTopSubNavbar),r("on-sub-navbar",(Y=e==null?void 0:e.navbar)==null?void 0:Y.onSubNavbar),r("footer-surface",(j=e==null?void 0:e.footer)==null?void 0:j.surface),r("footer-on-surface",(ke=e==null?void 0:e.footer)==null?void 0:ke.onFooter),r("footer-on-sub-surface",(eo=e==null?void 0:e.footer)==null?void 0:eo.onSubFooter),r("footer-action-on-surface",(_t=e==null?void 0:e.footer)==null?void 0:_t.actionOnFooter),r("footer-on-secondary",(bo=e==null?void 0:e.footer)==null?void 0:bo.onSecondary),r("flag-product-sale",(Ir=e==null?void 0:e.flag)==null?void 0:Ir.productSale),r("flag-product-loyalty",(mt=e==null?void 0:e.flag)==null?void 0:mt.productLoyalty),r("flag-on-product-loyalty",(Dr=e==null?void 0:e.flag)==null?void 0:Dr.onProductLoyalty),r("flag-coupon-expires",(wr=e==null?void 0:e.flag)==null?void 0:wr.couponExpires),{...o["accents-primary"]&&{primaryColor:"accents-primary",primaryShade:2},colors:o,...((to=e==null?void 0:e.layout)==null?void 0:to.focus)&&{focusClassName:"focus-ao"},fontFamily:"Noto Sans, sans-serif",headings:{fontFamily:"Noto Sans, sans-serif"},other:{thickness:{thin:"1px",standard:"1px",thick:"2px"},navLogoHeight:t==null?void 0:t.navLogoHeight},spacing:{xxs:"4px"},components:{Text:{defaultProps:{color:(kt=e==null?void 0:e.textPrimary)==null?void 0:kt[9]}},Title:{defaultProps:{color:(oo=e==null?void 0:e.textPrimary)==null?void 0:oo[9]}}}}}var ef=E(km()),tf=E(Hm());var of=E(Bm());Vo();var xm="/build/_assets/styles-ZGD46N6Y.css";var b=E(x());Fs();var rf={i18n:"common"},nf=async({request:e})=>{var r;let t=await e.formData(),o=await Vs(t);return(r=o==null?void 0:o.attributes)!=null&&r.id?o:(0,ts.json)({error:"Invalid idToken or refreshToken"},{status:401})},af=({defaultShouldRevalidate:e,formAction:t})=>t==="/coupons/categoryId"?!1:e,sf=()=>{let e=[{rel:"preconnect",href:"https://fonts.googleapis.com",fetchpriority:"high"},{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous",fetchpriority:"high"},{rel:"dns-prefetch",href:"https://fonts.googleapis.com"},{rel:"dns-prefetch",href:"https://fonts.gstatic.com"}],t=[{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=fallback"}],o=[{rel:"stylesheet",href:xm},...Bi?[{rel:"stylesheet",href:Bi}]:[],{rel:"preconnect",href:Xs}],r=[...Am()];return[...e,...t,...o,...r]};function Mm(){var w,A,k;let e=He(),[t]=Tt(),o=e.pathname,r=us(),n=(0,Ve.useRef)(null),i=(0,Ve.useRef)(!1),{assets:a,firebaseSessionData:s,notificationBars:c,publicEnvs:l,supportedLanguages:p,tenantConfig:d,userLanguage:m}=r,u=(0,Ve.useMemo)(()=>ki(m,{notificationBars:c}),[m,c]),_=(0,Ve.useMemo)(()=>qs(),[]),{colors:T,maintenanceFeatureFlag:S}=s_(d),{codeBeaconSnippet:h,cookieProviderObj:C}=l||{},N=Nm(T,l);u_(l),t_(l),o_(l),r_(l),n_(l),l_(l),Zc(C);let f=typeof window!="undefined"?localStorage.getItem("storageNotification"):"";typeof document!="undefined"&&(window.ENV=window.ENV||l),zc(p!=null&&p.includes(m)?m:"en"),(0,Ve.useEffect)(()=>{if(o==="/login"){let P=t.get("redirectTo");if(P){let v=Hs(Ds(P),"");v&&localStorage.setItem("redirectTo",v)}}else o!=null&&o.startsWith("/account")&&!Kr()&&localStorage.setItem("redirectTo",o);o!=="/register"&&o!=="/register-success"&&!o.startsWith("/wcp")&&!o.startsWith("/c/")&&Vc()},[o,t]),(0,Ve.useEffect)(()=>{let P=n.current,v=new MutationObserver(R=>{for(let O of R){let I=!P,D=i.current;if(O.type!=="childList"||I||D)return;if(P.querySelector("button")){i.current=!0;let j=P;j.setAttribute("role","alertdialog"),j.setAttribute("aria-modal","true"),j.setAttribute("aria-describedby","truste-consent-text"),j.setAttribute("aria-label","Cookie banner"),j.setAttribute("tabindex","-1"),j.focus({preventScroll:!0})}}});return P!==null&&v.observe(P,{attributes:!1,childList:!0,subtree:!1}),()=>{v&&v.disconnect()}},[]),(0,Ve.useEffect)(()=>{f&&(localStorage.removeItem("storageNotification"),vi.hide("storageNotification"),vi.show({message:(0,b.jsx)(qc,{message:f}),autoClose:5e3,id:"storageNotification"}))},[f]);let y=(0,Ve.useMemo)(()=>(l==null?void 0:l.vercelAnalyticsEnabled)==="TRUE",[l==null?void 0:l.vercelAnalyticsEnabled]);return $c(),(0,b.jsxs)(b.Fragment,{children:[y&&(0,b.jsx)(Fc,{"data-testid":"enabled-vercel-analytics"}),(0,b.jsx)("div",{id:"consent_blackbar",ref:n}),h&&h!==""&&(0,b.jsx)("div",{"aria-hidden":"true",dangerouslySetInnerHTML:{__html:h},style:{height:"0px"},tabIndex:-1}),(0,b.jsx)(Hi,{children:(0,b.jsx)(lc,{initialRootPageData:u,initialPublicEnvs:l,initialAssets:a,children:(0,b.jsx)(ic,{firebaseSessionData:s,children:(0,b.jsx)(Sc,{children:(0,b.jsx)(bi,{cssVariablesResolver:Rm,theme:N,children:(0,b.jsx)(pc,{children:(0,b.jsx)(fc,{children:(0,b.jsxs)(Ec,{children:[(0,b.jsx)(Ii,{containerWidth:"560px",mt:40,position:"top-center",zIndex:1e3,portalProps:{"aria-live":"assertive","aria-atomic":"true"}}),(0,b.jsx)(Ya,{firebaseSessionData:s,primaryColor:(k=(A=(w=N==null?void 0:N.colors)==null?void 0:w["accents-primary"])==null?void 0:A[2])!=null?k:"#000"}),S?(0,b.jsx)(Cm,{}):(0,b.jsx)(gm,{taxonomies:_})]})})})})})})})})]})}function cf({children:e}){var s,c;let t=Hr("root"),{i18n:o}=Br(),r=t==null?void 0:t.chunkHandler,n=(s=t==null?void 0:t.userLanguage)!=null?s:"en",i=ki(n,{notificationBars:t==null?void 0:t.notificationBars}),a=(c=t==null?void 0:t.publicEnvs)==null?void 0:c.googleSiteVerification;return(0,b.jsxs)("html",{dir:o.dir(),lang:n,children:[(0,b.jsxs)("head",{children:[r&&(0,b.jsx)("script",{dangerouslySetInnerHTML:{__html:r}}
45),(0,b.jsx)("meta",{charSet:"utf-8"}),(0,b.jsx)("meta",{content:"width=device-width, initial-scale=1.0, maximum-scale=3.0, user-scalable=yes",name:"viewport"}),a&&(0,b.jsx)("meta",{content:a,name:"google-site-verification"}),i&&(0,b.jsx)(jc,{rootPageData:i}),(0,b.jsx)(ls,{}),(0,b.jsx)(cs,{}),(0,b.jsx)(Ss,{})]}),(0,b.jsxs)("body",{children:[e,(0,b.jsx)(ps,{}),(0,b.jsx)(ds,{})]})]})}function lf(){let e=as();return Bs(e)?(console.warn("Chunk load error caught by ErrorBoundary. Reloading page...",e),Gs(),(0,b.jsx)("div",{children:" Reloading "})):(0,b.jsx)(Ac,{name:"RootErrorBoundary",latchKey:"RootErrorBoundary",fallback:(0,b.jsxs)("div",{style:{padding:"2rem",textAlign:"center"},children:[(0,b.jsx)("h1",{children:"Something went wrong"}),(0,b.jsx)("p",{children:"Please try refreshing the page."})]}),children:(0,b.jsx)(Hi,{children:(0,b.jsxs)(bi,{children:[(0,b.jsx)(Ii,{position:"top-center"}),(0,b.jsx)(Rc,{})]})})})}export{lf as ErrorBoundary,cf as Layout,nf as clientAction,Mm as default,rf as handle,sf as links,af as shouldRevalidate};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.