From fb343bbbe312d256d4d1d4641e045acda354f269 Mon Sep 17 00:00:00 2001 From: revolunet Date: Tue, 23 Jul 2024 08:47:56 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20betagouv?= =?UTF-8?q?/template-nextjs@8a8dff1da87ff1912eadde3f681203e91cee7b7a=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 4 ++-- 500.html | 4 ++-- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 .../{_app-c31b7a699c6db291.js => _app-e9e32ebcf1eca1d8.js} | 4 ++-- ...c31b7a699c6db291.js.map => _app-e9e32ebcf1eca1d8.js.map} | 2 +- _next/static/chunks/pages/budget-798a7078c7590d6f.js | 2 -- _next/static/chunks/pages/budget-b47c32087b56127d.js | 2 ++ ...8a7078c7590d6f.js.map => budget-b47c32087b56127d.js.map} | 2 +- accessibilite.html | 4 ++-- aide.html | 4 ++-- article.html | 4 ++-- budget.html | 6 +++--- cgu.html | 4 ++-- dsfr.html | 4 ++-- healthz.html | 4 ++-- index.html | 4 ++-- mentions-legales.html | 4 ++-- mui.html | 4 ++-- politique-confidentialite.html | 4 ++-- stats.html | 4 ++-- 21 files changed, 36 insertions(+), 36 deletions(-) rename _next/static/{mM8z9cR38TwaoKmIAn4J0 => BiiTrb0-TlOHYNTtD5V49}/_buildManifest.js (95%) rename _next/static/{mM8z9cR38TwaoKmIAn4J0 => BiiTrb0-TlOHYNTtD5V49}/_ssgManifest.js (100%) rename _next/static/chunks/pages/{_app-c31b7a699c6db291.js => _app-e9e32ebcf1eca1d8.js} (99%) rename _next/static/chunks/pages/{_app-c31b7a699c6db291.js.map => _app-e9e32ebcf1eca1d8.js.map} (99%) delete mode 100644 _next/static/chunks/pages/budget-798a7078c7590d6f.js create mode 100644 _next/static/chunks/pages/budget-b47c32087b56127d.js rename _next/static/chunks/pages/{budget-798a7078c7590d6f.js.map => budget-b47c32087b56127d.js.map} (97%) diff --git a/404.html b/404.html index bd2103d5..f65ffc01 100644 --- a/404.html +++ b/404.html @@ -110,9 +110,9 @@ frame-src 'self' *.gouv.fr; style-src 'self' 'unsafe-inline'; font-src 'self' data: blob:; -"/>

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.

Erreur 404

La page n'a pas été trouvée

Impossible de trouver la ressource demandée.
Ré-essayez en passant par la Page d'accueil.

\ No newline at end of file diff --git a/500.html b/500.html index bb2f8877..2e8b3373 100644 --- a/500.html +++ b/500.html @@ -110,9 +110,9 @@ frame-src 'self' *.gouv.fr; style-src 'self' 'unsafe-inline'; font-src 'self' data: blob:; -"/>

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.

Erreur 500

Un erreur s'est produite lors de l'execution de la page

Nos équipes ont été notifiées et interviendront dans les meilleurs délais.
Ré-essayez en passant par la Page d'accueil.

\ No newline at end of file diff --git a/_next/static/mM8z9cR38TwaoKmIAn4J0/_buildManifest.js b/_next/static/BiiTrb0-TlOHYNTtD5V49/_buildManifest.js similarity index 95% rename from _next/static/mM8z9cR38TwaoKmIAn4J0/_buildManifest.js rename to _next/static/BiiTrb0-TlOHYNTtD5V49/_buildManifest.js index 565a18ff..50f80b9d 100644 --- a/_next/static/mM8z9cR38TwaoKmIAn4J0/_buildManifest.js +++ b/_next/static/BiiTrb0-TlOHYNTtD5V49/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[s,"static/chunks/pages/index-2ae8a0d20d25ba87.js"],"/404":["static/chunks/pages/404-98f5433c5fabee11.js"],"/500":["static/chunks/pages/500-981088b1b3af14de.js"],"/_error":["static/chunks/pages/_error-88457cbedf17fd56.js"],"/accessibilite":["static/chunks/pages/accessibilite-7e21d1eb2cbfd3c8.js"],"/aide":["static/chunks/pages/aide-897e7e43930170b1.js"],"/article":["static/chunks/pages/article-dc8e93cf245e0baa.js"],"/budget":["static/chunks/pages/budget-798a7078c7590d6f.js"],"/cgu":["static/chunks/pages/cgu-922be835726a370d.js"],"/dsfr":[s,"static/chunks/pages/dsfr-79a88e4d0aaef972.js"],"/healthz":["static/chunks/pages/healthz-63289aea08a507b9.js"],"/mentions-legales":["static/chunks/pages/mentions-legales-5dae77bea52365ec.js"],"/mui":[s,"static/chunks/750-faaf229675496f5a.js","static/chunks/pages/mui-b40befa1a0c64170.js"],"/politique-confidentialite":["static/chunks/pages/politique-confidentialite-26bbe9817a101b50.js"],"/stats":["static/chunks/pages/stats-7ce51dd7102093a1.js"],sortedPages:["/","/404","/500","/_app","/_error","/accessibilite","/aide","/article","/budget","/cgu","/dsfr","/healthz","/mentions-legales","/mui","/politique-confidentialite","/stats"]}}("static/chunks/269-d1033f27eb0d7206.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[s,"static/chunks/pages/index-2ae8a0d20d25ba87.js"],"/404":["static/chunks/pages/404-98f5433c5fabee11.js"],"/500":["static/chunks/pages/500-981088b1b3af14de.js"],"/_error":["static/chunks/pages/_error-88457cbedf17fd56.js"],"/accessibilite":["static/chunks/pages/accessibilite-7e21d1eb2cbfd3c8.js"],"/aide":["static/chunks/pages/aide-897e7e43930170b1.js"],"/article":["static/chunks/pages/article-dc8e93cf245e0baa.js"],"/budget":["static/chunks/pages/budget-b47c32087b56127d.js"],"/cgu":["static/chunks/pages/cgu-922be835726a370d.js"],"/dsfr":[s,"static/chunks/pages/dsfr-79a88e4d0aaef972.js"],"/healthz":["static/chunks/pages/healthz-63289aea08a507b9.js"],"/mentions-legales":["static/chunks/pages/mentions-legales-5dae77bea52365ec.js"],"/mui":[s,"static/chunks/750-faaf229675496f5a.js","static/chunks/pages/mui-b40befa1a0c64170.js"],"/politique-confidentialite":["static/chunks/pages/politique-confidentialite-26bbe9817a101b50.js"],"/stats":["static/chunks/pages/stats-7ce51dd7102093a1.js"],sortedPages:["/","/404","/500","/_app","/_error","/accessibilite","/aide","/article","/budget","/cgu","/dsfr","/healthz","/mentions-legales","/mui","/politique-confidentialite","/stats"]}}("static/chunks/269-d1033f27eb0d7206.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/mM8z9cR38TwaoKmIAn4J0/_ssgManifest.js b/_next/static/BiiTrb0-TlOHYNTtD5V49/_ssgManifest.js similarity index 100% rename from _next/static/mM8z9cR38TwaoKmIAn4J0/_ssgManifest.js rename to _next/static/BiiTrb0-TlOHYNTtD5V49/_ssgManifest.js diff --git a/_next/static/chunks/pages/_app-c31b7a699c6db291.js b/_next/static/chunks/pages/_app-e9e32ebcf1eca1d8.js similarity index 99% rename from _next/static/chunks/pages/_app-c31b7a699c6db291.js rename to _next/static/chunks/pages/_app-e9e32ebcf1eca1d8.js index aeb196c3..a7dc384e 100644 --- a/_next/static/chunks/pages/_app-c31b7a699c6db291.js +++ b/_next/static/chunks/pages/_app-e9e32ebcf1eca1d8.js @@ -19,5 +19,5 @@ ${JSON.stringify(t)} The transaction will not be sampled. Please use the ${a} instrumentation to start transactions.`),e.sampled=!1);let i=new ra(e,this);return(i=rd(i,n,{name:e.name,parentSampled:e.parentSampled,transactionContext:e,attributes:{...e.data,...e.attributes},...t})).isRecording()&&i.initSpanRecorder(n._experiments&&n._experiments.maxSpans),r&&r.emit&&r.emit("startTransaction",i),i}function rp(e,t,r,n,a,o,i,l=!1){let u=e.getClient(),s=u&&u.getOptions()||{},c=new rl(t,e,r,n,i,a,l);return(c=rd(c,s,{name:t.name,parentSampled:t.parentSampled,transactionContext:t,attributes:{...t.data,...t.attributes},...o})).isRecording()&&c.initSpanRecorder(s._experiments&&s._experiments.maxSpans),u&&u.emit&&u.emit("startTransaction",c),c}function rm(){let e=(0,I.cu)();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=rg),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=rv),rs||(rs=!0,eg(rc),eh(rc)))}rc.tag="sentry_tracingErrorCallback";var rh=r(77638);let rb="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,r_=er.GLOBAL_OBJ;function ry(){r_&&r_.document?r_.document.addEventListener("visibilitychange",()=>{let e=ru();if(r_.document.hidden&&e){let t="cancelled",{op:r,status:n}=(0,t0.XU)(e);rb&&j.kg.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${r}`),n||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.end()}}):rb&&j.kg.warn("[Tracing] Could not set up background tab detection due to lack of global document")}let rk=(e,t,r)=>{let n,a;return o=>{t.value>=0&&(o||r)&&((a=t.value-(n||0))||void 0===n)&&(n=t.value,t.delta=a,e(t))}},rw=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,rx=()=>{let e=r_.performance.timing,t=r_.performance.navigation.type,r={entryType:"navigation",startTime:0,type:2==t?"back_forward":1===t?"reload":"navigate"};for(let t in e)"navigationStart"!==t&&"toJSON"!==t&&(r[t]=Math.max(e[t]-e.navigationStart,0));return r},rE=()=>r_.__WEB_VITALS_POLYFILL__?r_.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||rx()):r_.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],rT=()=>{let e=rE();return e&&e.activationStart||0},rS=(e,t)=>{let r=rE(),n="navigate";return r&&(n=r_.document.prerendering||rT()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:rw(),navigationType:n}},rO=(e,t,r)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let n=new PerformanceObserver(e=>{t(e.getEntries())});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},rC=(e,t)=>{let r=n=>{("pagehide"===n.type||"hidden"===r_.document.visibilityState)&&(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},rM=e=>{let t;let r=rS("CLS",0),n=0,a=[],o=e=>{e.forEach(e=>{if(!e.hadRecentInput){let o=a[0],i=a[a.length-1];n&&0!==a.length&&e.startTime-i.startTime<1e3&&e.startTime-o.startTime<5e3?(n+=e.value,a.push(e)):(n=e.value,a=[e]),n>r.value&&(r.value=n,r.entries=a,t&&t())}})},i=rO("layout-shift",o);if(i){t=rk(e,r);let n=()=>{o(i.takeRecords()),t(!0)};return rC(n),n}},rj=-1,rP=()=>"hidden"!==r_.document.visibilityState||r_.document.prerendering?1/0:0,rA=()=>{rC(({timeStamp:e})=>{rj=e},!0)},rI=()=>(rj<0&&(rj=rP(),rA()),{get firstHiddenTime(){return rj}}),rN=e=>{let t;let r=rI(),n=rS("FID"),a=e=>{e.startTime{e.forEach(a)},i=rO("first-input",o);t=rk(e,n),i&&rC(()=>{o(i.takeRecords()),i.disconnect()},!0)},rR=0,rL=1/0,r$=0,rG=e=>{e.forEach(e=>{e.interactionId&&(rL=Math.min(rL,e.interactionId),rR=(r$=Math.max(r$,e.interactionId))?(r$-rL)/7+1:0)})},rB=()=>s?rR:performance.interactionCount||0,rD=()=>{"interactionCount"in performance||s||(s=rO("event",rG,{type:"event",buffered:!0,durationThreshold:0}))},rF=()=>rB(),rH=[],rZ={},rU=e=>{let t=rH[rH.length-1],r=rZ[e.interactionId];if(r||rH.length<10||e.duration>t.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{let t={id:e.interactionId,latency:e.duration,entries:[e]};rZ[t.id]=t,rH.push(t)}rH.sort((e,t)=>t.latency-e.latency),rH.splice(10).forEach(e=>{delete rZ[e.id]})}},rW=()=>{let e=Math.min(rH.length-1,Math.floor(rF()/50));return rH[e]},rV=(e,t)=>{let r;t=t||{},rD();let n=rS("INP"),a=e=>{e.forEach(e=>{e.interactionId&&rU(e),"first-input"!==e.entryType||rH.some(t=>t.entries.some(t=>e.duration===t.duration&&e.startTime===t.startTime))||rU(e)});let t=rW();t&&t.latency!==n.value&&(n.value=t.latency,n.entries=t.entries,r())},o=rO("event",a,{durationThreshold:t.durationThreshold||40});r=rk(e,n,t.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),rC(()=>{a(o.takeRecords()),n.value<0&&rF()>0&&(n.value=0,n.entries=[]),r(!0)}))},rX={},rz=e=>{let t;let r=rI(),n=rS("LCP"),a=e=>{let a=e[e.length-1];if(a){let e=Math.max(a.startTime-rT(),0);e{rX[n.id]||(a(o.takeRecords()),o.disconnect(),rX[n.id]=!0,t(!0))};return["keydown","click"].forEach(e=>{addEventListener(e,r,{once:!0,capture:!0})}),rC(r,!0),r}},rq=e=>{r_.document&&(r_.document.prerendering?addEventListener("prerenderingchange",()=>rq(e),!0):"complete"!==r_.document.readyState?addEventListener("load",()=>rq(e),!0):setTimeout(e,0))},rJ=(e,t)=>{t=t||{};let r=rS("TTFB"),n=rk(e,r,t.reportAllChanges);rq(()=>{let e=rE();if(e){if(r.value=Math.max(e.responseStart-rT(),0),r.value<0||r.value>performance.now())return;r.entries=[e],n(!0)}})},rY={},rK={};function rQ(e,t){return r3(e,t),rK[e]||(function(e){let t={};"event"===e&&(t.durationThreshold=0),rO(e,t=>{r0(e,{entries:t})},t)}(e),rK[e]=!0),r6(e,t)}function r0(e,t){let r=rY[e];if(r&&r.length)for(let n of r)try{n(t)}catch(t){rb&&j.kg.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${(0,el.$P)(n)} -Error:`,t)}}function r5(){return rM(e=>{r0("cls",{metric:e}),c=e})}function r1(){return rN(e=>{r0("fid",{metric:e}),d=e})}function r2(){return rz(e=>{r0("lcp",{metric:e}),f=e})}function r7(){return rJ(e=>{r0("ttfb",{metric:e}),v=e})}function r9(){return rV(e=>{r0("inp",{metric:e}),g=e})}function r4(e,t,r,n,a=!1){let o;return r3(e,t),rK[e]||(o=r(),rK[e]=!0),n&&t({metric:n}),r6(e,t,a?o:void 0)}function r3(e,t){rY[e]=rY[e]||[],rY[e].push(t)}function r6(e,t,r){return()=>{r&&r();let n=rY[e];if(!n)return;let a=n.indexOf(t);-1!==a&&n.splice(a,1)}}function r8(e){return[{type:"span"},e]}function ne(e){return"number"==typeof e&&isFinite(e)}function nt(e,{startTimestamp:t,...r}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...r})}function nr(e){return e/1e3}function nn(){return r_&&r_.addEventListener&&r_.performance}let na=0,no={};function ni(){let e=nn();if(e&&tR.Z1){e.mark&&r_.performance.mark("sentry-tracing-init");let t=r4("fid",({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let r=nr(tR.Z1),n=nr(t.startTime);rb&&j.kg.log("[Measurements] Adding FID"),no.fid={value:e.value,unit:"millisecond"},no["mark.fid"]={value:r+n,unit:"second"}},r1,d),r=function(e,t=!1){return r4("cls",e,r5,c,t)}(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(rb&&j.kg.log("[Measurements] Adding CLS"),no.cls={value:e.value,unit:""},m=t)},!0),n=function(e,t=!1){return r4("lcp",e,r2,f,t)}(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(rb&&j.kg.log("[Measurements] Adding LCP"),no.lcp={value:e.value,unit:"millisecond"},p=t)},!0),a=r4("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(rb&&j.kg.log("[Measurements] Adding TTFB"),no.ttfb={value:e.value,unit:"millisecond"})},r7,v);return()=>{t(),r(),n(),a()}}return()=>void 0}function nl(){rQ("longtask",({entries:e})=>{for(let t of e){let e=ru();if(!e)return;let r=nr(tR.Z1+t.startTime),n=nr(t.duration);e.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:r,endTimestamp:r+n})}})}function nu(){rQ("event",({entries:e})=>{for(let t of e){let e=ru();if(!e)return;if("click"===t.name){let r=nr(tR.Z1+t.startTime),n=nr(t.duration),a={description:(0,e_.Rt)(t.target),op:`ui.interaction.${t.name}`,origin:"auto.ui.browser.metrics",startTimestamp:r,endTimestamp:r+n},o=(0,e_.iY)(t.target);o&&(a.attributes={"ui.component_name":o}),e.startChild(a)}}})}function ns(e){if(nn()&&tR.Z1){let t=r4("inp",({metric:t})=>{let r;if(void 0===t.value)return;let n=t.entries.find(e=>e.duration===t.value&&void 0!==nc[e.name]),a=(0,S.s3)();if(!n||!a)return;let o=nc[n.name],i=a.getOptions(),l=nr(tR.Z1+n.startTime),u=nr(t.value),s=void 0!==n.interactionId?e[n.interactionId]:void 0;if(void 0===s)return;let{routeName:c,parentContext:d,activeTransaction:f,user:v,replayId:g}=s,p=void 0!==v?v.email||v.id||v.ip_address:void 0,m=void 0!==f?f.getProfileId():void 0,h=new t8({startTimestamp:l,endTimestamp:l+u,op:`ui.interaction.${o}`,name:(0,e_.Rt)(n.target),attributes:{release:i.release,environment:i.environment,transaction:c,...void 0!==p&&""!==p?{user:p}:{},...void 0!==m?{profile_id:m}:{},...void 0!==g?{replay_id:g}:{}},exclusiveTime:t.value,measurements:{inp:{value:t.value,unit:"millisecond"}}}),b=!!O(i)&&(rf(r=void 0!==d&&"function"==typeof i.tracesSampler?i.tracesSampler({transactionContext:d,name:d.name,parentSampled:d.parentSampled,attributes:{...d.data,...d.attributes},location:r_.location}):void 0!==d&&void 0!==d.sampled?d.sampled:void 0!==i.tracesSampleRate?i.tracesSampleRate:1)?r:(rb&&j.kg.warn("[Tracing] Discarding transaction because of invalid sample rate."),!1));if(b&&Math.random(){rb&&j.kg.error("Error while sending interaction:",e)});return}},r9,g);return()=>{t()}}return()=>void 0}let nc={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function nd(e){let t=nn();if(!t||!r_.performance.getEntries||!tR.Z1)return;rb&&j.kg.log("[Tracing] Adding & adjusting spans using Performance API");let r=nr(tR.Z1),n=t.getEntries(),{op:a,start_timestamp:o}=(0,t0.XU)(e);if(n.slice(na).forEach(t=>{let n=nr(t.startTime),a=nr(t.duration);if("navigation"!==e.op||!o||!(r+n{nf(e,t,n,r)}),nf(e,t,"secureConnection",r,"TLS/SSL","connectEnd"),nf(e,t,"fetch",r,"cache","domainLookupStart"),nf(e,t,"domainLookup",r,"DNS"),t.responseEnd&&(nt(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:r+nr(t.requestStart),endTimestamp:r+nr(t.responseEnd)}),nt(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:r+nr(t.responseStart),endTimestamp:r+nr(t.responseEnd)}));break;case"mark":case"paint":case"measure":{(function(e,t,r,n,a){let o=a+r;nt(e,{description:t.name,endTimestamp:o+n,op:t.entryType,origin:"auto.resource.browser.metrics",startTimestamp:o})})(e,t,n,a,r);let o=rI(),i=t.startTime{if(!no[e]||!o||r>=o)return;let t=no[e].value,n=Math.abs((r+nr(t)-o)*1e3),a=n-t;rb&&j.kg.log(`[Measurements] Normalized ${e} from ${t} to ${n} (${a})`),no[e].value=n});let t=no["mark.fid"];t&&no.fid&&(nt(e,{description:"first input delay",endTimestamp:t.value+nr(no.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:t.value}),delete no["mark.fid"]),"fcp"in no||delete no.cls,Object.keys(no).forEach(e=>{!function(e,t,r){let n=ru();n&&n.setMeasurement(e,t,r)}(e,no[e].value,no[e].unit)}),p&&(rb&&j.kg.log("[Measurements] Adding LCP Data"),p.element&&e.setTag("lcp.element",(0,e_.Rt)(p.element)),p.id&&e.setTag("lcp.id",p.id),p.url&&e.setTag("lcp.url",p.url.trim().slice(0,200)),e.setTag("lcp.size",p.size)),m&&m.sources&&(rb&&j.kg.log("[Measurements] Adding CLS Data"),m.sources.forEach((t,r)=>e.setTag(`cls.source.${r+1}`,(0,e_.Rt)(t.node))))}p=void 0,m=void 0,no={}}function nf(e,t,r,n,a,o){let i=o?t[o]:t[`${r}End`],l=t[`${r}Start`];l&&i&&nt(e,{op:"browser",origin:"auto.browser.browser.metrics",description:a||r,startTimestamp:n+nr(l),endTimestamp:n+nr(i)})}function nv(e,t,r,n){let a=t[r];null!=a&&a<2147483647&&(e[n]=a)}var ng=r(99181);let np=["localhost",/^\/(?!\/)/],nm={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:np,tracePropagationTargets:np};function nh(e){let{traceFetch:t,traceXHR:r,tracePropagationTargets:n,tracingOrigins:a,shouldCreateSpanForRequest:o,enableHTTPTimings:i}={traceFetch:nm.traceFetch,traceXHR:nm.traceXHR,...e},l="function"==typeof o?o:e=>!0,u=e=>(0,H.U0)(e,n||a||np),s={};t&&e0(e=>{let t=function(e,t,r,n,a="auto.http.browser"){if(!O()||!e.fetchData)return;let o=t(e.fetchData.url);if(e.endTimestamp&&o){let t=e.fetchData.__span;if(!t)return;let r=n[t];if(r){if(e.response){t3(r,e.response.status);let t=e.response&&e.response.headers&&e.response.headers.get("content-length");if(t){let e=parseInt(t);e>0&&r.setAttribute("http.response_content_length",e)}}else e.error&&r.setStatus("internal_error");r.end(),delete n[t]}return}let i=(0,S.nZ)(),l=(0,S.s3)(),{method:u,url:s}=e.fetchData,c=o?re({name:`${u} ${s}`,onlyIfParent:!0,attributes:{url:s,type:"fetch","http.method":u,[t9]:a},op:"http.client"}):void 0;if(c&&(e.fetchData.__span=c.spanContext().spanId,n[c.spanContext().spanId]=c),r(e.fetchData.url)&&l){let t=e.args[0];e.args[1]=e.args[1]||{};let r=e.args[1];r.headers=function(e,t,r,n,a){let o=a||r.getSpan(),{traceId:i,spanId:l,sampled:u,dsc:s}={...(0,I.aF)().getPropagationContext(),...r.getPropagationContext()},c=o?(0,t0.Hb)(o):(0,rh.$p)(i,l,u),d=(0,ng.IQ)(s||(o?(0,tM.j)(o):(0,tM._)(i,t,r))),f=n.headers||("undefined"!=typeof Request&&(0,q.V9)(e,Request)?e.headers:void 0);if(!f)return{"sentry-trace":c,baggage:d};if("undefined"!=typeof Headers&&(0,q.V9)(f,Headers)){let e=new Headers(f);return e.append("sentry-trace",c),d&&e.append(ng.bU,d),e}if(Array.isArray(f)){let e=[...f,["sentry-trace",c]];return d&&e.push([ng.bU,d]),e}{let e="baggage"in f?f.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),d&&t.push(d),{...f,"sentry-trace":c,baggage:t.length>0?t.join(","):void 0}}}(t,l,i,r,c)}return c}(e,l,u,s);i&&t&&nb(t)}),r&&eq(e=>{let t=function(e,t,r,n){let a=e.xhr,o=a&&a[ez];if(!O()||!a||a.__sentry_own_request__||!o)return;let i=t(o.url);if(e.endTimestamp&&i){let e=a.__sentry_xhr_span_id__;if(!e)return;let t=n[e];t&&void 0!==o.status_code&&(t3(t,o.status_code),t.end(),delete n[e]);return}let l=(0,S.nZ)(),u=(0,I.aF)(),s=i?re({name:`${o.method} ${o.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":o.method,url:o.url,[t9]:"auto.http.browser"},op:"http.client"}):void 0;s&&(a.__sentry_xhr_span_id__=s.spanContext().spanId,n[a.__sentry_xhr_span_id__]=s);let c=(0,S.s3)();if(a.setRequestHeader&&r(o.url)&&c){let{traceId:e,spanId:t,sampled:r,dsc:n}={...u.getPropagationContext(),...l.getPropagationContext()};(function(e,t,r){try{e.setRequestHeader("sentry-trace",t),r&&e.setRequestHeader(ng.bU,r)}catch(e){}})(a,s?(0,t0.Hb)(s):(0,rh.$p)(e,t,r),(0,ng.IQ)(n||(s?(0,tM.j)(s):(0,tM._)(e,c,l))))}return s}(e,l,u,s);i&&t&&nb(t)})}function nb(e){let{url:t}=(0,t0.XU)(e).data||{};if(!t||"string"!=typeof t)return;let r=rQ("resource",({entries:n})=>{n.forEach(n=>{"resource"===n.entryType&&"initiatorType"in n&&"string"==typeof n.nextHopProtocol&&("fetch"===n.initiatorType||"xmlhttprequest"===n.initiatorType)&&n.name.endsWith(t)&&((function(e){let{name:t,version:r}=function(e){let t="unknown",r="unknown",n="";for(let a of e){if("/"===a){[t,r]=e.split("/");break}if(!isNaN(Number(a))){t="h"===n?"http":n,r=e.split(n)[1];break}n+=a}return n===e&&(t=n),{name:t,version:r}}(e.nextHopProtocol),n=[];return(n.push(["network.protocol.version",r],["network.protocol.name",t]),tR.Z1)?[...n,["http.request.redirect_start",n_(e.redirectStart)],["http.request.fetch_start",n_(e.fetchStart)],["http.request.domain_lookup_start",n_(e.domainLookupStart)],["http.request.domain_lookup_end",n_(e.domainLookupEnd)],["http.request.connect_start",n_(e.connectStart)],["http.request.secure_connection_start",n_(e.secureConnectionStart)],["http.request.connection_end",n_(e.connectEnd)],["http.request.request_start",n_(e.requestStart)],["http.request.response_start",n_(e.responseStart)],["http.request.response_end",n_(e.responseEnd)]]:n})(n).forEach(t=>e.setAttribute(...t)),setTimeout(r))})})}function n_(e=0){return((tR.Z1||performance.timeOrigin)+e)/1e3}let ny={...ro,markBackgroundTransactions:!0,routingInstrumentation:function(e,t=!0,r=!0){let n;if(!r_||!r_.location){rb&&j.kg.warn("Could not initialize routing instrumentation due to invalid location");return}let a=r_.location.href;t&&(n=e({name:r_.location.pathname,startTimestamp:tR.Z1?tR.Z1/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),r&&e4(({to:t,from:r})=>{if(void 0===r&&a&&-1!==a.indexOf(t)){a=void 0;return}r!==t&&(a=void 0,n&&(rb&&j.kg.log(`[Tracing] Finishing current transaction with op: ${n.op}`),n.end()),n=e({name:r_.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))})},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,enableInp:!1,_experiments:{},...nm};class nk{constructor(e){this.name="BrowserTracing",this._hasSetTracePropagationTargets=!1,rm(),rb&&(this._hasSetTracePropagationTargets=!!(e&&(e.tracePropagationTargets||e.tracingOrigins))),this.options={...ny,...e},void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),this._collectWebVitals=ni(),this._interactionIdToRouteNameMapping={},this.options.enableInp&&ns(this._interactionIdToRouteNameMapping),this.options.enableLongTask&&nl(),this.options._experiments.enableInteractions&&nu(),this._latestRoute={name:void 0,context:void 0}}setupOnce(e,t){this._getCurrentHub=t;let r=t().getClient(),n=r&&r.getOptions(),{routingInstrumentation:a,startTransactionOnLocationChange:o,startTransactionOnPageLoad:i,markBackgroundTransactions:l,traceFetch:u,traceXHR:s,shouldCreateSpanForRequest:c,enableHTTPTimings:d,_experiments:f}=this.options,v=n&&n.tracePropagationTargets,g=v||this.options.tracePropagationTargets;rb&&this._hasSetTracePropagationTargets&&v&&j.kg.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),a(e=>{let r=this._createRouteTransaction(e);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(r,e,t),r},i,o),l&&ry(),f.enableInteractions&&this._registerInteractionListener(),this.options.enableInp&&this._registerInpInteractionListener(),nh({traceFetch:u,traceXHR:s,tracePropagationTargets:g,shouldCreateSpanForRequest:c,enableHTTPTimings:d})}_createRouteTransaction(e){let t;if(!this._getCurrentHub){rb&&j.kg.warn(`[Tracing] Did not create ${e.op} transaction because _getCurrentHub is invalid.`);return}let r=this._getCurrentHub(),{beforeNavigate:n,idleTimeout:a,finalTimeout:o,heartbeatInterval:i}=this.options,l="pageload"===e.op;if(l){let r=l?nw("sentry-trace"):"",n=l?nw("baggage"):void 0,{traceId:a,dsc:o,parentSpanId:i,sampled:u}=(0,rh.pT)(r,n);t={traceId:a,parentSpanId:i,parentSampled:u,...e,metadata:{...e.metadata,dynamicSamplingContext:o},trimEnd:!0}}else t={trimEnd:!0,...e};let u="function"==typeof n?n(t):t,s=void 0===u?{...t,sampled:!1}:u;s.metadata=s.name!==t.name?{...s.metadata,source:"custom"}:s.metadata,this._latestRoute.name=s.name,this._latestRoute.context=s,!1===s.sampled&&rb&&j.kg.log(`[Tracing] Will not send ${s.op} transaction because of beforeNavigate.`),rb&&j.kg.log(`[Tracing] Starting ${s.op} transaction on scope`);let{location:c}=r_,d=rp(r,s,a,o,!0,{location:c},i,l);return l&&(r_.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(r_.document.readyState)&&d.sendAutoFinishSignal()}),["interactive","complete"].includes(r_.document.readyState)&&d.sendAutoFinishSignal()),d.registerBeforeFinishCallback(e=>{this._collectWebVitals(),nd(e)}),d}_registerInteractionListener(){let e;let t=()=>{let{idleTimeout:t,finalTimeout:r,heartbeatInterval:n}=this.options,a="ui.action.click",o=ru();if(o&&o.op&&["navigation","pageload"].includes(o.op)){rb&&j.kg.warn(`[Tracing] Did not create ${a} transaction because a pageload or navigation transaction is in progress.`);return}if(e&&(e.setFinishReason("interactionInterrupted"),e.end(),e=void 0),!this._getCurrentHub){rb&&j.kg.warn(`[Tracing] Did not create ${a} transaction because _getCurrentHub is invalid.`);return}if(!this._latestRoute.name){rb&&j.kg.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}let i=this._getCurrentHub(),{location:l}=r_;e=rp(i,{name:this._latestRoute.name,op:a,trimEnd:!0,data:{[t1]:this._latestRoute.context?function(e){let t=e.attributes&&e.attributes[t1],r=e.data&&e.data[t1],n=e.metadata&&e.metadata.source;return t||r||n}(this._latestRoute.context):"url"}},t,r,!0,{location:l},n)};["click"].forEach(e=>{addEventListener(e,t,{once:!1,capture:!0})})}_registerInpInteractionListener(){let e=({entries:e})=>{let t=(0,S.s3)(),r=void 0!==t&&void 0!==t.getIntegrationByName?t.getIntegrationByName("Replay"):void 0,n=void 0!==r?r.getReplayId():void 0,a=ru(),o=(0,S.nZ)(),i=void 0!==o?o.getUser():void 0;e.forEach(e=>{if("duration"in e){let t=e.interactionId;if(void 0===t)return;let r=this._interactionIdToRouteNameMapping[t],o=e.duration,l=e.startTime,u=Object.keys(this._interactionIdToRouteNameMapping),s=u.length>0?u.reduce((e,t)=>this._interactionIdToRouteNameMapping[e].durationthis._interactionIdToRouteNameMapping[e]).some(e=>e.duration===o&&e.startTime===l))&&t){if(r)r.duration=Math.max(r.duration,o);else if(u.length<10||void 0===s||o>this._interactionIdToRouteNameMapping[s].duration){let e=this._latestRoute.name,r=this._latestRoute.context;e&&r&&(s&&Object.keys(this._interactionIdToRouteNameMapping).length>=10&&delete this._interactionIdToRouteNameMapping[s],this._interactionIdToRouteNameMapping[t]={routeName:e,duration:o,parentContext:r,user:i,activeTransaction:a,replayId:n,startTime:l})}}}})};rQ("event",e),rQ("first-input",e)}}function nw(e){let t=(0,e_.qT)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}let nx={...ro,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!1,_experiments:{},...nm},nE=(e={})=>{let t=!!rb&&!!(e.tracePropagationTargets||e.tracingOrigins);rm(),!e.tracePropagationTargets&&e.tracingOrigins&&(e.tracePropagationTargets=e.tracingOrigins);let r={...nx,...e},n=ni(),a={};r.enableInp&&ns(a),r.enableLongTask&&nl(),r._experiments.enableInteractions&&nu();let o={name:void 0,context:void 0};function i(e){let t;let a=(0,I.Gd)(),{beforeStartSpan:i,idleTimeout:l,finalTimeout:u,heartbeatInterval:s}=r,c="pageload"===e.op;if(c){let r=c?nO("sentry-trace"):"",n=c?nO("baggage"):void 0,{traceId:a,dsc:o,parentSpanId:i,sampled:l}=(0,rh.pT)(r,n);t={traceId:a,parentSpanId:i,parentSampled:l,...e,metadata:{...e.metadata,dynamicSamplingContext:o},trimEnd:!0}}else t={trimEnd:!0,...e};let d=i?i(t):t;d.metadata=d.name!==t.name?{...d.metadata,source:"custom"}:d.metadata,o.name=d.name,o.context=d,!1===d.sampled&&rb&&j.kg.log(`[Tracing] Will not send ${d.op} transaction because of beforeNavigate.`),rb&&j.kg.log(`[Tracing] Starting ${d.op} transaction on scope`);let{location:f}=r_,v=rp(a,d,l,u,!0,{location:f},s,c);return c&&r_.document&&(r_.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(r_.document.readyState)&&v.sendAutoFinishSignal()}),["interactive","complete"].includes(r_.document.readyState)&&v.sendAutoFinishSignal()),v.registerBeforeFinishCallback(e=>{n(),nd(e)}),v}return{name:"BrowserTracing",setupOnce:()=>{},afterAllSetup(e){let n;let l=e.getOptions(),{markBackgroundSpan:u,traceFetch:s,traceXHR:c,shouldCreateSpanForRequest:d,enableHTTPTimings:f,_experiments:v}=r,g=l&&l.tracePropagationTargets,p=g||r.tracePropagationTargets;rb&&t&&g&&j.kg.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.");let m=r_.location&&r_.location.href;e.on&&(e.on("startNavigationSpan",e=>{n&&(rb&&j.kg.log(`[Tracing] Finishing current transaction with op: ${(0,t0.XU)(n).op}`),n.end()),n=i({op:"navigation",...e})}),e.on("startPageLoadSpan",e=>{n&&(rb&&j.kg.log(`[Tracing] Finishing current transaction with op: ${(0,t0.XU)(n).op}`),n.end()),n=i({op:"pageload",...e})})),r.instrumentPageLoad&&e.emit&&r_.location&&nT(e,{name:r_.location.pathname,startTimestamp:tR.Z1?tR.Z1/1e3:void 0,origin:"auto.pageload.browser",attributes:{[t1]:"url"}}),r.instrumentNavigation&&e.emit&&r_.location&&e4(({to:t,from:r})=>{if(void 0===r&&m&&-1!==m.indexOf(t)){m=void 0;return}r!==t&&(m=void 0,nS(e,{name:r_.location.pathname,origin:"auto.navigation.browser",attributes:{[t1]:"url"}}))}),u&&ry(),v.enableInteractions&&function(e,t){let r;let n=()=>{let{idleTimeout:n,finalTimeout:a,heartbeatInterval:o}=e,i="ui.action.click",l=ru();if(l&&l.op&&["navigation","pageload"].includes(l.op)){rb&&j.kg.warn(`[Tracing] Did not create ${i} transaction because a pageload or navigation transaction is in progress.`);return}if(r&&(r.setFinishReason("interactionInterrupted"),r.end(),r=void 0),!t.name){rb&&j.kg.warn(`[Tracing] Did not create ${i} transaction because _latestRouteName is missing.`);return}let{location:u}=r_,s={name:t.name,op:i,trimEnd:!0,data:{[t1]:t.context?function(e){let t=e.attributes&&e.attributes[t1],r=e.data&&e.data[t1],n=e.metadata&&e.metadata.source;return t||r||n}(t.context):"url"}};r=rp((0,I.Gd)(),s,n,a,!0,{location:u},o)};["click"].forEach(e=>{addEventListener(e,n,{once:!1,capture:!0})})}(r,o),r.enableInp&&function(e,t){let r=({entries:r})=>{let n=(0,S.s3)(),a=void 0!==n&&void 0!==n.getIntegrationByName?n.getIntegrationByName("Replay"):void 0,o=void 0!==a?a.getReplayId():void 0,i=ru(),l=(0,S.nZ)(),u=void 0!==l?l.getUser():void 0;r.forEach(r=>{if("duration"in r){let n=r.interactionId;if(void 0===n)return;let a=e[n],l=r.duration,s=r.startTime,c=Object.keys(e),d=c.length>0?c.reduce((t,r)=>e[t].duratione[t]).some(e=>e.duration===l&&e.startTime===s))&&n){if(a)a.duration=Math.max(a.duration,l);else if(c.length<10||void 0===d||l>e[d].duration){let r=t.name,a=t.context;r&&a&&(d&&Object.keys(e).length>=10&&delete e[d],e[n]={routeName:r,duration:l,parentContext:a,user:u,activeTransaction:i,replayId:o,startTime:s})}}}})};rQ("event",r),rQ("first-input",r)}(a,o),nh({traceFetch:s,traceXHR:c,tracePropagationTargets:p,shouldCreateSpanForRequest:d,enableHTTPTimings:f})},options:r}};function nT(e,t){if(!e.emit)return;e.emit("startPageLoadSpan",t);let r=rt();return"pageload"===(r&&(0,t0.XU)(r).op)?r:void 0}function nS(e,t){if(!e.emit)return;e.emit("startNavigationSpan",t);let r=rt();return"navigation"===(r&&(0,t0.XU)(r).op)?r:void 0}function nO(e){let t=(0,e_.qT)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}let nC={"routing.instrumentation":"next-app-router"};var nM=r(11163),nj=r.n(nM);let nP="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,nA={"routing.instrumentation":"next-pages-router"},nI=(0,S.s3)();function nN(e,t=!0,r=!0,n,a){en.document.getElementById("__NEXT_DATA__")?function(e,t=!0,r=!0,n,a){let{route:o,params:i,sentryTrace:l,baggage:u}=function(){let e;let t=en.document.getElementById("__NEXT_DATA__");if(t&&t.innerHTML)try{e=JSON.parse(t.innerHTML)}catch(e){nP&&j.kg.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let r={},{page:n,query:a,props:o}=e;return r.route=n,r.params=a,o&&o.pageProps&&(r.sentryTrace=o.pageProps._sentryTraceData,r.baggage=o.pageProps._sentryBaggage),r}(),{traceparentData:s,dynamicSamplingContext:c,propagationContext:d}=(0,rh.KA)(l,u);if((0,S.nZ)().setPropagationContext(d),_=o||en.location.pathname,t){let t={name:_,op:"pageload",origin:"auto.pageload.nextjs.pages_router_instrumentation",tags:nA,startTimestamp:tR.Z1?tR.Z1/1e3:void 0,...i&&nI&&nI.getOptions().sendDefaultPii&&{data:i},...s,metadata:{source:o?"route":"url",dynamicSamplingContext:s&&!c?{}:c}};b=e(t),n(t)}r&&nj().events.on("routeChangeStart",t=>{let r,n;let o=t.split(/[\?#]/,1)[0],i=function(e){let t=(en.__BUILD_MANIFEST||{}).sortedPages;if(t)return t.find(t=>{let r=function(e){let t=e.split("/"),r="";t[t.length-1].match(/^\[\[\.\.\..+\]\]$/)&&(t.pop(),r="(?:/(.+?))?");let n=t.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${n}${r}(?:/)?$`)}(t);return e.match(r)})}(o);i?(r=i,n="route"):(r=o,n="url");let l={...nA,from:_};_=r,b&&b.end();let u={name:r,op:"navigation",origin:"auto.navigation.nextjs.pages_router_instrumentation",tags:l,metadata:{source:n}},s=e(u);if(a(u),s){let e=s.startChild({op:"ui.nextjs.route-change",origin:"auto.ui.nextjs.pages_router_instrumentation",description:"Next.js Route Change"}),t=()=>{e.end(),nj().events.off("routeChangeComplete",t)};nj().events.on("routeChangeComplete",t)}})}(e,t,r,n||(()=>void 0),a||(()=>void 0)):function(e,t=!0,r=!0,n,a){let o;let i=en.location.pathname;if(t){let t={name:i,op:"pageload",origin:"auto.pageload.nextjs.app_router_instrumentation",tags:nC,startTimestamp:tR.Z1?tR.Z1/1e3:void 0,metadata:{source:"url"}};o=e(t),n(t)}r&&e0(t=>{if(void 0!==t.endTimestamp||"GET"!==t.fetchData.method)return;let r=function(e){if(!e[0]||"object"!=typeof e[0]||void 0===e[0].searchParams||!e[1]||"object"!=typeof e[1]||!("headers"in e[1]))return null;try{let t=e[0],r=e[1].headers;if("1"!==r.RSC||"1"===r["Next-Router-Prefetch"])return null;return{targetPathname:t.pathname}}catch(e){return null}}(t.args);if(null===r)return;let n=r.targetPathname,l={...nC,from:i};i=n,o&&o.end();let u={name:n,op:"navigation",origin:"auto.navigation.nextjs.app_router_instrumentation",tags:l,metadata:{source:"url"}};e(u),a(u)})}(e,t,r,n||(()=>void 0),a||(()=>void 0))}class nR extends nk{constructor(e){super({tracingOrigins:[...nm.tracingOrigins,/^(api\/)/],routingInstrumentation:nN,...e})}}let nL=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function n$(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let a=n>=0?e[n]:"/";a&&(t=`${a}/${t}`,r="/"===a.charAt(0))}return t=(function(e,t){let r=0;for(let t=e.length-1;t>=0;t--){let n=e[t];"."===n?e.splice(t,1):".."===n?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r--;r)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!r).join("/"),(r?"/":"")+t||"."}function nG(e){let t=0;for(;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}let nB="RewriteFrames",nD=(e={})=>{let t=e.root,r=e.prefix||"app:///",n=e.iteratee||(e=>{if(!e.filename)return e;let n=/^[a-zA-Z]:\\/.test(e.filename)||e.filename.includes("\\")&&!e.filename.includes("/"),a=/^\//.test(e.filename);if(n||a){var o;let a;let i=n?e.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):e.filename,l=t?function(e,t){e=n$(e).slice(1),t=n$(t).slice(1);let r=nG(e.split("/")),n=nG(t.split("/")),a=Math.min(r.length,n.length),o=a;for(let e=0;e1024?`${e.slice(-1024)}`:e,r=nL.exec(t);return r?r.slice(1):[]}(i)[2],o&&a.slice(-1*o.length)===o&&(a=a.slice(0,a.length-o.length)),a);e.filename=`${r}${l}`}return e});return{name:nB,setupOnce(){},processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t&&t.frames&&t.frames.map(e=>n(e))}}}})}}}catch(t){return e}}(t)),t}}};$(nB,nD);let nF=er.GLOBAL_OBJ,nH=e=>{let t=nF.__rewriteFramesAssetPrefixPath__||"";return nD({iteratee:e=>{try{let{origin:r}=new URL(e.filename);e.filename=tQ([e,"access",e=>e.filename,"optionalAccess",e=>e.replace,"call",e=>e(r,"app://"),"access",e=>e.replace,"call",e=>e(t,"")])}catch(e){}return e.filename&&e.filename.startsWith("app:///_next")&&(e.filename=decodeURI(e.filename)),e.filename&&e.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(e.in_app=!1),e},...e})},nZ=er.GLOBAL_OBJ;function nU(e){let t=e.find(e=>"BrowserTracing"===e.name);if(!t)return e;if(t.afterAllSetup&&t.options){let{options:r}=t;e[e.indexOf(t)]=new nR(r)}if(!(t instanceof nR)){let r=t.options;delete r.routingInstrumentation,delete r.tracingOrigins,e[e.indexOf(t)]=new nR(r)}return e}({...th});var nW=r(34155),nV=window;nV.__sentryRewritesTunnelPath__=void 0,nV.SENTRY_RELEASE={id:"9f3bdfc4fa6ff2667f1cbfc78329587001830f78"},nV.__sentryBasePath=void 0,nV.__rewriteFramesAssetPrefixPath__="/template-nextjs";let nX=nW.env.SENTRY_DSN||"https://5097055d921644e7b8899c37d9e90780@sentry.incubateur.net/159",nz=nW.env.SENTRY_ENV||"production";!function(e){let t={environment:function(e){let t=e?tK.env.NEXT_PUBLIC_VERCEL_ENV:tK.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}(!0)||"production",defaultIntegrations:function(e){let t=[...tY,nH()];return("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&O(e)&&t.push(function(e){let t=nE({tracingOrigins:[...nm.tracingOrigins,/^(api\/)/],...e,instrumentNavigation:!1,instrumentPageLoad:!1});return{...t,afterAllSetup(r){let n=e=>{nT(r,e)},a=e=>{nS(r,e)};nN(()=>void 0,!1,tQ([e,"optionalAccess",e=>e.instrumentNavigation]),n,a),t.afterAllSetup(r),nN(()=>void 0,tQ([e,"optionalAccess",e=>e.instrumentPageLoad]),!1,n,a)}}}()),t}(e),...e};(function(e){let{integrations:t}=e;t&&(Array.isArray(t)?e.integrations=nU(t):e.integrations=e=>nU(t(e)))})(t),function(e){let t=nZ.__sentryRewritesTunnelPath__;if(t&&e.dsn){let r=ty(e.dsn);if(!r)return;let n=r.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(n){let a=n[1],o=n[2],i=`${t}?o=${a}&p=${r.projectId}`;o&&(i+=`&r=${o}`),e.tunnel=i,nP&&j.kg.info(`Tunneling events to "${i}"`)}else nP&&j.kg.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(t),T(t,"nextjs",["nextjs","react"]),function(e){let t={...e};T(t,"react"),function(e={}){void 0===e.defaultIntegrations&&(e.defaultIntegrations=[...tY]),void 0===e.release&&("string"==typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),en.SENTRY_RELEASE&&en.SENTRY_RELEASE.id&&(e.release=en.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0),function(e,t){!0===t.debug&&(P.X?j.kg.enable():(0,j.Cf)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,S.nZ)().update(t.initialScope);let r=new e(t);(function(e){let t=(0,I.Gd)().getStackTop();t.client=e,t.scope.setClient(e)})(r),r.init?r.init():r.setupIntegrations&&r.setupIntegrations()}(tL,{...e,stackParser:(0,el.Sq)(e.stackParser||tW),integrations:function(e){let t=e.defaultIntegrations||[],r=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let n=function(e){let t={};return e.forEach(e=>{let{name:r}=e,n=t[r];n&&!n.isDefaultInstance&&e.isDefaultInstance||(t[r]=e)}),Object.keys(t).map(e=>t[e])}(Array.isArray(r)?[...t,...r]:"function"==typeof r?(0,M.lE)(r(t)):t),a=function(e,t){for(let r=0;r"Debug"===e.name);if(-1!==a){let[e]=n.splice(a,1);n.push(e)}return n}(e),transport:e.transport||(eK()?tq:tJ)}),e.autoSessionTracking&&function(){if(void 0===en.document){ey&&j.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}(0,S.yj)({ignoreDuration:!0}),(0,S.cg)(),e4(({from:e,to:t})=>{void 0!==e&&e!==t&&((0,S.yj)({ignoreDuration:!0}),(0,S.cg)())})}()}(t)}(t);let r=(0,S.nZ)();r.setTag("runtime","browser");let n=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;n.id="NextClient404Filter",r.addEventProcessor(n)}({dsn:null!=nX?nX:"",environment:null!=nz?nz:"development",tracesSampleRate:.1})},93809:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(98267).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98267:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return o}});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}}let a=globalThis.AsyncLocalStorage;function o(){return a?new a:new n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},51770:function(e,t,r){"use strict";function n(e){}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clientHookInServerComponentError",{enumerable:!0,get:function(){return n}}),r(38754),r(67294),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},56612:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return g},useSearchParams:function(){return p},usePathname:function(){return m},ServerInsertedHTMLContext:function(){return s.ServerInsertedHTMLContext},useServerInsertedHTML:function(){return s.useServerInsertedHTML},useRouter:function(){return h},useParams:function(){return b},useSelectedLayoutSegments:function(){return _},useSelectedLayoutSegment:function(){return y},redirect:function(){return c.redirect},permanentRedirect:function(){return c.permanentRedirect},RedirectType:function(){return c.RedirectType},notFound:function(){return d.notFound}});let n=r(67294),a=r(26216),o=r(50349),i=r(51770),l=r(48865),u=r(75160),s=r(50594),c=r(47573),d=r(29249),f=Symbol("internal for urlsearchparams readonly");function v(){return Error("ReadonlyURLSearchParams cannot be modified")}class g{[Symbol.iterator](){return this[f][Symbol.iterator]()}append(){throw v()}delete(){throw v()}set(){throw v()}sort(){throw v()}constructor(e){this[f]=e,this.entries=e.entries.bind(e),this.forEach=e.forEach.bind(e),this.get=e.get.bind(e),this.getAll=e.getAll.bind(e),this.has=e.has.bind(e),this.keys=e.keys.bind(e),this.values=e.values.bind(e),this.toString=e.toString.bind(e),this.size=e.size}}function p(){(0,i.clientHookInServerComponentError)("useSearchParams");let e=(0,n.useContext)(o.SearchParamsContext);return(0,n.useMemo)(()=>e?new g(e):null,[e])}function m(){return(0,i.clientHookInServerComponentError)("usePathname"),(0,n.useContext)(o.PathnameContext)}function h(){(0,i.clientHookInServerComponentError)("useRouter");let e=(0,n.useContext)(a.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function b(){(0,i.clientHookInServerComponentError)("useParams");let e=(0,n.useContext)(a.GlobalLayoutRouterContext),t=(0,n.useContext)(o.PathParamsContext);return(0,n.useMemo)(()=>(null==e?void 0:e.tree)?function e(t,r){for(let n of(void 0===r&&(r={}),Object.values(t[1]))){let t=n[0],a=Array.isArray(t),o=a?t[1]:t;!o||o.startsWith(u.PAGE_SEGMENT_KEY)||(a&&("c"===t[2]||"oc"===t[2])?r[t[0]]=t[1].split("/"):a&&(r[t[0]]=t[1]),r=e(n,r))}return r}(e.tree):t,[null==e?void 0:e.tree,t])}function _(e){void 0===e&&(e="children"),(0,i.clientHookInServerComponentError)("useSelectedLayoutSegments");let{tree:t}=(0,n.useContext)(a.LayoutRouterContext);return function e(t,r,n,a){let o;if(void 0===n&&(n=!0),void 0===a&&(a=[]),n)o=t[1][r];else{var i;let e=t[1];o=null!=(i=e.children)?i:Object.values(e)[0]}if(!o)return a;let s=o[0],c=(0,l.getSegmentValue)(s);return!c||c.startsWith(u.PAGE_SEGMENT_KEY)?a:(a.push(c),e(o,r,!1,a))}(t,e)}function y(e){void 0===e&&(e="children"),(0,i.clientHookInServerComponentError)("useSelectedLayoutSegment");let t=_(e);return 0===t.length?null:t[0]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29249:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{notFound:function(){return n},isNotFoundError:function(){return a}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function a(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52445:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}}),(n=r||(r={}))[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},47573:function(e,t,r){"use strict";var n,a;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return s},redirect:function(){return c},permanentRedirect:function(){return d},isRedirectError:function(){return f},getURLFromRedirectError:function(){return v},getRedirectTypeFromError:function(){return g},getRedirectStatusCodeFromError:function(){return p}});let o=r(67714),i=r(93809),l=r(52445),u="NEXT_REDIRECT";function s(e,t,r){void 0===r&&(r=l.RedirectStatusCode.TemporaryRedirect);let n=Error(u);n.digest=u+";"+t+";"+e+";"+r+";";let a=o.requestAsyncStorage.getStore();return a&&(n.mutableCookies=a.mutableCookies),n}function c(e,t){void 0===t&&(t="replace");let r=i.actionAsyncStorage.getStore();throw s(e,t,(null==r?void 0:r.isAction)?l.RedirectStatusCode.SeeOther:l.RedirectStatusCode.TemporaryRedirect)}function d(e,t){void 0===t&&(t="replace");let r=i.actionAsyncStorage.getStore();throw s(e,t,(null==r?void 0:r.isAction)?l.RedirectStatusCode.SeeOther:l.RedirectStatusCode.PermanentRedirect)}function f(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r,n,a]=e.digest.split(";",4),o=Number(a);return t===u&&("replace"===r||"push"===r)&&"string"==typeof n&&!isNaN(o)&&o in l.RedirectStatusCode}function v(e){return f(e)?e.digest.split(";",3)[2]:null}function g(e){if(!f(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function p(e){if(!f(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(a=n||(n={})).push="push",a.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67714:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(98267).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48865:function(e,t){"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},13412:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PrefetchKind:function(){return r},ACTION_REFRESH:function(){return a},ACTION_NAVIGATE:function(){return o},ACTION_RESTORE:function(){return i},ACTION_SERVER_PATCH:function(){return l},ACTION_PREFETCH:function(){return u},ACTION_FAST_REFRESH:function(){return s},ACTION_SERVER_ACTION:function(){return c},isThenable:function(){return d}});let a="refresh",o="navigate",i="restore",l="server-patch",u="prefetch",s="fast-refresh",c="server-action";function d(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(n=r||(r={})).AUTO="auto",n.FULL="full",n.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96504:function(e,t,r){"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(10282),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63480:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});let n=r(38754),a=r(85893),o=n._(r(67294)),i=r(7950),l=r(87387),u=r(76982),s=r(56921),c=r(97727),d=r(1973),f=r(26216),v=r(61722),g=r(96504),p=r(90634),m=r(13412),h=new Set;function b(e,t,r,n,a,o){if(o||(0,l.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let a=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(h.has(a))return;h.add(a)}Promise.resolve(o?e.prefetch(t,a):e.prefetch(t,r,n)).catch(e=>{})}}function _(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let y=o.default.forwardRef(function(e,t){let r,n;let{href:u,as:h,children:y,prefetch:k=null,passHref:w,replace:x,shallow:E,scroll:T,locale:S,onClick:O,onMouseEnter:C,onTouchStart:M,legacyBehavior:j=!1,...P}=e;r=y,j&&("string"==typeof r||"number"==typeof r)&&(r=(0,a.jsx)("a",{children:r}));let A=o.default.useContext(d.RouterContext),I=o.default.useContext(f.AppRouterContext),N=null!=A?A:I,R=!A,L=!1!==k,$=null===k?m.PrefetchKind.AUTO:m.PrefetchKind.FULL,{href:G,as:B}=o.default.useMemo(()=>{if(!A){let e=_(u);return{href:e,as:h?_(h):e}}let[e,t]=(0,i.resolveHref)(A,u,!0);return{href:e,as:h?(0,i.resolveHref)(A,h):t||e}},[A,u,h]),D=o.default.useRef(G),F=o.default.useRef(B);j&&(n=o.default.Children.only(r));let H=j?n&&"object"==typeof n&&n.ref:t,[Z,U,W]=(0,v.useIntersection)({rootMargin:"200px"}),V=o.default.useCallback(e=>{(F.current!==B||D.current!==G)&&(W(),F.current=B,D.current=G),Z(e),H&&("function"==typeof H?H(e):"object"==typeof H&&(H.current=e))},[B,H,G,W,Z]);o.default.useEffect(()=>{N&&U&&L&&b(N,G,B,{locale:S},{kind:$},R)},[B,G,U,S,L,null==A?void 0:A.locale,N,R,$]);let X={ref:V,onClick(e){j||"function"!=typeof O||O(e),j&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),N&&!e.defaultPrevented&&function(e,t,r,n,a,i,u,s,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,l.isLocalURL)(r)))return;e.preventDefault();let f=()=>{let e=null==u||u;"beforePopState"in t?t[a?"replace":"push"](r,n,{shallow:i,locale:s,scroll:e}):t[a?"replace":"push"](n||r,{scroll:e})};c?o.default.startTransition(f):f()}(e,N,G,B,x,E,T,S,R)},onMouseEnter(e){j||"function"!=typeof C||C(e),j&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),N&&(L||!R)&&b(N,G,B,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:$},R)},onTouchStart(e){j||"function"!=typeof M||M(e),j&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),N&&(L||!R)&&b(N,G,B,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:$},R)}};if((0,s.isAbsoluteUrl)(B))X.href=B;else if(!j||w||"a"===n.type&&!("href"in n.props)){let e=void 0!==S?S:null==A?void 0:A.locale,t=(null==A?void 0:A.isLocaleDomain)&&(0,g.getDomainLocale)(B,e,null==A?void 0:A.locales,null==A?void 0:A.domainLocales);X.href=t||(0,p.addBasePath)((0,c.addLocale)(B,e,null==A?void 0:A.defaultLocale))}return j?o.default.cloneElement(n,X):(0,a.jsx)("a",{...P,...X,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},61722:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let n=r(67294),a=r(39126),o="function"==typeof IntersectionObserver,i=new Map,l=[];function u(e){let{rootRef:t,rootMargin:r,disabled:u}=e,s=u||!o,[c,d]=(0,n.useState)(!1),f=(0,n.useRef)(null),v=(0,n.useCallback)(e=>{f.current=e},[]);return(0,n.useEffect)(()=>{if(o){if(s||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:a,elements:o}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=l.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=i.get(n)))return t;let a=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=a.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:a},l.push(r),i.set(r,t),t}(r);return o.set(e,t),a.observe(e),function(){if(o.delete(e),a.unobserve(e),0===o.size){a.disconnect(),i.delete(n);let e=l.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!c){let e=(0,a.requestIdleCallback)(()=>d(!0));return()=>(0,a.cancelIdleCallback)(e)}},[s,r,t,c,f.current]),[v,c,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50594:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return a},useServerInsertedHTML:function(){return o}});let n=r(61757)._(r(67294)),a=n.default.createContext(null);function o(e){let t=(0,n.useContext)(a);t&&t(e)}},58457:function(e,t,r){"use strict";let n;r.r(t),r.d(t,{augmentDocumentWithEmotionCache:function(){return eD},default:function(){return eW},dsfrDocumentApi:function(){return eG}});var a=r(85893),o=r(67294),i=r(9008),l=r.n(i),u=r(41664),s=r.n(u),c=r(11163),d=r(8417);r(39332);var f=r(6498);function v(e,t){if(!e)throw Error(t)}var g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r},p=r(7544),m=r.n(p),h=r(77988),b=r(77458);let _=e=>{let{defaultColorScheme:t,nonce:r="",trustedTypesPolicyName:n}=e;return'\n{\n\n window.ssrWasPerformedWithIsDark = "'.concat(t,'" === "dark";\n const sanitizer = typeof trustedTypes !== "undefined" ? trustedTypes.createPolicy("').concat(n,'-asap", { createHTML: s => s }) : {\n createHTML: s => s,\n };\n \n const isDark = (() => {\n \n const isDarkExplicitlyProvidedAsParameter = (() => {\n if ("').concat(t,'" === "system") {\n return undefined;\n }\n \n switch ("').concat(t,'") {\n case "dark": return true;\n case "light": return false;\n }\n })();\n \n const isDarkFromLocalStorage = (() => {\n const colorSchemeReadFromLocalStorage = localStorage.getItem("scheme");\n \n if (colorSchemeReadFromLocalStorage === null) {\n return undefined;\n }\n \n if (colorSchemeReadFromLocalStorage === "system") {\n return undefined;\n }\n \n switch (colorSchemeReadFromLocalStorage) {\n case "dark":\n return true;\n case "light":\n return false;\n }\n })();\n \n const isDarkFromOsPreference = (() => {\n if (!window.matchMedia) {\n return undefined;\n }\n \n return window.matchMedia("(prefers-color-scheme: dark)").matches;\n })();\n \n const isDarkFallback = false;\n \n return (\n isDarkFromLocalStorage ??\n isDarkExplicitlyProvidedAsParameter ??\n isDarkFromOsPreference ??\n isDarkFallback\n );\n \n })();\n \n ["').concat(h.g6,'", "').concat(h.dG,'"].forEach(attr => document.documentElement.setAttribute(attr, isDark ? "dark" : "light"));\n\n {\n\n let element= document.getElementById("').concat(h.Zx,'");\n\n if( element !== null ){\n element.remove()\n }\n\n element = document.createElement("style");\n\n if ("').concat(r,'" !== "") {\n element.setAttribute("nonce", "').concat(r,'");\n }\n\n element.id = "').concat(h.Zx,'";\n\n element.innerHTML = sanitizer.createHTML(`:root { color-scheme: ${isDark ? "dark" : "light"}; }`);\n\n document.head.appendChild(element);\n\n }\n\n {\n\n const name = "theme-color";\n\n let element = document.querySelector(`meta[name=${name}]`);\n \n if( element !== null ){\n element.remove();\n }\n\n element = document.createElement("meta");\n\n element.name = name;\n\n element.content = isDark ? "').concat(b.fr.colors.getHex({isDark:!0}).decisions.background.default.grey.default,'" : "').concat(b.fr.colors.getHex({isDark:!1}).decisions.background.default.grey.default,'";\n\n document.head.appendChild(element);\n\n }\n\n}\n')};var y=r(97687),k=r(34098),w=r(66317);let x={"Marianne-Light":r.p+"static/media/Marianne-Light.3b7ead04.woff2","Marianne-Light_Italic":r.p+"static/media/Marianne-Light_Italic.575f7383.woff2","Marianne-Regular":r.p+"static/media/Marianne-Regular.119b3a3e.woff2","Marianne-Regular_Italic":r.p+"static/media/Marianne-Regular_Italic.db8a6f8b.woff2","Marianne-Medium":r.p+"static/media/Marianne-Medium.452138fa.woff2","Marianne-Medium_Italic":r.p+"static/media/Marianne-Medium_Italic.937c39e5.woff2","Marianne-Bold":r.p+"static/media/Marianne-Bold.f0ef9bad.woff2","Marianne-Bold_Italic":r.p+"static/media/Marianne-Bold_Italic.24e72eef.woff2","Spectral-Regular":r.p+"static/media/Spectral-Regular.d09028d7.woff2","Spectral-ExtraBold":r.p+"static/media/Spectral-ExtraBold.adc3633a.woff2"};var E={src:"/template-nextjs/_next/static/media/apple-touch-icon.1db30588.png",height:180,width:180,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAS1BMVEX////ygIM0NKfs7Pfd3fHmHSIcHJ3iAwX9+vsAAI+0tN9oaL/00tTzmJv87u87O6rrVFj84eJBQa6EhMukpNjR0OpKSrLmKi7orK1P482tAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAPUlEQVR4nBXKxxHAMAwEsVU8UpJz7L9Sj/EG7ktiPMJrxgjCI8Ar4p7BRuE8EsYm7t6wsIraL+Yi0f5rkz5A/AHPT3zajwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},T={src:"/template-nextjs/_next/static/media/favicon.f453a8cf.svg",height:1080,width:1080,blurWidth:0,blurHeight:0},S={src:"/template-nextjs/_next/static/media/favicon.8c087985.ico",height:48,width:48,blurWidth:0,blurHeight:0};function O(e){return"string"==typeof e?e:e.src}var C=r(62613),M=r(12132),j=r(34774);class P{constructor(){let e,t;this.isPending=!0,this.pr=new Promise((r,n)=>{e=e=>{(0,j.overwriteReadonlyProp)(this,"isPending",!1),r(e)},t=e=>{(0,j.overwriteReadonlyProp)(this,"isPending",!1),n(e)}}),this.resolve=e,this.reject=t}}let A=!1;async function I(e){let{defaultColorScheme:t,verbose:n,nextParams:a,doCheckNonce:o,trustedTypesPolicyName:i}=e;if((0,C.assert)(k.j),A)return;A=!0;let l=void 0===a?e=>e():a.registerEffectAction;(0,M.H)({colorSchemeExplicitlyProvidedAsParameter:t,doPersistDarkModePreferenceWithCookie:void 0!==a&&a.doPersistDarkModePreferenceWithCookie,registerEffectAction:l,doCheckNonce:o,trustedTypesPolicyName:i}),window.dsfr={verbose:n,mode:"react"},await r.e(263).then(r.t.bind(r,60263,23)),N.resolve(),l(()=>{window.dsfr.start()})}let N=new P;N.pr;var R=r(63434),L=r(16094);r(31849);var $=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};function G(e){let t=Object.fromEntries(e.split(/; */).map(e=>e.split("=")).map(e=>{let[t,r]=e;return[t,decodeURIComponent(r)]}));if(h.dG in t)switch(t[h.dG]){case"light":return!1;case"dark":return!0;default:return}}var B=r(80405),D=r(60129),F=r(68342),H=r(15198),Z=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let U=(0,o.memo)((0,o.forwardRef)((e,t)=>{let{id:r,className:a,classes:i={},contentDescription:l,websiteMapLinkProps:u,accessibilityLinkProps:s,accessibility:c,termsLinkProps:d,bottomItems:f=[],partnersLogos:v,operatorLogo:g,license:p,brandTop:m,homeLinkProps:h,style:_,linkList:y,domains:k=["legifrance.gouv.fr","gouvernement.fr","service-public.fr","data.gouv.fr"]}=e,w=Z(e,["id","className","classes","contentDescription","websiteMapLinkProps","accessibilityLinkProps","accessibility","termsLinkProps","bottomItems","partnersLogos","operatorLogo","license","brandTop","homeLinkProps","style","linkList","domains"]);(0,C.assert)();let{brandTop:x,homeLinkProps:E}=(()=>{let e=n,t=null!=m?m:null==e?void 0:e.brandTop,r=null!=h?h:null==e?void 0:e.homeLinkProps,a=" hasn't been provided to the Footer and we cannot retrieve it from the Header (it's probably client side)";if(void 0===t)throw Error((0,B.r)({brandTop:t})+a);if(void 0===r)throw Error((0,B.r)({homeLinkProps:r})+a);return{brandTop:t,homeLinkProps:r}})(),{Link:T}=(0,R.R)(),{t:S}=W(),{main:O,sub:M=[]}=null!=v?v:{};return o.createElement("footer",Object.assign({id:null!=r?r:"fr-footer",className:(0,D.cx)(b.fr.cx("fr-footer"),i.root,a),role:"contentinfo",ref:t,style:_},w),void 0!==y&&o.createElement("div",{className:b.fr.cx("fr-footer__top")},o.createElement("div",{className:b.fr.cx("fr-container")},o.createElement("div",{className:b.fr.cx("fr-grid-row","fr-grid-row--gutters")},y.map((e,t)=>void 0!==e&&o.createElement("div",{key:"fr-footer__top-cat-".concat(t),className:b.fr.cx("fr-col-12","fr-col-sm-3","fr-col-md-2")},(null==e?void 0:e.categoryName)&&o.createElement("h3",{className:b.fr.cx("fr-footer__top-cat")},null==e?void 0:e.categoryName),o.createElement("ul",{className:b.fr.cx("fr-footer__top-list")},null==e?void 0:e.links.map((e,t)=>o.createElement("li",{key:"fr-footer__top-link-".concat(t)},o.createElement(T,Object.assign({},null==e?void 0:e.linkProps,{className:b.fr.cx("fr-footer__top-link")}),null==e?void 0:e.text))))))))),o.createElement("div",{className:b.fr.cx("fr-container")},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__body"),i.body)},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__brand","fr-enlarge-link"),i.brand)},(()=>{let e=o.createElement("p",{className:(0,D.cx)(b.fr.cx("fr-logo"),i.logo)},x);return void 0!==g?e:o.createElement(T,Object.assign({},E),e)})(),void 0!==g&&o.createElement(T,Object.assign({},E,{className:(0,D.cx)(b.fr.cx("fr-footer__brand-link"),i.brandLink,E.className)}),o.createElement("img",{className:(0,D.cx)(b.fr.cx("fr-footer__logo"),i.operatorLogo),style:(()=>{switch(g.orientation){case"vertical":return{width:"3.5rem"};case"horizontal":return{maxWidth:"9.0625rem"}}})(),src:g.imgUrl,alt:g.alt}))),o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__content"),i.content)},void 0!==l&&o.createElement("p",{className:(0,D.cx)(b.fr.cx("fr-footer__content-desc"),i.contentDesc)},l),o.createElement("ul",{className:(0,D.cx)(b.fr.cx("fr-footer__content-list"),i.contentList)},k.map((e,t)=>o.createElement("li",{className:(0,D.cx)(b.fr.cx("fr-footer__content-item"),i.contentItem),key:t},o.createElement("a",{className:(0,D.cx)(b.fr.cx("fr-footer__content-link"),i.contentLink),target:"_blank",href:"https://".concat(e),title:"".concat(e," - ").concat(S("open new window"))},e)))))),void 0!==v&&o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__partners"),i.partners)},o.createElement("h4",{className:(0,D.cx)(b.fr.cx("fr-footer__partners-title"),i.partnersTitle)},S("our partners")),o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__partners-logos"),i.partnersLogos)},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__partners-main"),i.partnersMain)},void 0!==O&&(()=>{var e,t;let r=o.createElement("img",{alt:O.alt,style:{height:"5.625rem"},src:O.imgUrl,className:(0,D.cx)(b.fr.cx("fr-footer__logo"),i.logo)});return void 0!==O.linkProps||void 0!==O.href?o.createElement(T,Object.assign({},O.linkProps,{href:null!==(e=O.href)&&void 0!==e?e:null===(t=O.linkProps)||void 0===t?void 0:t.href,className:(0,D.cx)(b.fr.cx("fr-footer__partners-link","fr-raw-link"),i.partnersLink)}),r):r})()),0!==M.length&&o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__partners-sub"),i.partnersSub)},o.createElement("ul",null,M.map((e,t)=>{var r,n;let a=o.createElement("img",{alt:e.alt,src:e.imgUrl,style:{height:"5.625rem"},className:(0,D.cx)(b.fr.cx("fr-footer__logo"),i.logo)}),l=void 0!==e.linkProps||void 0!==e.href;return o.createElement("li",{key:t},l?o.createElement(T,Object.assign({},e.linkProps,{href:null!==(r=e.href)&&void 0!==r?r:null===(n=e.linkProps)||void 0===n?void 0:n.href,className:(0,D.cx)(b.fr.cx("fr-footer__partners-link","fr-raw-link"),i.partnersLink)}),a):a)}))))),o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__bottom"),i.bottom)},o.createElement("ul",{className:(0,D.cx)(b.fr.cx("fr-footer__bottom-list"),i.bottomList)},[...void 0===u?[]:[(0,H.id)({text:S("website map"),linkProps:u})],(0,H.id)({text:"".concat(S("accessibility"),": ").concat(S(c)),linkProps:null!=s?s:{}}),...void 0===d?[]:[(0,H.id)({text:S("terms"),linkProps:d})],...f].map((e,t)=>o.createElement("li",{className:(0,D.cx)(b.fr.cx("fr-footer__bottom-item"),i.bottomItem,a),key:t},(0,F.z)(e,e instanceof Object&&"text"in e)?o.createElement(X,{classes:{bottomLink:i.bottomLink},bottomItem:e}):e))),o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__bottom-copy"),i.bottomCopy)},o.createElement("p",null,void 0===p?S("license mention",{licenseUrl:"https://github.com/etalab/licence-ouverte/blob/master/LO.md"}):p)))))}));U.displayName=(0,B.r)({Footer:U});let{useTranslation:W,addFooterTranslations:V}=(0,L.Lf)({componentName:(0,B.r)({Footer:U}),frMessages:{"hide message":"Masquer le message","website map":"Plan du site",accessibility:"Accessibilit\xe9","non compliant":"non conforme","partially compliant":"partiellement conforme","fully compliant":"totalement conforme",terms:"Mentions l\xe9gales","cookies management":"Gestion des cookies","license mention":e=>o.createElement(o.Fragment,null,"Sauf mention explicite de propri\xe9t\xe9 intellectuelle d\xe9tenue par des tiers, les contenus de ce site sont propos\xe9s sous"," ",o.createElement("a",{href:e.licenseUrl,target:"_blank",title:"licence etalab-2.0 - ouvre une nouvelle fen\xeatre"},"licence etalab-2.0")),"our partners":"Nos partenaires","open new window":"ouvre une nouvelle fen\xeatre"}});function X(e){let{className:t,bottomItem:r,classes:n={}}=e,{Link:a}=(0,R.R)(),i=(0,D.cx)(b.fr.cx("fr-footer__bottom-link",...void 0!==r.iconId?[r.iconId,"fr-link--icon-left"]:[]),n.bottomLink,n.root,t);return void 0!==r.linkProps?0===Object.keys(r.linkProps).length?o.createElement("span",{className:i},r.text):o.createElement(a,Object.assign({},r.linkProps,{className:(0,D.cx)(i,r.linkProps.className)}),r.text):o.createElement("button",Object.assign({},r.buttonProps,{className:(0,D.cx)(i,r.buttonProps.className)}),r.text)}function z(e){let{text:t,fallback:r}=e;if("string"!=typeof t||""===t)return void 0!==r?"-".concat(r):"";let n=t.replace(/\s+/g,"");return n=n.replace(/[^a-zA-Z0-9]/g,"_"),"-".concat(n)}V({lang:"en",messages:{"hide message":"Hide the message","website map":"Website map",accessibility:"Accessibility","non compliant":"non compliant","partially compliant":"partially compliant","fully compliant":"fully compliant","license mention":e=>o.createElement(o.Fragment,null,"Unless stated otherwise, all content of this website is under the"," ",o.createElement("a",{href:e.licenseUrl,target:"_blank",title:"etalab-2.0 license - open a new window"},"etalab-2.0 license")),"open new window":"open new window"}}),V({lang:"es",messages:{"hide message":"Occultar el mesage"}});var q=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let J=(0,o.memo)((0,o.forwardRef)((e,t)=>{let{id:r,classes:n={},style:a,links:i}=e,l=q(e,["id","classes","style","links"]);(0,C.assert)();let{Link:u}=(0,R.R)();return o.createElement("div",Object.assign({className:(0,D.cx)(b.fr.cx("fr-menu"),n.root),style:a,id:r,ref:t},l),o.createElement("ul",{className:(0,D.cx)(b.fr.cx("fr-menu__list"),n.list)},i.map((e,t)=>{var n;let{text:a,linkProps:i,isActive:l=!1}=e;return o.createElement("li",{key:t},o.createElement(u,Object.assign({},i,{id:null!==(n=i.id)&&void 0!==n?n:"".concat(r,"-link").concat(z({text:a}),"-").concat(t),className:(0,D.cx)(b.fr.cx("fr-nav__link"),i.className)},l&&{"aria-current":"page"}),a))})))}));J.displayName=(0,B.r)({Menu:J});var Y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let K=(0,o.memo)((0,o.forwardRef)((e,t)=>{var r;let{id:n,classes:a={},style:i,leader:l,categories:u}=e,s=Y(e,["id","classes","style","leader","categories"]);(0,C.assert)();let{t:c}=Q(),{Link:d}=(0,R.R)();return o.createElement("div",Object.assign({className:(0,D.cx)(b.fr.cx("fr-mega-menu"),a.root),style:i,tabIndex:-1,id:n,ref:t},s),o.createElement("div",{className:b.fr.cx("fr-container","fr-container--fluid","fr-container-lg")},o.createElement("button",{className:b.fr.cx("fr-link--close","fr-link"),"aria-controls":"mega-menu-775"},c("close")),o.createElement("div",{className:b.fr.cx("fr-grid-row","fr-grid-row-lg--gutters")},void 0!==l&&o.createElement("div",{className:b.fr.cx("fr-col-12","fr-col-lg-8","fr-col-offset-lg-4--right","fr-mb-4v")},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-mega-menu__leader"),a.leader)},o.createElement("h4",{className:b.fr.cx("fr-h4","fr-mb-2v")},l.title),o.createElement("p",{className:b.fr.cx("fr-hidden","fr-displayed-lg")},l.paragraph),void 0!==l.link&&o.createElement(d,Object.assign({},l.link.linkProps,{id:null!==(r=l.link.linkProps.id)&&void 0!==r?r:"".concat(n,"-leader-link").concat(z({text:l.link.text})),className:(0,D.cx)(b.fr.cx("fr-link","fr-icon-arrow-right-line","fr-link--icon-right","fr-link--align-on-content"),l.link.linkProps.className)}),l.link.text))),u.map((e,t)=>{var r;let{categoryMainLink:i,links:l}=e;return o.createElement("div",{className:b.fr.cx("fr-col-12","fr-col-lg-3"),key:t},o.createElement("h5",{className:(0,D.cx)(b.fr.cx("fr-mega-menu__category"),a.category)},o.createElement(d,Object.assign({},i.linkProps,{id:null!==(r=i.linkProps.id)&&void 0!==r?r:"".concat(n,"-category-link").concat(z({text:i.text}),"-").concat(t),className:(0,D.cx)(b.fr.cx("fr-nav__link"),i.linkProps.className)}),i.text)),o.createElement("ul",{className:(0,D.cx)(b.fr.cx("fr-mega-menu__list"),a.list)},l.map((e,r)=>{var a;let{linkProps:i,text:l,isActive:u}=e;return o.createElement("li",{key:r},o.createElement(d,Object.assign({},i,{id:null!==(a=i.id)&&void 0!==a?a:"".concat(n,"-link").concat(z({text:l}),"-").concat(t,"-").concat(r),className:(0,D.cx)(b.fr.cx("fr-nav__link"),i.className)},u?{"aria-current":"page"}:{}),l))})))}))))}));K.displayName=(0,B.r)({MegaMenu:K});let{useTranslation:Q,addMegaMenuTranslations:ee}=(0,L.Lf)({componentName:(0,B.r)({MegaMenu:K}),frMessages:{close:"Fermer"}});ee({lang:"en",messages:{close:"Close"}});var et=r(59272),er=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let en=(0,o.memo)((0,o.forwardRef)((e,t)=>{let{className:r,items:n,classes:a={},style:i,id:l}=e,u=er(e,["className","items","classes","style","id"]);(0,C.assert)();let{t:s}=ea(),{Link:c}=(0,R.R)(),d=(0,et.t)({explicitlyProvidedId:l,defaultIdPrefix:"main-navigation"}),f=e=>"".concat(d,"-menu-").concat(e);return o.createElement("nav",Object.assign({id:d,className:(0,D.cx)(b.fr.cx("fr-nav"),a.root,r),style:i,role:"navigation","aria-label":s("main menu"),ref:t},u),o.createElement("ul",{className:(0,D.cx)(b.fr.cx("fr-nav__list"),a.list)},n.map((e,t)=>{var r,n;let{className:i,text:l,isActive:u=!1,linkProps:s,menuLinks:v=[],megaMenu:g,buttonProps:p={}}=e;return o.createElement("li",{key:t,className:(0,D.cx)(b.fr.cx("fr-nav__item"),a.item,i)},void 0!==s?o.createElement(c,Object.assign({},s,{id:null!==(r=s.id)&&void 0!==r?r:"".concat(d,"-link-").concat(t),className:(0,D.cx)(b.fr.cx("fr-nav__link"),a.link,s.className)},u&&{"aria-current":"page"}),l):o.createElement(o.Fragment,null,o.createElement("button",Object.assign({},p,{id:null!==(n=p.id)&&void 0!==n?n:"".concat(d,"-button-").concat(t),className:(0,D.cx)(b.fr.cx("fr-nav__btn"),p.className,a.btn),"aria-expanded":!1,"aria-controls":f(t)},u&&{"aria-current":!0}),l),0!==v.length&&o.createElement(J,{classes:{root:(0,D.cx)(b.fr.cx("fr-collapse"),a.root),list:a.menuList},links:v,id:f(t)}),void 0!==g&&o.createElement(K,{classes:{root:(0,D.cx)(b.fr.cx("fr-collapse"),a.megaMenu),leader:a.megaMenuLeader,category:a.megaMenuCategory,list:a.menuList},id:f(t),leader:g.leader,categories:g.categories})))})))}));en.displayName=(0,B.r)({MainNavigation:en});let{useTranslation:ea,addMainNavigationTranslations:eo}=(0,L.Lf)({componentName:(0,B.r)({MainNavigation:en}),frMessages:{"main menu":"Menu principal"}});eo({lang:"en",messages:{"main menu":"Main menu"}});var ei={src:"/template-nextjs/_next/static/media/light.f5239a67.svg",height:80,width:80,blurWidth:0,blurHeight:0},el={src:"/template-nextjs/_next/static/media/dark.d3c138d0.svg",height:80,width:80,blurWidth:0,blurHeight:0},eu={src:"/template-nextjs/_next/static/media/system.0b703235.svg",height:80,width:80,blurWidth:0,blurHeight:0},es=r(78570),ec=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let ed=(0,o.memo)((0,o.forwardRef)((e,t)=>{let{className:r,id:n,title:a,children:i,concealingBackdrop:l=!0,topAnchor:u=!1,iconId:s,buttons:c,size:d="medium",style:f}=e;ec(e,["className","id","title","children","concealingBackdrop","topAnchor","iconId","buttons","size","style"]),(0,C.assert)();let v=void 0===c?void 0:c instanceof Array?c:[c],{t:g}=ef(),p="fr-modal-title-".concat(n);return o.createElement("dialog",{"aria-labelledby":p,role:"dialog",id:n,className:(0,D.cx)(b.fr.cx("fr-modal",u&&"fr-modal--top"),r),style:f,ref:t,"data-fr-concealing-backdrop":l},o.createElement("div",{className:b.fr.cx("fr-container","fr-container--fluid","fr-container-md")},o.createElement("div",{className:b.fr.cx("fr-grid-row","fr-grid-row--center")},o.createElement("div",{className:(()=>{switch(d){case"large":return b.fr.cx("fr-col-12","fr-col-md-10","fr-col-lg-8");case"small":return b.fr.cx("fr-col-12","fr-col-md-6","fr-col-lg-4");case"medium":return b.fr.cx("fr-col-12","fr-col-md-8","fr-col-lg-6")}})()},o.createElement("div",{className:b.fr.cx("fr-modal__body")},o.createElement("div",{className:b.fr.cx("fr-modal__header")},o.createElement("button",{className:b.fr.cx("fr-btn--close","fr-btn"),title:g("close"),"aria-controls":n,type:"button"},g("close"))),o.createElement("div",{className:b.fr.cx("fr-modal__content")},o.createElement("h1",{id:p,className:b.fr.cx("fr-modal__title")},void 0!==s&&o.createElement("span",{className:b.fr.cx(s,"fr-fi--lg")}),a),i),void 0!==v&&o.createElement("div",{className:"fr-modal__footer"},o.createElement("ul",{className:b.fr.cx("fr-btns-group","fr-btns-group--right","fr-btns-group--inline-reverse","fr-btns-group--inline-lg","fr-btns-group--icon-left")},[...v].reverse().map((e,t)=>{var r,{doClosesModal:a=!0}=e,i=ec(e,["doClosesModal"]);return o.createElement("li",{key:t},o.createElement(es.Z,Object.assign({},i,{priority:null!==(r=i.priority)&&void 0!==r?r:0===t?"primary":"secondary"},a?"linkProps"in i?{linkProps:Object.assign(Object.assign({},i.linkProps),{"aria-controls":n})}:{nativeButtonProps:Object.assign(Object.assign({},i.nativeButtonProps),{"aria-controls":n})}:{})))}))))))))}));ed.displayName=(0,B.r)({Modal:ed});let{useTranslation:ef,addModalTranslations:ev}=(0,L.Lf)({componentName:(0,B.r)({Modal:ed}),frMessages:{close:"Fermer"}});ev({lang:"en",messages:{close:"Close"}}),ev({lang:"es",messages:{close:"Cerrar"}});let eg=function(e){let{isOpenedByDefault:t,id:r}=e,n={id:"".concat(r,"-control-button"),"aria-controls":r,"data-fr-opened":t},a="".concat(r,"-hidden-control-button");function i(e){return o.createElement(o.Fragment,null,o.createElement(es.Z,{nativeButtonProps:Object.assign(Object.assign({},n),{id:a,type:"button",tabIndex:-1,"aria-hidden":!0}),className:b.fr.cx("fr-hidden")}," "),o.createElement(ed,Object.assign({},e,{id:r})))}return i.displayName="".concat(r,"-modal"),(0,j.overwriteReadonlyProp)(i,"name",i.displayName),{Component:i,buttonProps:n,open:function(){let e=document.getElementById(r);window.dsfr(e).modal.disclose()},close:function(){let e=document.getElementById(r);window.dsfr(e).modal.conceal()},isOpenedByDefault:t,id:r}}({isOpenedByDefault:!1,id:"fr-theme-modal"}),ep={buttonProps:eg.buttonProps,iconId:"fr-icon-theme-fill",text:o.createElement(function(){let{t:e}=eh();return o.createElement(o.Fragment,null,e("display settings"))},null)};function em(){let{t:e}=eh(),{getInputId:t}=function(){let e=(0,o.useId)();return{getInputId:function(t){return"".concat(e,"-").concat(t)}}}();return o.createElement(eg.Component,{title:e("display settings"),size:"small"},o.createElement("div",{className:"fr-display"},o.createElement("div",{className:b.fr.cx("fr-form-group")},o.createElement("fieldset",{className:b.fr.cx("fr-fieldset")},o.createElement("legend",{className:b.fr.cx("fr-fieldset__legend","fr-text--regular")},e("pick a theme")),o.createElement("div",{className:b.fr.cx("fr-fieldset__content")},["light","dark","system"].map(r=>o.createElement("div",{key:r,className:b.fr.cx("fr-radio-group","fr-radio-rich")},o.createElement("input",{value:r,type:"radio",id:t(r),name:"fr-radios-theme"}),o.createElement("label",{className:"fr-label",htmlFor:t(r)},e("".concat(r," theme")),"system"===r&&o.createElement("span",{className:b.fr.cx("fr-hint-text")},e("system theme hint"))),o.createElement("div",{className:b.fr.cx("fr-radio-rich__img")},o.createElement("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"80px",height:"80px",viewBox:"0 0 80 80"},["artwork-decorative","artwork-minor","artwork-major"].map(e=>o.createElement("use",{key:e,className:b.fr.cx("fr-".concat(e)),xlinkHref:"".concat(O((()=>{switch(r){case"dark":return el;case"light":return ei;case"system":return eu}})()),"#").concat(e)})))))))))))}em.displayName=(0,B.r)({Display:em});let{useTranslation:eh,addDisplayTranslations:eb}=(0,L.Lf)({componentName:(0,B.r)({Display:em}),frMessages:{"display settings":"Param\xe8tres d'affichage",close:"Fermer","pick a theme":"Choisissez un th\xe8me pour personnaliser l'apparence du site.","light theme":"Th\xe8me clair","dark theme":"Th\xe8me sombre","system theme":"Syst\xe8me.","system theme hint":"Utilise les param\xe8tres syst\xe8me."}});eb({lang:"en",messages:{"display settings":"Display settings",close:"Close","pick a theme":"Pick a theme to customize the website's look.","light theme":"Light theme","dark theme":"Dark theme","system theme":"System.","system theme hint":"Use system preference"}}),eb({lang:"es",messages:{"display settings":"Par\xe1metro de visualizaci\xf3n",close:"Cerrar","pick a theme":"Elija un tema para personalizar el aspecto del sitio."}}),r(6087);var e_=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let ey=(0,o.memo)((0,o.forwardRef)((e,t)=>{let{className:r,id:n,label:a,big:i=!1,classes:l={},style:u,renderInput:s=e=>{let{className:t,id:r,placeholder:n,type:a}=e;return o.createElement("input",{className:t,id:r,placeholder:n,type:a})},clearInputOnSearch:c=!1,allowEmptySearch:d=!1,onButtonClick:f}=e,v=e_(e,["className","id","label","big","classes","style","renderInput","clearInputOnSearch","allowEmptySearch","onButtonClick"]);(0,C.assert)();let{t:g}=ek(),p=null!=a?a:g("label"),m=(0,et.t)({defaultIdPrefix:"fr-search-bar",explicitlyProvidedId:n}),h="search-".concat(m,"-input");return o.createElement("div",Object.assign({id:m,className:(0,D.cx)(b.fr.cx("fr-search-bar",i&&"fr-search-bar--lg"),l.root,r),role:"search",ref:t,style:u},v),o.createElement("label",{className:(0,D.cx)(b.fr.cx("fr-label"),l.label),htmlFor:h},p),s({className:b.fr.cx("fr-input"),placeholder:p,type:"search",id:h}),o.createElement(eT,{clearInputOnSearch:c,id:"".concat(m,"-button"),searchInputId:h,allowEmptySearch:d,onClick:f}))}));ey.displayName=(0,B.r)({SearchBar:ey});let{useTranslation:ek,addSearchBarTranslations:ew}=(0,L.Lf)({componentName:(0,B.r)({SearchBar:ey}),frMessages:{label:"Rechercher"}});ew({lang:"en",messages:{label:"Search"}});var ex=r(47286),eE=r(26463);function eT(e){let{searchInputId:t,clearInputOnSearch:r,allowEmptySearch:n,onClick:a,id:i}=e,{t:l}=ek(),[,u]=(0,o.useReducer)(e=>e+1,0),[{focusInputElement:s,getInputValue:c,resetInputValue:d,getIsInputFocused:f},v]=(0,o.useState)(()=>({getInputValue:(0,H.id)(()=>""),resetInputValue:(0,H.id)(()=>{}),focusInputElement:(0,H.id)(()=>{}),getIsInputFocused:(0,H.id)(()=>!1)})),g=(0,eE.O)(()=>{let e=c();if(!n&&""===e){s();return}null==a||a(e),r&&d()}),p=void 0===a;return((0,o.useEffect)(()=>{let e=document.getElementById(t);(0,C.assert)(null!==e,"".concat(t," should be mounted")),(0,C.assert)("value"in e&&"string"==typeof e.value,"".concat(t," is not an HTML input")),(0,C.assert)((0,ex.is)(e)),v({focusInputElement:()=>e.focus(),getInputValue:()=>e.value,resetInputValue:()=>e.value="",getIsInputFocused:()=>document.activeElement===e});let r=[];{let{cleanup:t}=function(e){let{inputElement:t,callback:r}=e,n=[];{let e=Object.getOwnPropertyDescriptor(t,"value");n.push(()=>{(0,C.assert)(void 0!==e),Object.defineProperty(t,"value",e)});let a=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),"value");Object.defineProperty(t,"value",{get:function(){for(var e=arguments.length,t=Array(e),r=0;r{let e=()=>{r()};return n.push(()=>t.removeEventListener("input",e)),e})()),t.addEventListener("keydown",(()=>{let e=e=>{if("Escape"===e.key){let e=setTimeout(()=>{n.splice(n.indexOf(t),1),r()},50),t=()=>{clearTimeout(e)};n.push(t)}};return n.push(()=>t.removeEventListener("keyup",e)),e})()),{cleanup:function(){n.forEach(e=>e())}}}({inputElement:e,callback:()=>u()});r.push(t)}return p&&(e.addEventListener("focus",(()=>{let t=()=>u();return r.push(()=>e.removeEventListener("focus",t)),t})()),e.addEventListener("blur",(()=>{let t=()=>u();return r.push(()=>e.removeEventListener("blur",t)),t})())),p||(e.addEventListener("keydown",(()=>{let t=t=>{"Enter"===t.key&&(g(),e.blur())};return r.push(()=>e.removeEventListener("keydown",t)),t})()),e.addEventListener("keydown",(()=>{let t=t=>{"Escape"===t.key&&e.blur()};return r.push(()=>e.removeEventListener("keydown",t)),t})())),()=>{r.forEach(e=>e())}},[t,p]),void 0===a&&(f()||""!==c()))?null:o.createElement("button",{id:i,className:b.fr.cx("fr-btn"),title:l("label"),onClick:g,style:void 0!==a?void 0:{position:"absolute",right:0}},l("label"))}var eS=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let eO=(0,o.memo)((0,o.forwardRef)((e,t)=>{let{className:r,id:a,brandTop:i,serviceTitle:l,serviceTagline:u,homeLinkProps:s,navigation:c,quickAccessItems:d=[],operatorLogo:f,renderSearchInput:v,clearSearchInputOnSearch:g=!1,allowEmptySearch:p=!1,onSearchButtonClick:m,classes:h={},style:_}=e,y=eS(e,["className","id","brandTop","serviceTitle","serviceTagline","homeLinkProps","navigation","quickAccessItems","operatorLogo","renderSearchInput","clearSearchInputOnSearch","allowEmptySearch","onSearchButtonClick","classes","style"]);(0,C.assert)();let k=null!=a?a:"fr-header",w="".concat("header-menu-modal","-").concat(k),x="".concat(k,"-menu-button"),E="".concat(k,"-search-modal"),T="".concat(k,"-search-input"),S=void 0!==v||void 0!==m;n={brandTop:i,homeLinkProps:s};let{t:O}=eC(),{t:M}=ek(),{Link:j}=(0,R.R)(),P=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return o.createElement("ul",{className:b.fr.cx("fr-btns-group")},d.map((t,r)=>o.createElement("li",{key:r},(0,F.z)(t,t instanceof Object&&"text"in t)?o.createElement(ej,{id:"".concat(k,"-quick-access-item-").concat(z({fallback:"",text:"".concat(t.text).concat(e?"-".concat(e):"")}),"-").concat(r),quickAccessItem:t}):t)))},A=(null==f?void 0:f.linkProps)!==void 0;return o.createElement(o.Fragment,null,o.createElement(em,null),o.createElement("header",Object.assign({role:"banner",id:k,className:(0,D.cx)(b.fr.cx("fr-header"),h.root,r),ref:t,style:_},y),o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__body"),h.body)},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-container"),h.container)},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__body-row"),h.bodyRow)},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__brand",!A&&"fr-enlarge-link"),h.brand)},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__brand-top"),h.brandTop)},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__logo"),h.logo)},(()=>{let e=o.createElement("p",{className:b.fr.cx("fr-logo")},i);return void 0!==l?e:o.createElement(j,Object.assign({},s),e)})()),void 0!==f&&o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__operator",A&&"fr-enlarge-link"),h.operator)},(()=>{let e=o.createElement("img",{className:(0,D.cx)(b.fr.cx("fr-responsive-img"),h.operator),style:(()=>{switch(f.orientation){case"vertical":return{width:"3.5rem"};case"horizontal":return{maxWidth:"9.0625rem"}}})(),src:f.imgUrl,alt:f.alt});return A?o.createElement(j,Object.assign({},f.linkProps),e):e})()),(d.length>0||void 0!==c||S)&&o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__navbar"),h.navbar)},S&&o.createElement("button",{id:"".concat(k,"-search-button"),className:b.fr.cx("fr-btn--search","fr-btn"),"data-fr-opened":!1,"aria-controls":E,title:M("label")},M("label")),o.createElement("button",{className:b.fr.cx("fr-btn--menu","fr-btn"),"data-fr-opened":"false","aria-controls":w,"aria-haspopup":"menu",id:x,title:O("menu")},O("menu")))),void 0!==l&&o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__service",A&&"fr-enlarge-link"),h.service)},o.createElement(j,Object.assign({},s),o.createElement("p",{className:(0,D.cx)(b.fr.cx("fr-header__service-title"),h.serviceTitle)},l)),void 0!==u&&o.createElement("p",{className:(0,D.cx)(b.fr.cx("fr-header__service-tagline"),h.serviceTagline)},u))),(d.length>0||S)&&o.createElement("div",{className:b.fr.cx("fr-header__tools")},d.length>0&&o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__tools-links"),h.toolsLinks)},P()),S&&o.createElement("div",{className:b.fr.cx("fr-header__search","fr-modal"),id:E},o.createElement("div",{className:b.fr.cx("fr-container","fr-container-lg--fluid")},o.createElement("button",{id:"".concat(k,"-search-button"),className:b.fr.cx("fr-btn--close","fr-btn"),"aria-controls":E,title:O("close")},O("close")),o.createElement("div",{className:b.fr.cx("fr-search-bar"),role:"search"},o.createElement("label",{className:b.fr.cx("fr-label"),htmlFor:T},M("label")),(null!=v?v:e=>{let{className:t,id:r,placeholder:n,type:a}=e;return o.createElement("input",{className:t,id:r,placeholder:n,type:a})})({className:b.fr.cx("fr-input"),id:T,placeholder:M("label"),type:"search"}),o.createElement(eT,{id:"".concat(k,"-search-bar-button"),searchInputId:T,onClick:m,clearInputOnSearch:g,allowEmptySearch:p})))))))),(void 0!==c||0!==d.length)&&o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__menu","fr-modal"),h.menu),id:w,"aria-labelledby":x},o.createElement("div",{className:b.fr.cx("fr-container")},o.createElement("button",{id:"".concat(k,"-mobile-overlay-button-close"),className:b.fr.cx("fr-btn--close","fr-btn"),"aria-controls":w,title:O("close")},O("close")),o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__menu-links"),h.menuLinks)},P("mobile")),void 0!==c&&(c instanceof Array?o.createElement(en,{id:"".concat(k,"-main-navigation"),items:c}):c)))))}));eO.displayName=(0,B.r)({Header:eO});let{useTranslation:eC,addHeaderTranslations:eM}=(0,L.Lf)({componentName:(0,B.r)({Header:eO}),frMessages:{menu:"Menu",close:"Fermer"}});function ej(e){let{id:t,className:r,quickAccessItem:n}=e,{Link:a}=(0,R.R)(),i=function(){var e;let r=(0,o.useId)();return null!==(e=null!=t?t:void 0!==n.linkProps?n.linkProps.id:n.buttonProps.id)&&void 0!==e?e:"fr-header-quick-access-item".concat(z({text:n.text,fallback:r}))}();return void 0!==n.linkProps?o.createElement(a,Object.assign({},n.linkProps,{id:i,className:(0,D.cx)(b.fr.cx("fr-btn",n.iconId),n.linkProps.className,r)}),n.text):o.createElement("button",Object.assign({},n.buttonProps,{id:i,className:(0,D.cx)(b.fr.cx("fr-btn",n.iconId),n.buttonProps.className,r)}),n.text)}eM({lang:"en",messages:{close:"Close"}});var eP=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let eA=(0,o.memo)((0,o.forwardRef)((e,t)=>{let{className:r,classes:n={},links:a,style:i,id:l}=e,u=eP(e,["className","classes","links","style","id"]),{t:s}=eI();(0,C.assert)();let c=(0,et.t)({defaultIdPrefix:"fr-skiplinks",explicitlyProvidedId:l});return o.createElement("div",Object.assign({id:c,className:(0,D.cx)(b.fr.cx("fr-skiplinks"),n.root,r),ref:t,style:i},u),o.createElement("nav",{className:b.fr.cx("fr-container"),role:"navigation","aria-label":s("label")},o.createElement("ul",{className:(0,D.cx)(b.fr.cx("fr-skiplinks__list"),n.list)},a&&a.map(e=>o.createElement("li",{key:e.anchor},o.createElement("a",{className:(0,D.cx)(b.fr.cx("fr-link"),n.link),href:e.anchor},e.label))))))}));eA.displayName=(0,B.r)({SkipLinks:eA});let{useTranslation:eI,addSkipLinksTranslations:eN}=(0,L.Lf)({componentName:(0,B.r)({SkipLinks:eA}),frMessages:{label:"Acc\xe8s rapide"}});eN({lang:"en",messages:{label:"Quick access"}}),eN({lang:"es",messages:{label:"Acceso rapido"}}),eN({lang:"de",messages:{label:"Schneller Zugang"}});var eR=r(46897),eL=r(96930);let{withDsfr:e$,dsfrDocumentApi:eG}=function(e){let{defaultColorScheme:t,verbose:n=!1,Link:a,preloadFonts:i=[],doPersistDarkModePreferenceWithCookie:u=!1,useLang:s,trustedTypesPolicyName:c="react-dsfr",doDisableFavicon:d=!1}=e,f=!1,v=[];void 0!==a&&(0,R.$)({Link:a}),void 0!==s&&(0,L.D5)({useLang:s}),k.j&&I({defaultColorScheme:t,verbose:n,doCheckNonce:!1,trustedTypesPolicyName:c,nextParams:{doPersistDarkModePreferenceWithCookie:u,registerEffectAction:e=>{f?e():v.push(e)}}});let g="dsfrIsDark";return{withDsfr:function(e){var r,n;function a(r){var n=r[g],a=$(r,["symbol"==typeof g?g:g+""]);return void 0===n&&(n=!!k.j&&null),(0,o.useEffect)(()=>{f||(f=!0,v.forEach(e=>e()))},[]),o.createElement(o.Fragment,null,o.createElement(l(),null,(0,w.Y)(x).filter(e=>i.includes(e)).map(e=>x[e]).map(e=>o.createElement("link",{key:e,rel:"preload",href:e,as:"font",crossOrigin:"anonymous"})),!d&&o.createElement(o.Fragment,null,o.createElement("link",{rel:"apple-touch-icon",href:O(E)}),o.createElement("link",{rel:"icon",href:O(T),type:"image/svg+xml"}),o.createElement("link",{rel:"shortcut icon",href:O(S),type:"image/x-icon"})),!k.j&&o.createElement(o.Fragment,null,o.createElement("style",{id:h.Zx},":root { color-scheme: ".concat(n?"dark":"light","; }")),o.createElement("meta",{name:"theme-color",content:b.fr.colors.getHex({isDark:n}).decisions.background.default.grey.default})),!k.j&&o.createElement("script",{dangerouslySetInnerHTML:{__html:_({defaultColorScheme:t,trustedTypesPolicyName:c,nonce:void 0})}})),k.j?o.createElement(e,Object.assign({},a)):o.createElement(y.Z,{value:n},o.createElement(e,Object.assign({},a))))}if(Object.keys(e).forEach(t=>a[t]=e[t]),u){let o=null!==(n=null===(r=e.getInitialProps)||void 0===r?void 0:r.bind(e))&&void 0!==n?n:m().getInitialProps.bind(m());a.getInitialProps=async e=>{var r;let n;let a=await o(e);return k.j||(n=null!==(r=(()=>{var t;let r=null===(t=e.ctx.req)||void 0===t?void 0:t.headers.cookie;return void 0===r?void 0:G(r)})())&&void 0!==r?r:(()=>{switch(t){case"dark":return!0;case"light":return!1;case"system":return}})()),Object.assign(Object.assign({},a),{[g]:n})}}return a.displayName=a.name,a},dsfrDocumentApi:{augmentDocumentForDsfr:function(e){var n;let a=null===(n=e.getInitialProps)||void 0===n?void 0:n.bind(e);void 0===a&&Promise.all([r.e(764),r.e(859)]).then(r.t.bind(r,56859,23)).then(e=>{let{default:t}=e;return a=t.getInitialProps.bind(t)}),e.getInitialProps=async e=>{let{isDark:r}=(()=>{var r,n;let a=G?null===(r=e.req)||void 0===r?void 0:r.headers.cookie:void 0;return{isDark:null!==(n=void 0===a?void 0:G(a))&&void 0!==n?n:(()=>{switch(t){case"light":return!1;case"dark":return!0;case"system":return}})()}})();{let t=e.renderPage;e.renderPage=e=>{var{enhanceApp:n}=e;return t(Object.assign(Object.assign({},$(e,["enhanceApp"])),{enhanceApp:e=>{var t;let a=null!==(t=null==n?void 0:n(e))&&void 0!==t?t:e;return function(e){return o.createElement(a,Object.assign({},Object.assign(Object.assign({},e),{[g]:r})))}}}))}}return(0,C.assert)(void 0!==a,"Default document not yet loaded. Please submit an issue to the tss-react repo"),Object.assign(Object.assign({},await a(e)),{[g]:r})}},getColorSchemeHtmlAttributes:function(e){let{[g]:t}=e;if(void 0===t)return{};let r=t?"dark":"light";return{[h.g6]:r,[h.dG]:r}}}}}({defaultColorScheme:"system",Link:s(),useLang:()=>{let{locale:e="fr"}=(0,c.useRouter)();return e},preloadFonts:["Marianne-Regular","Marianne-Medium","Marianne-Bold"]}),{withAppEmotionCache:eB,augmentDocumentWithEmotionCache:eD}=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.C,{prepend:n}=e,a=g(e,["prepend"]),i="".concat(e.key,"EmotionCache"),l="".concat(e.key,"-emotion-cache-insertion-point");return{withAppEmotionCache:function(e){let r;let n=()=>void 0!==r?r:r=(0,d.Z)(Object.assign(Object.assign({},a),{insertionPoint:(()=>{if(!("object"==typeof document&&"function"==typeof(null==document?void 0:document.getElementById)))return;let e=document.getElementById(l);return v(null!==e),e})()}));function u(r){let a=r[i],l=g(r,["symbol"==typeof i?i:i+""]);return o.createElement(t,{value:null!=a?a:n()},o.createElement(e,Object.assign({},l)))}return Object.keys(e).forEach(t=>u[t]=e[t]),u.displayName=u.name,u},augmentDocumentWithEmotionCache:function(t){var u;let s=null===(u=t.getInitialProps)||void 0===u?void 0:u.bind(t);void 0===s&&Promise.all([r.e(764),r.e(859)]).then(r.t.bind(r,56859,23)).then(e=>{let{default:t}=e;return s=t.getInitialProps.bind(t)});let c=Promise.all([r.e(764),r.e(524),r.e(726)]).then(r.bind(r,70888)).then(e=>{let{default:t}=e;return t});t.getInitialProps=t=>{var r,u,f,p;return r=this,u=void 0,f=void 0,p=function*(){let r=(0,d.Z)(a),u=(c instanceof Promise?yield c:c)(r),f=t.renderPage;t.renderPage=e=>{var{enhanceApp:t}=e;return f(Object.assign(Object.assign({},g(e,["enhanceApp"])),{enhanceApp:e=>{var n;let a=null!==(n=null==t?void 0:t(e))&&void 0!==n?n:e;return function(e){return o.createElement(a,Object.assign({},Object.assign(Object.assign({},e),{[i]:r})))}}}))},v(void 0!==s,"Default document not yet loaded. Please submit an issue to the tss-react repo");let p=yield s(t),m=[o.createElement("style",{id:l,key:l}),...u.extractCriticalToChunks(p.html).styles.filter(e=>{let{css:t}=e;return""!==t}).map(t=>o.createElement("style",{nonce:e.nonce,"data-emotion":"".concat(t.key," ").concat(t.ids.join(" ")),key:t.key,dangerouslySetInnerHTML:{__html:t.css}}))],h=o.Children.toArray(p.styles);return Object.assign(Object.assign({},p),{styles:n?[...m,...h]:[...h,...m]})},new(f||(f=Promise))(function(e,t){function n(e){try{o(p.next(e))}catch(e){t(e)}}function a(e){try{o(p.throw(e))}catch(e){t(e)}}function o(t){var r;t.done?e(t.value):((r=t.value)instanceof f?r:new f(function(e){e(r)})).then(n,a)}o((p=p.apply(r,u||[])).next())})}}}}({key:"css"}),eF=(0,a.jsxs)(a.Fragment,{children:["R\xe9publique",(0,a.jsx)("br",{}),"Fran\xe7aise"]}),eH={href:"/",title:"Accueil - Nom de l’entit\xe9 (minist\xe8re, secr\xe9tariat d'\xe9tat, gouvernement)"},eZ=[{text:"Conditions d'utilisation",linkProps:{href:"/cgu"}},{text:"Statistiques",linkProps:{href:"/stats"}},{text:"Budget",linkProps:{href:"/budget"}},{text:"Politique de confidentialit\xe9",linkProps:{href:"/politique-confidentialite"}},{text:"Aide",linkProps:{href:"/aide"}},{text:"Contribuer sur GitHub",linkProps:{href:"".concat("https://github.com/betagouv/template-nextjs").concat("/releases/tag/v".concat("1.15.8"))}}],eU=e=>{let{children:t}=e,r=(0,c.useRouter)(),n="\n default-src 'self' *.gouv.fr;\n img-src 'self' data: *.gouv.fr;\n script-src 'self' *.gouv.fr false;\n connect-src 'self' *.gouv.fr https://sentry.incubateur.net;\n frame-src 'self' *.gouv.fr;\n style-src 'self' 'unsafe-inline';\n font-src 'self' data: blob:;\n";return(0,a.jsxs)(eR.Wu,{children:[(0,a.jsxs)(l(),{children:[(0,a.jsx)("title",{children:"Template | beta.gouv.fr"}),n&&(0,a.jsx)("meta",{httpEquiv:"Content-Security-Policy",content:n}),(0,a.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,a.jsx)("meta",{name:"description",content:"Template Next.js beta.gouv.fr"})]}),(0,a.jsx)(eA,{links:[{anchor:"#fr-header-main-navigation",label:"Menu"},{anchor:"#content",label:"Contenu"},{anchor:"#fr-footer",label:"Pied de page"}]}),(0,a.jsx)(eO,{brandTop:eF,serviceTitle:"Nom du service num\xe9rique",serviceTagline:"Description du service num\xe9rique",homeLinkProps:eH,navigation:[{text:"Accueil",linkProps:{href:"/"},isActive:"/"===r.asPath},{text:"DSFR playground",linkProps:{href:"/dsfr"},isActive:"/dsfr"===r.asPath},{text:"Mui playground",linkProps:{href:"/mui"},isActive:"/mui"===r.asPath},{text:"Article",linkProps:{href:"/article"},isActive:"/article"===r.asPath}],quickAccessItems:[ep]}),(0,a.jsx)("div",{className:b.fr.cx("fr-container","fr-container--fluid","fr-p-5w"),id:"content",children:t}),(0,a.jsx)(U,{brandTop:eF,accessibility:"non compliant",contentDescription:"\n Ce message est \xe0 remplacer par les informations de votre site.\n\n Comme exemple de contenu, vous pouvez indiquer les informations \n suivantes : Le site officiel d’information administrative pour les entreprises.\n ",homeLinkProps:eH,license:"Sauf mention explicite de propri\xe9t\xe9 intellectuelle d\xe9tenue par des tiers, les contenus de ce site sont propos\xe9s sous licence ".concat("Apache-2.0"),accessibilityLinkProps:{href:"/accessibilite"},termsLinkProps:{href:"/mentions-legales"},bottomItems:[...eZ,ep]})]})};var eW=e$(eB(function(e){let{Component:t,pageProps:r}=e;return(0,o.useEffect)(()=>{(0,eL.init)({url:"https://stats.beta.gouv.fr",siteId:"124"})},[]),(0,a.jsx)("div",{style:{minHeight:"100vh",display:"flex",flexDirection:"column"},children:(0,a.jsx)(eU,{children:(0,a.jsx)(t,{...r})})})}))},31849:function(){},6087:function(){},9008:function(e,t,r){e.exports=r(6665)},41664:function(e,t,r){e.exports=r(63480)},39332:function(e,t,r){r(56612)},11163:function(e,t,r){e.exports=r(73035)},34155:function(e){var t,r,n,a=e.exports={};function o(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var u=[],s=!1,c=-1;function d(){s&&n&&(s=!1,n.length?u=n.concat(u):c=-1,u.length&&f())}function f(){if(!s){var e=l(d);s=!0;for(var t=u.length;t;){for(n=u,u=[];++c1)for(var r=1;r0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i};Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.AssertionError=void 0;var i=r(34774),l=r(29419),u=function(e){function t(t){var r=this.constructor,n=e.call(this,"Wrong assertion encountered"+(t?': "'.concat(t,'"'):""))||this;if(Object.setPrototypeOf(n,r.prototype),!n.stack)return n;try{(0,i.overwriteReadonlyProp)(n,"stack",n.stack.split("\n").filter(function(){for(var e=[],t=0;t=0||(a[r]=e[r]);return a}r.d(t,{Z:function(){return n}})}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(82217),t(6840),t(73035)}),_N_E=e.O()}]); -//# sourceMappingURL=_app-c31b7a699c6db291.js.map \ No newline at end of file +Error:`,t)}}function r5(){return rM(e=>{r0("cls",{metric:e}),c=e})}function r1(){return rN(e=>{r0("fid",{metric:e}),d=e})}function r2(){return rz(e=>{r0("lcp",{metric:e}),f=e})}function r7(){return rJ(e=>{r0("ttfb",{metric:e}),v=e})}function r9(){return rV(e=>{r0("inp",{metric:e}),g=e})}function r4(e,t,r,n,a=!1){let o;return r3(e,t),rK[e]||(o=r(),rK[e]=!0),n&&t({metric:n}),r6(e,t,a?o:void 0)}function r3(e,t){rY[e]=rY[e]||[],rY[e].push(t)}function r6(e,t,r){return()=>{r&&r();let n=rY[e];if(!n)return;let a=n.indexOf(t);-1!==a&&n.splice(a,1)}}function r8(e){return[{type:"span"},e]}function ne(e){return"number"==typeof e&&isFinite(e)}function nt(e,{startTimestamp:t,...r}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...r})}function nr(e){return e/1e3}function nn(){return r_&&r_.addEventListener&&r_.performance}let na=0,no={};function ni(){let e=nn();if(e&&tR.Z1){e.mark&&r_.performance.mark("sentry-tracing-init");let t=r4("fid",({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let r=nr(tR.Z1),n=nr(t.startTime);rb&&j.kg.log("[Measurements] Adding FID"),no.fid={value:e.value,unit:"millisecond"},no["mark.fid"]={value:r+n,unit:"second"}},r1,d),r=function(e,t=!1){return r4("cls",e,r5,c,t)}(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(rb&&j.kg.log("[Measurements] Adding CLS"),no.cls={value:e.value,unit:""},m=t)},!0),n=function(e,t=!1){return r4("lcp",e,r2,f,t)}(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(rb&&j.kg.log("[Measurements] Adding LCP"),no.lcp={value:e.value,unit:"millisecond"},p=t)},!0),a=r4("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(rb&&j.kg.log("[Measurements] Adding TTFB"),no.ttfb={value:e.value,unit:"millisecond"})},r7,v);return()=>{t(),r(),n(),a()}}return()=>void 0}function nl(){rQ("longtask",({entries:e})=>{for(let t of e){let e=ru();if(!e)return;let r=nr(tR.Z1+t.startTime),n=nr(t.duration);e.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:r,endTimestamp:r+n})}})}function nu(){rQ("event",({entries:e})=>{for(let t of e){let e=ru();if(!e)return;if("click"===t.name){let r=nr(tR.Z1+t.startTime),n=nr(t.duration),a={description:(0,e_.Rt)(t.target),op:`ui.interaction.${t.name}`,origin:"auto.ui.browser.metrics",startTimestamp:r,endTimestamp:r+n},o=(0,e_.iY)(t.target);o&&(a.attributes={"ui.component_name":o}),e.startChild(a)}}})}function ns(e){if(nn()&&tR.Z1){let t=r4("inp",({metric:t})=>{let r;if(void 0===t.value)return;let n=t.entries.find(e=>e.duration===t.value&&void 0!==nc[e.name]),a=(0,S.s3)();if(!n||!a)return;let o=nc[n.name],i=a.getOptions(),l=nr(tR.Z1+n.startTime),u=nr(t.value),s=void 0!==n.interactionId?e[n.interactionId]:void 0;if(void 0===s)return;let{routeName:c,parentContext:d,activeTransaction:f,user:v,replayId:g}=s,p=void 0!==v?v.email||v.id||v.ip_address:void 0,m=void 0!==f?f.getProfileId():void 0,h=new t8({startTimestamp:l,endTimestamp:l+u,op:`ui.interaction.${o}`,name:(0,e_.Rt)(n.target),attributes:{release:i.release,environment:i.environment,transaction:c,...void 0!==p&&""!==p?{user:p}:{},...void 0!==m?{profile_id:m}:{},...void 0!==g?{replay_id:g}:{}},exclusiveTime:t.value,measurements:{inp:{value:t.value,unit:"millisecond"}}}),b=!!O(i)&&(rf(r=void 0!==d&&"function"==typeof i.tracesSampler?i.tracesSampler({transactionContext:d,name:d.name,parentSampled:d.parentSampled,attributes:{...d.data,...d.attributes},location:r_.location}):void 0!==d&&void 0!==d.sampled?d.sampled:void 0!==i.tracesSampleRate?i.tracesSampleRate:1)?r:(rb&&j.kg.warn("[Tracing] Discarding transaction because of invalid sample rate."),!1));if(b&&Math.random(){rb&&j.kg.error("Error while sending interaction:",e)});return}},r9,g);return()=>{t()}}return()=>void 0}let nc={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function nd(e){let t=nn();if(!t||!r_.performance.getEntries||!tR.Z1)return;rb&&j.kg.log("[Tracing] Adding & adjusting spans using Performance API");let r=nr(tR.Z1),n=t.getEntries(),{op:a,start_timestamp:o}=(0,t0.XU)(e);if(n.slice(na).forEach(t=>{let n=nr(t.startTime),a=nr(t.duration);if("navigation"!==e.op||!o||!(r+n{nf(e,t,n,r)}),nf(e,t,"secureConnection",r,"TLS/SSL","connectEnd"),nf(e,t,"fetch",r,"cache","domainLookupStart"),nf(e,t,"domainLookup",r,"DNS"),t.responseEnd&&(nt(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:r+nr(t.requestStart),endTimestamp:r+nr(t.responseEnd)}),nt(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:r+nr(t.responseStart),endTimestamp:r+nr(t.responseEnd)}));break;case"mark":case"paint":case"measure":{(function(e,t,r,n,a){let o=a+r;nt(e,{description:t.name,endTimestamp:o+n,op:t.entryType,origin:"auto.resource.browser.metrics",startTimestamp:o})})(e,t,n,a,r);let o=rI(),i=t.startTime{if(!no[e]||!o||r>=o)return;let t=no[e].value,n=Math.abs((r+nr(t)-o)*1e3),a=n-t;rb&&j.kg.log(`[Measurements] Normalized ${e} from ${t} to ${n} (${a})`),no[e].value=n});let t=no["mark.fid"];t&&no.fid&&(nt(e,{description:"first input delay",endTimestamp:t.value+nr(no.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:t.value}),delete no["mark.fid"]),"fcp"in no||delete no.cls,Object.keys(no).forEach(e=>{!function(e,t,r){let n=ru();n&&n.setMeasurement(e,t,r)}(e,no[e].value,no[e].unit)}),p&&(rb&&j.kg.log("[Measurements] Adding LCP Data"),p.element&&e.setTag("lcp.element",(0,e_.Rt)(p.element)),p.id&&e.setTag("lcp.id",p.id),p.url&&e.setTag("lcp.url",p.url.trim().slice(0,200)),e.setTag("lcp.size",p.size)),m&&m.sources&&(rb&&j.kg.log("[Measurements] Adding CLS Data"),m.sources.forEach((t,r)=>e.setTag(`cls.source.${r+1}`,(0,e_.Rt)(t.node))))}p=void 0,m=void 0,no={}}function nf(e,t,r,n,a,o){let i=o?t[o]:t[`${r}End`],l=t[`${r}Start`];l&&i&&nt(e,{op:"browser",origin:"auto.browser.browser.metrics",description:a||r,startTimestamp:n+nr(l),endTimestamp:n+nr(i)})}function nv(e,t,r,n){let a=t[r];null!=a&&a<2147483647&&(e[n]=a)}var ng=r(99181);let np=["localhost",/^\/(?!\/)/],nm={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:np,tracePropagationTargets:np};function nh(e){let{traceFetch:t,traceXHR:r,tracePropagationTargets:n,tracingOrigins:a,shouldCreateSpanForRequest:o,enableHTTPTimings:i}={traceFetch:nm.traceFetch,traceXHR:nm.traceXHR,...e},l="function"==typeof o?o:e=>!0,u=e=>(0,H.U0)(e,n||a||np),s={};t&&e0(e=>{let t=function(e,t,r,n,a="auto.http.browser"){if(!O()||!e.fetchData)return;let o=t(e.fetchData.url);if(e.endTimestamp&&o){let t=e.fetchData.__span;if(!t)return;let r=n[t];if(r){if(e.response){t3(r,e.response.status);let t=e.response&&e.response.headers&&e.response.headers.get("content-length");if(t){let e=parseInt(t);e>0&&r.setAttribute("http.response_content_length",e)}}else e.error&&r.setStatus("internal_error");r.end(),delete n[t]}return}let i=(0,S.nZ)(),l=(0,S.s3)(),{method:u,url:s}=e.fetchData,c=o?re({name:`${u} ${s}`,onlyIfParent:!0,attributes:{url:s,type:"fetch","http.method":u,[t9]:a},op:"http.client"}):void 0;if(c&&(e.fetchData.__span=c.spanContext().spanId,n[c.spanContext().spanId]=c),r(e.fetchData.url)&&l){let t=e.args[0];e.args[1]=e.args[1]||{};let r=e.args[1];r.headers=function(e,t,r,n,a){let o=a||r.getSpan(),{traceId:i,spanId:l,sampled:u,dsc:s}={...(0,I.aF)().getPropagationContext(),...r.getPropagationContext()},c=o?(0,t0.Hb)(o):(0,rh.$p)(i,l,u),d=(0,ng.IQ)(s||(o?(0,tM.j)(o):(0,tM._)(i,t,r))),f=n.headers||("undefined"!=typeof Request&&(0,q.V9)(e,Request)?e.headers:void 0);if(!f)return{"sentry-trace":c,baggage:d};if("undefined"!=typeof Headers&&(0,q.V9)(f,Headers)){let e=new Headers(f);return e.append("sentry-trace",c),d&&e.append(ng.bU,d),e}if(Array.isArray(f)){let e=[...f,["sentry-trace",c]];return d&&e.push([ng.bU,d]),e}{let e="baggage"in f?f.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),d&&t.push(d),{...f,"sentry-trace":c,baggage:t.length>0?t.join(","):void 0}}}(t,l,i,r,c)}return c}(e,l,u,s);i&&t&&nb(t)}),r&&eq(e=>{let t=function(e,t,r,n){let a=e.xhr,o=a&&a[ez];if(!O()||!a||a.__sentry_own_request__||!o)return;let i=t(o.url);if(e.endTimestamp&&i){let e=a.__sentry_xhr_span_id__;if(!e)return;let t=n[e];t&&void 0!==o.status_code&&(t3(t,o.status_code),t.end(),delete n[e]);return}let l=(0,S.nZ)(),u=(0,I.aF)(),s=i?re({name:`${o.method} ${o.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":o.method,url:o.url,[t9]:"auto.http.browser"},op:"http.client"}):void 0;s&&(a.__sentry_xhr_span_id__=s.spanContext().spanId,n[a.__sentry_xhr_span_id__]=s);let c=(0,S.s3)();if(a.setRequestHeader&&r(o.url)&&c){let{traceId:e,spanId:t,sampled:r,dsc:n}={...u.getPropagationContext(),...l.getPropagationContext()};(function(e,t,r){try{e.setRequestHeader("sentry-trace",t),r&&e.setRequestHeader(ng.bU,r)}catch(e){}})(a,s?(0,t0.Hb)(s):(0,rh.$p)(e,t,r),(0,ng.IQ)(n||(s?(0,tM.j)(s):(0,tM._)(e,c,l))))}return s}(e,l,u,s);i&&t&&nb(t)})}function nb(e){let{url:t}=(0,t0.XU)(e).data||{};if(!t||"string"!=typeof t)return;let r=rQ("resource",({entries:n})=>{n.forEach(n=>{"resource"===n.entryType&&"initiatorType"in n&&"string"==typeof n.nextHopProtocol&&("fetch"===n.initiatorType||"xmlhttprequest"===n.initiatorType)&&n.name.endsWith(t)&&((function(e){let{name:t,version:r}=function(e){let t="unknown",r="unknown",n="";for(let a of e){if("/"===a){[t,r]=e.split("/");break}if(!isNaN(Number(a))){t="h"===n?"http":n,r=e.split(n)[1];break}n+=a}return n===e&&(t=n),{name:t,version:r}}(e.nextHopProtocol),n=[];return(n.push(["network.protocol.version",r],["network.protocol.name",t]),tR.Z1)?[...n,["http.request.redirect_start",n_(e.redirectStart)],["http.request.fetch_start",n_(e.fetchStart)],["http.request.domain_lookup_start",n_(e.domainLookupStart)],["http.request.domain_lookup_end",n_(e.domainLookupEnd)],["http.request.connect_start",n_(e.connectStart)],["http.request.secure_connection_start",n_(e.secureConnectionStart)],["http.request.connection_end",n_(e.connectEnd)],["http.request.request_start",n_(e.requestStart)],["http.request.response_start",n_(e.responseStart)],["http.request.response_end",n_(e.responseEnd)]]:n})(n).forEach(t=>e.setAttribute(...t)),setTimeout(r))})})}function n_(e=0){return((tR.Z1||performance.timeOrigin)+e)/1e3}let ny={...ro,markBackgroundTransactions:!0,routingInstrumentation:function(e,t=!0,r=!0){let n;if(!r_||!r_.location){rb&&j.kg.warn("Could not initialize routing instrumentation due to invalid location");return}let a=r_.location.href;t&&(n=e({name:r_.location.pathname,startTimestamp:tR.Z1?tR.Z1/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),r&&e4(({to:t,from:r})=>{if(void 0===r&&a&&-1!==a.indexOf(t)){a=void 0;return}r!==t&&(a=void 0,n&&(rb&&j.kg.log(`[Tracing] Finishing current transaction with op: ${n.op}`),n.end()),n=e({name:r_.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))})},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,enableInp:!1,_experiments:{},...nm};class nk{constructor(e){this.name="BrowserTracing",this._hasSetTracePropagationTargets=!1,rm(),rb&&(this._hasSetTracePropagationTargets=!!(e&&(e.tracePropagationTargets||e.tracingOrigins))),this.options={...ny,...e},void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),this._collectWebVitals=ni(),this._interactionIdToRouteNameMapping={},this.options.enableInp&&ns(this._interactionIdToRouteNameMapping),this.options.enableLongTask&&nl(),this.options._experiments.enableInteractions&&nu(),this._latestRoute={name:void 0,context:void 0}}setupOnce(e,t){this._getCurrentHub=t;let r=t().getClient(),n=r&&r.getOptions(),{routingInstrumentation:a,startTransactionOnLocationChange:o,startTransactionOnPageLoad:i,markBackgroundTransactions:l,traceFetch:u,traceXHR:s,shouldCreateSpanForRequest:c,enableHTTPTimings:d,_experiments:f}=this.options,v=n&&n.tracePropagationTargets,g=v||this.options.tracePropagationTargets;rb&&this._hasSetTracePropagationTargets&&v&&j.kg.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),a(e=>{let r=this._createRouteTransaction(e);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(r,e,t),r},i,o),l&&ry(),f.enableInteractions&&this._registerInteractionListener(),this.options.enableInp&&this._registerInpInteractionListener(),nh({traceFetch:u,traceXHR:s,tracePropagationTargets:g,shouldCreateSpanForRequest:c,enableHTTPTimings:d})}_createRouteTransaction(e){let t;if(!this._getCurrentHub){rb&&j.kg.warn(`[Tracing] Did not create ${e.op} transaction because _getCurrentHub is invalid.`);return}let r=this._getCurrentHub(),{beforeNavigate:n,idleTimeout:a,finalTimeout:o,heartbeatInterval:i}=this.options,l="pageload"===e.op;if(l){let r=l?nw("sentry-trace"):"",n=l?nw("baggage"):void 0,{traceId:a,dsc:o,parentSpanId:i,sampled:u}=(0,rh.pT)(r,n);t={traceId:a,parentSpanId:i,parentSampled:u,...e,metadata:{...e.metadata,dynamicSamplingContext:o},trimEnd:!0}}else t={trimEnd:!0,...e};let u="function"==typeof n?n(t):t,s=void 0===u?{...t,sampled:!1}:u;s.metadata=s.name!==t.name?{...s.metadata,source:"custom"}:s.metadata,this._latestRoute.name=s.name,this._latestRoute.context=s,!1===s.sampled&&rb&&j.kg.log(`[Tracing] Will not send ${s.op} transaction because of beforeNavigate.`),rb&&j.kg.log(`[Tracing] Starting ${s.op} transaction on scope`);let{location:c}=r_,d=rp(r,s,a,o,!0,{location:c},i,l);return l&&(r_.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(r_.document.readyState)&&d.sendAutoFinishSignal()}),["interactive","complete"].includes(r_.document.readyState)&&d.sendAutoFinishSignal()),d.registerBeforeFinishCallback(e=>{this._collectWebVitals(),nd(e)}),d}_registerInteractionListener(){let e;let t=()=>{let{idleTimeout:t,finalTimeout:r,heartbeatInterval:n}=this.options,a="ui.action.click",o=ru();if(o&&o.op&&["navigation","pageload"].includes(o.op)){rb&&j.kg.warn(`[Tracing] Did not create ${a} transaction because a pageload or navigation transaction is in progress.`);return}if(e&&(e.setFinishReason("interactionInterrupted"),e.end(),e=void 0),!this._getCurrentHub){rb&&j.kg.warn(`[Tracing] Did not create ${a} transaction because _getCurrentHub is invalid.`);return}if(!this._latestRoute.name){rb&&j.kg.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}let i=this._getCurrentHub(),{location:l}=r_;e=rp(i,{name:this._latestRoute.name,op:a,trimEnd:!0,data:{[t1]:this._latestRoute.context?function(e){let t=e.attributes&&e.attributes[t1],r=e.data&&e.data[t1],n=e.metadata&&e.metadata.source;return t||r||n}(this._latestRoute.context):"url"}},t,r,!0,{location:l},n)};["click"].forEach(e=>{addEventListener(e,t,{once:!1,capture:!0})})}_registerInpInteractionListener(){let e=({entries:e})=>{let t=(0,S.s3)(),r=void 0!==t&&void 0!==t.getIntegrationByName?t.getIntegrationByName("Replay"):void 0,n=void 0!==r?r.getReplayId():void 0,a=ru(),o=(0,S.nZ)(),i=void 0!==o?o.getUser():void 0;e.forEach(e=>{if("duration"in e){let t=e.interactionId;if(void 0===t)return;let r=this._interactionIdToRouteNameMapping[t],o=e.duration,l=e.startTime,u=Object.keys(this._interactionIdToRouteNameMapping),s=u.length>0?u.reduce((e,t)=>this._interactionIdToRouteNameMapping[e].durationthis._interactionIdToRouteNameMapping[e]).some(e=>e.duration===o&&e.startTime===l))&&t){if(r)r.duration=Math.max(r.duration,o);else if(u.length<10||void 0===s||o>this._interactionIdToRouteNameMapping[s].duration){let e=this._latestRoute.name,r=this._latestRoute.context;e&&r&&(s&&Object.keys(this._interactionIdToRouteNameMapping).length>=10&&delete this._interactionIdToRouteNameMapping[s],this._interactionIdToRouteNameMapping[t]={routeName:e,duration:o,parentContext:r,user:i,activeTransaction:a,replayId:n,startTime:l})}}}})};rQ("event",e),rQ("first-input",e)}}function nw(e){let t=(0,e_.qT)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}let nx={...ro,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!1,_experiments:{},...nm},nE=(e={})=>{let t=!!rb&&!!(e.tracePropagationTargets||e.tracingOrigins);rm(),!e.tracePropagationTargets&&e.tracingOrigins&&(e.tracePropagationTargets=e.tracingOrigins);let r={...nx,...e},n=ni(),a={};r.enableInp&&ns(a),r.enableLongTask&&nl(),r._experiments.enableInteractions&&nu();let o={name:void 0,context:void 0};function i(e){let t;let a=(0,I.Gd)(),{beforeStartSpan:i,idleTimeout:l,finalTimeout:u,heartbeatInterval:s}=r,c="pageload"===e.op;if(c){let r=c?nO("sentry-trace"):"",n=c?nO("baggage"):void 0,{traceId:a,dsc:o,parentSpanId:i,sampled:l}=(0,rh.pT)(r,n);t={traceId:a,parentSpanId:i,parentSampled:l,...e,metadata:{...e.metadata,dynamicSamplingContext:o},trimEnd:!0}}else t={trimEnd:!0,...e};let d=i?i(t):t;d.metadata=d.name!==t.name?{...d.metadata,source:"custom"}:d.metadata,o.name=d.name,o.context=d,!1===d.sampled&&rb&&j.kg.log(`[Tracing] Will not send ${d.op} transaction because of beforeNavigate.`),rb&&j.kg.log(`[Tracing] Starting ${d.op} transaction on scope`);let{location:f}=r_,v=rp(a,d,l,u,!0,{location:f},s,c);return c&&r_.document&&(r_.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(r_.document.readyState)&&v.sendAutoFinishSignal()}),["interactive","complete"].includes(r_.document.readyState)&&v.sendAutoFinishSignal()),v.registerBeforeFinishCallback(e=>{n(),nd(e)}),v}return{name:"BrowserTracing",setupOnce:()=>{},afterAllSetup(e){let n;let l=e.getOptions(),{markBackgroundSpan:u,traceFetch:s,traceXHR:c,shouldCreateSpanForRequest:d,enableHTTPTimings:f,_experiments:v}=r,g=l&&l.tracePropagationTargets,p=g||r.tracePropagationTargets;rb&&t&&g&&j.kg.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.");let m=r_.location&&r_.location.href;e.on&&(e.on("startNavigationSpan",e=>{n&&(rb&&j.kg.log(`[Tracing] Finishing current transaction with op: ${(0,t0.XU)(n).op}`),n.end()),n=i({op:"navigation",...e})}),e.on("startPageLoadSpan",e=>{n&&(rb&&j.kg.log(`[Tracing] Finishing current transaction with op: ${(0,t0.XU)(n).op}`),n.end()),n=i({op:"pageload",...e})})),r.instrumentPageLoad&&e.emit&&r_.location&&nT(e,{name:r_.location.pathname,startTimestamp:tR.Z1?tR.Z1/1e3:void 0,origin:"auto.pageload.browser",attributes:{[t1]:"url"}}),r.instrumentNavigation&&e.emit&&r_.location&&e4(({to:t,from:r})=>{if(void 0===r&&m&&-1!==m.indexOf(t)){m=void 0;return}r!==t&&(m=void 0,nS(e,{name:r_.location.pathname,origin:"auto.navigation.browser",attributes:{[t1]:"url"}}))}),u&&ry(),v.enableInteractions&&function(e,t){let r;let n=()=>{let{idleTimeout:n,finalTimeout:a,heartbeatInterval:o}=e,i="ui.action.click",l=ru();if(l&&l.op&&["navigation","pageload"].includes(l.op)){rb&&j.kg.warn(`[Tracing] Did not create ${i} transaction because a pageload or navigation transaction is in progress.`);return}if(r&&(r.setFinishReason("interactionInterrupted"),r.end(),r=void 0),!t.name){rb&&j.kg.warn(`[Tracing] Did not create ${i} transaction because _latestRouteName is missing.`);return}let{location:u}=r_,s={name:t.name,op:i,trimEnd:!0,data:{[t1]:t.context?function(e){let t=e.attributes&&e.attributes[t1],r=e.data&&e.data[t1],n=e.metadata&&e.metadata.source;return t||r||n}(t.context):"url"}};r=rp((0,I.Gd)(),s,n,a,!0,{location:u},o)};["click"].forEach(e=>{addEventListener(e,n,{once:!1,capture:!0})})}(r,o),r.enableInp&&function(e,t){let r=({entries:r})=>{let n=(0,S.s3)(),a=void 0!==n&&void 0!==n.getIntegrationByName?n.getIntegrationByName("Replay"):void 0,o=void 0!==a?a.getReplayId():void 0,i=ru(),l=(0,S.nZ)(),u=void 0!==l?l.getUser():void 0;r.forEach(r=>{if("duration"in r){let n=r.interactionId;if(void 0===n)return;let a=e[n],l=r.duration,s=r.startTime,c=Object.keys(e),d=c.length>0?c.reduce((t,r)=>e[t].duratione[t]).some(e=>e.duration===l&&e.startTime===s))&&n){if(a)a.duration=Math.max(a.duration,l);else if(c.length<10||void 0===d||l>e[d].duration){let r=t.name,a=t.context;r&&a&&(d&&Object.keys(e).length>=10&&delete e[d],e[n]={routeName:r,duration:l,parentContext:a,user:u,activeTransaction:i,replayId:o,startTime:s})}}}})};rQ("event",r),rQ("first-input",r)}(a,o),nh({traceFetch:s,traceXHR:c,tracePropagationTargets:p,shouldCreateSpanForRequest:d,enableHTTPTimings:f})},options:r}};function nT(e,t){if(!e.emit)return;e.emit("startPageLoadSpan",t);let r=rt();return"pageload"===(r&&(0,t0.XU)(r).op)?r:void 0}function nS(e,t){if(!e.emit)return;e.emit("startNavigationSpan",t);let r=rt();return"navigation"===(r&&(0,t0.XU)(r).op)?r:void 0}function nO(e){let t=(0,e_.qT)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}let nC={"routing.instrumentation":"next-app-router"};var nM=r(11163),nj=r.n(nM);let nP="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,nA={"routing.instrumentation":"next-pages-router"},nI=(0,S.s3)();function nN(e,t=!0,r=!0,n,a){en.document.getElementById("__NEXT_DATA__")?function(e,t=!0,r=!0,n,a){let{route:o,params:i,sentryTrace:l,baggage:u}=function(){let e;let t=en.document.getElementById("__NEXT_DATA__");if(t&&t.innerHTML)try{e=JSON.parse(t.innerHTML)}catch(e){nP&&j.kg.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let r={},{page:n,query:a,props:o}=e;return r.route=n,r.params=a,o&&o.pageProps&&(r.sentryTrace=o.pageProps._sentryTraceData,r.baggage=o.pageProps._sentryBaggage),r}(),{traceparentData:s,dynamicSamplingContext:c,propagationContext:d}=(0,rh.KA)(l,u);if((0,S.nZ)().setPropagationContext(d),_=o||en.location.pathname,t){let t={name:_,op:"pageload",origin:"auto.pageload.nextjs.pages_router_instrumentation",tags:nA,startTimestamp:tR.Z1?tR.Z1/1e3:void 0,...i&&nI&&nI.getOptions().sendDefaultPii&&{data:i},...s,metadata:{source:o?"route":"url",dynamicSamplingContext:s&&!c?{}:c}};b=e(t),n(t)}r&&nj().events.on("routeChangeStart",t=>{let r,n;let o=t.split(/[\?#]/,1)[0],i=function(e){let t=(en.__BUILD_MANIFEST||{}).sortedPages;if(t)return t.find(t=>{let r=function(e){let t=e.split("/"),r="";t[t.length-1].match(/^\[\[\.\.\..+\]\]$/)&&(t.pop(),r="(?:/(.+?))?");let n=t.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${n}${r}(?:/)?$`)}(t);return e.match(r)})}(o);i?(r=i,n="route"):(r=o,n="url");let l={...nA,from:_};_=r,b&&b.end();let u={name:r,op:"navigation",origin:"auto.navigation.nextjs.pages_router_instrumentation",tags:l,metadata:{source:n}},s=e(u);if(a(u),s){let e=s.startChild({op:"ui.nextjs.route-change",origin:"auto.ui.nextjs.pages_router_instrumentation",description:"Next.js Route Change"}),t=()=>{e.end(),nj().events.off("routeChangeComplete",t)};nj().events.on("routeChangeComplete",t)}})}(e,t,r,n||(()=>void 0),a||(()=>void 0)):function(e,t=!0,r=!0,n,a){let o;let i=en.location.pathname;if(t){let t={name:i,op:"pageload",origin:"auto.pageload.nextjs.app_router_instrumentation",tags:nC,startTimestamp:tR.Z1?tR.Z1/1e3:void 0,metadata:{source:"url"}};o=e(t),n(t)}r&&e0(t=>{if(void 0!==t.endTimestamp||"GET"!==t.fetchData.method)return;let r=function(e){if(!e[0]||"object"!=typeof e[0]||void 0===e[0].searchParams||!e[1]||"object"!=typeof e[1]||!("headers"in e[1]))return null;try{let t=e[0],r=e[1].headers;if("1"!==r.RSC||"1"===r["Next-Router-Prefetch"])return null;return{targetPathname:t.pathname}}catch(e){return null}}(t.args);if(null===r)return;let n=r.targetPathname,l={...nC,from:i};i=n,o&&o.end();let u={name:n,op:"navigation",origin:"auto.navigation.nextjs.app_router_instrumentation",tags:l,metadata:{source:"url"}};e(u),a(u)})}(e,t,r,n||(()=>void 0),a||(()=>void 0))}class nR extends nk{constructor(e){super({tracingOrigins:[...nm.tracingOrigins,/^(api\/)/],routingInstrumentation:nN,...e})}}let nL=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function n$(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let a=n>=0?e[n]:"/";a&&(t=`${a}/${t}`,r="/"===a.charAt(0))}return t=(function(e,t){let r=0;for(let t=e.length-1;t>=0;t--){let n=e[t];"."===n?e.splice(t,1):".."===n?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r--;r)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!r).join("/"),(r?"/":"")+t||"."}function nG(e){let t=0;for(;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}let nB="RewriteFrames",nD=(e={})=>{let t=e.root,r=e.prefix||"app:///",n=e.iteratee||(e=>{if(!e.filename)return e;let n=/^[a-zA-Z]:\\/.test(e.filename)||e.filename.includes("\\")&&!e.filename.includes("/"),a=/^\//.test(e.filename);if(n||a){var o;let a;let i=n?e.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):e.filename,l=t?function(e,t){e=n$(e).slice(1),t=n$(t).slice(1);let r=nG(e.split("/")),n=nG(t.split("/")),a=Math.min(r.length,n.length),o=a;for(let e=0;e1024?`${e.slice(-1024)}`:e,r=nL.exec(t);return r?r.slice(1):[]}(i)[2],o&&a.slice(-1*o.length)===o&&(a=a.slice(0,a.length-o.length)),a);e.filename=`${r}${l}`}return e});return{name:nB,setupOnce(){},processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t&&t.frames&&t.frames.map(e=>n(e))}}}})}}}catch(t){return e}}(t)),t}}};$(nB,nD);let nF=er.GLOBAL_OBJ,nH=e=>{let t=nF.__rewriteFramesAssetPrefixPath__||"";return nD({iteratee:e=>{try{let{origin:r}=new URL(e.filename);e.filename=tQ([e,"access",e=>e.filename,"optionalAccess",e=>e.replace,"call",e=>e(r,"app://"),"access",e=>e.replace,"call",e=>e(t,"")])}catch(e){}return e.filename&&e.filename.startsWith("app:///_next")&&(e.filename=decodeURI(e.filename)),e.filename&&e.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(e.in_app=!1),e},...e})},nZ=er.GLOBAL_OBJ;function nU(e){let t=e.find(e=>"BrowserTracing"===e.name);if(!t)return e;if(t.afterAllSetup&&t.options){let{options:r}=t;e[e.indexOf(t)]=new nR(r)}if(!(t instanceof nR)){let r=t.options;delete r.routingInstrumentation,delete r.tracingOrigins,e[e.indexOf(t)]=new nR(r)}return e}({...th});var nW=r(34155),nV=window;nV.__sentryRewritesTunnelPath__=void 0,nV.SENTRY_RELEASE={id:"8a8dff1da87ff1912eadde3f681203e91cee7b7a"},nV.__sentryBasePath=void 0,nV.__rewriteFramesAssetPrefixPath__="/template-nextjs";let nX=nW.env.SENTRY_DSN||"https://5097055d921644e7b8899c37d9e90780@sentry.incubateur.net/159",nz=nW.env.SENTRY_ENV||"production";!function(e){let t={environment:function(e){let t=e?tK.env.NEXT_PUBLIC_VERCEL_ENV:tK.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}(!0)||"production",defaultIntegrations:function(e){let t=[...tY,nH()];return("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&O(e)&&t.push(function(e){let t=nE({tracingOrigins:[...nm.tracingOrigins,/^(api\/)/],...e,instrumentNavigation:!1,instrumentPageLoad:!1});return{...t,afterAllSetup(r){let n=e=>{nT(r,e)},a=e=>{nS(r,e)};nN(()=>void 0,!1,tQ([e,"optionalAccess",e=>e.instrumentNavigation]),n,a),t.afterAllSetup(r),nN(()=>void 0,tQ([e,"optionalAccess",e=>e.instrumentPageLoad]),!1,n,a)}}}()),t}(e),...e};(function(e){let{integrations:t}=e;t&&(Array.isArray(t)?e.integrations=nU(t):e.integrations=e=>nU(t(e)))})(t),function(e){let t=nZ.__sentryRewritesTunnelPath__;if(t&&e.dsn){let r=ty(e.dsn);if(!r)return;let n=r.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(n){let a=n[1],o=n[2],i=`${t}?o=${a}&p=${r.projectId}`;o&&(i+=`&r=${o}`),e.tunnel=i,nP&&j.kg.info(`Tunneling events to "${i}"`)}else nP&&j.kg.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(t),T(t,"nextjs",["nextjs","react"]),function(e){let t={...e};T(t,"react"),function(e={}){void 0===e.defaultIntegrations&&(e.defaultIntegrations=[...tY]),void 0===e.release&&("string"==typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),en.SENTRY_RELEASE&&en.SENTRY_RELEASE.id&&(e.release=en.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0),function(e,t){!0===t.debug&&(P.X?j.kg.enable():(0,j.Cf)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,S.nZ)().update(t.initialScope);let r=new e(t);(function(e){let t=(0,I.Gd)().getStackTop();t.client=e,t.scope.setClient(e)})(r),r.init?r.init():r.setupIntegrations&&r.setupIntegrations()}(tL,{...e,stackParser:(0,el.Sq)(e.stackParser||tW),integrations:function(e){let t=e.defaultIntegrations||[],r=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let n=function(e){let t={};return e.forEach(e=>{let{name:r}=e,n=t[r];n&&!n.isDefaultInstance&&e.isDefaultInstance||(t[r]=e)}),Object.keys(t).map(e=>t[e])}(Array.isArray(r)?[...t,...r]:"function"==typeof r?(0,M.lE)(r(t)):t),a=function(e,t){for(let r=0;r"Debug"===e.name);if(-1!==a){let[e]=n.splice(a,1);n.push(e)}return n}(e),transport:e.transport||(eK()?tq:tJ)}),e.autoSessionTracking&&function(){if(void 0===en.document){ey&&j.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}(0,S.yj)({ignoreDuration:!0}),(0,S.cg)(),e4(({from:e,to:t})=>{void 0!==e&&e!==t&&((0,S.yj)({ignoreDuration:!0}),(0,S.cg)())})}()}(t)}(t);let r=(0,S.nZ)();r.setTag("runtime","browser");let n=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;n.id="NextClient404Filter",r.addEventProcessor(n)}({dsn:null!=nX?nX:"",environment:null!=nz?nz:"development",tracesSampleRate:.1})},93809:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(98267).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98267:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return o}});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}}let a=globalThis.AsyncLocalStorage;function o(){return a?new a:new n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},51770:function(e,t,r){"use strict";function n(e){}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clientHookInServerComponentError",{enumerable:!0,get:function(){return n}}),r(38754),r(67294),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},56612:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return g},useSearchParams:function(){return p},usePathname:function(){return m},ServerInsertedHTMLContext:function(){return s.ServerInsertedHTMLContext},useServerInsertedHTML:function(){return s.useServerInsertedHTML},useRouter:function(){return h},useParams:function(){return b},useSelectedLayoutSegments:function(){return _},useSelectedLayoutSegment:function(){return y},redirect:function(){return c.redirect},permanentRedirect:function(){return c.permanentRedirect},RedirectType:function(){return c.RedirectType},notFound:function(){return d.notFound}});let n=r(67294),a=r(26216),o=r(50349),i=r(51770),l=r(48865),u=r(75160),s=r(50594),c=r(47573),d=r(29249),f=Symbol("internal for urlsearchparams readonly");function v(){return Error("ReadonlyURLSearchParams cannot be modified")}class g{[Symbol.iterator](){return this[f][Symbol.iterator]()}append(){throw v()}delete(){throw v()}set(){throw v()}sort(){throw v()}constructor(e){this[f]=e,this.entries=e.entries.bind(e),this.forEach=e.forEach.bind(e),this.get=e.get.bind(e),this.getAll=e.getAll.bind(e),this.has=e.has.bind(e),this.keys=e.keys.bind(e),this.values=e.values.bind(e),this.toString=e.toString.bind(e),this.size=e.size}}function p(){(0,i.clientHookInServerComponentError)("useSearchParams");let e=(0,n.useContext)(o.SearchParamsContext);return(0,n.useMemo)(()=>e?new g(e):null,[e])}function m(){return(0,i.clientHookInServerComponentError)("usePathname"),(0,n.useContext)(o.PathnameContext)}function h(){(0,i.clientHookInServerComponentError)("useRouter");let e=(0,n.useContext)(a.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function b(){(0,i.clientHookInServerComponentError)("useParams");let e=(0,n.useContext)(a.GlobalLayoutRouterContext),t=(0,n.useContext)(o.PathParamsContext);return(0,n.useMemo)(()=>(null==e?void 0:e.tree)?function e(t,r){for(let n of(void 0===r&&(r={}),Object.values(t[1]))){let t=n[0],a=Array.isArray(t),o=a?t[1]:t;!o||o.startsWith(u.PAGE_SEGMENT_KEY)||(a&&("c"===t[2]||"oc"===t[2])?r[t[0]]=t[1].split("/"):a&&(r[t[0]]=t[1]),r=e(n,r))}return r}(e.tree):t,[null==e?void 0:e.tree,t])}function _(e){void 0===e&&(e="children"),(0,i.clientHookInServerComponentError)("useSelectedLayoutSegments");let{tree:t}=(0,n.useContext)(a.LayoutRouterContext);return function e(t,r,n,a){let o;if(void 0===n&&(n=!0),void 0===a&&(a=[]),n)o=t[1][r];else{var i;let e=t[1];o=null!=(i=e.children)?i:Object.values(e)[0]}if(!o)return a;let s=o[0],c=(0,l.getSegmentValue)(s);return!c||c.startsWith(u.PAGE_SEGMENT_KEY)?a:(a.push(c),e(o,r,!1,a))}(t,e)}function y(e){void 0===e&&(e="children"),(0,i.clientHookInServerComponentError)("useSelectedLayoutSegment");let t=_(e);return 0===t.length?null:t[0]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29249:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{notFound:function(){return n},isNotFoundError:function(){return a}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function a(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52445:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}}),(n=r||(r={}))[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},47573:function(e,t,r){"use strict";var n,a;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return s},redirect:function(){return c},permanentRedirect:function(){return d},isRedirectError:function(){return f},getURLFromRedirectError:function(){return v},getRedirectTypeFromError:function(){return g},getRedirectStatusCodeFromError:function(){return p}});let o=r(67714),i=r(93809),l=r(52445),u="NEXT_REDIRECT";function s(e,t,r){void 0===r&&(r=l.RedirectStatusCode.TemporaryRedirect);let n=Error(u);n.digest=u+";"+t+";"+e+";"+r+";";let a=o.requestAsyncStorage.getStore();return a&&(n.mutableCookies=a.mutableCookies),n}function c(e,t){void 0===t&&(t="replace");let r=i.actionAsyncStorage.getStore();throw s(e,t,(null==r?void 0:r.isAction)?l.RedirectStatusCode.SeeOther:l.RedirectStatusCode.TemporaryRedirect)}function d(e,t){void 0===t&&(t="replace");let r=i.actionAsyncStorage.getStore();throw s(e,t,(null==r?void 0:r.isAction)?l.RedirectStatusCode.SeeOther:l.RedirectStatusCode.PermanentRedirect)}function f(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r,n,a]=e.digest.split(";",4),o=Number(a);return t===u&&("replace"===r||"push"===r)&&"string"==typeof n&&!isNaN(o)&&o in l.RedirectStatusCode}function v(e){return f(e)?e.digest.split(";",3)[2]:null}function g(e){if(!f(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function p(e){if(!f(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(a=n||(n={})).push="push",a.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67714:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(98267).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48865:function(e,t){"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},13412:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PrefetchKind:function(){return r},ACTION_REFRESH:function(){return a},ACTION_NAVIGATE:function(){return o},ACTION_RESTORE:function(){return i},ACTION_SERVER_PATCH:function(){return l},ACTION_PREFETCH:function(){return u},ACTION_FAST_REFRESH:function(){return s},ACTION_SERVER_ACTION:function(){return c},isThenable:function(){return d}});let a="refresh",o="navigate",i="restore",l="server-patch",u="prefetch",s="fast-refresh",c="server-action";function d(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(n=r||(r={})).AUTO="auto",n.FULL="full",n.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96504:function(e,t,r){"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(10282),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63480:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});let n=r(38754),a=r(85893),o=n._(r(67294)),i=r(7950),l=r(87387),u=r(76982),s=r(56921),c=r(97727),d=r(1973),f=r(26216),v=r(61722),g=r(96504),p=r(90634),m=r(13412),h=new Set;function b(e,t,r,n,a,o){if(o||(0,l.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let a=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(h.has(a))return;h.add(a)}Promise.resolve(o?e.prefetch(t,a):e.prefetch(t,r,n)).catch(e=>{})}}function _(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let y=o.default.forwardRef(function(e,t){let r,n;let{href:u,as:h,children:y,prefetch:k=null,passHref:w,replace:x,shallow:E,scroll:T,locale:S,onClick:O,onMouseEnter:C,onTouchStart:M,legacyBehavior:j=!1,...P}=e;r=y,j&&("string"==typeof r||"number"==typeof r)&&(r=(0,a.jsx)("a",{children:r}));let A=o.default.useContext(d.RouterContext),I=o.default.useContext(f.AppRouterContext),N=null!=A?A:I,R=!A,L=!1!==k,$=null===k?m.PrefetchKind.AUTO:m.PrefetchKind.FULL,{href:G,as:B}=o.default.useMemo(()=>{if(!A){let e=_(u);return{href:e,as:h?_(h):e}}let[e,t]=(0,i.resolveHref)(A,u,!0);return{href:e,as:h?(0,i.resolveHref)(A,h):t||e}},[A,u,h]),D=o.default.useRef(G),F=o.default.useRef(B);j&&(n=o.default.Children.only(r));let H=j?n&&"object"==typeof n&&n.ref:t,[Z,U,W]=(0,v.useIntersection)({rootMargin:"200px"}),V=o.default.useCallback(e=>{(F.current!==B||D.current!==G)&&(W(),F.current=B,D.current=G),Z(e),H&&("function"==typeof H?H(e):"object"==typeof H&&(H.current=e))},[B,H,G,W,Z]);o.default.useEffect(()=>{N&&U&&L&&b(N,G,B,{locale:S},{kind:$},R)},[B,G,U,S,L,null==A?void 0:A.locale,N,R,$]);let X={ref:V,onClick(e){j||"function"!=typeof O||O(e),j&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),N&&!e.defaultPrevented&&function(e,t,r,n,a,i,u,s,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,l.isLocalURL)(r)))return;e.preventDefault();let f=()=>{let e=null==u||u;"beforePopState"in t?t[a?"replace":"push"](r,n,{shallow:i,locale:s,scroll:e}):t[a?"replace":"push"](n||r,{scroll:e})};c?o.default.startTransition(f):f()}(e,N,G,B,x,E,T,S,R)},onMouseEnter(e){j||"function"!=typeof C||C(e),j&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),N&&(L||!R)&&b(N,G,B,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:$},R)},onTouchStart(e){j||"function"!=typeof M||M(e),j&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),N&&(L||!R)&&b(N,G,B,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:$},R)}};if((0,s.isAbsoluteUrl)(B))X.href=B;else if(!j||w||"a"===n.type&&!("href"in n.props)){let e=void 0!==S?S:null==A?void 0:A.locale,t=(null==A?void 0:A.isLocaleDomain)&&(0,g.getDomainLocale)(B,e,null==A?void 0:A.locales,null==A?void 0:A.domainLocales);X.href=t||(0,p.addBasePath)((0,c.addLocale)(B,e,null==A?void 0:A.defaultLocale))}return j?o.default.cloneElement(n,X):(0,a.jsx)("a",{...P,...X,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},61722:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let n=r(67294),a=r(39126),o="function"==typeof IntersectionObserver,i=new Map,l=[];function u(e){let{rootRef:t,rootMargin:r,disabled:u}=e,s=u||!o,[c,d]=(0,n.useState)(!1),f=(0,n.useRef)(null),v=(0,n.useCallback)(e=>{f.current=e},[]);return(0,n.useEffect)(()=>{if(o){if(s||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:a,elements:o}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=l.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=i.get(n)))return t;let a=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=a.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:a},l.push(r),i.set(r,t),t}(r);return o.set(e,t),a.observe(e),function(){if(o.delete(e),a.unobserve(e),0===o.size){a.disconnect(),i.delete(n);let e=l.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!c){let e=(0,a.requestIdleCallback)(()=>d(!0));return()=>(0,a.cancelIdleCallback)(e)}},[s,r,t,c,f.current]),[v,c,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50594:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return a},useServerInsertedHTML:function(){return o}});let n=r(61757)._(r(67294)),a=n.default.createContext(null);function o(e){let t=(0,n.useContext)(a);t&&t(e)}},58457:function(e,t,r){"use strict";let n;r.r(t),r.d(t,{augmentDocumentWithEmotionCache:function(){return eD},default:function(){return eW},dsfrDocumentApi:function(){return eG}});var a=r(85893),o=r(67294),i=r(9008),l=r.n(i),u=r(41664),s=r.n(u),c=r(11163),d=r(8417);r(39332);var f=r(6498);function v(e,t){if(!e)throw Error(t)}var g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r},p=r(7544),m=r.n(p),h=r(77988),b=r(77458);let _=e=>{let{defaultColorScheme:t,nonce:r="",trustedTypesPolicyName:n}=e;return'\n{\n\n window.ssrWasPerformedWithIsDark = "'.concat(t,'" === "dark";\n const sanitizer = typeof trustedTypes !== "undefined" ? trustedTypes.createPolicy("').concat(n,'-asap", { createHTML: s => s }) : {\n createHTML: s => s,\n };\n \n const isDark = (() => {\n \n const isDarkExplicitlyProvidedAsParameter = (() => {\n if ("').concat(t,'" === "system") {\n return undefined;\n }\n \n switch ("').concat(t,'") {\n case "dark": return true;\n case "light": return false;\n }\n })();\n \n const isDarkFromLocalStorage = (() => {\n const colorSchemeReadFromLocalStorage = localStorage.getItem("scheme");\n \n if (colorSchemeReadFromLocalStorage === null) {\n return undefined;\n }\n \n if (colorSchemeReadFromLocalStorage === "system") {\n return undefined;\n }\n \n switch (colorSchemeReadFromLocalStorage) {\n case "dark":\n return true;\n case "light":\n return false;\n }\n })();\n \n const isDarkFromOsPreference = (() => {\n if (!window.matchMedia) {\n return undefined;\n }\n \n return window.matchMedia("(prefers-color-scheme: dark)").matches;\n })();\n \n const isDarkFallback = false;\n \n return (\n isDarkFromLocalStorage ??\n isDarkExplicitlyProvidedAsParameter ??\n isDarkFromOsPreference ??\n isDarkFallback\n );\n \n })();\n \n ["').concat(h.g6,'", "').concat(h.dG,'"].forEach(attr => document.documentElement.setAttribute(attr, isDark ? "dark" : "light"));\n\n {\n\n let element= document.getElementById("').concat(h.Zx,'");\n\n if( element !== null ){\n element.remove()\n }\n\n element = document.createElement("style");\n\n if ("').concat(r,'" !== "") {\n element.setAttribute("nonce", "').concat(r,'");\n }\n\n element.id = "').concat(h.Zx,'";\n\n element.innerHTML = sanitizer.createHTML(`:root { color-scheme: ${isDark ? "dark" : "light"}; }`);\n\n document.head.appendChild(element);\n\n }\n\n {\n\n const name = "theme-color";\n\n let element = document.querySelector(`meta[name=${name}]`);\n \n if( element !== null ){\n element.remove();\n }\n\n element = document.createElement("meta");\n\n element.name = name;\n\n element.content = isDark ? "').concat(b.fr.colors.getHex({isDark:!0}).decisions.background.default.grey.default,'" : "').concat(b.fr.colors.getHex({isDark:!1}).decisions.background.default.grey.default,'";\n\n document.head.appendChild(element);\n\n }\n\n}\n')};var y=r(97687),k=r(34098),w=r(66317);let x={"Marianne-Light":r.p+"static/media/Marianne-Light.3b7ead04.woff2","Marianne-Light_Italic":r.p+"static/media/Marianne-Light_Italic.575f7383.woff2","Marianne-Regular":r.p+"static/media/Marianne-Regular.119b3a3e.woff2","Marianne-Regular_Italic":r.p+"static/media/Marianne-Regular_Italic.db8a6f8b.woff2","Marianne-Medium":r.p+"static/media/Marianne-Medium.452138fa.woff2","Marianne-Medium_Italic":r.p+"static/media/Marianne-Medium_Italic.937c39e5.woff2","Marianne-Bold":r.p+"static/media/Marianne-Bold.f0ef9bad.woff2","Marianne-Bold_Italic":r.p+"static/media/Marianne-Bold_Italic.24e72eef.woff2","Spectral-Regular":r.p+"static/media/Spectral-Regular.d09028d7.woff2","Spectral-ExtraBold":r.p+"static/media/Spectral-ExtraBold.adc3633a.woff2"};var E={src:"/template-nextjs/_next/static/media/apple-touch-icon.1db30588.png",height:180,width:180,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAS1BMVEX////ygIM0NKfs7Pfd3fHmHSIcHJ3iAwX9+vsAAI+0tN9oaL/00tTzmJv87u87O6rrVFj84eJBQa6EhMukpNjR0OpKSrLmKi7orK1P482tAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAPUlEQVR4nBXKxxHAMAwEsVU8UpJz7L9Sj/EG7ktiPMJrxgjCI8Ar4p7BRuE8EsYm7t6wsIraL+Yi0f5rkz5A/AHPT3zajwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},T={src:"/template-nextjs/_next/static/media/favicon.f453a8cf.svg",height:1080,width:1080,blurWidth:0,blurHeight:0},S={src:"/template-nextjs/_next/static/media/favicon.8c087985.ico",height:48,width:48,blurWidth:0,blurHeight:0};function O(e){return"string"==typeof e?e:e.src}var C=r(62613),M=r(12132),j=r(34774);class P{constructor(){let e,t;this.isPending=!0,this.pr=new Promise((r,n)=>{e=e=>{(0,j.overwriteReadonlyProp)(this,"isPending",!1),r(e)},t=e=>{(0,j.overwriteReadonlyProp)(this,"isPending",!1),n(e)}}),this.resolve=e,this.reject=t}}let A=!1;async function I(e){let{defaultColorScheme:t,verbose:n,nextParams:a,doCheckNonce:o,trustedTypesPolicyName:i}=e;if((0,C.assert)(k.j),A)return;A=!0;let l=void 0===a?e=>e():a.registerEffectAction;(0,M.H)({colorSchemeExplicitlyProvidedAsParameter:t,doPersistDarkModePreferenceWithCookie:void 0!==a&&a.doPersistDarkModePreferenceWithCookie,registerEffectAction:l,doCheckNonce:o,trustedTypesPolicyName:i}),window.dsfr={verbose:n,mode:"react"},await r.e(263).then(r.t.bind(r,60263,23)),N.resolve(),l(()=>{window.dsfr.start()})}let N=new P;N.pr;var R=r(63434),L=r(16094);r(31849);var $=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};function G(e){let t=Object.fromEntries(e.split(/; */).map(e=>e.split("=")).map(e=>{let[t,r]=e;return[t,decodeURIComponent(r)]}));if(h.dG in t)switch(t[h.dG]){case"light":return!1;case"dark":return!0;default:return}}var B=r(80405),D=r(60129),F=r(68342),H=r(15198),Z=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let U=(0,o.memo)((0,o.forwardRef)((e,t)=>{let{id:r,className:a,classes:i={},contentDescription:l,websiteMapLinkProps:u,accessibilityLinkProps:s,accessibility:c,termsLinkProps:d,bottomItems:f=[],partnersLogos:v,operatorLogo:g,license:p,brandTop:m,homeLinkProps:h,style:_,linkList:y,domains:k=["legifrance.gouv.fr","gouvernement.fr","service-public.fr","data.gouv.fr"]}=e,w=Z(e,["id","className","classes","contentDescription","websiteMapLinkProps","accessibilityLinkProps","accessibility","termsLinkProps","bottomItems","partnersLogos","operatorLogo","license","brandTop","homeLinkProps","style","linkList","domains"]);(0,C.assert)();let{brandTop:x,homeLinkProps:E}=(()=>{let e=n,t=null!=m?m:null==e?void 0:e.brandTop,r=null!=h?h:null==e?void 0:e.homeLinkProps,a=" hasn't been provided to the Footer and we cannot retrieve it from the Header (it's probably client side)";if(void 0===t)throw Error((0,B.r)({brandTop:t})+a);if(void 0===r)throw Error((0,B.r)({homeLinkProps:r})+a);return{brandTop:t,homeLinkProps:r}})(),{Link:T}=(0,R.R)(),{t:S}=W(),{main:O,sub:M=[]}=null!=v?v:{};return o.createElement("footer",Object.assign({id:null!=r?r:"fr-footer",className:(0,D.cx)(b.fr.cx("fr-footer"),i.root,a),role:"contentinfo",ref:t,style:_},w),void 0!==y&&o.createElement("div",{className:b.fr.cx("fr-footer__top")},o.createElement("div",{className:b.fr.cx("fr-container")},o.createElement("div",{className:b.fr.cx("fr-grid-row","fr-grid-row--gutters")},y.map((e,t)=>void 0!==e&&o.createElement("div",{key:"fr-footer__top-cat-".concat(t),className:b.fr.cx("fr-col-12","fr-col-sm-3","fr-col-md-2")},(null==e?void 0:e.categoryName)&&o.createElement("h3",{className:b.fr.cx("fr-footer__top-cat")},null==e?void 0:e.categoryName),o.createElement("ul",{className:b.fr.cx("fr-footer__top-list")},null==e?void 0:e.links.map((e,t)=>o.createElement("li",{key:"fr-footer__top-link-".concat(t)},o.createElement(T,Object.assign({},null==e?void 0:e.linkProps,{className:b.fr.cx("fr-footer__top-link")}),null==e?void 0:e.text))))))))),o.createElement("div",{className:b.fr.cx("fr-container")},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__body"),i.body)},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__brand","fr-enlarge-link"),i.brand)},(()=>{let e=o.createElement("p",{className:(0,D.cx)(b.fr.cx("fr-logo"),i.logo)},x);return void 0!==g?e:o.createElement(T,Object.assign({},E),e)})(),void 0!==g&&o.createElement(T,Object.assign({},E,{className:(0,D.cx)(b.fr.cx("fr-footer__brand-link"),i.brandLink,E.className)}),o.createElement("img",{className:(0,D.cx)(b.fr.cx("fr-footer__logo"),i.operatorLogo),style:(()=>{switch(g.orientation){case"vertical":return{width:"3.5rem"};case"horizontal":return{maxWidth:"9.0625rem"}}})(),src:g.imgUrl,alt:g.alt}))),o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__content"),i.content)},void 0!==l&&o.createElement("p",{className:(0,D.cx)(b.fr.cx("fr-footer__content-desc"),i.contentDesc)},l),o.createElement("ul",{className:(0,D.cx)(b.fr.cx("fr-footer__content-list"),i.contentList)},k.map((e,t)=>o.createElement("li",{className:(0,D.cx)(b.fr.cx("fr-footer__content-item"),i.contentItem),key:t},o.createElement("a",{className:(0,D.cx)(b.fr.cx("fr-footer__content-link"),i.contentLink),target:"_blank",href:"https://".concat(e),title:"".concat(e," - ").concat(S("open new window"))},e)))))),void 0!==v&&o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__partners"),i.partners)},o.createElement("h4",{className:(0,D.cx)(b.fr.cx("fr-footer__partners-title"),i.partnersTitle)},S("our partners")),o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__partners-logos"),i.partnersLogos)},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__partners-main"),i.partnersMain)},void 0!==O&&(()=>{var e,t;let r=o.createElement("img",{alt:O.alt,style:{height:"5.625rem"},src:O.imgUrl,className:(0,D.cx)(b.fr.cx("fr-footer__logo"),i.logo)});return void 0!==O.linkProps||void 0!==O.href?o.createElement(T,Object.assign({},O.linkProps,{href:null!==(e=O.href)&&void 0!==e?e:null===(t=O.linkProps)||void 0===t?void 0:t.href,className:(0,D.cx)(b.fr.cx("fr-footer__partners-link","fr-raw-link"),i.partnersLink)}),r):r})()),0!==M.length&&o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__partners-sub"),i.partnersSub)},o.createElement("ul",null,M.map((e,t)=>{var r,n;let a=o.createElement("img",{alt:e.alt,src:e.imgUrl,style:{height:"5.625rem"},className:(0,D.cx)(b.fr.cx("fr-footer__logo"),i.logo)}),l=void 0!==e.linkProps||void 0!==e.href;return o.createElement("li",{key:t},l?o.createElement(T,Object.assign({},e.linkProps,{href:null!==(r=e.href)&&void 0!==r?r:null===(n=e.linkProps)||void 0===n?void 0:n.href,className:(0,D.cx)(b.fr.cx("fr-footer__partners-link","fr-raw-link"),i.partnersLink)}),a):a)}))))),o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__bottom"),i.bottom)},o.createElement("ul",{className:(0,D.cx)(b.fr.cx("fr-footer__bottom-list"),i.bottomList)},[...void 0===u?[]:[(0,H.id)({text:S("website map"),linkProps:u})],(0,H.id)({text:"".concat(S("accessibility"),": ").concat(S(c)),linkProps:null!=s?s:{}}),...void 0===d?[]:[(0,H.id)({text:S("terms"),linkProps:d})],...f].map((e,t)=>o.createElement("li",{className:(0,D.cx)(b.fr.cx("fr-footer__bottom-item"),i.bottomItem,a),key:t},(0,F.z)(e,e instanceof Object&&"text"in e)?o.createElement(X,{classes:{bottomLink:i.bottomLink},bottomItem:e}):e))),o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-footer__bottom-copy"),i.bottomCopy)},o.createElement("p",null,void 0===p?S("license mention",{licenseUrl:"https://github.com/etalab/licence-ouverte/blob/master/LO.md"}):p)))))}));U.displayName=(0,B.r)({Footer:U});let{useTranslation:W,addFooterTranslations:V}=(0,L.Lf)({componentName:(0,B.r)({Footer:U}),frMessages:{"hide message":"Masquer le message","website map":"Plan du site",accessibility:"Accessibilit\xe9","non compliant":"non conforme","partially compliant":"partiellement conforme","fully compliant":"totalement conforme",terms:"Mentions l\xe9gales","cookies management":"Gestion des cookies","license mention":e=>o.createElement(o.Fragment,null,"Sauf mention explicite de propri\xe9t\xe9 intellectuelle d\xe9tenue par des tiers, les contenus de ce site sont propos\xe9s sous"," ",o.createElement("a",{href:e.licenseUrl,target:"_blank",title:"licence etalab-2.0 - ouvre une nouvelle fen\xeatre"},"licence etalab-2.0")),"our partners":"Nos partenaires","open new window":"ouvre une nouvelle fen\xeatre"}});function X(e){let{className:t,bottomItem:r,classes:n={}}=e,{Link:a}=(0,R.R)(),i=(0,D.cx)(b.fr.cx("fr-footer__bottom-link",...void 0!==r.iconId?[r.iconId,"fr-link--icon-left"]:[]),n.bottomLink,n.root,t);return void 0!==r.linkProps?0===Object.keys(r.linkProps).length?o.createElement("span",{className:i},r.text):o.createElement(a,Object.assign({},r.linkProps,{className:(0,D.cx)(i,r.linkProps.className)}),r.text):o.createElement("button",Object.assign({},r.buttonProps,{className:(0,D.cx)(i,r.buttonProps.className)}),r.text)}function z(e){let{text:t,fallback:r}=e;if("string"!=typeof t||""===t)return void 0!==r?"-".concat(r):"";let n=t.replace(/\s+/g,"");return n=n.replace(/[^a-zA-Z0-9]/g,"_"),"-".concat(n)}V({lang:"en",messages:{"hide message":"Hide the message","website map":"Website map",accessibility:"Accessibility","non compliant":"non compliant","partially compliant":"partially compliant","fully compliant":"fully compliant","license mention":e=>o.createElement(o.Fragment,null,"Unless stated otherwise, all content of this website is under the"," ",o.createElement("a",{href:e.licenseUrl,target:"_blank",title:"etalab-2.0 license - open a new window"},"etalab-2.0 license")),"open new window":"open new window"}}),V({lang:"es",messages:{"hide message":"Occultar el mesage"}});var q=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let J=(0,o.memo)((0,o.forwardRef)((e,t)=>{let{id:r,classes:n={},style:a,links:i}=e,l=q(e,["id","classes","style","links"]);(0,C.assert)();let{Link:u}=(0,R.R)();return o.createElement("div",Object.assign({className:(0,D.cx)(b.fr.cx("fr-menu"),n.root),style:a,id:r,ref:t},l),o.createElement("ul",{className:(0,D.cx)(b.fr.cx("fr-menu__list"),n.list)},i.map((e,t)=>{var n;let{text:a,linkProps:i,isActive:l=!1}=e;return o.createElement("li",{key:t},o.createElement(u,Object.assign({},i,{id:null!==(n=i.id)&&void 0!==n?n:"".concat(r,"-link").concat(z({text:a}),"-").concat(t),className:(0,D.cx)(b.fr.cx("fr-nav__link"),i.className)},l&&{"aria-current":"page"}),a))})))}));J.displayName=(0,B.r)({Menu:J});var Y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let K=(0,o.memo)((0,o.forwardRef)((e,t)=>{var r;let{id:n,classes:a={},style:i,leader:l,categories:u}=e,s=Y(e,["id","classes","style","leader","categories"]);(0,C.assert)();let{t:c}=Q(),{Link:d}=(0,R.R)();return o.createElement("div",Object.assign({className:(0,D.cx)(b.fr.cx("fr-mega-menu"),a.root),style:i,tabIndex:-1,id:n,ref:t},s),o.createElement("div",{className:b.fr.cx("fr-container","fr-container--fluid","fr-container-lg")},o.createElement("button",{className:b.fr.cx("fr-link--close","fr-link"),"aria-controls":"mega-menu-775"},c("close")),o.createElement("div",{className:b.fr.cx("fr-grid-row","fr-grid-row-lg--gutters")},void 0!==l&&o.createElement("div",{className:b.fr.cx("fr-col-12","fr-col-lg-8","fr-col-offset-lg-4--right","fr-mb-4v")},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-mega-menu__leader"),a.leader)},o.createElement("h4",{className:b.fr.cx("fr-h4","fr-mb-2v")},l.title),o.createElement("p",{className:b.fr.cx("fr-hidden","fr-displayed-lg")},l.paragraph),void 0!==l.link&&o.createElement(d,Object.assign({},l.link.linkProps,{id:null!==(r=l.link.linkProps.id)&&void 0!==r?r:"".concat(n,"-leader-link").concat(z({text:l.link.text})),className:(0,D.cx)(b.fr.cx("fr-link","fr-icon-arrow-right-line","fr-link--icon-right","fr-link--align-on-content"),l.link.linkProps.className)}),l.link.text))),u.map((e,t)=>{var r;let{categoryMainLink:i,links:l}=e;return o.createElement("div",{className:b.fr.cx("fr-col-12","fr-col-lg-3"),key:t},o.createElement("h5",{className:(0,D.cx)(b.fr.cx("fr-mega-menu__category"),a.category)},o.createElement(d,Object.assign({},i.linkProps,{id:null!==(r=i.linkProps.id)&&void 0!==r?r:"".concat(n,"-category-link").concat(z({text:i.text}),"-").concat(t),className:(0,D.cx)(b.fr.cx("fr-nav__link"),i.linkProps.className)}),i.text)),o.createElement("ul",{className:(0,D.cx)(b.fr.cx("fr-mega-menu__list"),a.list)},l.map((e,r)=>{var a;let{linkProps:i,text:l,isActive:u}=e;return o.createElement("li",{key:r},o.createElement(d,Object.assign({},i,{id:null!==(a=i.id)&&void 0!==a?a:"".concat(n,"-link").concat(z({text:l}),"-").concat(t,"-").concat(r),className:(0,D.cx)(b.fr.cx("fr-nav__link"),i.className)},u?{"aria-current":"page"}:{}),l))})))}))))}));K.displayName=(0,B.r)({MegaMenu:K});let{useTranslation:Q,addMegaMenuTranslations:ee}=(0,L.Lf)({componentName:(0,B.r)({MegaMenu:K}),frMessages:{close:"Fermer"}});ee({lang:"en",messages:{close:"Close"}});var et=r(59272),er=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let en=(0,o.memo)((0,o.forwardRef)((e,t)=>{let{className:r,items:n,classes:a={},style:i,id:l}=e,u=er(e,["className","items","classes","style","id"]);(0,C.assert)();let{t:s}=ea(),{Link:c}=(0,R.R)(),d=(0,et.t)({explicitlyProvidedId:l,defaultIdPrefix:"main-navigation"}),f=e=>"".concat(d,"-menu-").concat(e);return o.createElement("nav",Object.assign({id:d,className:(0,D.cx)(b.fr.cx("fr-nav"),a.root,r),style:i,role:"navigation","aria-label":s("main menu"),ref:t},u),o.createElement("ul",{className:(0,D.cx)(b.fr.cx("fr-nav__list"),a.list)},n.map((e,t)=>{var r,n;let{className:i,text:l,isActive:u=!1,linkProps:s,menuLinks:v=[],megaMenu:g,buttonProps:p={}}=e;return o.createElement("li",{key:t,className:(0,D.cx)(b.fr.cx("fr-nav__item"),a.item,i)},void 0!==s?o.createElement(c,Object.assign({},s,{id:null!==(r=s.id)&&void 0!==r?r:"".concat(d,"-link-").concat(t),className:(0,D.cx)(b.fr.cx("fr-nav__link"),a.link,s.className)},u&&{"aria-current":"page"}),l):o.createElement(o.Fragment,null,o.createElement("button",Object.assign({},p,{id:null!==(n=p.id)&&void 0!==n?n:"".concat(d,"-button-").concat(t),className:(0,D.cx)(b.fr.cx("fr-nav__btn"),p.className,a.btn),"aria-expanded":!1,"aria-controls":f(t)},u&&{"aria-current":!0}),l),0!==v.length&&o.createElement(J,{classes:{root:(0,D.cx)(b.fr.cx("fr-collapse"),a.root),list:a.menuList},links:v,id:f(t)}),void 0!==g&&o.createElement(K,{classes:{root:(0,D.cx)(b.fr.cx("fr-collapse"),a.megaMenu),leader:a.megaMenuLeader,category:a.megaMenuCategory,list:a.menuList},id:f(t),leader:g.leader,categories:g.categories})))})))}));en.displayName=(0,B.r)({MainNavigation:en});let{useTranslation:ea,addMainNavigationTranslations:eo}=(0,L.Lf)({componentName:(0,B.r)({MainNavigation:en}),frMessages:{"main menu":"Menu principal"}});eo({lang:"en",messages:{"main menu":"Main menu"}});var ei={src:"/template-nextjs/_next/static/media/light.f5239a67.svg",height:80,width:80,blurWidth:0,blurHeight:0},el={src:"/template-nextjs/_next/static/media/dark.d3c138d0.svg",height:80,width:80,blurWidth:0,blurHeight:0},eu={src:"/template-nextjs/_next/static/media/system.0b703235.svg",height:80,width:80,blurWidth:0,blurHeight:0},es=r(78570),ec=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let ed=(0,o.memo)((0,o.forwardRef)((e,t)=>{let{className:r,id:n,title:a,children:i,concealingBackdrop:l=!0,topAnchor:u=!1,iconId:s,buttons:c,size:d="medium",style:f}=e;ec(e,["className","id","title","children","concealingBackdrop","topAnchor","iconId","buttons","size","style"]),(0,C.assert)();let v=void 0===c?void 0:c instanceof Array?c:[c],{t:g}=ef(),p="fr-modal-title-".concat(n);return o.createElement("dialog",{"aria-labelledby":p,role:"dialog",id:n,className:(0,D.cx)(b.fr.cx("fr-modal",u&&"fr-modal--top"),r),style:f,ref:t,"data-fr-concealing-backdrop":l},o.createElement("div",{className:b.fr.cx("fr-container","fr-container--fluid","fr-container-md")},o.createElement("div",{className:b.fr.cx("fr-grid-row","fr-grid-row--center")},o.createElement("div",{className:(()=>{switch(d){case"large":return b.fr.cx("fr-col-12","fr-col-md-10","fr-col-lg-8");case"small":return b.fr.cx("fr-col-12","fr-col-md-6","fr-col-lg-4");case"medium":return b.fr.cx("fr-col-12","fr-col-md-8","fr-col-lg-6")}})()},o.createElement("div",{className:b.fr.cx("fr-modal__body")},o.createElement("div",{className:b.fr.cx("fr-modal__header")},o.createElement("button",{className:b.fr.cx("fr-btn--close","fr-btn"),title:g("close"),"aria-controls":n,type:"button"},g("close"))),o.createElement("div",{className:b.fr.cx("fr-modal__content")},o.createElement("h1",{id:p,className:b.fr.cx("fr-modal__title")},void 0!==s&&o.createElement("span",{className:b.fr.cx(s,"fr-fi--lg")}),a),i),void 0!==v&&o.createElement("div",{className:"fr-modal__footer"},o.createElement("ul",{className:b.fr.cx("fr-btns-group","fr-btns-group--right","fr-btns-group--inline-reverse","fr-btns-group--inline-lg","fr-btns-group--icon-left")},[...v].reverse().map((e,t)=>{var r,{doClosesModal:a=!0}=e,i=ec(e,["doClosesModal"]);return o.createElement("li",{key:t},o.createElement(es.Z,Object.assign({},i,{priority:null!==(r=i.priority)&&void 0!==r?r:0===t?"primary":"secondary"},a?"linkProps"in i?{linkProps:Object.assign(Object.assign({},i.linkProps),{"aria-controls":n})}:{nativeButtonProps:Object.assign(Object.assign({},i.nativeButtonProps),{"aria-controls":n})}:{})))}))))))))}));ed.displayName=(0,B.r)({Modal:ed});let{useTranslation:ef,addModalTranslations:ev}=(0,L.Lf)({componentName:(0,B.r)({Modal:ed}),frMessages:{close:"Fermer"}});ev({lang:"en",messages:{close:"Close"}}),ev({lang:"es",messages:{close:"Cerrar"}});let eg=function(e){let{isOpenedByDefault:t,id:r}=e,n={id:"".concat(r,"-control-button"),"aria-controls":r,"data-fr-opened":t},a="".concat(r,"-hidden-control-button");function i(e){return o.createElement(o.Fragment,null,o.createElement(es.Z,{nativeButtonProps:Object.assign(Object.assign({},n),{id:a,type:"button",tabIndex:-1,"aria-hidden":!0}),className:b.fr.cx("fr-hidden")}," "),o.createElement(ed,Object.assign({},e,{id:r})))}return i.displayName="".concat(r,"-modal"),(0,j.overwriteReadonlyProp)(i,"name",i.displayName),{Component:i,buttonProps:n,open:function(){let e=document.getElementById(r);window.dsfr(e).modal.disclose()},close:function(){let e=document.getElementById(r);window.dsfr(e).modal.conceal()},isOpenedByDefault:t,id:r}}({isOpenedByDefault:!1,id:"fr-theme-modal"}),ep={buttonProps:eg.buttonProps,iconId:"fr-icon-theme-fill",text:o.createElement(function(){let{t:e}=eh();return o.createElement(o.Fragment,null,e("display settings"))},null)};function em(){let{t:e}=eh(),{getInputId:t}=function(){let e=(0,o.useId)();return{getInputId:function(t){return"".concat(e,"-").concat(t)}}}();return o.createElement(eg.Component,{title:e("display settings"),size:"small"},o.createElement("div",{className:"fr-display"},o.createElement("div",{className:b.fr.cx("fr-form-group")},o.createElement("fieldset",{className:b.fr.cx("fr-fieldset")},o.createElement("legend",{className:b.fr.cx("fr-fieldset__legend","fr-text--regular")},e("pick a theme")),o.createElement("div",{className:b.fr.cx("fr-fieldset__content")},["light","dark","system"].map(r=>o.createElement("div",{key:r,className:b.fr.cx("fr-radio-group","fr-radio-rich")},o.createElement("input",{value:r,type:"radio",id:t(r),name:"fr-radios-theme"}),o.createElement("label",{className:"fr-label",htmlFor:t(r)},e("".concat(r," theme")),"system"===r&&o.createElement("span",{className:b.fr.cx("fr-hint-text")},e("system theme hint"))),o.createElement("div",{className:b.fr.cx("fr-radio-rich__img")},o.createElement("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"80px",height:"80px",viewBox:"0 0 80 80"},["artwork-decorative","artwork-minor","artwork-major"].map(e=>o.createElement("use",{key:e,className:b.fr.cx("fr-".concat(e)),xlinkHref:"".concat(O((()=>{switch(r){case"dark":return el;case"light":return ei;case"system":return eu}})()),"#").concat(e)})))))))))))}em.displayName=(0,B.r)({Display:em});let{useTranslation:eh,addDisplayTranslations:eb}=(0,L.Lf)({componentName:(0,B.r)({Display:em}),frMessages:{"display settings":"Param\xe8tres d'affichage",close:"Fermer","pick a theme":"Choisissez un th\xe8me pour personnaliser l'apparence du site.","light theme":"Th\xe8me clair","dark theme":"Th\xe8me sombre","system theme":"Syst\xe8me.","system theme hint":"Utilise les param\xe8tres syst\xe8me."}});eb({lang:"en",messages:{"display settings":"Display settings",close:"Close","pick a theme":"Pick a theme to customize the website's look.","light theme":"Light theme","dark theme":"Dark theme","system theme":"System.","system theme hint":"Use system preference"}}),eb({lang:"es",messages:{"display settings":"Par\xe1metro de visualizaci\xf3n",close:"Cerrar","pick a theme":"Elija un tema para personalizar el aspecto del sitio."}}),r(6087);var e_=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let ey=(0,o.memo)((0,o.forwardRef)((e,t)=>{let{className:r,id:n,label:a,big:i=!1,classes:l={},style:u,renderInput:s=e=>{let{className:t,id:r,placeholder:n,type:a}=e;return o.createElement("input",{className:t,id:r,placeholder:n,type:a})},clearInputOnSearch:c=!1,allowEmptySearch:d=!1,onButtonClick:f}=e,v=e_(e,["className","id","label","big","classes","style","renderInput","clearInputOnSearch","allowEmptySearch","onButtonClick"]);(0,C.assert)();let{t:g}=ek(),p=null!=a?a:g("label"),m=(0,et.t)({defaultIdPrefix:"fr-search-bar",explicitlyProvidedId:n}),h="search-".concat(m,"-input");return o.createElement("div",Object.assign({id:m,className:(0,D.cx)(b.fr.cx("fr-search-bar",i&&"fr-search-bar--lg"),l.root,r),role:"search",ref:t,style:u},v),o.createElement("label",{className:(0,D.cx)(b.fr.cx("fr-label"),l.label),htmlFor:h},p),s({className:b.fr.cx("fr-input"),placeholder:p,type:"search",id:h}),o.createElement(eT,{clearInputOnSearch:c,id:"".concat(m,"-button"),searchInputId:h,allowEmptySearch:d,onClick:f}))}));ey.displayName=(0,B.r)({SearchBar:ey});let{useTranslation:ek,addSearchBarTranslations:ew}=(0,L.Lf)({componentName:(0,B.r)({SearchBar:ey}),frMessages:{label:"Rechercher"}});ew({lang:"en",messages:{label:"Search"}});var ex=r(47286),eE=r(26463);function eT(e){let{searchInputId:t,clearInputOnSearch:r,allowEmptySearch:n,onClick:a,id:i}=e,{t:l}=ek(),[,u]=(0,o.useReducer)(e=>e+1,0),[{focusInputElement:s,getInputValue:c,resetInputValue:d,getIsInputFocused:f},v]=(0,o.useState)(()=>({getInputValue:(0,H.id)(()=>""),resetInputValue:(0,H.id)(()=>{}),focusInputElement:(0,H.id)(()=>{}),getIsInputFocused:(0,H.id)(()=>!1)})),g=(0,eE.O)(()=>{let e=c();if(!n&&""===e){s();return}null==a||a(e),r&&d()}),p=void 0===a;return((0,o.useEffect)(()=>{let e=document.getElementById(t);(0,C.assert)(null!==e,"".concat(t," should be mounted")),(0,C.assert)("value"in e&&"string"==typeof e.value,"".concat(t," is not an HTML input")),(0,C.assert)((0,ex.is)(e)),v({focusInputElement:()=>e.focus(),getInputValue:()=>e.value,resetInputValue:()=>e.value="",getIsInputFocused:()=>document.activeElement===e});let r=[];{let{cleanup:t}=function(e){let{inputElement:t,callback:r}=e,n=[];{let e=Object.getOwnPropertyDescriptor(t,"value");n.push(()=>{(0,C.assert)(void 0!==e),Object.defineProperty(t,"value",e)});let a=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),"value");Object.defineProperty(t,"value",{get:function(){for(var e=arguments.length,t=Array(e),r=0;r{let e=()=>{r()};return n.push(()=>t.removeEventListener("input",e)),e})()),t.addEventListener("keydown",(()=>{let e=e=>{if("Escape"===e.key){let e=setTimeout(()=>{n.splice(n.indexOf(t),1),r()},50),t=()=>{clearTimeout(e)};n.push(t)}};return n.push(()=>t.removeEventListener("keyup",e)),e})()),{cleanup:function(){n.forEach(e=>e())}}}({inputElement:e,callback:()=>u()});r.push(t)}return p&&(e.addEventListener("focus",(()=>{let t=()=>u();return r.push(()=>e.removeEventListener("focus",t)),t})()),e.addEventListener("blur",(()=>{let t=()=>u();return r.push(()=>e.removeEventListener("blur",t)),t})())),p||(e.addEventListener("keydown",(()=>{let t=t=>{"Enter"===t.key&&(g(),e.blur())};return r.push(()=>e.removeEventListener("keydown",t)),t})()),e.addEventListener("keydown",(()=>{let t=t=>{"Escape"===t.key&&e.blur()};return r.push(()=>e.removeEventListener("keydown",t)),t})())),()=>{r.forEach(e=>e())}},[t,p]),void 0===a&&(f()||""!==c()))?null:o.createElement("button",{id:i,className:b.fr.cx("fr-btn"),title:l("label"),onClick:g,style:void 0!==a?void 0:{position:"absolute",right:0}},l("label"))}var eS=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let eO=(0,o.memo)((0,o.forwardRef)((e,t)=>{let{className:r,id:a,brandTop:i,serviceTitle:l,serviceTagline:u,homeLinkProps:s,navigation:c,quickAccessItems:d=[],operatorLogo:f,renderSearchInput:v,clearSearchInputOnSearch:g=!1,allowEmptySearch:p=!1,onSearchButtonClick:m,classes:h={},style:_}=e,y=eS(e,["className","id","brandTop","serviceTitle","serviceTagline","homeLinkProps","navigation","quickAccessItems","operatorLogo","renderSearchInput","clearSearchInputOnSearch","allowEmptySearch","onSearchButtonClick","classes","style"]);(0,C.assert)();let k=null!=a?a:"fr-header",w="".concat("header-menu-modal","-").concat(k),x="".concat(k,"-menu-button"),E="".concat(k,"-search-modal"),T="".concat(k,"-search-input"),S=void 0!==v||void 0!==m;n={brandTop:i,homeLinkProps:s};let{t:O}=eC(),{t:M}=ek(),{Link:j}=(0,R.R)(),P=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return o.createElement("ul",{className:b.fr.cx("fr-btns-group")},d.map((t,r)=>o.createElement("li",{key:r},(0,F.z)(t,t instanceof Object&&"text"in t)?o.createElement(ej,{id:"".concat(k,"-quick-access-item-").concat(z({fallback:"",text:"".concat(t.text).concat(e?"-".concat(e):"")}),"-").concat(r),quickAccessItem:t}):t)))},A=(null==f?void 0:f.linkProps)!==void 0;return o.createElement(o.Fragment,null,o.createElement(em,null),o.createElement("header",Object.assign({role:"banner",id:k,className:(0,D.cx)(b.fr.cx("fr-header"),h.root,r),ref:t,style:_},y),o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__body"),h.body)},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-container"),h.container)},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__body-row"),h.bodyRow)},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__brand",!A&&"fr-enlarge-link"),h.brand)},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__brand-top"),h.brandTop)},o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__logo"),h.logo)},(()=>{let e=o.createElement("p",{className:b.fr.cx("fr-logo")},i);return void 0!==l?e:o.createElement(j,Object.assign({},s),e)})()),void 0!==f&&o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__operator",A&&"fr-enlarge-link"),h.operator)},(()=>{let e=o.createElement("img",{className:(0,D.cx)(b.fr.cx("fr-responsive-img"),h.operator),style:(()=>{switch(f.orientation){case"vertical":return{width:"3.5rem"};case"horizontal":return{maxWidth:"9.0625rem"}}})(),src:f.imgUrl,alt:f.alt});return A?o.createElement(j,Object.assign({},f.linkProps),e):e})()),(d.length>0||void 0!==c||S)&&o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__navbar"),h.navbar)},S&&o.createElement("button",{id:"".concat(k,"-search-button"),className:b.fr.cx("fr-btn--search","fr-btn"),"data-fr-opened":!1,"aria-controls":E,title:M("label")},M("label")),o.createElement("button",{className:b.fr.cx("fr-btn--menu","fr-btn"),"data-fr-opened":"false","aria-controls":w,"aria-haspopup":"menu",id:x,title:O("menu")},O("menu")))),void 0!==l&&o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__service",A&&"fr-enlarge-link"),h.service)},o.createElement(j,Object.assign({},s),o.createElement("p",{className:(0,D.cx)(b.fr.cx("fr-header__service-title"),h.serviceTitle)},l)),void 0!==u&&o.createElement("p",{className:(0,D.cx)(b.fr.cx("fr-header__service-tagline"),h.serviceTagline)},u))),(d.length>0||S)&&o.createElement("div",{className:b.fr.cx("fr-header__tools")},d.length>0&&o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__tools-links"),h.toolsLinks)},P()),S&&o.createElement("div",{className:b.fr.cx("fr-header__search","fr-modal"),id:E},o.createElement("div",{className:b.fr.cx("fr-container","fr-container-lg--fluid")},o.createElement("button",{id:"".concat(k,"-search-button"),className:b.fr.cx("fr-btn--close","fr-btn"),"aria-controls":E,title:O("close")},O("close")),o.createElement("div",{className:b.fr.cx("fr-search-bar"),role:"search"},o.createElement("label",{className:b.fr.cx("fr-label"),htmlFor:T},M("label")),(null!=v?v:e=>{let{className:t,id:r,placeholder:n,type:a}=e;return o.createElement("input",{className:t,id:r,placeholder:n,type:a})})({className:b.fr.cx("fr-input"),id:T,placeholder:M("label"),type:"search"}),o.createElement(eT,{id:"".concat(k,"-search-bar-button"),searchInputId:T,onClick:m,clearInputOnSearch:g,allowEmptySearch:p})))))))),(void 0!==c||0!==d.length)&&o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__menu","fr-modal"),h.menu),id:w,"aria-labelledby":x},o.createElement("div",{className:b.fr.cx("fr-container")},o.createElement("button",{id:"".concat(k,"-mobile-overlay-button-close"),className:b.fr.cx("fr-btn--close","fr-btn"),"aria-controls":w,title:O("close")},O("close")),o.createElement("div",{className:(0,D.cx)(b.fr.cx("fr-header__menu-links"),h.menuLinks)},P("mobile")),void 0!==c&&(c instanceof Array?o.createElement(en,{id:"".concat(k,"-main-navigation"),items:c}):c)))))}));eO.displayName=(0,B.r)({Header:eO});let{useTranslation:eC,addHeaderTranslations:eM}=(0,L.Lf)({componentName:(0,B.r)({Header:eO}),frMessages:{menu:"Menu",close:"Fermer"}});function ej(e){let{id:t,className:r,quickAccessItem:n}=e,{Link:a}=(0,R.R)(),i=function(){var e;let r=(0,o.useId)();return null!==(e=null!=t?t:void 0!==n.linkProps?n.linkProps.id:n.buttonProps.id)&&void 0!==e?e:"fr-header-quick-access-item".concat(z({text:n.text,fallback:r}))}();return void 0!==n.linkProps?o.createElement(a,Object.assign({},n.linkProps,{id:i,className:(0,D.cx)(b.fr.cx("fr-btn",n.iconId),n.linkProps.className,r)}),n.text):o.createElement("button",Object.assign({},n.buttonProps,{id:i,className:(0,D.cx)(b.fr.cx("fr-btn",n.iconId),n.buttonProps.className,r)}),n.text)}eM({lang:"en",messages:{close:"Close"}});var eP=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let eA=(0,o.memo)((0,o.forwardRef)((e,t)=>{let{className:r,classes:n={},links:a,style:i,id:l}=e,u=eP(e,["className","classes","links","style","id"]),{t:s}=eI();(0,C.assert)();let c=(0,et.t)({defaultIdPrefix:"fr-skiplinks",explicitlyProvidedId:l});return o.createElement("div",Object.assign({id:c,className:(0,D.cx)(b.fr.cx("fr-skiplinks"),n.root,r),ref:t,style:i},u),o.createElement("nav",{className:b.fr.cx("fr-container"),role:"navigation","aria-label":s("label")},o.createElement("ul",{className:(0,D.cx)(b.fr.cx("fr-skiplinks__list"),n.list)},a&&a.map(e=>o.createElement("li",{key:e.anchor},o.createElement("a",{className:(0,D.cx)(b.fr.cx("fr-link"),n.link),href:e.anchor},e.label))))))}));eA.displayName=(0,B.r)({SkipLinks:eA});let{useTranslation:eI,addSkipLinksTranslations:eN}=(0,L.Lf)({componentName:(0,B.r)({SkipLinks:eA}),frMessages:{label:"Acc\xe8s rapide"}});eN({lang:"en",messages:{label:"Quick access"}}),eN({lang:"es",messages:{label:"Acceso rapido"}}),eN({lang:"de",messages:{label:"Schneller Zugang"}});var eR=r(46897),eL=r(96930);let{withDsfr:e$,dsfrDocumentApi:eG}=function(e){let{defaultColorScheme:t,verbose:n=!1,Link:a,preloadFonts:i=[],doPersistDarkModePreferenceWithCookie:u=!1,useLang:s,trustedTypesPolicyName:c="react-dsfr",doDisableFavicon:d=!1}=e,f=!1,v=[];void 0!==a&&(0,R.$)({Link:a}),void 0!==s&&(0,L.D5)({useLang:s}),k.j&&I({defaultColorScheme:t,verbose:n,doCheckNonce:!1,trustedTypesPolicyName:c,nextParams:{doPersistDarkModePreferenceWithCookie:u,registerEffectAction:e=>{f?e():v.push(e)}}});let g="dsfrIsDark";return{withDsfr:function(e){var r,n;function a(r){var n=r[g],a=$(r,["symbol"==typeof g?g:g+""]);return void 0===n&&(n=!!k.j&&null),(0,o.useEffect)(()=>{f||(f=!0,v.forEach(e=>e()))},[]),o.createElement(o.Fragment,null,o.createElement(l(),null,(0,w.Y)(x).filter(e=>i.includes(e)).map(e=>x[e]).map(e=>o.createElement("link",{key:e,rel:"preload",href:e,as:"font",crossOrigin:"anonymous"})),!d&&o.createElement(o.Fragment,null,o.createElement("link",{rel:"apple-touch-icon",href:O(E)}),o.createElement("link",{rel:"icon",href:O(T),type:"image/svg+xml"}),o.createElement("link",{rel:"shortcut icon",href:O(S),type:"image/x-icon"})),!k.j&&o.createElement(o.Fragment,null,o.createElement("style",{id:h.Zx},":root { color-scheme: ".concat(n?"dark":"light","; }")),o.createElement("meta",{name:"theme-color",content:b.fr.colors.getHex({isDark:n}).decisions.background.default.grey.default})),!k.j&&o.createElement("script",{dangerouslySetInnerHTML:{__html:_({defaultColorScheme:t,trustedTypesPolicyName:c,nonce:void 0})}})),k.j?o.createElement(e,Object.assign({},a)):o.createElement(y.Z,{value:n},o.createElement(e,Object.assign({},a))))}if(Object.keys(e).forEach(t=>a[t]=e[t]),u){let o=null!==(n=null===(r=e.getInitialProps)||void 0===r?void 0:r.bind(e))&&void 0!==n?n:m().getInitialProps.bind(m());a.getInitialProps=async e=>{var r;let n;let a=await o(e);return k.j||(n=null!==(r=(()=>{var t;let r=null===(t=e.ctx.req)||void 0===t?void 0:t.headers.cookie;return void 0===r?void 0:G(r)})())&&void 0!==r?r:(()=>{switch(t){case"dark":return!0;case"light":return!1;case"system":return}})()),Object.assign(Object.assign({},a),{[g]:n})}}return a.displayName=a.name,a},dsfrDocumentApi:{augmentDocumentForDsfr:function(e){var n;let a=null===(n=e.getInitialProps)||void 0===n?void 0:n.bind(e);void 0===a&&Promise.all([r.e(764),r.e(859)]).then(r.t.bind(r,56859,23)).then(e=>{let{default:t}=e;return a=t.getInitialProps.bind(t)}),e.getInitialProps=async e=>{let{isDark:r}=(()=>{var r,n;let a=G?null===(r=e.req)||void 0===r?void 0:r.headers.cookie:void 0;return{isDark:null!==(n=void 0===a?void 0:G(a))&&void 0!==n?n:(()=>{switch(t){case"light":return!1;case"dark":return!0;case"system":return}})()}})();{let t=e.renderPage;e.renderPage=e=>{var{enhanceApp:n}=e;return t(Object.assign(Object.assign({},$(e,["enhanceApp"])),{enhanceApp:e=>{var t;let a=null!==(t=null==n?void 0:n(e))&&void 0!==t?t:e;return function(e){return o.createElement(a,Object.assign({},Object.assign(Object.assign({},e),{[g]:r})))}}}))}}return(0,C.assert)(void 0!==a,"Default document not yet loaded. Please submit an issue to the tss-react repo"),Object.assign(Object.assign({},await a(e)),{[g]:r})}},getColorSchemeHtmlAttributes:function(e){let{[g]:t}=e;if(void 0===t)return{};let r=t?"dark":"light";return{[h.g6]:r,[h.dG]:r}}}}}({defaultColorScheme:"system",Link:s(),useLang:()=>{let{locale:e="fr"}=(0,c.useRouter)();return e},preloadFonts:["Marianne-Regular","Marianne-Medium","Marianne-Bold"]}),{withAppEmotionCache:eB,augmentDocumentWithEmotionCache:eD}=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.C,{prepend:n}=e,a=g(e,["prepend"]),i="".concat(e.key,"EmotionCache"),l="".concat(e.key,"-emotion-cache-insertion-point");return{withAppEmotionCache:function(e){let r;let n=()=>void 0!==r?r:r=(0,d.Z)(Object.assign(Object.assign({},a),{insertionPoint:(()=>{if(!("object"==typeof document&&"function"==typeof(null==document?void 0:document.getElementById)))return;let e=document.getElementById(l);return v(null!==e),e})()}));function u(r){let a=r[i],l=g(r,["symbol"==typeof i?i:i+""]);return o.createElement(t,{value:null!=a?a:n()},o.createElement(e,Object.assign({},l)))}return Object.keys(e).forEach(t=>u[t]=e[t]),u.displayName=u.name,u},augmentDocumentWithEmotionCache:function(t){var u;let s=null===(u=t.getInitialProps)||void 0===u?void 0:u.bind(t);void 0===s&&Promise.all([r.e(764),r.e(859)]).then(r.t.bind(r,56859,23)).then(e=>{let{default:t}=e;return s=t.getInitialProps.bind(t)});let c=Promise.all([r.e(764),r.e(524),r.e(726)]).then(r.bind(r,70888)).then(e=>{let{default:t}=e;return t});t.getInitialProps=t=>{var r,u,f,p;return r=this,u=void 0,f=void 0,p=function*(){let r=(0,d.Z)(a),u=(c instanceof Promise?yield c:c)(r),f=t.renderPage;t.renderPage=e=>{var{enhanceApp:t}=e;return f(Object.assign(Object.assign({},g(e,["enhanceApp"])),{enhanceApp:e=>{var n;let a=null!==(n=null==t?void 0:t(e))&&void 0!==n?n:e;return function(e){return o.createElement(a,Object.assign({},Object.assign(Object.assign({},e),{[i]:r})))}}}))},v(void 0!==s,"Default document not yet loaded. Please submit an issue to the tss-react repo");let p=yield s(t),m=[o.createElement("style",{id:l,key:l}),...u.extractCriticalToChunks(p.html).styles.filter(e=>{let{css:t}=e;return""!==t}).map(t=>o.createElement("style",{nonce:e.nonce,"data-emotion":"".concat(t.key," ").concat(t.ids.join(" ")),key:t.key,dangerouslySetInnerHTML:{__html:t.css}}))],h=o.Children.toArray(p.styles);return Object.assign(Object.assign({},p),{styles:n?[...m,...h]:[...h,...m]})},new(f||(f=Promise))(function(e,t){function n(e){try{o(p.next(e))}catch(e){t(e)}}function a(e){try{o(p.throw(e))}catch(e){t(e)}}function o(t){var r;t.done?e(t.value):((r=t.value)instanceof f?r:new f(function(e){e(r)})).then(n,a)}o((p=p.apply(r,u||[])).next())})}}}}({key:"css"}),eF=(0,a.jsxs)(a.Fragment,{children:["R\xe9publique",(0,a.jsx)("br",{}),"Fran\xe7aise"]}),eH={href:"/",title:"Accueil - Nom de l’entit\xe9 (minist\xe8re, secr\xe9tariat d'\xe9tat, gouvernement)"},eZ=[{text:"Conditions d'utilisation",linkProps:{href:"/cgu"}},{text:"Statistiques",linkProps:{href:"/stats"}},{text:"Budget",linkProps:{href:"/budget"}},{text:"Politique de confidentialit\xe9",linkProps:{href:"/politique-confidentialite"}},{text:"Aide",linkProps:{href:"/aide"}},{text:"Contribuer sur GitHub",linkProps:{href:"".concat("https://github.com/betagouv/template-nextjs").concat("/releases/tag/v".concat("1.15.8"))}}],eU=e=>{let{children:t}=e,r=(0,c.useRouter)(),n="\n default-src 'self' *.gouv.fr;\n img-src 'self' data: *.gouv.fr;\n script-src 'self' *.gouv.fr false;\n connect-src 'self' *.gouv.fr https://sentry.incubateur.net;\n frame-src 'self' *.gouv.fr;\n style-src 'self' 'unsafe-inline';\n font-src 'self' data: blob:;\n";return(0,a.jsxs)(eR.Wu,{children:[(0,a.jsxs)(l(),{children:[(0,a.jsx)("title",{children:"Template | beta.gouv.fr"}),n&&(0,a.jsx)("meta",{httpEquiv:"Content-Security-Policy",content:n}),(0,a.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,a.jsx)("meta",{name:"description",content:"Template Next.js beta.gouv.fr"})]}),(0,a.jsx)(eA,{links:[{anchor:"#fr-header-main-navigation",label:"Menu"},{anchor:"#content",label:"Contenu"},{anchor:"#fr-footer",label:"Pied de page"}]}),(0,a.jsx)(eO,{brandTop:eF,serviceTitle:"Nom du service num\xe9rique",serviceTagline:"Description du service num\xe9rique",homeLinkProps:eH,navigation:[{text:"Accueil",linkProps:{href:"/"},isActive:"/"===r.asPath},{text:"DSFR playground",linkProps:{href:"/dsfr"},isActive:"/dsfr"===r.asPath},{text:"Mui playground",linkProps:{href:"/mui"},isActive:"/mui"===r.asPath},{text:"Article",linkProps:{href:"/article"},isActive:"/article"===r.asPath}],quickAccessItems:[ep]}),(0,a.jsx)("div",{className:b.fr.cx("fr-container","fr-container--fluid","fr-p-5w"),id:"content",children:t}),(0,a.jsx)(U,{brandTop:eF,accessibility:"non compliant",contentDescription:"\n Ce message est \xe0 remplacer par les informations de votre site.\n\n Comme exemple de contenu, vous pouvez indiquer les informations \n suivantes : Le site officiel d’information administrative pour les entreprises.\n ",homeLinkProps:eH,license:"Sauf mention explicite de propri\xe9t\xe9 intellectuelle d\xe9tenue par des tiers, les contenus de ce site sont propos\xe9s sous licence ".concat("Apache-2.0"),accessibilityLinkProps:{href:"/accessibilite"},termsLinkProps:{href:"/mentions-legales"},bottomItems:[...eZ,ep]})]})};var eW=e$(eB(function(e){let{Component:t,pageProps:r}=e;return(0,o.useEffect)(()=>{(0,eL.init)({url:"https://stats.beta.gouv.fr",siteId:"124"})},[]),(0,a.jsx)("div",{style:{minHeight:"100vh",display:"flex",flexDirection:"column"},children:(0,a.jsx)(eU,{children:(0,a.jsx)(t,{...r})})})}))},31849:function(){},6087:function(){},9008:function(e,t,r){e.exports=r(6665)},41664:function(e,t,r){e.exports=r(63480)},39332:function(e,t,r){r(56612)},11163:function(e,t,r){e.exports=r(73035)},34155:function(e){var t,r,n,a=e.exports={};function o(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var u=[],s=!1,c=-1;function d(){s&&n&&(s=!1,n.length?u=n.concat(u):c=-1,u.length&&f())}function f(){if(!s){var e=l(d);s=!0;for(var t=u.length;t;){for(n=u,u=[];++c1)for(var r=1;r0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i};Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.AssertionError=void 0;var i=r(34774),l=r(29419),u=function(e){function t(t){var r=this.constructor,n=e.call(this,"Wrong assertion encountered"+(t?': "'.concat(t,'"'):""))||this;if(Object.setPrototypeOf(n,r.prototype),!n.stack)return n;try{(0,i.overwriteReadonlyProp)(n,"stack",n.stack.split("\n").filter(function(){for(var e=[],t=0;t=0||(a[r]=e[r]);return a}r.d(t,{Z:function(){return n}})}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(82217),t(6840),t(73035)}),_N_E=e.O()}]); +//# sourceMappingURL=_app-e9e32ebcf1eca1d8.js.map \ No newline at end of file diff --git a/_next/static/chunks/pages/_app-c31b7a699c6db291.js.map b/_next/static/chunks/pages/_app-e9e32ebcf1eca1d8.js.map similarity index 99% rename from _next/static/chunks/pages/_app-c31b7a699c6db291.js.map rename to _next/static/chunks/pages/_app-e9e32ebcf1eca1d8.js.map index bd95896d..d79a8d8c 100644 --- a/_next/static/chunks/pages/_app-c31b7a699c6db291.js.map +++ b/_next/static/chunks/pages/_app-e9e32ebcf1eca1d8.js.map @@ -1 +1 @@ -{"version":3,"file":"static/chunks/pages/_app-c31b7a699c6db291.js","mappings":"iIAqDA,IAAAA,EAAA,WAEA,SAAAA,EAAAC,CAAA,EACA,IAAAC,EAAA,KAEA,KAAAC,UAAA,UAAAC,CAAA,EACA,IAAAC,EAIAA,EAFAH,IAAAA,EAAAI,IAAA,CAAAC,MAAA,CACAL,EAAAM,cAAA,CACAN,EAAAM,cAAA,CAAAC,WAAA,CACUP,EAAAQ,OAAA,CACVR,EAAAS,SAAA,CAAAC,UAAA,CAEAV,EAAAG,MAAA,CAGAH,EAAAI,IAAA,CAAAJ,EAAAI,IAAA,CAAAC,MAAA,IAAAE,WAAA,CAGAP,EAAAS,SAAA,CAAAE,YAAA,CAAAT,EAAAC,GAEAH,EAAAI,IAAA,CAAAQ,IAAA,CAAAV,EACA,EAEA,KAAAW,QAAA,CAAAd,KAAAe,IAAAf,EAAAgB,MAAA,EAAuEhB,EAAAgB,MAAA,CACvE,KAAAX,IAAA,IACA,KAAAY,GAAA,GACA,KAAAC,KAAA,CAAAlB,EAAAkB,KAAA,CAEA,KAAAC,GAAA,CAAAnB,EAAAmB,GAAA,CACA,KAAAT,SAAA,CAAAV,EAAAU,SAAA,CACA,KAAAD,OAAA,CAAAT,EAAAS,OAAA,CACA,KAAAF,cAAA,CAAAP,EAAAO,cAAA,CACA,KAAAH,MAAA,KACA,CAEA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AAA,UACAC,KAAA,SACA,ECCA2C,EAhBA,CACA,aACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA9C,KAAA,UACAC,KAAA,UACAC,KAAA,UACAC,KAAA,SACA,aCCA4C,EAhBA,CACA,aACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA/C,KAAA,UACAC,KAAA,UACAC,KAAA,UACAC,KAAA,SACA,ECCA6C,EAhBA,CACA,aACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACAhD,KAAA,UACAC,KAAA,UACAC,KAAA,UACAC,KAAA,SACA,ECCA8C,EAhBA,CACA,aACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACAjD,KAAA,UACAC,KAAA,UACAC,KAAA,UACAC,KAAA,SACA,ECCA+C,EAhBA,CACA,aACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACAlD,KAAA,UACAC,KAAA,UACAC,KAAA,UACAC,KAAA,SACA,ECZA,IAAAiC,EAAA,2CAWOe,EAAA,CAEPC,KAAA,CAEAC,QAAA,sBAEAC,UAAA,qBAEAC,SAAA,qBACA,EAEAC,QAAA,sBAGAC,WAAA,CACAC,MAAWhB,EAAME,KAAA,CACjBe,QAAajB,EAAME,KAAA,EAGnBgB,OAAA,CAEAC,OAAA,sBAEAC,MAAA,sBACAC,aAAA,IAEAC,SAAA,sBACAC,gBAAA,IAEAV,SAAA,sBAEAW,mBAAA,sBACAC,gBAAA,IACAC,MAAA,sBACAC,aAAA,IACAC,iBAAA,GACA,CACA,EACOC,EAAA,CACPnB,KAAA,CACAC,QAAaX,EAAME,KAAA,CACnBU,UAAA,2BACAC,SAAA,2BACAiB,KAAA,0BACA,EACAhB,QAAA,4BACAC,WAAA,CACAC,MAAA,UACAC,QAAA,SACA,EACAC,OAAA,CACAC,OAAYnB,EAAME,KAAA,CAClBkB,MAAA,4BACAC,aAAA,IACAC,SAAA,4BACAC,gBAAA,IACAV,SAAA,2BACAW,mBA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,4BACd,EACA,SAAY,CACR,QAAW,sBACX,MAAS,4BACT,OAAU,4BACd,EACA,SAAY,CACR,QAAW,qBACf,EACA,SAAY,CACR,QAAW,qBACf,EACA,SAAY,CACR,QAAW,qBACf,EACA,QAAW,CACP,QAAW,oBACf,EACA,SAAY,CACR,QAAW,qBACf,CACJ,EACA,WAAc,CACV,QAAW,CACP,QAAW,4BACX,MAAS,kCACT,OAAU,kCACd,EACA,SAAY,CACR,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,WAAc,CACV,QAAW,iCACX,MAAS,uCACT,OAAU,uCACd,EACA,SAAY,CACR,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,WAAc,CACV,QAAW,gCACf,EACA,QAAW,CACP,QAAW,6BACf,EACA,SAAY,CACR,QAAW,4BACf,CACJ,EACA,YAAe,CACX,QAAW,CACP,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,QAAW,CACP,QAAW,8BACf,EACA,SAAY,CACR,QAAW,6BACf,CACJ,EACA,KAAQ,CACJ,SAAY,CACR,QAAW,sBACX,MAAS,4BACT,OAAU,4BACd,EACA,SAAY,CACR,QAAW,sBACX,MAAS,4BACT,OAAU,4BACd,EACA,QAAW,CACP,QAAW,oBACf,CACJ,EACA,QAAW,CACP,SAAY,CACR,QAAW,yBACX,MAAS,+BACT,OAAU,+BACd,EACA,SAAY,CACR,QAAW,yBACX,MAAS,+BACT,OAAU,+BACd,EACA,QAAW,CACP,QAAW,uBACf,CACJ,EACA,QAAW,CACP,SAAY,CACR,QAAW,yBACX,MAAS,+BACT,OAAU,+BACd,EACA,SAAY,CACR,QAAW,yBACX,MAAS,+BACT,OAAU,+BACd,EACA,QAAW,CACP,QAAW,uBACf,CACJ,EACA,MAAS,CACL,SAAY,CACR,QAAW,uBACX,MAAS,6BACT,OAAU,6BACd,EACA,SAAY,CACR,QAAW,uBACX,MAAS,6BACT,OAAU,6BACd,EACA,QAAW,CACP,QAAW,qBACf,CACJ,EACA,qBAAwB,CACpB,QAAW,CACP,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,SAAY,CACR,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,cAAiB,CACb,QAAW,iDACX,MAAS,uDACT,OAAU,uDACd,EACA,SAAY,CACR,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,QAAW,CACP,QAAW,wCACf,EACA,SAAY,CACR,QAAW,uCACf,CACJ,EACA,cAAiB,CACb,QAAW,CACP,QAAW,+BACX,MAAS,qCACT,OAAU,qCACd,EACA,SAAY,CACR,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,cAAiB,CACb,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,EACA,SAAY,CACR,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,QAAW,CACP,QAAW,gCACf,EACA,SAAY,CACR,QAAW,+BACf,CACJ,EACA,cAAiB,CACb,QAAW,CACP,QAAW,+BACX,MAAS,qCACT,OAAU,qCACd,EACA,SAAY,CACR,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,cAAiB,CACb,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,EACA,SAAY,CACR,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,QAAW,CACP,QAAW,gCACf,EACA,SAAY,CACR,QAAW,+BACf,CACJ,EACA,YAAe,CACX,QAAW,CACP,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,cAAiB,CACb,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,QAAW,CACP,QAAW,8BACf,EACA,SAAY,CACR,QAAW,6BACf,CACJ,EACA,cAAiB,CACb,QAAW,CACP,QAAW,+BACX,MAAS,qCACT,OAAU,qCACd,EACA,SAAY,CACR,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,cAAiB,CACb,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,EACA,SAAY,CACR,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,QAAW,CACP,QAAW,gCACf,EACA,SAAY,CACR,QAAW,+BACf,CACJ,EACA,UAAa,CACT,QAAW,CACP,QAAW,2BACX,MAAS,iCACT,OAAU,iCACd,EACA,SAAY,CACR,QAAW,4BACX,MAAS,kCACT,OAAU,kCACd,EACA,cAAiB,CACb,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,SAAY,CACR,QAAW,4BACX,MAAS,kCACT,OAAU,kCACd,EACA,QAAW,CACP,QAAW,4BACf,EACA,SAAY,CACR,QAAW,2BACf,CACJ,EACA,YAAe,CACX,QAAW,CACP,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,cAAiB,CACb,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,QAAW,CACP,QAAW,8BACf,EACA,SAAY,CACR,QAAW,6BACf,CACJ,EACA,cAAiB,CACb,QAAW,CACP,QAAW,+BACX,MAAS,qCACT,OAAU,qCACd,EACA,SAAY,CACR,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,cAAiB,CACb,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,EACA,SAAY,CACR,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,QAAW,CACP,QAAW,gCACf,EACA,SAAY,CACR,QAAW,+BACf,CACJ,EACA,YAAe,CACX,QAAW,CACP,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,cAAiB,CACb,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,QAAW,CACP,QAAW,8BACf,EACA,SAAY,CACR,QAAW,6BACf,CACJ,EACA,UAAa,CACT,QAAW,CACP,QAAW,2BACX,MAAS,iCACT,OAAU,iCACd,EACA,SAAY,CACR,QAAW,4BACX,MAAS,kCACT,OAAU,kCACd,EACA,cAAiB,CACb,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,SAAY,CACR,QAAW,4BACX,MAAS,kCACT,OAAU,kCACd,EACA,QAAW,CACP,QAAW,4BACf,EACA,SAAY,CACR,QAAW,2BACf,CACJ,EACA,gBAAmB,CACf,QAAW,CACP,QAAW,iCACX,MAAS,uCACT,OAAU,uCACd,EACA,SAAY,CACR,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,cAAiB,CACb,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,SAAY,CACR,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,QAAW,CACP,QAAW,kCACf,EACA,SAAY,CACR,QAAW,iCACf,CACJ,EACA,eAAkB,CACd,QAAW,CACP,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,SAAY,CACR,QAAW,iCACX,MAAS,uCACT,OAAU,uCACd,EACA,cAAiB,CACb,QAAW,0CACX,MAAS,gDACT,OAAU,gDACd,EACA,SAAY,CACR,QAAW,iCACX,MAAS,uCACT,OAAU,uCACd,EACA,QAAW,CACP,QAAW,iCACf,EACA,SAAY,CACR,QAAW,gCACf,CACJ,EACA,kBAAqB,CACjB,QAAW,CACP,QAAW,oCACX,MAAS,0CACT,OAAU,0CACd,EACA,SAAY,CACR,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,cAAiB,CACb,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,SAAY,CACR,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,QAAW,CACP,QAAW,qCACf,EACA,SAAY,CACR,QAAW,oCACf,CACJ,EACA,eAAkB,CACd,QAAW,CACP,QAAW,iCACX,MAAS,uCACT,OAAU,uCACd,EACA,SAAY,CACR,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,cAAiB,CACb,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,SAAY,CACR,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,QAAW,CACP,QAAW,kCACf,EACA,SAAY,CACR,QAAW,iCACf,CACJ,EACA,aAAgB,CACZ,QAAW,CACP,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,SAAY,CACR,QAAW,+BACX,MAAS,qCACT,OAAU,qCACd,EACA,cAAiB,CACb,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,SAAY,CACR,QAAW,+BACX,MAAS,qCACT,OAAU,qCACd,EACA,QAAW,CACP,QAAW,+BACf,EACA,SAAY,CACR,QAAW,8BACf,CACJ,EACA,WAAc,CACV,QAAW,CACP,QAAW,4BACX,MAAS,kCACT,OAAU,kCACd,EACA,SAAY,CACR,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,cAAiB,CACb,QAAW,sCACX,MAAS,4CACT,OAAU,4CACd,EACA,SAAY,CACR,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,QAAW,CACP,QAAW,6BACf,EACA,SAAY,CACR,QAAW,4BACf,CACJ,EACA,eAAkB,CACd,QAAW,CACP,QAAW,iCACX,MAAS,uCACT,OAAU,uCACd,EACA,SAAY,CACR,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,cAAiB,CACb,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,SAAY,CACR,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,QAAW,CACP,QAAW,kCACf,EACA,SAAY,CACR,QAAW,iCACf,CACJ,CACJ,EInpBI,UFL0B,CAC1B,WAAc,CACV,QAAW,CACP,KAAQ,CACJ,QAAW,iCACX,MAAS,uCACT,OAAU,uCACd,CACJ,EACA,IAAO,CACH,KAAQ,CACJ,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,WAAc,CACV,QAAW,oCACX,MAAS,0CACT,OAAU,0CACd,EACA,YAAe,CACX,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,qBAAwB,CACpB,QAAW,+CACX,MAAS,qDACT,OAAU,qDACd,EACA,cAAiB,CACb,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,cAAiB,CACb,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,YAAe,CACX,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,cAAiB,CACb,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,UAAa,CACT,QAAW,mCACX,MAAS,yCACT,OAAU,yCACd,EACA,YAAe,CACX,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,cAAiB,CACb,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,YAAe,CACX,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,UAAa,CACT,QAAW,mCACX,MAAS,yCACT,OAAU,yCACd,EACA,gBAAmB,CACf,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,EACA,eAAkB,CACd,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,kBAAqB,CACjB,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,eAAkB,CACd,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,EACA,aAAgB,CACZ,QAAW,sCACX,MAAS,4CACT,OAAU,4CACd,EACA,WAAc,CACV,QAAW,oCACX,MAAS,0CACT,OAAU,0CACd,EACA,eAAkB,CACd,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,CACJ,EACA,SAAY,CACR,KAAQ,CACJ,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,WAAc,CACV,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,EACA,YAAe,CACX,QAAW,0CACX,MAAS,gDACT,OAAU,gDACd,EACA,qBAAwB,CACpB,QAAW,oDACX,MAAS,0DACT,OAAU,0DACd,EACA,cAAiB,CACb,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,cAAiB,CACb,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,YAAe,CACX,QAAW,0CACX,MAAS,gDACT,OAAU,gDACd,EACA,cAAiB,CACb,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,UAAa,CACT,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,YAAe,CACX,QAAW,0CACX,MAAS,gDACT,OAAU,gDACd,EACA,cAAiB,CACb,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,YAAe,CACX,QAAW,0CACX,MAAS,gDACT,OAAU,gDACd,EACA,UAAa,CACT,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,gBAAmB,CACf,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,eAAkB,CACd,QAAW,6CACX,MAAS,mDACT,OAAU,mDACd,EACA,kBAAqB,CACjB,QAAW,iDACX,MAAS,uDACT,OAAU,uDACd,EACA,eAAkB,CACd,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,aAAgB,CACZ,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,WAAc,CACV,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,EACA,eAAkB,CACd,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,KAAQ,CACJ,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,QAAW,CACP,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,QAAW,CACP,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,MAAS,CACL,QAAW,mCACX,MAAS,yCACT,OAAU,yCACd,CACJ,EACA,KAAQ,CACJ,KAAQ,CACJ,QAAW,6BACf,EACA,WAAc,CACV,QAAW,oCACf,EACA,YAAe,CACX,QAAW,qCACf,EACA,qBAAwB,CACpB,QAAW,+CACf,EACA,cAAiB,CACb,QAAW,uCACf,EACA,cAAiB,CACb,QAAW,uCACf,EACA,YAAe,CACX,QAAW,qCACf,EACA,cAAiB,CACb,QAAW,uCACf,EACA,UAAa,CACT,QAAW,mCACf,EACA,YAAe,CACX,QAAW,qCACf,EACA,cAAiB,CACb,QAAW,uCACf,EACA,YAAe,CACX,QAAW,qCACf,EACA,UAAa,CACT,QAAW,mCACf,EACA,gBAAmB,CACf,QAAW,yCACf,EACA,eAAkB,CACd,QAAW,wCACf,EACA,kBAAqB,CACjB,QAAW,4CACf,EACA,eAAkB,CACd,QAAW,yCACf,EACA,aAAgB,CACZ,QAAW,sCACf,EACA,WAAc,CACV,QAAW,oCACf,EACA,eAAkB,CACd,QAAW,yCACf,EACA,KAAQ,CACJ,QAAW,6BACf,EACA,QAAW,CACP,QAAW,gCACf,EACA,QAAW,CACP,QAAW,gCACf,EACA,MAAS,CACL,QAAW,8BACf,CACJ,EACA,WAAc,CACV,WAAc,CACV,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,YAAe,CACX,QAAW,6CACX,MAAS,mDACT,OAAU,mDACd,EACA,qBAAwB,CACpB,QAAW,uDACX,MAAS,6DACT,OAAU,6DACd,EACA,cAAiB,CACb,QAAW,+CACX,MAAS,qDACT,OAAU,qDACd,EACA,cAAiB,CACb,QAAW,+CACX,MAAS,qDACT,OAAU,qDACd,EACA,YAAe,CACX,QAAW,6CACX,MAAS,mDACT,OAAU,mDACd,EACA,cAAiB,CACb,QAAW,+CACX,MAAS,qDACT,OAAU,qDACd,EACA,UAAa,CACT,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,YAAe,CACX,QAAW,6CACX,MAAS,mDACT,OAAU,mDACd,EACA,cAAiB,CACb,QAAW,+CACX,MAAS,qDACT,OAAU,qDACd,EACA,YAAe,CACX,QAAW,6CACX,MAAS,mDACT,OAAU,mDACd,EACA,UAAa,CACT,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,gBAAmB,CACf,QAAW,iDACX,MAAS,uDACT,OAAU,uDACd,EACA,eAAkB,CACd,QAAW,gDACX,MAAS,sDACT,OAAU,sDACd,EACA,kBAAqB,CACjB,QAAW,oDACX,MAAS,0DACT,OAAU,0DACd,EACA,eAAkB,CACd,QAAW,iDACX,MAAS,uDACT,OAAU,uDACd,EACA,aAAgB,CACZ,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,WAAc,CACV,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,eAAkB,CACd,QAAW,iDACX,MAAS,uDACT,OAAU,uDACd,EACA,KAAQ,CACJ,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,QAAW,CACP,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,QAAW,CACP,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,MAAS,CACL,QAAW,sCACX,MAAS,4CACT,OAAU,4CACd,CACJ,EACA,UAAa,CACT,WAAc,CACV,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,YAAe,CACX,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,qBAAwB,CACpB,QAAW,sDACX,MAAS,4DACT,OAAU,4DACd,EACA,cAAiB,CACb,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,cAAiB,CACb,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,YAAe,CACX,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,cAAiB,CACb,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,UAAa,CACT,QAAW,0CACX,MAAS,gDACT,OAAU,gDACd,EACA,YAAe,CACX,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,cAAiB,CACb,QAAW,8CACX,MAAS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,CACf,KAAQ,CACJ,QAAW,0CACX,MAAS,gDACT,OAAU,gDACd,CACJ,CACJ,EACA,KAAQ,CACJ,QAAW,CACP,KAAQ,CACJ,QAAW,0BACf,EACA,KAAQ,CACJ,QAAW,0BACf,EACA,QAAW,CACP,QAAW,6BACf,EACA,QAAW,CACP,QAAW,6BACf,EACA,MAAS,CACL,QAAW,2BACf,CACJ,EACA,WAAc,CACV,KAAQ,CACJ,QAAW,8BACf,EACA,WAAc,CACV,QAAW,qCACf,EACA,YAAe,CACX,QAAW,sCACf,EACA,qBAAwB,CACpB,QAAW,gDACf,EACA,cAAiB,CACb,QAAW,wCACf,EACA,cAAiB,CACb,QAAW,wCACf,EACA,YAAe,CACX,QAAW,sCACf,EACA,cAAiB,CACb,QAAW,wCACf,EACA,UAAa,CACT,QAAW,oCACf,EACA,YAAe,CACX,QAAW,sCACf,EACA,cAAiB,CACb,QAAW,wCACf,EACA,YAAe,CACX,QAAW,sCACf,EACA,UAAa,CACT,QAAW,oCACf,EACA,gBAAmB,CACf,QAAW,0CACf,EACA,eAAkB,CACd,QAAW,yCACf,EACA,kBAAqB,CACjB,QAAW,6CACf,EACA,eAAkB,CACd,QAAW,0CACf,EACA,aAAgB,CACZ,QAAW,uCACf,EACA,WAAc,CACV,QAAW,qCACf,EACA,eAAkB,CACd,QAAW,0CACf,CACJ,EACA,MAAS,CACL,KAAQ,CACJ,QAAW,wBACf,EACA,WAAc,CACV,QAAW,+BACf,EACA,YAAe,CACX,QAAW,gCACf,CACJ,EACA,MAAS,CACL,KAAQ,CACJ,QAAW,wBACf,EACA,WAAc,CACV,QAAW,+BACf,EACA,YAAe,CACX,QAAW,gCACf,EACA,qBAAwB,CACpB,QAAW,0CACf,EACA,cAAiB,CACb,QAAW,kCACf,EACA,cAAiB,CACb,QAAW,kCACf,EACA,YAAe,CACX,QAAW,gCACf,EACA,cAAiB,CACb,QAAW,kCACf,EACA,UAAa,CACT,QAAW,8BACf,EACA,YAAe,CACX,QAAW,gCACf,EACA,cAAiB,CACb,QAAW,kCACf,EACA,YAAe,CACX,QAAW,gCACf,EACA,UAAa,CACT,QAAW,8BACf,EACA,gBAAmB,CACf,QAAW,oCACf,EACA,eAAkB,CACd,QAAW,mCACf,EACA,kBAAqB,CACjB,QAAW,uCACf,EACA,eAAkB,CACd,QAAW,oCACf,EACA,aAAgB,CACZ,QAAW,iCACf,EACA,WAAc,CACV,QAAW,+BACf,EACA,eAAkB,CACd,QAAW,oCACf,CACJ,EACA,OAAU,CACN,KAAQ,CACJ,QAAW,yBACf,EACA,WAAc,CACV,QAAW,gCACf,EACA,YAAe,CACX,QAAW,iCACf,CACJ,EACA,QAAW,CACP,KAAQ,CACJ,QAAW,0BACf,CACJ,EACA,SAAY,CACR,KAAQ,CACJ,QAAW,2BACf,EACA,WAAc,CACV,QAAW,kCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,KAAQ,CACJ,QAAW,2BACf,EACA,QAAW,CACP,QAAW,8BACf,EACA,QAAW,CACP,QAAW,8BACf,EACA,MAAS,CACL,QAAW,4BACf,EACA,qBAAwB,CACpB,QAAW,6CACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,UAAa,CACT,QAAW,iCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,UAAa,CACT,QAAW,iCACf,EACA,gBAAmB,CACf,QAAW,uCACf,EACA,eAAkB,CACd,QAAW,sCACf,EACA,kBAAqB,CACjB,QAAW,0CACf,EACA,eAAkB,CACd,QAAW,uCACf,EACA,aAAgB,CACZ,QAAW,oCACf,EACA,WAAc,CACV,QAAW,kCACf,EACA,eAAkB,CACd,QAAW,uCACf,CACJ,EACA,SAAY,CACR,KAAQ,CACJ,QAAW,2BACf,CACJ,EACA,WAAc,CACV,KAAQ,CACJ,QAAW,8BACf,CACJ,CACJ,EACA,OAAU,CACN,QAAW,CACP,KAAQ,CACJ,QAAW,4BACf,EACA,WAAc,CACV,QAAW,mCACf,EACA,YAAe,CACX,QAAW,oCACf,EACA,qBAAwB,CACpB,QAAW,8CACf,EACA,cAAiB,CACb,QAAW,sCACf,EACA,cAAiB,CACb,QAAW,sCACf,EACA,YAAe,CACX,QAAW,oCACf,EACA,cAAiB,CACb,QAAW,sCACf,EACA,UAAa,CACT,QAAW,kCACf,EACA,YAAe,CACX,QAAW,oCACf,EACA,cAAiB,CACb,QAAW,sCACf,EACA,YAAe,CACX,QAAW,oCACf,EACA,UAAa,CACT,QAAW,kCACf,EACA,gBAAmB,CACf,QAAW,wCACf,EACA,eAAkB,CACd,QAAW,uCACf,EACA,kBAAqB,CACjB,QAAW,2CACf,EACA,eAAkB,CACd,QAAW,wCACf,EACA,aAAgB,CACZ,QAAW,qCACf,EACA,WAAc,CACV,QAAW,mCACf,EACA,eAAkB,CACd,QAAW,wCACf,CACJ,EACA,OAAU,CACN,WAAc,CACV,QAAW,kCACf,EACA,YAAe,CACX,QAAW,mCACf,CACJ,EACA,WAAc,CACV,KAAQ,CACJ,QAAW,gCACf,EACA,WAAc,CACV,QAAW,uCACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,KAAQ,CACJ,QAAW,gCACf,EACA,QAAW,CACP,QAAW,mCACf,EACA,QAAW,CACP,QAAW,mCACf,EACA,MAAS,CACL,QAAW,iCACf,CACJ,EACA,UAAa,CACT,WAAc,CACV,QAAW,sCACf,EACA,YAAe,CACX,QAAW,uCACf,EACA,qBAAwB,CACpB,QAAW,iDACf,EACA,cAAiB,CACb,QAAW,yCACf,EACA,cAAiB,CACb,QAAW,yCACf,EACA,YAAe,CACX,QAAW,uCACf,EACA,cAAiB,CACb,QAAW,yCACf,EACA,UAAa,CACT,QAAW,qCACf,EACA,YAAe,CACX,QAAW,uCACf,EACA,cAAiB,CACb,QAAW,yCACf,EACA,YAAe,CACX,QAAW,uCACf,EACA,UAAa,CACT,QAAW,qCACf,EACA,gBAAmB,CACf,QAAW,2CACf,EACA,eAAkB,CACd,QAAW,0CACf,EACA,kBAAqB,CACjB,QAAW,8CACf,EACA,eAAkB,CACd,QAAW,2CACf,EACA,aAAgB,CACZ,QAAW,wCACf,EACA,WAAc,CACV,QAAW,sCACf,EACA,eAAkB,CACd,QAAW,2CACf,CACJ,EACA,KAAQ,CACJ,WAAc,CACV,QAAW,gCACf,EACA,YAAe,CACX,QAAW,iCACf,CACJ,EACA,MAAS,CACL,KAAQ,CACJ,QAAW,0BACf,EACA,WAAc,CACV,QAAW,iCACf,EACA,YAAe,CACX,QAAW,kCACf,EACA,KAAQ,CACJ,QAAW,0BACf,EACA,QAAW,CACP,QAAW,6BACf,EACA,QAAW,CACP,QAAW,6BACf,EACA,MAAS,CACL,QAAW,2BACf,EACA,qBAAwB,CACpB,QAAW,4CACf,EACA,cAAiB,CACb,QAAW,oCACf,EACA,cAAiB,CACb,QAAW,oCACf,EACA,YAAe,CACX,QAAW,kCACf,EACA,cAAiB,CACb,QAAW,oCACf,EACA,UAAa,CACT,QAAW,gCACf,EACA,YAAe,CACX,QAAW,kCACf,EACA,cAAiB,CACb,QAAW,oCACf,EACA,YAAe,CACX,QAAW,kCACf,EACA,UAAa,CACT,QAAW,gCACf,EACA,gBAAmB,CACf,QAAW,sCACf,EACA,eAAkB,CACd,QAAW,qCACf,EACA,kBAAqB,CACjB,QAAW,yCACf,EACA,eAAkB,CACd,QAAW,sCACf,EACA,aAAgB,CACZ,QAAW,mCACf,EACA,WAAc,CACV,QAAW,iCACf,EACA,eAAkB,CACd,QAAW,sCACf,CACJ,EACA,SAAY,CACR,KAAQ,CACJ,QAAW,6BACf,CACJ,CACJ,EACA,QAAW,CACP,MAAS,CACL,WAAc,CACV,QAAW,mCACX,MAAS,yCACT,OAAU,yCACd,EACA,YAAe,CACX,QAAW,oCACX,MAAS,0CACT,OAAU,0CACd,EACA,qBAAwB,CACpB,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,cAAiB,CACb,QAAW,sCACX,MAAS,4CACT,OAAU,4CACd,EACA,cAAiB,CACb,QAAW,sCACX,MAAS,4CACT,OAAU,4CACd,EACA,YAAe,CACX,QAAW,oCACX,MAAS,0CACT,OAAU,0CACd,EACA,cAAiB,CACb,QAAW,sCACX,MAAS,4CACT,OAAU,4CACd,EACA,UAAa,CACT,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,YAAe,CACX,QAAW,oCACX,MAAS,0CACT,OAAU,0CACd,EACA,cAAiB,CACb,QAAW,sCACX,MAAS,4CACT,OAAU,4CACd,EACA,YAAe,CACX,QAAW,oCACX,MAAS,0CACT,OAAU,0CACd,EACA,UAAa,CACT,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,gBAAmB,CACf,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,eAAkB,CACd,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,kBAAqB,CACjB,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,eAAkB,CACd,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,aAAgB,CACZ,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,WAAc,CACV,QAAW,mCACX,MAAS,yCACT,OAAU,yCACd,EACA,eAAkB,CACd,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,CACJ,EACA,MAAS,CACL,WAAc,CACV,QAAW,kCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,qBAAwB,CACpB,QAAW,6CACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,UAAa,CACT,QAAW,iCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,UAAa,CACT,QAAW,iCACf,EACA,gBAAmB,CACf,QAAW,uCACf,EACA,eAAkB,CACd,QAAW,sCACf,EACA,kBAAqB,CACjB,QAAW,0CACf,EACA,eAAkB,CACd,QAAW,uCACf,EACA,aAAgB,CACZ,QAAW,oCACf,EACA,WAAc,CACV,QAAW,kCACf,EACA,eAAkB,CACd,QAAW,uCACf,CACJ,EACA,WAAc,CACV,KAAQ,CACJ,QAAW,gCACf,EACA,WAAc,CACV,QAAW,uCACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,qBAAwB,CACpB,QAAW,kDACf,EACA,cAAiB,CACb,QAAW,0CACf,EACA,cAAiB,CACb,QAAW,0CACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,cAAiB,CACb,QAAW,0CACf,EACA,UAAa,CACT,QAAW,sCACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,cAAiB,CACb,QAAW,0CACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,UAAa,CACT,QAAW,sCACf,EACA,gBAAmB,CACf,QAAW,4CACf,EACA,eAAkB,CACd,QAAW,2CACf,EACA,kBAAqB,CACjB,QAAW,+CACf,EACA,eAAkB,CACd,QAAW,4CACf,EACA,aAAgB,CACZ,QAAW,yCACf,EACA,WAAc,CACV,QAAW,uCACf,EACA,eAAkB,CACd,QAAW,4CACf,CACJ,EACA,WAAc,CACV,KAAQ,CACJ,QAAW,gCACf,EACA,WAAc,CACV,QAAW,uCACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,qBAAwB,CACpB,QAAW,kDACf,EACA,cAAiB,CACb,QAAW,0CACf,EACA,cAAiB,CACb,QAAW,0CACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,cAAiB,CACb,QAAW,0CACf,EACA,UAAa,CACT,QAAW,sCACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,cAAiB,CACb,QAAW,0CACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,UAAa,CACT,QAAW,sCACf,EACA,gBAAmB,CACf,QAAW,4CACf,EACA,eAAkB,CACd,QAA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A6vB,UAAAzxB,MAAA,CAAsB4B,IAAA,CAC1C,IAAAqvB,EAAAQ,SAAA,CAAA7vB,EAAA,CACA,QAAAf,KAAAowB,EACAtuB,OAAA5B,SAAA,CAAA8V,cAAA,CAAAzO,IAAA,CAAA6oB,EAAApwB,IACAmwB,CAAAA,CAAA,CAAAnwB,EAAA,CAAAowB,CAAA,CAAApwB,EAAA,CAGA,CACA,OAAAmwB,CACA,GACAiK,KAAA,MAAAxJ,UACA,qECbe,SAAA6mF,EAAArnF,CAAA,CAAAurB,CAAA,EACf,GAAAvrB,MAAAA,EAAA,SACA,IAEApwB,EAAAe,EAFAovB,EAAA,GACAunF,EAAA51G,OAAA2f,IAAA,CAAA2O,GAEA,IAAArvB,EAAA,EAAcA,EAAA22G,EAAAv4G,MAAA,CAAuB4B,IACrCf,EAAA03G,CAAA,CAAA32G,EAAA,CACA46C,EAAAp5C,OAAA,CAAAvC,IAAA,GACAmwB,CAAAA,CAAA,CAAAnwB,EAAA,CAAAowB,CAAA,CAAApwB,EAAA,EAEA,OAAAmwB,CACA","sources":["webpack://_N_E/./node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js","webpack://_N_E/./node_modules/stylis/src/Utility.js","webpack://_N_E/./node_modules/stylis/src/Tokenizer.js","webpack://_N_E/./node_modules/stylis/src/Enum.js","webpack://_N_E/./node_modules/stylis/src/Serializer.js","webpack://_N_E/./node_modules/stylis/src/Middleware.js","webpack://_N_E/./node_modules/stylis/src/Parser.js","webpack://_N_E/./node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js","webpack://_N_E/./node_modules/@emotion/hash/dist/emotion-hash.esm.js","webpack://_N_E/./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","webpack://_N_E/./node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js","webpack://_N_E/./node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js","webpack://_N_E/./node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","webpack://_N_E/./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js","webpack://_N_E/./node_modules/@mui/material/colors/red.js","webpack://_N_E/./node_modules/@mui/private-theming/useTheme/ThemeContext.js","webpack://_N_E/./node_modules/@mui/private-theming/useTheme/useTheme.js","webpack://_N_E/./node_modules/@mui/private-theming/ThemeProvider/nested.js","webpack://_N_E/./node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js","webpack://_N_E/./node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js","webpack://_N_E/./node_modules/@mui/material/styles/ThemeProvider.js","webpack://_N_E/./node_modules/@mui/material/styles/createMixins.js","webpack://_N_E/./node_modules/@mui/material/colors/common.js","webpack://_N_E/./node_modules/@mui/material/colors/grey.js","webpack://_N_E/./node_modules/@mui/material/colors/purple.js","webpack://_N_E/./node_modules/@mui/material/colors/orange.js","webpack://_N_E/./node_modules/@mui/material/colors/blue.js","webpack://_N_E/./node_modules/@mui/material/colors/lightBlue.js","webpack://_N_E/./node_modules/@mui/material/colors/green.js","webpack://_N_E/./node_modules/@mui/material/styles/createPalette.js","webpack://_N_E/./node_modules/@mui/material/styles/createTypography.js","webpack://_N_E/./node_modules/@mui/material/styles/shadows.js","webpack://_N_E/./node_modules/@mui/material/styles/zIndex.js","webpack://_N_E/./node_modules/@mui/material/styles/createTheme.js","webpack://_N_E/./node_modules/@mui/material/styles/createTransitions.js","webpack://_N_E/./node_modules/@mui/material/styles/identifier.js","webpack://_N_E/./node_modules/@mui/system/colorManipulator.js","webpack://_N_E/./node_modules/@mui/system/esm/RtlProvider/index.js","webpack://_N_E/./node_modules/@mui/system/esm/breakpoints.js","webpack://_N_E/./node_modules/@mui/system/esm/createTheme/applyStyles.js","webpack://_N_E/./node_modules/@mui/system/esm/createTheme/createBreakpoints.js","webpack://_N_E/./node_modules/@mui/system/esm/createTheme/shape.js","webpack://_N_E/./node_modules/@mui/system/esm/createTheme/createSpacing.js","webpack://_N_E/./node_modules/@mui/system/esm/createTheme/createTheme.js","webpack://_N_E/./node_modules/@mui/system/esm/merge.js","webpack://_N_E/./node_modules/@mui/system/esm/memoize.js","webpack://_N_E/./node_modules/@mui/system/esm/spacing.js","webpack://_N_E/./node_modules/@mui/system/esm/style.js","webpack://_N_E/./node_modules/@mui/system/esm/compose.js","webpack://_N_E/./node_modules/@mui/system/esm/borders.js","webpack://_N_E/./node_modules/@mui/system/esm/cssGrid.js","webpack://_N_E/./node_modules/@mui/system/esm/palette.js","webpack://_N_E/./node_modules/@mui/system/esm/sizing.js","webpack://_N_E/./node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js","webpack://_N_E/./node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js","webpack://_N_E/./node_modules/@mui/system/esm/useThemeWithoutDefault.js","webpack://_N_E/./node_modules/@mui/utils/capitalize/capitalize.js","webpack://_N_E/./node_modules/@mui/utils/clamp/clamp.js","webpack://_N_E/./node_modules/@mui/utils/clamp/index.js","webpack://_N_E/./node_modules/@mui/utils/deepmerge/deepmerge.js","webpack://_N_E/./node_modules/@mui/utils/formatMuiErrorMessage/formatMuiErrorMessage.js","webpack://_N_E/./node_modules/@mui/utils/formatMuiErrorMessage/index.js","webpack://_N_E/./node_modules/@sentry/core/esm/constants.js","webpack://_N_E/./node_modules/@sentry/core/esm/debug-build.js","webpack://_N_E/./node_modules/@sentry/core/esm/eventProcessors.js","webpack://_N_E/./node_modules/@sentry/core/esm/exports.js","webpack://_N_E/./node_modules/@sentry/core/esm/hub.js","webpack://_N_E/./node_modules/@sentry/core/esm/scope.js","webpack://_N_E/./node_modules/@sentry/core/esm/session.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/dynamicSamplingContext.js","webpack://_N_E/./node_modules/@sentry/core/esm/utils/applyScopeDataToEvent.js","webpack://_N_E/./node_modules/@sentry/core/esm/utils/getRootSpan.js","webpack://_N_E/./node_modules/@sentry/core/esm/utils/prepareEvent.js","webpack://_N_E/./node_modules/@sentry/core/esm/utils/spanUtils.js","webpack://_N_E/./node_modules/@sentry/core/esm/version.js","webpack://_N_E/./node_modules/@sentry/utils/esm/baggage.js","webpack://_N_E/./node_modules/@sentry/utils/esm/browser.js","webpack://_N_E/./node_modules/@sentry/utils/esm/debug-build.js","webpack://_N_E/./node_modules/@sentry/utils/esm/is.js","webpack://_N_E/./node_modules/@sentry/utils/esm/logger.js","webpack://_N_E/./node_modules/@sentry/utils/esm/misc.js","webpack://_N_E/./node_modules/@sentry/utils/esm/memo.js","webpack://_N_E/./node_modules/@sentry/utils/esm/normalize.js","webpack://_N_E/./node_modules/@sentry/utils/esm/object.js","webpack://_N_E/./node_modules/@sentry/utils/esm/stacktrace.js","webpack://_N_E/./node_modules/@sentry/utils/esm/string.js","webpack://_N_E/./node_modules/@sentry/utils/esm/syncpromise.js","webpack://_N_E/./node_modules/@sentry/utils/esm/time.js","webpack://_N_E/./node_modules/@sentry/utils/esm/tracing.js","webpack://_N_E/./node_modules/@sentry/utils/esm/worldwide.js","webpack://_N_E/./node_modules/@socialgouv/matomo-next/lib/index.js","webpack://_N_E/./node_modules/next/app.js","webpack://_N_E/?adc8","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Button.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/generatedFromCss/breakpoints.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/getBaseFontSizePx.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/breakpoints.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/generatedFromCss/spacing.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/generatedFromCss/typography.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/generatedFromCss/colorOptions.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/generatedFromCss/getColorOptionsHex.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/generatedFromCss/colorDecisions.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/generatedFromCss/getColorDecisionsHex.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/colors.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/spacing.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/cx.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/i18n.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/link.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/useBreakpointsValuesPx.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/useBreakpointsValues.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/mui.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/cx.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/isBrowser.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/powerhooks/useConstCallback.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/useAnalyticsId.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/StatefulObservable/StatefulObservable.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/StatefulObservable/hooks/useObservable.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/StatefulObservable/hooks/useRerenderOnChange.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/StatefulObservable/hooks/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/StatefulObservable/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/useIsDark/client.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/useIsDark/constants.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/useIsDark/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/useIsDark/server.js","webpack://_N_E/./node_modules/@sentry/core/esm/utils/sdkMetadata.js","webpack://_N_E/./node_modules/@sentry/core/esm/utils/hasTracingEnabled.js","webpack://_N_E/./node_modules/@sentry/core/esm/integration.js","webpack://_N_E/./node_modules/@sentry/core/esm/integrations/functiontostring.js","webpack://_N_E/./node_modules/@sentry/core/esm/integrations/inboundfilters.js","webpack://_N_E/./node_modules/@sentry/utils/esm/aggregate-errors.js","webpack://_N_E/./node_modules/@sentry/utils/esm/eventbuilder.js","webpack://_N_E/./node_modules/@sentry/core/esm/integrations/linkederrors.js","webpack://_N_E/./node_modules/@sentry/core/esm/integrations/index.js","webpack://_N_E/./node_modules/@sentry/core/esm/index.js","webpack://_N_E/./node_modules/@sentry/browser/esm/helpers.js","webpack://_N_E/./node_modules/@sentry/utils/esm/instrument/_handlers.js","webpack://_N_E/./node_modules/@sentry/utils/esm/instrument/globalError.js","webpack://_N_E/./node_modules/@sentry/utils/esm/instrument/globalUnhandledRejection.js","webpack://_N_E/./node_modules/@sentry/browser/esm/debug-build.js","webpack://_N_E/./node_modules/@sentry/browser/esm/eventbuilder.js","webpack://_N_E/./node_modules/@sentry/browser/esm/integrations/globalhandlers.js","webpack://_N_E/./node_modules/@sentry/browser/esm/integrations/trycatch.js","webpack://_N_E/./node_modules/@sentry/utils/esm/instrument/console.js","webpack://_N_E/./node_modules/@sentry/utils/esm/instrument/dom.js","webpack://_N_E/./node_modules/@sentry/utils/esm/instrument/xhr.js","webpack://_N_E/./node_modules/@sentry/utils/esm/supports.js","webpack://_N_E/./node_modules/@sentry/utils/esm/instrument/fetch.js","webpack://_N_E/./node_modules/@sentry/utils/esm/vendor/supportsHistory.js","webpack://_N_E/./node_modules/@sentry/utils/esm/instrument/history.js","webpack://_N_E/./node_modules/@sentry/utils/esm/severity.js","webpack://_N_E/./node_modules/@sentry/utils/esm/url.js","webpack://_N_E/./node_modules/@sentry/browser/esm/integrations/breadcrumbs.js","webpack://_N_E/./node_modules/@sentry/browser/esm/integrations/linkederrors.js","webpack://_N_E/./node_modules/@sentry/browser/esm/integrations/httpcontext.js","webpack://_N_E/./node_modules/@sentry/browser/esm/integrations/dedupe.js","webpack://_N_E/./node_modules/@sentry/browser/esm/integrations/index.js","webpack://_N_E/./node_modules/@sentry/browser/esm/index.js","webpack://_N_E/./node_modules/@sentry/core/esm/sdk.js","webpack://_N_E/./node_modules/@sentry/utils/esm/dsn.js","webpack://_N_E/./node_modules/@sentry/utils/esm/envelope.js","webpack://_N_E/./node_modules/@sentry/utils/esm/error.js","webpack://_N_E/./node_modules/@sentry/core/esm/api.js","webpack://_N_E/./node_modules/@sentry/core/esm/envelope.js","webpack://_N_E/./node_modules/@sentry/core/esm/metrics/utils.js","webpack://_N_E/./node_modules/@sentry/core/esm/metrics/envelope.js","webpack://_N_E/./node_modules/@sentry/core/esm/baseclient.js","webpack://_N_E/./node_modules/@sentry/utils/esm/env.js","webpack://_N_E/./node_modules/@sentry/utils/esm/clientreport.js","webpack://_N_E/./node_modules/@sentry/browser/esm/userfeedback.js","webpack://_N_E/./node_modules/@sentry/browser/esm/client.js","webpack://_N_E/./node_modules/@sentry/browser/esm/stack-parsers.js","webpack://_N_E/./node_modules/@sentry/utils/esm/promisebuffer.js","webpack://_N_E/./node_modules/@sentry/utils/esm/ratelimit.js","webpack://_N_E/./node_modules/@sentry/core/esm/transports/base.js","webpack://_N_E/./node_modules/@sentry/browser/esm/transports/utils.js","webpack://_N_E/./node_modules/@sentry/browser/esm/transports/fetch.js","webpack://_N_E/./node_modules/@sentry/browser/esm/transports/xhr.js","webpack://_N_E/./node_modules/@sentry/browser/esm/sdk.js","webpack://_N_E/./node_modules/@sentry/react/esm/sdk.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/common/getVercelEnv.js","webpack://_N_E/./node_modules/@sentry/utils/esm/buildPolyfills/_optionalChain.js","webpack://_N_E/./node_modules/@sentry/core/esm/metrics/metric-summary.js","webpack://_N_E/./node_modules/@sentry/core/esm/semanticAttributes.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/spanstatus.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/span.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/trace.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/transaction.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/idletransaction.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/utils.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/errors.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/sampling.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/hubextensions.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/common/debug-build.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/types.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/backgroundtab.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/bindReporter.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/generateUniqueID.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/getNavigationEntry.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/getActivationStart.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/initMetric.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/observe.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/onHidden.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/getCLS.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/getFID.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/polyfills/interactionCountPolyfill.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/getINP.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/getLCP.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/onTTFB.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/instrument.js","webpack://_N_E/./node_modules/@sentry/core/esm/span.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/measurement.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/metrics/utils.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/metrics/index.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/common/fetch.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/request.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/router.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/browsertracing.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/browserTracingIntegration.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/client/routing/appRouterRoutingInstrumentation.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/common/debug-build.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/client/routing/pagesRouterRoutingInstrumentation.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/client/routing/nextRoutingInstrumentation.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/client/browserTracingIntegration.js","webpack://_N_E/./node_modules/@sentry/utils/esm/path.js","webpack://_N_E/./node_modules/@sentry/integrations/esm/rewriteframes.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/client/rewriteFramesIntegration.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/client/tunnelRoute.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/client/index.js","webpack://_N_E/./sentry.client.config.ts","webpack://_N_E/./node_modules/next/dist/client/components/action-async-storage.external.js","webpack://_N_E/./node_modules/next/dist/client/components/async-local-storage.js","webpack://_N_E/./node_modules/next/dist/client/components/client-hook-in-server-component-error.js","webpack://_N_E/./node_modules/next/dist/client/components/navigation.js","webpack://_N_E/./node_modules/next/dist/client/components/not-found.js","webpack://_N_E/./node_modules/next/dist/client/components/redirect-status-code.js","webpack://_N_E/./node_modules/next/dist/client/components/redirect.js","webpack://_N_E/./node_modules/next/dist/client/components/request-async-storage.external.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/router-reducer-types.js","webpack://_N_E/./node_modules/next/dist/client/get-domain-locale.js","webpack://_N_E/./node_modules/next/dist/client/link.js","webpack://_N_E/./node_modules/next/dist/client/use-intersection.js","webpack://_N_E/./node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js","webpack://_N_E/./node_modules/tss-react/esm/next/appDir.js","webpack://_N_E/./node_modules/tss-react/esm/tools/assert.js","webpack://_N_E/./node_modules/tss-react/esm/next/pagesDir.js","webpack://_N_E/./node_modules/tss-react/esm/next/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/useIsDark/scriptToRunAsap.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/next-appdir/zz_internal/fontUrlByFileBasename.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/dsfr/favicon/apple-touch-icon.png","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/dsfr/favicon/favicon.svg","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/dsfr/favicon/favicon.ico","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/getAssetUrl.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/Deferred.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/start.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/next-pagesdir.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/zz_internal/brandTopAndHomeLinkProps.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Footer.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/generateValidHtmlId.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/MainNavigation/Menu.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/MainNavigation/MegaMenu.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/MainNavigation/MainNavigation.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/MainNavigation/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/dsfr/artwork/light.svg","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/dsfr/artwork/dark.svg","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/dsfr/artwork/system.svg","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Modal/Modal.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Modal/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Display/Display.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/SearchBar/SearchBar.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/observeInputValue.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/SearchBar/SearchButton.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Header/Header.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Header/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Display/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/SkipLinks.js","webpack://_N_E/./src/pages/_app.tsx","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/assets/dsfr_plus_icons.css","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/assets/search-bar.css","webpack://_N_E/./node_modules/next/head.js","webpack://_N_E/./node_modules/next/link.js","webpack://_N_E/./node_modules/next/navigation.js","webpack://_N_E/./node_modules/next/router.js","webpack://_N_E/./node_modules/process/browser.js","webpack://_N_E/./node_modules/tsafe/assert.js","webpack://_N_E/./node_modules/tsafe/capitalize.js","webpack://_N_E/./node_modules/tsafe/id.js","webpack://_N_E/./node_modules/tsafe/is.js","webpack://_N_E/./node_modules/tsafe/lab/overwriteReadonlyProp.js","webpack://_N_E/./node_modules/tsafe/objectKeys.js","webpack://_N_E/./node_modules/tsafe/symToStr.js","webpack://_N_E/./node_modules/tsafe/typeGuard.js","webpack://_N_E/./node_modules/tsafe/zz_internal/assertIsRefWrapper.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/extends.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://_N_E/"],"sourcesContent":["/*\n\nBased off glamor's StyleSheet, thanks Sunil ❤️\n\nhigh performance StyleSheet for css-in-js systems\n\n- uses multiple style tags behind the scenes for millions of rules\n- uses `insertRule` for appending in production for *much* faster performance\n\n// usage\n\nimport { StyleSheet } from '@emotion/sheet'\n\nlet styleSheet = new StyleSheet({ key: '', container: document.head })\n\nstyleSheet.insert('#box { border: 1px solid red; }')\n- appends a css rule into the stylesheet\n\nstyleSheet.flush()\n- empties the stylesheet of all its contents\n\n*/\n// $FlowFixMe\nfunction sheetForTag(tag) {\n if (tag.sheet) {\n // $FlowFixMe\n return tag.sheet;\n } // this weirdness brought to you by firefox\n\n /* istanbul ignore next */\n\n\n for (var i = 0; i < document.styleSheets.length; i++) {\n if (document.styleSheets[i].ownerNode === tag) {\n // $FlowFixMe\n return document.styleSheets[i];\n }\n }\n}\n\nfunction createStyleElement(options) {\n var tag = document.createElement('style');\n tag.setAttribute('data-emotion', options.key);\n\n if (options.nonce !== undefined) {\n tag.setAttribute('nonce', options.nonce);\n }\n\n tag.appendChild(document.createTextNode(''));\n tag.setAttribute('data-s', '');\n return tag;\n}\n\nvar StyleSheet = /*#__PURE__*/function () {\n // Using Node instead of HTMLElement since container may be a ShadowRoot\n function StyleSheet(options) {\n var _this = this;\n\n this._insertTag = function (tag) {\n var before;\n\n if (_this.tags.length === 0) {\n if (_this.insertionPoint) {\n before = _this.insertionPoint.nextSibling;\n } else if (_this.prepend) {\n before = _this.container.firstChild;\n } else {\n before = _this.before;\n }\n } else {\n before = _this.tags[_this.tags.length - 1].nextSibling;\n }\n\n _this.container.insertBefore(tag, before);\n\n _this.tags.push(tag);\n };\n\n this.isSpeedy = options.speedy === undefined ? process.env.NODE_ENV === 'production' : options.speedy;\n this.tags = [];\n this.ctr = 0;\n this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets\n\n this.key = options.key;\n this.container = options.container;\n this.prepend = options.prepend;\n this.insertionPoint = options.insertionPoint;\n this.before = null;\n }\n\n var _proto = StyleSheet.prototype;\n\n _proto.hydrate = function hydrate(nodes) {\n nodes.forEach(this._insertTag);\n };\n\n _proto.insert = function insert(rule) {\n // the max length is how many rules we have per style tag, it's 65000 in speedy mode\n // it's 1 in dev because we insert source maps that map a single rule to a location\n // and you can only have one source map per style tag\n if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {\n this._insertTag(createStyleElement(this));\n }\n\n var tag = this.tags[this.tags.length - 1];\n\n if (process.env.NODE_ENV !== 'production') {\n var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;\n\n if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {\n // this would only cause problem in speedy mode\n // but we don't want enabling speedy to affect the observable behavior\n // so we report this error at all times\n console.error(\"You're attempting to insert the following rule:\\n\" + rule + '\\n\\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.');\n }\n this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;\n }\n\n if (this.isSpeedy) {\n var sheet = sheetForTag(tag);\n\n try {\n // this is the ultrafast version, works across browsers\n // the big drawback is that the css won't be editable in devtools\n sheet.insertRule(rule, sheet.cssRules.length);\n } catch (e) {\n if (process.env.NODE_ENV !== 'production' && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(rule)) {\n console.error(\"There was a problem inserting the following rule: \\\"\" + rule + \"\\\"\", e);\n }\n }\n } else {\n tag.appendChild(document.createTextNode(rule));\n }\n\n this.ctr++;\n };\n\n _proto.flush = function flush() {\n // $FlowFixMe\n this.tags.forEach(function (tag) {\n return tag.parentNode && tag.parentNode.removeChild(tag);\n });\n this.tags = [];\n this.ctr = 0;\n\n if (process.env.NODE_ENV !== 'production') {\n this._alreadyInsertedOrderInsensitiveRule = false;\n }\n };\n\n return StyleSheet;\n}();\n\nexport { StyleSheet };\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @return {number}\n */\nexport function indexof (value, search) {\n\treturn value.indexOf(search)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: ''}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0), root, {length: -root.length}, props)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen, sizeof} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\tvar length = sizeof(children)\n\n\tfor (var i = 0; i < length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: element.value = element.props.join(',')\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine} from './Utility.js'\nimport {copy, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\treturn serialize([copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]})], callback)\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\treturn serialize([\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]})\n\t\t\t\t\t\t\t\t\t], callback)\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f') != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @return {object}\n */\nexport function comment (value, root, parent) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @return {object}\n */\nexport function declaration (value, root, parent, length) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length)\n}\n","import { StyleSheet } from '@emotion/sheet';\nimport { dealloc, alloc, next, token, from, peek, delimit, slice, position, RULESET, combine, match, serialize, copy, replace, WEBKIT, MOZ, MS, KEYFRAMES, DECLARATION, hash, charat, strlen, indexof, stringify, COMMENT, rulesheet, middleware, compile } from 'stylis';\nimport '@emotion/weak-memoize';\nimport '@emotion/memoize';\n\nvar identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {\n var previous = 0;\n var character = 0;\n\n while (true) {\n previous = character;\n character = peek(); // &\\f\n\n if (previous === 38 && character === 12) {\n points[index] = 1;\n }\n\n if (token(character)) {\n break;\n }\n\n next();\n }\n\n return slice(begin, position);\n};\n\nvar toRules = function toRules(parsed, points) {\n // pretend we've started with a comma\n var index = -1;\n var character = 44;\n\n do {\n switch (token(character)) {\n case 0:\n // &\\f\n if (character === 38 && peek() === 12) {\n // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings\n // stylis inserts \\f after & to know when & where it should replace this sequence with the context selector\n // and when it should just concatenate the outer and inner selectors\n // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here\n points[index] = 1;\n }\n\n parsed[index] += identifierWithPointTracking(position - 1, points, index);\n break;\n\n case 2:\n parsed[index] += delimit(character);\n break;\n\n case 4:\n // comma\n if (character === 44) {\n // colon\n parsed[++index] = peek() === 58 ? '&\\f' : '';\n points[index] = parsed[index].length;\n break;\n }\n\n // fallthrough\n\n default:\n parsed[index] += from(character);\n }\n } while (character = next());\n\n return parsed;\n};\n\nvar getRules = function getRules(value, points) {\n return dealloc(toRules(alloc(value), points));\n}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11\n\n\nvar fixedElements = /* #__PURE__ */new WeakMap();\nvar compat = function compat(element) {\n if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo\n // negative .length indicates that this rule has been already prefixed\n element.length < 1) {\n return;\n }\n\n var value = element.value,\n parent = element.parent;\n var isImplicitRule = element.column === parent.column && element.line === parent.line;\n\n while (parent.type !== 'rule') {\n parent = parent.parent;\n if (!parent) return;\n } // short-circuit for the simplest case\n\n\n if (element.props.length === 1 && value.charCodeAt(0) !== 58\n /* colon */\n && !fixedElements.get(parent)) {\n return;\n } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)\n // then the props has already been manipulated beforehand as they that array is shared between it and its \"rule parent\"\n\n\n if (isImplicitRule) {\n return;\n }\n\n fixedElements.set(element, true);\n var points = [];\n var rules = getRules(value, points);\n var parentRules = parent.props;\n\n for (var i = 0, k = 0; i < rules.length; i++) {\n for (var j = 0; j < parentRules.length; j++, k++) {\n element.props[k] = points[i] ? rules[i].replace(/&\\f/g, parentRules[j]) : parentRules[j] + \" \" + rules[i];\n }\n }\n};\nvar removeLabel = function removeLabel(element) {\n if (element.type === 'decl') {\n var value = element.value;\n\n if ( // charcode for l\n value.charCodeAt(0) === 108 && // charcode for b\n value.charCodeAt(2) === 98) {\n // this ignores label\n element[\"return\"] = '';\n element.value = '';\n }\n }\n};\nvar ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';\n\nvar isIgnoringComment = function isIgnoringComment(element) {\n return element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;\n};\n\nvar createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {\n return function (element, index, children) {\n if (element.type !== 'rule' || cache.compat) return;\n var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);\n\n if (unsafePseudoClasses) {\n var isNested = !!element.parent; // in nested rules comments become children of the \"auto-inserted\" rule and that's always the `element.parent`\n //\n // considering this input:\n // .a {\n // .b /* comm */ {}\n // color: hotpink;\n // }\n // we get output corresponding to this:\n // .a {\n // & {\n // /* comm */\n // color: hotpink;\n // }\n // .b {}\n // }\n\n var commentContainer = isNested ? element.parent.children : // global rule at the root level\n children;\n\n for (var i = commentContainer.length - 1; i >= 0; i--) {\n var node = commentContainer[i];\n\n if (node.line < element.line) {\n break;\n } // it is quite weird but comments are *usually* put at `column: element.column - 1`\n // so we seek *from the end* for the node that is earlier than the rule's `element` and check that\n // this will also match inputs like this:\n // .a {\n // /* comm */\n // .b {}\n // }\n //\n // but that is fine\n //\n // it would be the easiest to change the placement of the comment to be the first child of the rule:\n // .a {\n // .b { /* comm */ }\n // }\n // with such inputs we wouldn't have to search for the comment at all\n // TODO: consider changing this comment placement in the next major version\n\n\n if (node.column < element.column) {\n if (isIgnoringComment(node)) {\n return;\n }\n\n break;\n }\n }\n\n unsafePseudoClasses.forEach(function (unsafePseudoClass) {\n console.error(\"The pseudo class \\\"\" + unsafePseudoClass + \"\\\" is potentially unsafe when doing server-side rendering. Try changing it to \\\"\" + unsafePseudoClass.split('-child')[0] + \"-of-type\\\".\");\n });\n }\n };\n};\n\nvar isImportRule = function isImportRule(element) {\n return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;\n};\n\nvar isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {\n for (var i = index - 1; i >= 0; i--) {\n if (!isImportRule(children[i])) {\n return true;\n }\n }\n\n return false;\n}; // use this to remove incorrect elements from further processing\n// so they don't get handed to the `sheet` (or anything else)\n// as that could potentially lead to additional logs which in turn could be overhelming to the user\n\n\nvar nullifyElement = function nullifyElement(element) {\n element.type = '';\n element.value = '';\n element[\"return\"] = '';\n element.children = '';\n element.props = '';\n};\n\nvar incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {\n if (!isImportRule(element)) {\n return;\n }\n\n if (element.parent) {\n console.error(\"`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.\");\n nullifyElement(element);\n } else if (isPrependedWithRegularRules(index, children)) {\n console.error(\"`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.\");\n nullifyElement(element);\n }\n};\n\n/* eslint-disable no-fallthrough */\n\nfunction prefix(value, length) {\n switch (hash(value, length)) {\n // color-adjust\n case 5103:\n return WEBKIT + 'print-' + value + value;\n // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\n case 5737:\n case 4201:\n case 3177:\n case 3433:\n case 1641:\n case 4457:\n case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\n case 5572:\n case 6356:\n case 5844:\n case 3191:\n case 6645:\n case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\n case 6391:\n case 5879:\n case 5623:\n case 6135:\n case 4599:\n case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\n case 4215:\n case 6389:\n case 5109:\n case 5365:\n case 5621:\n case 3829:\n return WEBKIT + value + value;\n // appearance, user-select, transform, hyphens, text-size-adjust\n\n case 5349:\n case 4246:\n case 4810:\n case 6968:\n case 2756:\n return WEBKIT + value + MOZ + value + MS + value + value;\n // flex, flex-direction\n\n case 6828:\n case 4268:\n return WEBKIT + value + MS + value + value;\n // order\n\n case 6165:\n return WEBKIT + value + MS + 'flex-' + value + value;\n // align-items\n\n case 5187:\n return WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;\n // align-self\n\n case 5443:\n return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;\n // align-content\n\n case 4675:\n return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;\n // flex-shrink\n\n case 5548:\n return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;\n // flex-basis\n\n case 5292:\n return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;\n // flex-grow\n\n case 6060:\n return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;\n // transition\n\n case 4554:\n return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;\n // cursor\n\n case 6187:\n return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;\n // background, background-image\n\n case 5495:\n case 3959:\n return replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1');\n // justify-content\n\n case 4968:\n return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;\n // (margin|padding)-inline-(start|end)\n\n case 4095:\n case 3583:\n case 4068:\n case 2532:\n return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;\n // (min|max)?(width|height|inline-size|block-size)\n\n case 8116:\n case 7059:\n case 5753:\n case 5535:\n case 5445:\n case 5701:\n case 4933:\n case 4677:\n case 5533:\n case 5789:\n case 5021:\n case 4765:\n // stretch, max-content, min-content, fill-available\n if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {\n // (m)ax-content, (m)in-content\n case 109:\n // -\n if (charat(value, length + 4) !== 45) break;\n // (f)ill-available, (f)it-content\n\n case 102:\n return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;\n // (s)tretch\n\n case 115:\n return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;\n }\n break;\n // position: sticky\n\n case 4949:\n // (s)ticky?\n if (charat(value, length + 1) !== 115) break;\n // display: (flex|inline-flex)\n\n case 6444:\n switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {\n // stic(k)y\n case 107:\n return replace(value, ':', ':' + WEBKIT) + value;\n // (inline-)?fl(e)x\n\n case 101:\n return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;\n }\n\n break;\n // writing-mode\n\n case 5936:\n switch (charat(value, length + 11)) {\n // vertical-l(r)\n case 114:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value;\n // vertical-r(l)\n\n case 108:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value;\n // horizontal(-)tb\n\n case 45:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value;\n }\n\n return WEBKIT + value + MS + value + value;\n }\n\n return value;\n}\n\nvar prefixer = function prefixer(element, index, children, callback) {\n if (element.length > -1) if (!element[\"return\"]) switch (element.type) {\n case DECLARATION:\n element[\"return\"] = prefix(element.value, element.length);\n break;\n\n case KEYFRAMES:\n return serialize([copy(element, {\n value: replace(element.value, '@', '@' + WEBKIT)\n })], callback);\n\n case RULESET:\n if (element.length) return combine(element.props, function (value) {\n switch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n // :read-(only|write)\n case ':read-only':\n case ':read-write':\n return serialize([copy(element, {\n props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]\n })], callback);\n // :placeholder\n\n case '::placeholder':\n return serialize([copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]\n })], callback);\n }\n\n return '';\n });\n }\n};\n\nvar defaultStylisPlugins = [prefixer];\n\nvar createCache = function createCache(options) {\n var key = options.key;\n\n if (process.env.NODE_ENV !== 'production' && !key) {\n throw new Error(\"You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\\n\" + \"If multiple caches share the same key they might \\\"fight\\\" for each other's style elements.\");\n }\n\n if (key === 'css') {\n var ssrStyles = document.querySelectorAll(\"style[data-emotion]:not([data-s])\"); // get SSRed styles out of the way of React's hydration\n // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)\n // note this very very intentionally targets all style elements regardless of the key to ensure\n // that creating a cache works inside of render of a React component\n\n Array.prototype.forEach.call(ssrStyles, function (node) {\n // we want to only move elements which have a space in the data-emotion attribute value\n // because that indicates that it is an Emotion 11 server-side rendered style elements\n // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector\n // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)\n // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles\n // will not result in the Emotion 10 styles being destroyed\n var dataEmotionAttribute = node.getAttribute('data-emotion');\n\n if (dataEmotionAttribute.indexOf(' ') === -1) {\n return;\n }\n document.head.appendChild(node);\n node.setAttribute('data-s', '');\n });\n }\n\n var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe\n if (/[^a-z-]/.test(key)) {\n throw new Error(\"Emotion key must only contain lower case alphabetical characters and - but \\\"\" + key + \"\\\" was passed\");\n }\n }\n\n var inserted = {};\n var container;\n var nodesToHydrate = [];\n\n {\n container = options.container || document.head;\n Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which\n // means that the style elements we're looking at are only Emotion 11 server-rendered style elements\n document.querySelectorAll(\"style[data-emotion^=\\\"\" + key + \" \\\"]\"), function (node) {\n var attrib = node.getAttribute(\"data-emotion\").split(' '); // $FlowFixMe\n\n for (var i = 1; i < attrib.length; i++) {\n inserted[attrib[i]] = true;\n }\n\n nodesToHydrate.push(node);\n });\n }\n\n var _insert;\n\n var omnipresentPlugins = [compat, removeLabel];\n\n if (process.env.NODE_ENV !== 'production') {\n omnipresentPlugins.push(createUnsafeSelectorsAlarm({\n get compat() {\n return cache.compat;\n }\n\n }), incorrectImportAlarm);\n }\n\n {\n var currentSheet;\n var finalizingPlugins = [stringify, process.env.NODE_ENV !== 'production' ? function (element) {\n if (!element.root) {\n if (element[\"return\"]) {\n currentSheet.insert(element[\"return\"]);\n } else if (element.value && element.type !== COMMENT) {\n // insert empty rule in non-production environments\n // so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet\n currentSheet.insert(element.value + \"{}\");\n }\n }\n } : rulesheet(function (rule) {\n currentSheet.insert(rule);\n })];\n var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));\n\n var stylis = function stylis(styles) {\n return serialize(compile(styles), serializer);\n };\n\n _insert = function insert(selector, serialized, sheet, shouldCache) {\n currentSheet = sheet;\n\n if (process.env.NODE_ENV !== 'production' && serialized.map !== undefined) {\n currentSheet = {\n insert: function insert(rule) {\n sheet.insert(rule + serialized.map);\n }\n };\n }\n\n stylis(selector ? selector + \"{\" + serialized.styles + \"}\" : serialized.styles);\n\n if (shouldCache) {\n cache.inserted[serialized.name] = true;\n }\n };\n }\n\n var cache = {\n key: key,\n sheet: new StyleSheet({\n key: key,\n container: container,\n nonce: options.nonce,\n speedy: options.speedy,\n prepend: options.prepend,\n insertionPoint: options.insertionPoint\n }),\n nonce: options.nonce,\n inserted: inserted,\n registered: {},\n insert: _insert\n };\n cache.sheet.hydrate(nodesToHydrate);\n return cache;\n};\n\nexport { createCache as default };\n","/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\nfunction murmur2(str) {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n // const m = 0x5bd1e995;\n // const r = 24;\n // Initialize the hash\n var h = 0; // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length;\n\n for (; len >= 4; ++i, len -= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);\n k ^=\n /* k >>> r: */\n k >>> 24;\n h =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Handle the last few bytes of the input array\n\n\n switch (len) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n\n h ^= h >>> 13;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n return ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\nexport { murmur2 as default };\n","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","import * as React from 'react';\nimport { useContext, forwardRef } from 'react';\nimport createCache from '@emotion/cache';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport weakMemoize from '@emotion/weak-memoize';\nimport hoistNonReactStatics from '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport { getRegisteredStyles, registerStyles, insertStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\nimport { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\n\nvar isBrowser = \"object\" !== 'undefined';\nvar hasOwn = {}.hasOwnProperty;\n\nvar EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case\n// because this module is primarily intended for the browser and node\n// but it's also required in react native and similar environments sometimes\n// and we could have a special build just for that\n// but this is much easier and the native packages\n// might use a different theme context in the future anyway\ntypeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({\n key: 'css'\n}) : null);\n\nif (process.env.NODE_ENV !== 'production') {\n EmotionCacheContext.displayName = 'EmotionCacheContext';\n}\n\nvar CacheProvider = EmotionCacheContext.Provider;\nvar __unsafe_useEmotionCache = function useEmotionCache() {\n return useContext(EmotionCacheContext);\n};\n\nvar withEmotionCache = function withEmotionCache(func) {\n // $FlowFixMe\n return /*#__PURE__*/forwardRef(function (props, ref) {\n // the cache will never be null in the browser\n var cache = useContext(EmotionCacheContext);\n return func(props, cache, ref);\n });\n};\n\nif (!isBrowser) {\n withEmotionCache = function withEmotionCache(func) {\n return function (props) {\n var cache = useContext(EmotionCacheContext);\n\n if (cache === null) {\n // yes, we're potentially creating this on every render\n // it doesn't actually matter though since it's only on the server\n // so there will only every be a single render\n // that could change in the future because of suspense and etc. but for now,\n // this works and i don't want to optimise for a future thing that we aren't sure about\n cache = createCache({\n key: 'css'\n });\n return /*#__PURE__*/React.createElement(EmotionCacheContext.Provider, {\n value: cache\n }, func(props, cache));\n } else {\n return func(props, cache);\n }\n };\n };\n}\n\nvar ThemeContext = /* #__PURE__ */React.createContext({});\n\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'EmotionThemeContext';\n}\n\nvar useTheme = function useTheme() {\n return React.useContext(ThemeContext);\n};\n\nvar getTheme = function getTheme(outerTheme, theme) {\n if (typeof theme === 'function') {\n var mergedTheme = theme(outerTheme);\n\n if (process.env.NODE_ENV !== 'production' && (mergedTheme == null || typeof mergedTheme !== 'object' || Array.isArray(mergedTheme))) {\n throw new Error('[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!');\n }\n\n return mergedTheme;\n }\n\n if (process.env.NODE_ENV !== 'production' && (theme == null || typeof theme !== 'object' || Array.isArray(theme))) {\n throw new Error('[ThemeProvider] Please make your theme prop a plain object');\n }\n\n return _extends({}, outerTheme, theme);\n};\n\nvar createCacheWithTheme = /* #__PURE__ */weakMemoize(function (outerTheme) {\n return weakMemoize(function (theme) {\n return getTheme(outerTheme, theme);\n });\n});\nvar ThemeProvider = function ThemeProvider(props) {\n var theme = React.useContext(ThemeContext);\n\n if (props.theme !== theme) {\n theme = createCacheWithTheme(theme)(props.theme);\n }\n\n return /*#__PURE__*/React.createElement(ThemeContext.Provider, {\n value: theme\n }, props.children);\n};\nfunction withTheme(Component) {\n var componentName = Component.displayName || Component.name || 'Component';\n\n var render = function render(props, ref) {\n var theme = React.useContext(ThemeContext);\n return /*#__PURE__*/React.createElement(Component, _extends({\n theme: theme,\n ref: ref\n }, props));\n }; // $FlowFixMe\n\n\n var WithTheme = /*#__PURE__*/React.forwardRef(render);\n WithTheme.displayName = \"WithTheme(\" + componentName + \")\";\n return hoistNonReactStatics(WithTheme, Component);\n}\n\nvar getLastPart = function getLastPart(functionName) {\n // The match may be something like 'Object.createEmotionProps' or\n // 'Loader.prototype.render'\n var parts = functionName.split('.');\n return parts[parts.length - 1];\n};\n\nvar getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {\n // V8\n var match = /^\\s+at\\s+([A-Za-z0-9$.]+)\\s/.exec(line);\n if (match) return getLastPart(match[1]); // Safari / Firefox\n\n match = /^([A-Za-z0-9$.]+)@/.exec(line);\n if (match) return getLastPart(match[1]);\n return undefined;\n};\n\nvar internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS\n// identifiers, thus we only need to replace what is a valid character for JS,\n// but not for CSS.\n\nvar sanitizeIdentifier = function sanitizeIdentifier(identifier) {\n return identifier.replace(/\\$/g, '-');\n};\n\nvar getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {\n if (!stackTrace) return undefined;\n var lines = stackTrace.split('\\n');\n\n for (var i = 0; i < lines.length; i++) {\n var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just \"Error\"\n\n if (!functionName) continue; // If we reach one of these, we have gone too far and should quit\n\n if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an\n // uppercase letter\n\n if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);\n }\n\n return undefined;\n};\n\nvar typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';\nvar labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';\nvar createEmotionProps = function createEmotionProps(type, props) {\n if (process.env.NODE_ENV !== 'production' && typeof props.css === 'string' && // check if there is a css declaration\n props.css.indexOf(':') !== -1) {\n throw new Error(\"Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`\" + props.css + \"`\");\n }\n\n var newProps = {};\n\n for (var key in props) {\n if (hasOwn.call(props, key)) {\n newProps[key] = props[key];\n }\n }\n\n newProps[typePropName] = type; // For performance, only call getLabelFromStackTrace in development and when\n // the label hasn't already been computed\n\n if (process.env.NODE_ENV !== 'production' && !!props.css && (typeof props.css !== 'object' || typeof props.css.name !== 'string' || props.css.name.indexOf('-') === -1)) {\n var label = getLabelFromStackTrace(new Error().stack);\n if (label) newProps[labelPropName] = label;\n }\n\n return newProps;\n};\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serialized = _ref.serialized,\n isStringTag = _ref.isStringTag;\n registerStyles(cache, serialized, isStringTag);\n useInsertionEffectAlwaysWithSyncFallback(function () {\n return insertStyles(cache, serialized, isStringTag);\n });\n\n return null;\n};\n\nvar Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {\n var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works\n // not passing the registered cache to serializeStyles because it would\n // make certain babel optimisations not possible\n\n if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {\n cssProp = cache.registered[cssProp];\n }\n\n var WrappedComponent = props[typePropName];\n var registeredStyles = [cssProp];\n var className = '';\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(cache.registered, registeredStyles, props.className);\n } else if (props.className != null) {\n className = props.className + \" \";\n }\n\n var serialized = serializeStyles(registeredStyles, undefined, React.useContext(ThemeContext));\n\n if (process.env.NODE_ENV !== 'production' && serialized.name.indexOf('-') === -1) {\n var labelFromStack = props[labelPropName];\n\n if (labelFromStack) {\n serialized = serializeStyles([serialized, 'label:' + labelFromStack + ';']);\n }\n }\n\n className += cache.key + \"-\" + serialized.name;\n var newProps = {};\n\n for (var key in props) {\n if (hasOwn.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {\n newProps[key] = props[key];\n }\n }\n\n newProps.ref = ref;\n newProps.className = className;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serialized: serialized,\n isStringTag: typeof WrappedComponent === 'string'\n }), /*#__PURE__*/React.createElement(WrappedComponent, newProps));\n});\n\nif (process.env.NODE_ENV !== 'production') {\n Emotion.displayName = 'EmotionCssPropInternal';\n}\n\nvar Emotion$1 = Emotion;\n\nexport { CacheProvider as C, Emotion$1 as E, ThemeContext as T, __unsafe_useEmotionCache as _, ThemeProvider as a, withTheme as b, createEmotionProps as c, hasOwn as h, isBrowser as i, useTheme as u, withEmotionCache as w };\n","import hashString from '@emotion/hash';\nimport unitless from '@emotion/unitless';\nimport memoize from '@emotion/memoize';\n\nvar ILLEGAL_ESCAPE_SEQUENCE_ERROR = \"You have illegal escape sequence in your template literal, most likely inside content's property value.\\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \\\"content: '\\\\00d7';\\\" should become \\\"content: '\\\\\\\\00d7';\\\".\\nYou can read more about this here:\\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences\";\nvar UNDEFINED_AS_OBJECT_KEY_ERROR = \"You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).\";\nvar hyphenateRegex = /[A-Z]|^ms/g;\nvar animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;\n\nvar isCustomProperty = function isCustomProperty(property) {\n return property.charCodeAt(1) === 45;\n};\n\nvar isProcessableValue = function isProcessableValue(value) {\n return value != null && typeof value !== 'boolean';\n};\n\nvar processStyleName = /* #__PURE__ */memoize(function (styleName) {\n return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();\n});\n\nvar processStyleValue = function processStyleValue(key, value) {\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n if (typeof value === 'string') {\n return value.replace(animationRegex, function (match, p1, p2) {\n cursor = {\n name: p1,\n styles: p2,\n next: cursor\n };\n return p1;\n });\n }\n }\n }\n\n if (unitless[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {\n return value + 'px';\n }\n\n return value;\n};\n\nif (process.env.NODE_ENV !== 'production') {\n var contentValuePattern = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\\(|(no-)?(open|close)-quote/;\n var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];\n var oldProcessStyleValue = processStyleValue;\n var msPattern = /^-ms-/;\n var hyphenPattern = /-(.)/g;\n var hyphenatedCache = {};\n\n processStyleValue = function processStyleValue(key, value) {\n if (key === 'content') {\n if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '\"' && value.charAt(0) !== \"'\")) {\n throw new Error(\"You seem to be using a value for 'content' without quotes, try replacing it with `content: '\\\"\" + value + \"\\\"'`\");\n }\n }\n\n var processed = oldProcessStyleValue(key, value);\n\n if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {\n hyphenatedCache[key] = true;\n console.error(\"Using kebab-case for css properties in objects is not supported. Did you mean \" + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {\n return _char.toUpperCase();\n }) + \"?\");\n }\n\n return processed;\n };\n}\n\nvar noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';\n\nfunction handleInterpolation(mergedProps, registered, interpolation) {\n if (interpolation == null) {\n return '';\n }\n\n if (interpolation.__emotion_styles !== undefined) {\n if (process.env.NODE_ENV !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {\n throw new Error(noComponentSelectorMessage);\n }\n\n return interpolation;\n }\n\n switch (typeof interpolation) {\n case 'boolean':\n {\n return '';\n }\n\n case 'object':\n {\n if (interpolation.anim === 1) {\n cursor = {\n name: interpolation.name,\n styles: interpolation.styles,\n next: cursor\n };\n return interpolation.name;\n }\n\n if (interpolation.styles !== undefined) {\n var next = interpolation.next;\n\n if (next !== undefined) {\n // not the most efficient thing ever but this is a pretty rare case\n // and there will be very few iterations of this generally\n while (next !== undefined) {\n cursor = {\n name: next.name,\n styles: next.styles,\n next: cursor\n };\n next = next.next;\n }\n }\n\n var styles = interpolation.styles + \";\";\n\n if (process.env.NODE_ENV !== 'production' && interpolation.map !== undefined) {\n styles += interpolation.map;\n }\n\n return styles;\n }\n\n return createStringFromObject(mergedProps, registered, interpolation);\n }\n\n case 'function':\n {\n if (mergedProps !== undefined) {\n var previousCursor = cursor;\n var result = interpolation(mergedProps);\n cursor = previousCursor;\n return handleInterpolation(mergedProps, registered, result);\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Functions that are interpolated in css calls will be stringified.\\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\\n' + 'It can be called directly with props or interpolated in a styled call like this\\n' + \"let SomeComponent = styled('div')`${dynamicStyle}`\");\n }\n\n break;\n }\n\n case 'string':\n if (process.env.NODE_ENV !== 'production') {\n var matched = [];\n var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {\n var fakeVarName = \"animation\" + matched.length;\n matched.push(\"const \" + fakeVarName + \" = keyframes`\" + p2.replace(/^@keyframes animation-\\w+/, '') + \"`\");\n return \"${\" + fakeVarName + \"}\";\n });\n\n if (matched.length) {\n console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\\n\\n' + 'Instead of doing this:\\n\\n' + [].concat(matched, [\"`\" + replaced + \"`\"]).join('\\n') + '\\n\\nYou should wrap it with `css` like this:\\n\\n' + (\"css`\" + replaced + \"`\"));\n }\n }\n\n break;\n } // finalize string values (regular strings and functions interpolated into css calls)\n\n\n if (registered == null) {\n return interpolation;\n }\n\n var cached = registered[interpolation];\n return cached !== undefined ? cached : interpolation;\n}\n\nfunction createStringFromObject(mergedProps, registered, obj) {\n var string = '';\n\n if (Array.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n string += handleInterpolation(mergedProps, registered, obj[i]) + \";\";\n }\n } else {\n for (var _key in obj) {\n var value = obj[_key];\n\n if (typeof value !== 'object') {\n if (registered != null && registered[value] !== undefined) {\n string += _key + \"{\" + registered[value] + \"}\";\n } else if (isProcessableValue(value)) {\n string += processStyleName(_key) + \":\" + processStyleValue(_key, value) + \";\";\n }\n } else {\n if (_key === 'NO_COMPONENT_SELECTOR' && process.env.NODE_ENV !== 'production') {\n throw new Error(noComponentSelectorMessage);\n }\n\n if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {\n for (var _i = 0; _i < value.length; _i++) {\n if (isProcessableValue(value[_i])) {\n string += processStyleName(_key) + \":\" + processStyleValue(_key, value[_i]) + \";\";\n }\n }\n } else {\n var interpolated = handleInterpolation(mergedProps, registered, value);\n\n switch (_key) {\n case 'animation':\n case 'animationName':\n {\n string += processStyleName(_key) + \":\" + interpolated + \";\";\n break;\n }\n\n default:\n {\n if (process.env.NODE_ENV !== 'production' && _key === 'undefined') {\n console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);\n }\n\n string += _key + \"{\" + interpolated + \"}\";\n }\n }\n }\n }\n }\n }\n\n return string;\n}\n\nvar labelPattern = /label:\\s*([^\\s;\\n{]+)\\s*(;|$)/g;\nvar sourceMapPattern;\n\nif (process.env.NODE_ENV !== 'production') {\n sourceMapPattern = /\\/\\*#\\ssourceMappingURL=data:application\\/json;\\S+\\s+\\*\\//g;\n} // this is the cursor for keyframes\n// keyframes are stored on the SerializedStyles object as a linked list\n\n\nvar cursor;\nvar serializeStyles = function serializeStyles(args, registered, mergedProps) {\n if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {\n return args[0];\n }\n\n var stringMode = true;\n var styles = '';\n cursor = undefined;\n var strings = args[0];\n\n if (strings == null || strings.raw === undefined) {\n stringMode = false;\n styles += handleInterpolation(mergedProps, registered, strings);\n } else {\n if (process.env.NODE_ENV !== 'production' && strings[0] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);\n }\n\n styles += strings[0];\n } // we start at 1 since we've already handled the first arg\n\n\n for (var i = 1; i < args.length; i++) {\n styles += handleInterpolation(mergedProps, registered, args[i]);\n\n if (stringMode) {\n if (process.env.NODE_ENV !== 'production' && strings[i] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);\n }\n\n styles += strings[i];\n }\n }\n\n var sourceMap;\n\n if (process.env.NODE_ENV !== 'production') {\n styles = styles.replace(sourceMapPattern, function (match) {\n sourceMap = match;\n return '';\n });\n } // using a global regex with .exec is stateful so lastIndex has to be reset each time\n\n\n labelPattern.lastIndex = 0;\n var identifierName = '';\n var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5\n\n while ((match = labelPattern.exec(styles)) !== null) {\n identifierName += '-' + // $FlowFixMe we know it's not null\n match[1];\n }\n\n var name = hashString(styles) + identifierName;\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)\n return {\n name: name,\n styles: styles,\n map: sourceMap,\n next: cursor,\n toString: function toString() {\n return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\";\n }\n };\n }\n\n return {\n name: name,\n styles: styles,\n next: cursor\n };\n};\n\nexport { serializeStyles };\n","var unitlessKeys = {\n animationIterationCount: 1,\n aspectRatio: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","import * as React from 'react';\n\nvar syncFallback = function syncFallback(create) {\n return create();\n};\n\nvar useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : false;\nvar useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;\nvar useInsertionEffectWithLayoutFallback = useInsertionEffect || React.useLayoutEffect;\n\nexport { useInsertionEffectAlwaysWithSyncFallback, useInsertionEffectWithLayoutFallback };\n","const red = {\n 50: '#ffebee',\n 100: '#ffcdd2',\n 200: '#ef9a9a',\n 300: '#e57373',\n 400: '#ef5350',\n 500: '#f44336',\n 600: '#e53935',\n 700: '#d32f2f',\n 800: '#c62828',\n 900: '#b71c1c',\n A100: '#ff8a80',\n A200: '#ff5252',\n A400: '#ff1744',\n A700: '#d50000'\n};\nexport default red;","import * as React from 'react';\nconst ThemeContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'ThemeContext';\n}\nexport default ThemeContext;","import * as React from 'react';\nimport ThemeContext from './ThemeContext';\nexport default function useTheme() {\n const theme = React.useContext(ThemeContext);\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n return theme;\n}","const hasSymbol = typeof Symbol === 'function' && Symbol.for;\nexport default hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__';","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { exactProp } from '@mui/utils';\nimport ThemeContext from '../useTheme/ThemeContext';\nimport useTheme from '../useTheme';\nimport nested from './nested';\n\n// To support composition of theme.\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction mergeOuterLocalTheme(outerTheme, localTheme) {\n if (typeof localTheme === 'function') {\n const mergedTheme = localTheme(outerTheme);\n if (process.env.NODE_ENV !== 'production') {\n if (!mergedTheme) {\n console.error(['MUI: You should return an object from your theme function, i.e.', ' ({})} />'].join('\\n'));\n }\n }\n return mergedTheme;\n }\n return _extends({}, outerTheme, localTheme);\n}\n\n/**\n * This component takes a `theme` prop.\n * It makes the `theme` available down the React tree thanks to React context.\n * This component should preferably be used at **the root of your component tree**.\n */\nfunction ThemeProvider(props) {\n const {\n children,\n theme: localTheme\n } = props;\n const outerTheme = useTheme();\n if (process.env.NODE_ENV !== 'production') {\n if (outerTheme === null && typeof localTheme === 'function') {\n console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', ' outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n const theme = React.useMemo(() => {\n const output = outerTheme === null ? localTheme : mergeOuterLocalTheme(outerTheme, localTheme);\n if (output != null) {\n output[nested] = outerTheme !== null;\n }\n return output;\n }, [localTheme, outerTheme]);\n return /*#__PURE__*/_jsx(ThemeContext.Provider, {\n value: theme,\n children: children\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = {\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\nexport default ThemeProvider;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { ThemeProvider as MuiThemeProvider, useTheme as usePrivateTheme } from '@mui/private-theming';\nimport exactProp from '@mui/utils/exactProp';\nimport { ThemeContext as StyledEngineThemeContext } from '@mui/styled-engine';\nimport useThemeWithoutDefault from '../useThemeWithoutDefault';\nimport RtlProvider from '../RtlProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst EMPTY_THEME = {};\nfunction useThemeScoping(themeId, upperTheme, localTheme, isPrivate = false) {\n return React.useMemo(() => {\n const resolvedTheme = themeId ? upperTheme[themeId] || upperTheme : upperTheme;\n if (typeof localTheme === 'function') {\n const mergedTheme = localTheme(resolvedTheme);\n const result = themeId ? _extends({}, upperTheme, {\n [themeId]: mergedTheme\n }) : mergedTheme;\n // must return a function for the private theme to NOT merge with the upper theme.\n // see the test case \"use provided theme from a callback\" in ThemeProvider.test.js\n if (isPrivate) {\n return () => result;\n }\n return result;\n }\n return themeId ? _extends({}, upperTheme, {\n [themeId]: localTheme\n }) : _extends({}, upperTheme, localTheme);\n }, [themeId, upperTheme, localTheme, isPrivate]);\n}\n\n/**\n * This component makes the `theme` available down the React tree.\n * It should preferably be used at **the root of your component tree**.\n *\n * // existing use case\n * // theme scoping\n */\nfunction ThemeProvider(props) {\n const {\n children,\n theme: localTheme,\n themeId\n } = props;\n const upperTheme = useThemeWithoutDefault(EMPTY_THEME);\n const upperPrivateTheme = usePrivateTheme() || EMPTY_THEME;\n if (process.env.NODE_ENV !== 'production') {\n if (upperTheme === null && typeof localTheme === 'function' || themeId && upperTheme && !upperTheme[themeId] && typeof localTheme === 'function') {\n console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', ' outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n const engineTheme = useThemeScoping(themeId, upperTheme, localTheme);\n const privateTheme = useThemeScoping(themeId, upperPrivateTheme, localTheme, true);\n const rtlValue = engineTheme.direction === 'rtl';\n return /*#__PURE__*/_jsx(MuiThemeProvider, {\n theme: privateTheme,\n children: /*#__PURE__*/_jsx(StyledEngineThemeContext.Provider, {\n value: engineTheme,\n children: /*#__PURE__*/_jsx(RtlProvider, {\n value: rtlValue,\n children: children\n })\n })\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.func, PropTypes.object]).isRequired,\n /**\n * The design system's unique id for getting the corresponded theme when there are multiple design systems.\n */\n themeId: PropTypes.string\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\nexport default ThemeProvider;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"theme\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { ThemeProvider as SystemThemeProvider } from '@mui/system';\nimport THEME_ID from './identifier';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function ThemeProvider(_ref) {\n let {\n theme: themeInput\n } = _ref,\n props = _objectWithoutPropertiesLoose(_ref, _excluded);\n const scopedTheme = themeInput[THEME_ID];\n return /*#__PURE__*/_jsx(SystemThemeProvider, _extends({}, props, {\n themeId: scopedTheme ? THEME_ID : undefined,\n theme: scopedTheme || themeInput\n }));\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = {\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired\n} : void 0;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nexport default function createMixins(breakpoints, mixins) {\n return _extends({\n toolbar: {\n minHeight: 56,\n [breakpoints.up('xs')]: {\n '@media (orientation: landscape)': {\n minHeight: 48\n }\n },\n [breakpoints.up('sm')]: {\n minHeight: 64\n }\n }\n }, mixins);\n}","const common = {\n black: '#000',\n white: '#fff'\n};\nexport default common;","const grey = {\n 50: '#fafafa',\n 100: '#f5f5f5',\n 200: '#eeeeee',\n 300: '#e0e0e0',\n 400: '#bdbdbd',\n 500: '#9e9e9e',\n 600: '#757575',\n 700: '#616161',\n 800: '#424242',\n 900: '#212121',\n A100: '#f5f5f5',\n A200: '#eeeeee',\n A400: '#bdbdbd',\n A700: '#616161'\n};\nexport default grey;","const purple = {\n 50: '#f3e5f5',\n 100: '#e1bee7',\n 200: '#ce93d8',\n 300: '#ba68c8',\n 400: '#ab47bc',\n 500: '#9c27b0',\n 600: '#8e24aa',\n 700: '#7b1fa2',\n 800: '#6a1b9a',\n 900: '#4a148c',\n A100: '#ea80fc',\n A200: '#e040fb',\n A400: '#d500f9',\n A700: '#aa00ff'\n};\nexport default purple;","const orange = {\n 50: '#fff3e0',\n 100: '#ffe0b2',\n 200: '#ffcc80',\n 300: '#ffb74d',\n 400: '#ffa726',\n 500: '#ff9800',\n 600: '#fb8c00',\n 700: '#f57c00',\n 800: '#ef6c00',\n 900: '#e65100',\n A100: '#ffd180',\n A200: '#ffab40',\n A400: '#ff9100',\n A700: '#ff6d00'\n};\nexport default orange;","const blue = {\n 50: '#e3f2fd',\n 100: '#bbdefb',\n 200: '#90caf9',\n 300: '#64b5f6',\n 400: '#42a5f5',\n 500: '#2196f3',\n 600: '#1e88e5',\n 700: '#1976d2',\n 800: '#1565c0',\n 900: '#0d47a1',\n A100: '#82b1ff',\n A200: '#448aff',\n A400: '#2979ff',\n A700: '#2962ff'\n};\nexport default blue;","const lightBlue = {\n 50: '#e1f5fe',\n 100: '#b3e5fc',\n 200: '#81d4fa',\n 300: '#4fc3f7',\n 400: '#29b6f6',\n 500: '#03a9f4',\n 600: '#039be5',\n 700: '#0288d1',\n 800: '#0277bd',\n 900: '#01579b',\n A100: '#80d8ff',\n A200: '#40c4ff',\n A400: '#00b0ff',\n A700: '#0091ea'\n};\nexport default lightBlue;","const green = {\n 50: '#e8f5e9',\n 100: '#c8e6c9',\n 200: '#a5d6a7',\n 300: '#81c784',\n 400: '#66bb6a',\n 500: '#4caf50',\n 600: '#43a047',\n 700: '#388e3c',\n 800: '#2e7d32',\n 900: '#1b5e20',\n A100: '#b9f6ca',\n A200: '#69f0ae',\n A400: '#00e676',\n A700: '#00c853'\n};\nexport default green;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nconst _excluded = [\"mode\", \"contrastThreshold\", \"tonalOffset\"];\nimport deepmerge from '@mui/utils/deepmerge';\nimport { darken, getContrastRatio, lighten } from '@mui/system/colorManipulator';\nimport common from '../colors/common';\nimport grey from '../colors/grey';\nimport purple from '../colors/purple';\nimport red from '../colors/red';\nimport orange from '../colors/orange';\nimport blue from '../colors/blue';\nimport lightBlue from '../colors/lightBlue';\nimport green from '../colors/green';\nexport const light = {\n // The colors used to style the text.\n text: {\n // The most important text.\n primary: 'rgba(0, 0, 0, 0.87)',\n // Secondary text.\n secondary: 'rgba(0, 0, 0, 0.6)',\n // Disabled text have even lower visual prominence.\n disabled: 'rgba(0, 0, 0, 0.38)'\n },\n // The color used to divide different elements.\n divider: 'rgba(0, 0, 0, 0.12)',\n // The background colors used to style the surfaces.\n // Consistency between these values is important.\n background: {\n paper: common.white,\n default: common.white\n },\n // The colors used to style the action elements.\n action: {\n // The color of an active action like an icon button.\n active: 'rgba(0, 0, 0, 0.54)',\n // The color of an hovered action.\n hover: 'rgba(0, 0, 0, 0.04)',\n hoverOpacity: 0.04,\n // The color of a selected action.\n selected: 'rgba(0, 0, 0, 0.08)',\n selectedOpacity: 0.08,\n // The color of a disabled action.\n disabled: 'rgba(0, 0, 0, 0.26)',\n // The background color of a disabled action.\n disabledBackground: 'rgba(0, 0, 0, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(0, 0, 0, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.12\n }\n};\nexport const dark = {\n text: {\n primary: common.white,\n secondary: 'rgba(255, 255, 255, 0.7)',\n disabled: 'rgba(255, 255, 255, 0.5)',\n icon: 'rgba(255, 255, 255, 0.5)'\n },\n divider: 'rgba(255, 255, 255, 0.12)',\n background: {\n paper: '#121212',\n default: '#121212'\n },\n action: {\n active: common.white,\n hover: 'rgba(255, 255, 255, 0.08)',\n hoverOpacity: 0.08,\n selected: 'rgba(255, 255, 255, 0.16)',\n selectedOpacity: 0.16,\n disabled: 'rgba(255, 255, 255, 0.3)',\n disabledBackground: 'rgba(255, 255, 255, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(255, 255, 255, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.24\n }\n};\nfunction addLightOrDark(intent, direction, shade, tonalOffset) {\n const tonalOffsetLight = tonalOffset.light || tonalOffset;\n const tonalOffsetDark = tonalOffset.dark || tonalOffset * 1.5;\n if (!intent[direction]) {\n if (intent.hasOwnProperty(shade)) {\n intent[direction] = intent[shade];\n } else if (direction === 'light') {\n intent.light = lighten(intent.main, tonalOffsetLight);\n } else if (direction === 'dark') {\n intent.dark = darken(intent.main, tonalOffsetDark);\n }\n }\n}\nfunction getDefaultPrimary(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: blue[200],\n light: blue[50],\n dark: blue[400]\n };\n }\n return {\n main: blue[700],\n light: blue[400],\n dark: blue[800]\n };\n}\nfunction getDefaultSecondary(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: purple[200],\n light: purple[50],\n dark: purple[400]\n };\n }\n return {\n main: purple[500],\n light: purple[300],\n dark: purple[700]\n };\n}\nfunction getDefaultError(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: red[500],\n light: red[300],\n dark: red[700]\n };\n }\n return {\n main: red[700],\n light: red[400],\n dark: red[800]\n };\n}\nfunction getDefaultInfo(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: lightBlue[400],\n light: lightBlue[300],\n dark: lightBlue[700]\n };\n }\n return {\n main: lightBlue[700],\n light: lightBlue[500],\n dark: lightBlue[900]\n };\n}\nfunction getDefaultSuccess(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: green[400],\n light: green[300],\n dark: green[700]\n };\n }\n return {\n main: green[800],\n light: green[500],\n dark: green[900]\n };\n}\nfunction getDefaultWarning(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: orange[400],\n light: orange[300],\n dark: orange[700]\n };\n }\n return {\n main: '#ed6c02',\n // closest to orange[800] that pass 3:1.\n light: orange[500],\n dark: orange[900]\n };\n}\nexport default function createPalette(palette) {\n const {\n mode = 'light',\n contrastThreshold = 3,\n tonalOffset = 0.2\n } = palette,\n other = _objectWithoutPropertiesLoose(palette, _excluded);\n const primary = palette.primary || getDefaultPrimary(mode);\n const secondary = palette.secondary || getDefaultSecondary(mode);\n const error = palette.error || getDefaultError(mode);\n const info = palette.info || getDefaultInfo(mode);\n const success = palette.success || getDefaultSuccess(mode);\n const warning = palette.warning || getDefaultWarning(mode);\n\n // Use the same logic as\n // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59\n // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54\n function getContrastText(background) {\n const contrastText = getContrastRatio(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;\n if (process.env.NODE_ENV !== 'production') {\n const contrast = getContrastRatio(background, contrastText);\n if (contrast < 3) {\n console.error([`MUI: The contrast ratio of ${contrast}:1 for ${contrastText} on ${background}`, 'falls below the WCAG recommended absolute minimum contrast ratio of 3:1.', 'https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast'].join('\\n'));\n }\n }\n return contrastText;\n }\n const augmentColor = ({\n color,\n name,\n mainShade = 500,\n lightShade = 300,\n darkShade = 700\n }) => {\n color = _extends({}, color);\n if (!color.main && color[mainShade]) {\n color.main = color[mainShade];\n }\n if (!color.hasOwnProperty('main')) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.\nThe color object needs to have a \\`main\\` property or a \\`${mainShade}\\` property.` : _formatMuiErrorMessage(11, name ? ` (${name})` : '', mainShade));\n }\n if (typeof color.main !== 'string') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.\n\\`color.main\\` should be a string, but \\`${JSON.stringify(color.main)}\\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from \"@mui/material/colors\";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });` : _formatMuiErrorMessage(12, name ? ` (${name})` : '', JSON.stringify(color.main)));\n }\n addLightOrDark(color, 'light', lightShade, tonalOffset);\n addLightOrDark(color, 'dark', darkShade, tonalOffset);\n if (!color.contrastText) {\n color.contrastText = getContrastText(color.main);\n }\n return color;\n };\n const modes = {\n dark,\n light\n };\n if (process.env.NODE_ENV !== 'production') {\n if (!modes[mode]) {\n console.error(`MUI: The palette mode \\`${mode}\\` is not supported.`);\n }\n }\n const paletteOutput = deepmerge(_extends({\n // A collection of common colors.\n common: _extends({}, common),\n // prevent mutable object.\n // The palette mode, can be light or dark.\n mode,\n // The colors used to represent primary interface elements for a user.\n primary: augmentColor({\n color: primary,\n name: 'primary'\n }),\n // The colors used to represent secondary interface elements for a user.\n secondary: augmentColor({\n color: secondary,\n name: 'secondary',\n mainShade: 'A400',\n lightShade: 'A200',\n darkShade: 'A700'\n }),\n // The colors used to represent interface elements that the user should be made aware of.\n error: augmentColor({\n color: error,\n name: 'error'\n }),\n // The colors used to represent potentially dangerous actions or important messages.\n warning: augmentColor({\n color: warning,\n name: 'warning'\n }),\n // The colors used to present information to the user that is neutral and not necessarily important.\n info: augmentColor({\n color: info,\n name: 'info'\n }),\n // The colors used to indicate the successful completion of an action that user triggered.\n success: augmentColor({\n color: success,\n name: 'success'\n }),\n // The grey colors.\n grey,\n // Used by `getContrastText()` to maximize the contrast between\n // the background and the text.\n contrastThreshold,\n // Takes a background color and returns the text color that maximizes the contrast.\n getContrastText,\n // Generate a rich color object.\n augmentColor,\n // Used by the functions below to shift a color's luminance by approximately\n // two indexes within its tonal palette.\n // E.g., shift from Red 500 to Red 300 or Red 700.\n tonalOffset\n }, modes[mode]), other);\n return paletteOutput;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"fontFamily\", \"fontSize\", \"fontWeightLight\", \"fontWeightRegular\", \"fontWeightMedium\", \"fontWeightBold\", \"htmlFontSize\", \"allVariants\", \"pxToRem\"];\nimport deepmerge from '@mui/utils/deepmerge';\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\nconst caseAllCaps = {\n textTransform: 'uppercase'\n};\nconst defaultFontFamily = '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif';\n\n/**\n * @see @link{https://m2.material.io/design/typography/the-type-system.html}\n * @see @link{https://m2.material.io/design/typography/understanding-typography.html}\n */\nexport default function createTypography(palette, typography) {\n const _ref = typeof typography === 'function' ? typography(palette) : typography,\n {\n fontFamily = defaultFontFamily,\n // The default font size of the Material Specification.\n fontSize = 14,\n // px\n fontWeightLight = 300,\n fontWeightRegular = 400,\n fontWeightMedium = 500,\n fontWeightBold = 700,\n // Tell MUI what's the font-size on the html element.\n // 16px is the default font-size used by browsers.\n htmlFontSize = 16,\n // Apply the CSS properties to all the variants.\n allVariants,\n pxToRem: pxToRem2\n } = _ref,\n other = _objectWithoutPropertiesLoose(_ref, _excluded);\n if (process.env.NODE_ENV !== 'production') {\n if (typeof fontSize !== 'number') {\n console.error('MUI: `fontSize` is required to be a number.');\n }\n if (typeof htmlFontSize !== 'number') {\n console.error('MUI: `htmlFontSize` is required to be a number.');\n }\n }\n const coef = fontSize / 14;\n const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);\n const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends({\n fontFamily,\n fontWeight,\n fontSize: pxToRem(size),\n // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/\n lineHeight\n }, fontFamily === defaultFontFamily ? {\n letterSpacing: `${round(letterSpacing / size)}em`\n } : {}, casing, allVariants);\n const variants = {\n h1: buildVariant(fontWeightLight, 96, 1.167, -1.5),\n h2: buildVariant(fontWeightLight, 60, 1.2, -0.5),\n h3: buildVariant(fontWeightRegular, 48, 1.167, 0),\n h4: buildVariant(fontWeightRegular, 34, 1.235, 0.25),\n h5: buildVariant(fontWeightRegular, 24, 1.334, 0),\n h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),\n subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),\n subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),\n body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),\n body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),\n button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),\n caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),\n overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps),\n // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.\n inherit: {\n fontFamily: 'inherit',\n fontWeight: 'inherit',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n letterSpacing: 'inherit'\n }\n };\n return deepmerge(_extends({\n htmlFontSize,\n pxToRem,\n fontFamily,\n fontSize,\n fontWeightLight,\n fontWeightRegular,\n fontWeightMedium,\n fontWeightBold\n }, variants), other, {\n clone: false // No need to clone deep\n });\n}","const shadowKeyUmbraOpacity = 0.2;\nconst shadowKeyPenumbraOpacity = 0.14;\nconst shadowAmbientShadowOpacity = 0.12;\nfunction createShadow(...px) {\n return [`${px[0]}px ${px[1]}px ${px[2]}px ${px[3]}px rgba(0,0,0,${shadowKeyUmbraOpacity})`, `${px[4]}px ${px[5]}px ${px[6]}px ${px[7]}px rgba(0,0,0,${shadowKeyPenumbraOpacity})`, `${px[8]}px ${px[9]}px ${px[10]}px ${px[11]}px rgba(0,0,0,${shadowAmbientShadowOpacity})`].join(',');\n}\n\n// Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss\nconst shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];\nexport default shadows;","// We need to centralize the zIndex definitions as they work\n// like global values in the browser.\nconst zIndex = {\n mobileStepper: 1000,\n fab: 1050,\n speedDial: 1050,\n appBar: 1100,\n drawer: 1200,\n modal: 1300,\n snackbar: 1400,\n tooltip: 1500\n};\nexport default zIndex;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nconst _excluded = [\"breakpoints\", \"mixins\", \"spacing\", \"palette\", \"transitions\", \"typography\", \"shape\"];\nimport deepmerge from '@mui/utils/deepmerge';\nimport styleFunctionSx, { unstable_defaultSxConfig as defaultSxConfig } from '@mui/system/styleFunctionSx';\nimport systemCreateTheme from '@mui/system/createTheme';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport createMixins from './createMixins';\nimport createPalette from './createPalette';\nimport createTypography from './createTypography';\nimport shadows from './shadows';\nimport createTransitions from './createTransitions';\nimport zIndex from './zIndex';\nfunction createTheme(options = {}, ...args) {\n const {\n mixins: mixinsInput = {},\n palette: paletteInput = {},\n transitions: transitionsInput = {},\n typography: typographyInput = {}\n } = options,\n other = _objectWithoutPropertiesLoose(options, _excluded);\n if (options.vars) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: \\`vars\\` is a private field used for CSS variables support.\nPlease use another name.` : _formatMuiErrorMessage(18));\n }\n const palette = createPalette(paletteInput);\n const systemTheme = systemCreateTheme(options);\n let muiTheme = deepmerge(systemTheme, {\n mixins: createMixins(systemTheme.breakpoints, mixinsInput),\n palette,\n // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.\n shadows: shadows.slice(),\n typography: createTypography(palette, typographyInput),\n transitions: createTransitions(transitionsInput),\n zIndex: _extends({}, zIndex)\n });\n muiTheme = deepmerge(muiTheme, other);\n muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);\n if (process.env.NODE_ENV !== 'production') {\n // TODO v6: Refactor to use globalStateClassesMapping from @mui/utils once `readOnly` state class is used in Rating component.\n const stateClasses = ['active', 'checked', 'completed', 'disabled', 'error', 'expanded', 'focused', 'focusVisible', 'required', 'selected'];\n const traverse = (node, component) => {\n let key;\n\n // eslint-disable-next-line guard-for-in, no-restricted-syntax\n for (key in node) {\n const child = node[key];\n if (stateClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {\n if (process.env.NODE_ENV !== 'production') {\n const stateClass = generateUtilityClass('', key);\n console.error([`MUI: The \\`${component}\\` component increases ` + `the CSS specificity of the \\`${key}\\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({\n root: {\n [`&.${stateClass}`]: child\n }\n }, null, 2), '', 'https://mui.com/r/state-classes-guide'].join('\\n'));\n }\n // Remove the style to prevent global conflicts.\n node[key] = {};\n }\n }\n };\n Object.keys(muiTheme.components).forEach(component => {\n const styleOverrides = muiTheme.components[component].styleOverrides;\n if (styleOverrides && component.indexOf('Mui') === 0) {\n traverse(styleOverrides, component);\n }\n });\n }\n muiTheme.unstable_sxConfig = _extends({}, defaultSxConfig, other == null ? void 0 : other.unstable_sxConfig);\n muiTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n return muiTheme;\n}\nlet warnedOnce = false;\nexport function createMuiTheme(...args) {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnedOnce) {\n warnedOnce = true;\n console.error(['MUI: the createMuiTheme function was renamed to createTheme.', '', \"You should use `import { createTheme } from '@mui/material/styles'`\"].join('\\n'));\n }\n }\n return createTheme(...args);\n}\nexport default createTheme;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"duration\", \"easing\", \"delay\"];\n// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves\n// to learn the context in which each easing should be used.\nexport const easing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'\n};\n\n// Follow https://m2.material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations\n// to learn when use what timing\nexport const duration = {\n shortest: 150,\n shorter: 200,\n short: 250,\n // most basic recommended timing\n standard: 300,\n // this is to be used in complex animations\n complex: 375,\n // recommended when something is entering screen\n enteringScreen: 225,\n // recommended when something is leaving screen\n leavingScreen: 195\n};\nfunction formatMs(milliseconds) {\n return `${Math.round(milliseconds)}ms`;\n}\nfunction getAutoHeightDuration(height) {\n if (!height) {\n return 0;\n }\n const constant = height / 36;\n\n // https://www.wolframalpha.com/input/?i=(4+%2B+15+*+(x+%2F+36+)+**+0.25+%2B+(x+%2F+36)+%2F+5)+*+10\n return Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10);\n}\nexport default function createTransitions(inputTransitions) {\n const mergedEasing = _extends({}, easing, inputTransitions.easing);\n const mergedDuration = _extends({}, duration, inputTransitions.duration);\n const create = (props = ['all'], options = {}) => {\n const {\n duration: durationOption = mergedDuration.standard,\n easing: easingOption = mergedEasing.easeInOut,\n delay = 0\n } = options,\n other = _objectWithoutPropertiesLoose(options, _excluded);\n if (process.env.NODE_ENV !== 'production') {\n const isString = value => typeof value === 'string';\n // IE11 support, replace with Number.isNaN\n // eslint-disable-next-line no-restricted-globals\n const isNumber = value => !isNaN(parseFloat(value));\n if (!isString(props) && !Array.isArray(props)) {\n console.error('MUI: Argument \"props\" must be a string or Array.');\n }\n if (!isNumber(durationOption) && !isString(durationOption)) {\n console.error(`MUI: Argument \"duration\" must be a number or a string but found ${durationOption}.`);\n }\n if (!isString(easingOption)) {\n console.error('MUI: Argument \"easing\" must be a string.');\n }\n if (!isNumber(delay) && !isString(delay)) {\n console.error('MUI: Argument \"delay\" must be a number or a string.');\n }\n if (typeof options !== 'object') {\n console.error(['MUI: Secong argument of transition.create must be an object.', \"Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`\"].join('\\n'));\n }\n if (Object.keys(other).length !== 0) {\n console.error(`MUI: Unrecognized argument(s) [${Object.keys(other).join(',')}].`);\n }\n }\n return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');\n };\n return _extends({\n getAutoHeightDuration,\n create\n }, inputTransitions, {\n easing: mergedEasing,\n duration: mergedDuration\n });\n}","export default '$$material';","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.alpha = alpha;\nexports.blend = blend;\nexports.colorChannel = void 0;\nexports.darken = darken;\nexports.decomposeColor = decomposeColor;\nexports.emphasize = emphasize;\nexports.getContrastRatio = getContrastRatio;\nexports.getLuminance = getLuminance;\nexports.hexToRgb = hexToRgb;\nexports.hslToRgb = hslToRgb;\nexports.lighten = lighten;\nexports.private_safeAlpha = private_safeAlpha;\nexports.private_safeColorChannel = void 0;\nexports.private_safeDarken = private_safeDarken;\nexports.private_safeEmphasize = private_safeEmphasize;\nexports.private_safeLighten = private_safeLighten;\nexports.recomposeColor = recomposeColor;\nexports.rgbToHex = rgbToHex;\nvar _formatMuiErrorMessage2 = _interopRequireDefault(require(\"@mui/utils/formatMuiErrorMessage\"));\nvar _clamp = _interopRequireDefault(require(\"@mui/utils/clamp\"));\n/* eslint-disable @typescript-eslint/naming-convention */\n\n/**\n * Returns a number whose value is limited to the given range.\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clampWrapper(value, min = 0, max = 1) {\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);\n }\n }\n return (0, _clamp.default)(value, min, max);\n}\n\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\nfunction hexToRgb(color) {\n color = color.slice(1);\n const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');\n let colors = color.match(re);\n if (colors && colors[0].length === 1) {\n colors = colors.map(n => n + n);\n }\n return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {\n return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;\n }).join(', ')})` : '';\n}\nfunction intToHex(int) {\n const hex = int.toString(16);\n return hex.length === 1 ? `0${hex}` : hex;\n}\n\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\nfunction decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n const marker = color.indexOf('(');\n const type = color.substring(0, marker);\n if (['rgb', 'rgba', 'hsl', 'hsla', 'color'].indexOf(type) === -1) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: Unsupported \\`${color}\\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : (0, _formatMuiErrorMessage2.default)(9, color));\n }\n let values = color.substring(marker + 1, color.length - 1);\n let colorSpace;\n if (type === 'color') {\n values = values.split(' ');\n colorSpace = values.shift();\n if (values.length === 4 && values[3].charAt(0) === '/') {\n values[3] = values[3].slice(1);\n }\n if (['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].indexOf(colorSpace) === -1) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: unsupported \\`${colorSpace}\\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : (0, _formatMuiErrorMessage2.default)(10, colorSpace));\n }\n } else {\n values = values.split(',');\n }\n values = values.map(value => parseFloat(value));\n return {\n type,\n values,\n colorSpace\n };\n}\n\n/**\n * Returns a channel created from the input color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {string} - The channel for the color, that can be used in rgba or hsla colors\n */\nconst colorChannel = color => {\n const decomposedColor = decomposeColor(color);\n return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.indexOf('hsl') !== -1 && idx !== 0 ? `${val}%` : val).join(' ');\n};\nexports.colorChannel = colorChannel;\nconst private_safeColorChannel = (color, warning) => {\n try {\n return colorChannel(color);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n};\n\n/**\n * Converts a color object with type and values to a string.\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\nexports.private_safeColorChannel = private_safeColorChannel;\nfunction recomposeColor(color) {\n const {\n type,\n colorSpace\n } = color;\n let {\n values\n } = color;\n if (type.indexOf('rgb') !== -1) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);\n } else if (type.indexOf('hsl') !== -1) {\n values[1] = `${values[1]}%`;\n values[2] = `${values[2]}%`;\n }\n if (type.indexOf('color') !== -1) {\n values = `${colorSpace} ${values.join(' ')}`;\n } else {\n values = `${values.join(', ')}`;\n }\n return `${type}(${values})`;\n}\n\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\nfunction rgbToHex(color) {\n // Idempotent\n if (color.indexOf('#') === 0) {\n return color;\n }\n const {\n values\n } = decomposeColor(color);\n return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;\n}\n\n/**\n * Converts a color from hsl format to rgb format.\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\nfunction hslToRgb(color) {\n color = decomposeColor(color);\n const {\n values\n } = color;\n const h = values[0];\n const s = values[1] / 100;\n const l = values[2] / 100;\n const a = s * Math.min(l, 1 - l);\n const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n let type = 'rgb';\n const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n return recomposeColor({\n type,\n values: rgb\n });\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\nfunction getLuminance(color) {\n color = decomposeColor(color);\n let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(val => {\n if (color.type !== 'color') {\n val /= 255; // normalized\n }\n return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;\n });\n\n // Truncate at 3 digits\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\nfunction getContrastRatio(foreground, background) {\n const lumA = getLuminance(foreground);\n const lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n\n/**\n * Sets the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} value - value to set the alpha channel to in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction alpha(color, value) {\n color = decomposeColor(color);\n value = clampWrapper(value);\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n if (color.type === 'color') {\n color.values[3] = `/${value}`;\n } else {\n color.values[3] = value;\n }\n return recomposeColor(color);\n}\nfunction private_safeAlpha(color, value, warning) {\n try {\n return alpha(color, value);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darkens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.indexOf('rgb') !== -1 || color.type.indexOf('color') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n return recomposeColor(color);\n}\nfunction private_safeDarken(color, coefficient, warning) {\n try {\n return darken(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Lightens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n } else if (color.type.indexOf('color') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (1 - color.values[i]) * coefficient;\n }\n }\n return recomposeColor(color);\n}\nfunction private_safeLighten(color, coefficient, warning) {\n try {\n return lighten(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction emphasize(color, coefficient = 0.15) {\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\nfunction private_safeEmphasize(color, coefficient, warning) {\n try {\n return private_safeEmphasize(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Blend a transparent overlay color with a background color, resulting in a single\n * RGB color.\n * @param {string} background - CSS color\n * @param {string} overlay - CSS color\n * @param {number} opacity - Opacity multiplier in the range 0 - 1\n * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.\n */\nfunction blend(background, overlay, opacity, gamma = 1.0) {\n const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);\n const backgroundColor = decomposeColor(background);\n const overlayColor = decomposeColor(overlay);\n const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];\n return recomposeColor({\n type: 'rgb',\n values: rgb\n });\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"value\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst RtlContext = /*#__PURE__*/React.createContext();\nfunction RtlProvider(_ref) {\n let {\n value\n } = _ref,\n props = _objectWithoutPropertiesLoose(_ref, _excluded);\n return /*#__PURE__*/_jsx(RtlContext.Provider, _extends({\n value: value != null ? value : true\n }, props));\n}\nprocess.env.NODE_ENV !== \"production\" ? RtlProvider.propTypes = {\n children: PropTypes.node,\n value: PropTypes.bool\n} : void 0;\nexport const useRtl = () => {\n const value = React.useContext(RtlContext);\n return value != null ? value : false;\n};\nexport default RtlProvider;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport PropTypes from 'prop-types';\nimport deepmerge from '@mui/utils/deepmerge';\nimport merge from './merge';\n\n// The breakpoint **start** at this value.\n// For instance with the first breakpoint xs: [xs, sm[.\nexport const values = {\n xs: 0,\n // phone\n sm: 600,\n // tablet\n md: 900,\n // small laptop\n lg: 1200,\n // desktop\n xl: 1536 // large screen\n};\nconst defaultBreakpoints = {\n // Sorted ASC by size. That's important.\n // It can't be configured as it's used statically for propTypes.\n keys: ['xs', 'sm', 'md', 'lg', 'xl'],\n up: key => `@media (min-width:${values[key]}px)`\n};\nexport function handleBreakpoints(props, propValue, styleFromPropValue) {\n const theme = props.theme || {};\n if (Array.isArray(propValue)) {\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n return propValue.reduce((acc, item, index) => {\n acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);\n return acc;\n }, {});\n }\n if (typeof propValue === 'object') {\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n return Object.keys(propValue).reduce((acc, breakpoint) => {\n // key is breakpoint\n if (Object.keys(themeBreakpoints.values || values).indexOf(breakpoint) !== -1) {\n const mediaKey = themeBreakpoints.up(breakpoint);\n acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);\n } else {\n const cssKey = breakpoint;\n acc[cssKey] = propValue[cssKey];\n }\n return acc;\n }, {});\n }\n const output = styleFromPropValue(propValue);\n return output;\n}\nfunction breakpoints(styleFunction) {\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const newStyleFunction = props => {\n const theme = props.theme || {};\n const base = styleFunction(props);\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n const extended = themeBreakpoints.keys.reduce((acc, key) => {\n if (props[key]) {\n acc = acc || {};\n acc[themeBreakpoints.up(key)] = styleFunction(_extends({\n theme\n }, props[key]));\n }\n return acc;\n }, null);\n return merge(base, extended);\n };\n newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? _extends({}, styleFunction.propTypes, {\n xs: PropTypes.object,\n sm: PropTypes.object,\n md: PropTypes.object,\n lg: PropTypes.object,\n xl: PropTypes.object\n }) : {};\n newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl', ...styleFunction.filterProps];\n return newStyleFunction;\n}\nexport function createEmptyBreakpointObject(breakpointsInput = {}) {\n var _breakpointsInput$key;\n const breakpointsInOrder = (_breakpointsInput$key = breakpointsInput.keys) == null ? void 0 : _breakpointsInput$key.reduce((acc, key) => {\n const breakpointStyleKey = breakpointsInput.up(key);\n acc[breakpointStyleKey] = {};\n return acc;\n }, {});\n return breakpointsInOrder || {};\n}\nexport function removeUnusedBreakpoints(breakpointKeys, style) {\n return breakpointKeys.reduce((acc, key) => {\n const breakpointOutput = acc[key];\n const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;\n if (isBreakpointUnused) {\n delete acc[key];\n }\n return acc;\n }, style);\n}\nexport function mergeBreakpointsInOrder(breakpointsInput, ...styles) {\n const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);\n const mergedOutput = [emptyBreakpoints, ...styles].reduce((prev, next) => deepmerge(prev, next), {});\n return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);\n}\n\n// compute base for responsive values; e.g.,\n// [1,2,3] => {xs: true, sm: true, md: true}\n// {xs: 1, sm: 2, md: 3} => {xs: true, sm: true, md: true}\nexport function computeBreakpointsBase(breakpointValues, themeBreakpoints) {\n // fixed value\n if (typeof breakpointValues !== 'object') {\n return {};\n }\n const base = {};\n const breakpointsKeys = Object.keys(themeBreakpoints);\n if (Array.isArray(breakpointValues)) {\n breakpointsKeys.forEach((breakpoint, i) => {\n if (i < breakpointValues.length) {\n base[breakpoint] = true;\n }\n });\n } else {\n breakpointsKeys.forEach(breakpoint => {\n if (breakpointValues[breakpoint] != null) {\n base[breakpoint] = true;\n }\n });\n }\n return base;\n}\nexport function resolveBreakpointValues({\n values: breakpointValues,\n breakpoints: themeBreakpoints,\n base: customBase\n}) {\n const base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints);\n const keys = Object.keys(base);\n if (keys.length === 0) {\n return breakpointValues;\n }\n let previous;\n return keys.reduce((acc, breakpoint, i) => {\n if (Array.isArray(breakpointValues)) {\n acc[breakpoint] = breakpointValues[i] != null ? breakpointValues[i] : breakpointValues[previous];\n previous = i;\n } else if (typeof breakpointValues === 'object') {\n acc[breakpoint] = breakpointValues[breakpoint] != null ? breakpointValues[breakpoint] : breakpointValues[previous];\n previous = breakpoint;\n } else {\n acc[breakpoint] = breakpointValues;\n }\n return acc;\n }, {});\n}\nexport default breakpoints;","/**\n * A universal utility to style components with multiple color modes. Always use it from the theme object.\n * It works with:\n * - [Basic theme](https://mui.com/material-ui/customization/dark-mode/)\n * - [CSS theme variables](https://mui.com/material-ui/experimental-api/css-theme-variables/overview/)\n * - Zero-runtime engine\n *\n * Tips: Use an array over object spread and place `theme.applyStyles()` last.\n *\n * ✅ [{ background: '#e5e5e5' }, theme.applyStyles('dark', { background: '#1c1c1c' })]\n *\n * 🚫 { background: '#e5e5e5', ...theme.applyStyles('dark', { background: '#1c1c1c' })}\n *\n * @example\n * 1. using with `styled`:\n * ```jsx\n * const Component = styled('div')(({ theme }) => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ]);\n * ```\n *\n * @example\n * 2. using with `sx` prop:\n * ```jsx\n * [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ]}\n * />\n * ```\n *\n * @example\n * 3. theming a component:\n * ```jsx\n * extendTheme({\n * components: {\n * MuiButton: {\n * styleOverrides: {\n * root: ({ theme }) => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ],\n * },\n * }\n * }\n * })\n *```\n */\nexport default function applyStyles(key, styles) {\n // @ts-expect-error this is 'any' type\n const theme = this;\n if (theme.vars && typeof theme.getColorSchemeSelector === 'function') {\n // If CssVarsProvider is used as a provider,\n // returns '* :where([data-mui-color-scheme=\"light|dark\"]) &'\n const selector = theme.getColorSchemeSelector(key).replace(/(\\[[^\\]]+\\])/, '*:where($1)');\n return {\n [selector]: styles\n };\n }\n if (theme.palette.mode === key) {\n return styles;\n }\n return {};\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"values\", \"unit\", \"step\"];\n// Sorted ASC by size. That's important.\n// It can't be configured as it's used statically for propTypes.\nexport const breakpointKeys = ['xs', 'sm', 'md', 'lg', 'xl'];\nconst sortBreakpointsValues = values => {\n const breakpointsAsArray = Object.keys(values).map(key => ({\n key,\n val: values[key]\n })) || [];\n // Sort in ascending order\n breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);\n return breakpointsAsArray.reduce((acc, obj) => {\n return _extends({}, acc, {\n [obj.key]: obj.val\n });\n }, {});\n};\n\n// Keep in mind that @media is inclusive by the CSS specification.\nexport default function createBreakpoints(breakpoints) {\n const {\n // The breakpoint **start** at this value.\n // For instance with the first breakpoint xs: [xs, sm).\n values = {\n xs: 0,\n // phone\n sm: 600,\n // tablet\n md: 900,\n // small laptop\n lg: 1200,\n // desktop\n xl: 1536 // large screen\n },\n unit = 'px',\n step = 5\n } = breakpoints,\n other = _objectWithoutPropertiesLoose(breakpoints, _excluded);\n const sortedValues = sortBreakpointsValues(values);\n const keys = Object.keys(sortedValues);\n function up(key) {\n const value = typeof values[key] === 'number' ? values[key] : key;\n return `@media (min-width:${value}${unit})`;\n }\n function down(key) {\n const value = typeof values[key] === 'number' ? values[key] : key;\n return `@media (max-width:${value - step / 100}${unit})`;\n }\n function between(start, end) {\n const endIndex = keys.indexOf(end);\n return `@media (min-width:${typeof values[start] === 'number' ? values[start] : start}${unit}) and ` + `(max-width:${(endIndex !== -1 && typeof values[keys[endIndex]] === 'number' ? values[keys[endIndex]] : end) - step / 100}${unit})`;\n }\n function only(key) {\n if (keys.indexOf(key) + 1 < keys.length) {\n return between(key, keys[keys.indexOf(key) + 1]);\n }\n return up(key);\n }\n function not(key) {\n // handle first and last key separately, for better readability\n const keyIndex = keys.indexOf(key);\n if (keyIndex === 0) {\n return up(keys[1]);\n }\n if (keyIndex === keys.length - 1) {\n return down(keys[keyIndex]);\n }\n return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');\n }\n return _extends({\n keys,\n values: sortedValues,\n up,\n down,\n between,\n only,\n not,\n unit\n }, other);\n}","const shape = {\n borderRadius: 4\n};\nexport default shape;","import { createUnarySpacing } from '../spacing';\n\n// The different signatures imply different meaning for their arguments that can't be expressed structurally.\n// We express the difference with variable names.\n\nexport default function createSpacing(spacingInput = 8) {\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n }\n\n // Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.\n // Smaller components, such as icons, can align to a 4dp grid.\n // https://m2.material.io/design/layout/understanding-layout.html\n const transform = createUnarySpacing({\n spacing: spacingInput\n });\n const spacing = (...argsInput) => {\n if (process.env.NODE_ENV !== 'production') {\n if (!(argsInput.length <= 4)) {\n console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);\n }\n }\n const args = argsInput.length === 0 ? [1] : argsInput;\n return args.map(argument => {\n const output = transform(argument);\n return typeof output === 'number' ? `${output}px` : output;\n }).join(' ');\n };\n spacing.mui = true;\n return spacing;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"breakpoints\", \"palette\", \"spacing\", \"shape\"];\nimport deepmerge from '@mui/utils/deepmerge';\nimport createBreakpoints from './createBreakpoints';\nimport shape from './shape';\nimport createSpacing from './createSpacing';\nimport styleFunctionSx from '../styleFunctionSx/styleFunctionSx';\nimport defaultSxConfig from '../styleFunctionSx/defaultSxConfig';\nimport applyStyles from './applyStyles';\nfunction createTheme(options = {}, ...args) {\n const {\n breakpoints: breakpointsInput = {},\n palette: paletteInput = {},\n spacing: spacingInput,\n shape: shapeInput = {}\n } = options,\n other = _objectWithoutPropertiesLoose(options, _excluded);\n const breakpoints = createBreakpoints(breakpointsInput);\n const spacing = createSpacing(spacingInput);\n let muiTheme = deepmerge({\n breakpoints,\n direction: 'ltr',\n components: {},\n // Inject component definitions.\n palette: _extends({\n mode: 'light'\n }, paletteInput),\n spacing,\n shape: _extends({}, shape, shapeInput)\n }, other);\n muiTheme.applyStyles = applyStyles;\n muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);\n muiTheme.unstable_sxConfig = _extends({}, defaultSxConfig, other == null ? void 0 : other.unstable_sxConfig);\n muiTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n return muiTheme;\n}\nexport default createTheme;","import deepmerge from '@mui/utils/deepmerge';\nfunction merge(acc, item) {\n if (!item) {\n return acc;\n }\n return deepmerge(acc, item, {\n clone: false // No need to clone deep, it's way faster.\n });\n}\nexport default merge;","export default function memoize(fn) {\n const cache = {};\n return arg => {\n if (cache[arg] === undefined) {\n cache[arg] = fn(arg);\n }\n return cache[arg];\n };\n}","import responsivePropType from './responsivePropType';\nimport { handleBreakpoints } from './breakpoints';\nimport { getPath } from './style';\nimport merge from './merge';\nimport memoize from './memoize';\nconst properties = {\n m: 'margin',\n p: 'padding'\n};\nconst directions = {\n t: 'Top',\n r: 'Right',\n b: 'Bottom',\n l: 'Left',\n x: ['Left', 'Right'],\n y: ['Top', 'Bottom']\n};\nconst aliases = {\n marginX: 'mx',\n marginY: 'my',\n paddingX: 'px',\n paddingY: 'py'\n};\n\n// memoize() impact:\n// From 300,000 ops/sec\n// To 350,000 ops/sec\nconst getCssProperties = memoize(prop => {\n // It's not a shorthand notation.\n if (prop.length > 2) {\n if (aliases[prop]) {\n prop = aliases[prop];\n } else {\n return [prop];\n }\n }\n const [a, b] = prop.split('');\n const property = properties[a];\n const direction = directions[b] || '';\n return Array.isArray(direction) ? direction.map(dir => property + dir) : [property + direction];\n});\nexport const marginKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'marginInline', 'marginInlineStart', 'marginInlineEnd', 'marginBlock', 'marginBlockStart', 'marginBlockEnd'];\nexport const paddingKeys = ['p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY', 'paddingInline', 'paddingInlineStart', 'paddingInlineEnd', 'paddingBlock', 'paddingBlockStart', 'paddingBlockEnd'];\nconst spacingKeys = [...marginKeys, ...paddingKeys];\nexport function createUnaryUnit(theme, themeKey, defaultValue, propName) {\n var _getPath;\n const themeSpacing = (_getPath = getPath(theme, themeKey, false)) != null ? _getPath : defaultValue;\n if (typeof themeSpacing === 'number') {\n return abs => {\n if (typeof abs === 'string') {\n return abs;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (typeof abs !== 'number') {\n console.error(`MUI: Expected ${propName} argument to be a number or a string, got ${abs}.`);\n }\n }\n return themeSpacing * abs;\n };\n }\n if (Array.isArray(themeSpacing)) {\n return abs => {\n if (typeof abs === 'string') {\n return abs;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (!Number.isInteger(abs)) {\n console.error([`MUI: The \\`theme.${themeKey}\\` array type cannot be combined with non integer values.` + `You should either use an integer value that can be used as index, or define the \\`theme.${themeKey}\\` as a number.`].join('\\n'));\n } else if (abs > themeSpacing.length - 1) {\n console.error([`MUI: The value provided (${abs}) overflows.`, `The supported values are: ${JSON.stringify(themeSpacing)}.`, `${abs} > ${themeSpacing.length - 1}, you need to add the missing values.`].join('\\n'));\n }\n }\n return themeSpacing[abs];\n };\n }\n if (typeof themeSpacing === 'function') {\n return themeSpacing;\n }\n if (process.env.NODE_ENV !== 'production') {\n console.error([`MUI: The \\`theme.${themeKey}\\` value (${themeSpacing}) is invalid.`, 'It should be a number, an array or a function.'].join('\\n'));\n }\n return () => undefined;\n}\nexport function createUnarySpacing(theme) {\n return createUnaryUnit(theme, 'spacing', 8, 'spacing');\n}\nexport function getValue(transformer, propValue) {\n if (typeof propValue === 'string' || propValue == null) {\n return propValue;\n }\n const abs = Math.abs(propValue);\n const transformed = transformer(abs);\n if (propValue >= 0) {\n return transformed;\n }\n if (typeof transformed === 'number') {\n return -transformed;\n }\n return `-${transformed}`;\n}\nexport function getStyleFromPropValue(cssProperties, transformer) {\n return propValue => cssProperties.reduce((acc, cssProperty) => {\n acc[cssProperty] = getValue(transformer, propValue);\n return acc;\n }, {});\n}\nfunction resolveCssProperty(props, keys, prop, transformer) {\n // Using a hash computation over an array iteration could be faster, but with only 28 items,\n // it's doesn't worth the bundle size.\n if (keys.indexOf(prop) === -1) {\n return null;\n }\n const cssProperties = getCssProperties(prop);\n const styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);\n const propValue = props[prop];\n return handleBreakpoints(props, propValue, styleFromPropValue);\n}\nfunction style(props, keys) {\n const transformer = createUnarySpacing(props.theme);\n return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(merge, {});\n}\nexport function margin(props) {\n return style(props, marginKeys);\n}\nmargin.propTypes = process.env.NODE_ENV !== 'production' ? marginKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\nmargin.filterProps = marginKeys;\nexport function padding(props) {\n return style(props, paddingKeys);\n}\npadding.propTypes = process.env.NODE_ENV !== 'production' ? paddingKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\npadding.filterProps = paddingKeys;\nfunction spacing(props) {\n return style(props, spacingKeys);\n}\nspacing.propTypes = process.env.NODE_ENV !== 'production' ? spacingKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\nspacing.filterProps = spacingKeys;\nexport default spacing;","import capitalize from '@mui/utils/capitalize';\nimport responsivePropType from './responsivePropType';\nimport { handleBreakpoints } from './breakpoints';\nexport function getPath(obj, path, checkVars = true) {\n if (!path || typeof path !== 'string') {\n return null;\n }\n\n // Check if CSS variables are used\n if (obj && obj.vars && checkVars) {\n const val = `vars.${path}`.split('.').reduce((acc, item) => acc && acc[item] ? acc[item] : null, obj);\n if (val != null) {\n return val;\n }\n }\n return path.split('.').reduce((acc, item) => {\n if (acc && acc[item] != null) {\n return acc[item];\n }\n return null;\n }, obj);\n}\nexport function getStyleValue(themeMapping, transform, propValueFinal, userValue = propValueFinal) {\n let value;\n if (typeof themeMapping === 'function') {\n value = themeMapping(propValueFinal);\n } else if (Array.isArray(themeMapping)) {\n value = themeMapping[propValueFinal] || userValue;\n } else {\n value = getPath(themeMapping, propValueFinal) || userValue;\n }\n if (transform) {\n value = transform(value, userValue, themeMapping);\n }\n return value;\n}\nfunction style(options) {\n const {\n prop,\n cssProperty = options.prop,\n themeKey,\n transform\n } = options;\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n if (props[prop] == null) {\n return null;\n }\n const propValue = props[prop];\n const theme = props.theme;\n const themeMapping = getPath(theme, themeKey) || {};\n const styleFromPropValue = propValueFinal => {\n let value = getStyleValue(themeMapping, transform, propValueFinal);\n if (propValueFinal === value && typeof propValueFinal === 'string') {\n // Haven't found value\n value = getStyleValue(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : capitalize(propValueFinal)}`, propValueFinal);\n }\n if (cssProperty === false) {\n return value;\n }\n return {\n [cssProperty]: value\n };\n };\n return handleBreakpoints(props, propValue, styleFromPropValue);\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? {\n [prop]: responsivePropType\n } : {};\n fn.filterProps = [prop];\n return fn;\n}\nexport default style;","import merge from './merge';\nfunction compose(...styles) {\n const handlers = styles.reduce((acc, style) => {\n style.filterProps.forEach(prop => {\n acc[prop] = style;\n });\n return acc;\n }, {});\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n return Object.keys(props).reduce((acc, prop) => {\n if (handlers[prop]) {\n return merge(acc, handlers[prop](props));\n }\n return acc;\n }, {});\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : {};\n fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);\n return fn;\n}\nexport default compose;","import responsivePropType from './responsivePropType';\nimport style from './style';\nimport compose from './compose';\nimport { createUnaryUnit, getValue } from './spacing';\nimport { handleBreakpoints } from './breakpoints';\nexport function borderTransform(value) {\n if (typeof value !== 'number') {\n return value;\n }\n return `${value}px solid`;\n}\nfunction createBorderStyle(prop, transform) {\n return style({\n prop,\n themeKey: 'borders',\n transform\n });\n}\nexport const border = createBorderStyle('border', borderTransform);\nexport const borderTop = createBorderStyle('borderTop', borderTransform);\nexport const borderRight = createBorderStyle('borderRight', borderTransform);\nexport const borderBottom = createBorderStyle('borderBottom', borderTransform);\nexport const borderLeft = createBorderStyle('borderLeft', borderTransform);\nexport const borderColor = createBorderStyle('borderColor');\nexport const borderTopColor = createBorderStyle('borderTopColor');\nexport const borderRightColor = createBorderStyle('borderRightColor');\nexport const borderBottomColor = createBorderStyle('borderBottomColor');\nexport const borderLeftColor = createBorderStyle('borderLeftColor');\nexport const outline = createBorderStyle('outline', borderTransform);\nexport const outlineColor = createBorderStyle('outlineColor');\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const borderRadius = props => {\n if (props.borderRadius !== undefined && props.borderRadius !== null) {\n const transformer = createUnaryUnit(props.theme, 'shape.borderRadius', 4, 'borderRadius');\n const styleFromPropValue = propValue => ({\n borderRadius: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.borderRadius, styleFromPropValue);\n }\n return null;\n};\nborderRadius.propTypes = process.env.NODE_ENV !== 'production' ? {\n borderRadius: responsivePropType\n} : {};\nborderRadius.filterProps = ['borderRadius'];\nconst borders = compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);\nexport default borders;","import style from './style';\nimport compose from './compose';\nimport { createUnaryUnit, getValue } from './spacing';\nimport { handleBreakpoints } from './breakpoints';\nimport responsivePropType from './responsivePropType';\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const gap = props => {\n if (props.gap !== undefined && props.gap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'gap');\n const styleFromPropValue = propValue => ({\n gap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.gap, styleFromPropValue);\n }\n return null;\n};\ngap.propTypes = process.env.NODE_ENV !== 'production' ? {\n gap: responsivePropType\n} : {};\ngap.filterProps = ['gap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const columnGap = props => {\n if (props.columnGap !== undefined && props.columnGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'columnGap');\n const styleFromPropValue = propValue => ({\n columnGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.columnGap, styleFromPropValue);\n }\n return null;\n};\ncolumnGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n columnGap: responsivePropType\n} : {};\ncolumnGap.filterProps = ['columnGap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const rowGap = props => {\n if (props.rowGap !== undefined && props.rowGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'rowGap');\n const styleFromPropValue = propValue => ({\n rowGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.rowGap, styleFromPropValue);\n }\n return null;\n};\nrowGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n rowGap: responsivePropType\n} : {};\nrowGap.filterProps = ['rowGap'];\nexport const gridColumn = style({\n prop: 'gridColumn'\n});\nexport const gridRow = style({\n prop: 'gridRow'\n});\nexport const gridAutoFlow = style({\n prop: 'gridAutoFlow'\n});\nexport const gridAutoColumns = style({\n prop: 'gridAutoColumns'\n});\nexport const gridAutoRows = style({\n prop: 'gridAutoRows'\n});\nexport const gridTemplateColumns = style({\n prop: 'gridTemplateColumns'\n});\nexport const gridTemplateRows = style({\n prop: 'gridTemplateRows'\n});\nexport const gridTemplateAreas = style({\n prop: 'gridTemplateAreas'\n});\nexport const gridArea = style({\n prop: 'gridArea'\n});\nconst grid = compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);\nexport default grid;","import style from './style';\nimport compose from './compose';\nexport function paletteTransform(value, userValue) {\n if (userValue === 'grey') {\n return userValue;\n }\n return value;\n}\nexport const color = style({\n prop: 'color',\n themeKey: 'palette',\n transform: paletteTransform\n});\nexport const bgcolor = style({\n prop: 'bgcolor',\n cssProperty: 'backgroundColor',\n themeKey: 'palette',\n transform: paletteTransform\n});\nexport const backgroundColor = style({\n prop: 'backgroundColor',\n themeKey: 'palette',\n transform: paletteTransform\n});\nconst palette = compose(color, bgcolor, backgroundColor);\nexport default palette;","import style from './style';\nimport compose from './compose';\nimport { handleBreakpoints, values as breakpointsValues } from './breakpoints';\nexport function sizingTransform(value) {\n return value <= 1 && value !== 0 ? `${value * 100}%` : value;\n}\nexport const width = style({\n prop: 'width',\n transform: sizingTransform\n});\nexport const maxWidth = props => {\n if (props.maxWidth !== undefined && props.maxWidth !== null) {\n const styleFromPropValue = propValue => {\n var _props$theme, _props$theme2;\n const breakpoint = ((_props$theme = props.theme) == null || (_props$theme = _props$theme.breakpoints) == null || (_props$theme = _props$theme.values) == null ? void 0 : _props$theme[propValue]) || breakpointsValues[propValue];\n if (!breakpoint) {\n return {\n maxWidth: sizingTransform(propValue)\n };\n }\n if (((_props$theme2 = props.theme) == null || (_props$theme2 = _props$theme2.breakpoints) == null ? void 0 : _props$theme2.unit) !== 'px') {\n return {\n maxWidth: `${breakpoint}${props.theme.breakpoints.unit}`\n };\n }\n return {\n maxWidth: breakpoint\n };\n };\n return handleBreakpoints(props, props.maxWidth, styleFromPropValue);\n }\n return null;\n};\nmaxWidth.filterProps = ['maxWidth'];\nexport const minWidth = style({\n prop: 'minWidth',\n transform: sizingTransform\n});\nexport const height = style({\n prop: 'height',\n transform: sizingTransform\n});\nexport const maxHeight = style({\n prop: 'maxHeight',\n transform: sizingTransform\n});\nexport const minHeight = style({\n prop: 'minHeight',\n transform: sizingTransform\n});\nexport const sizeWidth = style({\n prop: 'size',\n cssProperty: 'width',\n transform: sizingTransform\n});\nexport const sizeHeight = style({\n prop: 'size',\n cssProperty: 'height',\n transform: sizingTransform\n});\nexport const boxSizing = style({\n prop: 'boxSizing'\n});\nconst sizing = compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);\nexport default sizing;","import { padding, margin } from '../spacing';\nimport { borderRadius, borderTransform } from '../borders';\nimport { gap, rowGap, columnGap } from '../cssGrid';\nimport { paletteTransform } from '../palette';\nimport { maxWidth, sizingTransform } from '../sizing';\nconst defaultSxConfig = {\n // borders\n border: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderTop: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderRight: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderBottom: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderLeft: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderColor: {\n themeKey: 'palette'\n },\n borderTopColor: {\n themeKey: 'palette'\n },\n borderRightColor: {\n themeKey: 'palette'\n },\n borderBottomColor: {\n themeKey: 'palette'\n },\n borderLeftColor: {\n themeKey: 'palette'\n },\n outline: {\n themeKey: 'borders',\n transform: borderTransform\n },\n outlineColor: {\n themeKey: 'palette'\n },\n borderRadius: {\n themeKey: 'shape.borderRadius',\n style: borderRadius\n },\n // palette\n color: {\n themeKey: 'palette',\n transform: paletteTransform\n },\n bgcolor: {\n themeKey: 'palette',\n cssProperty: 'backgroundColor',\n transform: paletteTransform\n },\n backgroundColor: {\n themeKey: 'palette',\n transform: paletteTransform\n },\n // spacing\n p: {\n style: padding\n },\n pt: {\n style: padding\n },\n pr: {\n style: padding\n },\n pb: {\n style: padding\n },\n pl: {\n style: padding\n },\n px: {\n style: padding\n },\n py: {\n style: padding\n },\n padding: {\n style: padding\n },\n paddingTop: {\n style: padding\n },\n paddingRight: {\n style: padding\n },\n paddingBottom: {\n style: padding\n },\n paddingLeft: {\n style: padding\n },\n paddingX: {\n style: padding\n },\n paddingY: {\n style: padding\n },\n paddingInline: {\n style: padding\n },\n paddingInlineStart: {\n style: padding\n },\n paddingInlineEnd: {\n style: padding\n },\n paddingBlock: {\n style: padding\n },\n paddingBlockStart: {\n style: padding\n },\n paddingBlockEnd: {\n style: padding\n },\n m: {\n style: margin\n },\n mt: {\n style: margin\n },\n mr: {\n style: margin\n },\n mb: {\n style: margin\n },\n ml: {\n style: margin\n },\n mx: {\n style: margin\n },\n my: {\n style: margin\n },\n margin: {\n style: margin\n },\n marginTop: {\n style: margin\n },\n marginRight: {\n style: margin\n },\n marginBottom: {\n style: margin\n },\n marginLeft: {\n style: margin\n },\n marginX: {\n style: margin\n },\n marginY: {\n style: margin\n },\n marginInline: {\n style: margin\n },\n marginInlineStart: {\n style: margin\n },\n marginInlineEnd: {\n style: margin\n },\n marginBlock: {\n style: margin\n },\n marginBlockStart: {\n style: margin\n },\n marginBlockEnd: {\n style: margin\n },\n // display\n displayPrint: {\n cssProperty: false,\n transform: value => ({\n '@media print': {\n display: value\n }\n })\n },\n display: {},\n overflow: {},\n textOverflow: {},\n visibility: {},\n whiteSpace: {},\n // flexbox\n flexBasis: {},\n flexDirection: {},\n flexWrap: {},\n justifyContent: {},\n alignItems: {},\n alignContent: {},\n order: {},\n flex: {},\n flexGrow: {},\n flexShrink: {},\n alignSelf: {},\n justifyItems: {},\n justifySelf: {},\n // grid\n gap: {\n style: gap\n },\n rowGap: {\n style: rowGap\n },\n columnGap: {\n style: columnGap\n },\n gridColumn: {},\n gridRow: {},\n gridAutoFlow: {},\n gridAutoColumns: {},\n gridAutoRows: {},\n gridTemplateColumns: {},\n gridTemplateRows: {},\n gridTemplateAreas: {},\n gridArea: {},\n // positions\n position: {},\n zIndex: {\n themeKey: 'zIndex'\n },\n top: {},\n right: {},\n bottom: {},\n left: {},\n // shadows\n boxShadow: {\n themeKey: 'shadows'\n },\n // sizing\n width: {\n transform: sizingTransform\n },\n maxWidth: {\n style: maxWidth\n },\n minWidth: {\n transform: sizingTransform\n },\n height: {\n transform: sizingTransform\n },\n maxHeight: {\n transform: sizingTransform\n },\n minHeight: {\n transform: sizingTransform\n },\n boxSizing: {},\n // typography\n fontFamily: {\n themeKey: 'typography'\n },\n fontSize: {\n themeKey: 'typography'\n },\n fontStyle: {\n themeKey: 'typography'\n },\n fontWeight: {\n themeKey: 'typography'\n },\n letterSpacing: {},\n textTransform: {},\n lineHeight: {},\n textAlign: {},\n typography: {\n cssProperty: false,\n themeKey: 'typography'\n }\n};\nexport default defaultSxConfig;","import capitalize from '@mui/utils/capitalize';\nimport merge from '../merge';\nimport { getPath, getStyleValue as getValue } from '../style';\nimport { handleBreakpoints, createEmptyBreakpointObject, removeUnusedBreakpoints } from '../breakpoints';\nimport defaultSxConfig from './defaultSxConfig';\nfunction objectsHaveSameKeys(...objects) {\n const allKeys = objects.reduce((keys, object) => keys.concat(Object.keys(object)), []);\n const union = new Set(allKeys);\n return objects.every(object => union.size === Object.keys(object).length);\n}\nfunction callIfFn(maybeFn, arg) {\n return typeof maybeFn === 'function' ? maybeFn(arg) : maybeFn;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function unstable_createStyleFunctionSx() {\n function getThemeValue(prop, val, theme, config) {\n const props = {\n [prop]: val,\n theme\n };\n const options = config[prop];\n if (!options) {\n return {\n [prop]: val\n };\n }\n const {\n cssProperty = prop,\n themeKey,\n transform,\n style\n } = options;\n if (val == null) {\n return null;\n }\n\n // TODO v6: remove, see https://github.com/mui/material-ui/pull/38123\n if (themeKey === 'typography' && val === 'inherit') {\n return {\n [prop]: val\n };\n }\n const themeMapping = getPath(theme, themeKey) || {};\n if (style) {\n return style(props);\n }\n const styleFromPropValue = propValueFinal => {\n let value = getValue(themeMapping, transform, propValueFinal);\n if (propValueFinal === value && typeof propValueFinal === 'string') {\n // Haven't found value\n value = getValue(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : capitalize(propValueFinal)}`, propValueFinal);\n }\n if (cssProperty === false) {\n return value;\n }\n return {\n [cssProperty]: value\n };\n };\n return handleBreakpoints(props, val, styleFromPropValue);\n }\n function styleFunctionSx(props) {\n var _theme$unstable_sxCon;\n const {\n sx,\n theme = {}\n } = props || {};\n if (!sx) {\n return null; // Emotion & styled-components will neglect null\n }\n const config = (_theme$unstable_sxCon = theme.unstable_sxConfig) != null ? _theme$unstable_sxCon : defaultSxConfig;\n\n /*\n * Receive `sxInput` as object or callback\n * and then recursively check keys & values to create media query object styles.\n * (the result will be used in `styled`)\n */\n function traverse(sxInput) {\n let sxObject = sxInput;\n if (typeof sxInput === 'function') {\n sxObject = sxInput(theme);\n } else if (typeof sxInput !== 'object') {\n // value\n return sxInput;\n }\n if (!sxObject) {\n return null;\n }\n const emptyBreakpoints = createEmptyBreakpointObject(theme.breakpoints);\n const breakpointsKeys = Object.keys(emptyBreakpoints);\n let css = emptyBreakpoints;\n Object.keys(sxObject).forEach(styleKey => {\n const value = callIfFn(sxObject[styleKey], theme);\n if (value !== null && value !== undefined) {\n if (typeof value === 'object') {\n if (config[styleKey]) {\n css = merge(css, getThemeValue(styleKey, value, theme, config));\n } else {\n const breakpointsValues = handleBreakpoints({\n theme\n }, value, x => ({\n [styleKey]: x\n }));\n if (objectsHaveSameKeys(breakpointsValues, value)) {\n css[styleKey] = styleFunctionSx({\n sx: value,\n theme\n });\n } else {\n css = merge(css, breakpointsValues);\n }\n }\n } else {\n css = merge(css, getThemeValue(styleKey, value, theme, config));\n }\n }\n });\n return removeUnusedBreakpoints(breakpointsKeys, css);\n }\n return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);\n }\n return styleFunctionSx;\n}\nconst styleFunctionSx = unstable_createStyleFunctionSx();\nstyleFunctionSx.filterProps = ['sx'];\nexport default styleFunctionSx;","'use client';\n\nimport * as React from 'react';\nimport { ThemeContext } from '@mui/styled-engine';\nfunction isObjectEmpty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction useTheme(defaultTheme = null) {\n const contextTheme = React.useContext(ThemeContext);\n return !contextTheme || isObjectEmpty(contextTheme) ? defaultTheme : contextTheme;\n}\nexport default useTheme;","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.\n//\n// A strict capitalization should uppercase the first letter of each word in the sentence.\n// We only handle the first word.\nexport default function capitalize(string) {\n if (typeof string !== 'string') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: \\`capitalize(string)\\` expects a string argument.` : _formatMuiErrorMessage(7));\n }\n return string.charAt(0).toUpperCase() + string.slice(1);\n}","function clamp(val, min = Number.MIN_SAFE_INTEGER, max = Number.MAX_SAFE_INTEGER) {\n return Math.max(min, Math.min(val, max));\n}\nexport default clamp;","export { default } from './clamp';","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// https://github.com/sindresorhus/is-plain-obj/blob/main/index.js\nexport function isPlainObject(item) {\n if (typeof item !== 'object' || item === null) {\n return false;\n }\n const prototype = Object.getPrototypeOf(item);\n return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);\n}\nfunction deepClone(source) {\n if (!isPlainObject(source)) {\n return source;\n }\n const output = {};\n Object.keys(source).forEach(key => {\n output[key] = deepClone(source[key]);\n });\n return output;\n}\nexport default function deepmerge(target, source, options = {\n clone: true\n}) {\n const output = options.clone ? _extends({}, target) : target;\n if (isPlainObject(target) && isPlainObject(source)) {\n Object.keys(source).forEach(key => {\n // Avoid prototype pollution\n if (key === '__proto__') {\n return;\n }\n if (isPlainObject(source[key]) && key in target && isPlainObject(target[key])) {\n // Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type.\n output[key] = deepmerge(target[key], source[key], options);\n } else if (options.clone) {\n output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];\n } else {\n output[key] = source[key];\n }\n });\n }\n return output;\n}","/**\n * WARNING: Don't import this directly.\n * Use `MuiError` from `@mui/internal-babel-macros/MuiError.macro` instead.\n * @param {number} code\n */\nexport default function formatMuiErrorMessage(code) {\n // Apply babel-plugin-transform-template-literals in loose mode\n // loose mode is safe if we're concatenating primitives\n // see https://babeljs.io/docs/en/babel-plugin-transform-template-literals#loose\n /* eslint-disable prefer-template */\n let url = 'https://mui.com/production-error/?code=' + code;\n for (let i = 1; i < arguments.length; i += 1) {\n // rest params over-transpile for this case\n // eslint-disable-next-line prefer-rest-params\n url += '&args[]=' + encodeURIComponent(arguments[i]);\n }\n return 'Minified MUI error #' + code + '; visit ' + url + ' for the full message.';\n /* eslint-enable prefer-template */\n}","export { default } from './formatMuiErrorMessage';","const DEFAULT_ENVIRONMENT = 'production';\n\nexport { DEFAULT_ENVIRONMENT };\n//# sourceMappingURL=constants.js.map\n","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nconst DEBUG_BUILD = (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__);\n\nexport { DEBUG_BUILD };\n//# sourceMappingURL=debug-build.js.map\n","import { SyncPromise, logger, isThenable, getGlobalSingleton } from '@sentry/utils';\nimport { DEBUG_BUILD } from './debug-build.js';\n\n/**\n * Returns the global event processors.\n * @deprecated Global event processors will be removed in v8.\n */\nfunction getGlobalEventProcessors() {\n return getGlobalSingleton('globalEventProcessors', () => []);\n}\n\n/**\n * Add a EventProcessor to be kept globally.\n * @deprecated Use `addEventProcessor` instead. Global event processors will be removed in v8.\n */\nfunction addGlobalEventProcessor(callback) {\n // eslint-disable-next-line deprecation/deprecation\n getGlobalEventProcessors().push(callback);\n}\n\n/**\n * Process an array of event processors, returning the processed event (or `null` if the event was dropped).\n */\nfunction notifyEventProcessors(\n processors,\n event,\n hint,\n index = 0,\n) {\n return new SyncPromise((resolve, reject) => {\n const processor = processors[index];\n if (event === null || typeof processor !== 'function') {\n resolve(event);\n } else {\n const result = processor({ ...event }, hint) ;\n\n DEBUG_BUILD && processor.id && result === null && logger.log(`Event processor \"${processor.id}\" dropped event`);\n\n if (isThenable(result)) {\n void result\n .then(final => notifyEventProcessors(processors, final, hint, index + 1).then(resolve))\n .then(null, reject);\n } else {\n void notifyEventProcessors(processors, result, hint, index + 1)\n .then(resolve)\n .then(null, reject);\n }\n }\n });\n}\n\nexport { addGlobalEventProcessor, getGlobalEventProcessors, notifyEventProcessors };\n//# sourceMappingURL=eventProcessors.js.map\n","import { logger, uuid4, timestampInSeconds, isThenable, GLOBAL_OBJ } from '@sentry/utils';\nimport { DEFAULT_ENVIRONMENT } from './constants.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { getCurrentHub, runWithAsyncContext, getIsolationScope } from './hub.js';\nimport { makeSession, updateSession, closeSession } from './session.js';\nimport { parseEventHintOrCaptureContext } from './utils/prepareEvent.js';\n\n/**\n * Captures an exception event and sends it to Sentry.\n *\n * @param exception The exception to capture.\n * @param hint Optional additional data to attach to the Sentry event.\n * @returns the id of the captured Sentry event.\n */\nfunction captureException(\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n exception,\n hint,\n) {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().captureException(exception, parseEventHintOrCaptureContext(hint));\n}\n\n/**\n * Captures a message event and sends it to Sentry.\n *\n * @param exception The exception to capture.\n * @param captureContext Define the level of the message or pass in additional data to attach to the message.\n * @returns the id of the captured message.\n */\nfunction captureMessage(\n message,\n // eslint-disable-next-line deprecation/deprecation\n captureContext,\n) {\n // This is necessary to provide explicit scopes upgrade, without changing the original\n // arity of the `captureMessage(message, level)` method.\n const level = typeof captureContext === 'string' ? captureContext : undefined;\n const context = typeof captureContext !== 'string' ? { captureContext } : undefined;\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().captureMessage(message, level, context);\n}\n\n/**\n * Captures a manually created event and sends it to Sentry.\n *\n * @param exception The event to send to Sentry.\n * @param hint Optional additional data to attach to the Sentry event.\n * @returns the id of the captured event.\n */\nfunction captureEvent(event, hint) {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().captureEvent(event, hint);\n}\n\n/**\n * Callback to set context information onto the scope.\n * @param callback Callback function that receives Scope.\n *\n * @deprecated Use getCurrentScope() directly.\n */\nfunction configureScope(callback) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().configureScope(callback);\n}\n\n/**\n * Records a new breadcrumb which will be attached to future events.\n *\n * Breadcrumbs will be added to subsequent events to provide more context on\n * user's actions prior to an error or crash.\n *\n * @param breadcrumb The breadcrumb to record.\n */\nfunction addBreadcrumb(breadcrumb, hint) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().addBreadcrumb(breadcrumb, hint);\n}\n\n/**\n * Sets context data with the given name.\n * @param name of the context\n * @param context Any kind of data. This data will be normalized.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction setContext(name, context) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setContext(name, context);\n}\n\n/**\n * Set an object that will be merged sent as extra data with the event.\n * @param extras Extras object to merge into current context.\n */\nfunction setExtras(extras) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setExtras(extras);\n}\n\n/**\n * Set key:value that will be sent as extra data with the event.\n * @param key String of extra\n * @param extra Any kind of data. This data will be normalized.\n */\nfunction setExtra(key, extra) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setExtra(key, extra);\n}\n\n/**\n * Set an object that will be merged sent as tags data with the event.\n * @param tags Tags context object to merge into current context.\n */\nfunction setTags(tags) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setTags(tags);\n}\n\n/**\n * Set key:value that will be sent as tags data with the event.\n *\n * Can also be used to unset a tag, by passing `undefined`.\n *\n * @param key String key of tag\n * @param value Value of tag\n */\nfunction setTag(key, value) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setTag(key, value);\n}\n\n/**\n * Updates user context information for future events.\n *\n * @param user User context object to be set in the current context. Pass `null` to unset the user.\n */\nfunction setUser(user) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setUser(user);\n}\n\n/**\n * Creates a new scope with and executes the given operation within.\n * The scope is automatically removed once the operation\n * finishes or throws.\n *\n * This is essentially a convenience function for:\n *\n * pushScope();\n * callback();\n * popScope();\n */\n\n/**\n * Either creates a new active scope, or sets the given scope as active scope in the given callback.\n */\nfunction withScope(\n ...rest\n) {\n // eslint-disable-next-line deprecation/deprecation\n const hub = getCurrentHub();\n\n // If a scope is defined, we want to make this the active scope instead of the default one\n if (rest.length === 2) {\n const [scope, callback] = rest;\n if (!scope) {\n // eslint-disable-next-line deprecation/deprecation\n return hub.withScope(callback);\n }\n\n // eslint-disable-next-line deprecation/deprecation\n return hub.withScope(() => {\n // eslint-disable-next-line deprecation/deprecation\n hub.getStackTop().scope = scope ;\n return callback(scope );\n });\n }\n\n // eslint-disable-next-line deprecation/deprecation\n return hub.withScope(rest[0]);\n}\n\n/**\n * Attempts to fork the current isolation scope and the current scope based on the current async context strategy. If no\n * async context strategy is set, the isolation scope and the current scope will not be forked (this is currently the\n * case, for example, in the browser).\n *\n * Usage of this function in environments without async context strategy is discouraged and may lead to unexpected behaviour.\n *\n * This function is intended for Sentry SDK and SDK integration development. It is not recommended to be used in \"normal\"\n * applications directly because it comes with pitfalls. Use at your own risk!\n *\n * @param callback The callback in which the passed isolation scope is active. (Note: In environments without async\n * context strategy, the currently active isolation scope may change within execution of the callback.)\n * @returns The same value that `callback` returns.\n */\nfunction withIsolationScope(callback) {\n return runWithAsyncContext(() => {\n return callback(getIsolationScope());\n });\n}\n\n/**\n * Forks the current scope and sets the provided span as active span in the context of the provided callback.\n *\n * @param span Spans started in the context of the provided callback will be children of this span.\n * @param callback Execution context in which the provided span will be active. Is passed the newly forked scope.\n * @returns the value returned from the provided callback function.\n */\nfunction withActiveSpan(span, callback) {\n return withScope(scope => {\n // eslint-disable-next-line deprecation/deprecation\n scope.setSpan(span);\n return callback(scope);\n });\n}\n\n/**\n * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.\n *\n * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a\n * new child span within the transaction or any span, call the respective `.startChild()` method.\n *\n * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.\n *\n * The transaction must be finished with a call to its `.end()` method, at which point the transaction with all its\n * finished child spans will be sent to Sentry.\n *\n * NOTE: This function should only be used for *manual* instrumentation. Auto-instrumentation should call\n * `startTransaction` directly on the hub.\n *\n * @param context Properties of the new `Transaction`.\n * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent\n * default values). See {@link Options.tracesSampler}.\n *\n * @returns The transaction which was just started\n *\n * @deprecated Use `startSpan()`, `startSpanManual()` or `startInactiveSpan()` instead.\n */\nfunction startTransaction(\n context,\n customSamplingContext,\n) {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().startTransaction({ ...context }, customSamplingContext);\n}\n\n/**\n * Create a cron monitor check in and send it to Sentry.\n *\n * @param checkIn An object that describes a check in.\n * @param upsertMonitorConfig An optional object that describes a monitor config. Use this if you want\n * to create a monitor automatically when sending a check in.\n */\nfunction captureCheckIn(checkIn, upsertMonitorConfig) {\n const scope = getCurrentScope();\n const client = getClient();\n if (!client) {\n DEBUG_BUILD && logger.warn('Cannot capture check-in. No client defined.');\n } else if (!client.captureCheckIn) {\n DEBUG_BUILD && logger.warn('Cannot capture check-in. Client does not support sending check-ins.');\n } else {\n return client.captureCheckIn(checkIn, upsertMonitorConfig, scope);\n }\n\n return uuid4();\n}\n\n/**\n * Wraps a callback with a cron monitor check in. The check in will be sent to Sentry when the callback finishes.\n *\n * @param monitorSlug The distinct slug of the monitor.\n * @param upsertMonitorConfig An optional object that describes a monitor config. Use this if you want\n * to create a monitor automatically when sending a check in.\n */\nfunction withMonitor(\n monitorSlug,\n callback,\n upsertMonitorConfig,\n) {\n const checkInId = captureCheckIn({ monitorSlug, status: 'in_progress' }, upsertMonitorConfig);\n const now = timestampInSeconds();\n\n function finishCheckIn(status) {\n captureCheckIn({ monitorSlug, status, checkInId, duration: timestampInSeconds() - now });\n }\n\n let maybePromiseResult;\n try {\n maybePromiseResult = callback();\n } catch (e) {\n finishCheckIn('error');\n throw e;\n }\n\n if (isThenable(maybePromiseResult)) {\n Promise.resolve(maybePromiseResult).then(\n () => {\n finishCheckIn('ok');\n },\n () => {\n finishCheckIn('error');\n },\n );\n } else {\n finishCheckIn('ok');\n }\n\n return maybePromiseResult;\n}\n\n/**\n * Call `flush()` on the current client, if there is one. See {@link Client.flush}.\n *\n * @param timeout Maximum time in ms the client should wait to flush its event queue. Omitting this parameter will cause\n * the client to wait until all events are sent before resolving the promise.\n * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it\n * doesn't (or if there's no client defined).\n */\nasync function flush(timeout) {\n const client = getClient();\n if (client) {\n return client.flush(timeout);\n }\n DEBUG_BUILD && logger.warn('Cannot flush events. No client defined.');\n return Promise.resolve(false);\n}\n\n/**\n * Call `close()` on the current client, if there is one. See {@link Client.close}.\n *\n * @param timeout Maximum time in ms the client should wait to flush its event queue before shutting down. Omitting this\n * parameter will cause the client to wait until all events are sent before disabling itself.\n * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it\n * doesn't (or if there's no client defined).\n */\nasync function close(timeout) {\n const client = getClient();\n if (client) {\n return client.close(timeout);\n }\n DEBUG_BUILD && logger.warn('Cannot flush events and disable SDK. No client defined.');\n return Promise.resolve(false);\n}\n\n/**\n * This is the getter for lastEventId.\n *\n * @returns The last event id of a captured event.\n * @deprecated This function will be removed in the next major version of the Sentry SDK.\n */\nfunction lastEventId() {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().lastEventId();\n}\n\n/**\n * Get the currently active client.\n */\nfunction getClient() {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().getClient();\n}\n\n/**\n * Returns true if Sentry has been properly initialized.\n */\nfunction isInitialized() {\n return !!getClient();\n}\n\n/**\n * Get the currently active scope.\n */\nfunction getCurrentScope() {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().getScope();\n}\n\n/**\n * Start a session on the current isolation scope.\n *\n * @param context (optional) additional properties to be applied to the returned session object\n *\n * @returns the new active session\n */\nfunction startSession(context) {\n const client = getClient();\n const isolationScope = getIsolationScope();\n const currentScope = getCurrentScope();\n\n const { release, environment = DEFAULT_ENVIRONMENT } = (client && client.getOptions()) || {};\n\n // Will fetch userAgent if called from browser sdk\n const { userAgent } = GLOBAL_OBJ.navigator || {};\n\n const session = makeSession({\n release,\n environment,\n user: currentScope.getUser() || isolationScope.getUser(),\n ...(userAgent && { userAgent }),\n ...context,\n });\n\n // End existing session if there's one\n const currentSession = isolationScope.getSession();\n if (currentSession && currentSession.status === 'ok') {\n updateSession(currentSession, { status: 'exited' });\n }\n\n endSession();\n\n // Afterwards we set the new session on the scope\n isolationScope.setSession(session);\n\n // TODO (v8): Remove this and only use the isolation scope(?).\n // For v7 though, we can't \"soft-break\" people using getCurrentHub().getScope().setSession()\n currentScope.setSession(session);\n\n return session;\n}\n\n/**\n * End the session on the current isolation scope.\n */\nfunction endSession() {\n const isolationScope = getIsolationScope();\n const currentScope = getCurrentScope();\n\n const session = currentScope.getSession() || isolationScope.getSession();\n if (session) {\n closeSession(session);\n }\n _sendSessionUpdate();\n\n // the session is over; take it off of the scope\n isolationScope.setSession();\n\n // TODO (v8): Remove this and only use the isolation scope(?).\n // For v7 though, we can't \"soft-break\" people using getCurrentHub().getScope().setSession()\n currentScope.setSession();\n}\n\n/**\n * Sends the current Session on the scope\n */\nfunction _sendSessionUpdate() {\n const isolationScope = getIsolationScope();\n const currentScope = getCurrentScope();\n const client = getClient();\n // TODO (v8): Remove currentScope and only use the isolation scope(?).\n // For v7 though, we can't \"soft-break\" people using getCurrentHub().getScope().setSession()\n const session = currentScope.getSession() || isolationScope.getSession();\n if (session && client && client.captureSession) {\n client.captureSession(session);\n }\n}\n\n/**\n * Sends the current session on the scope to Sentry\n *\n * @param end If set the session will be marked as exited and removed from the scope.\n * Defaults to `false`.\n */\nfunction captureSession(end = false) {\n // both send the update and pull the session from the scope\n if (end) {\n endSession();\n return;\n }\n\n // only send the update\n _sendSessionUpdate();\n}\n\nexport { addBreadcrumb, captureCheckIn, captureEvent, captureException, captureMessage, captureSession, close, configureScope, endSession, flush, getClient, getCurrentScope, isInitialized, lastEventId, setContext, setExtra, setExtras, setTag, setTags, setUser, startSession, startTransaction, withActiveSpan, withIsolationScope, withMonitor, withScope };\n//# sourceMappingURL=exports.js.map\n","import { isThenable, uuid4, dateTimestampInSeconds, consoleSandbox, logger, GLOBAL_OBJ, getGlobalSingleton } from '@sentry/utils';\nimport { DEFAULT_ENVIRONMENT } from './constants.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { Scope } from './scope.js';\nimport { closeSession, makeSession, updateSession } from './session.js';\nimport { SDK_VERSION } from './version.js';\n\n/**\n * API compatibility version of this hub.\n *\n * WARNING: This number should only be increased when the global interface\n * changes and new methods are introduced.\n *\n * @hidden\n */\nconst API_VERSION = parseFloat(SDK_VERSION);\n\n/**\n * Default maximum number of breadcrumbs added to an event. Can be overwritten\n * with {@link Options.maxBreadcrumbs}.\n */\nconst DEFAULT_BREADCRUMBS = 100;\n\n/**\n * @inheritDoc\n */\nclass Hub {\n /** Is a {@link Layer}[] containing the client and scope */\n\n /** Contains the last event id of a captured event. */\n\n /**\n * Creates a new instance of the hub, will push one {@link Layer} into the\n * internal stack on creation.\n *\n * @param client bound to the hub.\n * @param scope bound to the hub.\n * @param version number, higher number means higher priority.\n *\n * @deprecated Instantiation of Hub objects is deprecated and the constructor will be removed in version 8 of the SDK.\n *\n * If you are currently using the Hub for multi-client use like so:\n *\n * ```\n * // OLD\n * const hub = new Hub();\n * hub.bindClient(client);\n * makeMain(hub)\n * ```\n *\n * instead initialize the client as follows:\n *\n * ```\n * // NEW\n * Sentry.withIsolationScope(() => {\n * Sentry.setCurrentClient(client);\n * client.init();\n * });\n * ```\n *\n * If you are using the Hub to capture events like so:\n *\n * ```\n * // OLD\n * const client = new Client();\n * const hub = new Hub(client);\n * hub.captureException()\n * ```\n *\n * instead capture isolated events as follows:\n *\n * ```\n * // NEW\n * const client = new Client();\n * const scope = new Scope();\n * scope.setClient(client);\n * scope.captureException();\n * ```\n */\n constructor(\n client,\n scope,\n isolationScope,\n _version = API_VERSION,\n ) {this._version = _version;\n let assignedScope;\n if (!scope) {\n assignedScope = new Scope();\n assignedScope.setClient(client);\n } else {\n assignedScope = scope;\n }\n\n let assignedIsolationScope;\n if (!isolationScope) {\n assignedIsolationScope = new Scope();\n assignedIsolationScope.setClient(client);\n } else {\n assignedIsolationScope = isolationScope;\n }\n\n this._stack = [{ scope: assignedScope }];\n\n if (client) {\n // eslint-disable-next-line deprecation/deprecation\n this.bindClient(client);\n }\n\n this._isolationScope = assignedIsolationScope;\n }\n\n /**\n * Checks if this hub's version is older than the given version.\n *\n * @param version A version number to compare to.\n * @return True if the given version is newer; otherwise false.\n *\n * @deprecated This will be removed in v8.\n */\n isOlderThan(version) {\n return this._version < version;\n }\n\n /**\n * This binds the given client to the current scope.\n * @param client An SDK client (client) instance.\n *\n * @deprecated Use `initAndBind()` directly, or `setCurrentClient()` and/or `client.init()` instead.\n */\n bindClient(client) {\n // eslint-disable-next-line deprecation/deprecation\n const top = this.getStackTop();\n top.client = client;\n top.scope.setClient(client);\n // eslint-disable-next-line deprecation/deprecation\n if (client && client.setupIntegrations) {\n // eslint-disable-next-line deprecation/deprecation\n client.setupIntegrations();\n }\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `withScope` instead.\n */\n pushScope() {\n // We want to clone the content of prev scope\n // eslint-disable-next-line deprecation/deprecation\n const scope = this.getScope().clone();\n // eslint-disable-next-line deprecation/deprecation\n this.getStack().push({\n // eslint-disable-next-line deprecation/deprecation\n client: this.getClient(),\n scope,\n });\n return scope;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `withScope` instead.\n */\n popScope() {\n // eslint-disable-next-line deprecation/deprecation\n if (this.getStack().length <= 1) return false;\n // eslint-disable-next-line deprecation/deprecation\n return !!this.getStack().pop();\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.withScope()` instead.\n */\n withScope(callback) {\n // eslint-disable-next-line deprecation/deprecation\n const scope = this.pushScope();\n\n let maybePromiseResult;\n try {\n maybePromiseResult = callback(scope);\n } catch (e) {\n // eslint-disable-next-line deprecation/deprecation\n this.popScope();\n throw e;\n }\n\n if (isThenable(maybePromiseResult)) {\n // @ts-expect-error - isThenable returns the wrong type\n return maybePromiseResult.then(\n res => {\n // eslint-disable-next-line deprecation/deprecation\n this.popScope();\n return res;\n },\n e => {\n // eslint-disable-next-line deprecation/deprecation\n this.popScope();\n throw e;\n },\n );\n }\n\n // eslint-disable-next-line deprecation/deprecation\n this.popScope();\n return maybePromiseResult;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.getClient()` instead.\n */\n getClient() {\n // eslint-disable-next-line deprecation/deprecation\n return this.getStackTop().client ;\n }\n\n /**\n * Returns the scope of the top stack.\n *\n * @deprecated Use `Sentry.getCurrentScope()` instead.\n */\n getScope() {\n // eslint-disable-next-line deprecation/deprecation\n return this.getStackTop().scope;\n }\n\n /**\n * @deprecated Use `Sentry.getIsolationScope()` instead.\n */\n getIsolationScope() {\n return this._isolationScope;\n }\n\n /**\n * Returns the scope stack for domains or the process.\n * @deprecated This will be removed in v8.\n */\n getStack() {\n return this._stack;\n }\n\n /**\n * Returns the topmost scope layer in the order domain > local > process.\n * @deprecated This will be removed in v8.\n */\n getStackTop() {\n return this._stack[this._stack.length - 1];\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.captureException()` instead.\n */\n captureException(exception, hint) {\n const eventId = (this._lastEventId = hint && hint.event_id ? hint.event_id : uuid4());\n const syntheticException = new Error('Sentry syntheticException');\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().captureException(exception, {\n originalException: exception,\n syntheticException,\n ...hint,\n event_id: eventId,\n });\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.captureMessage()` instead.\n */\n captureMessage(\n message,\n // eslint-disable-next-line deprecation/deprecation\n level,\n hint,\n ) {\n const eventId = (this._lastEventId = hint && hint.event_id ? hint.event_id : uuid4());\n const syntheticException = new Error(message);\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().captureMessage(message, level, {\n originalException: message,\n syntheticException,\n ...hint,\n event_id: eventId,\n });\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.captureEvent()` instead.\n */\n captureEvent(event, hint) {\n const eventId = hint && hint.event_id ? hint.event_id : uuid4();\n if (!event.type) {\n this._lastEventId = eventId;\n }\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().captureEvent(event, { ...hint, event_id: eventId });\n return eventId;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated This will be removed in v8.\n */\n lastEventId() {\n return this._lastEventId;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.addBreadcrumb()` instead.\n */\n addBreadcrumb(breadcrumb, hint) {\n // eslint-disable-next-line deprecation/deprecation\n const { scope, client } = this.getStackTop();\n\n if (!client) return;\n\n const { beforeBreadcrumb = null, maxBreadcrumbs = DEFAULT_BREADCRUMBS } =\n (client.getOptions && client.getOptions()) || {};\n\n if (maxBreadcrumbs <= 0) return;\n\n const timestamp = dateTimestampInSeconds();\n const mergedBreadcrumb = { timestamp, ...breadcrumb };\n const finalBreadcrumb = beforeBreadcrumb\n ? (consoleSandbox(() => beforeBreadcrumb(mergedBreadcrumb, hint)) )\n : mergedBreadcrumb;\n\n if (finalBreadcrumb === null) return;\n\n if (client.emit) {\n client.emit('beforeAddBreadcrumb', finalBreadcrumb, hint);\n }\n\n // TODO(v8): I know this comment doesn't make much sense because the hub will be deprecated but I still wanted to\n // write it down. In theory, we would have to add the breadcrumbs to the isolation scope here, however, that would\n // duplicate all of the breadcrumbs. There was the possibility of adding breadcrumbs to both, the isolation scope\n // and the normal scope, and deduplicating it down the line in the event processing pipeline. However, that would\n // have been very fragile, because the breadcrumb objects would have needed to keep their identity all throughout\n // the event processing pipeline.\n // In the new implementation, the top level `Sentry.addBreadcrumb()` should ONLY write to the isolation scope.\n\n scope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs);\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setUser()` instead.\n */\n setUser(user) {\n // TODO(v8): The top level `Sentry.setUser()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setUser(user);\n // eslint-disable-next-line deprecation/deprecation\n this.getIsolationScope().setUser(user);\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setTags()` instead.\n */\n setTags(tags) {\n // TODO(v8): The top level `Sentry.setTags()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setTags(tags);\n // eslint-disable-next-line deprecation/deprecation\n this.getIsolationScope().setTags(tags);\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setExtras()` instead.\n */\n setExtras(extras) {\n // TODO(v8): The top level `Sentry.setExtras()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setExtras(extras);\n // eslint-disable-next-line deprecation/deprecation\n this.getIsolationScope().setExtras(extras);\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setTag()` instead.\n */\n setTag(key, value) {\n // TODO(v8): The top level `Sentry.setTag()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setTag(key, value);\n // eslint-disable-next-line deprecation/deprecation\n this.getIsolationScope().setTag(key, value);\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setExtra()` instead.\n */\n setExtra(key, extra) {\n // TODO(v8): The top level `Sentry.setExtra()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setExtra(key, extra);\n // eslint-disable-next-line deprecation/deprecation\n this.getIsolationScope().setExtra(key, extra);\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setContext()` instead.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n setContext(name, context) {\n // TODO(v8): The top level `Sentry.setContext()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setContext(name, context);\n // eslint-disable-next-line deprecation/deprecation\n this.getIsolationScope().setContext(name, context);\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `getScope()` directly.\n */\n configureScope(callback) {\n // eslint-disable-next-line deprecation/deprecation\n const { scope, client } = this.getStackTop();\n if (client) {\n callback(scope);\n }\n }\n\n /**\n * @inheritDoc\n */\n run(callback) {\n // eslint-disable-next-line deprecation/deprecation\n const oldHub = makeMain(this);\n try {\n callback(this);\n } finally {\n // eslint-disable-next-line deprecation/deprecation\n makeMain(oldHub);\n }\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.getClient().getIntegrationByName()` instead.\n */\n getIntegration(integration) {\n // eslint-disable-next-line deprecation/deprecation\n const client = this.getClient();\n if (!client) return null;\n try {\n // eslint-disable-next-line deprecation/deprecation\n return client.getIntegration(integration);\n } catch (_oO) {\n DEBUG_BUILD && logger.warn(`Cannot retrieve integration ${integration.id} from the current Hub`);\n return null;\n }\n }\n\n /**\n * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.\n *\n * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a\n * new child span within the transaction or any span, call the respective `.startChild()` method.\n *\n * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.\n *\n * The transaction must be finished with a call to its `.end()` method, at which point the transaction with all its\n * finished child spans will be sent to Sentry.\n *\n * @param context Properties of the new `Transaction`.\n * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent\n * default values). See {@link Options.tracesSampler}.\n *\n * @returns The transaction which was just started\n *\n * @deprecated Use `startSpan()`, `startSpanManual()` or `startInactiveSpan()` instead.\n */\n startTransaction(context, customSamplingContext) {\n const result = this._callExtensionMethod('startTransaction', context, customSamplingContext);\n\n if (DEBUG_BUILD && !result) {\n // eslint-disable-next-line deprecation/deprecation\n const client = this.getClient();\n if (!client) {\n logger.warn(\n \"Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'\",\n );\n } else {\n logger.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n`);\n }\n }\n\n return result;\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `spanToTraceHeader()` instead.\n */\n traceHeaders() {\n return this._callExtensionMethod('traceHeaders');\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use top level `captureSession` instead.\n */\n captureSession(endSession = false) {\n // both send the update and pull the session from the scope\n if (endSession) {\n // eslint-disable-next-line deprecation/deprecation\n return this.endSession();\n }\n\n // only send the update\n this._sendSessionUpdate();\n }\n\n /**\n * @inheritDoc\n * @deprecated Use top level `endSession` instead.\n */\n endSession() {\n // eslint-disable-next-line deprecation/deprecation\n const layer = this.getStackTop();\n const scope = layer.scope;\n const session = scope.getSession();\n if (session) {\n closeSession(session);\n }\n this._sendSessionUpdate();\n\n // the session is over; take it off of the scope\n scope.setSession();\n }\n\n /**\n * @inheritDoc\n * @deprecated Use top level `startSession` instead.\n */\n startSession(context) {\n // eslint-disable-next-line deprecation/deprecation\n const { scope, client } = this.getStackTop();\n const { release, environment = DEFAULT_ENVIRONMENT } = (client && client.getOptions()) || {};\n\n // Will fetch userAgent if called from browser sdk\n const { userAgent } = GLOBAL_OBJ.navigator || {};\n\n const session = makeSession({\n release,\n environment,\n user: scope.getUser(),\n ...(userAgent && { userAgent }),\n ...context,\n });\n\n // End existing session if there's one\n const currentSession = scope.getSession && scope.getSession();\n if (currentSession && currentSession.status === 'ok') {\n updateSession(currentSession, { status: 'exited' });\n }\n // eslint-disable-next-line deprecation/deprecation\n this.endSession();\n\n // Afterwards we set the new session on the scope\n scope.setSession(session);\n\n return session;\n }\n\n /**\n * Returns if default PII should be sent to Sentry and propagated in ourgoing requests\n * when Tracing is used.\n *\n * @deprecated Use top-level `getClient().getOptions().sendDefaultPii` instead. This function\n * only unnecessarily increased API surface but only wrapped accessing the option.\n */\n shouldSendDefaultPii() {\n // eslint-disable-next-line deprecation/deprecation\n const client = this.getClient();\n const options = client && client.getOptions();\n return Boolean(options && options.sendDefaultPii);\n }\n\n /**\n * Sends the current Session on the scope\n */\n _sendSessionUpdate() {\n // eslint-disable-next-line deprecation/deprecation\n const { scope, client } = this.getStackTop();\n\n const session = scope.getSession();\n if (session && client && client.captureSession) {\n client.captureSession(session);\n }\n }\n\n /**\n * Calls global extension method and binding current instance to the function call\n */\n // @ts-expect-error Function lacks ending return statement and return type does not include 'undefined'. ts(2366)\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n _callExtensionMethod(method, ...args) {\n const carrier = getMainCarrier();\n const sentry = carrier.__SENTRY__;\n if (sentry && sentry.extensions && typeof sentry.extensions[method] === 'function') {\n return sentry.extensions[method].apply(this, args);\n }\n DEBUG_BUILD && logger.warn(`Extension method ${method} couldn't be found, doing nothing.`);\n }\n}\n\n/**\n * Returns the global shim registry.\n *\n * FIXME: This function is problematic, because despite always returning a valid Carrier,\n * it has an optional `__SENTRY__` property, which then in turn requires us to always perform an unnecessary check\n * at the call-site. We always access the carrier through this function, so we can guarantee that `__SENTRY__` is there.\n **/\nfunction getMainCarrier() {\n GLOBAL_OBJ.__SENTRY__ = GLOBAL_OBJ.__SENTRY__ || {\n extensions: {},\n hub: undefined,\n };\n return GLOBAL_OBJ;\n}\n\n/**\n * Replaces the current main hub with the passed one on the global object\n *\n * @returns The old replaced hub\n *\n * @deprecated Use `setCurrentClient()` instead.\n */\nfunction makeMain(hub) {\n const registry = getMainCarrier();\n const oldHub = getHubFromCarrier(registry);\n setHubOnCarrier(registry, hub);\n return oldHub;\n}\n\n/**\n * Returns the default hub instance.\n *\n * If a hub is already registered in the global carrier but this module\n * contains a more recent version, it replaces the registered version.\n * Otherwise, the currently registered hub will be returned.\n *\n * @deprecated Use the respective replacement method directly instead.\n */\nfunction getCurrentHub() {\n // Get main carrier (global for every environment)\n const registry = getMainCarrier();\n\n if (registry.__SENTRY__ && registry.__SENTRY__.acs) {\n const hub = registry.__SENTRY__.acs.getCurrentHub();\n\n if (hub) {\n return hub;\n }\n }\n\n // Return hub that lives on a global object\n return getGlobalHub(registry);\n}\n\n/**\n * Get the currently active isolation scope.\n * The isolation scope is active for the current exection context,\n * meaning that it will remain stable for the same Hub.\n */\nfunction getIsolationScope() {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().getIsolationScope();\n}\n\nfunction getGlobalHub(registry = getMainCarrier()) {\n // If there's no hub, or its an old API, assign a new one\n\n if (\n !hasHubOnCarrier(registry) ||\n // eslint-disable-next-line deprecation/deprecation\n getHubFromCarrier(registry).isOlderThan(API_VERSION)\n ) {\n // eslint-disable-next-line deprecation/deprecation\n setHubOnCarrier(registry, new Hub());\n }\n\n // Return hub that lives on a global object\n return getHubFromCarrier(registry);\n}\n\n/**\n * @private Private API with no semver guarantees!\n *\n * If the carrier does not contain a hub, a new hub is created with the global hub client and scope.\n */\nfunction ensureHubOnCarrier(carrier, parent = getGlobalHub()) {\n // If there's no hub on current domain, or it's an old API, assign a new one\n if (\n !hasHubOnCarrier(carrier) ||\n // eslint-disable-next-line deprecation/deprecation\n getHubFromCarrier(carrier).isOlderThan(API_VERSION)\n ) {\n // eslint-disable-next-line deprecation/deprecation\n const client = parent.getClient();\n // eslint-disable-next-line deprecation/deprecation\n const scope = parent.getScope();\n // eslint-disable-next-line deprecation/deprecation\n const isolationScope = parent.getIsolationScope();\n // eslint-disable-next-line deprecation/deprecation\n setHubOnCarrier(carrier, new Hub(client, scope.clone(), isolationScope.clone()));\n }\n}\n\n/**\n * @private Private API with no semver guarantees!\n *\n * Sets the global async context strategy\n */\nfunction setAsyncContextStrategy(strategy) {\n // Get main carrier (global for every environment)\n const registry = getMainCarrier();\n registry.__SENTRY__ = registry.__SENTRY__ || {};\n registry.__SENTRY__.acs = strategy;\n}\n\n/**\n * Runs the supplied callback in its own async context. Async Context strategies are defined per SDK.\n *\n * @param callback The callback to run in its own async context\n * @param options Options to pass to the async context strategy\n * @returns The result of the callback\n */\nfunction runWithAsyncContext(callback, options = {}) {\n const registry = getMainCarrier();\n\n if (registry.__SENTRY__ && registry.__SENTRY__.acs) {\n return registry.__SENTRY__.acs.runWithAsyncContext(callback, options);\n }\n\n // if there was no strategy, fallback to just calling the callback\n return callback();\n}\n\n/**\n * This will tell whether a carrier has a hub on it or not\n * @param carrier object\n */\nfunction hasHubOnCarrier(carrier) {\n return !!(carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub);\n}\n\n/**\n * This will create a new {@link Hub} and add to the passed object on\n * __SENTRY__.hub.\n * @param carrier object\n * @hidden\n */\nfunction getHubFromCarrier(carrier) {\n // eslint-disable-next-line deprecation/deprecation\n return getGlobalSingleton('hub', () => new Hub(), carrier);\n}\n\n/**\n * This will set passed {@link Hub} on the passed object's __SENTRY__.hub attribute\n * @param carrier object\n * @param hub Hub\n * @returns A boolean indicating success or failure\n */\nfunction setHubOnCarrier(carrier, hub) {\n if (!carrier) return false;\n const __SENTRY__ = (carrier.__SENTRY__ = carrier.__SENTRY__ || {});\n __SENTRY__.hub = hub;\n return true;\n}\n\nexport { API_VERSION, Hub, ensureHubOnCarrier, getCurrentHub, getHubFromCarrier, getIsolationScope, getMainCarrier, makeMain, runWithAsyncContext, setAsyncContextStrategy, setHubOnCarrier };\n//# sourceMappingURL=hub.js.map\n","import { isPlainObject, dateTimestampInSeconds, uuid4, logger } from '@sentry/utils';\nimport { getGlobalEventProcessors, notifyEventProcessors } from './eventProcessors.js';\nimport { updateSession } from './session.js';\nimport { applyScopeDataToEvent } from './utils/applyScopeDataToEvent.js';\n\n/**\n * Default value for maximum number of breadcrumbs added to an event.\n */\nconst DEFAULT_MAX_BREADCRUMBS = 100;\n\n/**\n * The global scope is kept in this module.\n * When accessing this via `getGlobalScope()` we'll make sure to set one if none is currently present.\n */\nlet globalScope;\n\n/**\n * Holds additional event information. {@link Scope.applyToEvent} will be\n * called by the client before an event will be sent.\n */\nclass Scope {\n /** Flag if notifying is happening. */\n\n /** Callback for client to receive scope changes. */\n\n /** Callback list that will be called after {@link applyToEvent}. */\n\n /** Array of breadcrumbs. */\n\n /** User */\n\n /** Tags */\n\n /** Extra */\n\n /** Contexts */\n\n /** Attachments */\n\n /** Propagation Context for distributed tracing */\n\n /**\n * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get\n * sent to Sentry\n */\n\n /** Fingerprint */\n\n /** Severity */\n // eslint-disable-next-line deprecation/deprecation\n\n /**\n * Transaction Name\n */\n\n /** Span */\n\n /** Session */\n\n /** Request Mode Session Status */\n\n /** The client on this scope */\n\n // NOTE: Any field which gets added here should get added not only to the constructor but also to the `clone` method.\n\n constructor() {\n this._notifyingListeners = false;\n this._scopeListeners = [];\n this._eventProcessors = [];\n this._breadcrumbs = [];\n this._attachments = [];\n this._user = {};\n this._tags = {};\n this._extra = {};\n this._contexts = {};\n this._sdkProcessingMetadata = {};\n this._propagationContext = generatePropagationContext();\n }\n\n /**\n * Inherit values from the parent scope.\n * @deprecated Use `scope.clone()` and `new Scope()` instead.\n */\n static clone(scope) {\n return scope ? scope.clone() : new Scope();\n }\n\n /**\n * Clone this scope instance.\n */\n clone() {\n const newScope = new Scope();\n newScope._breadcrumbs = [...this._breadcrumbs];\n newScope._tags = { ...this._tags };\n newScope._extra = { ...this._extra };\n newScope._contexts = { ...this._contexts };\n newScope._user = this._user;\n newScope._level = this._level;\n newScope._span = this._span;\n newScope._session = this._session;\n newScope._transactionName = this._transactionName;\n newScope._fingerprint = this._fingerprint;\n newScope._eventProcessors = [...this._eventProcessors];\n newScope._requestSession = this._requestSession;\n newScope._attachments = [...this._attachments];\n newScope._sdkProcessingMetadata = { ...this._sdkProcessingMetadata };\n newScope._propagationContext = { ...this._propagationContext };\n newScope._client = this._client;\n\n return newScope;\n }\n\n /** Update the client on the scope. */\n setClient(client) {\n this._client = client;\n }\n\n /**\n * Get the client assigned to this scope.\n *\n * It is generally recommended to use the global function `Sentry.getClient()` instead, unless you know what you are doing.\n */\n getClient() {\n return this._client;\n }\n\n /**\n * Add internal on change listener. Used for sub SDKs that need to store the scope.\n * @hidden\n */\n addScopeListener(callback) {\n this._scopeListeners.push(callback);\n }\n\n /**\n * @inheritDoc\n */\n addEventProcessor(callback) {\n this._eventProcessors.push(callback);\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setUser(user) {\n // If null is passed we want to unset everything, but still define keys,\n // so that later down in the pipeline any existing values are cleared.\n this._user = user || {\n email: undefined,\n id: undefined,\n ip_address: undefined,\n segment: undefined,\n username: undefined,\n };\n\n if (this._session) {\n updateSession(this._session, { user });\n }\n\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n getUser() {\n return this._user;\n }\n\n /**\n * @inheritDoc\n */\n getRequestSession() {\n return this._requestSession;\n }\n\n /**\n * @inheritDoc\n */\n setRequestSession(requestSession) {\n this._requestSession = requestSession;\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setTags(tags) {\n this._tags = {\n ...this._tags,\n ...tags,\n };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setTag(key, value) {\n this._tags = { ...this._tags, [key]: value };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setExtras(extras) {\n this._extra = {\n ...this._extra,\n ...extras,\n };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setExtra(key, extra) {\n this._extra = { ...this._extra, [key]: extra };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setFingerprint(fingerprint) {\n this._fingerprint = fingerprint;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setLevel(\n // eslint-disable-next-line deprecation/deprecation\n level,\n ) {\n this._level = level;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * Sets the transaction name on the scope for future events.\n */\n setTransactionName(name) {\n this._transactionName = name;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setContext(key, context) {\n if (context === null) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._contexts[key];\n } else {\n this._contexts[key] = context;\n }\n\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * Sets the Span on the scope.\n * @param span Span\n * @deprecated Instead of setting a span on a scope, use `startSpan()`/`startSpanManual()` instead.\n */\n setSpan(span) {\n this._span = span;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * Returns the `Span` if there is one.\n * @deprecated Use `getActiveSpan()` instead.\n */\n getSpan() {\n return this._span;\n }\n\n /**\n * Returns the `Transaction` attached to the scope (if there is one).\n * @deprecated You should not rely on the transaction, but just use `startSpan()` APIs instead.\n */\n getTransaction() {\n // Often, this span (if it exists at all) will be a transaction, but it's not guaranteed to be. Regardless, it will\n // have a pointer to the currently-active transaction.\n const span = this._span;\n // Cannot replace with getRootSpan because getRootSpan returns a span, not a transaction\n // Also, this method will be removed anyway.\n // eslint-disable-next-line deprecation/deprecation\n return span && span.transaction;\n }\n\n /**\n * @inheritDoc\n */\n setSession(session) {\n if (!session) {\n delete this._session;\n } else {\n this._session = session;\n }\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n getSession() {\n return this._session;\n }\n\n /**\n * @inheritDoc\n */\n update(captureContext) {\n if (!captureContext) {\n return this;\n }\n\n const scopeToMerge = typeof captureContext === 'function' ? captureContext(this) : captureContext;\n\n if (scopeToMerge instanceof Scope) {\n const scopeData = scopeToMerge.getScopeData();\n\n this._tags = { ...this._tags, ...scopeData.tags };\n this._extra = { ...this._extra, ...scopeData.extra };\n this._contexts = { ...this._contexts, ...scopeData.contexts };\n if (scopeData.user && Object.keys(scopeData.user).length) {\n this._user = scopeData.user;\n }\n if (scopeData.level) {\n this._level = scopeData.level;\n }\n if (scopeData.fingerprint.length) {\n this._fingerprint = scopeData.fingerprint;\n }\n if (scopeToMerge.getRequestSession()) {\n this._requestSession = scopeToMerge.getRequestSession();\n }\n if (scopeData.propagationContext) {\n this._propagationContext = scopeData.propagationContext;\n }\n } else if (isPlainObject(scopeToMerge)) {\n const scopeContext = captureContext ;\n this._tags = { ...this._tags, ...scopeContext.tags };\n this._extra = { ...this._extra, ...scopeContext.extra };\n this._contexts = { ...this._contexts, ...scopeContext.contexts };\n if (scopeContext.user) {\n this._user = scopeContext.user;\n }\n if (scopeContext.level) {\n this._level = scopeContext.level;\n }\n if (scopeContext.fingerprint) {\n this._fingerprint = scopeContext.fingerprint;\n }\n if (scopeContext.requestSession) {\n this._requestSession = scopeContext.requestSession;\n }\n if (scopeContext.propagationContext) {\n this._propagationContext = scopeContext.propagationContext;\n }\n }\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n clear() {\n this._breadcrumbs = [];\n this._tags = {};\n this._extra = {};\n this._user = {};\n this._contexts = {};\n this._level = undefined;\n this._transactionName = undefined;\n this._fingerprint = undefined;\n this._requestSession = undefined;\n this._span = undefined;\n this._session = undefined;\n this._notifyScopeListeners();\n this._attachments = [];\n this._propagationContext = generatePropagationContext();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n addBreadcrumb(breadcrumb, maxBreadcrumbs) {\n const maxCrumbs = typeof maxBreadcrumbs === 'number' ? maxBreadcrumbs : DEFAULT_MAX_BREADCRUMBS;\n\n // No data has been changed, so don't notify scope listeners\n if (maxCrumbs <= 0) {\n return this;\n }\n\n const mergedBreadcrumb = {\n timestamp: dateTimestampInSeconds(),\n ...breadcrumb,\n };\n\n const breadcrumbs = this._breadcrumbs;\n breadcrumbs.push(mergedBreadcrumb);\n this._breadcrumbs = breadcrumbs.length > maxCrumbs ? breadcrumbs.slice(-maxCrumbs) : breadcrumbs;\n\n this._notifyScopeListeners();\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n getLastBreadcrumb() {\n return this._breadcrumbs[this._breadcrumbs.length - 1];\n }\n\n /**\n * @inheritDoc\n */\n clearBreadcrumbs() {\n this._breadcrumbs = [];\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n addAttachment(attachment) {\n this._attachments.push(attachment);\n return this;\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `getScopeData()` instead.\n */\n getAttachments() {\n const data = this.getScopeData();\n\n return data.attachments;\n }\n\n /**\n * @inheritDoc\n */\n clearAttachments() {\n this._attachments = [];\n return this;\n }\n\n /** @inheritDoc */\n getScopeData() {\n const {\n _breadcrumbs,\n _attachments,\n _contexts,\n _tags,\n _extra,\n _user,\n _level,\n _fingerprint,\n _eventProcessors,\n _propagationContext,\n _sdkProcessingMetadata,\n _transactionName,\n _span,\n } = this;\n\n return {\n breadcrumbs: _breadcrumbs,\n attachments: _attachments,\n contexts: _contexts,\n tags: _tags,\n extra: _extra,\n user: _user,\n level: _level,\n fingerprint: _fingerprint || [],\n eventProcessors: _eventProcessors,\n propagationContext: _propagationContext,\n sdkProcessingMetadata: _sdkProcessingMetadata,\n transactionName: _transactionName,\n span: _span,\n };\n }\n\n /**\n * Applies data from the scope to the event and runs all event processors on it.\n *\n * @param event Event\n * @param hint Object containing additional information about the original exception, for use by the event processors.\n * @hidden\n * @deprecated Use `applyScopeDataToEvent()` directly\n */\n applyToEvent(\n event,\n hint = {},\n additionalEventProcessors = [],\n ) {\n applyScopeDataToEvent(event, this.getScopeData());\n\n // TODO (v8): Update this order to be: Global > Client > Scope\n const eventProcessors = [\n ...additionalEventProcessors,\n // eslint-disable-next-line deprecation/deprecation\n ...getGlobalEventProcessors(),\n ...this._eventProcessors,\n ];\n\n return notifyEventProcessors(eventProcessors, event, hint);\n }\n\n /**\n * Add data which will be accessible during event processing but won't get sent to Sentry\n */\n setSDKProcessingMetadata(newData) {\n this._sdkProcessingMetadata = { ...this._sdkProcessingMetadata, ...newData };\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setPropagationContext(context) {\n this._propagationContext = context;\n return this;\n }\n\n /**\n * @inheritDoc\n */\n getPropagationContext() {\n return this._propagationContext;\n }\n\n /**\n * Capture an exception for this scope.\n *\n * @param exception The exception to capture.\n * @param hint Optinal additional data to attach to the Sentry event.\n * @returns the id of the captured Sentry event.\n */\n captureException(exception, hint) {\n const eventId = hint && hint.event_id ? hint.event_id : uuid4();\n\n if (!this._client) {\n logger.warn('No client configured on scope - will not capture exception!');\n return eventId;\n }\n\n const syntheticException = new Error('Sentry syntheticException');\n\n this._client.captureException(\n exception,\n {\n originalException: exception,\n syntheticException,\n ...hint,\n event_id: eventId,\n },\n this,\n );\n\n return eventId;\n }\n\n /**\n * Capture a message for this scope.\n *\n * @param message The message to capture.\n * @param level An optional severity level to report the message with.\n * @param hint Optional additional data to attach to the Sentry event.\n * @returns the id of the captured message.\n */\n captureMessage(message, level, hint) {\n const eventId = hint && hint.event_id ? hint.event_id : uuid4();\n\n if (!this._client) {\n logger.warn('No client configured on scope - will not capture message!');\n return eventId;\n }\n\n const syntheticException = new Error(message);\n\n this._client.captureMessage(\n message,\n level,\n {\n originalException: message,\n syntheticException,\n ...hint,\n event_id: eventId,\n },\n this,\n );\n\n return eventId;\n }\n\n /**\n * Captures a manually created event for this scope and sends it to Sentry.\n *\n * @param exception The event to capture.\n * @param hint Optional additional data to attach to the Sentry event.\n * @returns the id of the captured event.\n */\n captureEvent(event, hint) {\n const eventId = hint && hint.event_id ? hint.event_id : uuid4();\n\n if (!this._client) {\n logger.warn('No client configured on scope - will not capture event!');\n return eventId;\n }\n\n this._client.captureEvent(event, { ...hint, event_id: eventId }, this);\n\n return eventId;\n }\n\n /**\n * This will be called on every set call.\n */\n _notifyScopeListeners() {\n // We need this check for this._notifyingListeners to be able to work on scope during updates\n // If this check is not here we'll produce endless recursion when something is done with the scope\n // during the callback.\n if (!this._notifyingListeners) {\n this._notifyingListeners = true;\n this._scopeListeners.forEach(callback => {\n callback(this);\n });\n this._notifyingListeners = false;\n }\n }\n}\n\n/**\n * Get the global scope.\n * This scope is applied to _all_ events.\n */\nfunction getGlobalScope() {\n if (!globalScope) {\n globalScope = new Scope();\n }\n\n return globalScope;\n}\n\n/**\n * This is mainly needed for tests.\n * DO NOT USE this, as this is an internal API and subject to change.\n * @hidden\n */\nfunction setGlobalScope(scope) {\n globalScope = scope;\n}\n\nfunction generatePropagationContext() {\n return {\n traceId: uuid4(),\n spanId: uuid4().substring(16),\n };\n}\n\nexport { Scope, getGlobalScope, setGlobalScope };\n//# sourceMappingURL=scope.js.map\n","import { timestampInSeconds, uuid4, dropUndefinedKeys } from '@sentry/utils';\n\n/**\n * Creates a new `Session` object by setting certain default parameters. If optional @param context\n * is passed, the passed properties are applied to the session object.\n *\n * @param context (optional) additional properties to be applied to the returned session object\n *\n * @returns a new `Session` object\n */\nfunction makeSession(context) {\n // Both timestamp and started are in seconds since the UNIX epoch.\n const startingTime = timestampInSeconds();\n\n const session = {\n sid: uuid4(),\n init: true,\n timestamp: startingTime,\n started: startingTime,\n duration: 0,\n status: 'ok',\n errors: 0,\n ignoreDuration: false,\n toJSON: () => sessionToJSON(session),\n };\n\n if (context) {\n updateSession(session, context);\n }\n\n return session;\n}\n\n/**\n * Updates a session object with the properties passed in the context.\n *\n * Note that this function mutates the passed object and returns void.\n * (Had to do this instead of returning a new and updated session because closing and sending a session\n * makes an update to the session after it was passed to the sending logic.\n * @see BaseClient.captureSession )\n *\n * @param session the `Session` to update\n * @param context the `SessionContext` holding the properties that should be updated in @param session\n */\n// eslint-disable-next-line complexity\nfunction updateSession(session, context = {}) {\n if (context.user) {\n if (!session.ipAddress && context.user.ip_address) {\n session.ipAddress = context.user.ip_address;\n }\n\n if (!session.did && !context.did) {\n session.did = context.user.id || context.user.email || context.user.username;\n }\n }\n\n session.timestamp = context.timestamp || timestampInSeconds();\n\n if (context.abnormal_mechanism) {\n session.abnormal_mechanism = context.abnormal_mechanism;\n }\n\n if (context.ignoreDuration) {\n session.ignoreDuration = context.ignoreDuration;\n }\n if (context.sid) {\n // Good enough uuid validation. — Kamil\n session.sid = context.sid.length === 32 ? context.sid : uuid4();\n }\n if (context.init !== undefined) {\n session.init = context.init;\n }\n if (!session.did && context.did) {\n session.did = `${context.did}`;\n }\n if (typeof context.started === 'number') {\n session.started = context.started;\n }\n if (session.ignoreDuration) {\n session.duration = undefined;\n } else if (typeof context.duration === 'number') {\n session.duration = context.duration;\n } else {\n const duration = session.timestamp - session.started;\n session.duration = duration >= 0 ? duration : 0;\n }\n if (context.release) {\n session.release = context.release;\n }\n if (context.environment) {\n session.environment = context.environment;\n }\n if (!session.ipAddress && context.ipAddress) {\n session.ipAddress = context.ipAddress;\n }\n if (!session.userAgent && context.userAgent) {\n session.userAgent = context.userAgent;\n }\n if (typeof context.errors === 'number') {\n session.errors = context.errors;\n }\n if (context.status) {\n session.status = context.status;\n }\n}\n\n/**\n * Closes a session by setting its status and updating the session object with it.\n * Internally calls `updateSession` to update the passed session object.\n *\n * Note that this function mutates the passed session (@see updateSession for explanation).\n *\n * @param session the `Session` object to be closed\n * @param status the `SessionStatus` with which the session was closed. If you don't pass a status,\n * this function will keep the previously set status, unless it was `'ok'` in which case\n * it is changed to `'exited'`.\n */\nfunction closeSession(session, status) {\n let context = {};\n if (status) {\n context = { status };\n } else if (session.status === 'ok') {\n context = { status: 'exited' };\n }\n\n updateSession(session, context);\n}\n\n/**\n * Serializes a passed session object to a JSON object with a slightly different structure.\n * This is necessary because the Sentry backend requires a slightly different schema of a session\n * than the one the JS SDKs use internally.\n *\n * @param session the session to be converted\n *\n * @returns a JSON object of the passed session\n */\nfunction sessionToJSON(session) {\n return dropUndefinedKeys({\n sid: `${session.sid}`,\n init: session.init,\n // Make sure that sec is converted to ms for date constructor\n started: new Date(session.started * 1000).toISOString(),\n timestamp: new Date(session.timestamp * 1000).toISOString(),\n status: session.status,\n errors: session.errors,\n did: typeof session.did === 'number' || typeof session.did === 'string' ? `${session.did}` : undefined,\n duration: session.duration,\n abnormal_mechanism: session.abnormal_mechanism,\n attrs: {\n release: session.release,\n environment: session.environment,\n ip_address: session.ipAddress,\n user_agent: session.userAgent,\n },\n });\n}\n\nexport { closeSession, makeSession, updateSession };\n//# sourceMappingURL=session.js.map\n","import { dropUndefinedKeys } from '@sentry/utils';\nimport { DEFAULT_ENVIRONMENT } from '../constants.js';\nimport { getClient, getCurrentScope } from '../exports.js';\nimport { getRootSpan } from '../utils/getRootSpan.js';\nimport { spanToJSON, spanIsSampled } from '../utils/spanUtils.js';\n\n/**\n * Creates a dynamic sampling context from a client.\n *\n * Dispatches the `createDsc` lifecycle hook as a side effect.\n */\nfunction getDynamicSamplingContextFromClient(\n trace_id,\n client,\n scope,\n) {\n const options = client.getOptions();\n\n const { publicKey: public_key } = client.getDsn() || {};\n // TODO(v8): Remove segment from User\n // eslint-disable-next-line deprecation/deprecation\n const { segment: user_segment } = (scope && scope.getUser()) || {};\n\n const dsc = dropUndefinedKeys({\n environment: options.environment || DEFAULT_ENVIRONMENT,\n release: options.release,\n user_segment,\n public_key,\n trace_id,\n }) ;\n\n client.emit && client.emit('createDsc', dsc);\n\n return dsc;\n}\n\n/**\n * A Span with a frozen dynamic sampling context.\n */\n\n/**\n * Creates a dynamic sampling context from a span (and client and scope)\n *\n * @param span the span from which a few values like the root span name and sample rate are extracted.\n *\n * @returns a dynamic sampling context\n */\nfunction getDynamicSamplingContextFromSpan(span) {\n const client = getClient();\n if (!client) {\n return {};\n }\n\n // passing emit=false here to only emit later once the DSC is actually populated\n const dsc = getDynamicSamplingContextFromClient(spanToJSON(span).trace_id || '', client, getCurrentScope());\n\n // TODO (v8): Remove v7FrozenDsc as a Transaction will no longer have _frozenDynamicSamplingContext\n const txn = getRootSpan(span) ;\n if (!txn) {\n return dsc;\n }\n\n // TODO (v8): Remove v7FrozenDsc as a Transaction will no longer have _frozenDynamicSamplingContext\n // For now we need to avoid breaking users who directly created a txn with a DSC, where this field is still set.\n // @see Transaction class constructor\n const v7FrozenDsc = txn && txn._frozenDynamicSamplingContext;\n if (v7FrozenDsc) {\n return v7FrozenDsc;\n }\n\n // TODO (v8): Replace txn.metadata with txn.attributes[]\n // We can't do this yet because attributes aren't always set yet.\n // eslint-disable-next-line deprecation/deprecation\n const { sampleRate: maybeSampleRate, source } = txn.metadata;\n if (maybeSampleRate != null) {\n dsc.sample_rate = `${maybeSampleRate}`;\n }\n\n // We don't want to have a transaction name in the DSC if the source is \"url\" because URLs might contain PII\n const jsonSpan = spanToJSON(txn);\n\n // after JSON conversion, txn.name becomes jsonSpan.description\n if (source && source !== 'url') {\n dsc.transaction = jsonSpan.description;\n }\n\n dsc.sampled = String(spanIsSampled(txn));\n\n client.emit && client.emit('createDsc', dsc);\n\n return dsc;\n}\n\nexport { getDynamicSamplingContextFromClient, getDynamicSamplingContextFromSpan };\n//# sourceMappingURL=dynamicSamplingContext.js.map\n","import { dropUndefinedKeys, arrayify } from '@sentry/utils';\nimport { getDynamicSamplingContextFromSpan } from '../tracing/dynamicSamplingContext.js';\nimport { getRootSpan } from './getRootSpan.js';\nimport { spanToTraceContext, spanToJSON } from './spanUtils.js';\n\n/**\n * Applies data from the scope to the event and runs all event processors on it.\n */\nfunction applyScopeDataToEvent(event, data) {\n const { fingerprint, span, breadcrumbs, sdkProcessingMetadata } = data;\n\n // Apply general data\n applyDataToEvent(event, data);\n\n // We want to set the trace context for normal events only if there isn't already\n // a trace context on the event. There is a product feature in place where we link\n // errors with transaction and it relies on that.\n if (span) {\n applySpanToEvent(event, span);\n }\n\n applyFingerprintToEvent(event, fingerprint);\n applyBreadcrumbsToEvent(event, breadcrumbs);\n applySdkMetadataToEvent(event, sdkProcessingMetadata);\n}\n\n/** Merge data of two scopes together. */\nfunction mergeScopeData(data, mergeData) {\n const {\n extra,\n tags,\n user,\n contexts,\n level,\n sdkProcessingMetadata,\n breadcrumbs,\n fingerprint,\n eventProcessors,\n attachments,\n propagationContext,\n // eslint-disable-next-line deprecation/deprecation\n transactionName,\n span,\n } = mergeData;\n\n mergeAndOverwriteScopeData(data, 'extra', extra);\n mergeAndOverwriteScopeData(data, 'tags', tags);\n mergeAndOverwriteScopeData(data, 'user', user);\n mergeAndOverwriteScopeData(data, 'contexts', contexts);\n mergeAndOverwriteScopeData(data, 'sdkProcessingMetadata', sdkProcessingMetadata);\n\n if (level) {\n data.level = level;\n }\n\n if (transactionName) {\n // eslint-disable-next-line deprecation/deprecation\n data.transactionName = transactionName;\n }\n\n if (span) {\n data.span = span;\n }\n\n if (breadcrumbs.length) {\n data.breadcrumbs = [...data.breadcrumbs, ...breadcrumbs];\n }\n\n if (fingerprint.length) {\n data.fingerprint = [...data.fingerprint, ...fingerprint];\n }\n\n if (eventProcessors.length) {\n data.eventProcessors = [...data.eventProcessors, ...eventProcessors];\n }\n\n if (attachments.length) {\n data.attachments = [...data.attachments, ...attachments];\n }\n\n data.propagationContext = { ...data.propagationContext, ...propagationContext };\n}\n\n/**\n * Merges certain scope data. Undefined values will overwrite any existing values.\n * Exported only for tests.\n */\nfunction mergeAndOverwriteScopeData\n\n(data, prop, mergeVal) {\n if (mergeVal && Object.keys(mergeVal).length) {\n // Clone object\n data[prop] = { ...data[prop] };\n for (const key in mergeVal) {\n if (Object.prototype.hasOwnProperty.call(mergeVal, key)) {\n data[prop][key] = mergeVal[key];\n }\n }\n }\n}\n\nfunction applyDataToEvent(event, data) {\n const {\n extra,\n tags,\n user,\n contexts,\n level,\n // eslint-disable-next-line deprecation/deprecation\n transactionName,\n } = data;\n\n const cleanedExtra = dropUndefinedKeys(extra);\n if (cleanedExtra && Object.keys(cleanedExtra).length) {\n event.extra = { ...cleanedExtra, ...event.extra };\n }\n\n const cleanedTags = dropUndefinedKeys(tags);\n if (cleanedTags && Object.keys(cleanedTags).length) {\n event.tags = { ...cleanedTags, ...event.tags };\n }\n\n const cleanedUser = dropUndefinedKeys(user);\n if (cleanedUser && Object.keys(cleanedUser).length) {\n event.user = { ...cleanedUser, ...event.user };\n }\n\n const cleanedContexts = dropUndefinedKeys(contexts);\n if (cleanedContexts && Object.keys(cleanedContexts).length) {\n event.contexts = { ...cleanedContexts, ...event.contexts };\n }\n\n if (level) {\n event.level = level;\n }\n\n if (transactionName) {\n event.transaction = transactionName;\n }\n}\n\nfunction applyBreadcrumbsToEvent(event, breadcrumbs) {\n const mergedBreadcrumbs = [...(event.breadcrumbs || []), ...breadcrumbs];\n event.breadcrumbs = mergedBreadcrumbs.length ? mergedBreadcrumbs : undefined;\n}\n\nfunction applySdkMetadataToEvent(event, sdkProcessingMetadata) {\n event.sdkProcessingMetadata = {\n ...event.sdkProcessingMetadata,\n ...sdkProcessingMetadata,\n };\n}\n\nfunction applySpanToEvent(event, span) {\n event.contexts = { trace: spanToTraceContext(span), ...event.contexts };\n const rootSpan = getRootSpan(span);\n if (rootSpan) {\n event.sdkProcessingMetadata = {\n dynamicSamplingContext: getDynamicSamplingContextFromSpan(span),\n ...event.sdkProcessingMetadata,\n };\n const transactionName = spanToJSON(rootSpan).description;\n if (transactionName) {\n event.tags = { transaction: transactionName, ...event.tags };\n }\n }\n}\n\n/**\n * Applies fingerprint from the scope to the event if there's one,\n * uses message if there's one instead or get rid of empty fingerprint\n */\nfunction applyFingerprintToEvent(event, fingerprint) {\n // Make sure it's an array first and we actually have something in place\n event.fingerprint = event.fingerprint ? arrayify(event.fingerprint) : [];\n\n // If we have something on the scope, then merge it with event\n if (fingerprint) {\n event.fingerprint = event.fingerprint.concat(fingerprint);\n }\n\n // If we have no data at all, remove empty array default\n if (event.fingerprint && !event.fingerprint.length) {\n delete event.fingerprint;\n }\n}\n\nexport { applyScopeDataToEvent, mergeAndOverwriteScopeData, mergeScopeData };\n//# sourceMappingURL=applyScopeDataToEvent.js.map\n","/**\n * Returns the root span of a given span.\n *\n * As long as we use `Transaction`s internally, the returned root span\n * will be a `Transaction` but be aware that this might change in the future.\n *\n * If the given span has no root span or transaction, `undefined` is returned.\n */\nfunction getRootSpan(span) {\n // TODO (v8): Remove this check and just return span\n // eslint-disable-next-line deprecation/deprecation\n return span.transaction;\n}\n\nexport { getRootSpan };\n//# sourceMappingURL=getRootSpan.js.map\n","import { uuid4, dateTimestampInSeconds, addExceptionMechanism, truncate, GLOBAL_OBJ, normalize } from '@sentry/utils';\nimport { DEFAULT_ENVIRONMENT } from '../constants.js';\nimport { getGlobalEventProcessors, notifyEventProcessors } from '../eventProcessors.js';\nimport { getGlobalScope, Scope } from '../scope.js';\nimport { mergeScopeData, applyScopeDataToEvent } from './applyScopeDataToEvent.js';\nimport { spanToJSON } from './spanUtils.js';\n\n/**\n * This type makes sure that we get either a CaptureContext, OR an EventHint.\n * It does not allow mixing them, which could lead to unexpected outcomes, e.g. this is disallowed:\n * { user: { id: '123' }, mechanism: { handled: false } }\n */\n\n/**\n * Adds common information to events.\n *\n * The information includes release and environment from `options`,\n * breadcrumbs and context (extra, tags and user) from the scope.\n *\n * Information that is already present in the event is never overwritten. For\n * nested objects, such as the context, keys are merged.\n *\n * Note: This also triggers callbacks for `addGlobalEventProcessor`, but not `beforeSend`.\n *\n * @param event The original event.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A new event with more information.\n * @hidden\n */\nfunction prepareEvent(\n options,\n event,\n hint,\n scope,\n client,\n isolationScope,\n) {\n const { normalizeDepth = 3, normalizeMaxBreadth = 1000 } = options;\n const prepared = {\n ...event,\n event_id: event.event_id || hint.event_id || uuid4(),\n timestamp: event.timestamp || dateTimestampInSeconds(),\n };\n const integrations = hint.integrations || options.integrations.map(i => i.name);\n\n applyClientOptions(prepared, options);\n applyIntegrationsMetadata(prepared, integrations);\n\n // Only put debug IDs onto frames for error events.\n if (event.type === undefined) {\n applyDebugIds(prepared, options.stackParser);\n }\n\n // If we have scope given to us, use it as the base for further modifications.\n // This allows us to prevent unnecessary copying of data if `captureContext` is not provided.\n const finalScope = getFinalScope(scope, hint.captureContext);\n\n if (hint.mechanism) {\n addExceptionMechanism(prepared, hint.mechanism);\n }\n\n const clientEventProcessors = client && client.getEventProcessors ? client.getEventProcessors() : [];\n\n // This should be the last thing called, since we want that\n // {@link Hub.addEventProcessor} gets the finished prepared event.\n // Merge scope data together\n const data = getGlobalScope().getScopeData();\n\n if (isolationScope) {\n const isolationData = isolationScope.getScopeData();\n mergeScopeData(data, isolationData);\n }\n\n if (finalScope) {\n const finalScopeData = finalScope.getScopeData();\n mergeScopeData(data, finalScopeData);\n }\n\n const attachments = [...(hint.attachments || []), ...data.attachments];\n if (attachments.length) {\n hint.attachments = attachments;\n }\n\n applyScopeDataToEvent(prepared, data);\n\n // TODO (v8): Update this order to be: Global > Client > Scope\n const eventProcessors = [\n ...clientEventProcessors,\n // eslint-disable-next-line deprecation/deprecation\n ...getGlobalEventProcessors(),\n // Run scope event processors _after_ all other processors\n ...data.eventProcessors,\n ];\n\n const result = notifyEventProcessors(eventProcessors, prepared, hint);\n\n return result.then(evt => {\n if (evt) {\n // We apply the debug_meta field only after all event processors have ran, so that if any event processors modified\n // file names (e.g.the RewriteFrames integration) the filename -> debug ID relationship isn't destroyed.\n // This should not cause any PII issues, since we're only moving data that is already on the event and not adding\n // any new data\n applyDebugMeta(evt);\n }\n\n if (typeof normalizeDepth === 'number' && normalizeDepth > 0) {\n return normalizeEvent(evt, normalizeDepth, normalizeMaxBreadth);\n }\n return evt;\n });\n}\n\n/**\n * Enhances event using the client configuration.\n * It takes care of all \"static\" values like environment, release and `dist`,\n * as well as truncating overly long values.\n * @param event event instance to be enhanced\n */\nfunction applyClientOptions(event, options) {\n const { environment, release, dist, maxValueLength = 250 } = options;\n\n if (!('environment' in event)) {\n event.environment = 'environment' in options ? environment : DEFAULT_ENVIRONMENT;\n }\n\n if (event.release === undefined && release !== undefined) {\n event.release = release;\n }\n\n if (event.dist === undefined && dist !== undefined) {\n event.dist = dist;\n }\n\n if (event.message) {\n event.message = truncate(event.message, maxValueLength);\n }\n\n const exception = event.exception && event.exception.values && event.exception.values[0];\n if (exception && exception.value) {\n exception.value = truncate(exception.value, maxValueLength);\n }\n\n const request = event.request;\n if (request && request.url) {\n request.url = truncate(request.url, maxValueLength);\n }\n}\n\nconst debugIdStackParserCache = new WeakMap();\n\n/**\n * Puts debug IDs into the stack frames of an error event.\n */\nfunction applyDebugIds(event, stackParser) {\n const debugIdMap = GLOBAL_OBJ._sentryDebugIds;\n\n if (!debugIdMap) {\n return;\n }\n\n let debugIdStackFramesCache;\n const cachedDebugIdStackFrameCache = debugIdStackParserCache.get(stackParser);\n if (cachedDebugIdStackFrameCache) {\n debugIdStackFramesCache = cachedDebugIdStackFrameCache;\n } else {\n debugIdStackFramesCache = new Map();\n debugIdStackParserCache.set(stackParser, debugIdStackFramesCache);\n }\n\n // Build a map of filename -> debug_id\n const filenameDebugIdMap = Object.keys(debugIdMap).reduce((acc, debugIdStackTrace) => {\n let parsedStack;\n const cachedParsedStack = debugIdStackFramesCache.get(debugIdStackTrace);\n if (cachedParsedStack) {\n parsedStack = cachedParsedStack;\n } else {\n parsedStack = stackParser(debugIdStackTrace);\n debugIdStackFramesCache.set(debugIdStackTrace, parsedStack);\n }\n\n for (let i = parsedStack.length - 1; i >= 0; i--) {\n const stackFrame = parsedStack[i];\n if (stackFrame.filename) {\n acc[stackFrame.filename] = debugIdMap[debugIdStackTrace];\n break;\n }\n }\n return acc;\n }, {});\n\n try {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n event.exception.values.forEach(exception => {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n exception.stacktrace.frames.forEach(frame => {\n if (frame.filename) {\n frame.debug_id = filenameDebugIdMap[frame.filename];\n }\n });\n });\n } catch (e) {\n // To save bundle size we're just try catching here instead of checking for the existence of all the different objects.\n }\n}\n\n/**\n * Moves debug IDs from the stack frames of an error event into the debug_meta field.\n */\nfunction applyDebugMeta(event) {\n // Extract debug IDs and filenames from the stack frames on the event.\n const filenameDebugIdMap = {};\n try {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n event.exception.values.forEach(exception => {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n exception.stacktrace.frames.forEach(frame => {\n if (frame.debug_id) {\n if (frame.abs_path) {\n filenameDebugIdMap[frame.abs_path] = frame.debug_id;\n } else if (frame.filename) {\n filenameDebugIdMap[frame.filename] = frame.debug_id;\n }\n delete frame.debug_id;\n }\n });\n });\n } catch (e) {\n // To save bundle size we're just try catching here instead of checking for the existence of all the different objects.\n }\n\n if (Object.keys(filenameDebugIdMap).length === 0) {\n return;\n }\n\n // Fill debug_meta information\n event.debug_meta = event.debug_meta || {};\n event.debug_meta.images = event.debug_meta.images || [];\n const images = event.debug_meta.images;\n Object.keys(filenameDebugIdMap).forEach(filename => {\n images.push({\n type: 'sourcemap',\n code_file: filename,\n debug_id: filenameDebugIdMap[filename],\n });\n });\n}\n\n/**\n * This function adds all used integrations to the SDK info in the event.\n * @param event The event that will be filled with all integrations.\n */\nfunction applyIntegrationsMetadata(event, integrationNames) {\n if (integrationNames.length > 0) {\n event.sdk = event.sdk || {};\n event.sdk.integrations = [...(event.sdk.integrations || []), ...integrationNames];\n }\n}\n\n/**\n * Applies `normalize` function on necessary `Event` attributes to make them safe for serialization.\n * Normalized keys:\n * - `breadcrumbs.data`\n * - `user`\n * - `contexts`\n * - `extra`\n * @param event Event\n * @returns Normalized event\n */\nfunction normalizeEvent(event, depth, maxBreadth) {\n if (!event) {\n return null;\n }\n\n const normalized = {\n ...event,\n ...(event.breadcrumbs && {\n breadcrumbs: event.breadcrumbs.map(b => ({\n ...b,\n ...(b.data && {\n data: normalize(b.data, depth, maxBreadth),\n }),\n })),\n }),\n ...(event.user && {\n user: normalize(event.user, depth, maxBreadth),\n }),\n ...(event.contexts && {\n contexts: normalize(event.contexts, depth, maxBreadth),\n }),\n ...(event.extra && {\n extra: normalize(event.extra, depth, maxBreadth),\n }),\n };\n\n // event.contexts.trace stores information about a Transaction. Similarly,\n // event.spans[] stores information about child Spans. Given that a\n // Transaction is conceptually a Span, normalization should apply to both\n // Transactions and Spans consistently.\n // For now the decision is to skip normalization of Transactions and Spans,\n // so this block overwrites the normalized event to add back the original\n // Transaction information prior to normalization.\n if (event.contexts && event.contexts.trace && normalized.contexts) {\n normalized.contexts.trace = event.contexts.trace;\n\n // event.contexts.trace.data may contain circular/dangerous data so we need to normalize it\n if (event.contexts.trace.data) {\n normalized.contexts.trace.data = normalize(event.contexts.trace.data, depth, maxBreadth);\n }\n }\n\n // event.spans[].data may contain circular/dangerous data so we need to normalize it\n if (event.spans) {\n normalized.spans = event.spans.map(span => {\n const data = spanToJSON(span).data;\n\n if (data) {\n // This is a bit weird, as we generally have `Span` instances here, but to be safe we do not assume so\n // eslint-disable-next-line deprecation/deprecation\n span.data = normalize(data, depth, maxBreadth);\n }\n\n return span;\n });\n }\n\n return normalized;\n}\n\nfunction getFinalScope(scope, captureContext) {\n if (!captureContext) {\n return scope;\n }\n\n const finalScope = scope ? scope.clone() : new Scope();\n finalScope.update(captureContext);\n return finalScope;\n}\n\n/**\n * Parse either an `EventHint` directly, or convert a `CaptureContext` to an `EventHint`.\n * This is used to allow to update method signatures that used to accept a `CaptureContext` but should now accept an `EventHint`.\n */\nfunction parseEventHintOrCaptureContext(\n hint,\n) {\n if (!hint) {\n return undefined;\n }\n\n // If you pass a Scope or `() => Scope` as CaptureContext, we just return this as captureContext\n if (hintIsScopeOrFunction(hint)) {\n return { captureContext: hint };\n }\n\n if (hintIsScopeContext(hint)) {\n return {\n captureContext: hint,\n };\n }\n\n return hint;\n}\n\nfunction hintIsScopeOrFunction(\n hint,\n) {\n return hint instanceof Scope || typeof hint === 'function';\n}\n\nconst captureContextKeys = [\n 'user',\n 'level',\n 'extra',\n 'contexts',\n 'tags',\n 'fingerprint',\n 'requestSession',\n 'propagationContext',\n] ;\n\nfunction hintIsScopeContext(hint) {\n return Object.keys(hint).some(key => captureContextKeys.includes(key ));\n}\n\nexport { applyDebugIds, applyDebugMeta, parseEventHintOrCaptureContext, prepareEvent };\n//# sourceMappingURL=prepareEvent.js.map\n","import { dropUndefinedKeys, generateSentryTraceHeader, timestampInSeconds } from '@sentry/utils';\n\n// These are aligned with OpenTelemetry trace flags\nconst TRACE_FLAG_NONE = 0x0;\nconst TRACE_FLAG_SAMPLED = 0x1;\n\n/**\n * Convert a span to a trace context, which can be sent as the `trace` context in an event.\n */\nfunction spanToTraceContext(span) {\n const { spanId: span_id, traceId: trace_id } = span.spanContext();\n const { data, op, parent_span_id, status, tags, origin } = spanToJSON(span);\n\n return dropUndefinedKeys({\n data,\n op,\n parent_span_id,\n span_id,\n status,\n tags,\n trace_id,\n origin,\n });\n}\n\n/**\n * Convert a Span to a Sentry trace header.\n */\nfunction spanToTraceHeader(span) {\n const { traceId, spanId } = span.spanContext();\n const sampled = spanIsSampled(span);\n return generateSentryTraceHeader(traceId, spanId, sampled);\n}\n\n/**\n * Convert a span time input intp a timestamp in seconds.\n */\nfunction spanTimeInputToSeconds(input) {\n if (typeof input === 'number') {\n return ensureTimestampInSeconds(input);\n }\n\n if (Array.isArray(input)) {\n // See {@link HrTime} for the array-based time format\n return input[0] + input[1] / 1e9;\n }\n\n if (input instanceof Date) {\n return ensureTimestampInSeconds(input.getTime());\n }\n\n return timestampInSeconds();\n}\n\n/**\n * Converts a timestamp to second, if it was in milliseconds, or keeps it as second.\n */\nfunction ensureTimestampInSeconds(timestamp) {\n const isMs = timestamp > 9999999999;\n return isMs ? timestamp / 1000 : timestamp;\n}\n\n/**\n * Convert a span to a JSON representation.\n * Note that all fields returned here are optional and need to be guarded against.\n *\n * Note: Because of this, we currently have a circular type dependency (which we opted out of in package.json).\n * This is not avoidable as we need `spanToJSON` in `spanUtils.ts`, which in turn is needed by `span.ts` for backwards compatibility.\n * And `spanToJSON` needs the Span class from `span.ts` to check here.\n * TODO v8: When we remove the deprecated stuff from `span.ts`, we can remove the circular dependency again.\n */\nfunction spanToJSON(span) {\n if (spanIsSpanClass(span)) {\n return span.getSpanJSON();\n }\n\n // Fallback: We also check for `.toJSON()` here...\n // eslint-disable-next-line deprecation/deprecation\n if (typeof span.toJSON === 'function') {\n // eslint-disable-next-line deprecation/deprecation\n return span.toJSON();\n }\n\n return {};\n}\n\n/**\n * Sadly, due to circular dependency checks we cannot actually import the Span class here and check for instanceof.\n * :( So instead we approximate this by checking if it has the `getSpanJSON` method.\n */\nfunction spanIsSpanClass(span) {\n return typeof (span ).getSpanJSON === 'function';\n}\n\n/**\n * Returns true if a span is sampled.\n * In most cases, you should just use `span.isRecording()` instead.\n * However, this has a slightly different semantic, as it also returns false if the span is finished.\n * So in the case where this distinction is important, use this method.\n */\nfunction spanIsSampled(span) {\n // We align our trace flags with the ones OpenTelemetry use\n // So we also check for sampled the same way they do.\n const { traceFlags } = span.spanContext();\n // eslint-disable-next-line no-bitwise\n return Boolean(traceFlags & TRACE_FLAG_SAMPLED);\n}\n\nexport { TRACE_FLAG_NONE, TRACE_FLAG_SAMPLED, spanIsSampled, spanTimeInputToSeconds, spanToJSON, spanToTraceContext, spanToTraceHeader };\n//# sourceMappingURL=spanUtils.js.map\n","const SDK_VERSION = '7.109.0';\n\nexport { SDK_VERSION };\n//# sourceMappingURL=version.js.map\n","import { DEBUG_BUILD } from './debug-build.js';\nimport { isString } from './is.js';\nimport { logger } from './logger.js';\n\nconst BAGGAGE_HEADER_NAME = 'baggage';\n\nconst SENTRY_BAGGAGE_KEY_PREFIX = 'sentry-';\n\nconst SENTRY_BAGGAGE_KEY_PREFIX_REGEX = /^sentry-/;\n\n/**\n * Max length of a serialized baggage string\n *\n * https://www.w3.org/TR/baggage/#limits\n */\nconst MAX_BAGGAGE_STRING_LENGTH = 8192;\n\n/**\n * Takes a baggage header and turns it into Dynamic Sampling Context, by extracting all the \"sentry-\" prefixed values\n * from it.\n *\n * @param baggageHeader A very bread definition of a baggage header as it might appear in various frameworks.\n * @returns The Dynamic Sampling Context that was found on `baggageHeader`, if there was any, `undefined` otherwise.\n */\nfunction baggageHeaderToDynamicSamplingContext(\n // Very liberal definition of what any incoming header might look like\n baggageHeader,\n) {\n if (!isString(baggageHeader) && !Array.isArray(baggageHeader)) {\n return undefined;\n }\n\n // Intermediary object to store baggage key value pairs of incoming baggage headers on.\n // It is later used to read Sentry-DSC-values from.\n let baggageObject = {};\n\n if (Array.isArray(baggageHeader)) {\n // Combine all baggage headers into one object containing the baggage values so we can later read the Sentry-DSC-values from it\n baggageObject = baggageHeader.reduce((acc, curr) => {\n const currBaggageObject = baggageHeaderToObject(curr);\n for (const key of Object.keys(currBaggageObject)) {\n acc[key] = currBaggageObject[key];\n }\n return acc;\n }, {});\n } else {\n // Return undefined if baggage header is an empty string (technically an empty baggage header is not spec conform but\n // this is how we choose to handle it)\n if (!baggageHeader) {\n return undefined;\n }\n\n baggageObject = baggageHeaderToObject(baggageHeader);\n }\n\n // Read all \"sentry-\" prefixed values out of the baggage object and put it onto a dynamic sampling context object.\n const dynamicSamplingContext = Object.entries(baggageObject).reduce((acc, [key, value]) => {\n if (key.match(SENTRY_BAGGAGE_KEY_PREFIX_REGEX)) {\n const nonPrefixedKey = key.slice(SENTRY_BAGGAGE_KEY_PREFIX.length);\n acc[nonPrefixedKey] = value;\n }\n return acc;\n }, {});\n\n // Only return a dynamic sampling context object if there are keys in it.\n // A keyless object means there were no sentry values on the header, which means that there is no DSC.\n if (Object.keys(dynamicSamplingContext).length > 0) {\n return dynamicSamplingContext ;\n } else {\n return undefined;\n }\n}\n\n/**\n * Turns a Dynamic Sampling Object into a baggage header by prefixing all the keys on the object with \"sentry-\".\n *\n * @param dynamicSamplingContext The Dynamic Sampling Context to turn into a header. For convenience and compatibility\n * with the `getDynamicSamplingContext` method on the Transaction class ,this argument can also be `undefined`. If it is\n * `undefined` the function will return `undefined`.\n * @returns a baggage header, created from `dynamicSamplingContext`, or `undefined` either if `dynamicSamplingContext`\n * was `undefined`, or if `dynamicSamplingContext` didn't contain any values.\n */\nfunction dynamicSamplingContextToSentryBaggageHeader(\n // this also takes undefined for convenience and bundle size in other places\n dynamicSamplingContext,\n) {\n if (!dynamicSamplingContext) {\n return undefined;\n }\n\n // Prefix all DSC keys with \"sentry-\" and put them into a new object\n const sentryPrefixedDSC = Object.entries(dynamicSamplingContext).reduce(\n (acc, [dscKey, dscValue]) => {\n if (dscValue) {\n acc[`${SENTRY_BAGGAGE_KEY_PREFIX}${dscKey}`] = dscValue;\n }\n return acc;\n },\n {},\n );\n\n return objectToBaggageHeader(sentryPrefixedDSC);\n}\n\n/**\n * Will parse a baggage header, which is a simple key-value map, into a flat object.\n *\n * @param baggageHeader The baggage header to parse.\n * @returns a flat object containing all the key-value pairs from `baggageHeader`.\n */\nfunction baggageHeaderToObject(baggageHeader) {\n return baggageHeader\n .split(',')\n .map(baggageEntry => baggageEntry.split('=').map(keyOrValue => decodeURIComponent(keyOrValue.trim())))\n .reduce((acc, [key, value]) => {\n acc[key] = value;\n return acc;\n }, {});\n}\n\n/**\n * Turns a flat object (key-value pairs) into a baggage header, which is also just key-value pairs.\n *\n * @param object The object to turn into a baggage header.\n * @returns a baggage header string, or `undefined` if the object didn't have any values, since an empty baggage header\n * is not spec compliant.\n */\nfunction objectToBaggageHeader(object) {\n if (Object.keys(object).length === 0) {\n // An empty baggage header is not spec compliant: We return undefined.\n return undefined;\n }\n\n return Object.entries(object).reduce((baggageHeader, [objectKey, objectValue], currentIndex) => {\n const baggageEntry = `${encodeURIComponent(objectKey)}=${encodeURIComponent(objectValue)}`;\n const newBaggageHeader = currentIndex === 0 ? baggageEntry : `${baggageHeader},${baggageEntry}`;\n if (newBaggageHeader.length > MAX_BAGGAGE_STRING_LENGTH) {\n DEBUG_BUILD &&\n logger.warn(\n `Not adding key: ${objectKey} with val: ${objectValue} to baggage header due to exceeding baggage size limits.`,\n );\n return baggageHeader;\n } else {\n return newBaggageHeader;\n }\n }, '');\n}\n\nexport { BAGGAGE_HEADER_NAME, MAX_BAGGAGE_STRING_LENGTH, SENTRY_BAGGAGE_KEY_PREFIX, SENTRY_BAGGAGE_KEY_PREFIX_REGEX, baggageHeaderToDynamicSamplingContext, dynamicSamplingContextToSentryBaggageHeader };\n//# sourceMappingURL=baggage.js.map\n","import { isString } from './is.js';\nimport { getGlobalObject } from './worldwide.js';\n\n// eslint-disable-next-line deprecation/deprecation\nconst WINDOW = getGlobalObject();\n\nconst DEFAULT_MAX_STRING_LENGTH = 80;\n\n/**\n * Given a child DOM element, returns a query-selector statement describing that\n * and its ancestors\n * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]\n * @returns generated DOM path\n */\nfunction htmlTreeAsString(\n elem,\n options = {},\n) {\n if (!elem) {\n return '';\n }\n\n // try/catch both:\n // - accessing event.target (see getsentry/raven-js#838, #768)\n // - `htmlTreeAsString` because it's complex, and just accessing the DOM incorrectly\n // - can throw an exception in some circumstances.\n try {\n let currentElem = elem ;\n const MAX_TRAVERSE_HEIGHT = 5;\n const out = [];\n let height = 0;\n let len = 0;\n const separator = ' > ';\n const sepLength = separator.length;\n let nextStr;\n const keyAttrs = Array.isArray(options) ? options : options.keyAttrs;\n const maxStringLength = (!Array.isArray(options) && options.maxStringLength) || DEFAULT_MAX_STRING_LENGTH;\n\n while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) {\n nextStr = _htmlElementAsString(currentElem, keyAttrs);\n // bail out if\n // - nextStr is the 'html' element\n // - the length of the string that would be created exceeds maxStringLength\n // (ignore this limit if we are on the first iteration)\n if (nextStr === 'html' || (height > 1 && len + out.length * sepLength + nextStr.length >= maxStringLength)) {\n break;\n }\n\n out.push(nextStr);\n\n len += nextStr.length;\n currentElem = currentElem.parentNode;\n }\n\n return out.reverse().join(separator);\n } catch (_oO) {\n return '';\n }\n}\n\n/**\n * Returns a simple, query-selector representation of a DOM element\n * e.g. [HTMLElement] => input#foo.btn[name=baz]\n * @returns generated DOM path\n */\nfunction _htmlElementAsString(el, keyAttrs) {\n const elem = el\n\n;\n\n const out = [];\n let className;\n let classes;\n let key;\n let attr;\n let i;\n\n if (!elem || !elem.tagName) {\n return '';\n }\n\n // @ts-expect-error WINDOW has HTMLElement\n if (WINDOW.HTMLElement) {\n // If using the component name annotation plugin, this value may be available on the DOM node\n if (elem instanceof HTMLElement && elem.dataset && elem.dataset['sentryComponent']) {\n return elem.dataset['sentryComponent'];\n }\n }\n\n out.push(elem.tagName.toLowerCase());\n\n // Pairs of attribute keys defined in `serializeAttribute` and their values on element.\n const keyAttrPairs =\n keyAttrs && keyAttrs.length\n ? keyAttrs.filter(keyAttr => elem.getAttribute(keyAttr)).map(keyAttr => [keyAttr, elem.getAttribute(keyAttr)])\n : null;\n\n if (keyAttrPairs && keyAttrPairs.length) {\n keyAttrPairs.forEach(keyAttrPair => {\n out.push(`[${keyAttrPair[0]}=\"${keyAttrPair[1]}\"]`);\n });\n } else {\n if (elem.id) {\n out.push(`#${elem.id}`);\n }\n\n // eslint-disable-next-line prefer-const\n className = elem.className;\n if (className && isString(className)) {\n classes = className.split(/\\s+/);\n for (i = 0; i < classes.length; i++) {\n out.push(`.${classes[i]}`);\n }\n }\n }\n const allowedAttrs = ['aria-label', 'type', 'name', 'title', 'alt'];\n for (i = 0; i < allowedAttrs.length; i++) {\n key = allowedAttrs[i];\n attr = elem.getAttribute(key);\n if (attr) {\n out.push(`[${key}=\"${attr}\"]`);\n }\n }\n return out.join('');\n}\n\n/**\n * A safe form of location.href\n */\nfunction getLocationHref() {\n try {\n return WINDOW.document.location.href;\n } catch (oO) {\n return '';\n }\n}\n\n/**\n * Gets a DOM element by using document.querySelector.\n *\n * This wrapper will first check for the existance of the function before\n * actually calling it so that we don't have to take care of this check,\n * every time we want to access the DOM.\n *\n * Reason: DOM/querySelector is not available in all environments.\n *\n * We have to cast to any because utils can be consumed by a variety of environments,\n * and we don't want to break TS users. If you know what element will be selected by\n * `document.querySelector`, specify it as part of the generic call. For example,\n * `const element = getDomElement('selector');`\n *\n * @param selector the selector string passed on to document.querySelector\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction getDomElement(selector) {\n if (WINDOW.document && WINDOW.document.querySelector) {\n return WINDOW.document.querySelector(selector) ;\n }\n return null;\n}\n\n/**\n * Given a DOM element, traverses up the tree until it finds the first ancestor node\n * that has the `data-sentry-component` attribute. This attribute is added at build-time\n * by projects that have the component name annotation plugin installed.\n *\n * @returns a string representation of the component for the provided DOM element, or `null` if not found\n */\nfunction getComponentName(elem) {\n // @ts-expect-error WINDOW has HTMLElement\n if (!WINDOW.HTMLElement) {\n return null;\n }\n\n let currentElem = elem ;\n const MAX_TRAVERSE_HEIGHT = 5;\n for (let i = 0; i < MAX_TRAVERSE_HEIGHT; i++) {\n if (!currentElem) {\n return null;\n }\n\n if (currentElem instanceof HTMLElement && currentElem.dataset['sentryComponent']) {\n return currentElem.dataset['sentryComponent'];\n }\n\n currentElem = currentElem.parentNode;\n }\n\n return null;\n}\n\nexport { getComponentName, getDomElement, getLocationHref, htmlTreeAsString };\n//# sourceMappingURL=browser.js.map\n","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nconst DEBUG_BUILD = (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__);\n\nexport { DEBUG_BUILD };\n//# sourceMappingURL=debug-build.js.map\n","// eslint-disable-next-line @typescript-eslint/unbound-method\nconst objectToString = Object.prototype.toString;\n\n/**\n * Checks whether given value's type is one of a few Error or Error-like\n * {@link isError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isError(wat) {\n switch (objectToString.call(wat)) {\n case '[object Error]':\n case '[object Exception]':\n case '[object DOMException]':\n return true;\n default:\n return isInstanceOf(wat, Error);\n }\n}\n/**\n * Checks whether given value is an instance of the given built-in class.\n *\n * @param wat The value to be checked\n * @param className\n * @returns A boolean representing the result.\n */\nfunction isBuiltin(wat, className) {\n return objectToString.call(wat) === `[object ${className}]`;\n}\n\n/**\n * Checks whether given value's type is ErrorEvent\n * {@link isErrorEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isErrorEvent(wat) {\n return isBuiltin(wat, 'ErrorEvent');\n}\n\n/**\n * Checks whether given value's type is DOMError\n * {@link isDOMError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isDOMError(wat) {\n return isBuiltin(wat, 'DOMError');\n}\n\n/**\n * Checks whether given value's type is DOMException\n * {@link isDOMException}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isDOMException(wat) {\n return isBuiltin(wat, 'DOMException');\n}\n\n/**\n * Checks whether given value's type is a string\n * {@link isString}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isString(wat) {\n return isBuiltin(wat, 'String');\n}\n\n/**\n * Checks whether given string is parameterized\n * {@link isParameterizedString}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isParameterizedString(wat) {\n return (\n typeof wat === 'object' &&\n wat !== null &&\n '__sentry_template_string__' in wat &&\n '__sentry_template_values__' in wat\n );\n}\n\n/**\n * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol)\n * {@link isPrimitive}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isPrimitive(wat) {\n return wat === null || isParameterizedString(wat) || (typeof wat !== 'object' && typeof wat !== 'function');\n}\n\n/**\n * Checks whether given value's type is an object literal, or a class instance.\n * {@link isPlainObject}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isPlainObject(wat) {\n return isBuiltin(wat, 'Object');\n}\n\n/**\n * Checks whether given value's type is an Event instance\n * {@link isEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isEvent(wat) {\n return typeof Event !== 'undefined' && isInstanceOf(wat, Event);\n}\n\n/**\n * Checks whether given value's type is an Element instance\n * {@link isElement}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isElement(wat) {\n return typeof Element !== 'undefined' && isInstanceOf(wat, Element);\n}\n\n/**\n * Checks whether given value's type is an regexp\n * {@link isRegExp}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isRegExp(wat) {\n return isBuiltin(wat, 'RegExp');\n}\n\n/**\n * Checks whether given value has a then function.\n * @param wat A value to be checked.\n */\nfunction isThenable(wat) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return Boolean(wat && wat.then && typeof wat.then === 'function');\n}\n\n/**\n * Checks whether given value's type is a SyntheticEvent\n * {@link isSyntheticEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isSyntheticEvent(wat) {\n return isPlainObject(wat) && 'nativeEvent' in wat && 'preventDefault' in wat && 'stopPropagation' in wat;\n}\n\n/**\n * Checks whether given value is NaN\n * {@link isNaN}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isNaN(wat) {\n return typeof wat === 'number' && wat !== wat;\n}\n\n/**\n * Checks whether given value's type is an instance of provided constructor.\n * {@link isInstanceOf}.\n *\n * @param wat A value to be checked.\n * @param base A constructor to be used in a check.\n * @returns A boolean representing the result.\n */\nfunction isInstanceOf(wat, base) {\n try {\n return wat instanceof base;\n } catch (_e) {\n return false;\n }\n}\n\n/**\n * Checks whether given value's type is a Vue ViewModel.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isVueViewModel(wat) {\n // Not using Object.prototype.toString because in Vue 3 it would read the instance's Symbol(Symbol.toStringTag) property.\n return !!(typeof wat === 'object' && wat !== null && ((wat ).__isVue || (wat )._isVue));\n}\n\nexport { isDOMError, isDOMException, isElement, isError, isErrorEvent, isEvent, isInstanceOf, isNaN, isParameterizedString, isPlainObject, isPrimitive, isRegExp, isString, isSyntheticEvent, isThenable, isVueViewModel };\n//# sourceMappingURL=is.js.map\n","import { DEBUG_BUILD } from './debug-build.js';\nimport { GLOBAL_OBJ } from './worldwide.js';\n\n/** Prefix for logging strings */\nconst PREFIX = 'Sentry Logger ';\n\nconst CONSOLE_LEVELS = [\n 'debug',\n 'info',\n 'warn',\n 'error',\n 'log',\n 'assert',\n 'trace',\n] ;\n\n/** This may be mutated by the console instrumentation. */\nconst originalConsoleMethods\n\n = {};\n\n/** JSDoc */\n\n/**\n * Temporarily disable sentry console instrumentations.\n *\n * @param callback The function to run against the original `console` messages\n * @returns The results of the callback\n */\nfunction consoleSandbox(callback) {\n if (!('console' in GLOBAL_OBJ)) {\n return callback();\n }\n\n const console = GLOBAL_OBJ.console ;\n const wrappedFuncs = {};\n\n const wrappedLevels = Object.keys(originalConsoleMethods) ;\n\n // Restore all wrapped console methods\n wrappedLevels.forEach(level => {\n const originalConsoleMethod = originalConsoleMethods[level] ;\n wrappedFuncs[level] = console[level] ;\n console[level] = originalConsoleMethod;\n });\n\n try {\n return callback();\n } finally {\n // Revert restoration to wrapped state\n wrappedLevels.forEach(level => {\n console[level] = wrappedFuncs[level] ;\n });\n }\n}\n\nfunction makeLogger() {\n let enabled = false;\n const logger = {\n enable: () => {\n enabled = true;\n },\n disable: () => {\n enabled = false;\n },\n isEnabled: () => enabled,\n };\n\n if (DEBUG_BUILD) {\n CONSOLE_LEVELS.forEach(name => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n logger[name] = (...args) => {\n if (enabled) {\n consoleSandbox(() => {\n GLOBAL_OBJ.console[name](`${PREFIX}[${name}]:`, ...args);\n });\n }\n };\n });\n } else {\n CONSOLE_LEVELS.forEach(name => {\n logger[name] = () => undefined;\n });\n }\n\n return logger ;\n}\n\nconst logger = makeLogger();\n\nexport { CONSOLE_LEVELS, consoleSandbox, logger, originalConsoleMethods };\n//# sourceMappingURL=logger.js.map\n","import { addNonEnumerableProperty } from './object.js';\nimport { snipLine } from './string.js';\nimport { GLOBAL_OBJ } from './worldwide.js';\n\n/**\n * UUID4 generator\n *\n * @returns string Generated UUID4.\n */\nfunction uuid4() {\n const gbl = GLOBAL_OBJ ;\n const crypto = gbl.crypto || gbl.msCrypto;\n\n let getRandomByte = () => Math.random() * 16;\n try {\n if (crypto && crypto.randomUUID) {\n return crypto.randomUUID().replace(/-/g, '');\n }\n if (crypto && crypto.getRandomValues) {\n getRandomByte = () => {\n // crypto.getRandomValues might return undefined instead of the typed array\n // in old Chromium versions (e.g. 23.0.1235.0 (151422))\n // However, `typedArray` is still filled in-place.\n // @see https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues#typedarray\n const typedArray = new Uint8Array(1);\n crypto.getRandomValues(typedArray);\n return typedArray[0];\n };\n }\n } catch (_) {\n // some runtimes can crash invoking crypto\n // https://github.com/getsentry/sentry-javascript/issues/8935\n }\n\n // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523\n // Concatenating the following numbers as strings results in '10000000100040008000100000000000'\n return (([1e7] ) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, c =>\n // eslint-disable-next-line no-bitwise\n ((c ) ^ ((getRandomByte() & 15) >> ((c ) / 4))).toString(16),\n );\n}\n\nfunction getFirstException(event) {\n return event.exception && event.exception.values ? event.exception.values[0] : undefined;\n}\n\n/**\n * Extracts either message or type+value from an event that can be used for user-facing logs\n * @returns event's description\n */\nfunction getEventDescription(event) {\n const { message, event_id: eventId } = event;\n if (message) {\n return message;\n }\n\n const firstException = getFirstException(event);\n if (firstException) {\n if (firstException.type && firstException.value) {\n return `${firstException.type}: ${firstException.value}`;\n }\n return firstException.type || firstException.value || eventId || '';\n }\n return eventId || '';\n}\n\n/**\n * Adds exception values, type and value to an synthetic Exception.\n * @param event The event to modify.\n * @param value Value of the exception.\n * @param type Type of the exception.\n * @hidden\n */\nfunction addExceptionTypeValue(event, value, type) {\n const exception = (event.exception = event.exception || {});\n const values = (exception.values = exception.values || []);\n const firstException = (values[0] = values[0] || {});\n if (!firstException.value) {\n firstException.value = value || '';\n }\n if (!firstException.type) {\n firstException.type = type || 'Error';\n }\n}\n\n/**\n * Adds exception mechanism data to a given event. Uses defaults if the second parameter is not passed.\n *\n * @param event The event to modify.\n * @param newMechanism Mechanism data to add to the event.\n * @hidden\n */\nfunction addExceptionMechanism(event, newMechanism) {\n const firstException = getFirstException(event);\n if (!firstException) {\n return;\n }\n\n const defaultMechanism = { type: 'generic', handled: true };\n const currentMechanism = firstException.mechanism;\n firstException.mechanism = { ...defaultMechanism, ...currentMechanism, ...newMechanism };\n\n if (newMechanism && 'data' in newMechanism) {\n const mergedData = { ...(currentMechanism && currentMechanism.data), ...newMechanism.data };\n firstException.mechanism.data = mergedData;\n }\n}\n\n// https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string\nconst SEMVER_REGEXP =\n /^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$/;\n\n/**\n * Represents Semantic Versioning object\n */\n\n/**\n * Parses input into a SemVer interface\n * @param input string representation of a semver version\n */\nfunction parseSemver(input) {\n const match = input.match(SEMVER_REGEXP) || [];\n const major = parseInt(match[1], 10);\n const minor = parseInt(match[2], 10);\n const patch = parseInt(match[3], 10);\n return {\n buildmetadata: match[5],\n major: isNaN(major) ? undefined : major,\n minor: isNaN(minor) ? undefined : minor,\n patch: isNaN(patch) ? undefined : patch,\n prerelease: match[4],\n };\n}\n\n/**\n * This function adds context (pre/post/line) lines to the provided frame\n *\n * @param lines string[] containing all lines\n * @param frame StackFrame that will be mutated\n * @param linesOfContext number of context lines we want to add pre/post\n */\nfunction addContextToFrame(lines, frame, linesOfContext = 5) {\n // When there is no line number in the frame, attaching context is nonsensical and will even break grouping\n if (frame.lineno === undefined) {\n return;\n }\n\n const maxLines = lines.length;\n const sourceLine = Math.max(Math.min(maxLines - 1, frame.lineno - 1), 0);\n\n frame.pre_context = lines\n .slice(Math.max(0, sourceLine - linesOfContext), sourceLine)\n .map((line) => snipLine(line, 0));\n\n frame.context_line = snipLine(lines[Math.min(maxLines - 1, sourceLine)], frame.colno || 0);\n\n frame.post_context = lines\n .slice(Math.min(sourceLine + 1, maxLines), sourceLine + 1 + linesOfContext)\n .map((line) => snipLine(line, 0));\n}\n\n/**\n * Checks whether or not we've already captured the given exception (note: not an identical exception - the very object\n * in question), and marks it captured if not.\n *\n * This is useful because it's possible for an error to get captured by more than one mechanism. After we intercept and\n * record an error, we rethrow it (assuming we've intercepted it before it's reached the top-level global handlers), so\n * that we don't interfere with whatever effects the error might have had were the SDK not there. At that point, because\n * the error has been rethrown, it's possible for it to bubble up to some other code we've instrumented. If it's not\n * caught after that, it will bubble all the way up to the global handlers (which of course we also instrument). This\n * function helps us ensure that even if we encounter the same error more than once, we only record it the first time we\n * see it.\n *\n * Note: It will ignore primitives (always return `false` and not mark them as seen), as properties can't be set on\n * them. {@link: Object.objectify} can be used on exceptions to convert any that are primitives into their equivalent\n * object wrapper forms so that this check will always work. However, because we need to flag the exact object which\n * will get rethrown, and because that rethrowing happens outside of the event processing pipeline, the objectification\n * must be done before the exception captured.\n *\n * @param A thrown exception to check or flag as having been seen\n * @returns `true` if the exception has already been captured, `false` if not (with the side effect of marking it seen)\n */\nfunction checkOrSetAlreadyCaught(exception) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (exception && (exception ).__sentry_captured__) {\n return true;\n }\n\n try {\n // set it this way rather than by assignment so that it's not ennumerable and therefore isn't recorded by the\n // `ExtraErrorData` integration\n addNonEnumerableProperty(exception , '__sentry_captured__', true);\n } catch (err) {\n // `exception` is a primitive, so we can't mark it seen\n }\n\n return false;\n}\n\n/**\n * Checks whether the given input is already an array, and if it isn't, wraps it in one.\n *\n * @param maybeArray Input to turn into an array, if necessary\n * @returns The input, if already an array, or an array with the input as the only element, if not\n */\nfunction arrayify(maybeArray) {\n return Array.isArray(maybeArray) ? maybeArray : [maybeArray];\n}\n\nexport { addContextToFrame, addExceptionMechanism, addExceptionTypeValue, arrayify, checkOrSetAlreadyCaught, getEventDescription, parseSemver, uuid4 };\n//# sourceMappingURL=misc.js.map\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\n/**\n * Helper to decycle json objects\n */\nfunction memoBuilder() {\n const hasWeakSet = typeof WeakSet === 'function';\n const inner = hasWeakSet ? new WeakSet() : [];\n function memoize(obj) {\n if (hasWeakSet) {\n if (inner.has(obj)) {\n return true;\n }\n inner.add(obj);\n return false;\n }\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < inner.length; i++) {\n const value = inner[i];\n if (value === obj) {\n return true;\n }\n }\n inner.push(obj);\n return false;\n }\n\n function unmemoize(obj) {\n if (hasWeakSet) {\n inner.delete(obj);\n } else {\n for (let i = 0; i < inner.length; i++) {\n if (inner[i] === obj) {\n inner.splice(i, 1);\n break;\n }\n }\n }\n }\n return [memoize, unmemoize];\n}\n\nexport { memoBuilder };\n//# sourceMappingURL=memo.js.map\n","import { isNaN, isVueViewModel, isSyntheticEvent } from './is.js';\nimport { memoBuilder } from './memo.js';\nimport { convertToPlainObject } from './object.js';\nimport { getFunctionName } from './stacktrace.js';\n\n/**\n * Recursively normalizes the given object.\n *\n * - Creates a copy to prevent original input mutation\n * - Skips non-enumerable properties\n * - When stringifying, calls `toJSON` if implemented\n * - Removes circular references\n * - Translates non-serializable values (`undefined`/`NaN`/functions) to serializable format\n * - Translates known global objects/classes to a string representations\n * - Takes care of `Error` object serialization\n * - Optionally limits depth of final output\n * - Optionally limits number of properties/elements included in any single object/array\n *\n * @param input The object to be normalized.\n * @param depth The max depth to which to normalize the object. (Anything deeper stringified whole.)\n * @param maxProperties The max number of elements or properties to be included in any single array or\n * object in the normallized output.\n * @returns A normalized version of the object, or `\"**non-serializable**\"` if any errors are thrown during normalization.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction normalize(input, depth = 100, maxProperties = +Infinity) {\n try {\n // since we're at the outermost level, we don't provide a key\n return visit('', input, depth, maxProperties);\n } catch (err) {\n return { ERROR: `**non-serializable** (${err})` };\n }\n}\n\n/** JSDoc */\nfunction normalizeToSize(\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n object,\n // Default Node.js REPL depth\n depth = 3,\n // 100kB, as 200kB is max payload size, so half sounds reasonable\n maxSize = 100 * 1024,\n) {\n const normalized = normalize(object, depth);\n\n if (jsonSize(normalized) > maxSize) {\n return normalizeToSize(object, depth - 1, maxSize);\n }\n\n return normalized ;\n}\n\n/**\n * Visits a node to perform normalization on it\n *\n * @param key The key corresponding to the given node\n * @param value The node to be visited\n * @param depth Optional number indicating the maximum recursion depth\n * @param maxProperties Optional maximum number of properties/elements included in any single object/array\n * @param memo Optional Memo class handling decycling\n */\nfunction visit(\n key,\n value,\n depth = +Infinity,\n maxProperties = +Infinity,\n memo = memoBuilder(),\n) {\n const [memoize, unmemoize] = memo;\n\n // Get the simple cases out of the way first\n if (\n value == null || // this matches null and undefined -> eqeq not eqeqeq\n (['number', 'boolean', 'string'].includes(typeof value) && !isNaN(value))\n ) {\n return value ;\n }\n\n const stringified = stringifyValue(key, value);\n\n // Anything we could potentially dig into more (objects or arrays) will have come back as `\"[object XXXX]\"`.\n // Everything else will have already been serialized, so if we don't see that pattern, we're done.\n if (!stringified.startsWith('[object ')) {\n return stringified;\n }\n\n // From here on, we can assert that `value` is either an object or an array.\n\n // Do not normalize objects that we know have already been normalized. As a general rule, the\n // \"__sentry_skip_normalization__\" property should only be used sparingly and only should only be set on objects that\n // have already been normalized.\n if ((value )['__sentry_skip_normalization__']) {\n return value ;\n }\n\n // We can set `__sentry_override_normalization_depth__` on an object to ensure that from there\n // We keep a certain amount of depth.\n // This should be used sparingly, e.g. we use it for the redux integration to ensure we get a certain amount of state.\n const remainingDepth =\n typeof (value )['__sentry_override_normalization_depth__'] === 'number'\n ? ((value )['__sentry_override_normalization_depth__'] )\n : depth;\n\n // We're also done if we've reached the max depth\n if (remainingDepth === 0) {\n // At this point we know `serialized` is a string of the form `\"[object XXXX]\"`. Clean it up so it's just `\"[XXXX]\"`.\n return stringified.replace('object ', '');\n }\n\n // If we've already visited this branch, bail out, as it's circular reference. If not, note that we're seeing it now.\n if (memoize(value)) {\n return '[Circular ~]';\n }\n\n // If the value has a `toJSON` method, we call it to extract more information\n const valueWithToJSON = value ;\n if (valueWithToJSON && typeof valueWithToJSON.toJSON === 'function') {\n try {\n const jsonValue = valueWithToJSON.toJSON();\n // We need to normalize the return value of `.toJSON()` in case it has circular references\n return visit('', jsonValue, remainingDepth - 1, maxProperties, memo);\n } catch (err) {\n // pass (The built-in `toJSON` failed, but we can still try to do it ourselves)\n }\n }\n\n // At this point we know we either have an object or an array, we haven't seen it before, and we're going to recurse\n // because we haven't yet reached the max depth. Create an accumulator to hold the results of visiting each\n // property/entry, and keep track of the number of items we add to it.\n const normalized = (Array.isArray(value) ? [] : {}) ;\n let numAdded = 0;\n\n // Before we begin, convert`Error` and`Event` instances into plain objects, since some of each of their relevant\n // properties are non-enumerable and otherwise would get missed.\n const visitable = convertToPlainObject(value );\n\n for (const visitKey in visitable) {\n // Avoid iterating over fields in the prototype if they've somehow been exposed to enumeration.\n if (!Object.prototype.hasOwnProperty.call(visitable, visitKey)) {\n continue;\n }\n\n if (numAdded >= maxProperties) {\n normalized[visitKey] = '[MaxProperties ~]';\n break;\n }\n\n // Recursively visit all the child nodes\n const visitValue = visitable[visitKey];\n normalized[visitKey] = visit(visitKey, visitValue, remainingDepth - 1, maxProperties, memo);\n\n numAdded++;\n }\n\n // Once we've visited all the branches, remove the parent from memo storage\n unmemoize(value);\n\n // Return accumulated values\n return normalized;\n}\n\n/* eslint-disable complexity */\n/**\n * Stringify the given value. Handles various known special values and types.\n *\n * Not meant to be used on simple primitives which already have a string representation, as it will, for example, turn\n * the number 1231 into \"[Object Number]\", nor on `null`, as it will throw.\n *\n * @param value The value to stringify\n * @returns A stringified representation of the given value\n */\nfunction stringifyValue(\n key,\n // this type is a tiny bit of a cheat, since this function does handle NaN (which is technically a number), but for\n // our internal use, it'll do\n value,\n) {\n try {\n if (key === 'domain' && value && typeof value === 'object' && (value )._events) {\n return '[Domain]';\n }\n\n if (key === 'domainEmitter') {\n return '[DomainEmitter]';\n }\n\n // It's safe to use `global`, `window`, and `document` here in this manner, as we are asserting using `typeof` first\n // which won't throw if they are not present.\n\n if (typeof global !== 'undefined' && value === global) {\n return '[Global]';\n }\n\n // eslint-disable-next-line no-restricted-globals\n if (typeof window !== 'undefined' && value === window) {\n return '[Window]';\n }\n\n // eslint-disable-next-line no-restricted-globals\n if (typeof document !== 'undefined' && value === document) {\n return '[Document]';\n }\n\n if (isVueViewModel(value)) {\n return '[VueViewModel]';\n }\n\n // React's SyntheticEvent thingy\n if (isSyntheticEvent(value)) {\n return '[SyntheticEvent]';\n }\n\n if (typeof value === 'number' && value !== value) {\n return '[NaN]';\n }\n\n if (typeof value === 'function') {\n return `[Function: ${getFunctionName(value)}]`;\n }\n\n if (typeof value === 'symbol') {\n return `[${String(value)}]`;\n }\n\n // stringified BigInts are indistinguishable from regular numbers, so we need to label them to avoid confusion\n if (typeof value === 'bigint') {\n return `[BigInt: ${String(value)}]`;\n }\n\n // Now that we've knocked out all the special cases and the primitives, all we have left are objects. Simply casting\n // them to strings means that instances of classes which haven't defined their `toStringTag` will just come out as\n // `\"[object Object]\"`. If we instead look at the constructor's name (which is the same as the name of the class),\n // we can make sure that only plain objects come out that way.\n const objName = getConstructorName(value);\n\n // Handle HTML Elements\n if (/^HTML(\\w*)Element$/.test(objName)) {\n return `[HTMLElement: ${objName}]`;\n }\n\n return `[object ${objName}]`;\n } catch (err) {\n return `**non-serializable** (${err})`;\n }\n}\n/* eslint-enable complexity */\n\nfunction getConstructorName(value) {\n const prototype = Object.getPrototypeOf(value);\n\n return prototype ? prototype.constructor.name : 'null prototype';\n}\n\n/** Calculates bytes size of input string */\nfunction utf8Length(value) {\n // eslint-disable-next-line no-bitwise\n return ~-encodeURI(value).split(/%..|./).length;\n}\n\n/** Calculates bytes size of input object */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction jsonSize(value) {\n return utf8Length(JSON.stringify(value));\n}\n\n/**\n * Normalizes URLs in exceptions and stacktraces to a base path so Sentry can fingerprint\n * across platforms and working directory.\n *\n * @param url The URL to be normalized.\n * @param basePath The application base path.\n * @returns The normalized URL.\n */\nfunction normalizeUrlToBase(url, basePath) {\n const escapedBase = basePath\n // Backslash to forward\n .replace(/\\\\/g, '/')\n // Escape RegExp special characters\n .replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&');\n\n let newUrl = url;\n try {\n newUrl = decodeURI(url);\n } catch (_Oo) {\n // Sometime this breaks\n }\n return (\n newUrl\n .replace(/\\\\/g, '/')\n .replace(/webpack:\\/?/g, '') // Remove intermediate base path\n // eslint-disable-next-line @sentry-internal/sdk/no-regexp-constructor\n .replace(new RegExp(`(file://)?/*${escapedBase}/*`, 'ig'), 'app:///')\n );\n}\n\nexport { normalize, normalizeToSize, normalizeUrlToBase, visit as walk };\n//# sourceMappingURL=normalize.js.map\n","import { htmlTreeAsString } from './browser.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { isError, isEvent, isInstanceOf, isElement, isPlainObject, isPrimitive } from './is.js';\nimport { logger } from './logger.js';\nimport { truncate } from './string.js';\n\n/**\n * Replace a method in an object with a wrapped version of itself.\n *\n * @param source An object that contains a method to be wrapped.\n * @param name The name of the method to be wrapped.\n * @param replacementFactory A higher-order function that takes the original version of the given method and returns a\n * wrapped version. Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to\n * preserve the correct value of `this`, and the original method must be called using `origMethod.call(this, )` or `origMethod.apply(this, [])` (rather than being called directly), again to preserve `this`.\n * @returns void\n */\nfunction fill(source, name, replacementFactory) {\n if (!(name in source)) {\n return;\n }\n\n const original = source[name] ;\n const wrapped = replacementFactory(original) ;\n\n // Make sure it's a function first, as we need to attach an empty prototype for `defineProperties` to work\n // otherwise it'll throw \"TypeError: Object.defineProperties called on non-object\"\n if (typeof wrapped === 'function') {\n markFunctionWrapped(wrapped, original);\n }\n\n source[name] = wrapped;\n}\n\n/**\n * Defines a non-enumerable property on the given object.\n *\n * @param obj The object on which to set the property\n * @param name The name of the property to be set\n * @param value The value to which to set the property\n */\nfunction addNonEnumerableProperty(obj, name, value) {\n try {\n Object.defineProperty(obj, name, {\n // enumerable: false, // the default, so we can save on bundle size by not explicitly setting it\n value: value,\n writable: true,\n configurable: true,\n });\n } catch (o_O) {\n DEBUG_BUILD && logger.log(`Failed to add non-enumerable property \"${name}\" to object`, obj);\n }\n}\n\n/**\n * Remembers the original function on the wrapped function and\n * patches up the prototype.\n *\n * @param wrapped the wrapper function\n * @param original the original function that gets wrapped\n */\nfunction markFunctionWrapped(wrapped, original) {\n try {\n const proto = original.prototype || {};\n wrapped.prototype = original.prototype = proto;\n addNonEnumerableProperty(wrapped, '__sentry_original__', original);\n } catch (o_O) {} // eslint-disable-line no-empty\n}\n\n/**\n * This extracts the original function if available. See\n * `markFunctionWrapped` for more information.\n *\n * @param func the function to unwrap\n * @returns the unwrapped version of the function if available.\n */\nfunction getOriginalFunction(func) {\n return func.__sentry_original__;\n}\n\n/**\n * Encodes given object into url-friendly format\n *\n * @param object An object that contains serializable values\n * @returns string Encoded\n */\nfunction urlEncode(object) {\n return Object.keys(object)\n .map(key => `${encodeURIComponent(key)}=${encodeURIComponent(object[key])}`)\n .join('&');\n}\n\n/**\n * Transforms any `Error` or `Event` into a plain object with all of their enumerable properties, and some of their\n * non-enumerable properties attached.\n *\n * @param value Initial source that we have to transform in order for it to be usable by the serializer\n * @returns An Event or Error turned into an object - or the value argurment itself, when value is neither an Event nor\n * an Error.\n */\nfunction convertToPlainObject(\n value,\n)\n\n {\n if (isError(value)) {\n return {\n message: value.message,\n name: value.name,\n stack: value.stack,\n ...getOwnProperties(value),\n };\n } else if (isEvent(value)) {\n const newObj\n\n = {\n type: value.type,\n target: serializeEventTarget(value.target),\n currentTarget: serializeEventTarget(value.currentTarget),\n ...getOwnProperties(value),\n };\n\n if (typeof CustomEvent !== 'undefined' && isInstanceOf(value, CustomEvent)) {\n newObj.detail = value.detail;\n }\n\n return newObj;\n } else {\n return value;\n }\n}\n\n/** Creates a string representation of the target of an `Event` object */\nfunction serializeEventTarget(target) {\n try {\n return isElement(target) ? htmlTreeAsString(target) : Object.prototype.toString.call(target);\n } catch (_oO) {\n return '';\n }\n}\n\n/** Filters out all but an object's own properties */\nfunction getOwnProperties(obj) {\n if (typeof obj === 'object' && obj !== null) {\n const extractedProps = {};\n for (const property in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, property)) {\n extractedProps[property] = (obj )[property];\n }\n }\n return extractedProps;\n } else {\n return {};\n }\n}\n\n/**\n * Given any captured exception, extract its keys and create a sorted\n * and truncated list that will be used inside the event message.\n * eg. `Non-error exception captured with keys: foo, bar, baz`\n */\nfunction extractExceptionKeysForMessage(exception, maxLength = 40) {\n const keys = Object.keys(convertToPlainObject(exception));\n keys.sort();\n\n if (!keys.length) {\n return '[object has no keys]';\n }\n\n if (keys[0].length >= maxLength) {\n return truncate(keys[0], maxLength);\n }\n\n for (let includedKeys = keys.length; includedKeys > 0; includedKeys--) {\n const serialized = keys.slice(0, includedKeys).join(', ');\n if (serialized.length > maxLength) {\n continue;\n }\n if (includedKeys === keys.length) {\n return serialized;\n }\n return truncate(serialized, maxLength);\n }\n\n return '';\n}\n\n/**\n * Given any object, return a new object having removed all fields whose value was `undefined`.\n * Works recursively on objects and arrays.\n *\n * Attention: This function keeps circular references in the returned object.\n */\nfunction dropUndefinedKeys(inputValue) {\n // This map keeps track of what already visited nodes map to.\n // Our Set - based memoBuilder doesn't work here because we want to the output object to have the same circular\n // references as the input object.\n const memoizationMap = new Map();\n\n // This function just proxies `_dropUndefinedKeys` to keep the `memoBuilder` out of this function's API\n return _dropUndefinedKeys(inputValue, memoizationMap);\n}\n\nfunction _dropUndefinedKeys(inputValue, memoizationMap) {\n if (isPojo(inputValue)) {\n // If this node has already been visited due to a circular reference, return the object it was mapped to in the new object\n const memoVal = memoizationMap.get(inputValue);\n if (memoVal !== undefined) {\n return memoVal ;\n }\n\n const returnValue = {};\n // Store the mapping of this value in case we visit it again, in case of circular data\n memoizationMap.set(inputValue, returnValue);\n\n for (const key of Object.keys(inputValue)) {\n if (typeof inputValue[key] !== 'undefined') {\n returnValue[key] = _dropUndefinedKeys(inputValue[key], memoizationMap);\n }\n }\n\n return returnValue ;\n }\n\n if (Array.isArray(inputValue)) {\n // If this node has already been visited due to a circular reference, return the array it was mapped to in the new object\n const memoVal = memoizationMap.get(inputValue);\n if (memoVal !== undefined) {\n return memoVal ;\n }\n\n const returnValue = [];\n // Store the mapping of this value in case we visit it again, in case of circular data\n memoizationMap.set(inputValue, returnValue);\n\n inputValue.forEach((item) => {\n returnValue.push(_dropUndefinedKeys(item, memoizationMap));\n });\n\n return returnValue ;\n }\n\n return inputValue;\n}\n\nfunction isPojo(input) {\n if (!isPlainObject(input)) {\n return false;\n }\n\n try {\n const name = (Object.getPrototypeOf(input) ).constructor.name;\n return !name || name === 'Object';\n } catch (e) {\n return true;\n }\n}\n\n/**\n * Ensure that something is an object.\n *\n * Turns `undefined` and `null` into `String`s and all other primitives into instances of their respective wrapper\n * classes (String, Boolean, Number, etc.). Acts as the identity function on non-primitives.\n *\n * @param wat The subject of the objectification\n * @returns A version of `wat` which can safely be used with `Object` class methods\n */\nfunction objectify(wat) {\n let objectified;\n switch (true) {\n case wat === undefined || wat === null:\n objectified = new String(wat);\n break;\n\n // Though symbols and bigints do have wrapper classes (`Symbol` and `BigInt`, respectively), for whatever reason\n // those classes don't have constructors which can be used with the `new` keyword. We therefore need to cast each as\n // an object in order to wrap it.\n case typeof wat === 'symbol' || typeof wat === 'bigint':\n objectified = Object(wat);\n break;\n\n // this will catch the remaining primitives: `String`, `Number`, and `Boolean`\n case isPrimitive(wat):\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n objectified = new (wat ).constructor(wat);\n break;\n\n // by process of elimination, at this point we know that `wat` must already be an object\n default:\n objectified = wat;\n break;\n }\n return objectified;\n}\n\nexport { addNonEnumerableProperty, convertToPlainObject, dropUndefinedKeys, extractExceptionKeysForMessage, fill, getOriginalFunction, markFunctionWrapped, objectify, urlEncode };\n//# sourceMappingURL=object.js.map\n","import { node } from './node-stack-trace.js';\nexport { filenameIsInApp } from './node-stack-trace.js';\n\nconst STACKTRACE_FRAME_LIMIT = 50;\n// Used to sanitize webpack (error: *) wrapped stack errors\nconst WEBPACK_ERROR_REGEXP = /\\(error: (.*)\\)/;\nconst STRIP_FRAME_REGEXP = /captureMessage|captureException/;\n\n/**\n * Creates a stack parser with the supplied line parsers\n *\n * StackFrames are returned in the correct order for Sentry Exception\n * frames and with Sentry SDK internal frames removed from the top and bottom\n *\n */\nfunction createStackParser(...parsers) {\n const sortedParsers = parsers.sort((a, b) => a[0] - b[0]).map(p => p[1]);\n\n return (stack, skipFirst = 0) => {\n const frames = [];\n const lines = stack.split('\\n');\n\n for (let i = skipFirst; i < lines.length; i++) {\n const line = lines[i];\n // Ignore lines over 1kb as they are unlikely to be stack frames.\n // Many of the regular expressions use backtracking which results in run time that increases exponentially with\n // input size. Huge strings can result in hangs/Denial of Service:\n // https://github.com/getsentry/sentry-javascript/issues/2286\n if (line.length > 1024) {\n continue;\n }\n\n // https://github.com/getsentry/sentry-javascript/issues/5459\n // Remove webpack (error: *) wrappers\n const cleanedLine = WEBPACK_ERROR_REGEXP.test(line) ? line.replace(WEBPACK_ERROR_REGEXP, '$1') : line;\n\n // https://github.com/getsentry/sentry-javascript/issues/7813\n // Skip Error: lines\n if (cleanedLine.match(/\\S*Error: /)) {\n continue;\n }\n\n for (const parser of sortedParsers) {\n const frame = parser(cleanedLine);\n\n if (frame) {\n frames.push(frame);\n break;\n }\n }\n\n if (frames.length >= STACKTRACE_FRAME_LIMIT) {\n break;\n }\n }\n\n return stripSentryFramesAndReverse(frames);\n };\n}\n\n/**\n * Gets a stack parser implementation from Options.stackParser\n * @see Options\n *\n * If options contains an array of line parsers, it is converted into a parser\n */\nfunction stackParserFromStackParserOptions(stackParser) {\n if (Array.isArray(stackParser)) {\n return createStackParser(...stackParser);\n }\n return stackParser;\n}\n\n/**\n * Removes Sentry frames from the top and bottom of the stack if present and enforces a limit of max number of frames.\n * Assumes stack input is ordered from top to bottom and returns the reverse representation so call site of the\n * function that caused the crash is the last frame in the array.\n * @hidden\n */\nfunction stripSentryFramesAndReverse(stack) {\n if (!stack.length) {\n return [];\n }\n\n const localStack = Array.from(stack);\n\n // If stack starts with one of our API calls, remove it (starts, meaning it's the top of the stack - aka last call)\n if (/sentryWrapped/.test(localStack[localStack.length - 1].function || '')) {\n localStack.pop();\n }\n\n // Reversing in the middle of the procedure allows us to just pop the values off the stack\n localStack.reverse();\n\n // If stack ends with one of our internal API calls, remove it (ends, meaning it's the bottom of the stack - aka top-most call)\n if (STRIP_FRAME_REGEXP.test(localStack[localStack.length - 1].function || '')) {\n localStack.pop();\n\n // When using synthetic events, we will have a 2 levels deep stack, as `new Error('Sentry syntheticException')`\n // is produced within the hub itself, making it:\n //\n // Sentry.captureException()\n // getCurrentHub().captureException()\n //\n // instead of just the top `Sentry` call itself.\n // This forces us to possibly strip an additional frame in the exact same was as above.\n if (STRIP_FRAME_REGEXP.test(localStack[localStack.length - 1].function || '')) {\n localStack.pop();\n }\n }\n\n return localStack.slice(0, STACKTRACE_FRAME_LIMIT).map(frame => ({\n ...frame,\n filename: frame.filename || localStack[localStack.length - 1].filename,\n function: frame.function || '?',\n }));\n}\n\nconst defaultFunctionName = '';\n\n/**\n * Safely extract function name from itself\n */\nfunction getFunctionName(fn) {\n try {\n if (!fn || typeof fn !== 'function') {\n return defaultFunctionName;\n }\n return fn.name || defaultFunctionName;\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n return defaultFunctionName;\n }\n}\n\n/**\n * Node.js stack line parser\n *\n * This is in @sentry/utils so it can be used from the Electron SDK in the browser for when `nodeIntegration == true`.\n * This allows it to be used without referencing or importing any node specific code which causes bundlers to complain\n */\nfunction nodeStackLineParser(getModule) {\n return [90, node(getModule)];\n}\n\nexport { createStackParser, getFunctionName, nodeStackLineParser, stackParserFromStackParserOptions, stripSentryFramesAndReverse };\n//# sourceMappingURL=stacktrace.js.map\n","import { isVueViewModel, isString, isRegExp } from './is.js';\n\n/**\n * Truncates given string to the maximum characters count\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string (0 = unlimited)\n * @returns string Encoded\n */\nfunction truncate(str, max = 0) {\n if (typeof str !== 'string' || max === 0) {\n return str;\n }\n return str.length <= max ? str : `${str.slice(0, max)}...`;\n}\n\n/**\n * This is basically just `trim_line` from\n * https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/processor.py#L67\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string\n * @returns string Encoded\n */\nfunction snipLine(line, colno) {\n let newLine = line;\n const lineLength = newLine.length;\n if (lineLength <= 150) {\n return newLine;\n }\n if (colno > lineLength) {\n // eslint-disable-next-line no-param-reassign\n colno = lineLength;\n }\n\n let start = Math.max(colno - 60, 0);\n if (start < 5) {\n start = 0;\n }\n\n let end = Math.min(start + 140, lineLength);\n if (end > lineLength - 5) {\n end = lineLength;\n }\n if (end === lineLength) {\n start = Math.max(end - 140, 0);\n }\n\n newLine = newLine.slice(start, end);\n if (start > 0) {\n newLine = `'{snip} ${newLine}`;\n }\n if (end < lineLength) {\n newLine += ' {snip}';\n }\n\n return newLine;\n}\n\n/**\n * Join values in array\n * @param input array of values to be joined together\n * @param delimiter string to be placed in-between values\n * @returns Joined values\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction safeJoin(input, delimiter) {\n if (!Array.isArray(input)) {\n return '';\n }\n\n const output = [];\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < input.length; i++) {\n const value = input[i];\n try {\n // This is a hack to fix a Vue3-specific bug that causes an infinite loop of\n // console warnings. This happens when a Vue template is rendered with\n // an undeclared variable, which we try to stringify, ultimately causing\n // Vue to issue another warning which repeats indefinitely.\n // see: https://github.com/getsentry/sentry-javascript/pull/8981\n if (isVueViewModel(value)) {\n output.push('[VueViewModel]');\n } else {\n output.push(String(value));\n }\n } catch (e) {\n output.push('[value cannot be serialized]');\n }\n }\n\n return output.join(delimiter);\n}\n\n/**\n * Checks if the given value matches a regex or string\n *\n * @param value The string to test\n * @param pattern Either a regex or a string against which `value` will be matched\n * @param requireExactStringMatch If true, `value` must match `pattern` exactly. If false, `value` will match\n * `pattern` if it contains `pattern`. Only applies to string-type patterns.\n */\nfunction isMatchingPattern(\n value,\n pattern,\n requireExactStringMatch = false,\n) {\n if (!isString(value)) {\n return false;\n }\n\n if (isRegExp(pattern)) {\n return pattern.test(value);\n }\n if (isString(pattern)) {\n return requireExactStringMatch ? value === pattern : value.includes(pattern);\n }\n\n return false;\n}\n\n/**\n * Test the given string against an array of strings and regexes. By default, string matching is done on a\n * substring-inclusion basis rather than a strict equality basis\n *\n * @param testString The string to test\n * @param patterns The patterns against which to test the string\n * @param requireExactStringMatch If true, `testString` must match one of the given string patterns exactly in order to\n * count. If false, `testString` will match a string pattern if it contains that pattern.\n * @returns\n */\nfunction stringMatchesSomePattern(\n testString,\n patterns = [],\n requireExactStringMatch = false,\n) {\n return patterns.some(pattern => isMatchingPattern(testString, pattern, requireExactStringMatch));\n}\n\nexport { isMatchingPattern, safeJoin, snipLine, stringMatchesSomePattern, truncate };\n//# sourceMappingURL=string.js.map\n","import { isThenable } from './is.js';\n\n/* eslint-disable @typescript-eslint/explicit-function-return-type */\n\n/** SyncPromise internal states */\nvar States; (function (States) {\n /** Pending */\n const PENDING = 0; States[States[\"PENDING\"] = PENDING] = \"PENDING\";\n /** Resolved / OK */\n const RESOLVED = 1; States[States[\"RESOLVED\"] = RESOLVED] = \"RESOLVED\";\n /** Rejected / Error */\n const REJECTED = 2; States[States[\"REJECTED\"] = REJECTED] = \"REJECTED\";\n})(States || (States = {}));\n\n// Overloads so we can call resolvedSyncPromise without arguments and generic argument\n\n/**\n * Creates a resolved sync promise.\n *\n * @param value the value to resolve the promise with\n * @returns the resolved sync promise\n */\nfunction resolvedSyncPromise(value) {\n return new SyncPromise(resolve => {\n resolve(value);\n });\n}\n\n/**\n * Creates a rejected sync promise.\n *\n * @param value the value to reject the promise with\n * @returns the rejected sync promise\n */\nfunction rejectedSyncPromise(reason) {\n return new SyncPromise((_, reject) => {\n reject(reason);\n });\n}\n\n/**\n * Thenable class that behaves like a Promise and follows it's interface\n * but is not async internally\n */\nclass SyncPromise {\n\n constructor(\n executor,\n ) {SyncPromise.prototype.__init.call(this);SyncPromise.prototype.__init2.call(this);SyncPromise.prototype.__init3.call(this);SyncPromise.prototype.__init4.call(this);\n this._state = States.PENDING;\n this._handlers = [];\n\n try {\n executor(this._resolve, this._reject);\n } catch (e) {\n this._reject(e);\n }\n }\n\n /** JSDoc */\n then(\n onfulfilled,\n onrejected,\n ) {\n return new SyncPromise((resolve, reject) => {\n this._handlers.push([\n false,\n result => {\n if (!onfulfilled) {\n // TODO: ¯\\_(ツ)_/¯\n // TODO: FIXME\n resolve(result );\n } else {\n try {\n resolve(onfulfilled(result));\n } catch (e) {\n reject(e);\n }\n }\n },\n reason => {\n if (!onrejected) {\n reject(reason);\n } else {\n try {\n resolve(onrejected(reason));\n } catch (e) {\n reject(e);\n }\n }\n },\n ]);\n this._executeHandlers();\n });\n }\n\n /** JSDoc */\n catch(\n onrejected,\n ) {\n return this.then(val => val, onrejected);\n }\n\n /** JSDoc */\n finally(onfinally) {\n return new SyncPromise((resolve, reject) => {\n let val;\n let isRejected;\n\n return this.then(\n value => {\n isRejected = false;\n val = value;\n if (onfinally) {\n onfinally();\n }\n },\n reason => {\n isRejected = true;\n val = reason;\n if (onfinally) {\n onfinally();\n }\n },\n ).then(() => {\n if (isRejected) {\n reject(val);\n return;\n }\n\n resolve(val );\n });\n });\n }\n\n /** JSDoc */\n __init() {this._resolve = (value) => {\n this._setResult(States.RESOLVED, value);\n };}\n\n /** JSDoc */\n __init2() {this._reject = (reason) => {\n this._setResult(States.REJECTED, reason);\n };}\n\n /** JSDoc */\n __init3() {this._setResult = (state, value) => {\n if (this._state !== States.PENDING) {\n return;\n }\n\n if (isThenable(value)) {\n void (value ).then(this._resolve, this._reject);\n return;\n }\n\n this._state = state;\n this._value = value;\n\n this._executeHandlers();\n };}\n\n /** JSDoc */\n __init4() {this._executeHandlers = () => {\n if (this._state === States.PENDING) {\n return;\n }\n\n const cachedHandlers = this._handlers.slice();\n this._handlers = [];\n\n cachedHandlers.forEach(handler => {\n if (handler[0]) {\n return;\n }\n\n if (this._state === States.RESOLVED) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n handler[1](this._value );\n }\n\n if (this._state === States.REJECTED) {\n handler[2](this._value);\n }\n\n handler[0] = true;\n });\n };}\n}\n\nexport { SyncPromise, rejectedSyncPromise, resolvedSyncPromise };\n//# sourceMappingURL=syncpromise.js.map\n","import { GLOBAL_OBJ } from './worldwide.js';\n\nconst ONE_SECOND_IN_MS = 1000;\n\n/**\n * A partial definition of the [Performance Web API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Performance}\n * for accessing a high-resolution monotonic clock.\n */\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using the Date API.\n *\n * TODO(v8): Return type should be rounded.\n */\nfunction dateTimestampInSeconds() {\n return Date.now() / ONE_SECOND_IN_MS;\n}\n\n/**\n * Returns a wrapper around the native Performance API browser implementation, or undefined for browsers that do not\n * support the API.\n *\n * Wrapping the native API works around differences in behavior from different browsers.\n */\nfunction createUnixTimestampInSecondsFunc() {\n const { performance } = GLOBAL_OBJ ;\n if (!performance || !performance.now) {\n return dateTimestampInSeconds;\n }\n\n // Some browser and environments don't have a timeOrigin, so we fallback to\n // using Date.now() to compute the starting time.\n const approxStartingTimeOrigin = Date.now() - performance.now();\n const timeOrigin = performance.timeOrigin == undefined ? approxStartingTimeOrigin : performance.timeOrigin;\n\n // performance.now() is a monotonic clock, which means it starts at 0 when the process begins. To get the current\n // wall clock time (actual UNIX timestamp), we need to add the starting time origin and the current time elapsed.\n //\n // TODO: This does not account for the case where the monotonic clock that powers performance.now() drifts from the\n // wall clock time, which causes the returned timestamp to be inaccurate. We should investigate how to detect and\n // correct for this.\n // See: https://github.com/getsentry/sentry-javascript/issues/2590\n // See: https://github.com/mdn/content/issues/4713\n // See: https://dev.to/noamr/when-a-millisecond-is-not-a-millisecond-3h6\n return () => {\n return (timeOrigin + performance.now()) / ONE_SECOND_IN_MS;\n };\n}\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using either the Performance or Date APIs, depending on the\n * availability of the Performance API.\n *\n * BUG: Note that because of how browsers implement the Performance API, the clock might stop when the computer is\n * asleep. This creates a skew between `dateTimestampInSeconds` and `timestampInSeconds`. The\n * skew can grow to arbitrary amounts like days, weeks or months.\n * See https://github.com/getsentry/sentry-javascript/issues/2590.\n */\nconst timestampInSeconds = createUnixTimestampInSecondsFunc();\n\n/**\n * Re-exported with an old name for backwards-compatibility.\n * TODO (v8): Remove this\n *\n * @deprecated Use `timestampInSeconds` instead.\n */\nconst timestampWithMs = timestampInSeconds;\n\n/**\n * Internal helper to store what is the source of browserPerformanceTimeOrigin below. For debugging only.\n */\nlet _browserPerformanceTimeOriginMode;\n\n/**\n * The number of milliseconds since the UNIX epoch. This value is only usable in a browser, and only when the\n * performance API is available.\n */\nconst browserPerformanceTimeOrigin = (() => {\n // Unfortunately browsers may report an inaccurate time origin data, through either performance.timeOrigin or\n // performance.timing.navigationStart, which results in poor results in performance data. We only treat time origin\n // data as reliable if they are within a reasonable threshold of the current time.\n\n const { performance } = GLOBAL_OBJ ;\n if (!performance || !performance.now) {\n _browserPerformanceTimeOriginMode = 'none';\n return undefined;\n }\n\n const threshold = 3600 * 1000;\n const performanceNow = performance.now();\n const dateNow = Date.now();\n\n // if timeOrigin isn't available set delta to threshold so it isn't used\n const timeOriginDelta = performance.timeOrigin\n ? Math.abs(performance.timeOrigin + performanceNow - dateNow)\n : threshold;\n const timeOriginIsReliable = timeOriginDelta < threshold;\n\n // While performance.timing.navigationStart is deprecated in favor of performance.timeOrigin, performance.timeOrigin\n // is not as widely supported. Namely, performance.timeOrigin is undefined in Safari as of writing.\n // Also as of writing, performance.timing is not available in Web Workers in mainstream browsers, so it is not always\n // a valid fallback. In the absence of an initial time provided by the browser, fallback to the current time from the\n // Date API.\n // eslint-disable-next-line deprecation/deprecation\n const navigationStart = performance.timing && performance.timing.navigationStart;\n const hasNavigationStart = typeof navigationStart === 'number';\n // if navigationStart isn't available set delta to threshold so it isn't used\n const navigationStartDelta = hasNavigationStart ? Math.abs(navigationStart + performanceNow - dateNow) : threshold;\n const navigationStartIsReliable = navigationStartDelta < threshold;\n\n if (timeOriginIsReliable || navigationStartIsReliable) {\n // Use the more reliable time origin\n if (timeOriginDelta <= navigationStartDelta) {\n _browserPerformanceTimeOriginMode = 'timeOrigin';\n return performance.timeOrigin;\n } else {\n _browserPerformanceTimeOriginMode = 'navigationStart';\n return navigationStart;\n }\n }\n\n // Either both timeOrigin and navigationStart are skewed or neither is available, fallback to Date.\n _browserPerformanceTimeOriginMode = 'dateNow';\n return dateNow;\n})();\n\nexport { _browserPerformanceTimeOriginMode, browserPerformanceTimeOrigin, dateTimestampInSeconds, timestampInSeconds, timestampWithMs };\n//# sourceMappingURL=time.js.map\n","import { baggageHeaderToDynamicSamplingContext } from './baggage.js';\nimport { uuid4 } from './misc.js';\n\n// eslint-disable-next-line @sentry-internal/sdk/no-regexp-constructor -- RegExp is used for readability here\nconst TRACEPARENT_REGEXP = new RegExp(\n '^[ \\\\t]*' + // whitespace\n '([0-9a-f]{32})?' + // trace_id\n '-?([0-9a-f]{16})?' + // span_id\n '-?([01])?' + // sampled\n '[ \\\\t]*$', // whitespace\n);\n\n/**\n * Extract transaction context data from a `sentry-trace` header.\n *\n * @param traceparent Traceparent string\n *\n * @returns Object containing data from the header, or undefined if traceparent string is malformed\n */\nfunction extractTraceparentData(traceparent) {\n if (!traceparent) {\n return undefined;\n }\n\n const matches = traceparent.match(TRACEPARENT_REGEXP);\n if (!matches) {\n return undefined;\n }\n\n let parentSampled;\n if (matches[3] === '1') {\n parentSampled = true;\n } else if (matches[3] === '0') {\n parentSampled = false;\n }\n\n return {\n traceId: matches[1],\n parentSampled,\n parentSpanId: matches[2],\n };\n}\n\n/**\n * Create tracing context from incoming headers.\n *\n * @deprecated Use `propagationContextFromHeaders` instead.\n */\n// TODO(v8): Remove this function\nfunction tracingContextFromHeaders(\n sentryTrace,\n baggage,\n)\n\n {\n const traceparentData = extractTraceparentData(sentryTrace);\n const dynamicSamplingContext = baggageHeaderToDynamicSamplingContext(baggage);\n\n const { traceId, parentSpanId, parentSampled } = traceparentData || {};\n\n if (!traceparentData) {\n return {\n traceparentData,\n dynamicSamplingContext: undefined,\n propagationContext: {\n traceId: traceId || uuid4(),\n spanId: uuid4().substring(16),\n },\n };\n } else {\n return {\n traceparentData,\n dynamicSamplingContext: dynamicSamplingContext || {}, // If we have traceparent data but no DSC it means we are not head of trace and we must freeze it\n propagationContext: {\n traceId: traceId || uuid4(),\n parentSpanId: parentSpanId || uuid4().substring(16),\n spanId: uuid4().substring(16),\n sampled: parentSampled,\n dsc: dynamicSamplingContext || {}, // If we have traceparent data but no DSC it means we are not head of trace and we must freeze it\n },\n };\n }\n}\n\n/**\n * Create a propagation context from incoming headers.\n */\nfunction propagationContextFromHeaders(\n sentryTrace,\n baggage,\n) {\n const traceparentData = extractTraceparentData(sentryTrace);\n const dynamicSamplingContext = baggageHeaderToDynamicSamplingContext(baggage);\n\n const { traceId, parentSpanId, parentSampled } = traceparentData || {};\n\n if (!traceparentData) {\n return {\n traceId: traceId || uuid4(),\n spanId: uuid4().substring(16),\n };\n } else {\n return {\n traceId: traceId || uuid4(),\n parentSpanId: parentSpanId || uuid4().substring(16),\n spanId: uuid4().substring(16),\n sampled: parentSampled,\n dsc: dynamicSamplingContext || {}, // If we have traceparent data but no DSC it means we are not head of trace and we must freeze it\n };\n }\n}\n\n/**\n * Create sentry-trace header from span context values.\n */\nfunction generateSentryTraceHeader(\n traceId = uuid4(),\n spanId = uuid4().substring(16),\n sampled,\n) {\n let sampledString = '';\n if (sampled !== undefined) {\n sampledString = sampled ? '-1' : '-0';\n }\n return `${traceId}-${spanId}${sampledString}`;\n}\n\nexport { TRACEPARENT_REGEXP, extractTraceparentData, generateSentryTraceHeader, propagationContextFromHeaders, tracingContextFromHeaders };\n//# sourceMappingURL=tracing.js.map\n","/** Internal global with common properties and Sentry extensions */\n\n// The code below for 'isGlobalObj' and 'GLOBAL_OBJ' was copied from core-js before modification\n// https://github.com/zloirock/core-js/blob/1b944df55282cdc99c90db5f49eb0b6eda2cc0a3/packages/core-js/internals/global.js\n// core-js has the following licence:\n//\n// Copyright (c) 2014-2022 Denis Pushkarev\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n/** Returns 'obj' if it's the global object, otherwise returns undefined */\nfunction isGlobalObj(obj) {\n return obj && obj.Math == Math ? obj : undefined;\n}\n\n/** Get's the global object for the current JavaScript runtime */\nconst GLOBAL_OBJ =\n (typeof globalThis == 'object' && isGlobalObj(globalThis)) ||\n // eslint-disable-next-line no-restricted-globals\n (typeof window == 'object' && isGlobalObj(window)) ||\n (typeof self == 'object' && isGlobalObj(self)) ||\n (typeof global == 'object' && isGlobalObj(global)) ||\n (function () {\n return this;\n })() ||\n {};\n\n/**\n * @deprecated Use GLOBAL_OBJ instead or WINDOW from @sentry/browser. This will be removed in v8\n */\nfunction getGlobalObject() {\n return GLOBAL_OBJ ;\n}\n\n/**\n * Returns a global singleton contained in the global `__SENTRY__` object.\n *\n * If the singleton doesn't already exist in `__SENTRY__`, it will be created using the given factory\n * function and added to the `__SENTRY__` object.\n *\n * @param name name of the global singleton on __SENTRY__\n * @param creator creator Factory function to create the singleton if it doesn't already exist on `__SENTRY__`\n * @param obj (Optional) The global object on which to look for `__SENTRY__`, if not `GLOBAL_OBJ`'s return value\n * @returns the singleton\n */\nfunction getGlobalSingleton(name, creator, obj) {\n const gbl = (obj || GLOBAL_OBJ) ;\n const __SENTRY__ = (gbl.__SENTRY__ = gbl.__SENTRY__ || {});\n const singleton = __SENTRY__[name] || (__SENTRY__[name] = creator());\n return singleton;\n}\n\nexport { GLOBAL_OBJ, getGlobalObject, getGlobalSingleton };\n//# sourceMappingURL=worldwide.js.map\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.init = exports.push = void 0;\nvar router_1 = __importDefault(require(\"next/router\"));\nvar isExcludedUrl = function (url, patterns) {\n var excluded = false;\n patterns.forEach(function (pattern) {\n if (pattern.exec(url) !== null) {\n excluded = true;\n }\n });\n return excluded;\n};\n// to push custom events\nfunction push(args) {\n if (!window._paq) {\n window._paq = [];\n }\n window._paq.push(args);\n}\nexports.push = push;\nvar startsWith = function (str, needle) {\n // eslint-disable-next-line @typescript-eslint/prefer-string-starts-ends-with\n return str.substring(0, needle.length) === needle;\n};\nvar trustedPolicyHooks = {\n createScript: function (s) { return s; },\n createScriptURL: function (s) { return s; },\n};\n// initialize the tracker\nfunction init(_a) {\n var _b, _c, _d, _e;\n var url = _a.url, siteId = _a.siteId, _f = _a.jsTrackerFile, jsTrackerFile = _f === void 0 ? \"matomo.js\" : _f, _g = _a.phpTrackerFile, phpTrackerFile = _g === void 0 ? \"matomo.php\" : _g, _h = _a.excludeUrlsPatterns, excludeUrlsPatterns = _h === void 0 ? [] : _h, _j = _a.disableCookies, disableCookies = _j === void 0 ? false : _j, _k = _a.onRouteChangeStart, onRouteChangeStart = _k === void 0 ? undefined : _k, _l = _a.onRouteChangeComplete, onRouteChangeComplete = _l === void 0 ? undefined : _l, _m = _a.onInitialization, onInitialization = _m === void 0 ? undefined : _m, nonce = _a.nonce, _o = _a.trustedPolicyName, trustedPolicyName = _o === void 0 ? \"matomo-next\" : _o, _p = _a.logExcludedTracks, logExcludedTracks = _p === void 0 ? false : _p;\n window._paq = window._paq !== null ? window._paq : [];\n if (!url) {\n console.warn(\"Matomo disabled, please provide matomo url\");\n return;\n }\n var sanitizer = (_c = (_b = window.trustedTypes) === null || _b === void 0 ? void 0 : _b.createPolicy(trustedPolicyName, trustedPolicyHooks)) !== null && _c !== void 0 ? _c : trustedPolicyHooks;\n var previousPath = \"\";\n // order is important -_- so campaign are detected\n var excludedUrl = typeof window !== \"undefined\" &&\n isExcludedUrl(window.location.pathname, excludeUrlsPatterns);\n if (onInitialization)\n onInitialization();\n if (excludedUrl) {\n if (typeof window !== \"undefined\" && logExcludedTracks) {\n console.log(\"matomo: exclude track \" + window.location.pathname);\n }\n }\n else {\n push([\"trackPageView\"]);\n }\n if (disableCookies) {\n push([\"disableCookies\"]);\n }\n push([\"enableLinkTracking\"]);\n push([\"setTrackerUrl\", url + \"/\" + phpTrackerFile]);\n push([\"setSiteId\", siteId]);\n /**\n * for initial loading we use the location.pathname\n * as the first url visited.\n * Once user navigate across the site,\n * we rely on Router.pathname\n */\n var scriptElement = document.createElement(\"script\");\n var refElement = document.getElementsByTagName(\"script\")[0];\n if (nonce) {\n scriptElement.setAttribute(\"nonce\", nonce);\n }\n scriptElement.type = \"text/javascript\";\n scriptElement.async = true;\n scriptElement.defer = true;\n var fullUrl = url + \"/\" + jsTrackerFile;\n scriptElement.src = (_e = (_d = sanitizer.createScriptURL) === null || _d === void 0 ? void 0 : _d.call(sanitizer, fullUrl)) !== null && _e !== void 0 ? _e : fullUrl;\n if (refElement.parentNode) {\n refElement.parentNode.insertBefore(scriptElement, refElement);\n }\n previousPath = location.pathname;\n var defaultOnRouteChangeStart = function (path) {\n if (isExcludedUrl(path, excludeUrlsPatterns))\n return;\n // We use only the part of the url without the querystring to ensure piwik is happy\n // It seems that piwik doesn't track well page with querystring\n var pathname = path.split(\"?\")[0];\n if (previousPath) {\n push([\"setReferrerUrl\", \"\" + previousPath]);\n }\n push([\"setCustomUrl\", pathname]);\n push([\"deleteCustomVariables\", \"page\"]);\n previousPath = pathname;\n if (onRouteChangeStart)\n onRouteChangeStart(path);\n };\n router_1.default.events.on(\"routeChangeStart\", defaultOnRouteChangeStart);\n var defaultOnRouteChangeComplete = function (path) {\n if (isExcludedUrl(path, excludeUrlsPatterns)) {\n return;\n }\n // In order to ensure that the page title had been updated,\n // we delayed pushing the tracking to the next tick.\n setTimeout(function () {\n var q = router_1.default.query.q;\n push([\"setDocumentTitle\", document.title]);\n if (startsWith(path, \"/recherche\") || startsWith(path, \"/search\")) {\n push([\"trackSiteSearch\", q !== null && q !== void 0 ? q : \"\"]);\n }\n else {\n push([\"trackPageView\"]);\n }\n }, 0);\n if (onRouteChangeComplete)\n onRouteChangeComplete(path);\n };\n router_1.default.events.on(\"routeChangeComplete\", defaultOnRouteChangeComplete);\n}\nexports.init = init;\nexports.default = init;\n//# sourceMappingURL=index.js.map","module.exports = require('./dist/pages/_app')\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/_app\",\n function () {\n return require(\"private-next-pages/_app.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/_app\"])\n });\n }\n ","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef } from \"react\";\nimport { fr } from \"./fr\";\nimport { cx } from \"./tools/cx\";\nimport { getLink } from \"./link\";\nimport { assert } from \"tsafe/assert\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { useAnalyticsId } from \"./tools/useAnalyticsId\";\n/** @see */\nexport const Button = memo(forwardRef((props, ref) => {\n var _a, _b;\n const { id: props_id, className: prop_className, children, title, iconId, iconPosition = \"left\", priority = \"primary\", size = \"medium\", linkProps, onClick, nativeButtonProps, disabled, type, style, value } = props, rest = __rest(props, [\"id\", \"className\", \"children\", \"title\", \"iconId\", \"iconPosition\", \"priority\", \"size\", \"linkProps\", \"onClick\", \"nativeButtonProps\", \"disabled\", \"type\", \"style\", \"value\"]);\n assert();\n const id = useAnalyticsId({\n \"defaultIdPrefix\": \"fr-button\",\n \"explicitlyProvidedId\": props_id\n });\n const { Link } = getLink();\n const className = cx(fr.cx(\"fr-btn\", priority !== \"primary\" &&\n `fr-btn--${priority === \"tertiary no outline\" ? \"tertiary-no-outline\" : priority}`, size !== \"medium\" &&\n `fr-btn--${(() => {\n switch (size) {\n case \"small\":\n return \"sm\";\n case \"large\":\n return \"lg\";\n }\n })()}`, ...(iconId === undefined\n ? []\n : [iconId, children !== undefined && `fr-btn--icon-${iconPosition}`])), linkProps !== undefined && linkProps.className, prop_className);\n return linkProps !== undefined ? (React.createElement(Link, Object.assign({}, linkProps, { id: (_a = props_id !== null && props_id !== void 0 ? props_id : linkProps.id) !== null && _a !== void 0 ? _a : id, title: title !== null && title !== void 0 ? title : linkProps.title, className: cx(linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, className), style: Object.assign(Object.assign({}, linkProps === null || linkProps === void 0 ? void 0 : linkProps.style), style), ref: ref }, rest), children)) : (React.createElement(\"button\", Object.assign({}, nativeButtonProps, { id: (_b = props_id !== null && props_id !== void 0 ? props_id : nativeButtonProps === null || nativeButtonProps === void 0 ? void 0 : nativeButtonProps.id) !== null && _b !== void 0 ? _b : id, className: cx(nativeButtonProps === null || nativeButtonProps === void 0 ? void 0 : nativeButtonProps.className, className), style: Object.assign(Object.assign({}, nativeButtonProps === null || nativeButtonProps === void 0 ? void 0 : nativeButtonProps.style), style), type: type !== null && type !== void 0 ? type : nativeButtonProps === null || nativeButtonProps === void 0 ? void 0 : nativeButtonProps.type, title: title !== null && title !== void 0 ? title : nativeButtonProps === null || nativeButtonProps === void 0 ? void 0 : nativeButtonProps.title, onClick: onClick !== null && onClick !== void 0 ? onClick : nativeButtonProps === null || nativeButtonProps === void 0 ? void 0 : nativeButtonProps.onClick, disabled: disabled !== null && disabled !== void 0 ? disabled : nativeButtonProps === null || nativeButtonProps === void 0 ? void 0 : nativeButtonProps.disabled, ref: ref, value: value }, rest), children));\n}));\nButton.displayName = symToStr({ Button });\nexport default Button;\n//# sourceMappingURL=Button.js.map","// This file is generated automatically by scripts/build/cssToTs/cssToTs.ts, please don't edit.\nimport { assert } from \"tsafe/assert\";\nexport const breakpointsValuesUnit = \"em\";\nexport const breakpointKeys = [\"xs\", \"sm\", \"md\", \"lg\", \"xl\"];\nexport const breakpointsValues = {\n \"xs\": 0,\n \"sm\": 36,\n \"md\": 48,\n \"lg\": 62,\n \"xl\": 78\n};\nassert();\n//# sourceMappingURL=breakpoints.js.map","import { assert } from \"tsafe/assert\";\nimport { isBrowser } from \"./isBrowser\";\nexport function getBaseFontSizePx() {\n if (!isBrowser) {\n return 16;\n }\n const htmlElement = document.querySelector(\"html\");\n assert(htmlElement !== null);\n const computedStyle = window.getComputedStyle(htmlElement);\n const fontSize = computedStyle.getPropertyValue(\"font-size\");\n const fontSizeInPixels = parseFloat(fontSize);\n return fontSizeInPixels;\n}\n//# sourceMappingURL=getBaseFontSizePx.js.map","import { breakpointsValues as values, breakpointsValuesUnit as unit, breakpointKeys as keys } from \"./generatedFromCss/breakpoints\";\nimport { assert } from \"tsafe/assert\";\nimport { getBaseFontSizePx } from \"../tools/getBaseFontSizePx\";\nconst epsilon = 0.003125;\nexport const breakpoints = {\n \"up\": (key) => `@media (min-width:${values[key]}${unit})`,\n \"down\": (key) => `@media (max-width:${values[key] - epsilon}${unit})`,\n \"between\": (start, end) => `@media (min-width:${values[start]}${unit}) and (max-width:${values[end] - epsilon}${unit})`,\n \"only\": (key) => keys.indexOf(key) + 1 < keys.length\n ? breakpoints.between(key, keys[keys.indexOf(key) + 1])\n : breakpoints.up((assert(key !== \"xs\"), key)),\n \"not\": (key) => {\n // handle first and last key separately, for better readability\n const keyIndex = keys.indexOf(key);\n if (keyIndex === 0) {\n return breakpoints.up(keys[1]);\n }\n if (keyIndex === keys.length - 1) {\n const key = keys[keyIndex];\n assert(key !== \"xs\");\n return breakpoints.down(key);\n }\n return breakpoints\n .between(key, keys[keys.indexOf(key) + 1])\n .replace(\"@media\", \"@media not all and\");\n },\n \"values\": (() => {\n const out = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (() => {\n const key = \"xs\";\n return { [key]: `${values[key]}${unit}` };\n })()), (() => {\n const key = \"sm\";\n return { [key]: `${values[key]}${unit}` };\n })()), (() => {\n const key = \"md\";\n return { [key]: `${values[key]}${unit}` };\n })()), (() => {\n const key = \"lg\";\n return { [key]: `${values[key]}${unit}` };\n })()), (() => {\n const key = \"xl\";\n return { [key]: `${values[key]}${unit}` };\n })());\n assert();\n return out;\n })(),\n \"valuesUnit\": unit,\n \"emValues\": (() => {\n assert();\n return values;\n })(),\n /**\n * Returns the breakpoint values in px.\n *\n * Warning: It reflects the values at a given time, if the root font size changes so will the breakpointsValues.\n * Plus this function is rather expensive to call.\n * If you're in react you should use the\n * import { useBreakpointsValuesPx } from \"@codegouvfr/react-dsfr/useBreakpointsValuesPx\";\n */\n \"getPxValues\": () => {\n assert();\n const factor = getBaseFontSizePx();\n return Object.fromEntries(Object.entries(values).map(([key, value]) => [key, value * factor]));\n },\n /** @deprecated use breakpoints.values if you're ok with getting the value in em or breakpoints.getPxValues() if you want the value in pixel */\n \"getBreakpointsValues\": () => breakpoints.getPxValues()\n};\n//# sourceMappingURL=breakpoints.js.map","// This file is generated automatically by scripts/build/cssToTs/cssToTs.ts, please don't edit.\nexport const spacingTokenByValue = {\n \"1v\": \"0.25rem\",\n \"1w\": \"0.5rem\",\n \"2v\": \"0.5rem\",\n \"3v\": \"0.75rem\",\n \"2w\": \"1rem\",\n \"4v\": \"1rem\",\n \"5v\": \"1.25rem\",\n \"3w\": \"1.5rem\",\n \"6v\": \"1.5rem\",\n \"7v\": \"1.75rem\",\n \"4w\": \"2rem\",\n \"8v\": \"2rem\",\n \"9v\": \"2.25rem\",\n \"10v\": \"2.5rem\",\n \"5w\": \"2.5rem\",\n \"11v\": \"2.75rem\",\n \"12v\": \"3rem\",\n \"6w\": \"3rem\",\n \"13v\": \"3.25rem\",\n \"14v\": \"3.5rem\",\n \"7w\": \"3.5rem\",\n \"15v\": \"3.75rem\",\n \"16v\": \"4rem\",\n \"8w\": \"4rem\",\n \"17v\": \"4.25rem\",\n \"18v\": \"4.5rem\",\n \"9w\": \"4.5rem\",\n \"19v\": \"4.75rem\",\n \"10w\": \"5rem\",\n \"20v\": \"5rem\",\n \"21v\": \"5.25rem\",\n \"11w\": \"5.5rem\",\n \"22v\": \"5.5rem\",\n \"23v\": \"5.75rem\",\n \"12w\": \"6rem\",\n \"24v\": \"6rem\",\n \"25v\": \"6.25rem\",\n \"13w\": \"6.5rem\",\n \"26v\": \"6.5rem\",\n \"27v\": \"6.75rem\",\n \"14w\": \"7rem\",\n \"28v\": \"7rem\",\n \"29v\": \"7.25rem\",\n \"15w\": \"7.5rem\",\n \"30v\": \"7.5rem\",\n \"31v\": \"7.75rem\",\n \"16w\": \"8rem\",\n \"32v\": \"8rem\"\n};\n//# sourceMappingURL=spacing.js.map","// This file is generated automatically by scripts/build/cssToTs/cssToTs.ts, please don't edit.\nimport { breakpoints } from \"../breakpoints\";\nexport const typography = [\n {\n \"selector\": \"h6\",\n \"style\": {\n \"fontWeight\": 700,\n \"fontSize\": \"1.125rem\",\n \"lineHeight\": \"1.5rem\",\n \"margin\": \"var(--title-spacing)\",\n \"color\": \"var(--text-title-grey)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"1.25rem\",\n \"lineHeight\": \"1.75rem\"\n }\n }\n },\n {\n \"selector\": \"h5\",\n \"style\": {\n \"fontWeight\": 700,\n \"fontSize\": \"1.25rem\",\n \"lineHeight\": \"1.75rem\",\n \"margin\": \"var(--title-spacing)\",\n \"color\": \"var(--text-title-grey)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"1.375rem\",\n \"lineHeight\": \"1.75rem\"\n }\n }\n },\n {\n \"selector\": \"h4\",\n \"style\": {\n \"fontWeight\": 700,\n \"fontSize\": \"1.375rem\",\n \"lineHeight\": \"1.75rem\",\n \"margin\": \"var(--title-spacing)\",\n \"color\": \"var(--text-title-grey)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"1.5rem\",\n \"lineHeight\": \"2rem\"\n }\n }\n },\n {\n \"selector\": \"h3\",\n \"style\": {\n \"fontWeight\": 700,\n \"fontSize\": \"1.5rem\",\n \"lineHeight\": \"2rem\",\n \"margin\": \"var(--title-spacing)\",\n \"color\": \"var(--text-title-grey)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"1.75rem\",\n \"lineHeight\": \"2.25rem\"\n }\n }\n },\n {\n \"selector\": \"h2\",\n \"style\": {\n \"fontWeight\": 700,\n \"fontSize\": \"1.75rem\",\n \"lineHeight\": \"2.25rem\",\n \"margin\": \"var(--title-spacing)\",\n \"color\": \"var(--text-title-grey)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"2rem\",\n \"lineHeight\": \"2.5rem\"\n }\n }\n },\n {\n \"selector\": \"h1\",\n \"style\": {\n \"fontWeight\": 700,\n \"fontSize\": \"2rem\",\n \"lineHeight\": \"2.5rem\",\n \"margin\": \"var(--title-spacing)\",\n \"color\": \"var(--text-title-grey)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"2.5rem\",\n \"lineHeight\": \"3rem\"\n }\n }\n },\n {\n \"selector\": \"p\",\n \"style\": {\n \"fontSize\": \"1rem\",\n \"lineHeight\": \"1.5rem\",\n \"margin\": \"var(--text-spacing)\"\n }\n },\n {\n \"selector\": \".fr-text--light\",\n \"style\": {\n \"fontWeight\": \"300 !important\"\n }\n },\n {\n \"selector\": \".fr-text--regular\",\n \"style\": {\n \"fontWeight\": \"400 !important\"\n }\n },\n {\n \"selector\": \".fr-text--bold\",\n \"style\": {\n \"fontWeight\": \"700 !important\"\n }\n },\n {\n \"selector\": \".fr-text--heavy\",\n \"style\": {\n \"fontWeight\": \"900 !important\"\n }\n },\n {\n \"selector\": \".fr-display--xs\",\n \"style\": {\n \"fontWeight\": \"700 !important\",\n \"fontSize\": \"2.5rem !important\",\n \"lineHeight\": \"3rem !important\",\n \"margin\": \"var(--display-spacing)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"3rem !important\",\n \"lineHeight\": \"3.5rem !important\"\n }\n }\n },\n {\n \"selector\": \".fr-display--sm\",\n \"style\": {\n \"fontWeight\": \"700 !important\",\n \"fontSize\": \"3rem !important\",\n \"lineHeight\": \"3.5rem !important\",\n \"margin\": \"var(--display-spacing)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"3.5rem !important\",\n \"lineHeight\": \"4rem !important\"\n }\n }\n },\n {\n \"selector\": \".fr-display--md\",\n \"style\": {\n \"fontWeight\": \"700 !important\",\n \"fontSize\": \"3.5rem !important\",\n \"lineHeight\": \"4rem !important\",\n \"margin\": \"var(--display-spacing)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"4rem !important\",\n \"lineHeight\": \"4.5rem !important\"\n }\n }\n },\n {\n \"selector\": \".fr-display--lg\",\n \"style\": {\n \"fontWeight\": \"700 !important\",\n \"fontSize\": \"4rem !important\",\n \"lineHeight\": \"4.5rem !important\",\n \"margin\": \"var(--display-spacing)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"4.5rem !important\",\n \"lineHeight\": \"5rem !important\"\n }\n }\n },\n {\n \"selector\": \".fr-display--xl\",\n \"style\": {\n \"fontWeight\": \"700 !important\",\n \"fontSize\": \"4.5rem !important\",\n \"lineHeight\": \"5rem !important\",\n \"margin\": \"var(--display-spacing)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"5rem !important\",\n \"lineHeight\": \"5.5rem !important\"\n }\n }\n },\n {\n \"selector\": \".fr-text--alt\",\n \"style\": {\n \"fontFamily\": \"\\\"Spectral\\\", georgia, serif !important\"\n }\n },\n {\n \"selector\": \".fr-text--xs\",\n \"style\": {\n \"fontSize\": \"0.75rem !important\",\n \"lineHeight\": \"1.25rem !important\",\n \"margin\": \"var(--text-spacing)\"\n }\n },\n {\n \"selector\": \".fr-text--sm\",\n \"style\": {\n \"fontSize\": \"0.875rem !important\",\n \"lineHeight\": \"1.5rem !important\",\n \"margin\": \"var(--text-spacing)\"\n }\n },\n {\n \"selector\": \".fr-text--md\",\n \"style\": {\n \"fontSize\": \"1rem !important\",\n \"lineHeight\": \"1.5rem !important\",\n \"margin\": \"var(--text-spacing)\"\n }\n },\n {\n \"selector\": \".fr-text--lg\",\n \"style\": {\n \"fontSize\": \"1.125rem !important\",\n \"lineHeight\": \"1.75rem !important\",\n \"margin\": \"var(--text-spacing)\"\n }\n },\n {\n \"selector\": \".fr-text--xl\",\n \"style\": {\n \"fontSize\": \"1.25rem !important\",\n \"lineHeight\": \"2rem !important\",\n \"margin\": \"var(--text-spacing)\"\n }\n },\n {\n \"selector\": \".fr-text--lead\",\n \"style\": {\n \"fontSize\": \"1.25rem !important\",\n \"lineHeight\": \"2rem !important\",\n \"margin\": \"var(--text-spacing)\"\n }\n }\n];\n//# sourceMappingURL=typography.js.map","// This file is generated automatically by scripts/build/cssToTs/cssToTs.ts, please don't edit.\nexport const colorOptions = {\n \"grey\": {\n \"_1000_50\": {\n \"default\": \"var(--grey-1000-50)\",\n \"hover\": \"var(--grey-1000-50-hover)\",\n \"active\": \"var(--grey-1000-50-active)\"\n },\n \"_975_75\": {\n \"default\": \"var(--grey-975-75)\",\n \"hover\": \"var(--grey-975-75-hover)\",\n \"active\": \"var(--grey-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--grey-950-100)\",\n \"hover\": \"var(--grey-950-100-hover)\",\n \"active\": \"var(--grey-950-100-active)\"\n },\n \"_200_850\": {\n \"default\": \"var(--grey-200-850)\"\n },\n \"_925_125\": {\n \"default\": \"var(--grey-925-125)\"\n },\n \"_1000_75\": {\n \"default\": \"var(--grey-1000-75)\",\n \"hover\": \"var(--grey-1000-75-hover)\",\n \"active\": \"var(--grey-1000-75-active)\"\n },\n \"_1000_100\": {\n \"default\": \"var(--grey-1000-100)\",\n \"hover\": \"var(--grey-1000-100-hover)\",\n \"active\": \"var(--grey-1000-100-active)\"\n },\n \"_975_100\": {\n \"default\": \"var(--grey-975-100)\",\n \"hover\": \"var(--grey-975-100-hover)\",\n \"active\": \"var(--grey-975-100-active)\"\n },\n \"_975_125\": {\n \"default\": \"var(--grey-975-125)\",\n \"hover\": \"var(--grey-975-125-hover)\",\n \"active\": \"var(--grey-975-125-active)\"\n },\n \"_950_125\": {\n \"default\": \"var(--grey-950-125)\",\n \"hover\": \"var(--grey-950-125-hover)\",\n \"active\": \"var(--grey-950-125-active)\"\n },\n \"_950_150\": {\n \"default\": \"var(--grey-950-150)\",\n \"hover\": \"var(--grey-950-150-hover)\",\n \"active\": \"var(--grey-950-150-active)\"\n },\n \"_50_1000\": {\n \"default\": \"var(--grey-50-1000)\"\n },\n \"_425_625\": {\n \"default\": \"var(--grey-425-625)\"\n },\n \"_625_425\": {\n \"default\": \"var(--grey-625-425)\"\n },\n \"_0_1000\": {\n \"default\": \"var(--grey-0-1000)\"\n },\n \"_900_175\": {\n \"default\": \"var(--grey-900-175)\"\n }\n },\n \"blueFrance\": {\n \"_975_75\": {\n \"default\": \"var(--blue-france-975-75)\",\n \"hover\": \"var(--blue-france-975-75-hover)\",\n \"active\": \"var(--blue-france-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--blue-france-950-100)\",\n \"hover\": \"var(--blue-france-950-100-hover)\",\n \"active\": \"var(--blue-france-950-100-active)\"\n },\n \"sun113_625\": {\n \"default\": \"var(--blue-france-sun-113-625)\",\n \"hover\": \"var(--blue-france-sun-113-625-hover)\",\n \"active\": \"var(--blue-france-sun-113-625-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--blue-france-925-125)\",\n \"hover\": \"var(--blue-france-925-125-hover)\",\n \"active\": \"var(--blue-france-925-125-active)\"\n },\n \"_975sun113\": {\n \"default\": \"var(--blue-france-975-sun-113)\"\n },\n \"main525\": {\n \"default\": \"var(--blue-france-main-525)\"\n },\n \"_850_200\": {\n \"default\": \"var(--blue-france-850-200)\"\n }\n },\n \"redMarianne\": {\n \"_975_75\": {\n \"default\": \"var(--red-marianne-975-75)\",\n \"hover\": \"var(--red-marianne-975-75-hover)\",\n \"active\": \"var(--red-marianne-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--red-marianne-950-100)\",\n \"hover\": \"var(--red-marianne-950-100-hover)\",\n \"active\": \"var(--red-marianne-950-100-active)\"\n },\n \"_425_625\": {\n \"default\": \"var(--red-marianne-425-625)\",\n \"hover\": \"var(--red-marianne-425-625-hover)\",\n \"active\": \"var(--red-marianne-425-625-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--red-marianne-925-125)\",\n \"hover\": \"var(--red-marianne-925-125-hover)\",\n \"active\": \"var(--red-marianne-925-125-active)\"\n },\n \"main472\": {\n \"default\": \"var(--red-marianne-main-472)\"\n },\n \"_850_200\": {\n \"default\": \"var(--red-marianne-850-200)\"\n }\n },\n \"info\": {\n \"_950_100\": {\n \"default\": \"var(--info-950-100)\",\n \"hover\": \"var(--info-950-100-hover)\",\n \"active\": \"var(--info-950-100-active)\"\n },\n \"_425_625\": {\n \"default\": \"var(--info-425-625)\",\n \"hover\": \"var(--info-425-625-hover)\",\n \"active\": \"var(--info-425-625-active)\"\n },\n \"_975_75\": {\n \"default\": \"var(--info-975-75)\"\n }\n },\n \"success\": {\n \"_950_100\": {\n \"default\": \"var(--success-950-100)\",\n \"hover\": \"var(--success-950-100-hover)\",\n \"active\": \"var(--success-950-100-active)\"\n },\n \"_425_625\": {\n \"default\": \"var(--success-425-625)\",\n \"hover\": \"var(--success-425-625-hover)\",\n \"active\": \"var(--success-425-625-active)\"\n },\n \"_975_75\": {\n \"default\": \"var(--success-975-75)\"\n }\n },\n \"warning\": {\n \"_950_100\": {\n \"default\": \"var(--warning-950-100)\",\n \"hover\": \"var(--warning-950-100-hover)\",\n \"active\": \"var(--warning-950-100-active)\"\n },\n \"_425_625\": {\n \"default\": \"var(--warning-425-625)\",\n \"hover\": \"var(--warning-425-625-hover)\",\n \"active\": \"var(--warning-425-625-active)\"\n },\n \"_975_75\": {\n \"default\": \"var(--warning-975-75)\"\n }\n },\n \"error\": {\n \"_950_100\": {\n \"default\": \"var(--error-950-100)\",\n \"hover\": \"var(--error-950-100-hover)\",\n \"active\": \"var(--error-950-100-active)\"\n },\n \"_425_625\": {\n \"default\": \"var(--error-425-625)\",\n \"hover\": \"var(--error-425-625-hover)\",\n \"active\": \"var(--error-425-625-active)\"\n },\n \"_975_75\": {\n \"default\": \"var(--error-975-75)\"\n }\n },\n \"greenTilleulVerveine\": {\n \"_975_75\": {\n \"default\": \"var(--green-tilleul-verveine-975-75)\",\n \"hover\": \"var(--green-tilleul-verveine-975-75-hover)\",\n \"active\": \"var(--green-tilleul-verveine-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--green-tilleul-verveine-950-100)\",\n \"hover\": \"var(--green-tilleul-verveine-950-100-hover)\",\n \"active\": \"var(--green-tilleul-verveine-950-100-active)\"\n },\n \"sun418moon817\": {\n \"default\": \"var(--green-tilleul-verveine-sun-418-moon-817)\",\n \"hover\": \"var(--green-tilleul-verveine-sun-418-moon-817-hover)\",\n \"active\": \"var(--green-tilleul-verveine-sun-418-moon-817-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--green-tilleul-verveine-925-125)\",\n \"hover\": \"var(--green-tilleul-verveine-925-125-hover)\",\n \"active\": \"var(--green-tilleul-verveine-925-125-active)\"\n },\n \"main707\": {\n \"default\": \"var(--green-tilleul-verveine-main-707)\"\n },\n \"_850_200\": {\n \"default\": \"var(--green-tilleul-verveine-850-200)\"\n }\n },\n \"greenBourgeon\": {\n \"_975_75\": {\n \"default\": \"var(--green-bourgeon-975-75)\",\n \"hover\": \"var(--green-bourgeon-975-75-hover)\",\n \"active\": \"var(--green-bourgeon-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--green-bourgeon-950-100)\",\n \"hover\": \"var(--green-bourgeon-950-100-hover)\",\n \"active\": \"var(--green-bourgeon-950-100-active)\"\n },\n \"sun425moon759\": {\n \"default\": \"var(--green-bourgeon-sun-425-moon-759)\",\n \"hover\": \"var(--green-bourgeon-sun-425-moon-759-hover)\",\n \"active\": \"var(--green-bourgeon-sun-425-moon-759-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--green-bourgeon-925-125)\",\n \"hover\": \"var(--green-bourgeon-925-125-hover)\",\n \"active\": \"var(--green-bourgeon-925-125-active)\"\n },\n \"main640\": {\n \"default\": \"var(--green-bourgeon-main-640)\"\n },\n \"_850_200\": {\n \"default\": \"var(--green-bourgeon-850-200)\"\n }\n },\n \"greenEmeraude\": {\n \"_975_75\": {\n \"default\": \"var(--green-emeraude-975-75)\",\n \"hover\": \"var(--green-emeraude-975-75-hover)\",\n \"active\": \"var(--green-emeraude-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--green-emeraude-950-100)\",\n \"hover\": \"var(--green-emeraude-950-100-hover)\",\n \"active\": \"var(--green-emeraude-950-100-active)\"\n },\n \"sun425moon753\": {\n \"default\": \"var(--green-emeraude-sun-425-moon-753)\",\n \"hover\": \"var(--green-emeraude-sun-425-moon-753-hover)\",\n \"active\": \"var(--green-emeraude-sun-425-moon-753-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--green-emeraude-925-125)\",\n \"hover\": \"var(--green-emeraude-925-125-hover)\",\n \"active\": \"var(--green-emeraude-925-125-active)\"\n },\n \"main632\": {\n \"default\": \"var(--green-emeraude-main-632)\"\n },\n \"_850_200\": {\n \"default\": \"var(--green-emeraude-850-200)\"\n }\n },\n \"greenMenthe\": {\n \"_975_75\": {\n \"default\": \"var(--green-menthe-975-75)\",\n \"hover\": \"var(--green-menthe-975-75-hover)\",\n \"active\": \"var(--green-menthe-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--green-menthe-950-100)\",\n \"hover\": \"var(--green-menthe-950-100-hover)\",\n \"active\": \"var(--green-menthe-950-100-active)\"\n },\n \"sun373moon652\": {\n \"default\": \"var(--green-menthe-sun-373-moon-652)\",\n \"hover\": \"var(--green-menthe-sun-373-moon-652-hover)\",\n \"active\": \"var(--green-menthe-sun-373-moon-652-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--green-menthe-925-125)\",\n \"hover\": \"var(--green-menthe-925-125-hover)\",\n \"active\": \"var(--green-menthe-925-125-active)\"\n },\n \"main548\": {\n \"default\": \"var(--green-menthe-main-548)\"\n },\n \"_850_200\": {\n \"default\": \"var(--green-menthe-850-200)\"\n }\n },\n \"greenArchipel\": {\n \"_975_75\": {\n \"default\": \"var(--green-archipel-975-75)\",\n \"hover\": \"var(--green-archipel-975-75-hover)\",\n \"active\": \"var(--green-archipel-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--green-archipel-950-100)\",\n \"hover\": \"var(--green-archipel-950-100-hover)\",\n \"active\": \"var(--green-archipel-950-100-active)\"\n },\n \"sun391moon716\": {\n \"default\": \"var(--green-archipel-sun-391-moon-716)\",\n \"hover\": \"var(--green-archipel-sun-391-moon-716-hover)\",\n \"active\": \"var(--green-archipel-sun-391-moon-716-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--green-archipel-925-125)\",\n \"hover\": \"var(--green-archipel-925-125-hover)\",\n \"active\": \"var(--green-archipel-925-125-active)\"\n },\n \"main557\": {\n \"default\": \"var(--green-archipel-main-557)\"\n },\n \"_850_200\": {\n \"default\": \"var(--green-archipel-850-200)\"\n }\n },\n \"blueEcume\": {\n \"_975_75\": {\n \"default\": \"var(--blue-ecume-975-75)\",\n \"hover\": \"var(--blue-ecume-975-75-hover)\",\n \"active\": \"var(--blue-ecume-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--blue-ecume-950-100)\",\n \"hover\": \"var(--blue-ecume-950-100-hover)\",\n \"active\": \"var(--blue-ecume-950-100-active)\"\n },\n \"sun247moon675\": {\n \"default\": \"var(--blue-ecume-sun-247-moon-675)\",\n \"hover\": \"var(--blue-ecume-sun-247-moon-675-hover)\",\n \"active\": \"var(--blue-ecume-sun-247-moon-675-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--blue-ecume-925-125)\",\n \"hover\": \"var(--blue-ecume-925-125-hover)\",\n \"active\": \"var(--blue-ecume-925-125-active)\"\n },\n \"main400\": {\n \"default\": \"var(--blue-ecume-main-400)\"\n },\n \"_850_200\": {\n \"default\": \"var(--blue-ecume-850-200)\"\n }\n },\n \"blueCumulus\": {\n \"_975_75\": {\n \"default\": \"var(--blue-cumulus-975-75)\",\n \"hover\": \"var(--blue-cumulus-975-75-hover)\",\n \"active\": \"var(--blue-cumulus-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--blue-cumulus-950-100)\",\n \"hover\": \"var(--blue-cumulus-950-100-hover)\",\n \"active\": \"var(--blue-cumulus-950-100-active)\"\n },\n \"sun368moon732\": {\n \"default\": \"var(--blue-cumulus-sun-368-moon-732)\",\n \"hover\": \"var(--blue-cumulus-sun-368-moon-732-hover)\",\n \"active\": \"var(--blue-cumulus-sun-368-moon-732-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--blue-cumulus-925-125)\",\n \"hover\": \"var(--blue-cumulus-925-125-hover)\",\n \"active\": \"var(--blue-cumulus-925-125-active)\"\n },\n \"main526\": {\n \"default\": \"var(--blue-cumulus-main-526)\"\n },\n \"_850_200\": {\n \"default\": \"var(--blue-cumulus-850-200)\"\n }\n },\n \"purpleGlycine\": {\n \"_975_75\": {\n \"default\": \"var(--purple-glycine-975-75)\",\n \"hover\": \"var(--purple-glycine-975-75-hover)\",\n \"active\": \"var(--purple-glycine-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--purple-glycine-950-100)\",\n \"hover\": \"var(--purple-glycine-950-100-hover)\",\n \"active\": \"var(--purple-glycine-950-100-active)\"\n },\n \"sun319moon630\": {\n \"default\": \"var(--purple-glycine-sun-319-moon-630)\",\n \"hover\": \"var(--purple-glycine-sun-319-moon-630-hover)\",\n \"active\": \"var(--purple-glycine-sun-319-moon-630-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--purple-glycine-925-125)\",\n \"hover\": \"var(--purple-glycine-925-125-hover)\",\n \"active\": \"var(--purple-glycine-925-125-active)\"\n },\n \"main494\": {\n \"default\": \"var(--purple-glycine-main-494)\"\n },\n \"_850_200\": {\n \"default\": \"var(--purple-glycine-850-200)\"\n }\n },\n \"pinkMacaron\": {\n \"_975_75\": {\n \"default\": \"var(--pink-macaron-975-75)\",\n \"hover\": \"var(--pink-macaron-975-75-hover)\",\n \"active\": \"var(--pink-macaron-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--pink-macaron-950-100)\",\n \"hover\": \"var(--pink-macaron-950-100-hover)\",\n \"active\": \"var(--pink-macaron-950-100-active)\"\n },\n \"sun406moon833\": {\n \"default\": \"var(--pink-macaron-sun-406-moon-833)\",\n \"hover\": \"var(--pink-macaron-sun-406-moon-833-hover)\",\n \"active\": \"var(--pink-macaron-sun-406-moon-833-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--pink-macaron-925-125)\",\n \"hover\": \"var(--pink-macaron-925-125-hover)\",\n \"active\": \"var(--pink-macaron-925-125-active)\"\n },\n \"main689\": {\n \"default\": \"var(--pink-macaron-main-689)\"\n },\n \"_850_200\": {\n \"default\": \"var(--pink-macaron-850-200)\"\n }\n },\n \"pinkTuile\": {\n \"_975_75\": {\n \"default\": \"var(--pink-tuile-975-75)\",\n \"hover\": \"var(--pink-tuile-975-75-hover)\",\n \"active\": \"var(--pink-tuile-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--pink-tuile-950-100)\",\n \"hover\": \"var(--pink-tuile-950-100-hover)\",\n \"active\": \"var(--pink-tuile-950-100-active)\"\n },\n \"sun425moon750\": {\n \"default\": \"var(--pink-tuile-sun-425-moon-750)\",\n \"hover\": \"var(--pink-tuile-sun-425-moon-750-hover)\",\n \"active\": \"var(--pink-tuile-sun-425-moon-750-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--pink-tuile-925-125)\",\n \"hover\": \"var(--pink-tuile-925-125-hover)\",\n \"active\": \"var(--pink-tuile-925-125-active)\"\n },\n \"main556\": {\n \"default\": \"var(--pink-tuile-main-556)\"\n },\n \"_850_200\": {\n \"default\": \"var(--pink-tuile-850-200)\"\n }\n },\n \"yellowTournesol\": {\n \"_975_75\": {\n \"default\": \"var(--yellow-tournesol-975-75)\",\n \"hover\": \"var(--yellow-tournesol-975-75-hover)\",\n \"active\": \"var(--yellow-tournesol-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--yellow-tournesol-950-100)\",\n \"hover\": \"var(--yellow-tournesol-950-100-hover)\",\n \"active\": \"var(--yellow-tournesol-950-100-active)\"\n },\n \"sun407moon922\": {\n \"default\": \"var(--yellow-tournesol-sun-407-moon-922)\",\n \"hover\": \"var(--yellow-tournesol-sun-407-moon-922-hover)\",\n \"active\": \"var(--yellow-tournesol-sun-407-moon-922-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--yellow-tournesol-925-125)\",\n \"hover\": \"var(--yellow-tournesol-925-125-hover)\",\n \"active\": \"var(--yellow-tournesol-925-125-active)\"\n },\n \"main731\": {\n \"default\": \"var(--yellow-tournesol-main-731)\"\n },\n \"_850_200\": {\n \"default\": \"var(--yellow-tournesol-850-200)\"\n }\n },\n \"yellowMoutarde\": {\n \"_975_75\": {\n \"default\": \"var(--yellow-moutarde-975-75)\",\n \"hover\": \"var(--yellow-moutarde-975-75-hover)\",\n \"active\": \"var(--yellow-moutarde-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--yellow-moutarde-950-100)\",\n \"hover\": \"var(--yellow-moutarde-950-100-hover)\",\n \"active\": \"var(--yellow-moutarde-950-100-active)\"\n },\n \"sun348moon860\": {\n \"default\": \"var(--yellow-moutarde-sun-348-moon-860)\",\n \"hover\": \"var(--yellow-moutarde-sun-348-moon-860-hover)\",\n \"active\": \"var(--yellow-moutarde-sun-348-moon-860-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--yellow-moutarde-925-125)\",\n \"hover\": \"var(--yellow-moutarde-925-125-hover)\",\n \"active\": \"var(--yellow-moutarde-925-125-active)\"\n },\n \"main679\": {\n \"default\": \"var(--yellow-moutarde-main-679)\"\n },\n \"_850_200\": {\n \"default\": \"var(--yellow-moutarde-850-200)\"\n }\n },\n \"orangeTerreBattue\": {\n \"_975_75\": {\n \"default\": \"var(--orange-terre-battue-975-75)\",\n \"hover\": \"var(--orange-terre-battue-975-75-hover)\",\n \"active\": \"var(--orange-terre-battue-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--orange-terre-battue-950-100)\",\n \"hover\": \"var(--orange-terre-battue-950-100-hover)\",\n \"active\": \"var(--orange-terre-battue-950-100-active)\"\n },\n \"sun370moon672\": {\n \"default\": \"var(--orange-terre-battue-sun-370-moon-672)\",\n \"hover\": \"var(--orange-terre-battue-sun-370-moon-672-hover)\",\n \"active\": \"var(--orange-terre-battue-sun-370-moon-672-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--orange-terre-battue-925-125)\",\n \"hover\": \"var(--orange-terre-battue-925-125-hover)\",\n \"active\": \"var(--orange-terre-battue-925-125-active)\"\n },\n \"main645\": {\n \"default\": \"var(--orange-terre-battue-main-645)\"\n },\n \"_850_200\": {\n \"default\": \"var(--orange-terre-battue-850-200)\"\n }\n },\n \"brownCafeCreme\": {\n \"_975_75\": {\n \"default\": \"var(--brown-cafe-creme-975-75)\",\n \"hover\": \"var(--brown-cafe-creme-975-75-hover)\",\n \"active\": \"var(--brown-cafe-creme-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--brown-cafe-creme-950-100)\",\n \"hover\": \"var(--brown-cafe-creme-950-100-hover)\",\n \"active\": \"var(--brown-cafe-creme-950-100-active)\"\n },\n \"sun383moon885\": {\n \"default\": \"var(--brown-cafe-creme-sun-383-moon-885)\",\n \"hover\": \"var(--brown-cafe-creme-sun-383-moon-885-hover)\",\n \"active\": \"var(--brown-cafe-creme-sun-383-moon-885-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--brown-cafe-creme-925-125)\",\n \"hover\": \"var(--brown-cafe-creme-925-125-hover)\",\n \"active\": \"var(--brown-cafe-creme-925-125-active)\"\n },\n \"main782\": {\n \"default\": \"var(--brown-cafe-creme-main-782)\"\n },\n \"_850_200\": {\n \"default\": \"var(--brown-cafe-creme-850-200)\"\n }\n },\n \"brownCaramel\": {\n \"_975_75\": {\n \"default\": \"var(--brown-caramel-975-75)\",\n \"hover\": \"var(--brown-caramel-975-75-hover)\",\n \"active\": \"var(--brown-caramel-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--brown-caramel-950-100)\",\n \"hover\": \"var(--brown-caramel-950-100-hover)\",\n \"active\": \"var(--brown-caramel-950-100-active)\"\n },\n \"sun425moon901\": {\n \"default\": \"var(--brown-caramel-sun-425-moon-901)\",\n \"hover\": \"var(--brown-caramel-sun-425-moon-901-hover)\",\n \"active\": \"var(--brown-caramel-sun-425-moon-901-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--brown-caramel-925-125)\",\n \"hover\": \"var(--brown-caramel-925-125-hover)\",\n \"active\": \"var(--brown-caramel-925-125-active)\"\n },\n \"main648\": {\n \"default\": \"var(--brown-caramel-main-648)\"\n },\n \"_850_200\": {\n \"default\": \"var(--brown-caramel-850-200)\"\n }\n },\n \"brownOpera\": {\n \"_975_75\": {\n \"default\": \"var(--brown-opera-975-75)\",\n \"hover\": \"var(--brown-opera-975-75-hover)\",\n \"active\": \"var(--brown-opera-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--brown-opera-950-100)\",\n \"hover\": \"var(--brown-opera-950-100-hover)\",\n \"active\": \"var(--brown-opera-950-100-active)\"\n },\n \"sun395moon820\": {\n \"default\": \"var(--brown-opera-sun-395-moon-820)\",\n \"hover\": \"var(--brown-opera-sun-395-moon-820-hover)\",\n \"active\": \"var(--brown-opera-sun-395-moon-820-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--brown-opera-925-125)\",\n \"hover\": \"var(--brown-opera-925-125-hover)\",\n \"active\": \"var(--brown-opera-925-125-active)\"\n },\n \"main680\": {\n \"default\": \"var(--brown-opera-main-680)\"\n },\n \"_850_200\": {\n \"default\": \"var(--brown-opera-850-200)\"\n }\n },\n \"beigeGrisGalet\": {\n \"_975_75\": {\n \"default\": \"var(--beige-gris-galet-975-75)\",\n \"hover\": \"var(--beige-gris-galet-975-75-hover)\",\n \"active\": \"var(--beige-gris-galet-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--beige-gris-galet-950-100)\",\n \"hover\": \"var(--beige-gris-galet-950-100-hover)\",\n \"active\": \"var(--beige-gris-galet-950-100-active)\"\n },\n \"sun407moon821\": {\n \"default\": \"var(--beige-gris-galet-sun-407-moon-821)\",\n \"hover\": \"var(--beige-gris-galet-sun-407-moon-821-hover)\",\n \"active\": \"var(--beige-gris-galet-sun-407-moon-821-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--beige-gris-galet-925-125)\",\n \"hover\": \"var(--beige-gris-galet-925-125-hover)\",\n \"active\": \"var(--beige-gris-galet-925-125-active)\"\n },\n \"main702\": {\n \"default\": \"var(--beige-gris-galet-main-702)\"\n },\n \"_850_200\": {\n \"default\": \"var(--beige-gris-galet-850-200)\"\n }\n }\n};\n//# sourceMappingURL=colorOptions.js.map","// This file is generated automatically by scripts/build/cssToTs/cssToTs.ts, please don't edit.\nexport function getColorOptionsHex(params) {\n const { isDark } = params;\n return {\n \"grey\": {\n \"_1000_50\": {\n \"default\": isDark ? \"#161616\" : \"#ffffff\",\n \"hover\": isDark ? \"#343434\" : \"#f6f6f6\",\n \"active\": isDark ? \"#474747\" : \"#ededed\"\n },\n \"_975_75\": {\n \"default\": isDark ? \"#1e1e1e\" : \"#f6f6f6\",\n \"hover\": isDark ? \"#3f3f3f\" : \"#dfdfdf\",\n \"active\": isDark ? \"#525252\" : \"#cfcfcf\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#242424\" : \"#eeeeee\",\n \"hover\": isDark ? \"#474747\" : \"#d2d2d2\",\n \"active\": isDark ? \"#5b5b5b\" : \"#c1c1c1\"\n },\n \"_200_850\": {\n \"default\": isDark ? \"#cecece\" : \"#3a3a3a\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#2a2a2a\" : \"#e5e5e5\"\n },\n \"_1000_75\": {\n \"default\": isDark ? \"#1e1e1e\" : \"#ffffff\",\n \"hover\": isDark ? \"#3f3f3f\" : \"#f6f6f6\",\n \"active\": isDark ? \"#525252\" : \"#ededed\"\n },\n \"_1000_100\": {\n \"default\": isDark ? \"#242424\" : \"#ffffff\",\n \"hover\": isDark ? \"#474747\" : \"#f6f6f6\",\n \"active\": isDark ? \"#5b5b5b\" : \"#ededed\"\n },\n \"_975_100\": {\n \"default\": isDark ? \"#242424\" : \"#f6f6f6\",\n \"hover\": isDark ? \"#474747\" : \"#dfdfdf\",\n \"active\": isDark ? \"#5b5b5b\" : \"#cfcfcf\"\n },\n \"_975_125\": {\n \"default\": isDark ? \"#2a2a2a\" : \"#f6f6f6\",\n \"hover\": isDark ? \"#4e4e4e\" : \"#dfdfdf\",\n \"active\": isDark ? \"#636363\" : \"#cfcfcf\"\n },\n \"_950_125\": {\n \"default\": isDark ? \"#2a2a2a\" : \"#eeeeee\",\n \"hover\": isDark ? \"#4e4e4e\" : \"#d2d2d2\",\n \"active\": isDark ? \"#636363\" : \"#c1c1c1\"\n },\n \"_950_150\": {\n \"default\": isDark ? \"#2f2f2f\" : \"#eeeeee\",\n \"hover\": isDark ? \"#545454\" : \"#d2d2d2\",\n \"active\": isDark ? \"#696969\" : \"#c1c1c1\"\n },\n \"_50_1000\": {\n \"default\": isDark ? \"#ffffff\" : \"#161616\"\n },\n \"_425_625\": {\n \"default\": isDark ? \"#929292\" : \"#666666\"\n },\n \"_625_425\": {\n \"default\": isDark ? \"#666666\" : \"#929292\"\n },\n \"_0_1000\": {\n \"default\": isDark ? \"#ffffff\" : \"#0\"\n },\n \"_900_175\": {\n \"default\": isDark ? \"#353535\" : \"#dddddd\"\n }\n },\n \"blueFrance\": {\n \"_975_75\": {\n \"default\": isDark ? \"#1b1b35\" : \"#f5f5fe\",\n \"hover\": isDark ? \"#3a3a68\" : \"#dcdcfc\",\n \"active\": isDark ? \"#4d4d83\" : \"#cbcbfa\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#21213f\" : \"#ececfe\",\n \"hover\": isDark ? \"#424275\" : \"#cecefc\",\n \"active\": isDark ? \"#56568c\" : \"#bbbbfc\"\n },\n \"sun113_625\": {\n \"default\": isDark ? \"#8585f6\" : \"#000091\",\n \"hover\": isDark ? \"#b1b1f9\" : \"#1212ff\",\n \"active\": isDark ? \"#c6c6fb\" : \"#2323ff\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#272747\" : \"#e3e3fd\",\n \"hover\": isDark ? \"#4a4a7d\" : \"#c1c1fb\",\n \"active\": isDark ? \"#5e5e90\" : \"#adadf9\"\n },\n \"_975sun113\": {\n \"default\": isDark ? \"#000091\" : \"#f5f5fe\"\n },\n \"main525\": {\n \"default\": \"#6a6af4\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#313178\" : \"#cacafb\"\n }\n },\n \"redMarianne\": {\n \"_975_75\": {\n \"default\": isDark ? \"#2b1919\" : \"#fef4f4\",\n \"hover\": isDark ? \"#573737\" : \"#fcd7d7\",\n \"active\": isDark ? \"#704848\" : \"#fac4c4\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#331f1f\" : \"#fee9e9\",\n \"hover\": isDark ? \"#613f3f\" : \"#fdc5c5\",\n \"active\": isDark ? \"#7b5151\" : \"#fcafaf\"\n },\n \"_425_625\": {\n \"default\": isDark ? \"#f95c5e\" : \"#c9191e\",\n \"hover\": isDark ? \"#fa9293\" : \"#f93f42\",\n \"active\": isDark ? \"#fbabac\" : \"#f95a5c\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#3b2424\" : \"#fddede\",\n \"hover\": isDark ? \"#6b4545\" : \"#fbb6b6\",\n \"active\": isDark ? \"#865757\" : \"#fa9e9e\"\n },\n \"main472\": {\n \"default\": \"#e1000f\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#5e2a2b\" : \"#fcbfbf\"\n }\n },\n \"info\": {\n \"_950_100\": {\n \"default\": isDark ? \"#1d2437\" : \"#e8edff\",\n \"hover\": isDark ? \"#3b4767\" : \"#c2d1ff\",\n \"active\": isDark ? \"#4c5b83\" : \"#a9bfff\"\n },\n \"_425_625\": {\n \"default\": isDark ? \"#518fff\" : \"#0063cb\",\n \"hover\": isDark ? \"#98b4ff\" : \"#3b87ff\",\n \"active\": isDark ? \"#b4c7ff\" : \"#6798ff\"\n },\n \"_975_75\": {\n \"default\": isDark ? \"#171d2e\" : \"#f4f6ff\"\n }\n },\n \"success\": {\n \"_950_100\": {\n \"default\": isDark ? \"#19271d\" : \"#b8fec9\",\n \"hover\": isDark ? \"#344c3b\" : \"#46fd89\",\n \"active\": isDark ? \"#44624d\" : \"#34eb7b\"\n },\n \"_425_625\": {\n \"default\": isDark ? \"#27a658\" : \"#18753c\",\n \"hover\": isDark ? \"#36d975\" : \"#27a959\",\n \"active\": isDark ? \"#3df183\" : \"#2fc368\"\n },\n \"_975_75\": {\n \"default\": isDark ? \"#142117\" : \"#dffee6\"\n }\n },\n \"warning\": {\n \"_950_100\": {\n \"default\": isDark ? \"#361e19\" : \"#ffe9e6\",\n \"hover\": isDark ? \"#663d35\" : \"#ffc6bd\",\n \"active\": isDark ? \"#824f44\" : \"#ffb0a2\"\n },\n \"_425_625\": {\n \"default\": isDark ? \"#fc5d00\" : \"#b34000\",\n \"hover\": isDark ? \"#ff8c73\" : \"#ff6218\",\n \"active\": isDark ? \"#ffa595\" : \"#ff7a55\"\n },\n \"_975_75\": {\n \"default\": isDark ? \"#2d1814\" : \"#fff4f3\"\n }\n },\n \"error\": {\n \"_950_100\": {\n \"default\": isDark ? \"#391c1c\" : \"#ffe9e9\",\n \"hover\": isDark ? \"#6c3a3a\" : \"#ffc5c5\",\n \"active\": isDark ? \"#894b4b\" : \"#ffafaf\"\n },\n \"_425_625\": {\n \"default\": isDark ? \"#ff5655\" : \"#ce0500\",\n \"hover\": isDark ? \"#ff8c8c\" : \"#ff2725\",\n \"active\": isDark ? \"#ffa6a6\" : \"#ff4140\"\n },\n \"_975_75\": {\n \"default\": isDark ? \"#301717\" : \"#fff4f4\"\n }\n },\n \"greenTilleulVerveine\": {\n \"_975_75\": {\n \"default\": isDark ? \"#201e14\" : \"#fef7da\",\n \"hover\": isDark ? \"#433f2e\" : \"#fce552\",\n \"active\": isDark ? \"#57533d\" : \"#ebd54c\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#272419\" : \"#fceeac\",\n \"hover\": isDark ? \"#4c4734\" : \"#e8d45c\",\n \"active\": isDark ? \"#615b44\" : \"#d4c254\"\n },\n \"sun418moon817\": {\n \"default\": isDark ? \"#d8c634\" : \"#66673d\",\n \"hover\": isDark ? \"#fee943\" : \"#929359\",\n \"active\": isDark ? \"#fef1ab\" : \"#a7a967\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#2d2a1d\" : \"#fbe769\",\n \"hover\": isDark ? \"#534f39\" : \"#d7c655\",\n \"active\": isDark ? \"#696349\" : \"#c2b24c\"\n },\n \"main707\": {\n \"default\": \"#b7a73f\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#3f3a20\" : \"#e2cf58\"\n }\n },\n \"greenBourgeon\": {\n \"_975_75\": {\n \"default\": isDark ? \"#182014\" : \"#e6feda\",\n \"hover\": isDark ? \"#35432e\" : \"#a7fc62\",\n \"active\": isDark ? \"#46573d\" : \"#98ed4d\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#1e2719\" : \"#c9fcac\",\n \"hover\": isDark ? \"#3d4c34\" : \"#9ae95d\",\n \"active\": isDark ? \"#4e6144\" : \"#8dd555\"\n },\n \"sun425moon759\": {\n \"default\": isDark ? \"#99c221\" : \"#447049\",\n \"hover\": isDark ? \"#baec2a\" : \"#639f6a\",\n \"active\": isDark ? \"#c9fd2e\" : \"#72b77a\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#232d1d\" : \"#a9fb68\",\n \"hover\": isDark ? \"#435339\" : \"#8ed654\",\n \"active\": isDark ? \"#556949\" : \"#7fc04b\"\n },\n \"main640\": {\n \"default\": \"#68a532\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#2a401a\" : \"#95e257\"\n }\n },\n \"greenEmeraude\": {\n \"_975_75\": {\n \"default\": isDark ? \"#142018\" : \"#e3fdeb\",\n \"hover\": isDark ? \"#2e4335\" : \"#94f9b9\",\n \"active\": isDark ? \"#3d5846\" : \"#6df1a3\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#19271e\" : \"#c3fad5\",\n \"hover\": isDark ? \"#344c3d\" : \"#77eda5\",\n \"active\": isDark ? \"#44624f\" : \"#6dd897\"\n },\n \"sun425moon753\": {\n \"default\": isDark ? \"#34cb6a\" : \"#297254\",\n \"hover\": isDark ? \"#42fb84\" : \"#3ea47a\",\n \"active\": isDark ? \"#80fda3\" : \"#49bc8d\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#1e2e23\" : \"#9ef9be\",\n \"hover\": isDark ? \"#3b5543\" : \"#69df97\",\n \"active\": isDark ? \"#4b6b55\" : \"#5ec988\"\n },\n \"main632\": {\n \"default\": \"#00a95f\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#21402c\" : \"#6fe49d\"\n }\n },\n \"greenMenthe\": {\n \"_975_75\": {\n \"default\": isDark ? \"#15201e\" : \"#dffdf7\",\n \"hover\": isDark ? \"#30433f\" : \"#84f9e7\",\n \"active\": isDark ? \"#3f5753\" : \"#70ebd8\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#1a2624\" : \"#bafaee\",\n \"hover\": isDark ? \"#364b47\" : \"#79e7d5\",\n \"active\": isDark ? \"#46605b\" : \"#6fd3c3\"\n },\n \"sun373moon652\": {\n \"default\": isDark ? \"#21ab8e\" : \"#37635f\",\n \"hover\": isDark ? \"#2eddb8\" : \"#53918c\",\n \"active\": isDark ? \"#34f4cc\" : \"#62a9a2\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#1f2d2a\" : \"#8bf8e7\",\n \"hover\": isDark ? \"#3c534e\" : \"#6ed5c5\",\n \"active\": isDark ? \"#4d6963\" : \"#62bfb1\"\n },\n \"main548\": {\n \"default\": \"#009081\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#223f3a\" : \"#73e0cf\"\n }\n },\n \"greenArchipel\": {\n \"_975_75\": {\n \"default\": isDark ? \"#152021\" : \"#e5fbfd\",\n \"hover\": isDark ? \"#2f4345\" : \"#99f2f8\",\n \"active\": isDark ? \"#3f5759\" : \"#73e9f0\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#1a2628\" : \"#c7f6fc\",\n \"hover\": isDark ? \"#364a4e\" : \"#64ecf8\",\n \"active\": isDark ? \"#465f63\" : \"#5bd8e3\"\n },\n \"sun391moon716\": {\n \"default\": isDark ? \"#34bab5\" : \"#006a6f\",\n \"hover\": isDark ? \"#43e9e2\" : \"#009fa7\",\n \"active\": isDark ? \"#4cfdf6\" : \"#00bbc3\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#1f2c2e\" : \"#a6f2fa\",\n \"hover\": isDark ? \"#3c5255\" : \"#62dbe5\",\n \"active\": isDark ? \"#4d676b\" : \"#58c5cf\"\n },\n \"main557\": {\n \"default\": \"#009099\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#233e41\" : \"#60e0eb\"\n }\n },\n \"blueEcume\": {\n \"_975_75\": {\n \"default\": isDark ? \"#171d2f\" : \"#f4f6fe\",\n \"hover\": isDark ? \"#333e5e\" : \"#d7dffb\",\n \"active\": isDark ? \"#445179\" : \"#c3cffa\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#1d2437\" : \"#e9edfe\",\n \"hover\": isDark ? \"#3b4767\" : \"#c5d0fc\",\n \"active\": isDark ? \"#4c5b83\" : \"#adbffc\"\n },\n \"sun247moon675\": {\n \"default\": isDark ? \"#869ece\" : \"#2f4077\",\n \"hover\": isDark ? \"#b8c5e2\" : \"#4e68bb\",\n \"active\": isDark ? \"#ced6ea\" : \"#667dcf\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#222940\" : \"#dee5fd\",\n \"hover\": isDark ? \"#424d73\" : \"#b4c5fb\",\n \"active\": isDark ? \"#536190\" : \"#99b3f9\"\n },\n \"main400\": {\n \"default\": \"#465f9d\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#273962\" : \"#bfccfb\"\n }\n },\n \"blueCumulus\": {\n \"_975_75\": {\n \"default\": isDark ? \"#171e2b\" : \"#f3f6fe\",\n \"hover\": isDark ? \"#333f56\" : \"#d3dffc\",\n \"active\": isDark ? \"#43536f\" : \"#bed0fa\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#1c2433\" : \"#e6eefe\",\n \"hover\": isDark ? \"#3a4761\" : \"#bcd3fc\",\n \"active\": isDark ? \"#4a5b7b\" : \"#9fc3fc\"\n },\n \"sun368moon732\": {\n \"default\": isDark ? \"#7ab1e8\" : \"#3558a2\",\n \"hover\": isDark ? \"#bad2f2\" : \"#5982e0\",\n \"active\": isDark ? \"#d2e2f6\" : \"#7996e6\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#212a3a\" : \"#dae6fd\",\n \"hover\": isDark ? \"#404f69\" : \"#a9c8fb\",\n \"active\": isDark ? \"#516384\" : \"#8ab8f9\"\n },\n \"main526\": {\n \"default\": \"#417dc4\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#263b58\" : \"#b6cffb\"\n }\n },\n \"purpleGlycine\": {\n \"_975_75\": {\n \"default\": isDark ? \"#251a24\" : \"#fef3fd\",\n \"hover\": isDark ? \"#4c394a\" : \"#fcd4f8\",\n \"active\": isDark ? \"#634a60\" : \"#fabff5\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#2c202b\" : \"#fee7fc\",\n \"hover\": isDark ? \"#554053\" : \"#fdc0f8\",\n \"active\": isDark ? \"#6c536a\" : \"#fca8f6\"\n },\n \"sun319moon630\": {\n \"default\": isDark ? \"#ce70cc\" : \"#6e445a\",\n \"hover\": isDark ? \"#dfa4dd\" : \"#a66989\",\n \"active\": isDark ? \"#e7bbe6\" : \"#bb7f9e\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#332632\" : \"#fddbfa\",\n \"hover\": isDark ? \"#5d485c\" : \"#fbaff5\",\n \"active\": isDark ? \"#755b73\" : \"#fa96f2\"\n },\n \"main494\": {\n \"default\": \"#a558a0\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#502e4d\" : \"#fbb8f6\"\n }\n },\n \"pinkMacaron\": {\n \"_975_75\": {\n \"default\": isDark ? \"#261b19\" : \"#fef4f2\",\n \"hover\": isDark ? \"#4e3a37\" : \"#fcd8d0\",\n \"active\": isDark ? \"#654c48\" : \"#fac5b8\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#2e211f\" : \"#fee9e6\",\n \"hover\": isDark ? \"#58423f\" : \"#fdc6bd\",\n \"active\": isDark ? \"#705551\" : \"#fcb0a2\"\n },\n \"sun406moon833\": {\n \"default\": isDark ? \"#ffb7ae\" : \"#8d533e\",\n \"hover\": isDark ? \"#ffe0dc\" : \"#ca795c\",\n \"active\": isDark ? \"#fff0ee\" : \"#e08e73\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#352724\" : \"#fddfda\",\n \"hover\": isDark ? \"#614a45\" : \"#fbb8ab\",\n \"active\": isDark ? \"#795d57\" : \"#faa18d\"\n },\n \"main689\": {\n \"default\": \"#e18b76\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#52312a\" : \"#fcc0b4\"\n }\n },\n \"pinkTuile\": {\n \"_975_75\": {\n \"default\": isDark ? \"#281b19\" : \"#fef4f3\",\n \"hover\": isDark ? \"#513a37\" : \"#fcd7d3\",\n \"active\": isDark ? \"#694c48\" : \"#fac4be\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#2f211f\" : \"#fee9e7\",\n \"hover\": isDark ? \"#5a423e\" : \"#fdc6c0\",\n \"active\": isDark ? \"#725550\" : \"#fcb0a7\"\n },\n \"sun425moon750\": {\n \"default\": isDark ? \"#ff9575\" : \"#a94645\",\n \"hover\": isDark ? \"#ffc4b7\" : \"#d5706f\",\n \"active\": isDark ? \"#ffd8d0\" : \"#da8a89\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#372624\" : \"#fddfdb\",\n \"hover\": isDark ? \"#644845\" : \"#fbb8ad\",\n \"active\": isDark ? \"#7d5b57\" : \"#faa191\"\n },\n \"main556\": {\n \"default\": \"#ce614a\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#55302a\" : \"#fcbfb7\"\n }\n },\n \"yellowTournesol\": {\n \"_975_75\": {\n \"default\": isDark ? \"#221d11\" : \"#fef6e3\",\n \"hover\": isDark ? \"#473e29\" : \"#fce086\",\n \"active\": isDark ? \"#5c5136\" : \"#f5d24b\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#292416\" : \"#feecc2\",\n \"hover\": isDark ? \"#4f472f\" : \"#fbd335\",\n \"active\": isDark ? \"#655b3d\" : \"#e6c130\"\n },\n \"sun407moon922\": {\n \"default\": isDark ? \"#ffe552\" : \"#716043\",\n \"hover\": isDark ? \"#e1c700\" : \"#a28a62\",\n \"active\": isDark ? \"#cab300\" : \"#ba9f72\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#302a1a\" : \"#fde39c\",\n \"hover\": isDark ? \"#584e34\" : \"#e9c53b\",\n \"active\": isDark ? \"#6f6342\" : \"#d3b235\"\n },\n \"main731\": {\n \"default\": \"#c8aa39\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#43391a\" : \"#efcb3a\"\n }\n },\n \"yellowMoutarde\": {\n \"_975_75\": {\n \"default\": isDark ? \"#231d14\" : \"#fef5e8\",\n \"hover\": isDark ? \"#483e2e\" : \"#fcdca3\",\n \"active\": isDark ? \"#5e513d\" : \"#fbcd64\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#2a2319\" : \"#feebd0\",\n \"hover\": isDark ? \"#514534\" : \"#fdcd6d\",\n \"active\": isDark ? \"#685944\" : \"#f4be30\"\n },\n \"sun348moon860\": {\n \"default\": isDark ? \"#ffca00\" : \"#695240\",\n \"hover\": isDark ? \"#cda200\" : \"#9b7b61\",\n \"active\": isDark ? \"#b28c00\" : \"#b58f72\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#30291d\" : \"#fde2b5\",\n \"hover\": isDark ? \"#584d39\" : \"#f6c43c\",\n \"active\": isDark ? \"#6f6149\" : \"#dfb135\"\n },\n \"main679\": {\n \"default\": \"#c3992a\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#453820\" : \"#fcc63a\"\n }\n },\n \"orangeTerreBattue\": {\n \"_975_75\": {\n \"default\": isDark ? \"#281a16\" : \"#fef4f2\",\n \"hover\": isDark ? \"#513932\" : \"#fcd8d0\",\n \"active\": isDark ? \"#6a4b42\" : \"#fac5b8\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#31201c\" : \"#fee9e5\",\n \"hover\": isDark ? \"#5d403a\" : \"#fdc6ba\",\n \"active\": isDark ? \"#77534a\" : \"#fcb09e\"\n },\n \"sun370moon672\": {\n \"default\": isDark ? \"#ff732c\" : \"#755348\",\n \"hover\": isDark ? \"#ffa48b\" : \"#ab7b6b\",\n \"active\": isDark ? \"#ffbbab\" : \"#c68f7d\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#382621\" : \"#fddfd8\",\n \"hover\": isDark ? \"#664840\" : \"#fbb8a5\",\n \"active\": isDark ? \"#7f5b51\" : \"#faa184\"\n },\n \"main645\": {\n \"default\": \"#e4794a\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#543125\" : \"#fcc0b0\"\n }\n },\n \"brownCafeCreme\": {\n \"_975_75\": {\n \"default\": isDark ? \"#211d16\" : \"#fbf6ed\",\n \"hover\": isDark ? \"#453e31\" : \"#f2deb6\",\n \"active\": isDark ? \"#5a5141\" : \"#eacf91\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#28241c\" : \"#f7ecdb\",\n \"hover\": isDark ? \"#4e4739\" : \"#edce94\",\n \"active\": isDark ? \"#635b4a\" : \"#dabd84\"\n },\n \"sun383moon885\": {\n \"default\": isDark ? \"#ecd7a2\" : \"#685c48\",\n \"hover\": isDark ? \"#c5b386\" : \"#97866a\",\n \"active\": isDark ? \"#af9f77\" : \"#ae9b7b\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#2e2a21\" : \"#f4e3c7\",\n \"hover\": isDark ? \"#554e3f\" : \"#e1c386\",\n \"active\": isDark ? \"#6b6351\" : \"#ccb078\"\n },\n \"main782\": {\n \"default\": \"#d1b781\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#423925\" : \"#e7ca8e\"\n }\n },\n \"brownCaramel\": {\n \"_975_75\": {\n \"default\": isDark ? \"#251c16\" : \"#fbf5f2\",\n \"hover\": isDark ? \"#4c3c31\" : \"#f1dbcf\",\n \"active\": isDark ? \"#624e41\" : \"#ecc9b5\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#2c221c\" : \"#f7ebe5\",\n \"hover\": isDark ? \"#554439\" : \"#eccbb9\",\n \"active\": isDark ? \"#6c574a\" : \"#e6b79a\"\n },\n \"sun425moon901\": {\n \"default\": isDark ? \"#fbd8ab\" : \"#845d48\",\n \"hover\": isDark ? \"#efb547\" : \"#bb8568\",\n \"active\": isDark ? \"#d6a23e\" : \"#d69978\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#332821\" : \"#f3e2d9\",\n \"hover\": isDark ? \"#5d4b40\" : \"#e7bea6\",\n \"active\": isDark ? \"#755f51\" : \"#e1a982\"\n },\n \"main648\": {\n \"default\": \"#c08c65\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#4b3525\" : \"#eac7b2\"\n }\n },\n \"brownOpera\": {\n \"_975_75\": {\n \"default\": isDark ? \"#241c17\" : \"#fbf5f2\",\n \"hover\": isDark ? \"#4a3c33\" : \"#f1dbcf\",\n \"active\": isDark ? \"#604f44\" : \"#ecc9b5\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#2b221c\" : \"#f7ece4\",\n \"hover\": isDark ? \"#53443a\" : \"#eccdb3\",\n \"active\": isDark ? \"#6a574a\" : \"#e6ba90\"\n },\n \"sun395moon820\": {\n \"default\": isDark ? \"#e6be92\" : \"#745b47\",\n \"hover\": isDark ? \"#f2e2d3\" : \"#a78468\",\n \"active\": isDark ? \"#f8f0e9\" : \"#c09979\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#322821\" : \"#f3e2d7\",\n \"hover\": isDark ? \"#5c4b40\" : \"#e7bfa0\",\n \"active\": isDark ? \"#735f51\" : \"#deaa7e\"\n },\n \"main680\": {\n \"default\": \"#bd987a\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#493625\" : \"#eac7ad\"\n }\n },\n \"beigeGrisGalet\": {\n \"_975_75\": {\n \"default\": isDark ? \"#211d19\" : \"#f9f6f2\",\n \"hover\": isDark ? \"#453e37\" : \"#eadecd\",\n \"active\": isDark ? \"#595148\" : \"#e1ceb1\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#28231f\" : \"#f3ede5\",\n \"hover\": isDark ? \"#4e453f\" : \"#e1d0b5\",\n \"active\": isDark ? \"#635950\" : \"#d1bea2\"\n },\n \"sun407moon821\": {\n \"default\": isDark ? \"#d0c3b7\" : \"#6a6156\",\n \"hover\": isDark ? \"#eae5e1\" : \"#988b7c\",\n \"active\": isDark ? \"#f4f2f0\" : \"#afa08f\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#2e2924\" : \"#eee4d9\",\n \"hover\": isDark ? \"#554d45\" : \"#dbc3a4\",\n \"active\": isDark ? \"#6b6157\" : \"#c6b094\"\n },\n \"main702\": {\n \"default\": \"#aea397\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#433829\" : \"#e0cab0\"\n }\n }\n };\n}\n//# sourceMappingURL=getColorOptionsHex.js.map","// This file is generated automatically by scripts/build/cssToTs/cssToTs.ts, please don't edit.\nexport const colorDecisions = {\n \"background\": {\n \"default\": {\n \"grey\": {\n \"default\": \"var(--background-default-grey)\",\n \"hover\": \"var(--background-default-grey-hover)\",\n \"active\": \"var(--background-default-grey-active)\"\n }\n },\n \"alt\": {\n \"grey\": {\n \"default\": \"var(--background-alt-grey)\",\n \"hover\": \"var(--background-alt-grey-hover)\",\n \"active\": \"var(--background-alt-grey-active)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--background-alt-blue-france)\",\n \"hover\": \"var(--background-alt-blue-france-hover)\",\n \"active\": \"var(--background-alt-blue-france-active)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--background-alt-red-marianne)\",\n \"hover\": \"var(--background-alt-red-marianne-hover)\",\n \"active\": \"var(--background-alt-red-marianne-active)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--background-alt-green-tilleul-verveine)\",\n \"hover\": \"var(--background-alt-green-tilleul-verveine-hover)\",\n \"active\": \"var(--background-alt-green-tilleul-verveine-active)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--background-alt-green-bourgeon)\",\n \"hover\": \"var(--background-alt-green-bourgeon-hover)\",\n \"active\": \"var(--background-alt-green-bourgeon-active)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--background-alt-green-emeraude)\",\n \"hover\": \"var(--background-alt-green-emeraude-hover)\",\n \"active\": \"var(--background-alt-green-emeraude-active)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--background-alt-green-menthe)\",\n \"hover\": \"var(--background-alt-green-menthe-hover)\",\n \"active\": \"var(--background-alt-green-menthe-active)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--background-alt-green-archipel)\",\n \"hover\": \"var(--background-alt-green-archipel-hover)\",\n \"active\": \"var(--background-alt-green-archipel-active)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--background-alt-blue-ecume)\",\n \"hover\": \"var(--background-alt-blue-ecume-hover)\",\n \"active\": \"var(--background-alt-blue-ecume-active)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--background-alt-blue-cumulus)\",\n \"hover\": \"var(--background-alt-blue-cumulus-hover)\",\n \"active\": \"var(--background-alt-blue-cumulus-active)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--background-alt-purple-glycine)\",\n \"hover\": \"var(--background-alt-purple-glycine-hover)\",\n \"active\": \"var(--background-alt-purple-glycine-active)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--background-alt-pink-macaron)\",\n \"hover\": \"var(--background-alt-pink-macaron-hover)\",\n \"active\": \"var(--background-alt-pink-macaron-active)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--background-alt-pink-tuile)\",\n \"hover\": \"var(--background-alt-pink-tuile-hover)\",\n \"active\": \"var(--background-alt-pink-tuile-active)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--background-alt-yellow-tournesol)\",\n \"hover\": \"var(--background-alt-yellow-tournesol-hover)\",\n \"active\": \"var(--background-alt-yellow-tournesol-active)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--background-alt-yellow-moutarde)\",\n \"hover\": \"var(--background-alt-yellow-moutarde-hover)\",\n \"active\": \"var(--background-alt-yellow-moutarde-active)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--background-alt-orange-terre-battue)\",\n \"hover\": \"var(--background-alt-orange-terre-battue-hover)\",\n \"active\": \"var(--background-alt-orange-terre-battue-active)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--background-alt-brown-cafe-creme)\",\n \"hover\": \"var(--background-alt-brown-cafe-creme-hover)\",\n \"active\": \"var(--background-alt-brown-cafe-creme-active)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--background-alt-brown-caramel)\",\n \"hover\": \"var(--background-alt-brown-caramel-hover)\",\n \"active\": \"var(--background-alt-brown-caramel-active)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--background-alt-brown-opera)\",\n \"hover\": \"var(--background-alt-brown-opera-hover)\",\n \"active\": \"var(--background-alt-brown-opera-active)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--background-alt-beige-gris-galet)\",\n \"hover\": \"var(--background-alt-beige-gris-galet-hover)\",\n \"active\": \"var(--background-alt-beige-gris-galet-active)\"\n }\n },\n \"contrast\": {\n \"grey\": {\n \"default\": \"var(--background-contrast-grey)\",\n \"hover\": \"var(--background-contrast-grey-hover)\",\n \"active\": \"var(--background-contrast-grey-active)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--background-contrast-blue-france)\",\n \"hover\": \"var(--background-contrast-blue-france-hover)\",\n \"active\": \"var(--background-contrast-blue-france-active)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--background-contrast-red-marianne)\",\n \"hover\": \"var(--background-contrast-red-marianne-hover)\",\n \"active\": \"var(--background-contrast-red-marianne-active)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--background-contrast-green-tilleul-verveine)\",\n \"hover\": \"var(--background-contrast-green-tilleul-verveine-hover)\",\n \"active\": \"var(--background-contrast-green-tilleul-verveine-active)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--background-contrast-green-bourgeon)\",\n \"hover\": \"var(--background-contrast-green-bourgeon-hover)\",\n \"active\": \"var(--background-contrast-green-bourgeon-active)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--background-contrast-green-emeraude)\",\n \"hover\": \"var(--background-contrast-green-emeraude-hover)\",\n \"active\": \"var(--background-contrast-green-emeraude-active)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--background-contrast-green-menthe)\",\n \"hover\": \"var(--background-contrast-green-menthe-hover)\",\n \"active\": \"var(--background-contrast-green-menthe-active)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--background-contrast-green-archipel)\",\n \"hover\": \"var(--background-contrast-green-archipel-hover)\",\n \"active\": \"var(--background-contrast-green-archipel-active)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--background-contrast-blue-ecume)\",\n \"hover\": \"var(--background-contrast-blue-ecume-hover)\",\n \"active\": \"var(--background-contrast-blue-ecume-active)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--background-contrast-blue-cumulus)\",\n \"hover\": \"var(--background-contrast-blue-cumulus-hover)\",\n \"active\": \"var(--background-contrast-blue-cumulus-active)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--background-contrast-purple-glycine)\",\n \"hover\": \"var(--background-contrast-purple-glycine-hover)\",\n \"active\": \"var(--background-contrast-purple-glycine-active)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--background-contrast-pink-macaron)\",\n \"hover\": \"var(--background-contrast-pink-macaron-hover)\",\n \"active\": \"var(--background-contrast-pink-macaron-active)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--background-contrast-pink-tuile)\",\n \"hover\": \"var(--background-contrast-pink-tuile-hover)\",\n \"active\": \"var(--background-contrast-pink-tuile-active)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--background-contrast-yellow-tournesol)\",\n \"hover\": \"var(--background-contrast-yellow-tournesol-hover)\",\n \"active\": \"var(--background-contrast-yellow-tournesol-active)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--background-contrast-yellow-moutarde)\",\n \"hover\": \"var(--background-contrast-yellow-moutarde-hover)\",\n \"active\": \"var(--background-contrast-yellow-moutarde-active)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--background-contrast-orange-terre-battue)\",\n \"hover\": \"var(--background-contrast-orange-terre-battue-hover)\",\n \"active\": \"var(--background-contrast-orange-terre-battue-active)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--background-contrast-brown-cafe-creme)\",\n \"hover\": \"var(--background-contrast-brown-cafe-creme-hover)\",\n \"active\": \"var(--background-contrast-brown-cafe-creme-active)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--background-contrast-brown-caramel)\",\n \"hover\": \"var(--background-contrast-brown-caramel-hover)\",\n \"active\": \"var(--background-contrast-brown-caramel-active)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--background-contrast-brown-opera)\",\n \"hover\": \"var(--background-contrast-brown-opera-hover)\",\n \"active\": \"var(--background-contrast-brown-opera-active)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--background-contrast-beige-gris-galet)\",\n \"hover\": \"var(--background-contrast-beige-gris-galet-hover)\",\n \"active\": \"var(--background-contrast-beige-gris-galet-active)\"\n },\n \"info\": {\n \"default\": \"var(--background-contrast-info)\",\n \"hover\": \"var(--background-contrast-info-hover)\",\n \"active\": \"var(--background-contrast-info-active)\"\n },\n \"success\": {\n \"default\": \"var(--background-contrast-success)\",\n \"hover\": \"var(--background-contrast-success-hover)\",\n \"active\": \"var(--background-contrast-success-active)\"\n },\n \"warning\": {\n \"default\": \"var(--background-contrast-warning)\",\n \"hover\": \"var(--background-contrast-warning-hover)\",\n \"active\": \"var(--background-contrast-warning-active)\"\n },\n \"error\": {\n \"default\": \"var(--background-contrast-error)\",\n \"hover\": \"var(--background-contrast-error-hover)\",\n \"active\": \"var(--background-contrast-error-active)\"\n }\n },\n \"flat\": {\n \"grey\": {\n \"default\": \"var(--background-flat-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--background-flat-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--background-flat-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--background-flat-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--background-flat-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--background-flat-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--background-flat-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--background-flat-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--background-flat-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--background-flat-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--background-flat-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--background-flat-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--background-flat-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--background-flat-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--background-flat-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--background-flat-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--background-flat-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--background-flat-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--background-flat-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--background-flat-beige-gris-galet)\"\n },\n \"info\": {\n \"default\": \"var(--background-flat-info)\"\n },\n \"success\": {\n \"default\": \"var(--background-flat-success)\"\n },\n \"warning\": {\n \"default\": \"var(--background-flat-warning)\"\n },\n \"error\": {\n \"default\": \"var(--background-flat-error)\"\n }\n },\n \"actionHigh\": {\n \"blueFrance\": {\n \"default\": \"var(--background-action-high-blue-france)\",\n \"hover\": \"var(--background-action-high-blue-france-hover)\",\n \"active\": \"var(--background-action-high-blue-france-active)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--background-action-high-red-marianne)\",\n \"hover\": \"var(--background-action-high-red-marianne-hover)\",\n \"active\": \"var(--background-action-high-red-marianne-active)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--background-action-high-green-tilleul-verveine)\",\n \"hover\": \"var(--background-action-high-green-tilleul-verveine-hover)\",\n \"active\": \"var(--background-action-high-green-tilleul-verveine-active)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--background-action-high-green-bourgeon)\",\n \"hover\": \"var(--background-action-high-green-bourgeon-hover)\",\n \"active\": \"var(--background-action-high-green-bourgeon-active)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--background-action-high-green-emeraude)\",\n \"hover\": \"var(--background-action-high-green-emeraude-hover)\",\n \"active\": \"var(--background-action-high-green-emeraude-active)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--background-action-high-green-menthe)\",\n \"hover\": \"var(--background-action-high-green-menthe-hover)\",\n \"active\": \"var(--background-action-high-green-menthe-active)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--background-action-high-green-archipel)\",\n \"hover\": \"var(--background-action-high-green-archipel-hover)\",\n \"active\": \"var(--background-action-high-green-archipel-active)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--background-action-high-blue-ecume)\",\n \"hover\": \"var(--background-action-high-blue-ecume-hover)\",\n \"active\": \"var(--background-action-high-blue-ecume-active)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--background-action-high-blue-cumulus)\",\n \"hover\": \"var(--background-action-high-blue-cumulus-hover)\",\n \"active\": \"var(--background-action-high-blue-cumulus-active)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--background-action-high-purple-glycine)\",\n \"hover\": \"var(--background-action-high-purple-glycine-hover)\",\n \"active\": \"var(--background-action-high-purple-glycine-active)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--background-action-high-pink-macaron)\",\n \"hover\": \"var(--background-action-high-pink-macaron-hover)\",\n \"active\": \"var(--background-action-high-pink-macaron-active)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--background-action-high-pink-tuile)\",\n \"hover\": \"var(--background-action-high-pink-tuile-hover)\",\n \"active\": \"var(--background-action-high-pink-tuile-active)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--background-action-high-yellow-tournesol)\",\n \"hover\": \"var(--background-action-high-yellow-tournesol-hover)\",\n \"active\": \"var(--background-action-high-yellow-tournesol-active)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--background-action-high-yellow-moutarde)\",\n \"hover\": \"var(--background-action-high-yellow-moutarde-hover)\",\n \"active\": \"var(--background-action-high-yellow-moutarde-active)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--background-action-high-orange-terre-battue)\",\n \"hover\": \"var(--background-action-high-orange-terre-battue-hover)\",\n \"active\": \"var(--background-action-high-orange-terre-battue-active)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--background-action-high-brown-cafe-creme)\",\n \"hover\": \"var(--background-action-high-brown-cafe-creme-hover)\",\n \"active\": \"var(--background-action-high-brown-cafe-creme-active)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--background-action-high-brown-caramel)\",\n \"hover\": \"var(--background-action-high-brown-caramel-hover)\",\n \"active\": \"var(--background-action-high-brown-caramel-active)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--background-action-high-brown-opera)\",\n \"hover\": \"var(--background-action-high-brown-opera-hover)\",\n \"active\": \"var(--background-action-high-brown-opera-active)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--background-action-high-beige-gris-galet)\",\n \"hover\": \"var(--background-action-high-beige-gris-galet-hover)\",\n \"active\": \"var(--background-action-high-beige-gris-galet-active)\"\n },\n \"info\": {\n \"default\": \"var(--background-action-high-info)\",\n \"hover\": \"var(--background-action-high-info-hover)\",\n \"active\": \"var(--background-action-high-info-active)\"\n },\n \"success\": {\n \"default\": \"var(--background-action-high-success)\",\n \"hover\": \"var(--background-action-high-success-hover)\",\n \"active\": \"var(--background-action-high-success-active)\"\n },\n \"warning\": {\n \"default\": \"var(--background-action-high-warning)\",\n \"hover\": \"var(--background-action-high-warning-hover)\",\n \"active\": \"var(--background-action-high-warning-active)\"\n },\n \"error\": {\n \"default\": \"var(--background-action-high-error)\",\n \"hover\": \"var(--background-action-high-error-hover)\",\n \"active\": \"var(--background-action-high-error-active)\"\n }\n },\n \"actionLow\": {\n \"blueFrance\": {\n \"default\": \"var(--background-action-low-blue-france)\",\n \"hover\": \"var(--background-action-low-blue-france-hover)\",\n \"active\": \"var(--background-action-low-blue-france-active)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--background-action-low-red-marianne)\",\n \"hover\": \"var(--background-action-low-red-marianne-hover)\",\n \"active\": \"var(--background-action-low-red-marianne-active)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--background-action-low-green-tilleul-verveine)\",\n \"hover\": \"var(--background-action-low-green-tilleul-verveine-hover)\",\n \"active\": \"var(--background-action-low-green-tilleul-verveine-active)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--background-action-low-green-bourgeon)\",\n \"hover\": \"var(--background-action-low-green-bourgeon-hover)\",\n \"active\": \"var(--background-action-low-green-bourgeon-active)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--background-action-low-green-emeraude)\",\n \"hover\": \"var(--background-action-low-green-emeraude-hover)\",\n \"active\": \"var(--background-action-low-green-emeraude-active)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--background-action-low-green-menthe)\",\n \"hover\": \"var(--background-action-low-green-menthe-hover)\",\n \"active\": \"var(--background-action-low-green-menthe-active)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--background-action-low-green-archipel)\",\n \"hover\": \"var(--background-action-low-green-archipel-hover)\",\n \"active\": \"var(--background-action-low-green-archipel-active)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--background-action-low-blue-ecume)\",\n \"hover\": \"var(--background-action-low-blue-ecume-hover)\",\n \"active\": \"var(--background-action-low-blue-ecume-active)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--background-action-low-blue-cumulus)\",\n \"hover\": \"var(--background-action-low-blue-cumulus-hover)\",\n \"active\": \"var(--background-action-low-blue-cumulus-active)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--background-action-low-purple-glycine)\",\n \"hover\": \"var(--background-action-low-purple-glycine-hover)\",\n \"active\": \"var(--background-action-low-purple-glycine-active)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--background-action-low-pink-macaron)\",\n \"hover\": \"var(--background-action-low-pink-macaron-hover)\",\n \"active\": \"var(--background-action-low-pink-macaron-active)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--background-action-low-pink-tuile)\",\n \"hover\": \"var(--background-action-low-pink-tuile-hover)\",\n \"active\": \"var(--background-action-low-pink-tuile-active)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--background-action-low-yellow-tournesol)\",\n \"hover\": \"var(--background-action-low-yellow-tournesol-hover)\",\n \"active\": \"var(--background-action-low-yellow-tournesol-active)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--background-action-low-yellow-moutarde)\",\n \"hover\": \"var(--background-action-low-yellow-moutarde-hover)\",\n \"active\": \"var(--background-action-low-yellow-moutarde-active)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--background-action-low-orange-terre-battue)\",\n \"hover\": \"var(--background-action-low-orange-terre-battue-hover)\",\n \"active\": \"var(--background-action-low-orange-terre-battue-active)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--background-action-low-brown-cafe-creme)\",\n \"hover\": \"var(--background-action-low-brown-cafe-creme-hover)\",\n \"active\": \"var(--background-action-low-brown-cafe-creme-active)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--background-action-low-brown-caramel)\",\n \"hover\": \"var(--background-action-low-brown-caramel-hover)\",\n \"active\": \"var(--background-action-low-brown-caramel-active)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--background-action-low-brown-opera)\",\n \"hover\": \"var(--background-action-low-brown-opera-hover)\",\n \"active\": \"var(--background-action-low-brown-opera-active)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--background-action-low-beige-gris-galet)\",\n \"hover\": \"var(--background-action-low-beige-gris-galet-hover)\",\n \"active\": \"var(--background-action-low-beige-gris-galet-active)\"\n }\n },\n \"active\": {\n \"blueFrance\": {\n \"default\": \"var(--background-active-blue-france)\",\n \"hover\": \"var(--background-active-blue-france-hover)\",\n \"active\": \"var(--background-active-blue-france-active)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--background-active-red-marianne)\",\n \"hover\": \"var(--background-active-red-marianne-hover)\",\n \"active\": \"var(--background-active-red-marianne-active)\"\n }\n },\n \"open\": {\n \"blueFrance\": {\n \"default\": \"var(--background-open-blue-france)\",\n \"hover\": \"var(--background-open-blue-france-hover)\",\n \"active\": \"var(--background-open-blue-france-active)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--background-open-red-marianne)\",\n \"hover\": \"var(--background-open-red-marianne-hover)\",\n \"active\": \"var(--background-open-red-marianne-active)\"\n }\n },\n \"disabled\": {\n \"grey\": {\n \"default\": \"var(--background-disabled-grey)\"\n }\n },\n \"raised\": {\n \"grey\": {\n \"default\": \"var(--background-raised-grey)\",\n \"hover\": \"var(--background-raised-grey-hover)\",\n \"active\": \"var(--background-raised-grey-active)\"\n }\n },\n \"overlap\": {\n \"grey\": {\n \"default\": \"var(--background-overlap-grey)\",\n \"hover\": \"var(--background-overlap-grey-hover)\",\n \"active\": \"var(--background-overlap-grey-active)\"\n }\n },\n \"lifted\": {\n \"grey\": {\n \"default\": \"var(--background-lifted-grey)\",\n \"hover\": \"var(--background-lifted-grey-hover)\",\n \"active\": \"var(--background-lifted-grey-active)\"\n }\n },\n \"altRaised\": {\n \"grey\": {\n \"default\": \"var(--background-alt-raised-grey)\",\n \"hover\": \"var(--background-alt-raised-grey-hover)\",\n \"active\": \"var(--background-alt-raised-grey-active)\"\n }\n },\n \"altOverlap\": {\n \"grey\": {\n \"default\": \"var(--background-alt-overlap-grey)\",\n \"hover\": \"var(--background-alt-overlap-grey-hover)\",\n \"active\": \"var(--background-alt-overlap-grey-active)\"\n }\n },\n \"contrastRaised\": {\n \"grey\": {\n \"default\": \"var(--background-contrast-raised-grey)\",\n \"hover\": \"var(--background-contrast-raised-grey-hover)\",\n \"active\": \"var(--background-contrast-raised-grey-active)\"\n }\n },\n \"contrastOverlap\": {\n \"grey\": {\n \"default\": \"var(--background-contrast-overlap-grey)\",\n \"hover\": \"var(--background-contrast-overlap-grey-hover)\",\n \"active\": \"var(--background-contrast-overlap-grey-active)\"\n }\n }\n },\n \"text\": {\n \"default\": {\n \"grey\": {\n \"default\": \"var(--text-default-grey)\"\n },\n \"info\": {\n \"default\": \"var(--text-default-info)\"\n },\n \"success\": {\n \"default\": \"var(--text-default-success)\"\n },\n \"warning\": {\n \"default\": \"var(--text-default-warning)\"\n },\n \"error\": {\n \"default\": \"var(--text-default-error)\"\n }\n },\n \"actionHigh\": {\n \"grey\": {\n \"default\": \"var(--text-action-high-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--text-action-high-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--text-action-high-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--text-action-high-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--text-action-high-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--text-action-high-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--text-action-high-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--text-action-high-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--text-action-high-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--text-action-high-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--text-action-high-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--text-action-high-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--text-action-high-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--text-action-high-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--text-action-high-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--text-action-high-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--text-action-high-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--text-action-high-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--text-action-high-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--text-action-high-beige-gris-galet)\"\n }\n },\n \"title\": {\n \"grey\": {\n \"default\": \"var(--text-title-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--text-title-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--text-title-red-marianne)\"\n }\n },\n \"label\": {\n \"grey\": {\n \"default\": \"var(--text-label-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--text-label-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--text-label-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--text-label-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--text-label-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--text-label-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--text-label-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--text-label-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--text-label-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--text-label-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--text-label-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--text-label-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--text-label-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--text-label-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--text-label-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--text-label-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--text-label-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--text-label-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--text-label-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--text-label-beige-gris-galet)\"\n }\n },\n \"active\": {\n \"grey\": {\n \"default\": \"var(--text-active-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--text-active-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--text-active-red-marianne)\"\n }\n },\n \"mention\": {\n \"grey\": {\n \"default\": \"var(--text-mention-grey)\"\n }\n },\n \"inverted\": {\n \"grey\": {\n \"default\": \"var(--text-inverted-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--text-inverted-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--text-inverted-red-marianne)\"\n },\n \"info\": {\n \"default\": \"var(--text-inverted-info)\"\n },\n \"success\": {\n \"default\": \"var(--text-inverted-success)\"\n },\n \"warning\": {\n \"default\": \"var(--text-inverted-warning)\"\n },\n \"error\": {\n \"default\": \"var(--text-inverted-error)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--text-inverted-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--text-inverted-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--text-inverted-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--text-inverted-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--text-inverted-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--text-inverted-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--text-inverted-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--text-inverted-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--text-inverted-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--text-inverted-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--text-inverted-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--text-inverted-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--text-inverted-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--text-inverted-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--text-inverted-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--text-inverted-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--text-inverted-beige-gris-galet)\"\n }\n },\n \"disabled\": {\n \"grey\": {\n \"default\": \"var(--text-disabled-grey)\"\n }\n },\n \"blackWhite\": {\n \"grey\": {\n \"default\": \"var(--text-black-white-grey)\"\n }\n }\n },\n \"border\": {\n \"default\": {\n \"grey\": {\n \"default\": \"var(--border-default-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--border-default-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--border-default-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--border-default-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--border-default-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--border-default-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--border-default-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--border-default-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--border-default-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--border-default-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--border-default-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--border-default-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--border-default-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--border-default-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--border-default-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--border-default-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--border-default-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--border-default-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--border-default-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--border-default-beige-gris-galet)\"\n }\n },\n \"active\": {\n \"blueFrance\": {\n \"default\": \"var(--border-active-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--border-active-red-marianne)\"\n }\n },\n \"actionHigh\": {\n \"grey\": {\n \"default\": \"var(--border-action-high-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--border-action-high-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--border-action-high-red-marianne)\"\n },\n \"info\": {\n \"default\": \"var(--border-action-high-info)\"\n },\n \"success\": {\n \"default\": \"var(--border-action-high-success)\"\n },\n \"warning\": {\n \"default\": \"var(--border-action-high-warning)\"\n },\n \"error\": {\n \"default\": \"var(--border-action-high-error)\"\n }\n },\n \"actionLow\": {\n \"blueFrance\": {\n \"default\": \"var(--border-action-low-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--border-action-low-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--border-action-low-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--border-action-low-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--border-action-low-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--border-action-low-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--border-action-low-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--border-action-low-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--border-action-low-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--border-action-low-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--border-action-low-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--border-action-low-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--border-action-low-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--border-action-low-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--border-action-low-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--border-action-low-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--border-action-low-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--border-action-low-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--border-action-low-beige-gris-galet)\"\n }\n },\n \"open\": {\n \"blueFrance\": {\n \"default\": \"var(--border-open-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--border-open-red-marianne)\"\n }\n },\n \"plain\": {\n \"grey\": {\n \"default\": \"var(--border-plain-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--border-plain-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--border-plain-red-marianne)\"\n },\n \"info\": {\n \"default\": \"var(--border-plain-info)\"\n },\n \"success\": {\n \"default\": \"var(--border-plain-success)\"\n },\n \"warning\": {\n \"default\": \"var(--border-plain-warning)\"\n },\n \"error\": {\n \"default\": \"var(--border-plain-error)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--border-plain-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--border-plain-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--border-plain-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--border-plain-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--border-plain-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--border-plain-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--border-plain-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--border-plain-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--border-plain-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--border-plain-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--border-plain-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--border-plain-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--border-plain-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--border-plain-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--border-plain-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--border-plain-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--border-plain-beige-gris-galet)\"\n }\n },\n \"disabled\": {\n \"grey\": {\n \"default\": \"var(--border-disabled-grey)\"\n }\n }\n },\n \"artwork\": {\n \"major\": {\n \"blueFrance\": {\n \"default\": \"var(--artwork-major-blue-france)\",\n \"hover\": \"var(--artwork-major-blue-france-hover)\",\n \"active\": \"var(--artwork-major-blue-france-active)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--artwork-major-red-marianne)\",\n \"hover\": \"var(--artwork-major-red-marianne-hover)\",\n \"active\": \"var(--artwork-major-red-marianne-active)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--artwork-major-green-tilleul-verveine)\",\n \"hover\": \"var(--artwork-major-green-tilleul-verveine-hover)\",\n \"active\": \"var(--artwork-major-green-tilleul-verveine-active)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--artwork-major-green-bourgeon)\",\n \"hover\": \"var(--artwork-major-green-bourgeon-hover)\",\n \"active\": \"var(--artwork-major-green-bourgeon-active)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--artwork-major-green-emeraude)\",\n \"hover\": \"var(--artwork-major-green-emeraude-hover)\",\n \"active\": \"var(--artwork-major-green-emeraude-active)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--artwork-major-green-menthe)\",\n \"hover\": \"var(--artwork-major-green-menthe-hover)\",\n \"active\": \"var(--artwork-major-green-menthe-active)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--artwork-major-green-archipel)\",\n \"hover\": \"var(--artwork-major-green-archipel-hover)\",\n \"active\": \"var(--artwork-major-green-archipel-active)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--artwork-major-blue-ecume)\",\n \"hover\": \"var(--artwork-major-blue-ecume-hover)\",\n \"active\": \"var(--artwork-major-blue-ecume-active)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--artwork-major-blue-cumulus)\",\n \"hover\": \"var(--artwork-major-blue-cumulus-hover)\",\n \"active\": \"var(--artwork-major-blue-cumulus-active)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--artwork-major-purple-glycine)\",\n \"hover\": \"var(--artwork-major-purple-glycine-hover)\",\n \"active\": \"var(--artwork-major-purple-glycine-active)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--artwork-major-pink-macaron)\",\n \"hover\": \"var(--artwork-major-pink-macaron-hover)\",\n \"active\": \"var(--artwork-major-pink-macaron-active)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--artwork-major-pink-tuile)\",\n \"hover\": \"var(--artwork-major-pink-tuile-hover)\",\n \"active\": \"var(--artwork-major-pink-tuile-active)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--artwork-major-yellow-tournesol)\",\n \"hover\": \"var(--artwork-major-yellow-tournesol-hover)\",\n \"active\": \"var(--artwork-major-yellow-tournesol-active)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--artwork-major-yellow-moutarde)\",\n \"hover\": \"var(--artwork-major-yellow-moutarde-hover)\",\n \"active\": \"var(--artwork-major-yellow-moutarde-active)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--artwork-major-orange-terre-battue)\",\n \"hover\": \"var(--artwork-major-orange-terre-battue-hover)\",\n \"active\": \"var(--artwork-major-orange-terre-battue-active)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--artwork-major-brown-cafe-creme)\",\n \"hover\": \"var(--artwork-major-brown-cafe-creme-hover)\",\n \"active\": \"var(--artwork-major-brown-cafe-creme-active)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--artwork-major-brown-caramel)\",\n \"hover\": \"var(--artwork-major-brown-caramel-hover)\",\n \"active\": \"var(--artwork-major-brown-caramel-active)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--artwork-major-brown-opera)\",\n \"hover\": \"var(--artwork-major-brown-opera-hover)\",\n \"active\": \"var(--artwork-major-brown-opera-active)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--artwork-major-beige-gris-galet)\",\n \"hover\": \"var(--artwork-major-beige-gris-galet-hover)\",\n \"active\": \"var(--artwork-major-beige-gris-galet-active)\"\n }\n },\n \"minor\": {\n \"blueFrance\": {\n \"default\": \"var(--artwork-minor-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--artwork-minor-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--artwork-minor-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--artwork-minor-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--artwork-minor-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--artwork-minor-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--artwork-minor-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--artwork-minor-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--artwork-minor-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--artwork-minor-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--artwork-minor-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--artwork-minor-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--artwork-minor-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--artwork-minor-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--artwork-minor-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--artwork-minor-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--artwork-minor-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--artwork-minor-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--artwork-minor-beige-gris-galet)\"\n }\n },\n \"decorative\": {\n \"grey\": {\n \"default\": \"var(--artwork-decorative-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--artwork-decorative-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--artwork-decorative-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--artwork-decorative-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--artwork-decorative-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--artwork-decorative-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--artwork-decorative-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--artwork-decorative-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--artwork-decorative-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--artwork-decorative-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--artwork-decorative-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--artwork-decorative-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--artwork-decorative-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--artwork-decorative-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--artwork-decorative-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--artwork-decorative-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--artwork-decorative-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--artwork-decorative-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--artwork-decorative-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--artwork-decorative-beige-gris-galet)\"\n }\n },\n \"background\": {\n \"grey\": {\n \"default\": \"var(--artwork-background-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--artwork-background-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--artwork-background-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--artwork-background-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--artwork-background-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--artwork-background-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--artwork-background-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--artwork-background-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--artwork-background-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--artwork-background-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--artwork-background-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--artwork-background-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--artwork-background-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--artwork-background-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--artwork-background-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--artwork-background-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--artwork-background-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--artwork-background-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--artwork-background-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--artwork-background-beige-gris-galet)\"\n }\n },\n \"motif\": {\n \"grey\": {\n \"default\": \"var(--artwork-motif-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--artwork-motif-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--artwork-motif-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--artwork-motif-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--artwork-motif-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--artwork-motif-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--artwork-motif-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--artwork-motif-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--artwork-motif-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--artwork-motif-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--artwork-motif-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--artwork-motif-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--artwork-motif-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--artwork-motif-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--artwork-motif-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--artwork-motif-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--artwork-motif-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--artwork-motif-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--artwork-motif-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--artwork-motif-beige-gris-galet)\"\n }\n }\n }\n};\n//# sourceMappingURL=colorDecisions.js.map","export function getColorDecisionsHex(params) {\n const { colorOptions } = params;\n return {\n \"background\": {\n \"default\": {\n \"grey\": {\n \"default\": colorOptions.grey._1000_50.default,\n \"hover\": colorOptions.grey._1000_50.hover,\n \"active\": colorOptions.grey._1000_50.active\n }\n },\n \"alt\": {\n \"grey\": {\n \"default\": colorOptions.grey._975_75.default,\n \"hover\": colorOptions.grey._975_75.hover,\n \"active\": colorOptions.grey._975_75.active\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._975_75.default,\n \"hover\": colorOptions.blueFrance._975_75.hover,\n \"active\": colorOptions.blueFrance._975_75.active\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._975_75.default,\n \"hover\": colorOptions.redMarianne._975_75.hover,\n \"active\": colorOptions.redMarianne._975_75.active\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine._975_75.default,\n \"hover\": colorOptions.greenTilleulVerveine._975_75.hover,\n \"active\": colorOptions.greenTilleulVerveine._975_75.active\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon._975_75.default,\n \"hover\": colorOptions.greenBourgeon._975_75.hover,\n \"active\": colorOptions.greenBourgeon._975_75.active\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude._975_75.default,\n \"hover\": colorOptions.greenEmeraude._975_75.hover,\n \"active\": colorOptions.greenEmeraude._975_75.active\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe._975_75.default,\n \"hover\": colorOptions.greenMenthe._975_75.hover,\n \"active\": colorOptions.greenMenthe._975_75.active\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel._975_75.default,\n \"hover\": colorOptions.greenArchipel._975_75.hover,\n \"active\": colorOptions.greenArchipel._975_75.active\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume._975_75.default,\n \"hover\": colorOptions.blueEcume._975_75.hover,\n \"active\": colorOptions.blueEcume._975_75.active\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus._975_75.default,\n \"hover\": colorOptions.blueCumulus._975_75.hover,\n \"active\": colorOptions.blueCumulus._975_75.active\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine._975_75.default,\n \"hover\": colorOptions.purpleGlycine._975_75.hover,\n \"active\": colorOptions.purpleGlycine._975_75.active\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron._975_75.default,\n \"hover\": colorOptions.pinkMacaron._975_75.hover,\n \"active\": colorOptions.pinkMacaron._975_75.active\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile._975_75.default,\n \"hover\": colorOptions.pinkTuile._975_75.hover,\n \"active\": colorOptions.pinkTuile._975_75.active\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol._975_75.default,\n \"hover\": colorOptions.yellowTournesol._975_75.hover,\n \"active\": colorOptions.yellowTournesol._975_75.active\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde._975_75.default,\n \"hover\": colorOptions.yellowMoutarde._975_75.hover,\n \"active\": colorOptions.yellowMoutarde._975_75.active\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue._975_75.default,\n \"hover\": colorOptions.orangeTerreBattue._975_75.hover,\n \"active\": colorOptions.orangeTerreBattue._975_75.active\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme._975_75.default,\n \"hover\": colorOptions.brownCafeCreme._975_75.hover,\n \"active\": colorOptions.brownCafeCreme._975_75.active\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel._975_75.default,\n \"hover\": colorOptions.brownCaramel._975_75.hover,\n \"active\": colorOptions.brownCaramel._975_75.active\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera._975_75.default,\n \"hover\": colorOptions.brownOpera._975_75.hover,\n \"active\": colorOptions.brownOpera._975_75.active\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet._975_75.default,\n \"hover\": colorOptions.beigeGrisGalet._975_75.hover,\n \"active\": colorOptions.beigeGrisGalet._975_75.active\n }\n },\n \"contrast\": {\n \"grey\": {\n \"default\": colorOptions.grey._950_100.default,\n \"hover\": colorOptions.grey._950_100.hover,\n \"active\": colorOptions.grey._950_100.active\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._950_100.default,\n \"hover\": colorOptions.blueFrance._950_100.hover,\n \"active\": colorOptions.blueFrance._950_100.active\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._950_100.default,\n \"hover\": colorOptions.redMarianne._950_100.hover,\n \"active\": colorOptions.redMarianne._950_100.active\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine._950_100.default,\n \"hover\": colorOptions.greenTilleulVerveine._950_100.hover,\n \"active\": colorOptions.greenTilleulVerveine._950_100.active\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon._950_100.default,\n \"hover\": colorOptions.greenBourgeon._950_100.hover,\n \"active\": colorOptions.greenBourgeon._950_100.active\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude._950_100.default,\n \"hover\": colorOptions.greenEmeraude._950_100.hover,\n \"active\": colorOptions.greenEmeraude._950_100.active\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe._950_100.default,\n \"hover\": colorOptions.greenMenthe._950_100.hover,\n \"active\": colorOptions.greenMenthe._950_100.active\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel._950_100.default,\n \"hover\": colorOptions.greenArchipel._950_100.hover,\n \"active\": colorOptions.greenArchipel._950_100.active\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume._950_100.default,\n \"hover\": colorOptions.blueEcume._950_100.hover,\n \"active\": colorOptions.blueEcume._950_100.active\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus._950_100.default,\n \"hover\": colorOptions.blueCumulus._950_100.hover,\n \"active\": colorOptions.blueCumulus._950_100.active\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine._950_100.default,\n \"hover\": colorOptions.purpleGlycine._950_100.hover,\n \"active\": colorOptions.purpleGlycine._950_100.active\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron._950_100.default,\n \"hover\": colorOptions.pinkMacaron._950_100.hover,\n \"active\": colorOptions.pinkMacaron._950_100.active\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile._950_100.default,\n \"hover\": colorOptions.pinkTuile._950_100.hover,\n \"active\": colorOptions.pinkTuile._950_100.active\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol._950_100.default,\n \"hover\": colorOptions.yellowTournesol._950_100.hover,\n \"active\": colorOptions.yellowTournesol._950_100.active\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde._950_100.default,\n \"hover\": colorOptions.yellowMoutarde._950_100.hover,\n \"active\": colorOptions.yellowMoutarde._950_100.active\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue._950_100.default,\n \"hover\": colorOptions.orangeTerreBattue._950_100.hover,\n \"active\": colorOptions.orangeTerreBattue._950_100.active\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme._950_100.default,\n \"hover\": colorOptions.brownCafeCreme._950_100.hover,\n \"active\": colorOptions.brownCafeCreme._950_100.active\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel._950_100.default,\n \"hover\": colorOptions.brownCaramel._950_100.hover,\n \"active\": colorOptions.brownCaramel._950_100.active\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera._950_100.default,\n \"hover\": colorOptions.brownOpera._950_100.hover,\n \"active\": colorOptions.brownOpera._950_100.active\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet._950_100.default,\n \"hover\": colorOptions.beigeGrisGalet._950_100.hover,\n \"active\": colorOptions.beigeGrisGalet._950_100.active\n },\n \"info\": {\n \"default\": colorOptions.info._950_100.default,\n \"hover\": colorOptions.info._950_100.hover,\n \"active\": colorOptions.info._950_100.active\n },\n \"success\": {\n \"default\": colorOptions.success._950_100.default,\n \"hover\": colorOptions.success._950_100.hover,\n \"active\": colorOptions.success._950_100.active\n },\n \"warning\": {\n \"default\": colorOptions.warning._950_100.default,\n \"hover\": colorOptions.warning._950_100.hover,\n \"active\": colorOptions.warning._950_100.active\n },\n \"error\": {\n \"default\": colorOptions.error._950_100.default,\n \"hover\": colorOptions.error._950_100.hover,\n \"active\": colorOptions.error._950_100.active\n }\n },\n \"flat\": {\n \"grey\": {\n \"default\": colorOptions.grey._200_850.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine.sun418moon817.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon.sun425moon759.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude.sun425moon753.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe.sun373moon652.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel.sun391moon716.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume.sun247moon675.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus.sun368moon732.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine.sun319moon630.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron.sun406moon833.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile.sun425moon750.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol.sun407moon922.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde.sun348moon860.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue.sun370moon672.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme.sun383moon885.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel.sun425moon901.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera.sun395moon820.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet.sun407moon821.default\n },\n \"info\": {\n \"default\": colorOptions.info._425_625.default\n },\n \"success\": {\n \"default\": colorOptions.success._425_625.default\n },\n \"warning\": {\n \"default\": colorOptions.warning._425_625.default\n },\n \"error\": {\n \"default\": colorOptions.error._425_625.default\n }\n },\n \"actionHigh\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default,\n \"hover\": colorOptions.blueFrance.sun113_625.hover,\n \"active\": colorOptions.blueFrance.sun113_625.active\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default,\n \"hover\": colorOptions.redMarianne._425_625.hover,\n \"active\": colorOptions.redMarianne._425_625.active\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine.sun418moon817.default,\n \"hover\": colorOptions.greenTilleulVerveine.sun418moon817.hover,\n \"active\": colorOptions.greenTilleulVerveine.sun418moon817.active\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon.sun425moon759.default,\n \"hover\": colorOptions.greenBourgeon.sun425moon759.hover,\n \"active\": colorOptions.greenBourgeon.sun425moon759.active\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude.sun425moon753.default,\n \"hover\": colorOptions.greenEmeraude.sun425moon753.hover,\n \"active\": colorOptions.greenEmeraude.sun425moon753.active\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe.sun373moon652.default,\n \"hover\": colorOptions.greenMenthe.sun373moon652.hover,\n \"active\": colorOptions.greenMenthe.sun373moon652.active\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel.sun391moon716.default,\n \"hover\": colorOptions.greenArchipel.sun391moon716.hover,\n \"active\": colorOptions.greenArchipel.sun391moon716.active\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume.sun247moon675.default,\n \"hover\": colorOptions.blueEcume.sun247moon675.hover,\n \"active\": colorOptions.blueEcume.sun247moon675.active\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus.sun368moon732.default,\n \"hover\": colorOptions.blueCumulus.sun368moon732.hover,\n \"active\": colorOptions.blueCumulus.sun368moon732.active\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine.sun319moon630.default,\n \"hover\": colorOptions.purpleGlycine.sun319moon630.hover,\n \"active\": colorOptions.purpleGlycine.sun319moon630.active\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron.sun406moon833.default,\n \"hover\": colorOptions.pinkMacaron.sun406moon833.hover,\n \"active\": colorOptions.pinkMacaron.sun406moon833.active\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile.sun425moon750.default,\n \"hover\": colorOptions.pinkTuile.sun425moon750.hover,\n \"active\": colorOptions.pinkTuile.sun425moon750.active\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol.sun407moon922.default,\n \"hover\": colorOptions.yellowTournesol.sun407moon922.hover,\n \"active\": colorOptions.yellowTournesol.sun407moon922.active\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde.sun348moon860.default,\n \"hover\": colorOptions.yellowMoutarde.sun348moon860.hover,\n \"active\": colorOptions.yellowMoutarde.sun348moon860.active\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue.sun370moon672.default,\n \"hover\": colorOptions.orangeTerreBattue.sun370moon672.hover,\n \"active\": colorOptions.orangeTerreBattue.sun370moon672.active\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme.sun383moon885.default,\n \"hover\": colorOptions.brownCafeCreme.sun383moon885.hover,\n \"active\": colorOptions.brownCafeCreme.sun383moon885.active\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel.sun425moon901.default,\n \"hover\": colorOptions.brownCaramel.sun425moon901.hover,\n \"active\": colorOptions.brownCaramel.sun425moon901.active\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera.sun395moon820.default,\n \"hover\": colorOptions.brownOpera.sun395moon820.hover,\n \"active\": colorOptions.brownOpera.sun395moon820.active\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet.sun407moon821.default,\n \"hover\": colorOptions.beigeGrisGalet.sun407moon821.hover,\n \"active\": colorOptions.beigeGrisGalet.sun407moon821.active\n },\n \"info\": {\n \"default\": colorOptions.info._425_625.default,\n \"hover\": colorOptions.info._425_625.hover,\n \"active\": colorOptions.info._425_625.active\n },\n \"success\": {\n \"default\": colorOptions.success._425_625.default,\n \"hover\": colorOptions.success._425_625.hover,\n \"active\": colorOptions.success._425_625.active\n },\n \"warning\": {\n \"default\": colorOptions.warning._425_625.default,\n \"hover\": colorOptions.warning._425_625.hover,\n \"active\": colorOptions.warning._425_625.active\n },\n \"error\": {\n \"default\": colorOptions.error._425_625.default,\n \"hover\": colorOptions.error._425_625.hover,\n \"active\": colorOptions.error._425_625.active\n }\n },\n \"actionLow\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._925_125.default,\n \"hover\": colorOptions.blueFrance._925_125.hover,\n \"active\": colorOptions.blueFrance._925_125.active\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._925_125.default,\n \"hover\": colorOptions.redMarianne._925_125.hover,\n \"active\": colorOptions.redMarianne._925_125.active\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine._925_125.default,\n \"hover\": colorOptions.greenTilleulVerveine._925_125.hover,\n \"active\": colorOptions.greenTilleulVerveine._925_125.active\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon._925_125.default,\n \"hover\": colorOptions.greenBourgeon._925_125.hover,\n \"active\": colorOptions.greenBourgeon._925_125.active\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude._925_125.default,\n \"hover\": colorOptions.greenEmeraude._925_125.hover,\n \"active\": colorOptions.greenEmeraude._925_125.active\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe._925_125.default,\n \"hover\": colorOptions.greenMenthe._925_125.hover,\n \"active\": colorOptions.greenMenthe._925_125.active\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel._925_125.default,\n \"hover\": colorOptions.greenArchipel._925_125.hover,\n \"active\": colorOptions.greenArchipel._925_125.active\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume._925_125.default,\n \"hover\": colorOptions.blueEcume._925_125.hover,\n \"active\": colorOptions.blueEcume._925_125.active\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus._925_125.default,\n \"hover\": colorOptions.blueCumulus._925_125.hover,\n \"active\": colorOptions.blueCumulus._925_125.active\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine._925_125.default,\n \"hover\": colorOptions.purpleGlycine._925_125.hover,\n \"active\": colorOptions.purpleGlycine._925_125.active\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron._925_125.default,\n \"hover\": colorOptions.pinkMacaron._925_125.hover,\n \"active\": colorOptions.pinkMacaron._925_125.active\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile._925_125.default,\n \"hover\": colorOptions.pinkTuile._925_125.hover,\n \"active\": colorOptions.pinkTuile._925_125.active\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol._925_125.default,\n \"hover\": colorOptions.yellowTournesol._925_125.hover,\n \"active\": colorOptions.yellowTournesol._925_125.active\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde._925_125.default,\n \"hover\": colorOptions.yellowMoutarde._925_125.hover,\n \"active\": colorOptions.yellowMoutarde._925_125.active\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue._925_125.default,\n \"hover\": colorOptions.orangeTerreBattue._925_125.hover,\n \"active\": colorOptions.orangeTerreBattue._925_125.active\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme._925_125.default,\n \"hover\": colorOptions.brownCafeCreme._925_125.hover,\n \"active\": colorOptions.brownCafeCreme._925_125.active\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel._925_125.default,\n \"hover\": colorOptions.brownCaramel._925_125.hover,\n \"active\": colorOptions.brownCaramel._925_125.active\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera._925_125.default,\n \"hover\": colorOptions.brownOpera._925_125.hover,\n \"active\": colorOptions.brownOpera._925_125.active\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet._925_125.default,\n \"hover\": colorOptions.beigeGrisGalet._925_125.hover,\n \"active\": colorOptions.beigeGrisGalet._925_125.active\n }\n },\n \"active\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default,\n \"hover\": colorOptions.blueFrance.sun113_625.hover,\n \"active\": colorOptions.blueFrance.sun113_625.active\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default,\n \"hover\": colorOptions.redMarianne._425_625.hover,\n \"active\": colorOptions.redMarianne._425_625.active\n }\n },\n \"open\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._925_125.default,\n \"hover\": colorOptions.blueFrance._925_125.hover,\n \"active\": colorOptions.blueFrance._925_125.active\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._925_125.default,\n \"hover\": colorOptions.redMarianne._925_125.hover,\n \"active\": colorOptions.redMarianne._925_125.active\n }\n },\n \"disabled\": {\n \"grey\": {\n \"default\": colorOptions.grey._925_125.default\n }\n },\n \"raised\": {\n \"grey\": {\n \"default\": colorOptions.grey._1000_75.default,\n \"hover\": colorOptions.grey._1000_75.hover,\n \"active\": colorOptions.grey._1000_75.active\n }\n },\n \"overlap\": {\n \"grey\": {\n \"default\": colorOptions.grey._1000_100.default,\n \"hover\": colorOptions.grey._1000_100.hover,\n \"active\": colorOptions.grey._1000_100.active\n }\n },\n \"lifted\": {\n \"grey\": {\n \"default\": colorOptions.grey._1000_75.default,\n \"hover\": colorOptions.grey._1000_75.hover,\n \"active\": colorOptions.grey._1000_75.active\n }\n },\n \"altRaised\": {\n \"grey\": {\n \"default\": colorOptions.grey._975_100.default,\n \"hover\": colorOptions.grey._975_100.hover,\n \"active\": colorOptions.grey._975_100.active\n }\n },\n \"altOverlap\": {\n \"grey\": {\n \"default\": colorOptions.grey._975_125.default,\n \"hover\": colorOptions.grey._975_125.hover,\n \"active\": colorOptions.grey._975_125.active\n }\n },\n \"contrastRaised\": {\n \"grey\": {\n \"default\": colorOptions.grey._950_125.default,\n \"hover\": colorOptions.grey._950_125.hover,\n \"active\": colorOptions.grey._950_125.active\n }\n },\n \"contrastOverlap\": {\n \"grey\": {\n \"default\": colorOptions.grey._950_150.default,\n \"hover\": colorOptions.grey._950_150.hover,\n \"active\": colorOptions.grey._950_150.active\n }\n }\n },\n \"text\": {\n \"default\": {\n \"grey\": {\n \"default\": colorOptions.grey._200_850.default\n },\n \"info\": {\n \"default\": colorOptions.info._425_625.default\n },\n \"success\": {\n \"default\": colorOptions.success._425_625.default\n },\n \"warning\": {\n \"default\": colorOptions.warning._425_625.default\n },\n \"error\": {\n \"default\": colorOptions.error._425_625.default\n }\n },\n \"actionHigh\": {\n \"grey\": {\n \"default\": colorOptions.grey._50_1000.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine.sun418moon817.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon.sun425moon759.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude.sun425moon753.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe.sun373moon652.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel.sun391moon716.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume.sun247moon675.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus.sun368moon732.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine.sun319moon630.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron.sun406moon833.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile.sun425moon750.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol.sun407moon922.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde.sun348moon860.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue.sun370moon672.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme.sun383moon885.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel.sun425moon901.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera.sun395moon820.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet.sun407moon821.default\n }\n },\n \"title\": {\n \"grey\": {\n \"default\": colorOptions.grey._50_1000.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default\n }\n },\n \"label\": {\n \"grey\": {\n \"default\": colorOptions.grey._50_1000.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine.sun418moon817.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon.sun425moon759.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude.sun425moon753.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe.sun373moon652.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel.sun391moon716.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume.sun247moon675.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus.sun368moon732.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine.sun319moon630.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron.sun406moon833.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile.sun425moon750.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol.sun407moon922.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde.sun348moon860.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue.sun370moon672.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme.sun383moon885.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel.sun425moon901.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera.sun395moon820.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet.sun407moon821.default\n }\n },\n \"active\": {\n \"grey\": {\n \"default\": colorOptions.grey._50_1000.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default\n }\n },\n \"mention\": {\n \"grey\": {\n \"default\": colorOptions.grey._425_625.default\n }\n },\n \"inverted\": {\n \"grey\": {\n \"default\": colorOptions.grey._1000_50.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._975sun113.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._975_75.default\n },\n \"info\": {\n \"default\": colorOptions.info._975_75.default\n },\n \"success\": {\n \"default\": colorOptions.success._975_75.default\n },\n \"warning\": {\n \"default\": colorOptions.warning._975_75.default\n },\n \"error\": {\n \"default\": colorOptions.error._975_75.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine._975_75.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon._975_75.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude._975_75.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe._975_75.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel._975_75.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume._975_75.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus._975_75.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine._975_75.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron._975_75.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile._975_75.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol._975_75.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde._975_75.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue._975_75.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme._975_75.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel._975_75.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera._975_75.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet._975_75.default\n }\n },\n \"disabled\": {\n \"grey\": {\n \"default\": colorOptions.grey._625_425.default\n }\n },\n \"blackWhite\": {\n \"grey\": {\n \"default\": colorOptions.grey._0_1000.default\n }\n }\n },\n \"border\": {\n \"default\": {\n \"grey\": {\n \"default\": colorOptions.grey._900_175.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.main525.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne.main472.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine.main707.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon.main640.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude.main632.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe.main548.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel.main557.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume.main400.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus.main526.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine.main494.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron.main689.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile.main556.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol.main731.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde.main679.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue.main645.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme.main782.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel.main648.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera.main680.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet.main702.default\n }\n },\n \"active\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default\n }\n },\n \"actionHigh\": {\n \"grey\": {\n \"default\": colorOptions.grey._50_1000.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default\n },\n \"info\": {\n \"default\": colorOptions.info._425_625.default\n },\n \"success\": {\n \"default\": colorOptions.success._425_625.default\n },\n \"warning\": {\n \"default\": colorOptions.warning._425_625.default\n },\n \"error\": {\n \"default\": colorOptions.error._425_625.default\n }\n },\n \"actionLow\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._850_200.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._850_200.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine._850_200.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon._850_200.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude._850_200.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe._850_200.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel._850_200.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume._850_200.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus._850_200.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine._850_200.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron._850_200.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile._850_200.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol._850_200.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde._850_200.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue._850_200.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme._850_200.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel._850_200.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera._850_200.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet._850_200.default\n }\n },\n \"open\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._925_125.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._925_125.default\n }\n },\n \"plain\": {\n \"grey\": {\n \"default\": colorOptions.grey._200_850.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default\n },\n \"info\": {\n \"default\": colorOptions.info._425_625.default\n },\n \"success\": {\n \"default\": colorOptions.success._425_625.default\n },\n \"warning\": {\n \"default\": colorOptions.warning._425_625.default\n },\n \"error\": {\n \"default\": colorOptions.error._425_625.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine.sun418moon817.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon.sun425moon759.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude.sun425moon753.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe.sun373moon652.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel.sun391moon716.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume.sun247moon675.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus.sun368moon732.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine.sun319moon630.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron.sun406moon833.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile.sun425moon750.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol.sun407moon922.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde.sun348moon860.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue.sun370moon672.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme.sun383moon885.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel.sun425moon901.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera.sun395moon820.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet.sun407moon821.default\n }\n },\n \"disabled\": {\n \"grey\": {\n \"default\": colorOptions.grey._925_125.default\n }\n }\n },\n \"artwork\": {\n \"major\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default,\n \"hover\": colorOptions.blueFrance.sun113_625.hover,\n \"active\": colorOptions.blueFrance.sun113_625.active\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default,\n \"hover\": colorOptions.redMarianne._425_625.hover,\n \"active\": colorOptions.redMarianne._425_625.active\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine.sun418moon817.default,\n \"hover\": colorOptions.greenTilleulVerveine.sun418moon817.hover,\n \"active\": colorOptions.greenTilleulVerveine.sun418moon817.active\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon.sun425moon759.default,\n \"hover\": colorOptions.greenBourgeon.sun425moon759.hover,\n \"active\": colorOptions.greenBourgeon.sun425moon759.active\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude.sun425moon753.default,\n \"hover\": colorOptions.greenEmeraude.sun425moon753.hover,\n \"active\": colorOptions.greenEmeraude.sun425moon753.active\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe.sun373moon652.default,\n \"hover\": colorOptions.greenMenthe.sun373moon652.hover,\n \"active\": colorOptions.greenMenthe.sun373moon652.active\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel.sun391moon716.default,\n \"hover\": colorOptions.greenArchipel.sun391moon716.hover,\n \"active\": colorOptions.greenArchipel.sun391moon716.active\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume.sun247moon675.default,\n \"hover\": colorOptions.blueEcume.sun247moon675.hover,\n \"active\": colorOptions.blueEcume.sun247moon675.active\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus.sun368moon732.default,\n \"hover\": colorOptions.blueCumulus.sun368moon732.hover,\n \"active\": colorOptions.blueCumulus.sun368moon732.active\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine.sun319moon630.default,\n \"hover\": colorOptions.purpleGlycine.sun319moon630.hover,\n \"active\": colorOptions.purpleGlycine.sun319moon630.active\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron.sun406moon833.default,\n \"hover\": colorOptions.pinkMacaron.sun406moon833.hover,\n \"active\": colorOptions.pinkMacaron.sun406moon833.active\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile.sun425moon750.default,\n \"hover\": colorOptions.pinkTuile.sun425moon750.hover,\n \"active\": colorOptions.pinkTuile.sun425moon750.active\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol.sun407moon922.default,\n \"hover\": colorOptions.yellowTournesol.sun407moon922.hover,\n \"active\": colorOptions.yellowTournesol.sun407moon922.active\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde.sun348moon860.default,\n \"hover\": colorOptions.yellowMoutarde.sun348moon860.hover,\n \"active\": colorOptions.yellowMoutarde.sun348moon860.active\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue.sun370moon672.default,\n \"hover\": colorOptions.orangeTerreBattue.sun370moon672.hover,\n \"active\": colorOptions.orangeTerreBattue.sun370moon672.active\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme.sun383moon885.default,\n \"hover\": colorOptions.brownCafeCreme.sun383moon885.hover,\n \"active\": colorOptions.brownCafeCreme.sun383moon885.active\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel.sun425moon901.default,\n \"hover\": colorOptions.brownCaramel.sun425moon901.hover,\n \"active\": colorOptions.brownCaramel.sun425moon901.active\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera.sun395moon820.default,\n \"hover\": colorOptions.brownOpera.sun395moon820.hover,\n \"active\": colorOptions.brownOpera.sun395moon820.active\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet.sun407moon821.default,\n \"hover\": colorOptions.beigeGrisGalet.sun407moon821.hover,\n \"active\": colorOptions.beigeGrisGalet.sun407moon821.active\n }\n },\n \"minor\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.main525.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne.main472.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine.main707.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon.main640.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude.main632.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe.main548.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel.main557.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume.main400.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus.main526.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine.main494.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron.main689.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile.main556.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol.main731.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde.main679.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue.main645.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme.main782.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel.main648.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera.main680.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet.main702.default\n }\n },\n \"decorative\": {\n \"grey\": {\n \"default\": colorOptions.grey._950_100.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._950_100.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._950_100.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine._950_100.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon._950_100.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude._950_100.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe._950_100.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel._950_100.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume._950_100.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus._950_100.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine._950_100.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron._950_100.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile._950_100.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol._950_100.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde._950_100.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue._950_100.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme._950_100.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel._950_100.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera._950_100.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet._950_100.default\n }\n },\n \"background\": {\n \"grey\": {\n \"default\": colorOptions.grey._975_75.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._975_75.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._975_75.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine._975_75.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon._975_75.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude._975_75.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe._975_75.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel._975_75.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume._975_75.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus._975_75.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine._975_75.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron._975_75.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile._975_75.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol._975_75.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde._975_75.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue._975_75.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme._975_75.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel._975_75.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera._975_75.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet._975_75.default\n }\n },\n \"motif\": {\n \"grey\": {\n \"default\": colorOptions.grey._925_125.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._925_125.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._925_125.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine._925_125.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon._925_125.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude._925_125.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe._925_125.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel._925_125.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume._925_125.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus._925_125.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine._925_125.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron._925_125.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile._925_125.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol._925_125.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde._925_125.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue._925_125.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme._925_125.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel._925_125.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera._925_125.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet._925_125.default\n }\n }\n }\n };\n}\n//# sourceMappingURL=getColorDecisionsHex.js.map","import { colorOptions } from \"./generatedFromCss/colorOptions\";\nimport { getColorOptionsHex } from \"./generatedFromCss/getColorOptionsHex\";\nimport { colorDecisions } from \"./generatedFromCss/colorDecisions\";\nimport { getColorDecisionsHex } from \"./generatedFromCss/getColorDecisionsHex\";\nexport const colors = {\n \"options\": colorOptions,\n \"decisions\": colorDecisions,\n \"getHex\": (() => {\n const getHex = ({ isDark }) => {\n const options = getColorOptionsHex({ isDark });\n const decisions = getColorDecisionsHex({ \"colorOptions\": options });\n return {\n options,\n decisions\n };\n };\n const cache = {\n \"light\": undefined,\n \"dark\": undefined\n };\n return ({ isDark }) => { var _a; var _b; return ((_a = cache[_b = isDark ? \"dark\" : \"light\"]) !== null && _a !== void 0 ? _a : (cache[_b] = getHex({ isDark }))); };\n })()\n};\n//# sourceMappingURL=colors.js.map","/* eslint-disable @typescript-eslint/ban-types */\nimport { assert } from \"tsafe/assert\";\nimport { capitalize } from \"tsafe/capitalize\";\nimport { spacingTokenByValue } from \"./generatedFromCss/spacing\";\nexport function spacing(kindOrToken, params) {\n if ([\"padding\", \"margin\"].indexOf(kindOrToken) >= 0) {\n const kind = kindOrToken;\n assert(params !== undefined);\n const out = {};\n const paramsWithOnlyDirection = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (() => {\n const { rightLeft } = params;\n return (rightLeft !== undefined && {\n \"right\": rightLeft,\n \"left\": rightLeft\n });\n })()), (() => {\n const { topBottom } = params;\n return (topBottom !== undefined && {\n \"top\": topBottom,\n \"bottom\": topBottom\n });\n })()), (params.top !== undefined && { \"top\": params.top })), (params.right !== undefined && { \"right\": params.right })), (params.bottom !== undefined && { \"bottom\": params.bottom })), (params.left !== undefined && { \"left\": params.left }));\n [\"top\", \"right\", \"bottom\", \"left\"].forEach(p => {\n const v = paramsWithOnlyDirection[p];\n if (v === undefined) {\n return;\n }\n out[`${kind}${capitalize(p)}`] =\n typeof v === \"number\" ? v : v === \"auto\" ? v : spacingTokenByValue[v];\n });\n return out;\n }\n else {\n const token = kindOrToken;\n return spacingTokenByValue[token];\n }\n}\n//# sourceMappingURL=spacing.js.map","import { cx as genericCx } from \"../tools/cx\";\n/** Copy pasted from\n * https://github.com/emotion-js/emotion/blob/23f43ab9f24d44219b0b007a00f4ac681fe8712e/packages/react/src/class-names.js#L17-L63\n **/\nexport const cx = genericCx;\n//# sourceMappingURL=cx.js.map","export * from \"./colors\";\nimport { breakpoints } from \"./breakpoints\";\nimport { spacing } from \"./spacing\";\nimport { cx } from \"./cx\";\nimport { colors } from \"./colors\";\nimport { typography } from \"./generatedFromCss/typography\";\nexport const fr = {\n breakpoints,\n spacing,\n cx,\n colors,\n typography\n};\n//# sourceMappingURL=index.js.map","import { useMemo } from \"react\";\nimport { capitalize } from \"tsafe/capitalize\";\nfunction getLanguageBestApprox(params) {\n const { languages, languageLike } = params;\n scope: {\n const lang = languages.find(lang => lang.toLowerCase() === languageLike.toLowerCase());\n if (lang === undefined) {\n break scope;\n }\n return lang;\n }\n scope: {\n const iso2LanguageLike = languageLike.split(\"-\")[0].toLowerCase();\n const lang = languages.find(lang => lang.toLowerCase().includes(iso2LanguageLike));\n if (lang === undefined) {\n break scope;\n }\n return lang;\n }\n return undefined;\n}\nlet useLang_glob = () => \"fr\";\nexport function setUseLang(params) {\n useLang_glob = params.useLang;\n}\nexport function useLang() {\n return useLang_glob();\n}\nexport function createComponentI18nApi(params) {\n const { componentName, frMessages } = params;\n const messagesByLang = { \"fr\": frMessages };\n function useTranslation() {\n const lang = useLang();\n const bestMatchLang = useMemo(() => {\n const bestApproxLang = getLanguageBestApprox({\n \"languages\": Object.keys(messagesByLang),\n \"languageLike\": lang\n });\n return bestApproxLang !== null && bestApproxLang !== void 0 ? bestApproxLang : \"fr\";\n }, [lang]);\n function t(messageKey, params) {\n var _a;\n const messageOrFn = (_a = messagesByLang[bestMatchLang][messageKey]) !== null && _a !== void 0 ? _a : messagesByLang[\"fr\"][messageKey];\n return params === undefined ? messageOrFn : messageOrFn(params);\n }\n return { t };\n }\n function addTranslations(params) {\n const { lang, messages } = params;\n Object.entries(messages)\n .filter(([, value]) => value !== undefined)\n .forEach(([key, value]) => { var _a; var _b; return (((_a = (_b = messagesByLang)[lang]) !== null && _a !== void 0 ? _a : (_b[lang] = {}))[key] = value); });\n }\n return {\n useTranslation,\n [`add${capitalize(componentName)}Translations`]: addTranslations\n };\n}\n//# sourceMappingURL=i18n.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React from \"react\";\nimport { fr } from \"./fr\";\nimport { cx } from \"./tools/cx\";\nimport { assert } from \"tsafe/assert\";\nimport { is } from \"tsafe/is\";\nlet Link = props => {\n const _a = props, { href } = _a, rest = __rest(_a, [\"href\"]);\n button: {\n if (href !== \"#\" || !(\"onClick\" in rest)) {\n break button;\n }\n assert(is(rest));\n return React.createElement(\"button\", Object.assign({}, rest, { className: cx(fr.cx(\"fr-link\"), rest.className) }));\n }\n return React.createElement(\"a\", Object.assign({ href: href }, rest));\n};\nexport function setLink(params) {\n Link = props => {\n var _a;\n {\n const _b = props, { to, href } = _b, rest = __rest(_b, [\"to\", \"href\"]);\n const target = (_a = (typeof to === \"string\" ? to : undefined)) !== null && _a !== void 0 ? _a : (typeof href === \"string\" ? href : undefined);\n button: {\n if (target !== \"#\" || !(\"onClick\" in rest)) {\n break button;\n }\n assert(is(rest));\n return React.createElement(\"button\", Object.assign({}, rest, { className: cx(fr.cx(\"fr-link\"), rest.className) }));\n }\n external_links: {\n if (target === undefined ||\n (!target.startsWith(\"//\") && !/^https?:\\/\\//.test(target))) {\n break external_links;\n }\n return React.createElement(\"a\", Object.assign({ href: target, target: \"_blank\", rel: \"noreferrer\" }, rest));\n }\n anchor: {\n if (target === undefined || !target.startsWith(\"#\")) {\n break anchor;\n }\n return React.createElement(\"a\", Object.assign({ href: target }, rest));\n }\n uri_scheme: {\n // Check if the 'target' starts with a valid URI scheme (e.g., 'mailto:', 'tel:', 'skype:', 'facetime:', etc.)\n const regex = /^[a-z]+:/;\n if (target === undefined || !regex.test(target)) {\n break uri_scheme;\n }\n return React.createElement(\"a\", Object.assign({ href: target }, rest));\n }\n }\n return React.createElement(params.Link, Object.assign({}, props));\n };\n}\nexport function getLink() {\n return { Link };\n}\n//# sourceMappingURL=link.js.map","import { useReducer, useEffect, useMemo } from \"react\";\nimport { assert } from \"tsafe/assert\";\nimport { breakpoints } from \"./fr/breakpoints\";\n/** Return the breakpoint values in px, the values ger refreshed\n * when the base font size change. */\nexport function useBreakpointsValuesPx() {\n const [breakpointsValuesDependency, triggerRefresh] = useReducer(() => ({}), {});\n useEffect(() => {\n const htmlElement = document.querySelector(\"html\");\n assert(htmlElement !== null);\n // Create a new MutationObserver to detect changes in the base font size\n const observer = new MutationObserver(mutationsList => {\n if (mutationsList.find(mutation => {\n var _a;\n return mutation.target === htmlElement &&\n mutation.attributeName === \"style\" &&\n ((_a = mutation.oldValue) !== null && _a !== void 0 ? _a : \"\").indexOf(\"font-size\") !== -1;\n }) !== undefined) {\n triggerRefresh();\n }\n });\n // Observe changes to the style attribute of the html element\n observer.observe(htmlElement, {\n \"attributes\": true,\n \"attributeOldValue\": true,\n \"attributeFilter\": [\"style\"]\n });\n return () => {\n observer.disconnect();\n };\n }, []);\n const breakpointsValues = useMemo(() => breakpoints.getPxValues(), [breakpointsValuesDependency]);\n return { breakpointsValues };\n}\n//# sourceMappingURL=useBreakpointsValuesPx.js.map","import { useBreakpointsValuesPx } from \"./useBreakpointsValuesPx\";\n/** @deprecated Use import { useBreakpointsValuesPx } from \"@codegouvfr/react-dsfr/useBreakpointsValuesPx\"; instead */\nexport const useBreakpointsValues = useBreakpointsValuesPx;\n//# sourceMappingURL=useBreakpointsValues.js.map","\"use client\";\n/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport React, { useMemo } from \"react\";\nimport { createTheme, ThemeProvider as MuiThemeProvider } from \"@mui/material/styles\";\nimport { fr } from \"./fr\";\nimport { useIsDark } from \"./useIsDark\";\nimport { typography } from \"./fr/generatedFromCss/typography\";\nimport { spacingTokenByValue } from \"./fr/generatedFromCss/spacing\";\nimport { assert } from \"tsafe/assert\";\nimport { objectKeys } from \"tsafe/objectKeys\";\nimport { id } from \"tsafe/id\";\nimport { useBreakpointsValues } from \"./useBreakpointsValues\";\nexport function getMuiDsfrThemeOptions(params) {\n const { isDark, breakpointsValues } = params;\n const { options, decisions } = fr.colors.getHex({ isDark });\n return {\n \"shape\": {\n \"borderRadius\": 0\n },\n \"breakpoints\": {\n //NOTE: We would use \"unit\": breakpointsValuesUnit but only \"px\" works.\n \"unit\": \"px\",\n \"values\": breakpointsValues\n },\n \"palette\": {\n \"mode\": isDark ? \"dark\" : \"light\",\n \"primary\": {\n \"main\": options.blueFrance.sun113_625.default,\n \"light\": options.blueFrance.sun113_625.active,\n \"dark\": options.blueFrance.sun113_625.hover,\n \"contrastText\": options.blueFrance._975sun113.default\n },\n \"secondary\": {\n \"main\": options.blueFrance._950_100.default,\n \"light\": options.blueFrance._950_100.active,\n \"dark\": options.blueFrance._950_100.hover,\n \"contrastText\": options.blueFrance.sun113_625.default\n },\n \"error\": {\n \"light\": options.error._425_625.active,\n \"main\": options.error._425_625.default,\n \"dark\": options.error._425_625.hover,\n \"contrastText\": options.grey._1000_50.default\n },\n \"warning\": {\n \"light\": options.warning._425_625.default,\n \"main\": options.warning._425_625.default,\n \"dark\": options.warning._425_625.hover,\n \"contrastText\": options.grey._1000_50.default\n },\n \"info\": {\n \"light\": options.info._425_625.active,\n \"main\": options.info._425_625.default,\n \"dark\": options.info._425_625.hover,\n \"contrastText\": options.grey._1000_50.default\n },\n \"success\": {\n \"light\": options.success._425_625.active,\n \"main\": options.success._425_625.default,\n \"dark\": options.success._425_625.hover,\n \"contrastText\": options.grey._1000_50.default\n },\n \"text\": {\n \"primary\": options.grey._50_1000.default,\n \"secondary\": options.grey._200_850.default,\n \"disabled\": options.grey._625_425.default\n },\n \"divider\": options.grey._900_175.default,\n \"action\": {\n \"active\": options.grey._200_850.default,\n \"hover\": options.grey._975_100.default,\n \"selected\": options.blueFrance._925_125.active,\n \"disabled\": options.grey._625_425.default,\n \"disabledBackground\": options.grey._925_125.default,\n \"focus\": options.blueFrance.sun113_625.active\n },\n \"background\": {\n \"default\": options.grey._1000_50.default,\n \"paper\": options.grey._1000_100.default\n }\n },\n \"typography\": (() => {\n const getBySelector = (selector) => {\n const variant = typography.find(variant => variant.selector === selector);\n assert(variant !== undefined);\n const style = Object.assign({}, variant.style);\n //TODO: Investigate why we need to do that.\n delete style.margin;\n return style;\n };\n return {\n \"fontFamily\": '\"Marianne\", arial, sans-serif',\n \"h1\": getBySelector(\"h1\"),\n \"h2\": getBySelector(\"h2\"),\n \"h3\": getBySelector(\"h3\"),\n \"h4\": getBySelector(\"h4\"),\n \"h5\": getBySelector(\"h5\"),\n \"h6\": getBySelector(\"h6\"),\n //\"subtitle1\":\n //\"subtitle2\":\n \"body1\": getBySelector(\"p\")\n //\"body2\": {},\n //\"caption\": {},\n //\"button\": {},\n //\"overline\": {}\n };\n })(),\n \"spacing\": (() => {\n const values = [];\n //NOTE: The properties are declared sorted in the object.\n objectKeys(spacingTokenByValue).forEach(key => {\n if (key.endsWith(\"w\")) {\n values.push(spacingTokenByValue[key]);\n }\n });\n return (abs) => typeof abs === \"string\"\n ? abs\n : abs === 0\n ? 0\n : (() => {\n const value = values[abs - 1];\n return value === undefined ? abs : value;\n })();\n })(),\n \"shadows\": (() => {\n const [, , , , , , , , ...rest] = createTheme().shadows;\n return id([\n \"none\",\n /** ButtonBar shadow */\n \"0px 6px 10px 0px rgba(0,0,0,0.07)\",\n /** Explorer items */\n \"0px 4px 4px 0px rgba(0,0,0,0.1)\",\n /** LeftBar */\n \"6px 0px 16px 0px rgba(0,0,0,0.15)\",\n /** AccountTab default */\n \"4px 0px 10px 0px rgba(0,0,0,0.07)\",\n /** AccountTab active */\n \"-4px 0px 10px 0px rgba(0,0,0,0.07)\",\n /** Card over */\n \"0px 6px 10px 0px rgba(0,0,0,0.14)\",\n /** Dialog **/\n \"0px 8px 10px -7px rgba(0,0,0,0.07)\",\n ...rest\n ]);\n })(),\n \"components\": Object.assign({ \"MuiButton\": {\n \"styleOverrides\": {\n \"root\": {\n \"textTransform\": \"unset\"\n }\n }\n }, \"MuiSvgIcon\": {\n \"styleOverrides\": {\n \"colorPrimary\": ({ theme }) => ({\n \"color\": theme.palette.text.primary\n })\n }\n }, \"MuiStepIcon\": {\n \"styleOverrides\": {\n \"text\": {\n \"fill\": fr.colors.getHex({ \"isDark\": true }).decisions.text.title.grey\n .default\n }\n }\n }, \"MuiTablePagination\": {\n \"styleOverrides\": {\n \"displayedRows\": {\n //Fixes: https://user-images.githubusercontent.com/6702424/206063347-65e7d13c-3dea-410c-a0e0-51cf214deba0.png\n \"margin\": \"unset\"\n },\n \"selectLabel\": {\n //Fixes: https://github.com/codegouvfr/react-dsfr/assets/6702424/678a7f69-d4e8-4897-85f0-65c605b46900\n \"margin\": \"unset\"\n }\n }\n }, \"MuiTypography\": {\n \"styleOverrides\": {\n \"root\": {\n //Fixes double underline: https://user-images.githubusercontent.com/6702424/206064575-4f036145-ff40-47db-aabd-560f29136e71.png\n \"backgroundImage\": \"unset\"\n }\n }\n }, \"MuiAutocomplete\": {\n \"styleOverrides\": {\n \"listbox\": {\n \"padding\": 0\n },\n \"option\": {\n \"padding\": `${fr.spacing(\"2w\")} !important`,\n \"&.Mui-focused\": {\n \"backgroundColor\": decisions.background.open.blueFrance.default + \" !important\"\n },\n \"&.Mui-focusVisible\": {\n \"backgroundColor\": decisions.background.open.blueFrance.default + \" !important\"\n }\n }\n }\n } }, (() => {\n const nonTypedMuiComponents = {\n \"MuiDataGrid\": {\n \"styleOverrides\": {\n \"root\": (() => {\n const set = new WeakSet();\n const borderNone = {\n \"border\": \"none\"\n };\n return (params) => {\n const { ownerState } = params;\n if (ownerState === undefined) {\n return borderNone;\n }\n if (ownerState.getRowClassName === undefined ||\n !set.has(ownerState.getRowClassName)) {\n const originalGetRowClassName = ownerState.getRowClassName;\n ownerState.getRowClassName = params => {\n const { indexRelativeToCurrentPage } = params;\n const parityClassName = indexRelativeToCurrentPage % 2 === 0\n ? \"even\"\n : \"odd\";\n const className = originalGetRowClassName === null || originalGetRowClassName === void 0 ? void 0 : originalGetRowClassName(params);\n return className === undefined\n ? parityClassName\n : `${parityClassName} ${className}`;\n };\n set.add(ownerState.getRowClassName);\n }\n return borderNone;\n };\n })(),\n \"columnHeaders\": {\n \"backgroundColor\": decisions.background.contrast.grey.default,\n \"&&\": {\n \"borderColor\": decisions.border.plain.grey.default,\n \"borderPosition\": \"bottom\",\n \"borderWidth\": 2\n }\n },\n \"row\": () => {\n const hoveredAndSelected = {\n \"&.Mui-hovered\": {\n \"backgroundColor\": fr.colors.decisions.background.contrast.grey.hover\n },\n \"&.Mui-selected\": {\n \"backgroundColor\": fr.colors.decisions.background.contrast.grey.active\n }\n };\n return {\n \"&.even\": Object.assign({ \"backgroundColor\": decisions.background.contrast.grey.default, \"&:hover\": {\n \"backgroundColor\": decisions.background.contrast.grey.hover\n } }, hoveredAndSelected),\n \"&.odd\": Object.assign({ \"backgroundColor\": decisions.background.alt.grey.default, \"&:hover\": {\n \"backgroundColor\": decisions.background.alt.grey.hover\n } }, hoveredAndSelected)\n };\n },\n \"columnSeparator\": {\n \"display\": \"none\"\n }\n }\n }\n };\n return nonTypedMuiComponents;\n })())\n };\n}\n/**\n *Generate a theme base on the options received.\n *\n * @param params — Dark or light mode.\n *\n * @param args — Deep merge the arguments with the about to be returned theme.\n *\n * @returns — A complete, ready-to-use mui theme object.\n */\nexport function createMuiDsfrTheme(params, ...args) {\n const muiTheme = createTheme(getMuiDsfrThemeOptions(params), ...args);\n return muiTheme;\n}\nexport function createMuiDsfrThemeProvider(params) {\n const { augmentMuiTheme, useIsDark: useIsDark_props = useIsDark } = params;\n function MuiDsfrThemeProvider(props) {\n const { children } = props;\n const { isDark } = useIsDark_props();\n const { breakpointsValues } = useBreakpointsValues();\n const theme = useMemo(() => {\n const nonAugmentedMuiTheme = createMuiDsfrTheme({ isDark, breakpointsValues });\n return augmentMuiTheme === undefined\n ? nonAugmentedMuiTheme\n : augmentMuiTheme({\n nonAugmentedMuiTheme,\n isDark\n });\n }, [isDark]);\n return React.createElement(MuiThemeProvider, { theme: theme }, children);\n }\n return { MuiDsfrThemeProvider };\n}\nexport const { MuiDsfrThemeProvider } = createMuiDsfrThemeProvider({});\nexport default MuiDsfrThemeProvider;\n//# sourceMappingURL=mui.js.map","import { assert } from \"tsafe/assert\";\nimport { typeGuard } from \"tsafe/typeGuard\";\nexport const cx = (...args) => {\n const len = args.length;\n let i = 0;\n let cls = \"\";\n for (; i < len; i++) {\n const arg = args[i];\n if (arg == null)\n continue;\n let toAdd;\n switch (typeof arg) {\n case \"boolean\":\n break;\n case \"object\": {\n if (Array.isArray(arg)) {\n toAdd = cx(...arg);\n }\n else {\n assert(!typeGuard(arg, false));\n toAdd = \"\";\n for (const k in arg) {\n if (arg[k] && k) {\n toAdd && (toAdd += \" \");\n toAdd += k;\n }\n }\n }\n break;\n }\n default: {\n toAdd = arg;\n }\n }\n if (toAdd) {\n cls && (cls += \" \");\n cls += toAdd;\n }\n }\n return cls;\n};\n//# sourceMappingURL=cx.js.map","export const isBrowser = typeof window === \"object\" && typeof document === \"object\";\n//# sourceMappingURL=isBrowser.js.map","import { useRef, useState } from \"react\";\n/** https://stackoverflow.com/questions/65890278/why-cant-usecallback-always-return-the-same-ref */\nexport function useConstCallback(callback) {\n const callbackRef = useRef(null);\n callbackRef.current = callback;\n return useState(() => (...args) => callbackRef.current(...args))[0];\n}\n//# sourceMappingURL=useConstCallback.js.map","import { useId } from \"react\";\n/**\n * Eulerian analytics requires every element to have a unique ID.\n * This hook help generate such an ID in the case they are not explicitly provided.\n */\nexport function useAnalyticsId(params) {\n const { explicitlyProvidedId, defaultIdPrefix } = params;\n const id = useId();\n return explicitlyProvidedId !== null && explicitlyProvidedId !== void 0 ? explicitlyProvidedId : `${defaultIdPrefix}-${id}`;\n}\n//# sourceMappingURL=useAnalyticsId.js.map","import { assert } from \"tsafe/assert\";\nimport { is } from \"tsafe/is\";\nexport function createStatefulObservable(getInitialValue) {\n const nextFunctions = [];\n const { get, set } = (() => {\n let wrappedState = undefined;\n function set(data) {\n wrappedState = [data];\n nextFunctions.forEach(next => next(data));\n }\n return {\n \"get\": () => {\n if (wrappedState === undefined) {\n set(getInitialValue());\n assert(!is(wrappedState));\n }\n return wrappedState[0];\n },\n set\n };\n })();\n return Object.defineProperty({\n \"current\": null,\n \"subscribe\": (next) => {\n nextFunctions.push(next);\n return {\n \"unsubscribe\": () => nextFunctions.splice(nextFunctions.indexOf(next), 1)\n };\n }\n }, \"current\", {\n \"enumerable\": true,\n get,\n set\n });\n}\n//# sourceMappingURL=StatefulObservable.js.map","import { useEffect } from \"react\";\n/**\n * Equivalent of https://docs.evt.land/api/react-hooks\n */\nexport function useObservable(effect, deps) {\n useEffect(() => {\n const subscriptions = [];\n effect({\n \"registerSubscription\": subscription => subscriptions.push(subscription)\n });\n return () => {\n subscriptions.forEach(subscription => subscription.unsubscribe());\n subscriptions.length = 0;\n };\n }, deps);\n}\n//# sourceMappingURL=useObservable.js.map","import { useObservable } from \"./useObservable\";\nimport { useState } from \"react\";\n/**\n * Equivalent of https://docs.evt.land/api/react-hooks\n * */\nexport function useRerenderOnChange($) {\n //NOTE: We use function in case the state is a function\n const [, setCurrent] = useState(() => $.current);\n useObservable(({ registerSubscription }) => {\n const subscription = $.subscribe(current => setCurrent(() => current));\n registerSubscription(subscription);\n }, [$]);\n}\n//# sourceMappingURL=useRerenderOnChange.js.map","export * from \"./useObservable\";\nexport * from \"./useRerenderOnChange\";\n//# sourceMappingURL=index.js.map","export * from \"./StatefulObservable\";\nexport * from \"./hooks\";\n//# sourceMappingURL=index.js.map","import { assert } from \"tsafe/assert\";\nimport { createStatefulObservable, useRerenderOnChange } from \"../tools/StatefulObservable\";\nimport { useConstCallback } from \"../tools/powerhooks/useConstCallback\";\nimport { fr } from \"../fr\";\nimport { data_fr_scheme, data_fr_theme, rootColorSchemeStyleTagId } from \"./constants\";\nconst $clientSideIsDark = createStatefulObservable(() => {\n if (typeof process === \"object\" && process.env.JEST_WORKER_ID !== undefined) {\n return false;\n }\n throw new Error([\n \"react-dsfr not initialized.\",\n \"Refer to the documentation for setup instructions\",\n \"If it used to work but after an update you're getting this error\",\n \"it usually means that you have multiple copies of @codegouvfr/react-dsfr in your node_modules\",\n \"@codegouvfr/react-dsfr is a singleton, try removing your lock file and node_module.\"\n ].join(\" \"));\n});\nconst $isAfterFirstEffect = createStatefulObservable(() => false);\nexport const useIsDarkClientSide = () => {\n useRerenderOnChange($clientSideIsDark);\n useRerenderOnChange($isAfterFirstEffect);\n const isDark = $isAfterFirstEffect.current\n ? $clientSideIsDark.current\n : ssrWasPerformedWithIsDark;\n const setIsDark = useConstCallback(newIsDarkOrDeduceNewIsDarkFromCurrentIsDark => {\n const data_fr_js_value = document.documentElement.getAttribute(\"data-fr-js\");\n const newColorScheme = (() => {\n switch (typeof newIsDarkOrDeduceNewIsDarkFromCurrentIsDark === \"function\"\n ? newIsDarkOrDeduceNewIsDarkFromCurrentIsDark(isDark)\n : newIsDarkOrDeduceNewIsDarkFromCurrentIsDark) {\n case \"system\":\n return typeof window.matchMedia === \"function\" &&\n window.matchMedia(\"(prefers-color-scheme: dark)\").matches\n ? \"dark\"\n : \"light\";\n case true:\n return \"dark\";\n case false:\n return \"light\";\n }\n })();\n document.documentElement.setAttribute(data_fr_scheme, newColorScheme);\n if (data_fr_js_value !== \"true\") {\n //NOTE: DSFR not started yet.\n document.documentElement.setAttribute(data_fr_theme, newColorScheme);\n localStorage.setItem(\"scheme\", newColorScheme);\n }\n });\n return {\n isDark,\n setIsDark\n };\n};\nlet ssrWasPerformedWithIsDark;\nfunction getCurrentIsDarkFromHtmlAttribute() {\n const colorSchemeFromHtmlAttribute = document.documentElement.getAttribute(data_fr_theme);\n switch (colorSchemeFromHtmlAttribute) {\n case null:\n return undefined;\n case \"light\":\n return false;\n case \"dark\":\n return true;\n }\n assert(false, `Unrecognized ${data_fr_theme} attribute value: ${colorSchemeFromHtmlAttribute}`);\n}\nexport function startClientSideIsDarkLogic(params) {\n const { doPersistDarkModePreferenceWithCookie, registerEffectAction, colorSchemeExplicitlyProvidedAsParameter, doCheckNonce = false, trustedTypesPolicyName } = params;\n const { clientSideIsDark, ssrWasPerformedWithIsDark: ssrWasPerformedWithIsDark_ } = (() => {\n var _a, _b, _c;\n const isDarkFromHtmlAttribute = getCurrentIsDarkFromHtmlAttribute();\n if (isDarkFromHtmlAttribute !== undefined) {\n return {\n \"clientSideIsDark\": isDarkFromHtmlAttribute,\n \"ssrWasPerformedWithIsDark\": (_a = window.ssrWasPerformedWithIsDark) !== null && _a !== void 0 ? _a : isDarkFromHtmlAttribute\n };\n }\n const isDarkExplicitlyProvidedAsParameter = (() => {\n if (colorSchemeExplicitlyProvidedAsParameter === \"system\") {\n return undefined;\n }\n switch (colorSchemeExplicitlyProvidedAsParameter) {\n case \"dark\":\n return true;\n case \"light\":\n return false;\n }\n })();\n const isDarkFromLocalStorage = (() => {\n const colorSchemeReadFromLocalStorage = localStorage.getItem(\"scheme\");\n if (colorSchemeReadFromLocalStorage === null) {\n return undefined;\n }\n if (colorSchemeReadFromLocalStorage === \"system\") {\n return undefined;\n }\n switch (colorSchemeReadFromLocalStorage) {\n case \"dark\":\n return true;\n case \"light\":\n return false;\n }\n })();\n const isDarkFromOsPreference = (() => {\n if (!window.matchMedia) {\n return undefined;\n }\n return window.matchMedia(\"(prefers-color-scheme: dark)\").matches;\n })();\n const isDarkFallback = false;\n return {\n \"ssrWasPerformedWithIsDark\": isDarkExplicitlyProvidedAsParameter !== null && isDarkExplicitlyProvidedAsParameter !== void 0 ? isDarkExplicitlyProvidedAsParameter : isDarkFallback,\n \"clientSideIsDark\": (_c = (_b = isDarkFromLocalStorage !== null && isDarkFromLocalStorage !== void 0 ? isDarkFromLocalStorage : isDarkExplicitlyProvidedAsParameter) !== null && _b !== void 0 ? _b : isDarkFromOsPreference) !== null && _c !== void 0 ? _c : isDarkFallback\n };\n })();\n ssrWasPerformedWithIsDark = ssrWasPerformedWithIsDark_;\n const trustedTypes = window.trustedTypes;\n const sanitizer = typeof trustedTypes !== \"undefined\"\n ? trustedTypes.createPolicy(trustedTypesPolicyName, { createHTML: (s) => s })\n : {\n createHTML: (s) => s\n };\n $clientSideIsDark.current = clientSideIsDark;\n [data_fr_scheme, data_fr_theme].forEach(attr => document.documentElement.setAttribute(attr, clientSideIsDark ? \"dark\" : \"light\"));\n new MutationObserver(() => {\n const isDarkFromHtmlAttribute = getCurrentIsDarkFromHtmlAttribute();\n assert(isDarkFromHtmlAttribute !== undefined);\n $clientSideIsDark.current = isDarkFromHtmlAttribute;\n }).observe(document.documentElement, {\n \"attributes\": true,\n \"attributeFilter\": [data_fr_theme]\n });\n {\n const setColorSchemeCookie = (isDark) => {\n if (!doPersistDarkModePreferenceWithCookie) {\n return;\n }\n const colorScheme = isDark ? \"dark\" : \"light\";\n let newCookie = `${data_fr_theme}=${colorScheme};path=/;max-age=31536000;SameSite=Strict`;\n set_domain: {\n const { hostname } = window.location;\n //We do not set the domain if we are on localhost or an ip\n if (/(^localhost$)|(^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}$)/.test(hostname)) {\n break set_domain;\n }\n newCookie += `;domain=${hostname}`;\n }\n document.cookie = newCookie;\n };\n setColorSchemeCookie($clientSideIsDark.current);\n $clientSideIsDark.subscribe(setColorSchemeCookie);\n }\n {\n const setRootColorScheme = (isDark) => {\n var _a;\n const nonce = window.ssrNonce;\n if (doCheckNonce && !nonce) {\n return;\n }\n (_a = document.getElementById(rootColorSchemeStyleTagId)) === null || _a === void 0 ? void 0 : _a.remove();\n const element = document.createElement(\"style\");\n element.id = rootColorSchemeStyleTagId;\n if (nonce) {\n element.setAttribute(\"nonce\", nonce);\n }\n element.innerHTML = sanitizer.createHTML(`:root { color-scheme: ${isDark ? \"dark\" : \"light\"}; }`);\n document.head.appendChild(element);\n };\n setRootColorScheme($clientSideIsDark.current);\n $clientSideIsDark.subscribe(setRootColorScheme);\n }\n {\n const setThemeColor = (isDark) => {\n var _a;\n const name = \"theme-color\";\n (_a = document.querySelector(`meta[name=${name}]`)) === null || _a === void 0 ? void 0 : _a.remove();\n const element = document.createElement(\"meta\");\n element.name = name;\n element.content = fr.colors.getHex({\n isDark\n }).decisions.background.default.grey.default;\n document.head.appendChild(element);\n };\n setThemeColor($clientSideIsDark.current);\n $clientSideIsDark.subscribe(setThemeColor);\n }\n registerEffectAction(() => ($isAfterFirstEffect.current = true));\n}\n//# sourceMappingURL=client.js.map","export const data_fr_theme = \"data-fr-theme\";\nexport const data_fr_scheme = \"data-fr-scheme\";\nexport const rootColorSchemeStyleTagId = \"dsfr-root-color-scheme\";\n//# sourceMappingURL=constants.js.map","import { isBrowser } from \"../tools/isBrowser\";\nimport { useIsDarkServerSide } from \"./server\";\nimport { useIsDarkClientSide } from \"./client\";\nexport const useIsDark = isBrowser ? useIsDarkClientSide : useIsDarkServerSide;\n//# sourceMappingURL=index.js.map","\"use client\";\nimport { createContext, useContext } from \"react\";\nimport { useConstCallback } from \"../tools/powerhooks/useConstCallback\";\nimport { assert } from \"tsafe/assert\";\nconst ssrIsDarkContext = createContext(undefined);\nexport const { Provider: SsrIsDarkProvider } = ssrIsDarkContext;\nexport const useIsDarkServerSide = () => {\n const setIsDark = useConstCallback(() => {\n /* nothing */\n });\n const isDark = useContext(ssrIsDarkContext);\n assert(isDark !== undefined, \"Not within provider\");\n return {\n isDark,\n setIsDark\n };\n};\n//# sourceMappingURL=server.js.map","import { SDK_VERSION } from '../version.js';\n\n/**\n * A builder for the SDK metadata in the options for the SDK initialization.\n *\n * Note: This function is identical to `buildMetadata` in Remix and NextJS and SvelteKit.\n * We don't extract it for bundle size reasons.\n * @see https://github.com/getsentry/sentry-javascript/pull/7404\n * @see https://github.com/getsentry/sentry-javascript/pull/4196\n *\n * If you make changes to this function consider updating the others as well.\n *\n * @param options SDK options object that gets mutated\n * @param names list of package names\n */\nfunction applySdkMetadata(options, name, names = [name], source = 'npm') {\n const metadata = options._metadata || {};\n\n if (!metadata.sdk) {\n metadata.sdk = {\n name: `sentry.javascript.${name}`,\n packages: names.map(name => ({\n name: `${source}:@sentry/${name}`,\n version: SDK_VERSION,\n })),\n version: SDK_VERSION,\n };\n }\n\n options._metadata = metadata;\n}\n\nexport { applySdkMetadata };\n//# sourceMappingURL=sdkMetadata.js.map\n","import { getClient } from '../exports.js';\n\n// Treeshakable guard to remove all code related to tracing\n\n/**\n * Determines if tracing is currently enabled.\n *\n * Tracing is enabled when at least one of `tracesSampleRate` and `tracesSampler` is defined in the SDK config.\n */\nfunction hasTracingEnabled(\n maybeOptions,\n) {\n if (typeof __SENTRY_TRACING__ === 'boolean' && !__SENTRY_TRACING__) {\n return false;\n }\n\n const client = getClient();\n const options = maybeOptions || (client && client.getOptions());\n return !!options && (options.enableTracing || 'tracesSampleRate' in options || 'tracesSampler' in options);\n}\n\nexport { hasTracingEnabled };\n//# sourceMappingURL=hasTracingEnabled.js.map\n","import { arrayify, logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { addGlobalEventProcessor } from './eventProcessors.js';\nimport { getClient } from './exports.js';\nimport { getCurrentHub } from './hub.js';\n\nconst installedIntegrations = [];\n\n/** Map of integrations assigned to a client */\n\n/**\n * Remove duplicates from the given array, preferring the last instance of any duplicate. Not guaranteed to\n * preseve the order of integrations in the array.\n *\n * @private\n */\nfunction filterDuplicates(integrations) {\n const integrationsByName = {};\n\n integrations.forEach(currentInstance => {\n const { name } = currentInstance;\n\n const existingInstance = integrationsByName[name];\n\n // We want integrations later in the array to overwrite earlier ones of the same type, except that we never want a\n // default instance to overwrite an existing user instance\n if (existingInstance && !existingInstance.isDefaultInstance && currentInstance.isDefaultInstance) {\n return;\n }\n\n integrationsByName[name] = currentInstance;\n });\n\n return Object.keys(integrationsByName).map(k => integrationsByName[k]);\n}\n\n/** Gets integrations to install */\nfunction getIntegrationsToSetup(options) {\n const defaultIntegrations = options.defaultIntegrations || [];\n const userIntegrations = options.integrations;\n\n // We flag default instances, so that later we can tell them apart from any user-created instances of the same class\n defaultIntegrations.forEach(integration => {\n integration.isDefaultInstance = true;\n });\n\n let integrations;\n\n if (Array.isArray(userIntegrations)) {\n integrations = [...defaultIntegrations, ...userIntegrations];\n } else if (typeof userIntegrations === 'function') {\n integrations = arrayify(userIntegrations(defaultIntegrations));\n } else {\n integrations = defaultIntegrations;\n }\n\n const finalIntegrations = filterDuplicates(integrations);\n\n // The `Debug` integration prints copies of the `event` and `hint` which will be passed to `beforeSend` or\n // `beforeSendTransaction`. It therefore has to run after all other integrations, so that the changes of all event\n // processors will be reflected in the printed values. For lack of a more elegant way to guarantee that, we therefore\n // locate it and, assuming it exists, pop it out of its current spot and shove it onto the end of the array.\n const debugIndex = findIndex(finalIntegrations, integration => integration.name === 'Debug');\n if (debugIndex !== -1) {\n const [debugInstance] = finalIntegrations.splice(debugIndex, 1);\n finalIntegrations.push(debugInstance);\n }\n\n return finalIntegrations;\n}\n\n/**\n * Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default\n * integrations are added unless they were already provided before.\n * @param integrations array of integration instances\n * @param withDefault should enable default integrations\n */\nfunction setupIntegrations(client, integrations) {\n const integrationIndex = {};\n\n integrations.forEach(integration => {\n // guard against empty provided integrations\n if (integration) {\n setupIntegration(client, integration, integrationIndex);\n }\n });\n\n return integrationIndex;\n}\n\n/**\n * Execute the `afterAllSetup` hooks of the given integrations.\n */\nfunction afterSetupIntegrations(client, integrations) {\n for (const integration of integrations) {\n // guard against empty provided integrations\n if (integration && integration.afterAllSetup) {\n integration.afterAllSetup(client);\n }\n }\n}\n\n/** Setup a single integration. */\nfunction setupIntegration(client, integration, integrationIndex) {\n if (integrationIndex[integration.name]) {\n DEBUG_BUILD && logger.log(`Integration skipped because it was already installed: ${integration.name}`);\n return;\n }\n integrationIndex[integration.name] = integration;\n\n // `setupOnce` is only called the first time\n if (installedIntegrations.indexOf(integration.name) === -1) {\n // eslint-disable-next-line deprecation/deprecation\n integration.setupOnce(addGlobalEventProcessor, getCurrentHub);\n installedIntegrations.push(integration.name);\n }\n\n // `setup` is run for each client\n if (integration.setup && typeof integration.setup === 'function') {\n integration.setup(client);\n }\n\n if (client.on && typeof integration.preprocessEvent === 'function') {\n const callback = integration.preprocessEvent.bind(integration) ;\n client.on('preprocessEvent', (event, hint) => callback(event, hint, client));\n }\n\n if (client.addEventProcessor && typeof integration.processEvent === 'function') {\n const callback = integration.processEvent.bind(integration) ;\n\n const processor = Object.assign((event, hint) => callback(event, hint, client), {\n id: integration.name,\n });\n\n client.addEventProcessor(processor);\n }\n\n DEBUG_BUILD && logger.log(`Integration installed: ${integration.name}`);\n}\n\n/** Add an integration to the current hub's client. */\nfunction addIntegration(integration) {\n const client = getClient();\n\n if (!client || !client.addIntegration) {\n DEBUG_BUILD && logger.warn(`Cannot add integration \"${integration.name}\" because no SDK Client is available.`);\n return;\n }\n\n client.addIntegration(integration);\n}\n\n// Polyfill for Array.findIndex(), which is not supported in ES5\nfunction findIndex(arr, callback) {\n for (let i = 0; i < arr.length; i++) {\n if (callback(arr[i]) === true) {\n return i;\n }\n }\n\n return -1;\n}\n\n/**\n * Convert a new integration function to the legacy class syntax.\n * In v8, we can remove this and instead export the integration functions directly.\n *\n * @deprecated This will be removed in v8!\n */\nfunction convertIntegrationFnToClass(\n name,\n fn,\n) {\n return Object.assign(\n function ConvertedIntegration(...args) {\n return fn(...args);\n },\n { id: name },\n ) ;\n}\n\n/**\n * Define an integration function that can be used to create an integration instance.\n * Note that this by design hides the implementation details of the integration, as they are considered internal.\n */\nfunction defineIntegration(fn) {\n return fn;\n}\n\nexport { addIntegration, afterSetupIntegrations, convertIntegrationFnToClass, defineIntegration, getIntegrationsToSetup, installedIntegrations, setupIntegration, setupIntegrations };\n//# sourceMappingURL=integration.js.map\n","import { getOriginalFunction } from '@sentry/utils';\nimport { getClient } from '../exports.js';\nimport { convertIntegrationFnToClass, defineIntegration } from '../integration.js';\n\nlet originalFunctionToString;\n\nconst INTEGRATION_NAME = 'FunctionToString';\n\nconst SETUP_CLIENTS = new WeakMap();\n\nconst _functionToStringIntegration = (() => {\n return {\n name: INTEGRATION_NAME,\n setupOnce() {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n originalFunctionToString = Function.prototype.toString;\n\n // intrinsics (like Function.prototype) might be immutable in some environments\n // e.g. Node with --frozen-intrinsics, XS (an embedded JavaScript engine) or SES (a JavaScript proposal)\n try {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Function.prototype.toString = function ( ...args) {\n const originalFunction = getOriginalFunction(this);\n const context =\n SETUP_CLIENTS.has(getClient() ) && originalFunction !== undefined ? originalFunction : this;\n return originalFunctionToString.apply(context, args);\n };\n } catch (e) {\n // ignore errors here, just don't patch this\n }\n },\n setup(client) {\n SETUP_CLIENTS.set(client, true);\n },\n };\n}) ;\n\n/**\n * Patch toString calls to return proper name for wrapped functions.\n *\n * ```js\n * Sentry.init({\n * integrations: [\n * functionToStringIntegration(),\n * ],\n * });\n * ```\n */\nconst functionToStringIntegration = defineIntegration(_functionToStringIntegration);\n\n/**\n * Patch toString calls to return proper name for wrapped functions.\n *\n * @deprecated Use `functionToStringIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst FunctionToString = convertIntegrationFnToClass(\n INTEGRATION_NAME,\n functionToStringIntegration,\n) ;\n\n// eslint-disable-next-line deprecation/deprecation\n\nexport { FunctionToString, functionToStringIntegration };\n//# sourceMappingURL=functiontostring.js.map\n","import { logger, getEventDescription, stringMatchesSomePattern } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { convertIntegrationFnToClass, defineIntegration } from '../integration.js';\n\n// \"Script error.\" is hard coded into browsers for errors that it can't read.\n// this is the result of a script being pulled in from an external domain and CORS.\nconst DEFAULT_IGNORE_ERRORS = [\n /^Script error\\.?$/,\n /^Javascript error: Script error\\.? on line 0$/,\n /^ResizeObserver loop completed with undelivered notifications.$/,\n /^Cannot redefine property: googletag$/,\n];\n\nconst DEFAULT_IGNORE_TRANSACTIONS = [\n /^.*\\/healthcheck$/,\n /^.*\\/healthy$/,\n /^.*\\/live$/,\n /^.*\\/ready$/,\n /^.*\\/heartbeat$/,\n /^.*\\/health$/,\n /^.*\\/healthz$/,\n];\n\n/** Options for the InboundFilters integration */\n\nconst INTEGRATION_NAME = 'InboundFilters';\nconst _inboundFiltersIntegration = ((options = {}) => {\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function\n processEvent(event, _hint, client) {\n const clientOptions = client.getOptions();\n const mergedOptions = _mergeOptions(options, clientOptions);\n return _shouldDropEvent(event, mergedOptions) ? null : event;\n },\n };\n}) ;\n\nconst inboundFiltersIntegration = defineIntegration(_inboundFiltersIntegration);\n\n/**\n * Inbound filters configurable by the user.\n * @deprecated Use `inboundFiltersIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst InboundFilters = convertIntegrationFnToClass(\n INTEGRATION_NAME,\n inboundFiltersIntegration,\n)\n\n;\n\nfunction _mergeOptions(\n internalOptions = {},\n clientOptions = {},\n) {\n return {\n allowUrls: [...(internalOptions.allowUrls || []), ...(clientOptions.allowUrls || [])],\n denyUrls: [...(internalOptions.denyUrls || []), ...(clientOptions.denyUrls || [])],\n ignoreErrors: [\n ...(internalOptions.ignoreErrors || []),\n ...(clientOptions.ignoreErrors || []),\n ...(internalOptions.disableErrorDefaults ? [] : DEFAULT_IGNORE_ERRORS),\n ],\n ignoreTransactions: [\n ...(internalOptions.ignoreTransactions || []),\n ...(clientOptions.ignoreTransactions || []),\n ...(internalOptions.disableTransactionDefaults ? [] : DEFAULT_IGNORE_TRANSACTIONS),\n ],\n ignoreInternal: internalOptions.ignoreInternal !== undefined ? internalOptions.ignoreInternal : true,\n };\n}\n\nfunction _shouldDropEvent(event, options) {\n if (options.ignoreInternal && _isSentryError(event)) {\n DEBUG_BUILD &&\n logger.warn(`Event dropped due to being internal Sentry Error.\\nEvent: ${getEventDescription(event)}`);\n return true;\n }\n if (_isIgnoredError(event, options.ignoreErrors)) {\n DEBUG_BUILD &&\n logger.warn(\n `Event dropped due to being matched by \\`ignoreErrors\\` option.\\nEvent: ${getEventDescription(event)}`,\n );\n return true;\n }\n if (_isIgnoredTransaction(event, options.ignoreTransactions)) {\n DEBUG_BUILD &&\n logger.warn(\n `Event dropped due to being matched by \\`ignoreTransactions\\` option.\\nEvent: ${getEventDescription(event)}`,\n );\n return true;\n }\n if (_isDeniedUrl(event, options.denyUrls)) {\n DEBUG_BUILD &&\n logger.warn(\n `Event dropped due to being matched by \\`denyUrls\\` option.\\nEvent: ${getEventDescription(\n event,\n )}.\\nUrl: ${_getEventFilterUrl(event)}`,\n );\n return true;\n }\n if (!_isAllowedUrl(event, options.allowUrls)) {\n DEBUG_BUILD &&\n logger.warn(\n `Event dropped due to not being matched by \\`allowUrls\\` option.\\nEvent: ${getEventDescription(\n event,\n )}.\\nUrl: ${_getEventFilterUrl(event)}`,\n );\n return true;\n }\n return false;\n}\n\nfunction _isIgnoredError(event, ignoreErrors) {\n // If event.type, this is not an error\n if (event.type || !ignoreErrors || !ignoreErrors.length) {\n return false;\n }\n\n return _getPossibleEventMessages(event).some(message => stringMatchesSomePattern(message, ignoreErrors));\n}\n\nfunction _isIgnoredTransaction(event, ignoreTransactions) {\n if (event.type !== 'transaction' || !ignoreTransactions || !ignoreTransactions.length) {\n return false;\n }\n\n const name = event.transaction;\n return name ? stringMatchesSomePattern(name, ignoreTransactions) : false;\n}\n\nfunction _isDeniedUrl(event, denyUrls) {\n // TODO: Use Glob instead?\n if (!denyUrls || !denyUrls.length) {\n return false;\n }\n const url = _getEventFilterUrl(event);\n return !url ? false : stringMatchesSomePattern(url, denyUrls);\n}\n\nfunction _isAllowedUrl(event, allowUrls) {\n // TODO: Use Glob instead?\n if (!allowUrls || !allowUrls.length) {\n return true;\n }\n const url = _getEventFilterUrl(event);\n return !url ? true : stringMatchesSomePattern(url, allowUrls);\n}\n\nfunction _getPossibleEventMessages(event) {\n const possibleMessages = [];\n\n if (event.message) {\n possibleMessages.push(event.message);\n }\n\n let lastException;\n try {\n // @ts-expect-error Try catching to save bundle size\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n lastException = event.exception.values[event.exception.values.length - 1];\n } catch (e) {\n // try catching to save bundle size checking existence of variables\n }\n\n if (lastException) {\n if (lastException.value) {\n possibleMessages.push(lastException.value);\n if (lastException.type) {\n possibleMessages.push(`${lastException.type}: ${lastException.value}`);\n }\n }\n }\n\n if (DEBUG_BUILD && possibleMessages.length === 0) {\n logger.error(`Could not extract message for event ${getEventDescription(event)}`);\n }\n\n return possibleMessages;\n}\n\nfunction _isSentryError(event) {\n try {\n // @ts-expect-error can't be a sentry error if undefined\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return event.exception.values[0].type === 'SentryError';\n } catch (e) {\n // ignore\n }\n return false;\n}\n\nfunction _getLastValidUrl(frames = []) {\n for (let i = frames.length - 1; i >= 0; i--) {\n const frame = frames[i];\n\n if (frame && frame.filename !== '' && frame.filename !== '[native code]') {\n return frame.filename || null;\n }\n }\n\n return null;\n}\n\nfunction _getEventFilterUrl(event) {\n try {\n let frames;\n try {\n // @ts-expect-error we only care about frames if the whole thing here is defined\n frames = event.exception.values[0].stacktrace.frames;\n } catch (e) {\n // ignore\n }\n return frames ? _getLastValidUrl(frames) : null;\n } catch (oO) {\n DEBUG_BUILD && logger.error(`Cannot extract url for event ${getEventDescription(event)}`);\n return null;\n }\n}\n\nexport { InboundFilters, inboundFiltersIntegration };\n//# sourceMappingURL=inboundfilters.js.map\n","import { isInstanceOf } from './is.js';\nimport { truncate } from './string.js';\n\n/**\n * Creates exceptions inside `event.exception.values` for errors that are nested on properties based on the `key` parameter.\n */\nfunction applyAggregateErrorsToEvent(\n exceptionFromErrorImplementation,\n parser,\n maxValueLimit = 250,\n key,\n limit,\n event,\n hint,\n) {\n if (!event.exception || !event.exception.values || !hint || !isInstanceOf(hint.originalException, Error)) {\n return;\n }\n\n // Generally speaking the last item in `event.exception.values` is the exception originating from the original Error\n const originalException =\n event.exception.values.length > 0 ? event.exception.values[event.exception.values.length - 1] : undefined;\n\n // We only create exception grouping if there is an exception in the event.\n if (originalException) {\n event.exception.values = truncateAggregateExceptions(\n aggregateExceptionsFromError(\n exceptionFromErrorImplementation,\n parser,\n limit,\n hint.originalException ,\n key,\n event.exception.values,\n originalException,\n 0,\n ),\n maxValueLimit,\n );\n }\n}\n\nfunction aggregateExceptionsFromError(\n exceptionFromErrorImplementation,\n parser,\n limit,\n error,\n key,\n prevExceptions,\n exception,\n exceptionId,\n) {\n if (prevExceptions.length >= limit + 1) {\n return prevExceptions;\n }\n\n let newExceptions = [...prevExceptions];\n\n // Recursively call this function in order to walk down a chain of errors\n if (isInstanceOf(error[key], Error)) {\n applyExceptionGroupFieldsForParentException(exception, exceptionId);\n const newException = exceptionFromErrorImplementation(parser, error[key]);\n const newExceptionId = newExceptions.length;\n applyExceptionGroupFieldsForChildException(newException, key, newExceptionId, exceptionId);\n newExceptions = aggregateExceptionsFromError(\n exceptionFromErrorImplementation,\n parser,\n limit,\n error[key],\n key,\n [newException, ...newExceptions],\n newException,\n newExceptionId,\n );\n }\n\n // This will create exception grouping for AggregateErrors\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError\n if (Array.isArray(error.errors)) {\n error.errors.forEach((childError, i) => {\n if (isInstanceOf(childError, Error)) {\n applyExceptionGroupFieldsForParentException(exception, exceptionId);\n const newException = exceptionFromErrorImplementation(parser, childError);\n const newExceptionId = newExceptions.length;\n applyExceptionGroupFieldsForChildException(newException, `errors[${i}]`, newExceptionId, exceptionId);\n newExceptions = aggregateExceptionsFromError(\n exceptionFromErrorImplementation,\n parser,\n limit,\n childError,\n key,\n [newException, ...newExceptions],\n newException,\n newExceptionId,\n );\n }\n });\n }\n\n return newExceptions;\n}\n\nfunction applyExceptionGroupFieldsForParentException(exception, exceptionId) {\n // Don't know if this default makes sense. The protocol requires us to set these values so we pick *some* default.\n exception.mechanism = exception.mechanism || { type: 'generic', handled: true };\n\n exception.mechanism = {\n ...exception.mechanism,\n ...(exception.type === 'AggregateError' && { is_exception_group: true }),\n exception_id: exceptionId,\n };\n}\n\nfunction applyExceptionGroupFieldsForChildException(\n exception,\n source,\n exceptionId,\n parentId,\n) {\n // Don't know if this default makes sense. The protocol requires us to set these values so we pick *some* default.\n exception.mechanism = exception.mechanism || { type: 'generic', handled: true };\n\n exception.mechanism = {\n ...exception.mechanism,\n type: 'chained',\n source,\n exception_id: exceptionId,\n parent_id: parentId,\n };\n}\n\n/**\n * Truncate the message (exception.value) of all exceptions in the event.\n * Because this event processor is ran after `applyClientOptions`,\n * we need to truncate the message of the added exceptions here.\n */\nfunction truncateAggregateExceptions(exceptions, maxValueLength) {\n return exceptions.map(exception => {\n if (exception.value) {\n exception.value = truncate(exception.value, maxValueLength);\n }\n return exception;\n });\n}\n\nexport { applyAggregateErrorsToEvent };\n//# sourceMappingURL=aggregate-errors.js.map\n","import { isError, isPlainObject, isParameterizedString } from './is.js';\nimport { addExceptionTypeValue, addExceptionMechanism } from './misc.js';\nimport { normalizeToSize } from './normalize.js';\nimport { extractExceptionKeysForMessage } from './object.js';\n\n/**\n * Extracts stack frames from the error.stack string\n */\nfunction parseStackFrames(stackParser, error) {\n return stackParser(error.stack || '', 1);\n}\n\n/**\n * Extracts stack frames from the error and builds a Sentry Exception\n */\nfunction exceptionFromError(stackParser, error) {\n const exception = {\n type: error.name || error.constructor.name,\n value: error.message,\n };\n\n const frames = parseStackFrames(stackParser, error);\n if (frames.length) {\n exception.stacktrace = { frames };\n }\n\n return exception;\n}\n\nfunction getMessageForObject(exception) {\n if ('name' in exception && typeof exception.name === 'string') {\n let message = `'${exception.name}' captured as exception`;\n\n if ('message' in exception && typeof exception.message === 'string') {\n message += ` with message '${exception.message}'`;\n }\n\n return message;\n } else if ('message' in exception && typeof exception.message === 'string') {\n return exception.message;\n } else {\n // This will allow us to group events based on top-level keys\n // which is much better than creating new group when any key/value change\n return `Object captured as exception with keys: ${extractExceptionKeysForMessage(\n exception ,\n )}`;\n }\n}\n\n/**\n * Builds and Event from a Exception\n *\n * TODO(v8): Remove getHub fallback\n * @hidden\n */\nfunction eventFromUnknownInput(\n getHubOrClient,\n stackParser,\n exception,\n hint,\n) {\n const client =\n typeof getHubOrClient === 'function'\n ? // eslint-disable-next-line deprecation/deprecation\n getHubOrClient().getClient()\n : getHubOrClient;\n\n let ex = exception;\n const providedMechanism =\n hint && hint.data && (hint.data ).mechanism;\n const mechanism = providedMechanism || {\n handled: true,\n type: 'generic',\n };\n\n let extras;\n\n if (!isError(exception)) {\n if (isPlainObject(exception)) {\n const normalizeDepth = client && client.getOptions().normalizeDepth;\n extras = { ['__serialized__']: normalizeToSize(exception , normalizeDepth) };\n\n const message = getMessageForObject(exception);\n ex = (hint && hint.syntheticException) || new Error(message);\n (ex ).message = message;\n } else {\n // This handles when someone does: `throw \"something awesome\";`\n // We use synthesized Error here so we can extract a (rough) stack trace.\n ex = (hint && hint.syntheticException) || new Error(exception );\n (ex ).message = exception ;\n }\n mechanism.synthetic = true;\n }\n\n const event = {\n exception: {\n values: [exceptionFromError(stackParser, ex )],\n },\n };\n\n if (extras) {\n event.extra = extras;\n }\n\n addExceptionTypeValue(event, undefined, undefined);\n addExceptionMechanism(event, mechanism);\n\n return {\n ...event,\n event_id: hint && hint.event_id,\n };\n}\n\n/**\n * Builds and Event from a Message\n * @hidden\n */\nfunction eventFromMessage(\n stackParser,\n message,\n // eslint-disable-next-line deprecation/deprecation\n level = 'info',\n hint,\n attachStacktrace,\n) {\n const event = {\n event_id: hint && hint.event_id,\n level,\n };\n\n if (attachStacktrace && hint && hint.syntheticException) {\n const frames = parseStackFrames(stackParser, hint.syntheticException);\n if (frames.length) {\n event.exception = {\n values: [\n {\n value: message,\n stacktrace: { frames },\n },\n ],\n };\n }\n }\n\n if (isParameterizedString(message)) {\n const { __sentry_template_string__, __sentry_template_values__ } = message;\n\n event.logentry = {\n message: __sentry_template_string__,\n params: __sentry_template_values__,\n };\n return event;\n }\n\n event.message = message;\n return event;\n}\n\nexport { eventFromMessage, eventFromUnknownInput, exceptionFromError, parseStackFrames };\n//# sourceMappingURL=eventbuilder.js.map\n","import { applyAggregateErrorsToEvent, exceptionFromError } from '@sentry/utils';\nimport { convertIntegrationFnToClass, defineIntegration } from '../integration.js';\n\nconst DEFAULT_KEY = 'cause';\nconst DEFAULT_LIMIT = 5;\n\nconst INTEGRATION_NAME = 'LinkedErrors';\n\nconst _linkedErrorsIntegration = ((options = {}) => {\n const limit = options.limit || DEFAULT_LIMIT;\n const key = options.key || DEFAULT_KEY;\n\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function\n preprocessEvent(event, hint, client) {\n const options = client.getOptions();\n\n applyAggregateErrorsToEvent(\n exceptionFromError,\n options.stackParser,\n options.maxValueLength,\n key,\n limit,\n event,\n hint,\n );\n },\n };\n}) ;\n\nconst linkedErrorsIntegration = defineIntegration(_linkedErrorsIntegration);\n\n/**\n * Adds SDK info to an event.\n * @deprecated Use `linkedErrorsIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst LinkedErrors = convertIntegrationFnToClass(INTEGRATION_NAME, linkedErrorsIntegration)\n\n;\n\nexport { LinkedErrors, linkedErrorsIntegration };\n//# sourceMappingURL=linkederrors.js.map\n","export { FunctionToString } from './functiontostring.js';\nexport { InboundFilters } from './inboundfilters.js';\nexport { LinkedErrors } from './linkederrors.js';\n\n/* eslint-disable deprecation/deprecation */\n//# sourceMappingURL=index.js.map\n","export { addTracingExtensions, startIdleTransaction } from './tracing/hubextensions.js';\nexport { IdleTransaction, TRACING_DEFAULTS } from './tracing/idletransaction.js';\nexport { Span } from './tracing/span.js';\nexport { Transaction } from './tracing/transaction.js';\nexport { extractTraceparentData, getActiveTransaction } from './tracing/utils.js';\nexport { SpanStatus, getSpanStatusFromHttpCode, setHttpStatus, spanStatusfromHttpCode } from './tracing/spanstatus.js';\nexport { continueTrace, getActiveSpan, startActiveSpan, startInactiveSpan, startSpan, startSpanManual, trace } from './tracing/trace.js';\nexport { getDynamicSamplingContextFromClient, getDynamicSamplingContextFromSpan } from './tracing/dynamicSamplingContext.js';\nexport { setMeasurement } from './tracing/measurement.js';\nexport { isValidSampleRate } from './tracing/sampling.js';\nexport { SEMANTIC_ATTRIBUTE_PROFILE_ID, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE } from './semanticAttributes.js';\nexport { createEventEnvelope, createSessionEnvelope } from './envelope.js';\nexport { addBreadcrumb, captureCheckIn, captureEvent, captureException, captureMessage, captureSession, close, configureScope, endSession, flush, getClient, getCurrentScope, isInitialized, lastEventId, setContext, setExtra, setExtras, setTag, setTags, setUser, startSession, startTransaction, withActiveSpan, withIsolationScope, withMonitor, withScope } from './exports.js';\nexport { Hub, ensureHubOnCarrier, getCurrentHub, getHubFromCarrier, getIsolationScope, getMainCarrier, makeMain, runWithAsyncContext, setAsyncContextStrategy, setHubOnCarrier } from './hub.js';\nexport { closeSession, makeSession, updateSession } from './session.js';\nexport { SessionFlusher } from './sessionflusher.js';\nexport { Scope, getGlobalScope, setGlobalScope } from './scope.js';\nexport { addGlobalEventProcessor, notifyEventProcessors } from './eventProcessors.js';\nexport { getEnvelopeEndpointWithUrlEncodedAuth, getReportDialogEndpoint } from './api.js';\nexport { BaseClient, addEventProcessor } from './baseclient.js';\nexport { ServerRuntimeClient } from './server-runtime-client.js';\nexport { initAndBind, setCurrentClient } from './sdk.js';\nexport { createTransport } from './transports/base.js';\nexport { makeOfflineTransport } from './transports/offline.js';\nexport { makeMultiplexedTransport } from './transports/multiplexed.js';\nexport { SDK_VERSION } from './version.js';\nexport { addIntegration, convertIntegrationFnToClass, defineIntegration, getIntegrationsToSetup } from './integration.js';\nexport { applyScopeDataToEvent, mergeScopeData } from './utils/applyScopeDataToEvent.js';\nexport { prepareEvent } from './utils/prepareEvent.js';\nexport { createCheckInEnvelope } from './checkin.js';\nexport { createSpanEnvelope } from './span.js';\nexport { hasTracingEnabled } from './utils/hasTracingEnabled.js';\nexport { isSentryRequestUrl } from './utils/isSentryRequestUrl.js';\nexport { handleCallbackErrors } from './utils/handleCallbackErrors.js';\nexport { parameterize } from './utils/parameterize.js';\nexport { spanIsSampled, spanToJSON, spanToTraceContext, spanToTraceHeader } from './utils/spanUtils.js';\nexport { getRootSpan } from './utils/getRootSpan.js';\nexport { applySdkMetadata } from './utils/sdkMetadata.js';\nexport { DEFAULT_ENVIRONMENT } from './constants.js';\nexport { ModuleMetadata, moduleMetadataIntegration } from './integrations/metadata.js';\nexport { RequestData, requestDataIntegration } from './integrations/requestdata.js';\nexport { InboundFilters, inboundFiltersIntegration } from './integrations/inboundfilters.js';\nexport { FunctionToString, functionToStringIntegration } from './integrations/functiontostring.js';\nexport { LinkedErrors, linkedErrorsIntegration } from './integrations/linkederrors.js';\nimport * as index from './integrations/index.js';\nexport { metrics } from './metrics/exports.js';\n\n/** @deprecated Import the integration function directly, e.g. `inboundFiltersIntegration()` instead of `new Integrations.InboundFilter(). */\nconst Integrations = index;\n\nexport { Integrations };\n//# sourceMappingURL=index.js.map\n","import '@sentry-internal/tracing';\nimport { withScope, captureException } from '@sentry/core';\nimport { GLOBAL_OBJ, getOriginalFunction, markFunctionWrapped, addNonEnumerableProperty, addExceptionTypeValue, addExceptionMechanism } from '@sentry/utils';\n\nconst WINDOW = GLOBAL_OBJ ;\n\nlet ignoreOnError = 0;\n\n/**\n * @hidden\n */\nfunction shouldIgnoreOnError() {\n return ignoreOnError > 0;\n}\n\n/**\n * @hidden\n */\nfunction ignoreNextOnError() {\n // onerror should trigger before setTimeout\n ignoreOnError++;\n setTimeout(() => {\n ignoreOnError--;\n });\n}\n\n/**\n * Instruments the given function and sends an event to Sentry every time the\n * function throws an exception.\n *\n * @param fn A function to wrap. It is generally safe to pass an unbound function, because the returned wrapper always\n * has a correct `this` context.\n * @returns The wrapped function.\n * @hidden\n */\nfunction wrap(\n fn,\n options\n\n = {},\n before,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n) {\n // for future readers what this does is wrap a function and then create\n // a bi-directional wrapping between them.\n //\n // example: wrapped = wrap(original);\n // original.__sentry_wrapped__ -> wrapped\n // wrapped.__sentry_original__ -> original\n\n if (typeof fn !== 'function') {\n return fn;\n }\n\n try {\n // if we're dealing with a function that was previously wrapped, return\n // the original wrapper.\n const wrapper = fn.__sentry_wrapped__;\n if (wrapper) {\n return wrapper;\n }\n\n // We don't wanna wrap it twice\n if (getOriginalFunction(fn)) {\n return fn;\n }\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n // Bail on wrapping and return the function as-is (defers to window.onerror).\n return fn;\n }\n\n /* eslint-disable prefer-rest-params */\n // It is important that `sentryWrapped` is not an arrow function to preserve the context of `this`\n const sentryWrapped = function () {\n const args = Array.prototype.slice.call(arguments);\n\n try {\n if (before && typeof before === 'function') {\n before.apply(this, arguments);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access\n const wrappedArguments = args.map((arg) => wrap(arg, options));\n\n // Attempt to invoke user-land function\n // NOTE: If you are a Sentry user, and you are seeing this stack frame, it\n // means the sentry.javascript SDK caught an error invoking your application code. This\n // is expected behavior and NOT indicative of a bug with sentry.javascript.\n return fn.apply(this, wrappedArguments);\n } catch (ex) {\n ignoreNextOnError();\n\n withScope(scope => {\n scope.addEventProcessor(event => {\n if (options.mechanism) {\n addExceptionTypeValue(event, undefined, undefined);\n addExceptionMechanism(event, options.mechanism);\n }\n\n event.extra = {\n ...event.extra,\n arguments: args,\n };\n\n return event;\n });\n\n captureException(ex);\n });\n\n throw ex;\n }\n };\n /* eslint-enable prefer-rest-params */\n\n // Accessing some objects may throw\n // ref: https://github.com/getsentry/sentry-javascript/issues/1168\n try {\n for (const property in fn) {\n if (Object.prototype.hasOwnProperty.call(fn, property)) {\n sentryWrapped[property] = fn[property];\n }\n }\n } catch (_oO) {} // eslint-disable-line no-empty\n\n // Signal that this function has been wrapped/filled already\n // for both debugging and to prevent it to being wrapped/filled twice\n markFunctionWrapped(sentryWrapped, fn);\n\n addNonEnumerableProperty(fn, '__sentry_wrapped__', sentryWrapped);\n\n // Restore original function name (not all browsers allow that)\n try {\n const descriptor = Object.getOwnPropertyDescriptor(sentryWrapped, 'name') ;\n if (descriptor.configurable) {\n Object.defineProperty(sentryWrapped, 'name', {\n get() {\n return fn.name;\n },\n });\n }\n // eslint-disable-next-line no-empty\n } catch (_oO) {}\n\n return sentryWrapped;\n}\n\nexport { WINDOW, ignoreNextOnError, shouldIgnoreOnError, wrap };\n//# sourceMappingURL=helpers.js.map\n","import { DEBUG_BUILD } from '../debug-build.js';\nimport { logger } from '../logger.js';\nimport { getFunctionName } from '../stacktrace.js';\n\n// We keep the handlers globally\nconst handlers = {};\nconst instrumented = {};\n\n/** Add a handler function. */\nfunction addHandler(type, handler) {\n handlers[type] = handlers[type] || [];\n (handlers[type] ).push(handler);\n}\n\n/**\n * Reset all instrumentation handlers.\n * This can be used by tests to ensure we have a clean slate of instrumentation handlers.\n */\nfunction resetInstrumentationHandlers() {\n Object.keys(handlers).forEach(key => {\n handlers[key ] = undefined;\n });\n}\n\n/** Maybe run an instrumentation function, unless it was already called. */\nfunction maybeInstrument(type, instrumentFn) {\n if (!instrumented[type]) {\n instrumentFn();\n instrumented[type] = true;\n }\n}\n\n/** Trigger handlers for a given instrumentation type. */\nfunction triggerHandlers(type, data) {\n const typeHandlers = type && handlers[type];\n if (!typeHandlers) {\n return;\n }\n\n for (const handler of typeHandlers) {\n try {\n handler(data);\n } catch (e) {\n DEBUG_BUILD &&\n logger.error(\n `Error while triggering instrumentation handler.\\nType: ${type}\\nName: ${getFunctionName(handler)}\\nError:`,\n e,\n );\n }\n }\n}\n\nexport { addHandler, maybeInstrument, resetInstrumentationHandlers, triggerHandlers };\n//# sourceMappingURL=_handlers.js.map\n","import { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\n\nlet _oldOnErrorHandler = null;\n\n/**\n * Add an instrumentation handler for when an error is captured by the global error handler.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addGlobalErrorInstrumentationHandler(handler) {\n const type = 'error';\n addHandler(type, handler);\n maybeInstrument(type, instrumentError);\n}\n\nfunction instrumentError() {\n _oldOnErrorHandler = GLOBAL_OBJ.onerror;\n\n GLOBAL_OBJ.onerror = function (\n msg,\n url,\n line,\n column,\n error,\n ) {\n const handlerData = {\n column,\n error,\n line,\n msg,\n url,\n };\n triggerHandlers('error', handlerData);\n\n if (_oldOnErrorHandler && !_oldOnErrorHandler.__SENTRY_LOADER__) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnErrorHandler.apply(this, arguments);\n }\n\n return false;\n };\n\n GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__ = true;\n}\n\nexport { addGlobalErrorInstrumentationHandler };\n//# sourceMappingURL=globalError.js.map\n","import { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\n\nlet _oldOnUnhandledRejectionHandler = null;\n\n/**\n * Add an instrumentation handler for when an unhandled promise rejection is captured.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addGlobalUnhandledRejectionInstrumentationHandler(\n handler,\n) {\n const type = 'unhandledrejection';\n addHandler(type, handler);\n maybeInstrument(type, instrumentUnhandledRejection);\n}\n\nfunction instrumentUnhandledRejection() {\n _oldOnUnhandledRejectionHandler = GLOBAL_OBJ.onunhandledrejection;\n\n GLOBAL_OBJ.onunhandledrejection = function (e) {\n const handlerData = e;\n triggerHandlers('unhandledrejection', handlerData);\n\n if (_oldOnUnhandledRejectionHandler && !_oldOnUnhandledRejectionHandler.__SENTRY_LOADER__) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnUnhandledRejectionHandler.apply(this, arguments);\n }\n\n return true;\n };\n\n GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__ = true;\n}\n\nexport { addGlobalUnhandledRejectionInstrumentationHandler };\n//# sourceMappingURL=globalUnhandledRejection.js.map\n","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nconst DEBUG_BUILD = (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__);\n\nexport { DEBUG_BUILD };\n//# sourceMappingURL=debug-build.js.map\n","import { getClient } from '@sentry/core';\nimport { addExceptionMechanism, resolvedSyncPromise, isErrorEvent, isDOMError, isDOMException, addExceptionTypeValue, isError, isPlainObject, isEvent, isParameterizedString, normalizeToSize, extractExceptionKeysForMessage } from '@sentry/utils';\n\n/**\n * This function creates an exception from a JavaScript Error\n */\nfunction exceptionFromError(stackParser, ex) {\n // Get the frames first since Opera can lose the stack if we touch anything else first\n const frames = parseStackFrames(stackParser, ex);\n\n const exception = {\n type: ex && ex.name,\n value: extractMessage(ex),\n };\n\n if (frames.length) {\n exception.stacktrace = { frames };\n }\n\n if (exception.type === undefined && exception.value === '') {\n exception.value = 'Unrecoverable error caught';\n }\n\n return exception;\n}\n\n/**\n * @hidden\n */\nfunction eventFromPlainObject(\n stackParser,\n exception,\n syntheticException,\n isUnhandledRejection,\n) {\n const client = getClient();\n const normalizeDepth = client && client.getOptions().normalizeDepth;\n\n const event = {\n exception: {\n values: [\n {\n type: isEvent(exception) ? exception.constructor.name : isUnhandledRejection ? 'UnhandledRejection' : 'Error',\n value: getNonErrorObjectExceptionValue(exception, { isUnhandledRejection }),\n },\n ],\n },\n extra: {\n __serialized__: normalizeToSize(exception, normalizeDepth),\n },\n };\n\n if (syntheticException) {\n const frames = parseStackFrames(stackParser, syntheticException);\n if (frames.length) {\n // event.exception.values[0] has been set above\n (event.exception ).values[0].stacktrace = { frames };\n }\n }\n\n return event;\n}\n\n/**\n * @hidden\n */\nfunction eventFromError(stackParser, ex) {\n return {\n exception: {\n values: [exceptionFromError(stackParser, ex)],\n },\n };\n}\n\n/** Parses stack frames from an error */\nfunction parseStackFrames(\n stackParser,\n ex,\n) {\n // Access and store the stacktrace property before doing ANYTHING\n // else to it because Opera is not very good at providing it\n // reliably in other circumstances.\n const stacktrace = ex.stacktrace || ex.stack || '';\n\n const popSize = getPopSize(ex);\n\n try {\n return stackParser(stacktrace, popSize);\n } catch (e) {\n // no-empty\n }\n\n return [];\n}\n\n// Based on our own mapping pattern - https://github.com/getsentry/sentry/blob/9f08305e09866c8bd6d0c24f5b0aabdd7dd6c59c/src/sentry/lang/javascript/errormapping.py#L83-L108\nconst reactMinifiedRegexp = /Minified React error #\\d+;/i;\n\nfunction getPopSize(ex) {\n if (ex) {\n if (typeof ex.framesToPop === 'number') {\n return ex.framesToPop;\n }\n\n if (reactMinifiedRegexp.test(ex.message)) {\n return 1;\n }\n }\n\n return 0;\n}\n\n/**\n * There are cases where stacktrace.message is an Event object\n * https://github.com/getsentry/sentry-javascript/issues/1949\n * In this specific case we try to extract stacktrace.message.error.message\n */\nfunction extractMessage(ex) {\n const message = ex && ex.message;\n if (!message) {\n return 'No error message';\n }\n if (message.error && typeof message.error.message === 'string') {\n return message.error.message;\n }\n return message;\n}\n\n/**\n * Creates an {@link Event} from all inputs to `captureException` and non-primitive inputs to `captureMessage`.\n * @hidden\n */\nfunction eventFromException(\n stackParser,\n exception,\n hint,\n attachStacktrace,\n) {\n const syntheticException = (hint && hint.syntheticException) || undefined;\n const event = eventFromUnknownInput(stackParser, exception, syntheticException, attachStacktrace);\n addExceptionMechanism(event); // defaults to { type: 'generic', handled: true }\n event.level = 'error';\n if (hint && hint.event_id) {\n event.event_id = hint.event_id;\n }\n return resolvedSyncPromise(event);\n}\n\n/**\n * Builds and Event from a Message\n * @hidden\n */\nfunction eventFromMessage(\n stackParser,\n message,\n // eslint-disable-next-line deprecation/deprecation\n level = 'info',\n hint,\n attachStacktrace,\n) {\n const syntheticException = (hint && hint.syntheticException) || undefined;\n const event = eventFromString(stackParser, message, syntheticException, attachStacktrace);\n event.level = level;\n if (hint && hint.event_id) {\n event.event_id = hint.event_id;\n }\n return resolvedSyncPromise(event);\n}\n\n/**\n * @hidden\n */\nfunction eventFromUnknownInput(\n stackParser,\n exception,\n syntheticException,\n attachStacktrace,\n isUnhandledRejection,\n) {\n let event;\n\n if (isErrorEvent(exception ) && (exception ).error) {\n // If it is an ErrorEvent with `error` property, extract it to get actual Error\n const errorEvent = exception ;\n return eventFromError(stackParser, errorEvent.error );\n }\n\n // If it is a `DOMError` (which is a legacy API, but still supported in some browsers) then we just extract the name\n // and message, as it doesn't provide anything else. According to the spec, all `DOMExceptions` should also be\n // `Error`s, but that's not the case in IE11, so in that case we treat it the same as we do a `DOMError`.\n //\n // https://developer.mozilla.org/en-US/docs/Web/API/DOMError\n // https://developer.mozilla.org/en-US/docs/Web/API/DOMException\n // https://webidl.spec.whatwg.org/#es-DOMException-specialness\n if (isDOMError(exception) || isDOMException(exception )) {\n const domException = exception ;\n\n if ('stack' in (exception )) {\n event = eventFromError(stackParser, exception );\n } else {\n const name = domException.name || (isDOMError(domException) ? 'DOMError' : 'DOMException');\n const message = domException.message ? `${name}: ${domException.message}` : name;\n event = eventFromString(stackParser, message, syntheticException, attachStacktrace);\n addExceptionTypeValue(event, message);\n }\n if ('code' in domException) {\n // eslint-disable-next-line deprecation/deprecation\n event.tags = { ...event.tags, 'DOMException.code': `${domException.code}` };\n }\n\n return event;\n }\n if (isError(exception)) {\n // we have a real Error object, do nothing\n return eventFromError(stackParser, exception);\n }\n if (isPlainObject(exception) || isEvent(exception)) {\n // If it's a plain object or an instance of `Event` (the built-in JS kind, not this SDK's `Event` type), serialize\n // it manually. This will allow us to group events based on top-level keys which is much better than creating a new\n // group on any key/value change.\n const objectException = exception ;\n event = eventFromPlainObject(stackParser, objectException, syntheticException, isUnhandledRejection);\n addExceptionMechanism(event, {\n synthetic: true,\n });\n return event;\n }\n\n // If none of previous checks were valid, then it means that it's not:\n // - an instance of DOMError\n // - an instance of DOMException\n // - an instance of Event\n // - an instance of Error\n // - a valid ErrorEvent (one with an error property)\n // - a plain Object\n //\n // So bail out and capture it as a simple message:\n event = eventFromString(stackParser, exception , syntheticException, attachStacktrace);\n addExceptionTypeValue(event, `${exception}`, undefined);\n addExceptionMechanism(event, {\n synthetic: true,\n });\n\n return event;\n}\n\n/**\n * @hidden\n */\nfunction eventFromString(\n stackParser,\n message,\n syntheticException,\n attachStacktrace,\n) {\n const event = {};\n\n if (attachStacktrace && syntheticException) {\n const frames = parseStackFrames(stackParser, syntheticException);\n if (frames.length) {\n event.exception = {\n values: [{ value: message, stacktrace: { frames } }],\n };\n }\n }\n\n if (isParameterizedString(message)) {\n const { __sentry_template_string__, __sentry_template_values__ } = message;\n\n event.logentry = {\n message: __sentry_template_string__,\n params: __sentry_template_values__,\n };\n return event;\n }\n\n event.message = message;\n return event;\n}\n\nfunction getNonErrorObjectExceptionValue(\n exception,\n { isUnhandledRejection },\n) {\n const keys = extractExceptionKeysForMessage(exception);\n const captureType = isUnhandledRejection ? 'promise rejection' : 'exception';\n\n // Some ErrorEvent instances do not have an `error` property, which is why they are not handled before\n // We still want to try to get a decent message for these cases\n if (isErrorEvent(exception)) {\n return `Event \\`ErrorEvent\\` captured as ${captureType} with message \\`${exception.message}\\``;\n }\n\n if (isEvent(exception)) {\n const className = getObjectClassName(exception);\n return `Event \\`${className}\\` (type=${exception.type}) captured as ${captureType}`;\n }\n\n return `Object captured as ${captureType} with keys: ${keys}`;\n}\n\nfunction getObjectClassName(obj) {\n try {\n const prototype = Object.getPrototypeOf(obj);\n return prototype ? prototype.constructor.name : undefined;\n } catch (e) {\n // ignore errors here\n }\n}\n\nexport { eventFromError, eventFromException, eventFromMessage, eventFromPlainObject, eventFromString, eventFromUnknownInput, exceptionFromError, parseStackFrames };\n//# sourceMappingURL=eventbuilder.js.map\n","import { defineIntegration, convertIntegrationFnToClass, getClient, captureEvent } from '@sentry/core';\nimport { addGlobalErrorInstrumentationHandler, isString, addGlobalUnhandledRejectionInstrumentationHandler, isPrimitive, isErrorEvent, getLocationHref, logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { eventFromUnknownInput } from '../eventbuilder.js';\nimport { shouldIgnoreOnError } from '../helpers.js';\n\n/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n\nconst INTEGRATION_NAME = 'GlobalHandlers';\n\nconst _globalHandlersIntegration = ((options = {}) => {\n const _options = {\n onerror: true,\n onunhandledrejection: true,\n ...options,\n };\n\n return {\n name: INTEGRATION_NAME,\n setupOnce() {\n Error.stackTraceLimit = 50;\n },\n setup(client) {\n if (_options.onerror) {\n _installGlobalOnErrorHandler(client);\n globalHandlerLog('onerror');\n }\n if (_options.onunhandledrejection) {\n _installGlobalOnUnhandledRejectionHandler(client);\n globalHandlerLog('onunhandledrejection');\n }\n },\n };\n}) ;\n\nconst globalHandlersIntegration = defineIntegration(_globalHandlersIntegration);\n\n/**\n * Global handlers.\n * @deprecated Use `globalHandlersIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst GlobalHandlers = convertIntegrationFnToClass(\n INTEGRATION_NAME,\n globalHandlersIntegration,\n)\n\n;\n\nfunction _installGlobalOnErrorHandler(client) {\n addGlobalErrorInstrumentationHandler(data => {\n const { stackParser, attachStacktrace } = getOptions();\n\n if (getClient() !== client || shouldIgnoreOnError()) {\n return;\n }\n\n const { msg, url, line, column, error } = data;\n\n const event =\n error === undefined && isString(msg)\n ? _eventFromIncompleteOnError(msg, url, line, column)\n : _enhanceEventWithInitialFrame(\n eventFromUnknownInput(stackParser, error || msg, undefined, attachStacktrace, false),\n url,\n line,\n column,\n );\n\n event.level = 'error';\n\n captureEvent(event, {\n originalException: error,\n mechanism: {\n handled: false,\n type: 'onerror',\n },\n });\n });\n}\n\nfunction _installGlobalOnUnhandledRejectionHandler(client) {\n addGlobalUnhandledRejectionInstrumentationHandler(e => {\n const { stackParser, attachStacktrace } = getOptions();\n\n if (getClient() !== client || shouldIgnoreOnError()) {\n return;\n }\n\n const error = _getUnhandledRejectionError(e );\n\n const event = isPrimitive(error)\n ? _eventFromRejectionWithPrimitive(error)\n : eventFromUnknownInput(stackParser, error, undefined, attachStacktrace, true);\n\n event.level = 'error';\n\n captureEvent(event, {\n originalException: error,\n mechanism: {\n handled: false,\n type: 'onunhandledrejection',\n },\n });\n });\n}\n\nfunction _getUnhandledRejectionError(error) {\n if (isPrimitive(error)) {\n return error;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const e = error ;\n\n // dig the object of the rejection out of known event types\n try {\n // PromiseRejectionEvents store the object of the rejection under 'reason'\n // see https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent\n if ('reason' in e) {\n return e.reason;\n }\n\n // something, somewhere, (likely a browser extension) effectively casts PromiseRejectionEvents\n // to CustomEvents, moving the `promise` and `reason` attributes of the PRE into\n // the CustomEvent's `detail` attribute, since they're not part of CustomEvent's spec\n // see https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent and\n // https://github.com/getsentry/sentry-javascript/issues/2380\n else if ('detail' in e && 'reason' in e.detail) {\n return e.detail.reason;\n }\n } catch (e2) {} // eslint-disable-line no-empty\n\n return error;\n}\n\n/**\n * Create an event from a promise rejection where the `reason` is a primitive.\n *\n * @param reason: The `reason` property of the promise rejection\n * @returns An Event object with an appropriate `exception` value\n */\nfunction _eventFromRejectionWithPrimitive(reason) {\n return {\n exception: {\n values: [\n {\n type: 'UnhandledRejection',\n // String() is needed because the Primitive type includes symbols (which can't be automatically stringified)\n value: `Non-Error promise rejection captured with value: ${String(reason)}`,\n },\n ],\n },\n };\n}\n\n/**\n * This function creates a stack from an old, error-less onerror handler.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _eventFromIncompleteOnError(msg, url, line, column) {\n const ERROR_TYPES_RE =\n /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;\n\n // If 'message' is ErrorEvent, get real message from inside\n let message = isErrorEvent(msg) ? msg.message : msg;\n let name = 'Error';\n\n const groups = message.match(ERROR_TYPES_RE);\n if (groups) {\n name = groups[1];\n message = groups[2];\n }\n\n const event = {\n exception: {\n values: [\n {\n type: name,\n value: message,\n },\n ],\n },\n };\n\n return _enhanceEventWithInitialFrame(event, url, line, column);\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _enhanceEventWithInitialFrame(event, url, line, column) {\n // event.exception\n const e = (event.exception = event.exception || {});\n // event.exception.values\n const ev = (e.values = e.values || []);\n // event.exception.values[0]\n const ev0 = (ev[0] = ev[0] || {});\n // event.exception.values[0].stacktrace\n const ev0s = (ev0.stacktrace = ev0.stacktrace || {});\n // event.exception.values[0].stacktrace.frames\n const ev0sf = (ev0s.frames = ev0s.frames || []);\n\n const colno = isNaN(parseInt(column, 10)) ? undefined : column;\n const lineno = isNaN(parseInt(line, 10)) ? undefined : line;\n const filename = isString(url) && url.length > 0 ? url : getLocationHref();\n\n // event.exception.values[0].stacktrace.frames\n if (ev0sf.length === 0) {\n ev0sf.push({\n colno,\n filename,\n function: '?',\n in_app: true,\n lineno,\n });\n }\n\n return event;\n}\n\nfunction globalHandlerLog(type) {\n DEBUG_BUILD && logger.log(`Global Handler attached: ${type}`);\n}\n\nfunction getOptions() {\n const client = getClient();\n const options = (client && client.getOptions()) || {\n stackParser: () => [],\n attachStacktrace: false,\n };\n return options;\n}\n\nexport { GlobalHandlers, globalHandlersIntegration };\n//# sourceMappingURL=globalhandlers.js.map\n","import { defineIntegration, convertIntegrationFnToClass } from '@sentry/core';\nimport { fill, getFunctionName, getOriginalFunction } from '@sentry/utils';\nimport { WINDOW, wrap } from '../helpers.js';\n\nconst DEFAULT_EVENT_TARGET = [\n 'EventTarget',\n 'Window',\n 'Node',\n 'ApplicationCache',\n 'AudioTrackList',\n 'BroadcastChannel',\n 'ChannelMergerNode',\n 'CryptoOperation',\n 'EventSource',\n 'FileReader',\n 'HTMLUnknownElement',\n 'IDBDatabase',\n 'IDBRequest',\n 'IDBTransaction',\n 'KeyOperation',\n 'MediaController',\n 'MessagePort',\n 'ModalWindow',\n 'Notification',\n 'SVGElementInstance',\n 'Screen',\n 'SharedWorker',\n 'TextTrack',\n 'TextTrackCue',\n 'TextTrackList',\n 'WebSocket',\n 'WebSocketWorker',\n 'Worker',\n 'XMLHttpRequest',\n 'XMLHttpRequestEventTarget',\n 'XMLHttpRequestUpload',\n];\n\nconst INTEGRATION_NAME = 'TryCatch';\n\nconst _browserApiErrorsIntegration = ((options = {}) => {\n const _options = {\n XMLHttpRequest: true,\n eventTarget: true,\n requestAnimationFrame: true,\n setInterval: true,\n setTimeout: true,\n ...options,\n };\n\n return {\n name: INTEGRATION_NAME,\n // TODO: This currently only works for the first client this is setup\n // We may want to adjust this to check for client etc.\n setupOnce() {\n if (_options.setTimeout) {\n fill(WINDOW, 'setTimeout', _wrapTimeFunction);\n }\n\n if (_options.setInterval) {\n fill(WINDOW, 'setInterval', _wrapTimeFunction);\n }\n\n if (_options.requestAnimationFrame) {\n fill(WINDOW, 'requestAnimationFrame', _wrapRAF);\n }\n\n if (_options.XMLHttpRequest && 'XMLHttpRequest' in WINDOW) {\n fill(XMLHttpRequest.prototype, 'send', _wrapXHR);\n }\n\n const eventTargetOption = _options.eventTarget;\n if (eventTargetOption) {\n const eventTarget = Array.isArray(eventTargetOption) ? eventTargetOption : DEFAULT_EVENT_TARGET;\n eventTarget.forEach(_wrapEventTarget);\n }\n },\n };\n}) ;\n\nconst browserApiErrorsIntegration = defineIntegration(_browserApiErrorsIntegration);\n\n/**\n * Wrap timer functions and event targets to catch errors and provide better meta data.\n * @deprecated Use `browserApiErrorsIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst TryCatch = convertIntegrationFnToClass(\n INTEGRATION_NAME,\n browserApiErrorsIntegration,\n)\n\n;\n\nfunction _wrapTimeFunction(original) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function ( ...args) {\n const originalCallback = args[0];\n args[0] = wrap(originalCallback, {\n mechanism: {\n data: { function: getFunctionName(original) },\n handled: false,\n type: 'instrument',\n },\n });\n return original.apply(this, args);\n };\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _wrapRAF(original) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function ( callback) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return original.apply(this, [\n wrap(callback, {\n mechanism: {\n data: {\n function: 'requestAnimationFrame',\n handler: getFunctionName(original),\n },\n handled: false,\n type: 'instrument',\n },\n }),\n ]);\n };\n}\n\nfunction _wrapXHR(originalSend) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function ( ...args) {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const xhr = this;\n const xmlHttpRequestProps = ['onload', 'onerror', 'onprogress', 'onreadystatechange'];\n\n xmlHttpRequestProps.forEach(prop => {\n if (prop in xhr && typeof xhr[prop] === 'function') {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n fill(xhr, prop, function (original) {\n const wrapOptions = {\n mechanism: {\n data: {\n function: prop,\n handler: getFunctionName(original),\n },\n handled: false,\n type: 'instrument',\n },\n };\n\n // If Instrument integration has been called before TryCatch, get the name of original function\n const originalFunction = getOriginalFunction(original);\n if (originalFunction) {\n wrapOptions.mechanism.data.handler = getFunctionName(originalFunction);\n }\n\n // Otherwise wrap directly\n return wrap(original, wrapOptions);\n });\n }\n });\n\n return originalSend.apply(this, args);\n };\n}\n\nfunction _wrapEventTarget(target) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const globalObject = WINDOW ;\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const proto = globalObject[target] && globalObject[target].prototype;\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (original,)\n\n {\n return function (\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n eventName,\n fn,\n options,\n ) {\n try {\n if (typeof fn.handleEvent === 'function') {\n // ESlint disable explanation:\n // First, it is generally safe to call `wrap` with an unbound function. Furthermore, using `.bind()` would\n // introduce a bug here, because bind returns a new function that doesn't have our\n // flags(like __sentry_original__) attached. `wrap` checks for those flags to avoid unnecessary wrapping.\n // Without those flags, every call to addEventListener wraps the function again, causing a memory leak.\n // eslint-disable-next-line @typescript-eslint/unbound-method\n fn.handleEvent = wrap(fn.handleEvent, {\n mechanism: {\n data: {\n function: 'handleEvent',\n handler: getFunctionName(fn),\n target,\n },\n handled: false,\n type: 'instrument',\n },\n });\n }\n } catch (err) {\n // can sometimes get 'Permission denied to access property \"handle Event'\n }\n\n return original.apply(this, [\n eventName,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n wrap(fn , {\n mechanism: {\n data: {\n function: 'addEventListener',\n handler: getFunctionName(fn),\n target,\n },\n handled: false,\n type: 'instrument',\n },\n }),\n options,\n ]);\n };\n });\n\n fill(\n proto,\n 'removeEventListener',\n function (\n originalRemoveEventListener,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ) {\n return function (\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n eventName,\n fn,\n options,\n ) {\n /**\n * There are 2 possible scenarios here:\n *\n * 1. Someone passes a callback, which was attached prior to Sentry initialization, or by using unmodified\n * method, eg. `document.addEventListener.call(el, name, handler). In this case, we treat this function\n * as a pass-through, and call original `removeEventListener` with it.\n *\n * 2. Someone passes a callback, which was attached after Sentry was initialized, which means that it was using\n * our wrapped version of `addEventListener`, which internally calls `wrap` helper.\n * This helper \"wraps\" whole callback inside a try/catch statement, and attached appropriate metadata to it,\n * in order for us to make a distinction between wrapped/non-wrapped functions possible.\n * If a function was wrapped, it has additional property of `__sentry_wrapped__`, holding the handler.\n *\n * When someone adds a handler prior to initialization, and then do it again, but after,\n * then we have to detach both of them. Otherwise, if we'd detach only wrapped one, it'd be impossible\n * to get rid of the initial handler and it'd stick there forever.\n */\n const wrappedEventHandler = fn ;\n try {\n const originalEventHandler = wrappedEventHandler && wrappedEventHandler.__sentry_wrapped__;\n if (originalEventHandler) {\n originalRemoveEventListener.call(this, eventName, originalEventHandler, options);\n }\n } catch (e) {\n // ignore, accessing __sentry_wrapped__ will throw in some Selenium environments\n }\n return originalRemoveEventListener.call(this, eventName, wrappedEventHandler, options);\n };\n },\n );\n}\n\nexport { TryCatch, browserApiErrorsIntegration };\n//# sourceMappingURL=trycatch.js.map\n","import { CONSOLE_LEVELS, originalConsoleMethods } from '../logger.js';\nimport { fill } from '../object.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\n\n/**\n * Add an instrumentation handler for when a console.xxx method is called.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addConsoleInstrumentationHandler(handler) {\n const type = 'console';\n addHandler(type, handler);\n maybeInstrument(type, instrumentConsole);\n}\n\nfunction instrumentConsole() {\n if (!('console' in GLOBAL_OBJ)) {\n return;\n }\n\n CONSOLE_LEVELS.forEach(function (level) {\n if (!(level in GLOBAL_OBJ.console)) {\n return;\n }\n\n fill(GLOBAL_OBJ.console, level, function (originalConsoleMethod) {\n originalConsoleMethods[level] = originalConsoleMethod;\n\n return function (...args) {\n const handlerData = { args, level };\n triggerHandlers('console', handlerData);\n\n const log = originalConsoleMethods[level];\n log && log.apply(GLOBAL_OBJ.console, args);\n };\n });\n });\n}\n\nexport { addConsoleInstrumentationHandler };\n//# sourceMappingURL=console.js.map\n","import { uuid4 } from '../misc.js';\nimport { fill, addNonEnumerableProperty } from '../object.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\n\nconst WINDOW = GLOBAL_OBJ ;\nconst DEBOUNCE_DURATION = 1000;\n\nlet debounceTimerID;\nlet lastCapturedEventType;\nlet lastCapturedEventTargetId;\n\n/**\n * Add an instrumentation handler for when a click or a keypress happens.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addClickKeypressInstrumentationHandler(handler) {\n const type = 'dom';\n addHandler(type, handler);\n maybeInstrument(type, instrumentDOM);\n}\n\n/** Exported for tests only. */\nfunction instrumentDOM() {\n if (!WINDOW.document) {\n return;\n }\n\n // Make it so that any click or keypress that is unhandled / bubbled up all the way to the document triggers our dom\n // handlers. (Normally we have only one, which captures a breadcrumb for each click or keypress.) Do this before\n // we instrument `addEventListener` so that we don't end up attaching this handler twice.\n const triggerDOMHandler = triggerHandlers.bind(null, 'dom');\n const globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true);\n WINDOW.document.addEventListener('click', globalDOMEventHandler, false);\n WINDOW.document.addEventListener('keypress', globalDOMEventHandler, false);\n\n // After hooking into click and keypress events bubbled up to `document`, we also hook into user-handled\n // clicks & keypresses, by adding an event listener of our own to any element to which they add a listener. That\n // way, whenever one of their handlers is triggered, ours will be, too. (This is needed because their handler\n // could potentially prevent the event from bubbling up to our global listeners. This way, our handler are still\n // guaranteed to fire at least once.)\n ['EventTarget', 'Node'].forEach((target) => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const proto = (WINDOW )[target] && (WINDOW )[target].prototype;\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (originalAddEventListener) {\n return function (\n\n type,\n listener,\n options,\n ) {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this ;\n const handlers = (el.__sentry_instrumentation_handlers__ = el.__sentry_instrumentation_handlers__ || {});\n const handlerForType = (handlers[type] = handlers[type] || { refCount: 0 });\n\n if (!handlerForType.handler) {\n const handler = makeDOMEventHandler(triggerDOMHandler);\n handlerForType.handler = handler;\n originalAddEventListener.call(this, type, handler, options);\n }\n\n handlerForType.refCount++;\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalAddEventListener.call(this, type, listener, options);\n };\n });\n\n fill(\n proto,\n 'removeEventListener',\n function (originalRemoveEventListener) {\n return function (\n\n type,\n listener,\n options,\n ) {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this ;\n const handlers = el.__sentry_instrumentation_handlers__ || {};\n const handlerForType = handlers[type];\n\n if (handlerForType) {\n handlerForType.refCount--;\n // If there are no longer any custom handlers of the current type on this element, we can remove ours, too.\n if (handlerForType.refCount <= 0) {\n originalRemoveEventListener.call(this, type, handlerForType.handler, options);\n handlerForType.handler = undefined;\n delete handlers[type]; // eslint-disable-line @typescript-eslint/no-dynamic-delete\n }\n\n // If there are no longer any custom handlers of any type on this element, cleanup everything.\n if (Object.keys(handlers).length === 0) {\n delete el.__sentry_instrumentation_handlers__;\n }\n }\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalRemoveEventListener.call(this, type, listener, options);\n };\n },\n );\n });\n}\n\n/**\n * Check whether the event is similar to the last captured one. For example, two click events on the same button.\n */\nfunction isSimilarToLastCapturedEvent(event) {\n // If both events have different type, then user definitely performed two separate actions. e.g. click + keypress.\n if (event.type !== lastCapturedEventType) {\n return false;\n }\n\n try {\n // If both events have the same type, it's still possible that actions were performed on different targets.\n // e.g. 2 clicks on different buttons.\n if (!event.target || (event.target )._sentryId !== lastCapturedEventTargetId) {\n return false;\n }\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n }\n\n // If both events have the same type _and_ same `target` (an element which triggered an event, _not necessarily_\n // to which an event listener was attached), we treat them as the same action, as we want to capture\n // only one breadcrumb. e.g. multiple clicks on the same button, or typing inside a user input box.\n return true;\n}\n\n/**\n * Decide whether an event should be captured.\n * @param event event to be captured\n */\nfunction shouldSkipDOMEvent(eventType, target) {\n // We are only interested in filtering `keypress` events for now.\n if (eventType !== 'keypress') {\n return false;\n }\n\n if (!target || !target.tagName) {\n return true;\n }\n\n // Only consider keypress events on actual input elements. This will disregard keypresses targeting body\n // e.g.tabbing through elements, hotkeys, etc.\n if (target.tagName === 'INPUT' || target.tagName === 'TEXTAREA' || target.isContentEditable) {\n return false;\n }\n\n return true;\n}\n\n/**\n * Wraps addEventListener to capture UI breadcrumbs\n */\nfunction makeDOMEventHandler(\n handler,\n globalListener = false,\n) {\n return (event) => {\n // It's possible this handler might trigger multiple times for the same\n // event (e.g. event propagation through node ancestors).\n // Ignore if we've already captured that event.\n if (!event || event['_sentryCaptured']) {\n return;\n }\n\n const target = getEventTarget(event);\n\n // We always want to skip _some_ events.\n if (shouldSkipDOMEvent(event.type, target)) {\n return;\n }\n\n // Mark event as \"seen\"\n addNonEnumerableProperty(event, '_sentryCaptured', true);\n\n if (target && !target._sentryId) {\n // Add UUID to event target so we can identify if\n addNonEnumerableProperty(target, '_sentryId', uuid4());\n }\n\n const name = event.type === 'keypress' ? 'input' : event.type;\n\n // If there is no last captured event, it means that we can safely capture the new event and store it for future comparisons.\n // If there is a last captured event, see if the new event is different enough to treat it as a unique one.\n // If that's the case, emit the previous event and store locally the newly-captured DOM event.\n if (!isSimilarToLastCapturedEvent(event)) {\n const handlerData = { event, name, global: globalListener };\n handler(handlerData);\n lastCapturedEventType = event.type;\n lastCapturedEventTargetId = target ? target._sentryId : undefined;\n }\n\n // Start a new debounce timer that will prevent us from capturing multiple events that should be grouped together.\n clearTimeout(debounceTimerID);\n debounceTimerID = WINDOW.setTimeout(() => {\n lastCapturedEventTargetId = undefined;\n lastCapturedEventType = undefined;\n }, DEBOUNCE_DURATION);\n };\n}\n\nfunction getEventTarget(event) {\n try {\n return event.target ;\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n return null;\n }\n}\n\nexport { addClickKeypressInstrumentationHandler, instrumentDOM };\n//# sourceMappingURL=dom.js.map\n","import { isString } from '../is.js';\nimport { fill } from '../object.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\n\nconst WINDOW = GLOBAL_OBJ ;\n\nconst SENTRY_XHR_DATA_KEY = '__sentry_xhr_v3__';\n\n/**\n * Add an instrumentation handler for when an XHR request happens.\n * The handler function is called once when the request starts and once when it ends,\n * which can be identified by checking if it has an `endTimestamp`.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addXhrInstrumentationHandler(handler) {\n const type = 'xhr';\n addHandler(type, handler);\n maybeInstrument(type, instrumentXHR);\n}\n\n/** Exported only for tests. */\nfunction instrumentXHR() {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (!(WINDOW ).XMLHttpRequest) {\n return;\n }\n\n const xhrproto = XMLHttpRequest.prototype;\n\n fill(xhrproto, 'open', function (originalOpen) {\n return function ( ...args) {\n const startTimestamp = Date.now();\n\n // open() should always be called with two or more arguments\n // But to be on the safe side, we actually validate this and bail out if we don't have a method & url\n const method = isString(args[0]) ? args[0].toUpperCase() : undefined;\n const url = parseUrl(args[1]);\n\n if (!method || !url) {\n return originalOpen.apply(this, args);\n }\n\n this[SENTRY_XHR_DATA_KEY] = {\n method,\n url,\n request_headers: {},\n };\n\n // if Sentry key appears in URL, don't capture it as a request\n if (method === 'POST' && url.match(/sentry_key/)) {\n this.__sentry_own_request__ = true;\n }\n\n const onreadystatechangeHandler = () => {\n // For whatever reason, this is not the same instance here as from the outer method\n const xhrInfo = this[SENTRY_XHR_DATA_KEY];\n\n if (!xhrInfo) {\n return;\n }\n\n if (this.readyState === 4) {\n try {\n // touching statusCode in some platforms throws\n // an exception\n xhrInfo.status_code = this.status;\n } catch (e) {\n /* do nothing */\n }\n\n const handlerData = {\n args: [method, url],\n endTimestamp: Date.now(),\n startTimestamp,\n xhr: this,\n };\n triggerHandlers('xhr', handlerData);\n }\n };\n\n if ('onreadystatechange' in this && typeof this.onreadystatechange === 'function') {\n fill(this, 'onreadystatechange', function (original) {\n return function ( ...readyStateArgs) {\n onreadystatechangeHandler();\n return original.apply(this, readyStateArgs);\n };\n });\n } else {\n this.addEventListener('readystatechange', onreadystatechangeHandler);\n }\n\n // Intercepting `setRequestHeader` to access the request headers of XHR instance.\n // This will only work for user/library defined headers, not for the default/browser-assigned headers.\n // Request cookies are also unavailable for XHR, as `Cookie` header can't be defined by `setRequestHeader`.\n fill(this, 'setRequestHeader', function (original) {\n return function ( ...setRequestHeaderArgs) {\n const [header, value] = setRequestHeaderArgs;\n\n const xhrInfo = this[SENTRY_XHR_DATA_KEY];\n\n if (xhrInfo && isString(header) && isString(value)) {\n xhrInfo.request_headers[header.toLowerCase()] = value;\n }\n\n return original.apply(this, setRequestHeaderArgs);\n };\n });\n\n return originalOpen.apply(this, args);\n };\n });\n\n fill(xhrproto, 'send', function (originalSend) {\n return function ( ...args) {\n const sentryXhrData = this[SENTRY_XHR_DATA_KEY];\n\n if (!sentryXhrData) {\n return originalSend.apply(this, args);\n }\n\n if (args[0] !== undefined) {\n sentryXhrData.body = args[0];\n }\n\n const handlerData = {\n args: [sentryXhrData.method, sentryXhrData.url],\n startTimestamp: Date.now(),\n xhr: this,\n };\n triggerHandlers('xhr', handlerData);\n\n return originalSend.apply(this, args);\n };\n });\n}\n\nfunction parseUrl(url) {\n if (isString(url)) {\n return url;\n }\n\n try {\n // url can be a string or URL\n // but since URL is not available in IE11, we do not check for it,\n // but simply assume it is an URL and return `toString()` from it (which returns the full URL)\n // If that fails, we just return undefined\n return (url ).toString();\n } catch (e2) {} // eslint-disable-line no-empty\n\n return undefined;\n}\n\nexport { SENTRY_XHR_DATA_KEY, addXhrInstrumentationHandler, instrumentXHR };\n//# sourceMappingURL=xhr.js.map\n","import { DEBUG_BUILD } from './debug-build.js';\nimport { logger } from './logger.js';\nimport { getGlobalObject } from './worldwide.js';\n\n// eslint-disable-next-line deprecation/deprecation\nconst WINDOW = getGlobalObject();\n\n/**\n * Tells whether current environment supports ErrorEvent objects\n * {@link supportsErrorEvent}.\n *\n * @returns Answer to the given question.\n */\nfunction supportsErrorEvent() {\n try {\n new ErrorEvent('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports DOMError objects\n * {@link supportsDOMError}.\n *\n * @returns Answer to the given question.\n */\nfunction supportsDOMError() {\n try {\n // Chrome: VM89:1 Uncaught TypeError: Failed to construct 'DOMError':\n // 1 argument required, but only 0 present.\n // @ts-expect-error It really needs 1 argument, not 0.\n new DOMError('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports DOMException objects\n * {@link supportsDOMException}.\n *\n * @returns Answer to the given question.\n */\nfunction supportsDOMException() {\n try {\n new DOMException('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports Fetch API\n * {@link supportsFetch}.\n *\n * @returns Answer to the given question.\n */\nfunction supportsFetch() {\n if (!('fetch' in WINDOW)) {\n return false;\n }\n\n try {\n new Headers();\n new Request('http://www.example.com');\n new Response();\n return true;\n } catch (e) {\n return false;\n }\n}\n/**\n * isNativeFetch checks if the given function is a native implementation of fetch()\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction isNativeFetch(func) {\n return func && /^function fetch\\(\\)\\s+\\{\\s+\\[native code\\]\\s+\\}$/.test(func.toString());\n}\n\n/**\n * Tells whether current environment supports Fetch API natively\n * {@link supportsNativeFetch}.\n *\n * @returns true if `window.fetch` is natively implemented, false otherwise\n */\nfunction supportsNativeFetch() {\n if (typeof EdgeRuntime === 'string') {\n return true;\n }\n\n if (!supportsFetch()) {\n return false;\n }\n\n // Fast path to avoid DOM I/O\n // eslint-disable-next-line @typescript-eslint/unbound-method\n if (isNativeFetch(WINDOW.fetch)) {\n return true;\n }\n\n // window.fetch is implemented, but is polyfilled or already wrapped (e.g: by a chrome extension)\n // so create a \"pure\" iframe to see if that has native fetch\n let result = false;\n const doc = WINDOW.document;\n // eslint-disable-next-line deprecation/deprecation\n if (doc && typeof (doc.createElement ) === 'function') {\n try {\n const sandbox = doc.createElement('iframe');\n sandbox.hidden = true;\n doc.head.appendChild(sandbox);\n if (sandbox.contentWindow && sandbox.contentWindow.fetch) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n result = isNativeFetch(sandbox.contentWindow.fetch);\n }\n doc.head.removeChild(sandbox);\n } catch (err) {\n DEBUG_BUILD &&\n logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', err);\n }\n }\n\n return result;\n}\n\n/**\n * Tells whether current environment supports ReportingObserver API\n * {@link supportsReportingObserver}.\n *\n * @returns Answer to the given question.\n */\nfunction supportsReportingObserver() {\n return 'ReportingObserver' in WINDOW;\n}\n\n/**\n * Tells whether current environment supports Referrer Policy API\n * {@link supportsReferrerPolicy}.\n *\n * @returns Answer to the given question.\n */\nfunction supportsReferrerPolicy() {\n // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default'\n // (see https://caniuse.com/#feat=referrer-policy),\n // it doesn't. And it throws an exception instead of ignoring this parameter...\n // REF: https://github.com/getsentry/raven-js/issues/1233\n\n if (!supportsFetch()) {\n return false;\n }\n\n try {\n new Request('_', {\n referrerPolicy: 'origin' ,\n });\n return true;\n } catch (e) {\n return false;\n }\n}\n\nexport { isNativeFetch, supportsDOMError, supportsDOMException, supportsErrorEvent, supportsFetch, supportsNativeFetch, supportsReferrerPolicy, supportsReportingObserver };\n//# sourceMappingURL=supports.js.map\n","import { fill } from '../object.js';\nimport { supportsNativeFetch } from '../supports.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\n\n/**\n * Add an instrumentation handler for when a fetch request happens.\n * The handler function is called once when the request starts and once when it ends,\n * which can be identified by checking if it has an `endTimestamp`.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addFetchInstrumentationHandler(handler) {\n const type = 'fetch';\n addHandler(type, handler);\n maybeInstrument(type, instrumentFetch);\n}\n\nfunction instrumentFetch() {\n if (!supportsNativeFetch()) {\n return;\n }\n\n fill(GLOBAL_OBJ, 'fetch', function (originalFetch) {\n return function (...args) {\n const { method, url } = parseFetchArgs(args);\n\n const handlerData = {\n args,\n fetchData: {\n method,\n url,\n },\n startTimestamp: Date.now(),\n };\n\n triggerHandlers('fetch', {\n ...handlerData,\n });\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return originalFetch.apply(GLOBAL_OBJ, args).then(\n (response) => {\n const finishedHandlerData = {\n ...handlerData,\n endTimestamp: Date.now(),\n response,\n };\n\n triggerHandlers('fetch', finishedHandlerData);\n return response;\n },\n (error) => {\n const erroredHandlerData = {\n ...handlerData,\n endTimestamp: Date.now(),\n error,\n };\n\n triggerHandlers('fetch', erroredHandlerData);\n // NOTE: If you are a Sentry user, and you are seeing this stack frame,\n // it means the sentry.javascript SDK caught an error invoking your application code.\n // This is expected behavior and NOT indicative of a bug with sentry.javascript.\n throw error;\n },\n );\n };\n });\n}\n\nfunction hasProp(obj, prop) {\n return !!obj && typeof obj === 'object' && !!(obj )[prop];\n}\n\nfunction getUrlFromResource(resource) {\n if (typeof resource === 'string') {\n return resource;\n }\n\n if (!resource) {\n return '';\n }\n\n if (hasProp(resource, 'url')) {\n return resource.url;\n }\n\n if (resource.toString) {\n return resource.toString();\n }\n\n return '';\n}\n\n/**\n * Parses the fetch arguments to find the used Http method and the url of the request.\n * Exported for tests only.\n */\nfunction parseFetchArgs(fetchArgs) {\n if (fetchArgs.length === 0) {\n return { method: 'GET', url: '' };\n }\n\n if (fetchArgs.length === 2) {\n const [url, options] = fetchArgs ;\n\n return {\n url: getUrlFromResource(url),\n method: hasProp(options, 'method') ? String(options.method).toUpperCase() : 'GET',\n };\n }\n\n const arg = fetchArgs[0];\n return {\n url: getUrlFromResource(arg ),\n method: hasProp(arg, 'method') ? String(arg.method).toUpperCase() : 'GET',\n };\n}\n\nexport { addFetchInstrumentationHandler, parseFetchArgs };\n//# sourceMappingURL=fetch.js.map\n","import { getGlobalObject } from '../worldwide.js';\n\n// Based on https://github.com/angular/angular.js/pull/13945/files\n\n// eslint-disable-next-line deprecation/deprecation\nconst WINDOW = getGlobalObject();\n\n/**\n * Tells whether current environment supports History API\n * {@link supportsHistory}.\n *\n * @returns Answer to the given question.\n */\nfunction supportsHistory() {\n // NOTE: in Chrome App environment, touching history.pushState, *even inside\n // a try/catch block*, will cause Chrome to output an error to console.error\n // borrowed from: https://github.com/angular/angular.js/pull/13945/files\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const chromeVar = (WINDOW ).chrome;\n const isChromePackagedApp = chromeVar && chromeVar.app && chromeVar.app.runtime;\n /* eslint-enable @typescript-eslint/no-unsafe-member-access */\n const hasHistoryApi = 'history' in WINDOW && !!WINDOW.history.pushState && !!WINDOW.history.replaceState;\n\n return !isChromePackagedApp && hasHistoryApi;\n}\n\nexport { supportsHistory };\n//# sourceMappingURL=supportsHistory.js.map\n","import { fill } from '../object.js';\nimport '../debug-build.js';\nimport '../logger.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { supportsHistory } from '../vendor/supportsHistory.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\n\nconst WINDOW = GLOBAL_OBJ ;\n\nlet lastHref;\n\n/**\n * Add an instrumentation handler for when a fetch request happens.\n * The handler function is called once when the request starts and once when it ends,\n * which can be identified by checking if it has an `endTimestamp`.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addHistoryInstrumentationHandler(handler) {\n const type = 'history';\n addHandler(type, handler);\n maybeInstrument(type, instrumentHistory);\n}\n\nfunction instrumentHistory() {\n if (!supportsHistory()) {\n return;\n }\n\n const oldOnPopState = WINDOW.onpopstate;\n WINDOW.onpopstate = function ( ...args) {\n const to = WINDOW.location.href;\n // keep track of the current URL state, as we always receive only the updated state\n const from = lastHref;\n lastHref = to;\n const handlerData = { from, to };\n triggerHandlers('history', handlerData);\n if (oldOnPopState) {\n // Apparently this can throw in Firefox when incorrectly implemented plugin is installed.\n // https://github.com/getsentry/sentry-javascript/issues/3344\n // https://github.com/bugsnag/bugsnag-js/issues/469\n try {\n return oldOnPopState.apply(this, args);\n } catch (_oO) {\n // no-empty\n }\n }\n };\n\n function historyReplacementFunction(originalHistoryFunction) {\n return function ( ...args) {\n const url = args.length > 2 ? args[2] : undefined;\n if (url) {\n // coerce to string (this is what pushState does)\n const from = lastHref;\n const to = String(url);\n // keep track of the current URL state, as we always receive only the updated state\n lastHref = to;\n const handlerData = { from, to };\n triggerHandlers('history', handlerData);\n }\n return originalHistoryFunction.apply(this, args);\n };\n }\n\n fill(WINDOW.history, 'pushState', historyReplacementFunction);\n fill(WINDOW.history, 'replaceState', historyReplacementFunction);\n}\n\nexport { addHistoryInstrumentationHandler };\n//# sourceMappingURL=history.js.map\n","// Note: Ideally the `SeverityLevel` type would be derived from `validSeverityLevels`, but that would mean either\n//\n// a) moving `validSeverityLevels` to `@sentry/types`,\n// b) moving the`SeverityLevel` type here, or\n// c) importing `validSeverityLevels` from here into `@sentry/types`.\n//\n// Option A would make `@sentry/types` a runtime dependency of `@sentry/utils` (not good), and options B and C would\n// create a circular dependency between `@sentry/types` and `@sentry/utils` (also not good). So a TODO accompanying the\n// type, reminding anyone who changes it to change this list also, will have to do.\n\nconst validSeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug'];\n\n/**\n * Converts a string-based level into a member of the deprecated {@link Severity} enum.\n *\n * @deprecated `severityFromString` is deprecated. Please use `severityLevelFromString` instead.\n *\n * @param level String representation of Severity\n * @returns Severity\n */\nfunction severityFromString(level) {\n return severityLevelFromString(level) ;\n}\n\n/**\n * Converts a string-based level into a `SeverityLevel`, normalizing it along the way.\n *\n * @param level String representation of desired `SeverityLevel`.\n * @returns The `SeverityLevel` corresponding to the given string, or 'log' if the string isn't a valid level.\n */\nfunction severityLevelFromString(level) {\n return (level === 'warn' ? 'warning' : validSeverityLevels.includes(level) ? level : 'log') ;\n}\n\nexport { severityFromString, severityLevelFromString, validSeverityLevels };\n//# sourceMappingURL=severity.js.map\n","/**\n * Parses string form of URL into an object\n * // borrowed from https://tools.ietf.org/html/rfc3986#appendix-B\n * // intentionally using regex and not href parsing trick because React Native and other\n * // environments where DOM might not be available\n * @returns parsed URL object\n */\nfunction parseUrl(url) {\n if (!url) {\n return {};\n }\n\n const match = url.match(/^(([^:/?#]+):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/);\n\n if (!match) {\n return {};\n }\n\n // coerce to undefined values to empty string so we don't get 'undefined'\n const query = match[6] || '';\n const fragment = match[8] || '';\n return {\n host: match[4],\n path: match[5],\n protocol: match[2],\n search: query,\n hash: fragment,\n relative: match[5] + query + fragment, // everything minus origin\n };\n}\n\n/**\n * Strip the query string and fragment off of a given URL or path (if present)\n *\n * @param urlPath Full URL or path, including possible query string and/or fragment\n * @returns URL or path without query string or fragment\n */\nfunction stripUrlQueryAndFragment(urlPath) {\n // eslint-disable-next-line no-useless-escape\n return urlPath.split(/[\\?#]/, 1)[0];\n}\n\n/**\n * Returns number of URL segments of a passed string URL.\n */\nfunction getNumberOfUrlSegments(url) {\n // split at '/' or at '\\/' to split regex urls correctly\n return url.split(/\\\\?\\//).filter(s => s.length > 0 && s !== ',').length;\n}\n\n/**\n * Takes a URL object and returns a sanitized string which is safe to use as span description\n * see: https://develop.sentry.dev/sdk/data-handling/#structuring-data\n */\nfunction getSanitizedUrlString(url) {\n const { protocol, host, path } = url;\n\n const filteredHost =\n (host &&\n host\n // Always filter out authority\n .replace(/^.*@/, '[filtered]:[filtered]@')\n // Don't show standard :80 (http) and :443 (https) ports to reduce the noise\n // TODO: Use new URL global if it exists\n .replace(/(:80)$/, '')\n .replace(/(:443)$/, '')) ||\n '';\n\n return `${protocol ? `${protocol}://` : ''}${filteredHost}${path}`;\n}\n\nexport { getNumberOfUrlSegments, getSanitizedUrlString, parseUrl, stripUrlQueryAndFragment };\n//# sourceMappingURL=url.js.map\n","import { defineIntegration, convertIntegrationFnToClass, getClient, addBreadcrumb } from '@sentry/core';\nimport { addConsoleInstrumentationHandler, addClickKeypressInstrumentationHandler, addXhrInstrumentationHandler, addFetchInstrumentationHandler, addHistoryInstrumentationHandler, getEventDescription, logger, htmlTreeAsString, getComponentName, severityLevelFromString, safeJoin, SENTRY_XHR_DATA_KEY, parseUrl } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { WINDOW } from '../helpers.js';\n\n/* eslint-disable max-lines */\n\n/** maxStringLength gets capped to prevent 100 breadcrumbs exceeding 1MB event payload size */\nconst MAX_ALLOWED_STRING_LENGTH = 1024;\n\nconst INTEGRATION_NAME = 'Breadcrumbs';\n\nconst _breadcrumbsIntegration = ((options = {}) => {\n const _options = {\n console: true,\n dom: true,\n fetch: true,\n history: true,\n sentry: true,\n xhr: true,\n ...options,\n };\n\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function\n setup(client) {\n if (_options.console) {\n addConsoleInstrumentationHandler(_getConsoleBreadcrumbHandler(client));\n }\n if (_options.dom) {\n addClickKeypressInstrumentationHandler(_getDomBreadcrumbHandler(client, _options.dom));\n }\n if (_options.xhr) {\n addXhrInstrumentationHandler(_getXhrBreadcrumbHandler(client));\n }\n if (_options.fetch) {\n addFetchInstrumentationHandler(_getFetchBreadcrumbHandler(client));\n }\n if (_options.history) {\n addHistoryInstrumentationHandler(_getHistoryBreadcrumbHandler(client));\n }\n if (_options.sentry && client.on) {\n client.on('beforeSendEvent', _getSentryBreadcrumbHandler(client));\n }\n },\n };\n}) ;\n\nconst breadcrumbsIntegration = defineIntegration(_breadcrumbsIntegration);\n\n/**\n * Default Breadcrumbs instrumentations\n *\n * @deprecated Use `breadcrumbsIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst Breadcrumbs = convertIntegrationFnToClass(INTEGRATION_NAME, breadcrumbsIntegration)\n\n;\n\n/**\n * Adds a breadcrumb for Sentry events or transactions if this option is enabled.\n */\nfunction _getSentryBreadcrumbHandler(client) {\n return function addSentryBreadcrumb(event) {\n if (getClient() !== client) {\n return;\n }\n\n addBreadcrumb(\n {\n category: `sentry.${event.type === 'transaction' ? 'transaction' : 'event'}`,\n event_id: event.event_id,\n level: event.level,\n message: getEventDescription(event),\n },\n {\n event,\n },\n );\n };\n}\n\n/**\n * A HOC that creaes a function that creates breadcrumbs from DOM API calls.\n * This is a HOC so that we get access to dom options in the closure.\n */\nfunction _getDomBreadcrumbHandler(\n client,\n dom,\n) {\n return function _innerDomBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n let target;\n let componentName;\n let keyAttrs = typeof dom === 'object' ? dom.serializeAttribute : undefined;\n\n let maxStringLength =\n typeof dom === 'object' && typeof dom.maxStringLength === 'number' ? dom.maxStringLength : undefined;\n if (maxStringLength && maxStringLength > MAX_ALLOWED_STRING_LENGTH) {\n DEBUG_BUILD &&\n logger.warn(\n `\\`dom.maxStringLength\\` cannot exceed ${MAX_ALLOWED_STRING_LENGTH}, but a value of ${maxStringLength} was configured. Sentry will use ${MAX_ALLOWED_STRING_LENGTH} instead.`,\n );\n maxStringLength = MAX_ALLOWED_STRING_LENGTH;\n }\n\n if (typeof keyAttrs === 'string') {\n keyAttrs = [keyAttrs];\n }\n\n // Accessing event.target can throw (see getsentry/raven-js#838, #768)\n try {\n const event = handlerData.event ;\n const element = _isEvent(event) ? event.target : event;\n\n target = htmlTreeAsString(element, { keyAttrs, maxStringLength });\n componentName = getComponentName(element);\n } catch (e) {\n target = '';\n }\n\n if (target.length === 0) {\n return;\n }\n\n const breadcrumb = {\n category: `ui.${handlerData.name}`,\n message: target,\n };\n\n if (componentName) {\n breadcrumb.data = { 'ui.component_name': componentName };\n }\n\n addBreadcrumb(breadcrumb, {\n event: handlerData.event,\n name: handlerData.name,\n global: handlerData.global,\n });\n };\n}\n\n/**\n * Creates breadcrumbs from console API calls\n */\nfunction _getConsoleBreadcrumbHandler(client) {\n return function _consoleBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n const breadcrumb = {\n category: 'console',\n data: {\n arguments: handlerData.args,\n logger: 'console',\n },\n level: severityLevelFromString(handlerData.level),\n message: safeJoin(handlerData.args, ' '),\n };\n\n if (handlerData.level === 'assert') {\n if (handlerData.args[0] === false) {\n breadcrumb.message = `Assertion failed: ${safeJoin(handlerData.args.slice(1), ' ') || 'console.assert'}`;\n breadcrumb.data.arguments = handlerData.args.slice(1);\n } else {\n // Don't capture a breadcrumb for passed assertions\n return;\n }\n }\n\n addBreadcrumb(breadcrumb, {\n input: handlerData.args,\n level: handlerData.level,\n });\n };\n}\n\n/**\n * Creates breadcrumbs from XHR API calls\n */\nfunction _getXhrBreadcrumbHandler(client) {\n return function _xhrBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n const { startTimestamp, endTimestamp } = handlerData;\n\n const sentryXhrData = handlerData.xhr[SENTRY_XHR_DATA_KEY];\n\n // We only capture complete, non-sentry requests\n if (!startTimestamp || !endTimestamp || !sentryXhrData) {\n return;\n }\n\n const { method, url, status_code, body } = sentryXhrData;\n\n const data = {\n method,\n url,\n status_code,\n };\n\n const hint = {\n xhr: handlerData.xhr,\n input: body,\n startTimestamp,\n endTimestamp,\n };\n\n addBreadcrumb(\n {\n category: 'xhr',\n data,\n type: 'http',\n },\n hint,\n );\n };\n}\n\n/**\n * Creates breadcrumbs from fetch API calls\n */\nfunction _getFetchBreadcrumbHandler(client) {\n return function _fetchBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n const { startTimestamp, endTimestamp } = handlerData;\n\n // We only capture complete fetch requests\n if (!endTimestamp) {\n return;\n }\n\n if (handlerData.fetchData.url.match(/sentry_key/) && handlerData.fetchData.method === 'POST') {\n // We will not create breadcrumbs for fetch requests that contain `sentry_key` (internal sentry requests)\n return;\n }\n\n if (handlerData.error) {\n const data = handlerData.fetchData;\n const hint = {\n data: handlerData.error,\n input: handlerData.args,\n startTimestamp,\n endTimestamp,\n };\n\n addBreadcrumb(\n {\n category: 'fetch',\n data,\n level: 'error',\n type: 'http',\n },\n hint,\n );\n } else {\n const response = handlerData.response ;\n const data = {\n ...handlerData.fetchData,\n status_code: response && response.status,\n };\n const hint = {\n input: handlerData.args,\n response,\n startTimestamp,\n endTimestamp,\n };\n addBreadcrumb(\n {\n category: 'fetch',\n data,\n type: 'http',\n },\n hint,\n );\n }\n };\n}\n\n/**\n * Creates breadcrumbs from history API calls\n */\nfunction _getHistoryBreadcrumbHandler(client) {\n return function _historyBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n let from = handlerData.from;\n let to = handlerData.to;\n const parsedLoc = parseUrl(WINDOW.location.href);\n let parsedFrom = from ? parseUrl(from) : undefined;\n const parsedTo = parseUrl(to);\n\n // Initial pushState doesn't provide `from` information\n if (!parsedFrom || !parsedFrom.path) {\n parsedFrom = parsedLoc;\n }\n\n // Use only the path component of the URL if the URL matches the current\n // document (almost all the time when using pushState)\n if (parsedLoc.protocol === parsedTo.protocol && parsedLoc.host === parsedTo.host) {\n to = parsedTo.relative;\n }\n if (parsedLoc.protocol === parsedFrom.protocol && parsedLoc.host === parsedFrom.host) {\n from = parsedFrom.relative;\n }\n\n addBreadcrumb({\n category: 'navigation',\n data: {\n from,\n to,\n },\n });\n };\n}\n\nfunction _isEvent(event) {\n return !!event && !!(event ).target;\n}\n\nexport { Breadcrumbs, breadcrumbsIntegration };\n//# sourceMappingURL=breadcrumbs.js.map\n","import { defineIntegration, convertIntegrationFnToClass } from '@sentry/core';\nimport { applyAggregateErrorsToEvent } from '@sentry/utils';\nimport { exceptionFromError } from '../eventbuilder.js';\n\nconst DEFAULT_KEY = 'cause';\nconst DEFAULT_LIMIT = 5;\n\nconst INTEGRATION_NAME = 'LinkedErrors';\n\nconst _linkedErrorsIntegration = ((options = {}) => {\n const limit = options.limit || DEFAULT_LIMIT;\n const key = options.key || DEFAULT_KEY;\n\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function\n preprocessEvent(event, hint, client) {\n const options = client.getOptions();\n\n applyAggregateErrorsToEvent(\n // This differs from the LinkedErrors integration in core by using a different exceptionFromError function\n exceptionFromError,\n options.stackParser,\n options.maxValueLength,\n key,\n limit,\n event,\n hint,\n );\n },\n };\n}) ;\n\nconst linkedErrorsIntegration = defineIntegration(_linkedErrorsIntegration);\n\n/**\n * Aggregrate linked errors in an event.\n * @deprecated Use `linkedErrorsIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst LinkedErrors = convertIntegrationFnToClass(INTEGRATION_NAME, linkedErrorsIntegration)\n\n;\n\nexport { LinkedErrors, linkedErrorsIntegration };\n//# sourceMappingURL=linkederrors.js.map\n","import { defineIntegration, convertIntegrationFnToClass } from '@sentry/core';\nimport { WINDOW } from '../helpers.js';\n\nconst INTEGRATION_NAME = 'HttpContext';\n\nconst _httpContextIntegration = (() => {\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function\n preprocessEvent(event) {\n // if none of the information we want exists, don't bother\n if (!WINDOW.navigator && !WINDOW.location && !WINDOW.document) {\n return;\n }\n\n // grab as much info as exists and add it to the event\n const url = (event.request && event.request.url) || (WINDOW.location && WINDOW.location.href);\n const { referrer } = WINDOW.document || {};\n const { userAgent } = WINDOW.navigator || {};\n\n const headers = {\n ...(event.request && event.request.headers),\n ...(referrer && { Referer: referrer }),\n ...(userAgent && { 'User-Agent': userAgent }),\n };\n const request = { ...event.request, ...(url && { url }), headers };\n\n event.request = request;\n },\n };\n}) ;\n\nconst httpContextIntegration = defineIntegration(_httpContextIntegration);\n\n/**\n * HttpContext integration collects information about HTTP request headers.\n * @deprecated Use `httpContextIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst HttpContext = convertIntegrationFnToClass(INTEGRATION_NAME, httpContextIntegration)\n\n;\n\nexport { HttpContext, httpContextIntegration };\n//# sourceMappingURL=httpcontext.js.map\n","import { defineIntegration, convertIntegrationFnToClass } from '@sentry/core';\nimport { logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\n\nconst INTEGRATION_NAME = 'Dedupe';\n\nconst _dedupeIntegration = (() => {\n let previousEvent;\n\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function\n processEvent(currentEvent) {\n // We want to ignore any non-error type events, e.g. transactions or replays\n // These should never be deduped, and also not be compared against as _previousEvent.\n if (currentEvent.type) {\n return currentEvent;\n }\n\n // Juuust in case something goes wrong\n try {\n if (_shouldDropEvent(currentEvent, previousEvent)) {\n DEBUG_BUILD && logger.warn('Event dropped due to being a duplicate of previously captured event.');\n return null;\n }\n } catch (_oO) {} // eslint-disable-line no-empty\n\n return (previousEvent = currentEvent);\n },\n };\n}) ;\n\nconst dedupeIntegration = defineIntegration(_dedupeIntegration);\n\n/**\n * Deduplication filter.\n * @deprecated Use `dedupeIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst Dedupe = convertIntegrationFnToClass(INTEGRATION_NAME, dedupeIntegration)\n\n;\n\nfunction _shouldDropEvent(currentEvent, previousEvent) {\n if (!previousEvent) {\n return false;\n }\n\n if (_isSameMessageEvent(currentEvent, previousEvent)) {\n return true;\n }\n\n if (_isSameExceptionEvent(currentEvent, previousEvent)) {\n return true;\n }\n\n return false;\n}\n\nfunction _isSameMessageEvent(currentEvent, previousEvent) {\n const currentMessage = currentEvent.message;\n const previousMessage = previousEvent.message;\n\n // If neither event has a message property, they were both exceptions, so bail out\n if (!currentMessage && !previousMessage) {\n return false;\n }\n\n // If only one event has a stacktrace, but not the other one, they are not the same\n if ((currentMessage && !previousMessage) || (!currentMessage && previousMessage)) {\n return false;\n }\n\n if (currentMessage !== previousMessage) {\n return false;\n }\n\n if (!_isSameFingerprint(currentEvent, previousEvent)) {\n return false;\n }\n\n if (!_isSameStacktrace(currentEvent, previousEvent)) {\n return false;\n }\n\n return true;\n}\n\nfunction _isSameExceptionEvent(currentEvent, previousEvent) {\n const previousException = _getExceptionFromEvent(previousEvent);\n const currentException = _getExceptionFromEvent(currentEvent);\n\n if (!previousException || !currentException) {\n return false;\n }\n\n if (previousException.type !== currentException.type || previousException.value !== currentException.value) {\n return false;\n }\n\n if (!_isSameFingerprint(currentEvent, previousEvent)) {\n return false;\n }\n\n if (!_isSameStacktrace(currentEvent, previousEvent)) {\n return false;\n }\n\n return true;\n}\n\nfunction _isSameStacktrace(currentEvent, previousEvent) {\n let currentFrames = _getFramesFromEvent(currentEvent);\n let previousFrames = _getFramesFromEvent(previousEvent);\n\n // If neither event has a stacktrace, they are assumed to be the same\n if (!currentFrames && !previousFrames) {\n return true;\n }\n\n // If only one event has a stacktrace, but not the other one, they are not the same\n if ((currentFrames && !previousFrames) || (!currentFrames && previousFrames)) {\n return false;\n }\n\n currentFrames = currentFrames ;\n previousFrames = previousFrames ;\n\n // If number of frames differ, they are not the same\n if (previousFrames.length !== currentFrames.length) {\n return false;\n }\n\n // Otherwise, compare the two\n for (let i = 0; i < previousFrames.length; i++) {\n const frameA = previousFrames[i];\n const frameB = currentFrames[i];\n\n if (\n frameA.filename !== frameB.filename ||\n frameA.lineno !== frameB.lineno ||\n frameA.colno !== frameB.colno ||\n frameA.function !== frameB.function\n ) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction _isSameFingerprint(currentEvent, previousEvent) {\n let currentFingerprint = currentEvent.fingerprint;\n let previousFingerprint = previousEvent.fingerprint;\n\n // If neither event has a fingerprint, they are assumed to be the same\n if (!currentFingerprint && !previousFingerprint) {\n return true;\n }\n\n // If only one event has a fingerprint, but not the other one, they are not the same\n if ((currentFingerprint && !previousFingerprint) || (!currentFingerprint && previousFingerprint)) {\n return false;\n }\n\n currentFingerprint = currentFingerprint ;\n previousFingerprint = previousFingerprint ;\n\n // Otherwise, compare the two\n try {\n return !!(currentFingerprint.join('') === previousFingerprint.join(''));\n } catch (_oO) {\n return false;\n }\n}\n\nfunction _getExceptionFromEvent(event) {\n return event.exception && event.exception.values && event.exception.values[0];\n}\n\nfunction _getFramesFromEvent(event) {\n const exception = event.exception;\n\n if (exception) {\n try {\n // @ts-expect-error Object could be undefined\n return exception.values[0].stacktrace.frames;\n } catch (_oO) {\n return undefined;\n }\n }\n return undefined;\n}\n\nexport { Dedupe, dedupeIntegration };\n//# sourceMappingURL=dedupe.js.map\n","export { GlobalHandlers } from './globalhandlers.js';\nexport { TryCatch } from './trycatch.js';\nexport { Breadcrumbs } from './breadcrumbs.js';\nexport { LinkedErrors } from './linkederrors.js';\nexport { HttpContext } from './httpcontext.js';\nexport { Dedupe } from './dedupe.js';\n\n/* eslint-disable deprecation/deprecation */\n//# sourceMappingURL=index.js.map\n","import { Integrations } from '@sentry/core';\nexport { FunctionToString, Hub, InboundFilters, ModuleMetadata, SDK_VERSION, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, Scope, addBreadcrumb, addEventProcessor, addGlobalEventProcessor, addIntegration, addTracingExtensions, captureEvent, captureException, captureMessage, captureSession, close, configureScope, continueTrace, createTransport, endSession, extractTraceparentData, flush, functionToStringIntegration, getActiveSpan, getActiveTransaction, getClient, getCurrentHub, getCurrentScope, getHubFromCarrier, getSpanStatusFromHttpCode, inboundFiltersIntegration, isInitialized, lastEventId, makeMain, makeMultiplexedTransport, metrics, moduleMetadataIntegration, parameterize, setContext, setCurrentClient, setExtra, setExtras, setHttpStatus, setMeasurement, setTag, setTags, setUser, spanStatusfromHttpCode, startInactiveSpan, startSession, startSpan, startSpanManual, startTransaction, trace, withActiveSpan, withIsolationScope, withScope } from '@sentry/core';\nimport { WINDOW } from './helpers.js';\nexport { WINDOW } from './helpers.js';\nexport { BrowserClient } from './client.js';\nexport { makeFetchTransport } from './transports/fetch.js';\nexport { makeXHRTransport } from './transports/xhr.js';\nexport { chromeStackLineParser, defaultStackLineParsers, defaultStackParser, geckoStackLineParser, opera10StackLineParser, opera11StackLineParser, winjsStackLineParser } from './stack-parsers.js';\nexport { eventFromException, eventFromMessage, exceptionFromError } from './eventbuilder.js';\nexport { createUserFeedbackEnvelope } from './userfeedback.js';\nexport { captureUserFeedback, defaultIntegrations, forceLoad, getDefaultIntegrations, init, onLoad, showReportDialog, wrap } from './sdk.js';\nexport { Breadcrumbs, breadcrumbsIntegration } from './integrations/breadcrumbs.js';\nexport { Dedupe, dedupeIntegration } from './integrations/dedupe.js';\nexport { GlobalHandlers, globalHandlersIntegration } from './integrations/globalhandlers.js';\nexport { HttpContext, httpContextIntegration } from './integrations/httpcontext.js';\nexport { LinkedErrors, linkedErrorsIntegration } from './integrations/linkederrors.js';\nexport { TryCatch, browserApiErrorsIntegration } from './integrations/trycatch.js';\nimport * as index from './integrations/index.js';\nexport { InternalReplay as Replay, internalGetReplay as getReplay, internalReplayIntegration as replayIntegration } from '@sentry/replay';\nexport { ReplayCanvas, replayCanvasIntegration } from '@sentry-internal/replay-canvas';\nexport { Feedback, feedbackIntegration, sendFeedback } from '@sentry-internal/feedback';\nexport { BrowserTracing, browserTracingIntegration, defaultRequestInstrumentationOptions, instrumentOutgoingRequests, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan } from '@sentry-internal/tracing';\nexport { makeBrowserOfflineTransport } from './transports/offline.js';\nexport { onProfilingStartRouteTransaction } from './profiling/hubextensions.js';\nexport { BrowserProfilingIntegration, browserProfilingIntegration } from './profiling/integration.js';\n\nlet windowIntegrations = {};\n\n// This block is needed to add compatibility with the integrations packages when used with a CDN\nif (WINDOW.Sentry && WINDOW.Sentry.Integrations) {\n windowIntegrations = WINDOW.Sentry.Integrations;\n}\n\n/** @deprecated Import the integration function directly, e.g. `inboundFiltersIntegration()` instead of `new Integrations.InboundFilter(). */\nconst INTEGRATIONS = {\n ...windowIntegrations,\n // eslint-disable-next-line deprecation/deprecation\n ...Integrations,\n ...index,\n};\n\nexport { INTEGRATIONS as Integrations };\n//# sourceMappingURL=index.js.map\n","import { logger, consoleSandbox } from '@sentry/utils';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { getCurrentScope } from './exports.js';\nimport { getCurrentHub } from './hub.js';\n\n/** A class object that can instantiate Client objects. */\n\n/**\n * Internal function to create a new SDK client instance. The client is\n * installed and then bound to the current scope.\n *\n * @param clientClass The client class to instantiate.\n * @param options Options to pass to the client.\n */\nfunction initAndBind(\n clientClass,\n options,\n) {\n if (options.debug === true) {\n if (DEBUG_BUILD) {\n logger.enable();\n } else {\n // use `console.warn` rather than `logger.warn` since by non-debug bundles have all `logger.x` statements stripped\n consoleSandbox(() => {\n // eslint-disable-next-line no-console\n console.warn('[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.');\n });\n }\n }\n const scope = getCurrentScope();\n scope.update(options.initialScope);\n\n const client = new clientClass(options);\n setCurrentClient(client);\n initializeClient(client);\n}\n\n/**\n * Make the given client the current client.\n */\nfunction setCurrentClient(client) {\n // eslint-disable-next-line deprecation/deprecation\n const hub = getCurrentHub();\n // eslint-disable-next-line deprecation/deprecation\n const top = hub.getStackTop();\n top.client = client;\n top.scope.setClient(client);\n}\n\n/**\n * Initialize the client for the current scope.\n * Make sure to call this after `setCurrentClient()`.\n */\nfunction initializeClient(client) {\n if (client.init) {\n client.init();\n // TODO v8: Remove this fallback\n // eslint-disable-next-line deprecation/deprecation\n } else if (client.setupIntegrations) {\n // eslint-disable-next-line deprecation/deprecation\n client.setupIntegrations();\n }\n}\n\nexport { initAndBind, setCurrentClient };\n//# sourceMappingURL=sdk.js.map\n","import { DEBUG_BUILD } from './debug-build.js';\nimport { consoleSandbox, logger } from './logger.js';\n\n/** Regular expression used to parse a Dsn. */\nconst DSN_REGEX = /^(?:(\\w+):)\\/\\/(?:(\\w+)(?::(\\w+)?)?@)([\\w.-]+)(?::(\\d+))?\\/(.+)/;\n\nfunction isValidProtocol(protocol) {\n return protocol === 'http' || protocol === 'https';\n}\n\n/**\n * Renders the string representation of this Dsn.\n *\n * By default, this will render the public representation without the password\n * component. To get the deprecated private representation, set `withPassword`\n * to true.\n *\n * @param withPassword When set to true, the password will be included.\n */\nfunction dsnToString(dsn, withPassword = false) {\n const { host, path, pass, port, projectId, protocol, publicKey } = dsn;\n return (\n `${protocol}://${publicKey}${withPassword && pass ? `:${pass}` : ''}` +\n `@${host}${port ? `:${port}` : ''}/${path ? `${path}/` : path}${projectId}`\n );\n}\n\n/**\n * Parses a Dsn from a given string.\n *\n * @param str A Dsn as string\n * @returns Dsn as DsnComponents or undefined if @param str is not a valid DSN string\n */\nfunction dsnFromString(str) {\n const match = DSN_REGEX.exec(str);\n\n if (!match) {\n // This should be logged to the console\n consoleSandbox(() => {\n // eslint-disable-next-line no-console\n console.error(`Invalid Sentry Dsn: ${str}`);\n });\n return undefined;\n }\n\n const [protocol, publicKey, pass = '', host, port = '', lastPath] = match.slice(1);\n let path = '';\n let projectId = lastPath;\n\n const split = projectId.split('/');\n if (split.length > 1) {\n path = split.slice(0, -1).join('/');\n projectId = split.pop() ;\n }\n\n if (projectId) {\n const projectMatch = projectId.match(/^\\d+/);\n if (projectMatch) {\n projectId = projectMatch[0];\n }\n }\n\n return dsnFromComponents({ host, pass, path, projectId, port, protocol: protocol , publicKey });\n}\n\nfunction dsnFromComponents(components) {\n return {\n protocol: components.protocol,\n publicKey: components.publicKey || '',\n pass: components.pass || '',\n host: components.host,\n port: components.port || '',\n path: components.path || '',\n projectId: components.projectId,\n };\n}\n\nfunction validateDsn(dsn) {\n if (!DEBUG_BUILD) {\n return true;\n }\n\n const { port, projectId, protocol } = dsn;\n\n const requiredComponents = ['protocol', 'publicKey', 'host', 'projectId'];\n const hasMissingRequiredComponent = requiredComponents.find(component => {\n if (!dsn[component]) {\n logger.error(`Invalid Sentry Dsn: ${component} missing`);\n return true;\n }\n return false;\n });\n\n if (hasMissingRequiredComponent) {\n return false;\n }\n\n if (!projectId.match(/^\\d+$/)) {\n logger.error(`Invalid Sentry Dsn: Invalid projectId ${projectId}`);\n return false;\n }\n\n if (!isValidProtocol(protocol)) {\n logger.error(`Invalid Sentry Dsn: Invalid protocol ${protocol}`);\n return false;\n }\n\n if (port && isNaN(parseInt(port, 10))) {\n logger.error(`Invalid Sentry Dsn: Invalid port ${port}`);\n return false;\n }\n\n return true;\n}\n\n/**\n * Creates a valid Sentry Dsn object, identifying a Sentry instance and project.\n * @returns a valid DsnComponents object or `undefined` if @param from is an invalid DSN source\n */\nfunction makeDsn(from) {\n const components = typeof from === 'string' ? dsnFromString(from) : dsnFromComponents(from);\n if (!components || !validateDsn(components)) {\n return undefined;\n }\n return components;\n}\n\nexport { dsnFromString, dsnToString, makeDsn };\n//# sourceMappingURL=dsn.js.map\n","import { dsnToString } from './dsn.js';\nimport { normalize } from './normalize.js';\nimport { dropUndefinedKeys } from './object.js';\n\n/**\n * Creates an envelope.\n * Make sure to always explicitly provide the generic to this function\n * so that the envelope types resolve correctly.\n */\nfunction createEnvelope(headers, items = []) {\n return [headers, items] ;\n}\n\n/**\n * Add an item to an envelope.\n * Make sure to always explicitly provide the generic to this function\n * so that the envelope types resolve correctly.\n */\nfunction addItemToEnvelope(envelope, newItem) {\n const [headers, items] = envelope;\n return [headers, [...items, newItem]] ;\n}\n\n/**\n * Convenience function to loop through the items and item types of an envelope.\n * (This function was mostly created because working with envelope types is painful at the moment)\n *\n * If the callback returns true, the rest of the items will be skipped.\n */\nfunction forEachEnvelopeItem(\n envelope,\n callback,\n) {\n const envelopeItems = envelope[1];\n\n for (const envelopeItem of envelopeItems) {\n const envelopeItemType = envelopeItem[0].type;\n const result = callback(envelopeItem, envelopeItemType);\n\n if (result) {\n return true;\n }\n }\n\n return false;\n}\n\n/**\n * Returns true if the envelope contains any of the given envelope item types\n */\nfunction envelopeContainsItemType(envelope, types) {\n return forEachEnvelopeItem(envelope, (_, type) => types.includes(type));\n}\n\n/**\n * Encode a string to UTF8.\n */\nfunction encodeUTF8(input, textEncoder) {\n const utf8 = textEncoder || new TextEncoder();\n return utf8.encode(input);\n}\n\n/**\n * Serializes an envelope.\n */\nfunction serializeEnvelope(envelope, textEncoder) {\n const [envHeaders, items] = envelope;\n\n // Initially we construct our envelope as a string and only convert to binary chunks if we encounter binary data\n let parts = JSON.stringify(envHeaders);\n\n function append(next) {\n if (typeof parts === 'string') {\n parts = typeof next === 'string' ? parts + next : [encodeUTF8(parts, textEncoder), next];\n } else {\n parts.push(typeof next === 'string' ? encodeUTF8(next, textEncoder) : next);\n }\n }\n\n for (const item of items) {\n const [itemHeaders, payload] = item;\n\n append(`\\n${JSON.stringify(itemHeaders)}\\n`);\n\n if (typeof payload === 'string' || payload instanceof Uint8Array) {\n append(payload);\n } else {\n let stringifiedPayload;\n try {\n stringifiedPayload = JSON.stringify(payload);\n } catch (e) {\n // In case, despite all our efforts to keep `payload` circular-dependency-free, `JSON.strinify()` still\n // fails, we try again after normalizing it again with infinite normalization depth. This of course has a\n // performance impact but in this case a performance hit is better than throwing.\n stringifiedPayload = JSON.stringify(normalize(payload));\n }\n append(stringifiedPayload);\n }\n }\n\n return typeof parts === 'string' ? parts : concatBuffers(parts);\n}\n\nfunction concatBuffers(buffers) {\n const totalLength = buffers.reduce((acc, buf) => acc + buf.length, 0);\n\n const merged = new Uint8Array(totalLength);\n let offset = 0;\n for (const buffer of buffers) {\n merged.set(buffer, offset);\n offset += buffer.length;\n }\n\n return merged;\n}\n\n/**\n * Parses an envelope\n */\nfunction parseEnvelope(\n env,\n textEncoder,\n textDecoder,\n) {\n let buffer = typeof env === 'string' ? textEncoder.encode(env) : env;\n\n function readBinary(length) {\n const bin = buffer.subarray(0, length);\n // Replace the buffer with the remaining data excluding trailing newline\n buffer = buffer.subarray(length + 1);\n return bin;\n }\n\n function readJson() {\n let i = buffer.indexOf(0xa);\n // If we couldn't find a newline, we must have found the end of the buffer\n if (i < 0) {\n i = buffer.length;\n }\n\n return JSON.parse(textDecoder.decode(readBinary(i))) ;\n }\n\n const envelopeHeader = readJson();\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const items = [];\n\n while (buffer.length) {\n const itemHeader = readJson();\n const binaryLength = typeof itemHeader.length === 'number' ? itemHeader.length : undefined;\n\n items.push([itemHeader, binaryLength ? readBinary(binaryLength) : readJson()]);\n }\n\n return [envelopeHeader, items];\n}\n\n/**\n * Creates attachment envelope items\n */\nfunction createAttachmentEnvelopeItem(\n attachment,\n textEncoder,\n) {\n const buffer = typeof attachment.data === 'string' ? encodeUTF8(attachment.data, textEncoder) : attachment.data;\n\n return [\n dropUndefinedKeys({\n type: 'attachment',\n length: buffer.length,\n filename: attachment.filename,\n content_type: attachment.contentType,\n attachment_type: attachment.attachmentType,\n }),\n buffer,\n ];\n}\n\nconst ITEM_TYPE_TO_DATA_CATEGORY_MAP = {\n session: 'session',\n sessions: 'session',\n attachment: 'attachment',\n transaction: 'transaction',\n event: 'error',\n client_report: 'internal',\n user_report: 'default',\n profile: 'profile',\n replay_event: 'replay',\n replay_recording: 'replay',\n check_in: 'monitor',\n feedback: 'feedback',\n span: 'span',\n statsd: 'statsd',\n};\n\n/**\n * Maps the type of an envelope item to a data category.\n */\nfunction envelopeItemTypeToDataCategory(type) {\n return ITEM_TYPE_TO_DATA_CATEGORY_MAP[type];\n}\n\n/** Extracts the minimal SDK info from from the metadata or an events */\nfunction getSdkMetadataForEnvelopeHeader(metadataOrEvent) {\n if (!metadataOrEvent || !metadataOrEvent.sdk) {\n return;\n }\n const { name, version } = metadataOrEvent.sdk;\n return { name, version };\n}\n\n/**\n * Creates event envelope headers, based on event, sdk info and tunnel\n * Note: This function was extracted from the core package to make it available in Replay\n */\nfunction createEventEnvelopeHeaders(\n event,\n sdkInfo,\n tunnel,\n dsn,\n) {\n const dynamicSamplingContext = event.sdkProcessingMetadata && event.sdkProcessingMetadata.dynamicSamplingContext;\n return {\n event_id: event.event_id ,\n sent_at: new Date().toISOString(),\n ...(sdkInfo && { sdk: sdkInfo }),\n ...(!!tunnel && dsn && { dsn: dsnToString(dsn) }),\n ...(dynamicSamplingContext && {\n trace: dropUndefinedKeys({ ...dynamicSamplingContext }),\n }),\n };\n}\n\nexport { addItemToEnvelope, createAttachmentEnvelopeItem, createEnvelope, createEventEnvelopeHeaders, envelopeContainsItemType, envelopeItemTypeToDataCategory, forEachEnvelopeItem, getSdkMetadataForEnvelopeHeader, parseEnvelope, serializeEnvelope };\n//# sourceMappingURL=envelope.js.map\n","/** An error emitted by Sentry SDKs and related utilities. */\nclass SentryError extends Error {\n /** Display name of this error instance. */\n\n constructor( message, logLevel = 'warn') {\n super(message);this.message = message;\n this.name = new.target.prototype.constructor.name;\n // This sets the prototype to be `Error`, not `SentryError`. It's unclear why we do this, but commenting this line\n // out causes various (seemingly totally unrelated) playwright tests consistently time out. FYI, this makes\n // instances of `SentryError` fail `obj instanceof SentryError` checks.\n Object.setPrototypeOf(this, new.target.prototype);\n this.logLevel = logLevel;\n }\n}\n\nexport { SentryError };\n//# sourceMappingURL=error.js.map\n","import { makeDsn, dsnToString, urlEncode } from '@sentry/utils';\n\nconst SENTRY_API_VERSION = '7';\n\n/** Returns the prefix to construct Sentry ingestion API endpoints. */\nfunction getBaseApiEndpoint(dsn) {\n const protocol = dsn.protocol ? `${dsn.protocol}:` : '';\n const port = dsn.port ? `:${dsn.port}` : '';\n return `${protocol}//${dsn.host}${port}${dsn.path ? `/${dsn.path}` : ''}/api/`;\n}\n\n/** Returns the ingest API endpoint for target. */\nfunction _getIngestEndpoint(dsn) {\n return `${getBaseApiEndpoint(dsn)}${dsn.projectId}/envelope/`;\n}\n\n/** Returns a URL-encoded string with auth config suitable for a query string. */\nfunction _encodedAuth(dsn, sdkInfo) {\n return urlEncode({\n // We send only the minimum set of required information. See\n // https://github.com/getsentry/sentry-javascript/issues/2572.\n sentry_key: dsn.publicKey,\n sentry_version: SENTRY_API_VERSION,\n ...(sdkInfo && { sentry_client: `${sdkInfo.name}/${sdkInfo.version}` }),\n });\n}\n\n/**\n * Returns the envelope endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\nfunction getEnvelopeEndpointWithUrlEncodedAuth(\n dsn,\n // TODO (v8): Remove `tunnelOrOptions` in favor of `options`, and use the substitute code below\n // options: ClientOptions = {} as ClientOptions,\n tunnelOrOptions = {} ,\n) {\n // TODO (v8): Use this code instead\n // const { tunnel, _metadata = {} } = options;\n // return tunnel ? tunnel : `${_getIngestEndpoint(dsn)}?${_encodedAuth(dsn, _metadata.sdk)}`;\n\n const tunnel = typeof tunnelOrOptions === 'string' ? tunnelOrOptions : tunnelOrOptions.tunnel;\n const sdkInfo =\n typeof tunnelOrOptions === 'string' || !tunnelOrOptions._metadata ? undefined : tunnelOrOptions._metadata.sdk;\n\n return tunnel ? tunnel : `${_getIngestEndpoint(dsn)}?${_encodedAuth(dsn, sdkInfo)}`;\n}\n\n/** Returns the url to the report dialog endpoint. */\nfunction getReportDialogEndpoint(\n dsnLike,\n dialogOptions\n\n,\n) {\n const dsn = makeDsn(dsnLike);\n if (!dsn) {\n return '';\n }\n\n const endpoint = `${getBaseApiEndpoint(dsn)}embed/error-page/`;\n\n let encodedOptions = `dsn=${dsnToString(dsn)}`;\n for (const key in dialogOptions) {\n if (key === 'dsn') {\n continue;\n }\n\n if (key === 'onClose') {\n continue;\n }\n\n if (key === 'user') {\n const user = dialogOptions.user;\n if (!user) {\n continue;\n }\n if (user.name) {\n encodedOptions += `&name=${encodeURIComponent(user.name)}`;\n }\n if (user.email) {\n encodedOptions += `&email=${encodeURIComponent(user.email)}`;\n }\n } else {\n encodedOptions += `&${encodeURIComponent(key)}=${encodeURIComponent(dialogOptions[key] )}`;\n }\n }\n\n return `${endpoint}?${encodedOptions}`;\n}\n\nexport { getEnvelopeEndpointWithUrlEncodedAuth, getReportDialogEndpoint };\n//# sourceMappingURL=api.js.map\n","import { getSdkMetadataForEnvelopeHeader, dsnToString, createEnvelope, createEventEnvelopeHeaders } from '@sentry/utils';\n\n/**\n * Apply SdkInfo (name, version, packages, integrations) to the corresponding event key.\n * Merge with existing data if any.\n **/\nfunction enhanceEventWithSdkInfo(event, sdkInfo) {\n if (!sdkInfo) {\n return event;\n }\n event.sdk = event.sdk || {};\n event.sdk.name = event.sdk.name || sdkInfo.name;\n event.sdk.version = event.sdk.version || sdkInfo.version;\n event.sdk.integrations = [...(event.sdk.integrations || []), ...(sdkInfo.integrations || [])];\n event.sdk.packages = [...(event.sdk.packages || []), ...(sdkInfo.packages || [])];\n return event;\n}\n\n/** Creates an envelope from a Session */\nfunction createSessionEnvelope(\n session,\n dsn,\n metadata,\n tunnel,\n) {\n const sdkInfo = getSdkMetadataForEnvelopeHeader(metadata);\n const envelopeHeaders = {\n sent_at: new Date().toISOString(),\n ...(sdkInfo && { sdk: sdkInfo }),\n ...(!!tunnel && dsn && { dsn: dsnToString(dsn) }),\n };\n\n const envelopeItem =\n 'aggregates' in session ? [{ type: 'sessions' }, session] : [{ type: 'session' }, session.toJSON()];\n\n return createEnvelope(envelopeHeaders, [envelopeItem]);\n}\n\n/**\n * Create an Envelope from an event.\n */\nfunction createEventEnvelope(\n event,\n dsn,\n metadata,\n tunnel,\n) {\n const sdkInfo = getSdkMetadataForEnvelopeHeader(metadata);\n\n /*\n Note: Due to TS, event.type may be `replay_event`, theoretically.\n In practice, we never call `createEventEnvelope` with `replay_event` type,\n and we'd have to adjut a looot of types to make this work properly.\n We want to avoid casting this around, as that could lead to bugs (e.g. when we add another type)\n So the safe choice is to really guard against the replay_event type here.\n */\n const eventType = event.type && event.type !== 'replay_event' ? event.type : 'event';\n\n enhanceEventWithSdkInfo(event, metadata && metadata.sdk);\n\n const envelopeHeaders = createEventEnvelopeHeaders(event, sdkInfo, tunnel, dsn);\n\n // Prevent this data (which, if it exists, was used in earlier steps in the processing pipeline) from being sent to\n // sentry. (Note: Our use of this property comes and goes with whatever we might be debugging, whatever hacks we may\n // have temporarily added, etc. Even if we don't happen to be using it at some point in the future, let's not get rid\n // of this `delete`, lest we miss putting it back in the next time the property is in use.)\n delete event.sdkProcessingMetadata;\n\n const eventItem = [{ type: eventType }, event];\n return createEnvelope(envelopeHeaders, [eventItem]);\n}\n\nexport { createEventEnvelope, createSessionEnvelope };\n//# sourceMappingURL=envelope.js.map\n","import { dropUndefinedKeys } from '@sentry/utils';\nimport { NAME_AND_TAG_KEY_NORMALIZATION_REGEX, TAG_VALUE_NORMALIZATION_REGEX } from './constants.js';\n\n/**\n * Generate bucket key from metric properties.\n */\nfunction getBucketKey(\n metricType,\n name,\n unit,\n tags,\n) {\n const stringifiedTags = Object.entries(dropUndefinedKeys(tags)).sort((a, b) => a[0].localeCompare(b[0]));\n return `${metricType}${name}${unit}${stringifiedTags}`;\n}\n\n/* eslint-disable no-bitwise */\n/**\n * Simple hash function for strings.\n */\nfunction simpleHash(s) {\n let rv = 0;\n for (let i = 0; i < s.length; i++) {\n const c = s.charCodeAt(i);\n rv = (rv << 5) - rv + c;\n rv &= rv;\n }\n return rv >>> 0;\n}\n/* eslint-enable no-bitwise */\n\n/**\n * Serialize metrics buckets into a string based on statsd format.\n *\n * Example of format:\n * metric.name@second:1:1.2|d|#a:value,b:anothervalue|T12345677\n * Segments:\n * name: metric.name\n * unit: second\n * value: [1, 1.2]\n * type of metric: d (distribution)\n * tags: { a: value, b: anothervalue }\n * timestamp: 12345677\n */\nfunction serializeMetricBuckets(metricBucketItems) {\n let out = '';\n for (const item of metricBucketItems) {\n const tagEntries = Object.entries(item.tags);\n const maybeTags = tagEntries.length > 0 ? `|#${tagEntries.map(([key, value]) => `${key}:${value}`).join(',')}` : '';\n out += `${item.name}@${item.unit}:${item.metric}|${item.metricType}${maybeTags}|T${item.timestamp}\\n`;\n }\n return out;\n}\n\n/**\n * Sanitizes tags.\n */\nfunction sanitizeTags(unsanitizedTags) {\n const tags = {};\n for (const key in unsanitizedTags) {\n if (Object.prototype.hasOwnProperty.call(unsanitizedTags, key)) {\n const sanitizedKey = key.replace(NAME_AND_TAG_KEY_NORMALIZATION_REGEX, '_');\n tags[sanitizedKey] = String(unsanitizedTags[key]).replace(TAG_VALUE_NORMALIZATION_REGEX, '');\n }\n }\n return tags;\n}\n\nexport { getBucketKey, sanitizeTags, serializeMetricBuckets, simpleHash };\n//# sourceMappingURL=utils.js.map\n","import { dsnToString, createEnvelope } from '@sentry/utils';\nimport { serializeMetricBuckets } from './utils.js';\n\n/**\n * Create envelope from a metric aggregate.\n */\nfunction createMetricEnvelope(\n metricBucketItems,\n dsn,\n metadata,\n tunnel,\n) {\n const headers = {\n sent_at: new Date().toISOString(),\n };\n\n if (metadata && metadata.sdk) {\n headers.sdk = {\n name: metadata.sdk.name,\n version: metadata.sdk.version,\n };\n }\n\n if (!!tunnel && dsn) {\n headers.dsn = dsnToString(dsn);\n }\n\n const item = createMetricEnvelopeItem(metricBucketItems);\n return createEnvelope(headers, [item]);\n}\n\nfunction createMetricEnvelopeItem(metricBucketItems) {\n const payload = serializeMetricBuckets(metricBucketItems);\n const metricHeaders = {\n type: 'statsd',\n length: payload.length,\n };\n return [metricHeaders, payload];\n}\n\nexport { createMetricEnvelope };\n//# sourceMappingURL=envelope.js.map\n","import { makeDsn, logger, checkOrSetAlreadyCaught, isParameterizedString, isPrimitive, resolvedSyncPromise, addItemToEnvelope, createAttachmentEnvelopeItem, SyncPromise, rejectedSyncPromise, SentryError, isThenable, isPlainObject } from '@sentry/utils';\nimport { getEnvelopeEndpointWithUrlEncodedAuth } from './api.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { createEventEnvelope, createSessionEnvelope } from './envelope.js';\nimport { getClient } from './exports.js';\nimport { getIsolationScope } from './hub.js';\nimport { setupIntegration, afterSetupIntegrations, setupIntegrations } from './integration.js';\nimport { createMetricEnvelope } from './metrics/envelope.js';\nimport { updateSession } from './session.js';\nimport { getDynamicSamplingContextFromClient } from './tracing/dynamicSamplingContext.js';\nimport { prepareEvent } from './utils/prepareEvent.js';\n\nconst ALREADY_SEEN_ERROR = \"Not capturing exception because it's already been captured.\";\n\n/**\n * Base implementation for all JavaScript SDK clients.\n *\n * Call the constructor with the corresponding options\n * specific to the client subclass. To access these options later, use\n * {@link Client.getOptions}.\n *\n * If a Dsn is specified in the options, it will be parsed and stored. Use\n * {@link Client.getDsn} to retrieve the Dsn at any moment. In case the Dsn is\n * invalid, the constructor will throw a {@link SentryException}. Note that\n * without a valid Dsn, the SDK will not send any events to Sentry.\n *\n * Before sending an event, it is passed through\n * {@link BaseClient._prepareEvent} to add SDK information and scope data\n * (breadcrumbs and context). To add more custom information, override this\n * method and extend the resulting prepared event.\n *\n * To issue automatically created events (e.g. via instrumentation), use\n * {@link Client.captureEvent}. It will prepare the event and pass it through\n * the callback lifecycle. To issue auto-breadcrumbs, use\n * {@link Client.addBreadcrumb}.\n *\n * @example\n * class NodeClient extends BaseClient {\n * public constructor(options: NodeOptions) {\n * super(options);\n * }\n *\n * // ...\n * }\n */\nclass BaseClient {\n /**\n * A reference to a metrics aggregator\n *\n * @experimental Note this is alpha API. It may experience breaking changes in the future.\n */\n\n /** Options passed to the SDK. */\n\n /** The client Dsn, if specified in options. Without this Dsn, the SDK will be disabled. */\n\n /** Array of set up integrations. */\n\n /** Indicates whether this client's integrations have been set up. */\n\n /** Number of calls being processed */\n\n /** Holds flushable */\n\n // eslint-disable-next-line @typescript-eslint/ban-types\n\n /**\n * Initializes this client instance.\n *\n * @param options Options for the client.\n */\n constructor(options) {\n this._options = options;\n this._integrations = {};\n this._integrationsInitialized = false;\n this._numProcessing = 0;\n this._outcomes = {};\n this._hooks = {};\n this._eventProcessors = [];\n\n if (options.dsn) {\n this._dsn = makeDsn(options.dsn);\n } else {\n DEBUG_BUILD && logger.warn('No DSN provided, client will not send events.');\n }\n\n if (this._dsn) {\n const url = getEnvelopeEndpointWithUrlEncodedAuth(this._dsn, options);\n this._transport = options.transport({\n recordDroppedEvent: this.recordDroppedEvent.bind(this),\n ...options.transportOptions,\n url,\n });\n }\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n captureException(exception, hint, scope) {\n // ensure we haven't captured this very object before\n if (checkOrSetAlreadyCaught(exception)) {\n DEBUG_BUILD && logger.log(ALREADY_SEEN_ERROR);\n return;\n }\n\n let eventId = hint && hint.event_id;\n\n this._process(\n this.eventFromException(exception, hint)\n .then(event => this._captureEvent(event, hint, scope))\n .then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n captureMessage(\n message,\n // eslint-disable-next-line deprecation/deprecation\n level,\n hint,\n scope,\n ) {\n let eventId = hint && hint.event_id;\n\n const eventMessage = isParameterizedString(message) ? message : String(message);\n\n const promisedEvent = isPrimitive(message)\n ? this.eventFromMessage(eventMessage, level, hint)\n : this.eventFromException(message, hint);\n\n this._process(\n promisedEvent\n .then(event => this._captureEvent(event, hint, scope))\n .then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n captureEvent(event, hint, scope) {\n // ensure we haven't captured this very object before\n if (hint && hint.originalException && checkOrSetAlreadyCaught(hint.originalException)) {\n DEBUG_BUILD && logger.log(ALREADY_SEEN_ERROR);\n return;\n }\n\n let eventId = hint && hint.event_id;\n\n const sdkProcessingMetadata = event.sdkProcessingMetadata || {};\n const capturedSpanScope = sdkProcessingMetadata.capturedSpanScope;\n\n this._process(\n this._captureEvent(event, hint, capturedSpanScope || scope).then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n captureSession(session) {\n if (!(typeof session.release === 'string')) {\n DEBUG_BUILD && logger.warn('Discarded session because of missing or non-string release');\n } else {\n this.sendSession(session);\n // After sending, we set init false to indicate it's not the first occurrence\n updateSession(session, { init: false });\n }\n }\n\n /**\n * @inheritDoc\n */\n getDsn() {\n return this._dsn;\n }\n\n /**\n * @inheritDoc\n */\n getOptions() {\n return this._options;\n }\n\n /**\n * @see SdkMetadata in @sentry/types\n *\n * @return The metadata of the SDK\n */\n getSdkMetadata() {\n return this._options._metadata;\n }\n\n /**\n * @inheritDoc\n */\n getTransport() {\n return this._transport;\n }\n\n /**\n * @inheritDoc\n */\n flush(timeout) {\n const transport = this._transport;\n if (transport) {\n if (this.metricsAggregator) {\n this.metricsAggregator.flush();\n }\n return this._isClientDoneProcessing(timeout).then(clientFinished => {\n return transport.flush(timeout).then(transportFlushed => clientFinished && transportFlushed);\n });\n } else {\n return resolvedSyncPromise(true);\n }\n }\n\n /**\n * @inheritDoc\n */\n close(timeout) {\n return this.flush(timeout).then(result => {\n this.getOptions().enabled = false;\n if (this.metricsAggregator) {\n this.metricsAggregator.close();\n }\n return result;\n });\n }\n\n /** Get all installed event processors. */\n getEventProcessors() {\n return this._eventProcessors;\n }\n\n /** @inheritDoc */\n addEventProcessor(eventProcessor) {\n this._eventProcessors.push(eventProcessor);\n }\n\n /**\n * This is an internal function to setup all integrations that should run on the client.\n * @deprecated Use `client.init()` instead.\n */\n setupIntegrations(forceInitialize) {\n if ((forceInitialize && !this._integrationsInitialized) || (this._isEnabled() && !this._integrationsInitialized)) {\n this._setupIntegrations();\n }\n }\n\n /** @inheritdoc */\n init() {\n if (this._isEnabled()) {\n this._setupIntegrations();\n }\n }\n\n /**\n * Gets an installed integration by its `id`.\n *\n * @returns The installed integration or `undefined` if no integration with that `id` was installed.\n * @deprecated Use `getIntegrationByName()` instead.\n */\n getIntegrationById(integrationId) {\n return this.getIntegrationByName(integrationId);\n }\n\n /**\n * Gets an installed integration by its name.\n *\n * @returns The installed integration or `undefined` if no integration with that `name` was installed.\n */\n getIntegrationByName(integrationName) {\n return this._integrations[integrationName] ;\n }\n\n /**\n * Returns the client's instance of the given integration class, it any.\n * @deprecated Use `getIntegrationByName()` instead.\n */\n getIntegration(integration) {\n try {\n return (this._integrations[integration.id] ) || null;\n } catch (_oO) {\n DEBUG_BUILD && logger.warn(`Cannot retrieve integration ${integration.id} from the current Client`);\n return null;\n }\n }\n\n /**\n * @inheritDoc\n */\n addIntegration(integration) {\n const isAlreadyInstalled = this._integrations[integration.name];\n\n // This hook takes care of only installing if not already installed\n setupIntegration(this, integration, this._integrations);\n // Here we need to check manually to make sure to not run this multiple times\n if (!isAlreadyInstalled) {\n afterSetupIntegrations(this, [integration]);\n }\n }\n\n /**\n * @inheritDoc\n */\n sendEvent(event, hint = {}) {\n this.emit('beforeSendEvent', event, hint);\n\n let env = createEventEnvelope(event, this._dsn, this._options._metadata, this._options.tunnel);\n\n for (const attachment of hint.attachments || []) {\n env = addItemToEnvelope(\n env,\n createAttachmentEnvelopeItem(\n attachment,\n this._options.transportOptions && this._options.transportOptions.textEncoder,\n ),\n );\n }\n\n const promise = this._sendEnvelope(env);\n if (promise) {\n promise.then(sendResponse => this.emit('afterSendEvent', event, sendResponse), null);\n }\n }\n\n /**\n * @inheritDoc\n */\n sendSession(session) {\n const env = createSessionEnvelope(session, this._dsn, this._options._metadata, this._options.tunnel);\n\n // _sendEnvelope should not throw\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this._sendEnvelope(env);\n }\n\n /**\n * @inheritDoc\n */\n recordDroppedEvent(reason, category, _event) {\n // Note: we use `event` in replay, where we overwrite this hook.\n\n if (this._options.sendClientReports) {\n // We want to track each category (error, transaction, session, replay_event) separately\n // but still keep the distinction between different type of outcomes.\n // We could use nested maps, but it's much easier to read and type this way.\n // A correct type for map-based implementation if we want to go that route\n // would be `Partial>>>`\n // With typescript 4.1 we could even use template literal types\n const key = `${reason}:${category}`;\n DEBUG_BUILD && logger.log(`Adding outcome: \"${key}\"`);\n\n // The following works because undefined + 1 === NaN and NaN is falsy\n this._outcomes[key] = this._outcomes[key] + 1 || 1;\n }\n }\n\n /**\n * @inheritDoc\n */\n captureAggregateMetrics(metricBucketItems) {\n DEBUG_BUILD && logger.log(`Flushing aggregated metrics, number of metrics: ${metricBucketItems.length}`);\n const metricsEnvelope = createMetricEnvelope(\n metricBucketItems,\n this._dsn,\n this._options._metadata,\n this._options.tunnel,\n );\n\n // _sendEnvelope should not throw\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this._sendEnvelope(metricsEnvelope);\n }\n\n // Keep on() & emit() signatures in sync with types' client.ts interface\n /* eslint-disable @typescript-eslint/unified-signatures */\n\n /** @inheritdoc */\n\n /** @inheritdoc */\n on(hook, callback) {\n if (!this._hooks[hook]) {\n this._hooks[hook] = [];\n }\n\n // @ts-expect-error We assue the types are correct\n this._hooks[hook].push(callback);\n }\n\n /** @inheritdoc */\n\n /** @inheritdoc */\n emit(hook, ...rest) {\n if (this._hooks[hook]) {\n this._hooks[hook].forEach(callback => callback(...rest));\n }\n }\n\n /* eslint-enable @typescript-eslint/unified-signatures */\n\n /** Setup integrations for this client. */\n _setupIntegrations() {\n const { integrations } = this._options;\n this._integrations = setupIntegrations(this, integrations);\n afterSetupIntegrations(this, integrations);\n\n // TODO v8: We don't need this flag anymore\n this._integrationsInitialized = true;\n }\n\n /** Updates existing session based on the provided event */\n _updateSessionFromEvent(session, event) {\n let crashed = false;\n let errored = false;\n const exceptions = event.exception && event.exception.values;\n\n if (exceptions) {\n errored = true;\n\n for (const ex of exceptions) {\n const mechanism = ex.mechanism;\n if (mechanism && mechanism.handled === false) {\n crashed = true;\n break;\n }\n }\n }\n\n // A session is updated and that session update is sent in only one of the two following scenarios:\n // 1. Session with non terminal status and 0 errors + an error occurred -> Will set error count to 1 and send update\n // 2. Session with non terminal status and 1 error + a crash occurred -> Will set status crashed and send update\n const sessionNonTerminal = session.status === 'ok';\n const shouldUpdateAndSend = (sessionNonTerminal && session.errors === 0) || (sessionNonTerminal && crashed);\n\n if (shouldUpdateAndSend) {\n updateSession(session, {\n ...(crashed && { status: 'crashed' }),\n errors: session.errors || Number(errored || crashed),\n });\n this.captureSession(session);\n }\n }\n\n /**\n * Determine if the client is finished processing. Returns a promise because it will wait `timeout` ms before saying\n * \"no\" (resolving to `false`) in order to give the client a chance to potentially finish first.\n *\n * @param timeout The time, in ms, after which to resolve to `false` if the client is still busy. Passing `0` (or not\n * passing anything) will make the promise wait as long as it takes for processing to finish before resolving to\n * `true`.\n * @returns A promise which will resolve to `true` if processing is already done or finishes before the timeout, and\n * `false` otherwise\n */\n _isClientDoneProcessing(timeout) {\n return new SyncPromise(resolve => {\n let ticked = 0;\n const tick = 1;\n\n const interval = setInterval(() => {\n if (this._numProcessing == 0) {\n clearInterval(interval);\n resolve(true);\n } else {\n ticked += tick;\n if (timeout && ticked >= timeout) {\n clearInterval(interval);\n resolve(false);\n }\n }\n }, tick);\n });\n }\n\n /** Determines whether this SDK is enabled and a transport is present. */\n _isEnabled() {\n return this.getOptions().enabled !== false && this._transport !== undefined;\n }\n\n /**\n * Adds common information to events.\n *\n * The information includes release and environment from `options`,\n * breadcrumbs and context (extra, tags and user) from the scope.\n *\n * Information that is already present in the event is never overwritten. For\n * nested objects, such as the context, keys are merged.\n *\n * @param event The original event.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A new event with more information.\n */\n _prepareEvent(\n event,\n hint,\n scope,\n isolationScope = getIsolationScope(),\n ) {\n const options = this.getOptions();\n const integrations = Object.keys(this._integrations);\n if (!hint.integrations && integrations.length > 0) {\n hint.integrations = integrations;\n }\n\n this.emit('preprocessEvent', event, hint);\n\n return prepareEvent(options, event, hint, scope, this, isolationScope).then(evt => {\n if (evt === null) {\n return evt;\n }\n\n const propagationContext = {\n ...isolationScope.getPropagationContext(),\n ...(scope ? scope.getPropagationContext() : undefined),\n };\n\n const trace = evt.contexts && evt.contexts.trace;\n if (!trace && propagationContext) {\n const { traceId: trace_id, spanId, parentSpanId, dsc } = propagationContext;\n evt.contexts = {\n trace: {\n trace_id,\n span_id: spanId,\n parent_span_id: parentSpanId,\n },\n ...evt.contexts,\n };\n\n const dynamicSamplingContext = dsc ? dsc : getDynamicSamplingContextFromClient(trace_id, this, scope);\n\n evt.sdkProcessingMetadata = {\n dynamicSamplingContext,\n ...evt.sdkProcessingMetadata,\n };\n }\n return evt;\n });\n }\n\n /**\n * Processes the event and logs an error in case of rejection\n * @param event\n * @param hint\n * @param scope\n */\n _captureEvent(event, hint = {}, scope) {\n return this._processEvent(event, hint, scope).then(\n finalEvent => {\n return finalEvent.event_id;\n },\n reason => {\n if (DEBUG_BUILD) {\n // If something's gone wrong, log the error as a warning. If it's just us having used a `SentryError` for\n // control flow, log just the message (no stack) as a log-level log.\n const sentryError = reason ;\n if (sentryError.logLevel === 'log') {\n logger.log(sentryError.message);\n } else {\n logger.warn(sentryError);\n }\n }\n return undefined;\n },\n );\n }\n\n /**\n * Processes an event (either error or message) and sends it to Sentry.\n *\n * This also adds breadcrumbs and context information to the event. However,\n * platform specific meta data (such as the User's IP address) must be added\n * by the SDK implementor.\n *\n *\n * @param event The event to send to Sentry.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.\n */\n _processEvent(event, hint, scope) {\n const options = this.getOptions();\n const { sampleRate } = options;\n\n const isTransaction = isTransactionEvent(event);\n const isError = isErrorEvent(event);\n const eventType = event.type || 'error';\n const beforeSendLabel = `before send for type \\`${eventType}\\``;\n\n // 1.0 === 100% events are sent\n // 0.0 === 0% events are sent\n // Sampling for transaction happens somewhere else\n if (isError && typeof sampleRate === 'number' && Math.random() > sampleRate) {\n this.recordDroppedEvent('sample_rate', 'error', event);\n return rejectedSyncPromise(\n new SentryError(\n `Discarding event because it's not included in the random sample (sampling rate = ${sampleRate})`,\n 'log',\n ),\n );\n }\n\n const dataCategory = eventType === 'replay_event' ? 'replay' : eventType;\n\n const sdkProcessingMetadata = event.sdkProcessingMetadata || {};\n const capturedSpanIsolationScope = sdkProcessingMetadata.capturedSpanIsolationScope;\n\n return this._prepareEvent(event, hint, scope, capturedSpanIsolationScope)\n .then(prepared => {\n if (prepared === null) {\n this.recordDroppedEvent('event_processor', dataCategory, event);\n throw new SentryError('An event processor returned `null`, will not send event.', 'log');\n }\n\n const isInternalException = hint.data && (hint.data ).__sentry__ === true;\n if (isInternalException) {\n return prepared;\n }\n\n const result = processBeforeSend(options, prepared, hint);\n return _validateBeforeSendResult(result, beforeSendLabel);\n })\n .then(processedEvent => {\n if (processedEvent === null) {\n this.recordDroppedEvent('before_send', dataCategory, event);\n throw new SentryError(`${beforeSendLabel} returned \\`null\\`, will not send event.`, 'log');\n }\n\n const session = scope && scope.getSession();\n if (!isTransaction && session) {\n this._updateSessionFromEvent(session, processedEvent);\n }\n\n // None of the Sentry built event processor will update transaction name,\n // so if the transaction name has been changed by an event processor, we know\n // it has to come from custom event processor added by a user\n const transactionInfo = processedEvent.transaction_info;\n if (isTransaction && transactionInfo && processedEvent.transaction !== event.transaction) {\n const source = 'custom';\n processedEvent.transaction_info = {\n ...transactionInfo,\n source,\n };\n }\n\n this.sendEvent(processedEvent, hint);\n return processedEvent;\n })\n .then(null, reason => {\n if (reason instanceof SentryError) {\n throw reason;\n }\n\n this.captureException(reason, {\n data: {\n __sentry__: true,\n },\n originalException: reason,\n });\n throw new SentryError(\n `Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\\nReason: ${reason}`,\n );\n });\n }\n\n /**\n * Occupies the client with processing and event\n */\n _process(promise) {\n this._numProcessing++;\n void promise.then(\n value => {\n this._numProcessing--;\n return value;\n },\n reason => {\n this._numProcessing--;\n return reason;\n },\n );\n }\n\n /**\n * @inheritdoc\n */\n _sendEnvelope(envelope) {\n this.emit('beforeEnvelope', envelope);\n\n if (this._isEnabled() && this._transport) {\n return this._transport.send(envelope).then(null, reason => {\n DEBUG_BUILD && logger.error('Error while sending event:', reason);\n });\n } else {\n DEBUG_BUILD && logger.error('Transport disabled');\n }\n }\n\n /**\n * Clears outcomes on this client and returns them.\n */\n _clearOutcomes() {\n const outcomes = this._outcomes;\n this._outcomes = {};\n return Object.keys(outcomes).map(key => {\n const [reason, category] = key.split(':') ;\n return {\n reason,\n category,\n quantity: outcomes[key],\n };\n });\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n\n}\n\n/**\n * Verifies that return value of configured `beforeSend` or `beforeSendTransaction` is of expected type, and returns the value if so.\n */\nfunction _validateBeforeSendResult(\n beforeSendResult,\n beforeSendLabel,\n) {\n const invalidValueError = `${beforeSendLabel} must return \\`null\\` or a valid event.`;\n if (isThenable(beforeSendResult)) {\n return beforeSendResult.then(\n event => {\n if (!isPlainObject(event) && event !== null) {\n throw new SentryError(invalidValueError);\n }\n return event;\n },\n e => {\n throw new SentryError(`${beforeSendLabel} rejected with ${e}`);\n },\n );\n } else if (!isPlainObject(beforeSendResult) && beforeSendResult !== null) {\n throw new SentryError(invalidValueError);\n }\n return beforeSendResult;\n}\n\n/**\n * Process the matching `beforeSendXXX` callback.\n */\nfunction processBeforeSend(\n options,\n event,\n hint,\n) {\n const { beforeSend, beforeSendTransaction } = options;\n\n if (isErrorEvent(event) && beforeSend) {\n return beforeSend(event, hint);\n }\n\n if (isTransactionEvent(event) && beforeSendTransaction) {\n return beforeSendTransaction(event, hint);\n }\n\n return event;\n}\n\nfunction isErrorEvent(event) {\n return event.type === undefined;\n}\n\nfunction isTransactionEvent(event) {\n return event.type === 'transaction';\n}\n\n/**\n * Add an event processor to the current client.\n * This event processor will run for all events processed by this client.\n */\nfunction addEventProcessor(callback) {\n const client = getClient();\n\n if (!client || !client.addEventProcessor) {\n return;\n }\n\n client.addEventProcessor(callback);\n}\n\nexport { BaseClient, addEventProcessor };\n//# sourceMappingURL=baseclient.js.map\n","/*\n * This module exists for optimizations in the build process through rollup and terser. We define some global\n * constants, which can be overridden during build. By guarding certain pieces of code with functions that return these\n * constants, we can control whether or not they appear in the final bundle. (Any code guarded by a false condition will\n * never run, and will hence be dropped during treeshaking.) The two primary uses for this are stripping out calls to\n * `logger` and preventing node-related code from appearing in browser bundles.\n *\n * Attention:\n * This file should not be used to define constants/flags that are intended to be used for tree-shaking conducted by\n * users. These flags should live in their respective packages, as we identified user tooling (specifically webpack)\n * having issues tree-shaking these constants across package boundaries.\n * An example for this is the __SENTRY_DEBUG__ constant. It is declared in each package individually because we want\n * users to be able to shake away expressions that it guards.\n */\n\n/**\n * Figures out if we're building a browser bundle.\n *\n * @returns true if this is a browser bundle build.\n */\nfunction isBrowserBundle() {\n return typeof __SENTRY_BROWSER_BUNDLE__ !== 'undefined' && !!__SENTRY_BROWSER_BUNDLE__;\n}\n\n/**\n * Get source of SDK.\n */\nfunction getSDKSource() {\n // @ts-expect-error \"npm\" is injected by rollup during build process\n return \"npm\";\n}\n\nexport { getSDKSource, isBrowserBundle };\n//# sourceMappingURL=env.js.map\n","import { createEnvelope } from './envelope.js';\nimport { dateTimestampInSeconds } from './time.js';\n\n/**\n * Creates client report envelope\n * @param discarded_events An array of discard events\n * @param dsn A DSN that can be set on the header. Optional.\n */\nfunction createClientReportEnvelope(\n discarded_events,\n dsn,\n timestamp,\n) {\n const clientReportItem = [\n { type: 'client_report' },\n {\n timestamp: timestamp || dateTimestampInSeconds(),\n discarded_events,\n },\n ];\n return createEnvelope(dsn ? { dsn } : {}, [clientReportItem]);\n}\n\nexport { createClientReportEnvelope };\n//# sourceMappingURL=clientreport.js.map\n","import { dsnToString, createEnvelope } from '@sentry/utils';\n\n/**\n * Creates an envelope from a user feedback.\n */\nfunction createUserFeedbackEnvelope(\n feedback,\n {\n metadata,\n tunnel,\n dsn,\n }\n\n,\n) {\n const headers = {\n event_id: feedback.event_id,\n sent_at: new Date().toISOString(),\n ...(metadata &&\n metadata.sdk && {\n sdk: {\n name: metadata.sdk.name,\n version: metadata.sdk.version,\n },\n }),\n ...(!!tunnel && !!dsn && { dsn: dsnToString(dsn) }),\n };\n const item = createUserFeedbackEnvelopeItem(feedback);\n\n return createEnvelope(headers, [item]);\n}\n\nfunction createUserFeedbackEnvelopeItem(feedback) {\n const feedbackHeaders = {\n type: 'user_report',\n };\n return [feedbackHeaders, feedback];\n}\n\nexport { createUserFeedbackEnvelope };\n//# sourceMappingURL=userfeedback.js.map\n","import { BaseClient, applySdkMetadata } from '@sentry/core';\nimport { getSDKSource, logger, createClientReportEnvelope, dsnToString } from '@sentry/utils';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { eventFromException, eventFromMessage } from './eventbuilder.js';\nimport { WINDOW } from './helpers.js';\nimport { createUserFeedbackEnvelope } from './userfeedback.js';\n\n/**\n * Configuration options for the Sentry Browser SDK.\n * @see @sentry/types Options for more information.\n */\n\n/**\n * The Sentry Browser SDK Client.\n *\n * @see BrowserOptions for documentation on configuration options.\n * @see SentryClient for usage documentation.\n */\nclass BrowserClient extends BaseClient {\n /**\n * Creates a new Browser SDK instance.\n *\n * @param options Configuration options for this SDK.\n */\n constructor(options) {\n const sdkSource = WINDOW.SENTRY_SDK_SOURCE || getSDKSource();\n applySdkMetadata(options, 'browser', ['browser'], sdkSource);\n\n super(options);\n\n if (options.sendClientReports && WINDOW.document) {\n WINDOW.document.addEventListener('visibilitychange', () => {\n if (WINDOW.document.visibilityState === 'hidden') {\n this._flushOutcomes();\n }\n });\n }\n }\n\n /**\n * @inheritDoc\n */\n eventFromException(exception, hint) {\n return eventFromException(this._options.stackParser, exception, hint, this._options.attachStacktrace);\n }\n\n /**\n * @inheritDoc\n */\n eventFromMessage(\n message,\n // eslint-disable-next-line deprecation/deprecation\n level = 'info',\n hint,\n ) {\n return eventFromMessage(this._options.stackParser, message, level, hint, this._options.attachStacktrace);\n }\n\n /**\n * Sends user feedback to Sentry.\n */\n captureUserFeedback(feedback) {\n if (!this._isEnabled()) {\n DEBUG_BUILD && logger.warn('SDK not enabled, will not capture user feedback.');\n return;\n }\n\n const envelope = createUserFeedbackEnvelope(feedback, {\n metadata: this.getSdkMetadata(),\n dsn: this.getDsn(),\n tunnel: this.getOptions().tunnel,\n });\n\n // _sendEnvelope should not throw\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this._sendEnvelope(envelope);\n }\n\n /**\n * @inheritDoc\n */\n _prepareEvent(event, hint, scope) {\n event.platform = event.platform || 'javascript';\n return super._prepareEvent(event, hint, scope);\n }\n\n /**\n * Sends client reports as an envelope.\n */\n _flushOutcomes() {\n const outcomes = this._clearOutcomes();\n\n if (outcomes.length === 0) {\n DEBUG_BUILD && logger.log('No outcomes to send');\n return;\n }\n\n // This is really the only place where we want to check for a DSN and only send outcomes then\n if (!this._dsn) {\n DEBUG_BUILD && logger.log('No dsn provided, will not send outcomes');\n return;\n }\n\n DEBUG_BUILD && logger.log('Sending outcomes:', outcomes);\n\n const envelope = createClientReportEnvelope(outcomes, this._options.tunnel && dsnToString(this._dsn));\n\n // _sendEnvelope should not throw\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this._sendEnvelope(envelope);\n }\n}\n\nexport { BrowserClient };\n//# sourceMappingURL=client.js.map\n","import { createStackParser } from '@sentry/utils';\n\n// global reference to slice\nconst UNKNOWN_FUNCTION = '?';\n\nconst OPERA10_PRIORITY = 10;\nconst OPERA11_PRIORITY = 20;\nconst CHROME_PRIORITY = 30;\nconst WINJS_PRIORITY = 40;\nconst GECKO_PRIORITY = 50;\n\nfunction createFrame(filename, func, lineno, colno) {\n const frame = {\n filename,\n function: func,\n in_app: true, // All browser frames are considered in_app\n };\n\n if (lineno !== undefined) {\n frame.lineno = lineno;\n }\n\n if (colno !== undefined) {\n frame.colno = colno;\n }\n\n return frame;\n}\n\n// Chromium based browsers: Chrome, Brave, new Opera, new Edge\nconst chromeRegex =\n /^\\s*at (?:(.+?\\)(?: \\[.+\\])?|.*?) ?\\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\\/)?.*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;\nconst chromeEvalRegex = /\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;\n\n// We cannot call this variable `chrome` because it can conflict with global `chrome` variable in certain environments\n// See: https://github.com/getsentry/sentry-javascript/issues/6880\nconst chromeStackParserFn = line => {\n const parts = chromeRegex.exec(line);\n\n if (parts) {\n const isEval = parts[2] && parts[2].indexOf('eval') === 0; // start of line\n\n if (isEval) {\n const subMatch = chromeEvalRegex.exec(parts[2]);\n\n if (subMatch) {\n // throw out eval line/column and use top-most line/column number\n parts[2] = subMatch[1]; // url\n parts[3] = subMatch[2]; // line\n parts[4] = subMatch[3]; // column\n }\n }\n\n // Kamil: One more hack won't hurt us right? Understanding and adding more rules on top of these regexps right now\n // would be way too time consuming. (TODO: Rewrite whole RegExp to be more readable)\n const [func, filename] = extractSafariExtensionDetails(parts[1] || UNKNOWN_FUNCTION, parts[2]);\n\n return createFrame(filename, func, parts[3] ? +parts[3] : undefined, parts[4] ? +parts[4] : undefined);\n }\n\n return;\n};\n\nconst chromeStackLineParser = [CHROME_PRIORITY, chromeStackParserFn];\n\n// gecko regex: `(?:bundle|\\d+\\.js)`: `bundle` is for react native, `\\d+\\.js` also but specifically for ram bundles because it\n// generates filenames without a prefix like `file://` the filenames in the stacktrace are just 42.js\n// We need this specific case for now because we want no other regex to match.\nconst geckoREgex =\n /^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)?((?:[-a-z]+)?:\\/.*?|\\[native code\\]|[^@]*(?:bundle|\\d+\\.js)|\\/[\\w\\-. /=]+)(?::(\\d+))?(?::(\\d+))?\\s*$/i;\nconst geckoEvalRegex = /(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;\n\nconst gecko = line => {\n const parts = geckoREgex.exec(line);\n\n if (parts) {\n const isEval = parts[3] && parts[3].indexOf(' > eval') > -1;\n if (isEval) {\n const subMatch = geckoEvalRegex.exec(parts[3]);\n\n if (subMatch) {\n // throw out eval line/column and use top-most line number\n parts[1] = parts[1] || 'eval';\n parts[3] = subMatch[1];\n parts[4] = subMatch[2];\n parts[5] = ''; // no column when eval\n }\n }\n\n let filename = parts[3];\n let func = parts[1] || UNKNOWN_FUNCTION;\n [func, filename] = extractSafariExtensionDetails(func, filename);\n\n return createFrame(filename, func, parts[4] ? +parts[4] : undefined, parts[5] ? +parts[5] : undefined);\n }\n\n return;\n};\n\nconst geckoStackLineParser = [GECKO_PRIORITY, gecko];\n\nconst winjsRegex = /^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:[-a-z]+):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;\n\nconst winjs = line => {\n const parts = winjsRegex.exec(line);\n\n return parts\n ? createFrame(parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined)\n : undefined;\n};\n\nconst winjsStackLineParser = [WINJS_PRIORITY, winjs];\n\nconst opera10Regex = / line (\\d+).*script (?:in )?(\\S+)(?:: in function (\\S+))?$/i;\n\nconst opera10 = line => {\n const parts = opera10Regex.exec(line);\n return parts ? createFrame(parts[2], parts[3] || UNKNOWN_FUNCTION, +parts[1]) : undefined;\n};\n\nconst opera10StackLineParser = [OPERA10_PRIORITY, opera10];\n\nconst opera11Regex =\n / line (\\d+), column (\\d+)\\s*(?:in (?:]+)>|([^)]+))\\(.*\\))? in (.*):\\s*$/i;\n\nconst opera11 = line => {\n const parts = opera11Regex.exec(line);\n return parts ? createFrame(parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined;\n};\n\nconst opera11StackLineParser = [OPERA11_PRIORITY, opera11];\n\nconst defaultStackLineParsers = [chromeStackLineParser, geckoStackLineParser, winjsStackLineParser];\n\nconst defaultStackParser = createStackParser(...defaultStackLineParsers);\n\n/**\n * Safari web extensions, starting version unknown, can produce \"frames-only\" stacktraces.\n * What it means, is that instead of format like:\n *\n * Error: wat\n * at function@url:row:col\n * at function@url:row:col\n * at function@url:row:col\n *\n * it produces something like:\n *\n * function@url:row:col\n * function@url:row:col\n * function@url:row:col\n *\n * Because of that, it won't be captured by `chrome` RegExp and will fall into `Gecko` branch.\n * This function is extracted so that we can use it in both places without duplicating the logic.\n * Unfortunately \"just\" changing RegExp is too complicated now and making it pass all tests\n * and fix this case seems like an impossible, or at least way too time-consuming task.\n */\nconst extractSafariExtensionDetails = (func, filename) => {\n const isSafariExtension = func.indexOf('safari-extension') !== -1;\n const isSafariWebExtension = func.indexOf('safari-web-extension') !== -1;\n\n return isSafariExtension || isSafariWebExtension\n ? [\n func.indexOf('@') !== -1 ? func.split('@')[0] : UNKNOWN_FUNCTION,\n isSafariExtension ? `safari-extension:${filename}` : `safari-web-extension:${filename}`,\n ]\n : [func, filename];\n};\n\nexport { chromeStackLineParser, defaultStackLineParsers, defaultStackParser, geckoStackLineParser, opera10StackLineParser, opera11StackLineParser, winjsStackLineParser };\n//# sourceMappingURL=stack-parsers.js.map\n","import { SentryError } from './error.js';\nimport { rejectedSyncPromise, SyncPromise, resolvedSyncPromise } from './syncpromise.js';\n\n/**\n * Creates an new PromiseBuffer object with the specified limit\n * @param limit max number of promises that can be stored in the buffer\n */\nfunction makePromiseBuffer(limit) {\n const buffer = [];\n\n function isReady() {\n return limit === undefined || buffer.length < limit;\n }\n\n /**\n * Remove a promise from the queue.\n *\n * @param task Can be any PromiseLike\n * @returns Removed promise.\n */\n function remove(task) {\n return buffer.splice(buffer.indexOf(task), 1)[0];\n }\n\n /**\n * Add a promise (representing an in-flight action) to the queue, and set it to remove itself on fulfillment.\n *\n * @param taskProducer A function producing any PromiseLike; In previous versions this used to be `task:\n * PromiseLike`, but under that model, Promises were instantly created on the call-site and their executor\n * functions therefore ran immediately. Thus, even if the buffer was full, the action still happened. By\n * requiring the promise to be wrapped in a function, we can defer promise creation until after the buffer\n * limit check.\n * @returns The original promise.\n */\n function add(taskProducer) {\n if (!isReady()) {\n return rejectedSyncPromise(new SentryError('Not adding Promise because buffer limit was reached.'));\n }\n\n // start the task and add its promise to the queue\n const task = taskProducer();\n if (buffer.indexOf(task) === -1) {\n buffer.push(task);\n }\n void task\n .then(() => remove(task))\n // Use `then(null, rejectionHandler)` rather than `catch(rejectionHandler)` so that we can use `PromiseLike`\n // rather than `Promise`. `PromiseLike` doesn't have a `.catch` method, making its polyfill smaller. (ES5 didn't\n // have promises, so TS has to polyfill when down-compiling.)\n .then(null, () =>\n remove(task).then(null, () => {\n // We have to add another catch here because `remove()` starts a new promise chain.\n }),\n );\n return task;\n }\n\n /**\n * Wait for all promises in the queue to resolve or for timeout to expire, whichever comes first.\n *\n * @param timeout The time, in ms, after which to resolve to `false` if the queue is still non-empty. Passing `0` (or\n * not passing anything) will make the promise wait as long as it takes for the queue to drain before resolving to\n * `true`.\n * @returns A promise which will resolve to `true` if the queue is already empty or drains before the timeout, and\n * `false` otherwise\n */\n function drain(timeout) {\n return new SyncPromise((resolve, reject) => {\n let counter = buffer.length;\n\n if (!counter) {\n return resolve(true);\n }\n\n // wait for `timeout` ms and then resolve to `false` (if not cancelled first)\n const capturedSetTimeout = setTimeout(() => {\n if (timeout && timeout > 0) {\n resolve(false);\n }\n }, timeout);\n\n // if all promises resolve in time, cancel the timer and resolve to `true`\n buffer.forEach(item => {\n void resolvedSyncPromise(item).then(() => {\n if (!--counter) {\n clearTimeout(capturedSetTimeout);\n resolve(true);\n }\n }, reject);\n });\n });\n }\n\n return {\n $: buffer,\n add,\n drain,\n };\n}\n\nexport { makePromiseBuffer };\n//# sourceMappingURL=promisebuffer.js.map\n","// Intentionally keeping the key broad, as we don't know for sure what rate limit headers get returned from backend\n\nconst DEFAULT_RETRY_AFTER = 60 * 1000; // 60 seconds\n\n/**\n * Extracts Retry-After value from the request header or returns default value\n * @param header string representation of 'Retry-After' header\n * @param now current unix timestamp\n *\n */\nfunction parseRetryAfterHeader(header, now = Date.now()) {\n const headerDelay = parseInt(`${header}`, 10);\n if (!isNaN(headerDelay)) {\n return headerDelay * 1000;\n }\n\n const headerDate = Date.parse(`${header}`);\n if (!isNaN(headerDate)) {\n return headerDate - now;\n }\n\n return DEFAULT_RETRY_AFTER;\n}\n\n/**\n * Gets the time that the given category is disabled until for rate limiting.\n * In case no category-specific limit is set but a general rate limit across all categories is active,\n * that time is returned.\n *\n * @return the time in ms that the category is disabled until or 0 if there's no active rate limit.\n */\nfunction disabledUntil(limits, category) {\n return limits[category] || limits.all || 0;\n}\n\n/**\n * Checks if a category is rate limited\n */\nfunction isRateLimited(limits, category, now = Date.now()) {\n return disabledUntil(limits, category) > now;\n}\n\n/**\n * Update ratelimits from incoming headers.\n *\n * @return the updated RateLimits object.\n */\nfunction updateRateLimits(\n limits,\n { statusCode, headers },\n now = Date.now(),\n) {\n const updatedRateLimits = {\n ...limits,\n };\n\n // \"The name is case-insensitive.\"\n // https://developer.mozilla.org/en-US/docs/Web/API/Headers/get\n const rateLimitHeader = headers && headers['x-sentry-rate-limits'];\n const retryAfterHeader = headers && headers['retry-after'];\n\n if (rateLimitHeader) {\n /**\n * rate limit headers are of the form\n *
,
,..\n * where each
is of the form\n * : : : \n * where\n * is a delay in seconds\n * is the event type(s) (error, transaction, etc) being rate limited and is of the form\n * ;;...\n * is what's being limited (org, project, or key) - ignored by SDK\n * is an arbitrary string like \"org_quota\" - ignored by SDK\n */\n for (const limit of rateLimitHeader.trim().split(',')) {\n const [retryAfter, categories] = limit.split(':', 2);\n const headerDelay = parseInt(retryAfter, 10);\n const delay = (!isNaN(headerDelay) ? headerDelay : 60) * 1000; // 60sec default\n if (!categories) {\n updatedRateLimits.all = now + delay;\n } else {\n for (const category of categories.split(';')) {\n updatedRateLimits[category] = now + delay;\n }\n }\n }\n } else if (retryAfterHeader) {\n updatedRateLimits.all = now + parseRetryAfterHeader(retryAfterHeader, now);\n } else if (statusCode === 429) {\n updatedRateLimits.all = now + 60 * 1000;\n }\n\n return updatedRateLimits;\n}\n\nexport { DEFAULT_RETRY_AFTER, disabledUntil, isRateLimited, parseRetryAfterHeader, updateRateLimits };\n//# sourceMappingURL=ratelimit.js.map\n","import { makePromiseBuffer, forEachEnvelopeItem, envelopeItemTypeToDataCategory, isRateLimited, resolvedSyncPromise, createEnvelope, SentryError, logger, serializeEnvelope, updateRateLimits } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\n\nconst DEFAULT_TRANSPORT_BUFFER_SIZE = 30;\n\n/**\n * Creates an instance of a Sentry `Transport`\n *\n * @param options\n * @param makeRequest\n */\nfunction createTransport(\n options,\n makeRequest,\n buffer = makePromiseBuffer(\n options.bufferSize || DEFAULT_TRANSPORT_BUFFER_SIZE,\n ),\n) {\n let rateLimits = {};\n const flush = (timeout) => buffer.drain(timeout);\n\n function send(envelope) {\n const filteredEnvelopeItems = [];\n\n // Drop rate limited items from envelope\n forEachEnvelopeItem(envelope, (item, type) => {\n const envelopeItemDataCategory = envelopeItemTypeToDataCategory(type);\n if (isRateLimited(rateLimits, envelopeItemDataCategory)) {\n const event = getEventForEnvelopeItem(item, type);\n options.recordDroppedEvent('ratelimit_backoff', envelopeItemDataCategory, event);\n } else {\n filteredEnvelopeItems.push(item);\n }\n });\n\n // Skip sending if envelope is empty after filtering out rate limited events\n if (filteredEnvelopeItems.length === 0) {\n return resolvedSyncPromise();\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const filteredEnvelope = createEnvelope(envelope[0], filteredEnvelopeItems );\n\n // Creates client report for each item in an envelope\n const recordEnvelopeLoss = (reason) => {\n forEachEnvelopeItem(filteredEnvelope, (item, type) => {\n const event = getEventForEnvelopeItem(item, type);\n options.recordDroppedEvent(reason, envelopeItemTypeToDataCategory(type), event);\n });\n };\n\n const requestTask = () =>\n makeRequest({ body: serializeEnvelope(filteredEnvelope, options.textEncoder) }).then(\n response => {\n // We don't want to throw on NOK responses, but we want to at least log them\n if (response.statusCode !== undefined && (response.statusCode < 200 || response.statusCode >= 300)) {\n DEBUG_BUILD && logger.warn(`Sentry responded with status code ${response.statusCode} to sent event.`);\n }\n\n rateLimits = updateRateLimits(rateLimits, response);\n return response;\n },\n error => {\n recordEnvelopeLoss('network_error');\n throw error;\n },\n );\n\n return buffer.add(requestTask).then(\n result => result,\n error => {\n if (error instanceof SentryError) {\n DEBUG_BUILD && logger.error('Skipped sending event because buffer is full.');\n recordEnvelopeLoss('queue_overflow');\n return resolvedSyncPromise();\n } else {\n throw error;\n }\n },\n );\n }\n\n // We use this to identifify if the transport is the base transport\n // TODO (v8): Remove this again as we'll no longer need it\n send.__sentry__baseTransport__ = true;\n\n return {\n send,\n flush,\n };\n}\n\nfunction getEventForEnvelopeItem(item, type) {\n if (type !== 'event' && type !== 'transaction') {\n return undefined;\n }\n\n return Array.isArray(item) ? (item )[1] : undefined;\n}\n\nexport { DEFAULT_TRANSPORT_BUFFER_SIZE, createTransport };\n//# sourceMappingURL=base.js.map\n","import { isNativeFetch, logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { WINDOW } from '../helpers.js';\n\nlet cachedFetchImpl = undefined;\n\n/**\n * A special usecase for incorrectly wrapped Fetch APIs in conjunction with ad-blockers.\n * Whenever someone wraps the Fetch API and returns the wrong promise chain,\n * this chain becomes orphaned and there is no possible way to capture it's rejections\n * other than allowing it bubble up to this very handler. eg.\n *\n * const f = window.fetch;\n * window.fetch = function () {\n * const p = f.apply(this, arguments);\n *\n * p.then(function() {\n * console.log('hi.');\n * });\n *\n * return p;\n * }\n *\n * `p.then(function () { ... })` is producing a completely separate promise chain,\n * however, what's returned is `p` - the result of original `fetch` call.\n *\n * This mean, that whenever we use the Fetch API to send our own requests, _and_\n * some ad-blocker blocks it, this orphaned chain will _always_ reject,\n * effectively causing another event to be captured.\n * This makes a whole process become an infinite loop, which we need to somehow\n * deal with, and break it in one way or another.\n *\n * To deal with this issue, we are making sure that we _always_ use the real\n * browser Fetch API, instead of relying on what `window.fetch` exposes.\n * The only downside to this would be missing our own requests as breadcrumbs,\n * but because we are already not doing this, it should be just fine.\n *\n * Possible failed fetch error messages per-browser:\n *\n * Chrome: Failed to fetch\n * Edge: Failed to Fetch\n * Firefox: NetworkError when attempting to fetch resource\n * Safari: resource blocked by content blocker\n */\nfunction getNativeFetchImplementation() {\n if (cachedFetchImpl) {\n return cachedFetchImpl;\n }\n\n /* eslint-disable @typescript-eslint/unbound-method */\n\n // Fast path to avoid DOM I/O\n if (isNativeFetch(WINDOW.fetch)) {\n return (cachedFetchImpl = WINDOW.fetch.bind(WINDOW));\n }\n\n const document = WINDOW.document;\n let fetchImpl = WINDOW.fetch;\n // eslint-disable-next-line deprecation/deprecation\n if (document && typeof document.createElement === 'function') {\n try {\n const sandbox = document.createElement('iframe');\n sandbox.hidden = true;\n document.head.appendChild(sandbox);\n const contentWindow = sandbox.contentWindow;\n if (contentWindow && contentWindow.fetch) {\n fetchImpl = contentWindow.fetch;\n }\n document.head.removeChild(sandbox);\n } catch (e) {\n DEBUG_BUILD && logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', e);\n }\n }\n\n return (cachedFetchImpl = fetchImpl.bind(WINDOW));\n /* eslint-enable @typescript-eslint/unbound-method */\n}\n\n/** Clears cached fetch impl */\nfunction clearCachedFetchImplementation() {\n cachedFetchImpl = undefined;\n}\n\nexport { clearCachedFetchImplementation, getNativeFetchImplementation };\n//# sourceMappingURL=utils.js.map\n","import { createTransport } from '@sentry/core';\nimport { rejectedSyncPromise } from '@sentry/utils';\nimport { getNativeFetchImplementation, clearCachedFetchImplementation } from './utils.js';\n\n/**\n * Creates a Transport that uses the Fetch API to send events to Sentry.\n */\nfunction makeFetchTransport(\n options,\n nativeFetch = getNativeFetchImplementation(),\n) {\n let pendingBodySize = 0;\n let pendingCount = 0;\n\n function makeRequest(request) {\n const requestSize = request.body.length;\n pendingBodySize += requestSize;\n pendingCount++;\n\n const requestOptions = {\n body: request.body,\n method: 'POST',\n referrerPolicy: 'origin',\n headers: options.headers,\n // Outgoing requests are usually cancelled when navigating to a different page, causing a \"TypeError: Failed to\n // fetch\" error and sending a \"network_error\" client-outcome - in Chrome, the request status shows \"(cancelled)\".\n // The `keepalive` flag keeps outgoing requests alive, even when switching pages. We want this since we're\n // frequently sending events right before the user is switching pages (eg. whenfinishing navigation transactions).\n // Gotchas:\n // - `keepalive` isn't supported by Firefox\n // - As per spec (https://fetch.spec.whatwg.org/#http-network-or-cache-fetch):\n // If the sum of contentLength and inflightKeepaliveBytes is greater than 64 kibibytes, then return a network error.\n // We will therefore only activate the flag when we're below that limit.\n // There is also a limit of requests that can be open at the same time, so we also limit this to 15\n // See https://github.com/getsentry/sentry-javascript/pull/7553 for details\n keepalive: pendingBodySize <= 60000 && pendingCount < 15,\n ...options.fetchOptions,\n };\n\n try {\n return nativeFetch(options.url, requestOptions).then(response => {\n pendingBodySize -= requestSize;\n pendingCount--;\n return {\n statusCode: response.status,\n headers: {\n 'x-sentry-rate-limits': response.headers.get('X-Sentry-Rate-Limits'),\n 'retry-after': response.headers.get('Retry-After'),\n },\n };\n });\n } catch (e) {\n clearCachedFetchImplementation();\n pendingBodySize -= requestSize;\n pendingCount--;\n return rejectedSyncPromise(e);\n }\n }\n\n return createTransport(options, makeRequest);\n}\n\nexport { makeFetchTransport };\n//# sourceMappingURL=fetch.js.map\n","import { createTransport } from '@sentry/core';\nimport { SyncPromise } from '@sentry/utils';\n\n/**\n * The DONE ready state for XmlHttpRequest\n *\n * Defining it here as a constant b/c XMLHttpRequest.DONE is not always defined\n * (e.g. during testing, it is `undefined`)\n *\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/readyState}\n */\nconst XHR_READYSTATE_DONE = 4;\n\n/**\n * Creates a Transport that uses the XMLHttpRequest API to send events to Sentry.\n */\nfunction makeXHRTransport(options) {\n function makeRequest(request) {\n return new SyncPromise((resolve, reject) => {\n const xhr = new XMLHttpRequest();\n\n xhr.onerror = reject;\n\n xhr.onreadystatechange = () => {\n if (xhr.readyState === XHR_READYSTATE_DONE) {\n resolve({\n statusCode: xhr.status,\n headers: {\n 'x-sentry-rate-limits': xhr.getResponseHeader('X-Sentry-Rate-Limits'),\n 'retry-after': xhr.getResponseHeader('Retry-After'),\n },\n });\n }\n };\n\n xhr.open('POST', options.url);\n\n for (const header in options.headers) {\n if (Object.prototype.hasOwnProperty.call(options.headers, header)) {\n xhr.setRequestHeader(header, options.headers[header]);\n }\n }\n\n xhr.send(request.body);\n });\n }\n\n return createTransport(options, makeRequest);\n}\n\nexport { makeXHRTransport };\n//# sourceMappingURL=xhr.js.map\n","import { inboundFiltersIntegration, functionToStringIntegration, getIntegrationsToSetup, initAndBind, getReportDialogEndpoint, getCurrentHub, startSession, captureSession, getClient } from '@sentry/core';\nimport { stackParserFromStackParserOptions, supportsFetch, logger, addHistoryInstrumentationHandler } from '@sentry/utils';\nimport { BrowserClient } from './client.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { WINDOW, wrap as wrap$1 } from './helpers.js';\nimport { breadcrumbsIntegration } from './integrations/breadcrumbs.js';\nimport { dedupeIntegration } from './integrations/dedupe.js';\nimport { globalHandlersIntegration } from './integrations/globalhandlers.js';\nimport { httpContextIntegration } from './integrations/httpcontext.js';\nimport { linkedErrorsIntegration } from './integrations/linkederrors.js';\nimport { browserApiErrorsIntegration } from './integrations/trycatch.js';\nimport { defaultStackParser } from './stack-parsers.js';\nimport { makeFetchTransport } from './transports/fetch.js';\nimport { makeXHRTransport } from './transports/xhr.js';\n\n/** @deprecated Use `getDefaultIntegrations(options)` instead. */\nconst defaultIntegrations = [\n inboundFiltersIntegration(),\n functionToStringIntegration(),\n browserApiErrorsIntegration(),\n breadcrumbsIntegration(),\n globalHandlersIntegration(),\n linkedErrorsIntegration(),\n dedupeIntegration(),\n httpContextIntegration(),\n];\n\n/** Get the default integrations for the browser SDK. */\nfunction getDefaultIntegrations(_options) {\n // We return a copy of the defaultIntegrations here to avoid mutating this\n return [\n // eslint-disable-next-line deprecation/deprecation\n ...defaultIntegrations,\n ];\n}\n\n/**\n * A magic string that build tooling can leverage in order to inject a release value into the SDK.\n */\n\n/**\n * The Sentry Browser SDK Client.\n *\n * To use this SDK, call the {@link init} function as early as possible when\n * loading the web page. To set context information or send manual events, use\n * the provided methods.\n *\n * @example\n *\n * ```\n *\n * import { init } from '@sentry/browser';\n *\n * init({\n * dsn: '__DSN__',\n * // ...\n * });\n * ```\n *\n * @example\n * ```\n *\n * import { configureScope } from '@sentry/browser';\n * configureScope((scope: Scope) => {\n * scope.setExtra({ battery: 0.7 });\n * scope.setTag({ user_mode: 'admin' });\n * scope.setUser({ id: '4711' });\n * });\n * ```\n *\n * @example\n * ```\n *\n * import { addBreadcrumb } from '@sentry/browser';\n * addBreadcrumb({\n * message: 'My Breadcrumb',\n * // ...\n * });\n * ```\n *\n * @example\n *\n * ```\n *\n * import * as Sentry from '@sentry/browser';\n * Sentry.captureMessage('Hello, world!');\n * Sentry.captureException(new Error('Good bye'));\n * Sentry.captureEvent({\n * message: 'Manual',\n * stacktrace: [\n * // ...\n * ],\n * });\n * ```\n *\n * @see {@link BrowserOptions} for documentation on configuration options.\n */\nfunction init(options = {}) {\n if (options.defaultIntegrations === undefined) {\n options.defaultIntegrations = getDefaultIntegrations();\n }\n if (options.release === undefined) {\n // This allows build tooling to find-and-replace __SENTRY_RELEASE__ to inject a release value\n if (typeof __SENTRY_RELEASE__ === 'string') {\n options.release = __SENTRY_RELEASE__;\n }\n\n // This supports the variable that sentry-webpack-plugin injects\n if (WINDOW.SENTRY_RELEASE && WINDOW.SENTRY_RELEASE.id) {\n options.release = WINDOW.SENTRY_RELEASE.id;\n }\n }\n if (options.autoSessionTracking === undefined) {\n options.autoSessionTracking = true;\n }\n if (options.sendClientReports === undefined) {\n options.sendClientReports = true;\n }\n\n const clientOptions = {\n ...options,\n stackParser: stackParserFromStackParserOptions(options.stackParser || defaultStackParser),\n integrations: getIntegrationsToSetup(options),\n transport: options.transport || (supportsFetch() ? makeFetchTransport : makeXHRTransport),\n };\n\n initAndBind(BrowserClient, clientOptions);\n\n if (options.autoSessionTracking) {\n startSessionTracking();\n }\n}\n\nconst showReportDialog = (\n // eslint-disable-next-line deprecation/deprecation\n options = {},\n // eslint-disable-next-line deprecation/deprecation\n hub = getCurrentHub(),\n) => {\n // doesn't work without a document (React Native)\n if (!WINDOW.document) {\n DEBUG_BUILD && logger.error('Global document not defined in showReportDialog call');\n return;\n }\n\n // eslint-disable-next-line deprecation/deprecation\n const { client, scope } = hub.getStackTop();\n const dsn = options.dsn || (client && client.getDsn());\n if (!dsn) {\n DEBUG_BUILD && logger.error('DSN not configured for showReportDialog call');\n return;\n }\n\n if (scope) {\n options.user = {\n ...scope.getUser(),\n ...options.user,\n };\n }\n\n // TODO(v8): Remove this entire if statement. `eventId` will be a required option.\n // eslint-disable-next-line deprecation/deprecation\n if (!options.eventId) {\n // eslint-disable-next-line deprecation/deprecation\n options.eventId = hub.lastEventId();\n }\n\n const script = WINDOW.document.createElement('script');\n script.async = true;\n script.crossOrigin = 'anonymous';\n script.src = getReportDialogEndpoint(dsn, options);\n\n if (options.onLoad) {\n script.onload = options.onLoad;\n }\n\n const { onClose } = options;\n if (onClose) {\n const reportDialogClosedMessageHandler = (event) => {\n if (event.data === '__sentry_reportdialog_closed__') {\n try {\n onClose();\n } finally {\n WINDOW.removeEventListener('message', reportDialogClosedMessageHandler);\n }\n }\n };\n WINDOW.addEventListener('message', reportDialogClosedMessageHandler);\n }\n\n const injectionPoint = WINDOW.document.head || WINDOW.document.body;\n if (injectionPoint) {\n injectionPoint.appendChild(script);\n } else {\n DEBUG_BUILD && logger.error('Not injecting report dialog. No injection point found in HTML');\n }\n};\n\n/**\n * This function is here to be API compatible with the loader.\n * @hidden\n */\nfunction forceLoad() {\n // Noop\n}\n\n/**\n * This function is here to be API compatible with the loader.\n * @hidden\n */\nfunction onLoad(callback) {\n callback();\n}\n\n/**\n * Wrap code within a try/catch block so the SDK is able to capture errors.\n *\n * @deprecated This function will be removed in v8.\n * It is not part of Sentry's official API and it's easily replaceable by using a try/catch block\n * and calling Sentry.captureException.\n *\n * @param fn A function to wrap.\n *\n * @returns The result of wrapped function call.\n */\n// TODO(v8): Remove this function\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction wrap(fn) {\n return wrap$1(fn)();\n}\n\n/**\n * Enable automatic Session Tracking for the initial page load.\n */\nfunction startSessionTracking() {\n if (typeof WINDOW.document === 'undefined') {\n DEBUG_BUILD && logger.warn('Session tracking in non-browser environment with @sentry/browser is not supported.');\n return;\n }\n\n // The session duration for browser sessions does not track a meaningful\n // concept that can be used as a metric.\n // Automatically captured sessions are akin to page views, and thus we\n // discard their duration.\n startSession({ ignoreDuration: true });\n captureSession();\n\n // We want to create a session for every navigation as well\n addHistoryInstrumentationHandler(({ from, to }) => {\n // Don't create an additional session for the initial route or if the location did not change\n if (from !== undefined && from !== to) {\n startSession({ ignoreDuration: true });\n captureSession();\n }\n });\n}\n\n/**\n * Captures user feedback and sends it to Sentry.\n */\nfunction captureUserFeedback(feedback) {\n const client = getClient();\n if (client) {\n client.captureUserFeedback(feedback);\n }\n}\n\nexport { captureUserFeedback, defaultIntegrations, forceLoad, getDefaultIntegrations, init, onLoad, showReportDialog, wrap };\n//# sourceMappingURL=sdk.js.map\n","import { init as init$1 } from '@sentry/browser';\nimport { applySdkMetadata } from '@sentry/core';\n\n/**\n * Inits the React SDK\n */\nfunction init(options) {\n const opts = {\n ...options,\n };\n\n applySdkMetadata(opts, 'react');\n\n init$1(opts);\n}\n\nexport { init };\n//# sourceMappingURL=sdk.js.map\n","/**\n * Returns an environment setting value determined by Vercel's `VERCEL_ENV` environment variable.\n *\n * @param isClient Flag to indicate whether to use the `NEXT_PUBLIC_` prefixed version of the environment variable.\n */\nfunction getVercelEnv(isClient) {\n const vercelEnvVar = isClient ? process.env.NEXT_PUBLIC_VERCEL_ENV : process.env.VERCEL_ENV;\n return vercelEnvVar ? `vercel-${vercelEnvVar}` : undefined;\n}\n\nexport { getVercelEnv };\n//# sourceMappingURL=getVercelEnv.js.map\n","/**\n * Polyfill for the optional chain operator, `?.`, given previous conversion of the expression into an array of values,\n * descriptors, and functions.\n *\n * Adapted from Sucrase (https://github.com/alangpierce/sucrase)\n * See https://github.com/alangpierce/sucrase/blob/265887868966917f3b924ce38dfad01fbab1329f/src/transformers/OptionalChainingNullishTransformer.ts#L15\n *\n * @param ops Array result of expression conversion\n * @returns The value of the expression\n */\nfunction _optionalChain(ops) {\n let lastAccessLHS = undefined;\n let value = ops[0];\n let i = 1;\n while (i < ops.length) {\n const op = ops[i] ;\n const fn = ops[i + 1] ;\n i += 2;\n // by checking for loose equality to `null`, we catch both `null` and `undefined`\n if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n // really we're meaning to return `undefined` as an actual value here, but it saves bytes not to write it\n return;\n }\n if (op === 'access' || op === 'optionalAccess') {\n lastAccessLHS = value;\n value = fn(value);\n } else if (op === 'call' || op === 'optionalCall') {\n value = fn((...args) => (value ).call(lastAccessLHS, ...args));\n lastAccessLHS = undefined;\n }\n }\n return value;\n}\n\n// Sucrase version\n// function _optionalChain(ops) {\n// let lastAccessLHS = undefined;\n// let value = ops[0];\n// let i = 1;\n// while (i < ops.length) {\n// const op = ops[i];\n// const fn = ops[i + 1];\n// i += 2;\n// if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n// return undefined;\n// }\n// if (op === 'access' || op === 'optionalAccess') {\n// lastAccessLHS = value;\n// value = fn(value);\n// } else if (op === 'call' || op === 'optionalCall') {\n// value = fn((...args) => value.call(lastAccessLHS, ...args));\n// lastAccessLHS = undefined;\n// }\n// }\n// return value;\n// }\n\nexport { _optionalChain };\n//# sourceMappingURL=_optionalChain.js.map\n","import { dropUndefinedKeys } from '@sentry/utils';\nimport '../debug-build.js';\nimport '../tracing/errors.js';\nimport '../tracing/spanstatus.js';\nimport { getActiveSpan } from '../tracing/trace.js';\n\n/**\n * key: bucketKey\n * value: [exportKey, MetricSummary]\n */\n\nlet SPAN_METRIC_SUMMARY;\n\nfunction getMetricStorageForSpan(span) {\n return SPAN_METRIC_SUMMARY ? SPAN_METRIC_SUMMARY.get(span) : undefined;\n}\n\n/**\n * Fetches the metric summary if it exists for the passed span\n */\nfunction getMetricSummaryJsonForSpan(span) {\n const storage = getMetricStorageForSpan(span);\n\n if (!storage) {\n return undefined;\n }\n const output = {};\n\n for (const [, [exportKey, summary]] of storage) {\n if (!output[exportKey]) {\n output[exportKey] = [];\n }\n\n output[exportKey].push(dropUndefinedKeys(summary));\n }\n\n return output;\n}\n\n/**\n * Updates the metric summary on the currently active span\n */\nfunction updateMetricSummaryOnActiveSpan(\n metricType,\n sanitizedName,\n value,\n unit,\n tags,\n bucketKey,\n) {\n const span = getActiveSpan();\n if (span) {\n const storage = getMetricStorageForSpan(span) || new Map();\n\n const exportKey = `${metricType}:${sanitizedName}@${unit}`;\n const bucketItem = storage.get(bucketKey);\n\n if (bucketItem) {\n const [, summary] = bucketItem;\n storage.set(bucketKey, [\n exportKey,\n {\n min: Math.min(summary.min, value),\n max: Math.max(summary.max, value),\n count: (summary.count += 1),\n sum: (summary.sum += value),\n tags: summary.tags,\n },\n ]);\n } else {\n storage.set(bucketKey, [\n exportKey,\n {\n min: value,\n max: value,\n count: 1,\n sum: value,\n tags,\n },\n ]);\n }\n\n if (!SPAN_METRIC_SUMMARY) {\n SPAN_METRIC_SUMMARY = new WeakMap();\n }\n\n SPAN_METRIC_SUMMARY.set(span, storage);\n }\n}\n\nexport { getMetricSummaryJsonForSpan, updateMetricSummaryOnActiveSpan };\n//# sourceMappingURL=metric-summary.js.map\n","/**\n * Use this attribute to represent the source of a span.\n * Should be one of: custom, url, route, view, component, task, unknown\n *\n */\nconst SEMANTIC_ATTRIBUTE_SENTRY_SOURCE = 'sentry.source';\n\n/**\n * Use this attribute to represent the sample rate used for a span.\n */\nconst SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE = 'sentry.sample_rate';\n\n/**\n * Use this attribute to represent the operation of a span.\n */\nconst SEMANTIC_ATTRIBUTE_SENTRY_OP = 'sentry.op';\n\n/**\n * Use this attribute to represent the origin of a span.\n */\nconst SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN = 'sentry.origin';\n\n/**\n * The id of the profile that this span occured in.\n */\nconst SEMANTIC_ATTRIBUTE_PROFILE_ID = 'profile_id';\n\nexport { SEMANTIC_ATTRIBUTE_PROFILE_ID, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE };\n//# sourceMappingURL=semanticAttributes.js.map\n","/** The status of an Span.\n *\n * @deprecated Use string literals - if you require type casting, cast to SpanStatusType type\n */\nvar SpanStatus; (function (SpanStatus) {\n /** The operation completed successfully. */\n const Ok = 'ok'; SpanStatus[\"Ok\"] = Ok;\n /** Deadline expired before operation could complete. */\n const DeadlineExceeded = 'deadline_exceeded'; SpanStatus[\"DeadlineExceeded\"] = DeadlineExceeded;\n /** 401 Unauthorized (actually does mean unauthenticated according to RFC 7235) */\n const Unauthenticated = 'unauthenticated'; SpanStatus[\"Unauthenticated\"] = Unauthenticated;\n /** 403 Forbidden */\n const PermissionDenied = 'permission_denied'; SpanStatus[\"PermissionDenied\"] = PermissionDenied;\n /** 404 Not Found. Some requested entity (file or directory) was not found. */\n const NotFound = 'not_found'; SpanStatus[\"NotFound\"] = NotFound;\n /** 429 Too Many Requests */\n const ResourceExhausted = 'resource_exhausted'; SpanStatus[\"ResourceExhausted\"] = ResourceExhausted;\n /** Client specified an invalid argument. 4xx. */\n const InvalidArgument = 'invalid_argument'; SpanStatus[\"InvalidArgument\"] = InvalidArgument;\n /** 501 Not Implemented */\n const Unimplemented = 'unimplemented'; SpanStatus[\"Unimplemented\"] = Unimplemented;\n /** 503 Service Unavailable */\n const Unavailable = 'unavailable'; SpanStatus[\"Unavailable\"] = Unavailable;\n /** Other/generic 5xx. */\n const InternalError = 'internal_error'; SpanStatus[\"InternalError\"] = InternalError;\n /** Unknown. Any non-standard HTTP status code. */\n const UnknownError = 'unknown_error'; SpanStatus[\"UnknownError\"] = UnknownError;\n /** The operation was cancelled (typically by the user). */\n const Cancelled = 'cancelled'; SpanStatus[\"Cancelled\"] = Cancelled;\n /** Already exists (409) */\n const AlreadyExists = 'already_exists'; SpanStatus[\"AlreadyExists\"] = AlreadyExists;\n /** Operation was rejected because the system is not in a state required for the operation's */\n const FailedPrecondition = 'failed_precondition'; SpanStatus[\"FailedPrecondition\"] = FailedPrecondition;\n /** The operation was aborted, typically due to a concurrency issue. */\n const Aborted = 'aborted'; SpanStatus[\"Aborted\"] = Aborted;\n /** Operation was attempted past the valid range. */\n const OutOfRange = 'out_of_range'; SpanStatus[\"OutOfRange\"] = OutOfRange;\n /** Unrecoverable data loss or corruption */\n const DataLoss = 'data_loss'; SpanStatus[\"DataLoss\"] = DataLoss;\n})(SpanStatus || (SpanStatus = {}));\n\n/**\n * Converts a HTTP status code into a {@link SpanStatusType}.\n *\n * @param httpStatus The HTTP response status code.\n * @returns The span status or unknown_error.\n */\nfunction getSpanStatusFromHttpCode(httpStatus) {\n if (httpStatus < 400 && httpStatus >= 100) {\n return 'ok';\n }\n\n if (httpStatus >= 400 && httpStatus < 500) {\n switch (httpStatus) {\n case 401:\n return 'unauthenticated';\n case 403:\n return 'permission_denied';\n case 404:\n return 'not_found';\n case 409:\n return 'already_exists';\n case 413:\n return 'failed_precondition';\n case 429:\n return 'resource_exhausted';\n default:\n return 'invalid_argument';\n }\n }\n\n if (httpStatus >= 500 && httpStatus < 600) {\n switch (httpStatus) {\n case 501:\n return 'unimplemented';\n case 503:\n return 'unavailable';\n case 504:\n return 'deadline_exceeded';\n default:\n return 'internal_error';\n }\n }\n\n return 'unknown_error';\n}\n\n/**\n * Converts a HTTP status code into a {@link SpanStatusType}.\n *\n * @deprecated Use {@link spanStatusFromHttpCode} instead.\n * This export will be removed in v8 as the signature contains a typo.\n *\n * @param httpStatus The HTTP response status code.\n * @returns The span status or unknown_error.\n */\nconst spanStatusfromHttpCode = getSpanStatusFromHttpCode;\n\n/**\n * Sets the Http status attributes on the current span based on the http code.\n * Additionally, the span's status is updated, depending on the http code.\n */\nfunction setHttpStatus(span, httpStatus) {\n // TODO (v8): Remove these calls\n // Relay does not require us to send the status code as a tag\n // For now, just because users might expect it to land as a tag we keep sending it.\n // Same with data.\n // In v8, we replace both, simply with\n // span.setAttribute('http.response.status_code', httpStatus);\n\n // eslint-disable-next-line deprecation/deprecation\n span.setTag('http.status_code', String(httpStatus));\n // eslint-disable-next-line deprecation/deprecation\n span.setData('http.response.status_code', httpStatus);\n\n const spanStatus = getSpanStatusFromHttpCode(httpStatus);\n if (spanStatus !== 'unknown_error') {\n span.setStatus(spanStatus);\n }\n}\n\nexport { SpanStatus, getSpanStatusFromHttpCode, setHttpStatus, spanStatusfromHttpCode };\n//# sourceMappingURL=spanstatus.js.map\n","import { uuid4, timestampInSeconds, logger, dropUndefinedKeys } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { getMetricSummaryJsonForSpan } from '../metrics/metric-summary.js';\nimport { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_PROFILE_ID } from '../semanticAttributes.js';\nimport { getRootSpan } from '../utils/getRootSpan.js';\nimport { TRACE_FLAG_SAMPLED, TRACE_FLAG_NONE, spanToJSON, spanTimeInputToSeconds, spanToTraceHeader, spanToTraceContext } from '../utils/spanUtils.js';\nimport { setHttpStatus } from './spanstatus.js';\n\n/**\n * Keeps track of finished spans for a given transaction\n * @internal\n * @hideconstructor\n * @hidden\n */\nclass SpanRecorder {\n\n constructor(maxlen = 1000) {\n this._maxlen = maxlen;\n this.spans = [];\n }\n\n /**\n * This is just so that we don't run out of memory while recording a lot\n * of spans. At some point we just stop and flush out the start of the\n * trace tree (i.e.the first n spans with the smallest\n * start_timestamp).\n */\n add(span) {\n if (this.spans.length > this._maxlen) {\n // eslint-disable-next-line deprecation/deprecation\n span.spanRecorder = undefined;\n } else {\n this.spans.push(span);\n }\n }\n}\n\n/**\n * Span contains all data about a span\n */\nclass Span {\n /**\n * Tags for the span.\n * @deprecated Use `spanToJSON(span).atttributes` instead.\n */\n\n /**\n * Data for the span.\n * @deprecated Use `spanToJSON(span).atttributes` instead.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n /**\n * List of spans that were finalized\n *\n * @deprecated This property will no longer be public. Span recording will be handled internally.\n */\n\n /**\n * @inheritDoc\n * @deprecated Use top level `Sentry.getRootSpan()` instead\n */\n\n /**\n * The instrumenter that created this span.\n *\n * TODO (v8): This can probably be replaced by an `instanceOf` check of the span class.\n * the instrumenter can only be sentry or otel so we can check the span instance\n * to verify which one it is and remove this field entirely.\n *\n * @deprecated This field will be removed.\n */\n\n /** Epoch timestamp in seconds when the span started. */\n\n /** Epoch timestamp in seconds when the span ended. */\n\n /** Internal keeper of the status */\n\n /**\n * You should never call the constructor manually, always use `Sentry.startTransaction()`\n * or call `startChild()` on an existing span.\n * @internal\n * @hideconstructor\n * @hidden\n */\n constructor(spanContext = {}) {\n this._traceId = spanContext.traceId || uuid4();\n this._spanId = spanContext.spanId || uuid4().substring(16);\n this._startTime = spanContext.startTimestamp || timestampInSeconds();\n // eslint-disable-next-line deprecation/deprecation\n this.tags = spanContext.tags ? { ...spanContext.tags } : {};\n // eslint-disable-next-line deprecation/deprecation\n this.data = spanContext.data ? { ...spanContext.data } : {};\n // eslint-disable-next-line deprecation/deprecation\n this.instrumenter = spanContext.instrumenter || 'sentry';\n\n this._attributes = {};\n this.setAttributes({\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: spanContext.origin || 'manual',\n [SEMANTIC_ATTRIBUTE_SENTRY_OP]: spanContext.op,\n ...spanContext.attributes,\n });\n\n // eslint-disable-next-line deprecation/deprecation\n this._name = spanContext.name || spanContext.description;\n\n if (spanContext.parentSpanId) {\n this._parentSpanId = spanContext.parentSpanId;\n }\n // We want to include booleans as well here\n if ('sampled' in spanContext) {\n this._sampled = spanContext.sampled;\n }\n if (spanContext.status) {\n this._status = spanContext.status;\n }\n if (spanContext.endTimestamp) {\n this._endTime = spanContext.endTimestamp;\n }\n if (spanContext.exclusiveTime) {\n this._exclusiveTime = spanContext.exclusiveTime;\n }\n this._measurements = spanContext.measurements ? { ...spanContext.measurements } : {};\n }\n\n // This rule conflicts with another eslint rule :(\n /* eslint-disable @typescript-eslint/member-ordering */\n\n /**\n * An alias for `description` of the Span.\n * @deprecated Use `spanToJSON(span).description` instead.\n */\n get name() {\n return this._name || '';\n }\n\n /**\n * Update the name of the span.\n * @deprecated Use `spanToJSON(span).description` instead.\n */\n set name(name) {\n this.updateName(name);\n }\n\n /**\n * Get the description of the Span.\n * @deprecated Use `spanToJSON(span).description` instead.\n */\n get description() {\n return this._name;\n }\n\n /**\n * Get the description of the Span.\n * @deprecated Use `spanToJSON(span).description` instead.\n */\n set description(description) {\n this._name = description;\n }\n\n /**\n * The ID of the trace.\n * @deprecated Use `spanContext().traceId` instead.\n */\n get traceId() {\n return this._traceId;\n }\n\n /**\n * The ID of the trace.\n * @deprecated You cannot update the traceId of a span after span creation.\n */\n set traceId(traceId) {\n this._traceId = traceId;\n }\n\n /**\n * The ID of the span.\n * @deprecated Use `spanContext().spanId` instead.\n */\n get spanId() {\n return this._spanId;\n }\n\n /**\n * The ID of the span.\n * @deprecated You cannot update the spanId of a span after span creation.\n */\n set spanId(spanId) {\n this._spanId = spanId;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `startSpan` functions instead.\n */\n set parentSpanId(string) {\n this._parentSpanId = string;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `spanToJSON(span).parent_span_id` instead.\n */\n get parentSpanId() {\n return this._parentSpanId;\n }\n\n /**\n * Was this span chosen to be sent as part of the sample?\n * @deprecated Use `isRecording()` instead.\n */\n get sampled() {\n return this._sampled;\n }\n\n /**\n * Was this span chosen to be sent as part of the sample?\n * @deprecated You cannot update the sampling decision of a span after span creation.\n */\n set sampled(sampled) {\n this._sampled = sampled;\n }\n\n /**\n * Attributes for the span.\n * @deprecated Use `spanToJSON(span).atttributes` instead.\n */\n get attributes() {\n return this._attributes;\n }\n\n /**\n * Attributes for the span.\n * @deprecated Use `setAttributes()` instead.\n */\n set attributes(attributes) {\n this._attributes = attributes;\n }\n\n /**\n * Timestamp in seconds (epoch time) indicating when the span started.\n * @deprecated Use `spanToJSON()` instead.\n */\n get startTimestamp() {\n return this._startTime;\n }\n\n /**\n * Timestamp in seconds (epoch time) indicating when the span started.\n * @deprecated In v8, you will not be able to update the span start time after creation.\n */\n set startTimestamp(startTime) {\n this._startTime = startTime;\n }\n\n /**\n * Timestamp in seconds when the span ended.\n * @deprecated Use `spanToJSON()` instead.\n */\n get endTimestamp() {\n return this._endTime;\n }\n\n /**\n * Timestamp in seconds when the span ended.\n * @deprecated Set the end time via `span.end()` instead.\n */\n set endTimestamp(endTime) {\n this._endTime = endTime;\n }\n\n /**\n * The status of the span.\n *\n * @deprecated Use `spanToJSON().status` instead to get the status.\n */\n get status() {\n return this._status;\n }\n\n /**\n * The status of the span.\n *\n * @deprecated Use `.setStatus()` instead to set or update the status.\n */\n set status(status) {\n this._status = status;\n }\n\n /**\n * Operation of the span\n *\n * @deprecated Use `spanToJSON().op` to read the op instead.\n */\n get op() {\n return this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_OP] ;\n }\n\n /**\n * Operation of the span\n *\n * @deprecated Use `startSpan()` functions to set or `span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_OP, 'op')\n * to update the span instead.\n */\n set op(op) {\n this.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_OP, op);\n }\n\n /**\n * The origin of the span, giving context about what created the span.\n *\n * @deprecated Use `spanToJSON().origin` to read the origin instead.\n */\n get origin() {\n return this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN] ;\n }\n\n /**\n * The origin of the span, giving context about what created the span.\n *\n * @deprecated Use `startSpan()` functions to set the origin instead.\n */\n set origin(origin) {\n this.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, origin);\n }\n\n /* eslint-enable @typescript-eslint/member-ordering */\n\n /** @inheritdoc */\n spanContext() {\n const { _spanId: spanId, _traceId: traceId, _sampled: sampled } = this;\n return {\n spanId,\n traceId,\n traceFlags: sampled ? TRACE_FLAG_SAMPLED : TRACE_FLAG_NONE,\n };\n }\n\n /**\n * Creates a new `Span` while setting the current `Span.id` as `parentSpanId`.\n * Also the `sampled` decision will be inherited.\n *\n * @deprecated Use `startSpan()`, `startSpanManual()` or `startInactiveSpan()` instead.\n */\n startChild(\n spanContext,\n ) {\n const childSpan = new Span({\n ...spanContext,\n parentSpanId: this._spanId,\n sampled: this._sampled,\n traceId: this._traceId,\n });\n\n // eslint-disable-next-line deprecation/deprecation\n childSpan.spanRecorder = this.spanRecorder;\n // eslint-disable-next-line deprecation/deprecation\n if (childSpan.spanRecorder) {\n // eslint-disable-next-line deprecation/deprecation\n childSpan.spanRecorder.add(childSpan);\n }\n\n const rootSpan = getRootSpan(this);\n // TODO: still set span.transaction here until we have a more permanent solution\n // Probably similarly to the weakmap we hold in node-experimental\n // eslint-disable-next-line deprecation/deprecation\n childSpan.transaction = rootSpan ;\n\n if (DEBUG_BUILD && rootSpan) {\n const opStr = (spanContext && spanContext.op) || '< unknown op >';\n const nameStr = spanToJSON(childSpan).description || '< unknown name >';\n const idStr = rootSpan.spanContext().spanId;\n\n const logMessage = `[Tracing] Starting '${opStr}' span on transaction '${nameStr}' (${idStr}).`;\n logger.log(logMessage);\n this._logMessage = logMessage;\n }\n\n return childSpan;\n }\n\n /**\n * Sets the tag attribute on the current span.\n *\n * Can also be used to unset a tag, by passing `undefined`.\n *\n * @param key Tag key\n * @param value Tag value\n * @deprecated Use `setAttribute()` instead.\n */\n setTag(key, value) {\n // eslint-disable-next-line deprecation/deprecation\n this.tags = { ...this.tags, [key]: value };\n return this;\n }\n\n /**\n * Sets the data attribute on the current span\n * @param key Data key\n * @param value Data value\n * @deprecated Use `setAttribute()` instead.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n setData(key, value) {\n // eslint-disable-next-line deprecation/deprecation\n this.data = { ...this.data, [key]: value };\n return this;\n }\n\n /** @inheritdoc */\n setAttribute(key, value) {\n if (value === undefined) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._attributes[key];\n } else {\n this._attributes[key] = value;\n }\n }\n\n /** @inheritdoc */\n setAttributes(attributes) {\n Object.keys(attributes).forEach(key => this.setAttribute(key, attributes[key]));\n }\n\n /**\n * @inheritDoc\n */\n setStatus(value) {\n this._status = value;\n return this;\n }\n\n /**\n * @inheritDoc\n * @deprecated Use top-level `setHttpStatus()` instead.\n */\n setHttpStatus(httpStatus) {\n setHttpStatus(this, httpStatus);\n return this;\n }\n\n /**\n * @inheritdoc\n *\n * @deprecated Use `.updateName()` instead.\n */\n setName(name) {\n this.updateName(name);\n }\n\n /**\n * @inheritDoc\n */\n updateName(name) {\n this._name = name;\n return this;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `spanToJSON(span).status === 'ok'` instead.\n */\n isSuccess() {\n return this._status === 'ok';\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `.end()` instead.\n */\n finish(endTimestamp) {\n return this.end(endTimestamp);\n }\n\n /** @inheritdoc */\n end(endTimestamp) {\n // If already ended, skip\n if (this._endTime) {\n return;\n }\n const rootSpan = getRootSpan(this);\n if (\n DEBUG_BUILD &&\n // Don't call this for transactions\n rootSpan &&\n rootSpan.spanContext().spanId !== this._spanId\n ) {\n const logMessage = this._logMessage;\n if (logMessage) {\n logger.log((logMessage ).replace('Starting', 'Finishing'));\n }\n }\n\n this._endTime = spanTimeInputToSeconds(endTimestamp);\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `spanToTraceHeader()` instead.\n */\n toTraceparent() {\n return spanToTraceHeader(this);\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `spanToJSON()` or access the fields directly instead.\n */\n toContext() {\n return dropUndefinedKeys({\n data: this._getData(),\n description: this._name,\n endTimestamp: this._endTime,\n // eslint-disable-next-line deprecation/deprecation\n op: this.op,\n parentSpanId: this._parentSpanId,\n sampled: this._sampled,\n spanId: this._spanId,\n startTimestamp: this._startTime,\n status: this._status,\n // eslint-disable-next-line deprecation/deprecation\n tags: this.tags,\n traceId: this._traceId,\n });\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Update the fields directly instead.\n */\n updateWithContext(spanContext) {\n // eslint-disable-next-line deprecation/deprecation\n this.data = spanContext.data || {};\n // eslint-disable-next-line deprecation/deprecation\n this._name = spanContext.name || spanContext.description;\n this._endTime = spanContext.endTimestamp;\n // eslint-disable-next-line deprecation/deprecation\n this.op = spanContext.op;\n this._parentSpanId = spanContext.parentSpanId;\n this._sampled = spanContext.sampled;\n this._spanId = spanContext.spanId || this._spanId;\n this._startTime = spanContext.startTimestamp || this._startTime;\n this._status = spanContext.status;\n // eslint-disable-next-line deprecation/deprecation\n this.tags = spanContext.tags || {};\n this._traceId = spanContext.traceId || this._traceId;\n\n return this;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `spanToTraceContext()` util function instead.\n */\n getTraceContext() {\n return spanToTraceContext(this);\n }\n\n /**\n * Get JSON representation of this span.\n *\n * @hidden\n * @internal This method is purely for internal purposes and should not be used outside\n * of SDK code. If you need to get a JSON representation of a span,\n * use `spanToJSON(span)` instead.\n */\n getSpanJSON() {\n return dropUndefinedKeys({\n data: this._getData(),\n description: this._name,\n op: this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_OP] ,\n parent_span_id: this._parentSpanId,\n span_id: this._spanId,\n start_timestamp: this._startTime,\n status: this._status,\n // eslint-disable-next-line deprecation/deprecation\n tags: Object.keys(this.tags).length > 0 ? this.tags : undefined,\n timestamp: this._endTime,\n trace_id: this._traceId,\n origin: this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN] ,\n _metrics_summary: getMetricSummaryJsonForSpan(this),\n profile_id: this._attributes[SEMANTIC_ATTRIBUTE_PROFILE_ID] ,\n exclusive_time: this._exclusiveTime,\n measurements: Object.keys(this._measurements).length > 0 ? this._measurements : undefined,\n });\n }\n\n /** @inheritdoc */\n isRecording() {\n return !this._endTime && !!this._sampled;\n }\n\n /**\n * Convert the object to JSON.\n * @deprecated Use `spanToJSON(span)` instead.\n */\n toJSON() {\n return this.getSpanJSON();\n }\n\n /**\n * Get the merged data for this span.\n * For now, this combines `data` and `attributes` together,\n * until eventually we can ingest `attributes` directly.\n */\n _getData()\n\n {\n // eslint-disable-next-line deprecation/deprecation\n const { data, _attributes: attributes } = this;\n\n const hasData = Object.keys(data).length > 0;\n const hasAttributes = Object.keys(attributes).length > 0;\n\n if (!hasData && !hasAttributes) {\n return undefined;\n }\n\n if (hasData && hasAttributes) {\n return {\n ...data,\n ...attributes,\n };\n }\n\n return hasData ? data : attributes;\n }\n}\n\nexport { Span, SpanRecorder };\n//# sourceMappingURL=span.js.map\n","import { tracingContextFromHeaders, logger, dropUndefinedKeys, addNonEnumerableProperty } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { getCurrentHub, runWithAsyncContext, getIsolationScope } from '../hub.js';\nimport { spanToJSON, spanIsSampled, spanTimeInputToSeconds } from '../utils/spanUtils.js';\nimport './errors.js';\nimport './spanstatus.js';\nimport { getDynamicSamplingContextFromSpan } from './dynamicSamplingContext.js';\nimport { getCurrentScope, withScope } from '../exports.js';\nimport { handleCallbackErrors } from '../utils/handleCallbackErrors.js';\nimport { hasTracingEnabled } from '../utils/hasTracingEnabled.js';\n\n/**\n * Wraps a function with a transaction/span and finishes the span after the function is done.\n *\n * Note that if you have not enabled tracing extensions via `addTracingExtensions`\n * or you didn't set `tracesSampleRate`, this function will not generate spans\n * and the `span` returned from the callback will be undefined.\n *\n * This function is meant to be used internally and may break at any time. Use at your own risk.\n *\n * @internal\n * @private\n *\n * @deprecated Use `startSpan` instead.\n */\nfunction trace(\n context,\n callback,\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n onError = () => {},\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n afterFinish = () => {},\n) {\n // eslint-disable-next-line deprecation/deprecation\n const hub = getCurrentHub();\n const scope = getCurrentScope();\n // eslint-disable-next-line deprecation/deprecation\n const parentSpan = scope.getSpan();\n\n const spanContext = normalizeContext(context);\n const activeSpan = createChildSpanOrTransaction(hub, {\n parentSpan,\n spanContext,\n forceTransaction: false,\n scope,\n });\n\n // eslint-disable-next-line deprecation/deprecation\n scope.setSpan(activeSpan);\n\n return handleCallbackErrors(\n () => callback(activeSpan),\n error => {\n activeSpan && activeSpan.setStatus('internal_error');\n onError(error, activeSpan);\n },\n () => {\n activeSpan && activeSpan.end();\n // eslint-disable-next-line deprecation/deprecation\n scope.setSpan(parentSpan);\n afterFinish();\n },\n );\n}\n\n/**\n * Wraps a function with a transaction/span and finishes the span after the function is done.\n * The created span is the active span and will be used as parent by other spans created inside the function\n * and can be accessed via `Sentry.getSpan()`, as long as the function is executed while the scope is active.\n *\n * If you want to create a span that is not set as active, use {@link startInactiveSpan}.\n *\n * Note that if you have not enabled tracing extensions via `addTracingExtensions`\n * or you didn't set `tracesSampleRate`, this function will not generate spans\n * and the `span` returned from the callback will be undefined.\n */\nfunction startSpan(context, callback) {\n const spanContext = normalizeContext(context);\n\n return runWithAsyncContext(() => {\n return withScope(context.scope, scope => {\n // eslint-disable-next-line deprecation/deprecation\n const hub = getCurrentHub();\n // eslint-disable-next-line deprecation/deprecation\n const parentSpan = scope.getSpan();\n\n const shouldSkipSpan = context.onlyIfParent && !parentSpan;\n const activeSpan = shouldSkipSpan\n ? undefined\n : createChildSpanOrTransaction(hub, {\n parentSpan,\n spanContext,\n forceTransaction: context.forceTransaction,\n scope,\n });\n\n return handleCallbackErrors(\n () => callback(activeSpan),\n () => {\n // Only update the span status if it hasn't been changed yet\n if (activeSpan) {\n const { status } = spanToJSON(activeSpan);\n if (!status || status === 'ok') {\n activeSpan.setStatus('internal_error');\n }\n }\n },\n () => activeSpan && activeSpan.end(),\n );\n });\n });\n}\n\n/**\n * @deprecated Use {@link startSpan} instead.\n */\nconst startActiveSpan = startSpan;\n\n/**\n * Similar to `Sentry.startSpan`. Wraps a function with a transaction/span, but does not finish the span\n * after the function is done automatically. You'll have to call `span.end()` manually.\n *\n * The created span is the active span and will be used as parent by other spans created inside the function\n * and can be accessed via `Sentry.getActiveSpan()`, as long as the function is executed while the scope is active.\n *\n * Note that if you have not enabled tracing extensions via `addTracingExtensions`\n * or you didn't set `tracesSampleRate`, this function will not generate spans\n * and the `span` returned from the callback will be undefined.\n */\nfunction startSpanManual(\n context,\n callback,\n) {\n const spanContext = normalizeContext(context);\n\n return runWithAsyncContext(() => {\n return withScope(context.scope, scope => {\n // eslint-disable-next-line deprecation/deprecation\n const hub = getCurrentHub();\n // eslint-disable-next-line deprecation/deprecation\n const parentSpan = scope.getSpan();\n\n const shouldSkipSpan = context.onlyIfParent && !parentSpan;\n const activeSpan = shouldSkipSpan\n ? undefined\n : createChildSpanOrTransaction(hub, {\n parentSpan,\n spanContext,\n forceTransaction: context.forceTransaction,\n scope,\n });\n\n function finishAndSetSpan() {\n activeSpan && activeSpan.end();\n }\n\n return handleCallbackErrors(\n () => callback(activeSpan, finishAndSetSpan),\n () => {\n // Only update the span status if it hasn't been changed yet, and the span is not yet finished\n if (activeSpan && activeSpan.isRecording()) {\n const { status } = spanToJSON(activeSpan);\n if (!status || status === 'ok') {\n activeSpan.setStatus('internal_error');\n }\n }\n },\n );\n });\n });\n}\n\n/**\n * Creates a span. This span is not set as active, so will not get automatic instrumentation spans\n * as children or be able to be accessed via `Sentry.getSpan()`.\n *\n * If you want to create a span that is set as active, use {@link startSpan}.\n *\n * Note that if you have not enabled tracing extensions via `addTracingExtensions`\n * or you didn't set `tracesSampleRate` or `tracesSampler`, this function will not generate spans\n * and the `span` returned from the callback will be undefined.\n */\nfunction startInactiveSpan(context) {\n if (!hasTracingEnabled()) {\n return undefined;\n }\n\n const spanContext = normalizeContext(context);\n // eslint-disable-next-line deprecation/deprecation\n const hub = getCurrentHub();\n const parentSpan = context.scope\n ? // eslint-disable-next-line deprecation/deprecation\n context.scope.getSpan()\n : getActiveSpan();\n\n const shouldSkipSpan = context.onlyIfParent && !parentSpan;\n\n if (shouldSkipSpan) {\n return undefined;\n }\n\n const scope = context.scope || getCurrentScope();\n\n // Even though we don't actually want to make this span active on the current scope,\n // we need to make it active on a temporary scope that we use for event processing\n // as otherwise, it won't pick the correct span for the event when processing it\n const temporaryScope = (scope ).clone();\n\n return createChildSpanOrTransaction(hub, {\n parentSpan,\n spanContext,\n forceTransaction: context.forceTransaction,\n scope: temporaryScope,\n });\n}\n\n/**\n * Returns the currently active span.\n */\nfunction getActiveSpan() {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentScope().getSpan();\n}\n\nconst continueTrace = (\n {\n sentryTrace,\n baggage,\n }\n\n,\n callback,\n) => {\n // TODO(v8): Change this function so it doesn't do anything besides setting the propagation context on the current scope:\n /*\n return withScope((scope) => {\n const propagationContext = propagationContextFromHeaders(sentryTrace, baggage);\n scope.setPropagationContext(propagationContext);\n return callback();\n })\n */\n\n const currentScope = getCurrentScope();\n\n // eslint-disable-next-line deprecation/deprecation\n const { traceparentData, dynamicSamplingContext, propagationContext } = tracingContextFromHeaders(\n sentryTrace,\n baggage,\n );\n\n currentScope.setPropagationContext(propagationContext);\n\n if (DEBUG_BUILD && traceparentData) {\n logger.log(`[Tracing] Continuing trace ${traceparentData.traceId}.`);\n }\n\n const transactionContext = {\n ...traceparentData,\n metadata: dropUndefinedKeys({\n dynamicSamplingContext,\n }),\n };\n\n if (!callback) {\n return transactionContext;\n }\n\n return runWithAsyncContext(() => {\n return callback(transactionContext);\n });\n};\n\nfunction createChildSpanOrTransaction(\n hub,\n {\n parentSpan,\n spanContext,\n forceTransaction,\n scope,\n }\n\n,\n) {\n if (!hasTracingEnabled()) {\n return undefined;\n }\n\n const isolationScope = getIsolationScope();\n\n let span;\n if (parentSpan && !forceTransaction) {\n // eslint-disable-next-line deprecation/deprecation\n span = parentSpan.startChild(spanContext);\n } else if (parentSpan) {\n // If we forced a transaction but have a parent span, make sure to continue from the parent span, not the scope\n const dsc = getDynamicSamplingContextFromSpan(parentSpan);\n const { traceId, spanId: parentSpanId } = parentSpan.spanContext();\n const sampled = spanIsSampled(parentSpan);\n\n // eslint-disable-next-line deprecation/deprecation\n span = hub.startTransaction({\n traceId,\n parentSpanId,\n parentSampled: sampled,\n ...spanContext,\n metadata: {\n dynamicSamplingContext: dsc,\n // eslint-disable-next-line deprecation/deprecation\n ...spanContext.metadata,\n },\n });\n } else {\n const { traceId, dsc, parentSpanId, sampled } = {\n ...isolationScope.getPropagationContext(),\n ...scope.getPropagationContext(),\n };\n\n // eslint-disable-next-line deprecation/deprecation\n span = hub.startTransaction({\n traceId,\n parentSpanId,\n parentSampled: sampled,\n ...spanContext,\n metadata: {\n dynamicSamplingContext: dsc,\n // eslint-disable-next-line deprecation/deprecation\n ...spanContext.metadata,\n },\n });\n }\n\n // We always set this as active span on the scope\n // In the case of this being an inactive span, we ensure to pass a detached scope in here in the first place\n // But by having this here, we can ensure that the lookup through `getCapturedScopesOnSpan` results in the correct scope & span combo\n // eslint-disable-next-line deprecation/deprecation\n scope.setSpan(span);\n\n setCapturedScopesOnSpan(span, scope, isolationScope);\n\n return span;\n}\n\n/**\n * This converts StartSpanOptions to TransactionContext.\n * For the most part (for now) we accept the same options,\n * but some of them need to be transformed.\n *\n * Eventually the StartSpanOptions will be more aligned with OpenTelemetry.\n */\nfunction normalizeContext(context) {\n if (context.startTime) {\n const ctx = { ...context };\n ctx.startTimestamp = spanTimeInputToSeconds(context.startTime);\n delete ctx.startTime;\n return ctx;\n }\n\n return context;\n}\n\nconst SCOPE_ON_START_SPAN_FIELD = '_sentryScope';\nconst ISOLATION_SCOPE_ON_START_SPAN_FIELD = '_sentryIsolationScope';\n\nfunction setCapturedScopesOnSpan(span, scope, isolationScope) {\n if (span) {\n addNonEnumerableProperty(span, ISOLATION_SCOPE_ON_START_SPAN_FIELD, isolationScope);\n addNonEnumerableProperty(span, SCOPE_ON_START_SPAN_FIELD, scope);\n }\n}\n\n/**\n * Grabs the scope and isolation scope off a span that were active when the span was started.\n */\nfunction getCapturedScopesOnSpan(span) {\n return {\n scope: (span )[SCOPE_ON_START_SPAN_FIELD],\n isolationScope: (span )[ISOLATION_SCOPE_ON_START_SPAN_FIELD],\n };\n}\n\nexport { continueTrace, getActiveSpan, getCapturedScopesOnSpan, startActiveSpan, startInactiveSpan, startSpan, startSpanManual, trace };\n//# sourceMappingURL=trace.js.map\n","import { dropUndefinedKeys, logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { getCurrentHub } from '../hub.js';\nimport { getMetricSummaryJsonForSpan } from '../metrics/metric-summary.js';\nimport { SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE } from '../semanticAttributes.js';\nimport { spanTimeInputToSeconds, spanToJSON, spanToTraceContext } from '../utils/spanUtils.js';\nimport { getDynamicSamplingContextFromSpan } from './dynamicSamplingContext.js';\nimport { Span, SpanRecorder } from './span.js';\nimport { getCapturedScopesOnSpan } from './trace.js';\n\n/** JSDoc */\nclass Transaction extends Span {\n /**\n * The reference to the current hub.\n */\n\n // DO NOT yet remove this property, it is used in a hack for v7 backwards compatibility.\n\n /**\n * This constructor should never be called manually. Those instrumenting tracing should use\n * `Sentry.startTransaction()`, and internal methods should use `hub.startTransaction()`.\n * @internal\n * @hideconstructor\n * @hidden\n *\n * @deprecated Transactions will be removed in v8. Use spans instead.\n */\n constructor(transactionContext, hub) {\n super(transactionContext);\n this._contexts = {};\n\n // eslint-disable-next-line deprecation/deprecation\n this._hub = hub || getCurrentHub();\n\n this._name = transactionContext.name || '';\n\n this._metadata = {\n // eslint-disable-next-line deprecation/deprecation\n ...transactionContext.metadata,\n };\n\n this._trimEnd = transactionContext.trimEnd;\n\n // this is because transactions are also spans, and spans have a transaction pointer\n // TODO (v8): Replace this with another way to set the root span\n // eslint-disable-next-line deprecation/deprecation\n this.transaction = this;\n\n // If Dynamic Sampling Context is provided during the creation of the transaction, we freeze it as it usually means\n // there is incoming Dynamic Sampling Context. (Either through an incoming request, a baggage meta-tag, or other means)\n const incomingDynamicSamplingContext = this._metadata.dynamicSamplingContext;\n if (incomingDynamicSamplingContext) {\n // We shallow copy this in case anything writes to the original reference of the passed in `dynamicSamplingContext`\n this._frozenDynamicSamplingContext = { ...incomingDynamicSamplingContext };\n }\n }\n\n // This sadly conflicts with the getter/setter ordering :(\n /* eslint-disable @typescript-eslint/member-ordering */\n\n /**\n * Getter for `name` property.\n * @deprecated Use `spanToJSON(span).description` instead.\n */\n get name() {\n return this._name;\n }\n\n /**\n * Setter for `name` property, which also sets `source` as custom.\n * @deprecated Use `updateName()` and `setMetadata()` instead.\n */\n set name(newName) {\n // eslint-disable-next-line deprecation/deprecation\n this.setName(newName);\n }\n\n /**\n * Get the metadata for this transaction.\n * @deprecated Use `spanGetMetadata(transaction)` instead.\n */\n get metadata() {\n // We merge attributes in for backwards compatibility\n return {\n // Defaults\n // eslint-disable-next-line deprecation/deprecation\n source: 'custom',\n spanMetadata: {},\n\n // Legacy metadata\n ...this._metadata,\n\n // From attributes\n ...(this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE] && {\n source: this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE] ,\n }),\n ...(this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE] && {\n sampleRate: this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE] ,\n }),\n };\n }\n\n /**\n * Update the metadata for this transaction.\n * @deprecated Use `spanGetMetadata(transaction)` instead.\n */\n set metadata(metadata) {\n this._metadata = metadata;\n }\n\n /* eslint-enable @typescript-eslint/member-ordering */\n\n /**\n * Setter for `name` property, which also sets `source` on the metadata.\n *\n * @deprecated Use `.updateName()` and `.setAttribute()` instead.\n */\n setName(name, source = 'custom') {\n this._name = name;\n this.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, source);\n }\n\n /** @inheritdoc */\n updateName(name) {\n this._name = name;\n return this;\n }\n\n /**\n * Attaches SpanRecorder to the span itself\n * @param maxlen maximum number of spans that can be recorded\n */\n initSpanRecorder(maxlen = 1000) {\n // eslint-disable-next-line deprecation/deprecation\n if (!this.spanRecorder) {\n // eslint-disable-next-line deprecation/deprecation\n this.spanRecorder = new SpanRecorder(maxlen);\n }\n // eslint-disable-next-line deprecation/deprecation\n this.spanRecorder.add(this);\n }\n\n /**\n * Set the context of a transaction event.\n * @deprecated Use either `.setAttribute()`, or set the context on the scope before creating the transaction.\n */\n setContext(key, context) {\n if (context === null) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._contexts[key];\n } else {\n this._contexts[key] = context;\n }\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use top-level `setMeasurement()` instead.\n */\n setMeasurement(name, value, unit = '') {\n this._measurements[name] = { value, unit };\n }\n\n /**\n * Store metadata on this transaction.\n * @deprecated Use attributes or store data on the scope instead.\n */\n setMetadata(newMetadata) {\n this._metadata = { ...this._metadata, ...newMetadata };\n }\n\n /**\n * @inheritDoc\n */\n end(endTimestamp) {\n const timestampInS = spanTimeInputToSeconds(endTimestamp);\n const transaction = this._finishTransaction(timestampInS);\n if (!transaction) {\n return undefined;\n }\n // eslint-disable-next-line deprecation/deprecation\n return this._hub.captureEvent(transaction);\n }\n\n /**\n * @inheritDoc\n */\n toContext() {\n // eslint-disable-next-line deprecation/deprecation\n const spanContext = super.toContext();\n\n return dropUndefinedKeys({\n ...spanContext,\n name: this._name,\n trimEnd: this._trimEnd,\n });\n }\n\n /**\n * @inheritDoc\n */\n updateWithContext(transactionContext) {\n // eslint-disable-next-line deprecation/deprecation\n super.updateWithContext(transactionContext);\n\n this._name = transactionContext.name || '';\n this._trimEnd = transactionContext.trimEnd;\n\n return this;\n }\n\n /**\n * @inheritdoc\n *\n * @experimental\n *\n * @deprecated Use top-level `getDynamicSamplingContextFromSpan` instead.\n */\n getDynamicSamplingContext() {\n return getDynamicSamplingContextFromSpan(this);\n }\n\n /**\n * Override the current hub with a new one.\n * Used if you want another hub to finish the transaction.\n *\n * @internal\n */\n setHub(hub) {\n this._hub = hub;\n }\n\n /**\n * Get the profile id of the transaction.\n */\n getProfileId() {\n if (this._contexts !== undefined && this._contexts['profile'] !== undefined) {\n return this._contexts['profile'].profile_id ;\n }\n return undefined;\n }\n\n /**\n * Finish the transaction & prepare the event to send to Sentry.\n */\n _finishTransaction(endTimestamp) {\n // This transaction is already finished, so we should not flush it again.\n if (this._endTime !== undefined) {\n return undefined;\n }\n\n if (!this._name) {\n DEBUG_BUILD && logger.warn('Transaction has no name, falling back to ``.');\n this._name = '';\n }\n\n // just sets the end timestamp\n super.end(endTimestamp);\n\n // eslint-disable-next-line deprecation/deprecation\n const client = this._hub.getClient();\n if (client && client.emit) {\n client.emit('finishTransaction', this);\n }\n\n if (this._sampled !== true) {\n // At this point if `sampled !== true` we want to discard the transaction.\n DEBUG_BUILD && logger.log('[Tracing] Discarding transaction because its trace was not chosen to be sampled.');\n\n if (client) {\n client.recordDroppedEvent('sample_rate', 'transaction');\n }\n\n return undefined;\n }\n\n // eslint-disable-next-line deprecation/deprecation\n const finishedSpans = this.spanRecorder\n ? // eslint-disable-next-line deprecation/deprecation\n this.spanRecorder.spans.filter(span => span !== this && spanToJSON(span).timestamp)\n : [];\n\n if (this._trimEnd && finishedSpans.length > 0) {\n const endTimes = finishedSpans.map(span => spanToJSON(span).timestamp).filter(Boolean) ;\n this._endTime = endTimes.reduce((prev, current) => {\n return prev > current ? prev : current;\n });\n }\n\n const { scope: capturedSpanScope, isolationScope: capturedSpanIsolationScope } = getCapturedScopesOnSpan(this);\n\n // eslint-disable-next-line deprecation/deprecation\n const { metadata } = this;\n // eslint-disable-next-line deprecation/deprecation\n const { source } = metadata;\n\n const transaction = {\n contexts: {\n ...this._contexts,\n // We don't want to override trace context\n trace: spanToTraceContext(this),\n },\n // TODO: Pass spans serialized via `spanToJSON()` here instead in v8.\n spans: finishedSpans,\n start_timestamp: this._startTime,\n // eslint-disable-next-line deprecation/deprecation\n tags: this.tags,\n timestamp: this._endTime,\n transaction: this._name,\n type: 'transaction',\n sdkProcessingMetadata: {\n ...metadata,\n capturedSpanScope,\n capturedSpanIsolationScope,\n ...dropUndefinedKeys({\n dynamicSamplingContext: getDynamicSamplingContextFromSpan(this),\n }),\n },\n _metrics_summary: getMetricSummaryJsonForSpan(this),\n ...(source && {\n transaction_info: {\n source,\n },\n }),\n };\n\n const hasMeasurements = Object.keys(this._measurements).length > 0;\n\n if (hasMeasurements) {\n DEBUG_BUILD &&\n logger.log(\n '[Measurements] Adding measurements to transaction',\n JSON.stringify(this._measurements, undefined, 2),\n );\n transaction.measurements = this._measurements;\n }\n\n // eslint-disable-next-line deprecation/deprecation\n DEBUG_BUILD && logger.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`);\n\n return transaction;\n }\n}\n\nexport { Transaction };\n//# sourceMappingURL=transaction.js.map\n","import { logger, timestampInSeconds } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { spanTimeInputToSeconds, spanToJSON } from '../utils/spanUtils.js';\nimport { SpanRecorder } from './span.js';\nimport { Transaction } from './transaction.js';\n\nconst TRACING_DEFAULTS = {\n idleTimeout: 1000,\n finalTimeout: 30000,\n heartbeatInterval: 5000,\n};\n\nconst FINISH_REASON_TAG = 'finishReason';\n\nconst IDLE_TRANSACTION_FINISH_REASONS = [\n 'heartbeatFailed',\n 'idleTimeout',\n 'documentHidden',\n 'finalTimeout',\n 'externalFinish',\n 'cancelled',\n];\n\n/**\n * @inheritDoc\n */\nclass IdleTransactionSpanRecorder extends SpanRecorder {\n constructor(\n _pushActivity,\n _popActivity,\n transactionSpanId,\n maxlen,\n ) {\n super(maxlen);this._pushActivity = _pushActivity;this._popActivity = _popActivity;this.transactionSpanId = transactionSpanId; }\n\n /**\n * @inheritDoc\n */\n add(span) {\n // We should make sure we do not push and pop activities for\n // the transaction that this span recorder belongs to.\n if (span.spanContext().spanId !== this.transactionSpanId) {\n // We patch span.end() to pop an activity after setting an endTimestamp.\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const originalEnd = span.end;\n span.end = (...rest) => {\n this._popActivity(span.spanContext().spanId);\n return originalEnd.apply(span, rest);\n };\n\n // We should only push new activities if the span does not have an end timestamp.\n if (spanToJSON(span).timestamp === undefined) {\n this._pushActivity(span.spanContext().spanId);\n }\n }\n\n super.add(span);\n }\n}\n\n/**\n * An IdleTransaction is a transaction that automatically finishes. It does this by tracking child spans as activities.\n * You can have multiple IdleTransactions active, but if the `onScope` option is specified, the idle transaction will\n * put itself on the scope on creation.\n */\nclass IdleTransaction extends Transaction {\n // Activities store a list of active spans\n\n // Track state of activities in previous heartbeat\n\n // Amount of times heartbeat has counted. Will cause transaction to finish after 3 beats.\n\n // We should not use heartbeat if we finished a transaction\n\n // Idle timeout was canceled and we should finish the transaction with the last span end.\n\n /**\n * Timer that tracks Transaction idleTimeout\n */\n\n /**\n * @deprecated Transactions will be removed in v8. Use spans instead.\n */\n constructor(\n transactionContext,\n _idleHub,\n /**\n * The time to wait in ms until the idle transaction will be finished. This timer is started each time\n * there are no active spans on this transaction.\n */\n _idleTimeout = TRACING_DEFAULTS.idleTimeout,\n /**\n * The final value in ms that a transaction cannot exceed\n */\n _finalTimeout = TRACING_DEFAULTS.finalTimeout,\n _heartbeatInterval = TRACING_DEFAULTS.heartbeatInterval,\n // Whether or not the transaction should put itself on the scope when it starts and pop itself off when it ends\n _onScope = false,\n /**\n * When set to `true`, will disable the idle timeout (`_idleTimeout` option) and heartbeat mechanisms (`_heartbeatInterval`\n * option) until the `sendAutoFinishSignal()` method is called. The final timeout mechanism (`_finalTimeout` option)\n * will not be affected by this option, meaning the transaction will definitely be finished when the final timeout is\n * reached, no matter what this option is configured to.\n *\n * Defaults to `false`.\n */\n delayAutoFinishUntilSignal = false,\n ) {\n super(transactionContext, _idleHub);this._idleHub = _idleHub;this._idleTimeout = _idleTimeout;this._finalTimeout = _finalTimeout;this._heartbeatInterval = _heartbeatInterval;this._onScope = _onScope;\n this.activities = {};\n this._heartbeatCounter = 0;\n this._finished = false;\n this._idleTimeoutCanceledPermanently = false;\n this._beforeFinishCallbacks = [];\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[4];\n this._autoFinishAllowed = !delayAutoFinishUntilSignal;\n\n if (_onScope) {\n // We set the transaction here on the scope so error events pick up the trace\n // context and attach it to the error.\n DEBUG_BUILD && logger.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`);\n // eslint-disable-next-line deprecation/deprecation\n _idleHub.getScope().setSpan(this);\n }\n\n if (!delayAutoFinishUntilSignal) {\n this._restartIdleTimeout();\n }\n\n setTimeout(() => {\n if (!this._finished) {\n this.setStatus('deadline_exceeded');\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[3];\n this.end();\n }\n }, this._finalTimeout);\n }\n\n /** {@inheritDoc} */\n end(endTimestamp) {\n const endTimestampInS = spanTimeInputToSeconds(endTimestamp);\n\n this._finished = true;\n this.activities = {};\n\n // eslint-disable-next-line deprecation/deprecation\n if (this.op === 'ui.action.click') {\n this.setAttribute(FINISH_REASON_TAG, this._finishReason);\n }\n\n // eslint-disable-next-line deprecation/deprecation\n if (this.spanRecorder) {\n DEBUG_BUILD &&\n // eslint-disable-next-line deprecation/deprecation\n logger.log('[Tracing] finishing IdleTransaction', new Date(endTimestampInS * 1000).toISOString(), this.op);\n\n for (const callback of this._beforeFinishCallbacks) {\n callback(this, endTimestampInS);\n }\n\n // eslint-disable-next-line deprecation/deprecation\n this.spanRecorder.spans = this.spanRecorder.spans.filter((span) => {\n // If we are dealing with the transaction itself, we just return it\n if (span.spanContext().spanId === this.spanContext().spanId) {\n return true;\n }\n\n // We cancel all pending spans with status \"cancelled\" to indicate the idle transaction was finished early\n if (!spanToJSON(span).timestamp) {\n span.setStatus('cancelled');\n span.end(endTimestampInS);\n DEBUG_BUILD &&\n logger.log('[Tracing] cancelling span since transaction ended early', JSON.stringify(span, undefined, 2));\n }\n\n const { start_timestamp: startTime, timestamp: endTime } = spanToJSON(span);\n const spanStartedBeforeTransactionFinish = startTime && startTime < endTimestampInS;\n\n // Add a delta with idle timeout so that we prevent false positives\n const timeoutWithMarginOfError = (this._finalTimeout + this._idleTimeout) / 1000;\n const spanEndedBeforeFinalTimeout = endTime && startTime && endTime - startTime < timeoutWithMarginOfError;\n\n if (DEBUG_BUILD) {\n const stringifiedSpan = JSON.stringify(span, undefined, 2);\n if (!spanStartedBeforeTransactionFinish) {\n logger.log('[Tracing] discarding Span since it happened after Transaction was finished', stringifiedSpan);\n } else if (!spanEndedBeforeFinalTimeout) {\n logger.log('[Tracing] discarding Span since it finished after Transaction final timeout', stringifiedSpan);\n }\n }\n\n return spanStartedBeforeTransactionFinish && spanEndedBeforeFinalTimeout;\n });\n\n DEBUG_BUILD && logger.log('[Tracing] flushing IdleTransaction');\n } else {\n DEBUG_BUILD && logger.log('[Tracing] No active IdleTransaction');\n }\n\n // if `this._onScope` is `true`, the transaction put itself on the scope when it started\n if (this._onScope) {\n // eslint-disable-next-line deprecation/deprecation\n const scope = this._idleHub.getScope();\n // eslint-disable-next-line deprecation/deprecation\n if (scope.getTransaction() === this) {\n // eslint-disable-next-line deprecation/deprecation\n scope.setSpan(undefined);\n }\n }\n\n return super.end(endTimestamp);\n }\n\n /**\n * Register a callback function that gets executed before the transaction finishes.\n * Useful for cleanup or if you want to add any additional spans based on current context.\n *\n * This is exposed because users have no other way of running something before an idle transaction\n * finishes.\n */\n registerBeforeFinishCallback(callback) {\n this._beforeFinishCallbacks.push(callback);\n }\n\n /**\n * @inheritDoc\n */\n initSpanRecorder(maxlen) {\n // eslint-disable-next-line deprecation/deprecation\n if (!this.spanRecorder) {\n const pushActivity = (id) => {\n if (this._finished) {\n return;\n }\n this._pushActivity(id);\n };\n const popActivity = (id) => {\n if (this._finished) {\n return;\n }\n this._popActivity(id);\n };\n\n // eslint-disable-next-line deprecation/deprecation\n this.spanRecorder = new IdleTransactionSpanRecorder(pushActivity, popActivity, this.spanContext().spanId, maxlen);\n\n // Start heartbeat so that transactions do not run forever.\n DEBUG_BUILD && logger.log('Starting heartbeat');\n this._pingHeartbeat();\n }\n // eslint-disable-next-line deprecation/deprecation\n this.spanRecorder.add(this);\n }\n\n /**\n * Cancels the existing idle timeout, if there is one.\n * @param restartOnChildSpanChange Default is `true`.\n * If set to false the transaction will end\n * with the last child span.\n */\n cancelIdleTimeout(\n endTimestamp,\n {\n restartOnChildSpanChange,\n }\n\n = {\n restartOnChildSpanChange: true,\n },\n ) {\n this._idleTimeoutCanceledPermanently = restartOnChildSpanChange === false;\n if (this._idleTimeoutID) {\n clearTimeout(this._idleTimeoutID);\n this._idleTimeoutID = undefined;\n\n if (Object.keys(this.activities).length === 0 && this._idleTimeoutCanceledPermanently) {\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[5];\n this.end(endTimestamp);\n }\n }\n }\n\n /**\n * Temporary method used to externally set the transaction's `finishReason`\n *\n * ** WARNING**\n * This is for the purpose of experimentation only and will be removed in the near future, do not use!\n *\n * @internal\n *\n */\n setFinishReason(reason) {\n this._finishReason = reason;\n }\n\n /**\n * Permits the IdleTransaction to automatically end itself via the idle timeout and heartbeat mechanisms when the `delayAutoFinishUntilSignal` option was set to `true`.\n */\n sendAutoFinishSignal() {\n if (!this._autoFinishAllowed) {\n DEBUG_BUILD && logger.log('[Tracing] Received finish signal for idle transaction.');\n this._restartIdleTimeout();\n this._autoFinishAllowed = true;\n }\n }\n\n /**\n * Restarts idle timeout, if there is no running idle timeout it will start one.\n */\n _restartIdleTimeout(endTimestamp) {\n this.cancelIdleTimeout();\n this._idleTimeoutID = setTimeout(() => {\n if (!this._finished && Object.keys(this.activities).length === 0) {\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[1];\n this.end(endTimestamp);\n }\n }, this._idleTimeout);\n }\n\n /**\n * Start tracking a specific activity.\n * @param spanId The span id that represents the activity\n */\n _pushActivity(spanId) {\n this.cancelIdleTimeout(undefined, { restartOnChildSpanChange: !this._idleTimeoutCanceledPermanently });\n DEBUG_BUILD && logger.log(`[Tracing] pushActivity: ${spanId}`);\n this.activities[spanId] = true;\n DEBUG_BUILD && logger.log('[Tracing] new activities count', Object.keys(this.activities).length);\n }\n\n /**\n * Remove an activity from usage\n * @param spanId The span id that represents the activity\n */\n _popActivity(spanId) {\n if (this.activities[spanId]) {\n DEBUG_BUILD && logger.log(`[Tracing] popActivity ${spanId}`);\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this.activities[spanId];\n DEBUG_BUILD && logger.log('[Tracing] new activities count', Object.keys(this.activities).length);\n }\n\n if (Object.keys(this.activities).length === 0) {\n const endTimestamp = timestampInSeconds();\n if (this._idleTimeoutCanceledPermanently) {\n if (this._autoFinishAllowed) {\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[5];\n this.end(endTimestamp);\n }\n } else {\n // We need to add the timeout here to have the real endtimestamp of the transaction\n // Remember timestampInSeconds is in seconds, timeout is in ms\n this._restartIdleTimeout(endTimestamp + this._idleTimeout / 1000);\n }\n }\n }\n\n /**\n * Checks when entries of this.activities are not changing for 3 beats.\n * If this occurs we finish the transaction.\n */\n _beat() {\n // We should not be running heartbeat if the idle transaction is finished.\n if (this._finished) {\n return;\n }\n\n const heartbeatString = Object.keys(this.activities).join('');\n\n if (heartbeatString === this._prevHeartbeatString) {\n this._heartbeatCounter++;\n } else {\n this._heartbeatCounter = 1;\n }\n\n this._prevHeartbeatString = heartbeatString;\n\n if (this._heartbeatCounter >= 3) {\n if (this._autoFinishAllowed) {\n DEBUG_BUILD && logger.log('[Tracing] Transaction finished because of no change for 3 heart beats');\n this.setStatus('deadline_exceeded');\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[0];\n this.end();\n }\n } else {\n this._pingHeartbeat();\n }\n }\n\n /**\n * Pings the heartbeat\n */\n _pingHeartbeat() {\n DEBUG_BUILD && logger.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`);\n setTimeout(() => {\n this._beat();\n }, this._heartbeatInterval);\n }\n}\n\nexport { IdleTransaction, IdleTransactionSpanRecorder, TRACING_DEFAULTS };\n//# sourceMappingURL=idletransaction.js.map\n","import { extractTraceparentData as extractTraceparentData$1 } from '@sentry/utils';\nexport { stripUrlQueryAndFragment } from '@sentry/utils';\nimport { getCurrentHub } from '../hub.js';\n\n/**\n * Grabs active transaction off scope.\n *\n * @deprecated You should not rely on the transaction, but just use `startSpan()` APIs instead.\n */\nfunction getActiveTransaction(maybeHub) {\n // eslint-disable-next-line deprecation/deprecation\n const hub = maybeHub || getCurrentHub();\n // eslint-disable-next-line deprecation/deprecation\n const scope = hub.getScope();\n // eslint-disable-next-line deprecation/deprecation\n return scope.getTransaction() ;\n}\n\n/**\n * The `extractTraceparentData` function and `TRACEPARENT_REGEXP` constant used\n * to be declared in this file. It was later moved into `@sentry/utils` as part of a\n * move to remove `@sentry/tracing` dependencies from `@sentry/node` (`extractTraceparentData`\n * is the only tracing function used by `@sentry/node`).\n *\n * These exports are kept here for backwards compatability's sake.\n *\n * See https://github.com/getsentry/sentry-javascript/issues/4642 for more details.\n *\n * @deprecated Import this function from `@sentry/utils` instead\n */\nconst extractTraceparentData = extractTraceparentData$1;\n\nexport { extractTraceparentData, getActiveTransaction };\n//# sourceMappingURL=utils.js.map\n","import { addGlobalErrorInstrumentationHandler, addGlobalUnhandledRejectionInstrumentationHandler, logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { getActiveTransaction } from './utils.js';\n\nlet errorsInstrumented = false;\n\n/**\n * Configures global error listeners\n */\nfunction registerErrorInstrumentation() {\n if (errorsInstrumented) {\n return;\n }\n\n errorsInstrumented = true;\n addGlobalErrorInstrumentationHandler(errorCallback);\n addGlobalUnhandledRejectionInstrumentationHandler(errorCallback);\n}\n\n/**\n * If an error or unhandled promise occurs, we mark the active transaction as failed\n */\nfunction errorCallback() {\n // eslint-disable-next-line deprecation/deprecation\n const activeTransaction = getActiveTransaction();\n if (activeTransaction) {\n const status = 'internal_error';\n DEBUG_BUILD && logger.log(`[Tracing] Transaction: ${status} -> Global error occured`);\n activeTransaction.setStatus(status);\n }\n}\n\n// The function name will be lost when bundling but we need to be able to identify this listener later to maintain the\n// node.js default exit behaviour\nerrorCallback.tag = 'sentry_tracingErrorCallback';\n\nexport { registerErrorInstrumentation };\n//# sourceMappingURL=errors.js.map\n","import { isNaN, logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE } from '../semanticAttributes.js';\nimport { hasTracingEnabled } from '../utils/hasTracingEnabled.js';\nimport { spanToJSON } from '../utils/spanUtils.js';\n\n/**\n * Makes a sampling decision for the given transaction and stores it on the transaction.\n *\n * Called every time a transaction is created. Only transactions which emerge with a `sampled` value of `true` will be\n * sent to Sentry.\n *\n * This method muttes the given `transaction` and will set the `sampled` value on it.\n * It returns the same transaction, for convenience.\n */\nfunction sampleTransaction(\n transaction,\n options,\n samplingContext,\n) {\n // nothing to do if tracing is not enabled\n if (!hasTracingEnabled(options)) {\n // eslint-disable-next-line deprecation/deprecation\n transaction.sampled = false;\n return transaction;\n }\n\n // if the user has forced a sampling decision by passing a `sampled` value in their transaction context, go with that\n // eslint-disable-next-line deprecation/deprecation\n if (transaction.sampled !== undefined) {\n // eslint-disable-next-line deprecation/deprecation\n transaction.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, Number(transaction.sampled));\n return transaction;\n }\n\n // we would have bailed already if neither `tracesSampler` nor `tracesSampleRate` nor `enableTracing` were defined, so one of these should\n // work; prefer the hook if so\n let sampleRate;\n if (typeof options.tracesSampler === 'function') {\n sampleRate = options.tracesSampler(samplingContext);\n transaction.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, Number(sampleRate));\n } else if (samplingContext.parentSampled !== undefined) {\n sampleRate = samplingContext.parentSampled;\n } else if (typeof options.tracesSampleRate !== 'undefined') {\n sampleRate = options.tracesSampleRate;\n transaction.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, Number(sampleRate));\n } else {\n // When `enableTracing === true`, we use a sample rate of 100%\n sampleRate = 1;\n transaction.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, sampleRate);\n }\n\n // Since this is coming from the user (or from a function provided by the user), who knows what we might get. (The\n // only valid values are booleans or numbers between 0 and 1.)\n if (!isValidSampleRate(sampleRate)) {\n DEBUG_BUILD && logger.warn('[Tracing] Discarding transaction because of invalid sample rate.');\n // eslint-disable-next-line deprecation/deprecation\n transaction.sampled = false;\n return transaction;\n }\n\n // if the function returned 0 (or false), or if `tracesSampleRate` is 0, it's a sign the transaction should be dropped\n if (!sampleRate) {\n DEBUG_BUILD &&\n logger.log(\n `[Tracing] Discarding transaction because ${\n typeof options.tracesSampler === 'function'\n ? 'tracesSampler returned 0 or false'\n : 'a negative sampling decision was inherited or tracesSampleRate is set to 0'\n }`,\n );\n // eslint-disable-next-line deprecation/deprecation\n transaction.sampled = false;\n return transaction;\n }\n\n // Now we roll the dice. Math.random is inclusive of 0, but not of 1, so strict < is safe here. In case sampleRate is\n // a boolean, the < comparison will cause it to be automatically cast to 1 if it's true and 0 if it's false.\n // eslint-disable-next-line deprecation/deprecation\n transaction.sampled = Math.random() < (sampleRate );\n\n // if we're not going to keep it, we're done\n // eslint-disable-next-line deprecation/deprecation\n if (!transaction.sampled) {\n DEBUG_BUILD &&\n logger.log(\n `[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(\n sampleRate,\n )})`,\n );\n return transaction;\n }\n\n DEBUG_BUILD &&\n // eslint-disable-next-line deprecation/deprecation\n logger.log(`[Tracing] starting ${transaction.op} transaction - ${spanToJSON(transaction).description}`);\n return transaction;\n}\n\n/**\n * Checks the given sample rate to make sure it is valid type and value (a boolean, or a number between 0 and 1).\n */\nfunction isValidSampleRate(rate) {\n // we need to check NaN explicitly because it's of type 'number' and therefore wouldn't get caught by this typecheck\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (isNaN(rate) || !(typeof rate === 'number' || typeof rate === 'boolean')) {\n DEBUG_BUILD &&\n logger.warn(\n `[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(\n rate,\n )} of type ${JSON.stringify(typeof rate)}.`,\n );\n return false;\n }\n\n // in case sampleRate is a boolean, it will get automatically cast to 1 if it's true and 0 if it's false\n if (rate < 0 || rate > 1) {\n DEBUG_BUILD &&\n logger.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${rate}.`);\n return false;\n }\n return true;\n}\n\nexport { isValidSampleRate, sampleTransaction };\n//# sourceMappingURL=sampling.js.map\n","import { logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { getMainCarrier } from '../hub.js';\nimport { spanToTraceHeader } from '../utils/spanUtils.js';\nimport { registerErrorInstrumentation } from './errors.js';\nimport { IdleTransaction } from './idletransaction.js';\nimport { sampleTransaction } from './sampling.js';\nimport { Transaction } from './transaction.js';\n\n/** Returns all trace headers that are currently on the top scope. */\nfunction traceHeaders() {\n // eslint-disable-next-line deprecation/deprecation\n const scope = this.getScope();\n // eslint-disable-next-line deprecation/deprecation\n const span = scope.getSpan();\n\n return span\n ? {\n 'sentry-trace': spanToTraceHeader(span),\n }\n : {};\n}\n\n/**\n * Creates a new transaction and adds a sampling decision if it doesn't yet have one.\n *\n * The Hub.startTransaction method delegates to this method to do its work, passing the Hub instance in as `this`, as if\n * it had been called on the hub directly. Exists as a separate function so that it can be injected into the class as an\n * \"extension method.\"\n *\n * @param this: The Hub starting the transaction\n * @param transactionContext: Data used to configure the transaction\n * @param CustomSamplingContext: Optional data to be provided to the `tracesSampler` function (if any)\n *\n * @returns The new transaction\n *\n * @see {@link Hub.startTransaction}\n */\nfunction _startTransaction(\n\n transactionContext,\n customSamplingContext,\n) {\n // eslint-disable-next-line deprecation/deprecation\n const client = this.getClient();\n const options = (client && client.getOptions()) || {};\n\n const configInstrumenter = options.instrumenter || 'sentry';\n const transactionInstrumenter = transactionContext.instrumenter || 'sentry';\n\n if (configInstrumenter !== transactionInstrumenter) {\n DEBUG_BUILD &&\n logger.error(\n `A transaction was started with instrumenter=\\`${transactionInstrumenter}\\`, but the SDK is configured with the \\`${configInstrumenter}\\` instrumenter.\nThe transaction will not be sampled. Please use the ${configInstrumenter} instrumentation to start transactions.`,\n );\n\n // eslint-disable-next-line deprecation/deprecation\n transactionContext.sampled = false;\n }\n\n // eslint-disable-next-line deprecation/deprecation\n let transaction = new Transaction(transactionContext, this);\n transaction = sampleTransaction(transaction, options, {\n name: transactionContext.name,\n parentSampled: transactionContext.parentSampled,\n transactionContext,\n attributes: {\n // eslint-disable-next-line deprecation/deprecation\n ...transactionContext.data,\n ...transactionContext.attributes,\n },\n ...customSamplingContext,\n });\n if (transaction.isRecording()) {\n transaction.initSpanRecorder(options._experiments && (options._experiments.maxSpans ));\n }\n if (client && client.emit) {\n client.emit('startTransaction', transaction);\n }\n return transaction;\n}\n\n/**\n * Create new idle transaction.\n */\nfunction startIdleTransaction(\n hub,\n transactionContext,\n idleTimeout,\n finalTimeout,\n onScope,\n customSamplingContext,\n heartbeatInterval,\n delayAutoFinishUntilSignal = false,\n) {\n // eslint-disable-next-line deprecation/deprecation\n const client = hub.getClient();\n const options = (client && client.getOptions()) || {};\n\n // eslint-disable-next-line deprecation/deprecation\n let transaction = new IdleTransaction(\n transactionContext,\n hub,\n idleTimeout,\n finalTimeout,\n heartbeatInterval,\n onScope,\n delayAutoFinishUntilSignal,\n );\n transaction = sampleTransaction(transaction, options, {\n name: transactionContext.name,\n parentSampled: transactionContext.parentSampled,\n transactionContext,\n attributes: {\n // eslint-disable-next-line deprecation/deprecation\n ...transactionContext.data,\n ...transactionContext.attributes,\n },\n ...customSamplingContext,\n });\n if (transaction.isRecording()) {\n transaction.initSpanRecorder(options._experiments && (options._experiments.maxSpans ));\n }\n if (client && client.emit) {\n client.emit('startTransaction', transaction);\n }\n return transaction;\n}\n\n/**\n * Adds tracing extensions to the global hub.\n */\nfunction addTracingExtensions() {\n const carrier = getMainCarrier();\n if (!carrier.__SENTRY__) {\n return;\n }\n carrier.__SENTRY__.extensions = carrier.__SENTRY__.extensions || {};\n if (!carrier.__SENTRY__.extensions.startTransaction) {\n carrier.__SENTRY__.extensions.startTransaction = _startTransaction;\n }\n if (!carrier.__SENTRY__.extensions.traceHeaders) {\n carrier.__SENTRY__.extensions.traceHeaders = traceHeaders;\n }\n\n registerErrorInstrumentation();\n}\n\nexport { addTracingExtensions, startIdleTransaction };\n//# sourceMappingURL=hubextensions.js.map\n","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nconst DEBUG_BUILD = (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__);\n\nexport { DEBUG_BUILD };\n//# sourceMappingURL=debug-build.js.map\n","import { GLOBAL_OBJ } from '@sentry/utils';\n\nconst WINDOW = GLOBAL_OBJ ;\n\nexport { WINDOW };\n//# sourceMappingURL=types.js.map\n","import { getActiveTransaction, spanToJSON } from '@sentry/core';\nimport { logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../common/debug-build.js';\nimport { WINDOW } from './types.js';\n\n/**\n * Add a listener that cancels and finishes a transaction when the global\n * document is hidden.\n */\nfunction registerBackgroundTabDetection() {\n if (WINDOW && WINDOW.document) {\n WINDOW.document.addEventListener('visibilitychange', () => {\n // eslint-disable-next-line deprecation/deprecation\n const activeTransaction = getActiveTransaction() ;\n if (WINDOW.document.hidden && activeTransaction) {\n const statusType = 'cancelled';\n\n const { op, status } = spanToJSON(activeTransaction);\n\n DEBUG_BUILD &&\n logger.log(`[Tracing] Transaction: ${statusType} -> since tab moved to the background, op: ${op}`);\n // We should not set status if it is already set, this prevent important statuses like\n // error or data loss from being overwritten on transaction.\n if (!status) {\n activeTransaction.setStatus(statusType);\n }\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n activeTransaction.setTag('visibilitychange', 'document.hidden');\n activeTransaction.end();\n }\n });\n } else {\n DEBUG_BUILD && logger.warn('[Tracing] Could not set up background tab detection due to lack of global document');\n }\n}\n\nexport { registerBackgroundTabDetection };\n//# sourceMappingURL=backgroundtab.js.map\n","const bindReporter = (\n callback,\n metric,\n reportAllChanges,\n) => {\n let prevValue;\n let delta;\n return (forceReport) => {\n if (metric.value >= 0) {\n if (forceReport || reportAllChanges) {\n delta = metric.value - (prevValue || 0);\n\n // Report the metric if there's a non-zero delta or if no previous\n // value exists (which can happen in the case of the document becoming\n // hidden when the metric value is 0).\n // See: https://github.com/GoogleChrome/web-vitals/issues/14\n if (delta || prevValue === undefined) {\n prevValue = metric.value;\n metric.delta = delta;\n callback(metric);\n }\n }\n }\n };\n};\n\nexport { bindReporter };\n//# sourceMappingURL=bindReporter.js.map\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Performantly generate a unique, 30-char string by combining a version\n * number, the current timestamp with a 13-digit number integer.\n * @return {string}\n */\nconst generateUniqueID = () => {\n return `v3-${Date.now()}-${Math.floor(Math.random() * (9e12 - 1)) + 1e12}`;\n};\n\nexport { generateUniqueID };\n//# sourceMappingURL=generateUniqueID.js.map\n","import { WINDOW } from '../../types.js';\n\n/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst getNavigationEntryFromPerformanceTiming = () => {\n // eslint-disable-next-line deprecation/deprecation\n const timing = WINDOW.performance.timing;\n // eslint-disable-next-line deprecation/deprecation\n const type = WINDOW.performance.navigation.type;\n\n const navigationEntry = {\n entryType: 'navigation',\n startTime: 0,\n type: type == 2 ? 'back_forward' : type === 1 ? 'reload' : 'navigate',\n };\n\n for (const key in timing) {\n if (key !== 'navigationStart' && key !== 'toJSON') {\n // eslint-disable-next-line deprecation/deprecation\n navigationEntry[key] = Math.max((timing[key ] ) - timing.navigationStart, 0);\n }\n }\n return navigationEntry ;\n};\n\nconst getNavigationEntry = () => {\n if (WINDOW.__WEB_VITALS_POLYFILL__) {\n return (\n WINDOW.performance &&\n ((performance.getEntriesByType && performance.getEntriesByType('navigation')[0]) ||\n getNavigationEntryFromPerformanceTiming())\n );\n } else {\n return WINDOW.performance && performance.getEntriesByType && performance.getEntriesByType('navigation')[0];\n }\n};\n\nexport { getNavigationEntry };\n//# sourceMappingURL=getNavigationEntry.js.map\n","import { getNavigationEntry } from './getNavigationEntry.js';\n\n/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst getActivationStart = () => {\n const navEntry = getNavigationEntry();\n return (navEntry && navEntry.activationStart) || 0;\n};\n\nexport { getActivationStart };\n//# sourceMappingURL=getActivationStart.js.map\n","import { WINDOW } from '../../types.js';\nimport { generateUniqueID } from './generateUniqueID.js';\nimport { getActivationStart } from './getActivationStart.js';\nimport { getNavigationEntry } from './getNavigationEntry.js';\n\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst initMetric = (name, value) => {\n const navEntry = getNavigationEntry();\n let navigationType = 'navigate';\n\n if (navEntry) {\n if (WINDOW.document.prerendering || getActivationStart() > 0) {\n navigationType = 'prerender';\n } else {\n navigationType = navEntry.type.replace(/_/g, '-') ;\n }\n }\n\n return {\n name,\n value: typeof value === 'undefined' ? -1 : value,\n rating: 'good', // Will be updated if the value changes.\n delta: 0,\n entries: [],\n id: generateUniqueID(),\n navigationType,\n };\n};\n\nexport { initMetric };\n//# sourceMappingURL=initMetric.js.map\n","/**\n * Takes a performance entry type and a callback function, and creates a\n * `PerformanceObserver` instance that will observe the specified entry type\n * with buffering enabled and call the callback _for each entry_.\n *\n * This function also feature-detects entry support and wraps the logic in a\n * try/catch to avoid errors in unsupporting browsers.\n */\nconst observe = (\n type,\n callback,\n opts,\n) => {\n try {\n if (PerformanceObserver.supportedEntryTypes.includes(type)) {\n const po = new PerformanceObserver(list => {\n callback(list.getEntries() );\n });\n po.observe(\n Object.assign(\n {\n type,\n buffered: true,\n },\n opts || {},\n ) ,\n );\n return po;\n }\n } catch (e) {\n // Do nothing.\n }\n return;\n};\n\nexport { observe };\n//# sourceMappingURL=observe.js.map\n","import { WINDOW } from '../../types.js';\n\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst onHidden = (cb, once) => {\n const onHiddenOrPageHide = (event) => {\n if (event.type === 'pagehide' || WINDOW.document.visibilityState === 'hidden') {\n cb(event);\n if (once) {\n removeEventListener('visibilitychange', onHiddenOrPageHide, true);\n removeEventListener('pagehide', onHiddenOrPageHide, true);\n }\n }\n };\n addEventListener('visibilitychange', onHiddenOrPageHide, true);\n // Some browsers have buggy implementations of visibilitychange,\n // so we use pagehide in addition, just to be safe.\n addEventListener('pagehide', onHiddenOrPageHide, true);\n};\n\nexport { onHidden };\n//# sourceMappingURL=onHidden.js.map\n","import { bindReporter } from './lib/bindReporter.js';\nimport { initMetric } from './lib/initMetric.js';\nimport { observe } from './lib/observe.js';\nimport { onHidden } from './lib/onHidden.js';\n\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Calculates the [CLS](https://web.dev/cls/) value for the current page and\n * calls the `callback` function once the value is ready to be reported, along\n * with all `layout-shift` performance entries that were used in the metric\n * value calculation. The reported value is a `double` (corresponding to a\n * [layout shift score](https://web.dev/cls/#layout-shift-score)).\n *\n * If the `reportAllChanges` configuration option is set to `true`, the\n * `callback` function will be called as soon as the value is initially\n * determined as well as any time the value changes throughout the page\n * lifespan.\n *\n * _**Important:** CLS should be continually monitored for changes throughout\n * the entire lifespan of a page—including if the user returns to the page after\n * it's been hidden/backgrounded. However, since browsers often [will not fire\n * additional callbacks once the user has backgrounded a\n * page](https://developer.chrome.com/blog/page-lifecycle-api/#advice-hidden),\n * `callback` is always called when the page's visibility state changes to\n * hidden. As a result, the `callback` function might be called multiple times\n * during the same page load._\n */\nconst onCLS = (onReport) => {\n const metric = initMetric('CLS', 0);\n let report;\n\n let sessionValue = 0;\n let sessionEntries = [];\n\n // const handleEntries = (entries: Metric['entries']) => {\n const handleEntries = (entries) => {\n entries.forEach(entry => {\n // Only count layout shifts without recent user input.\n if (!entry.hadRecentInput) {\n const firstSessionEntry = sessionEntries[0];\n const lastSessionEntry = sessionEntries[sessionEntries.length - 1];\n\n // If the entry occurred less than 1 second after the previous entry and\n // less than 5 seconds after the first entry in the session, include the\n // entry in the current session. Otherwise, start a new session.\n if (\n sessionValue &&\n sessionEntries.length !== 0 &&\n entry.startTime - lastSessionEntry.startTime < 1000 &&\n entry.startTime - firstSessionEntry.startTime < 5000\n ) {\n sessionValue += entry.value;\n sessionEntries.push(entry);\n } else {\n sessionValue = entry.value;\n sessionEntries = [entry];\n }\n\n // If the current session value is larger than the current CLS value,\n // update CLS and the entries contributing to it.\n if (sessionValue > metric.value) {\n metric.value = sessionValue;\n metric.entries = sessionEntries;\n if (report) {\n report();\n }\n }\n }\n });\n };\n\n const po = observe('layout-shift', handleEntries);\n if (po) {\n report = bindReporter(onReport, metric);\n\n const stopListening = () => {\n handleEntries(po.takeRecords() );\n report(true);\n };\n\n onHidden(stopListening);\n\n return stopListening;\n }\n\n return;\n};\n\nexport { onCLS };\n//# sourceMappingURL=getCLS.js.map\n","import { WINDOW } from '../../types.js';\nimport { onHidden } from './onHidden.js';\n\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nlet firstHiddenTime = -1;\n\nconst initHiddenTime = () => {\n // If the document is hidden and not prerendering, assume it was always\n // hidden and the page was loaded in the background.\n return WINDOW.document.visibilityState === 'hidden' && !WINDOW.document.prerendering ? 0 : Infinity;\n};\n\nconst trackChanges = () => {\n // Update the time if/when the document becomes hidden.\n onHidden(({ timeStamp }) => {\n firstHiddenTime = timeStamp;\n }, true);\n};\n\nconst getVisibilityWatcher = (\n\n) => {\n if (firstHiddenTime < 0) {\n // If the document is hidden when this code runs, assume it was hidden\n // since navigation start. This isn't a perfect heuristic, but it's the\n // best we can do until an API is available to support querying past\n // visibilityState.\n firstHiddenTime = initHiddenTime();\n trackChanges();\n }\n return {\n get firstHiddenTime() {\n return firstHiddenTime;\n },\n };\n};\n\nexport { getVisibilityWatcher };\n//# sourceMappingURL=getVisibilityWatcher.js.map\n","import { bindReporter } from './lib/bindReporter.js';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher.js';\nimport { initMetric } from './lib/initMetric.js';\nimport { observe } from './lib/observe.js';\nimport { onHidden } from './lib/onHidden.js';\n\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Calculates the [FID](https://web.dev/fid/) value for the current page and\n * calls the `callback` function once the value is ready, along with the\n * relevant `first-input` performance entry used to determine the value. The\n * reported value is a `DOMHighResTimeStamp`.\n *\n * _**Important:** since FID is only reported after the user interacts with the\n * page, it's possible that it will not be reported for some page loads._\n */\nconst onFID = (onReport) => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('FID');\n // eslint-disable-next-line prefer-const\n let report;\n\n const handleEntry = (entry) => {\n // Only report if the page wasn't hidden prior to the first input.\n if (entry.startTime < visibilityWatcher.firstHiddenTime) {\n metric.value = entry.processingStart - entry.startTime;\n metric.entries.push(entry);\n report(true);\n }\n };\n\n const handleEntries = (entries) => {\n (entries ).forEach(handleEntry);\n };\n\n const po = observe('first-input', handleEntries);\n report = bindReporter(onReport, metric);\n\n if (po) {\n onHidden(() => {\n handleEntries(po.takeRecords() );\n po.disconnect();\n }, true);\n }\n};\n\nexport { onFID };\n//# sourceMappingURL=getFID.js.map\n","import { observe } from '../observe.js';\n\nlet interactionCountEstimate = 0;\nlet minKnownInteractionId = Infinity;\nlet maxKnownInteractionId = 0;\n\nconst updateEstimate = (entries) => {\n (entries ).forEach(e => {\n if (e.interactionId) {\n minKnownInteractionId = Math.min(minKnownInteractionId, e.interactionId);\n maxKnownInteractionId = Math.max(maxKnownInteractionId, e.interactionId);\n\n interactionCountEstimate = maxKnownInteractionId ? (maxKnownInteractionId - minKnownInteractionId) / 7 + 1 : 0;\n }\n });\n};\n\nlet po;\n\n/**\n * Returns the `interactionCount` value using the native API (if available)\n * or the polyfill estimate in this module.\n */\nconst getInteractionCount = () => {\n return po ? interactionCountEstimate : performance.interactionCount || 0;\n};\n\n/**\n * Feature detects native support or initializes the polyfill if needed.\n */\nconst initInteractionCountPolyfill = () => {\n if ('interactionCount' in performance || po) return;\n\n po = observe('event', updateEstimate, {\n type: 'event',\n buffered: true,\n durationThreshold: 0,\n } );\n};\n\nexport { getInteractionCount, initInteractionCountPolyfill };\n//# sourceMappingURL=interactionCountPolyfill.js.map\n","import { bindReporter } from './lib/bindReporter.js';\nimport { initMetric } from './lib/initMetric.js';\nimport { observe } from './lib/observe.js';\nimport { onHidden } from './lib/onHidden.js';\nimport { initInteractionCountPolyfill, getInteractionCount } from './lib/polyfills/interactionCountPolyfill.js';\n\n/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Returns the interaction count since the last bfcache restore (or for the\n * full page lifecycle if there were no bfcache restores).\n */\nconst getInteractionCountForNavigation = () => {\n return getInteractionCount();\n};\n\n// To prevent unnecessary memory usage on pages with lots of interactions,\n// store at most 10 of the longest interactions to consider as INP candidates.\nconst MAX_INTERACTIONS_TO_CONSIDER = 10;\n\n// A list of longest interactions on the page (by latency) sorted so the\n// longest one is first. The list is as most MAX_INTERACTIONS_TO_CONSIDER long.\nconst longestInteractionList = [];\n\n// A mapping of longest interactions by their interaction ID.\n// This is used for faster lookup.\nconst longestInteractionMap = {};\n\n/**\n * Takes a performance entry and adds it to the list of worst interactions\n * if its duration is long enough to make it among the worst. If the\n * entry is part of an existing interaction, it is merged and the latency\n * and entries list is updated as needed.\n */\nconst processEntry = (entry) => {\n // The least-long of the 10 longest interactions.\n const minLongestInteraction = longestInteractionList[longestInteractionList.length - 1];\n\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const existingInteraction = longestInteractionMap[entry.interactionId];\n\n // Only process the entry if it's possibly one of the ten longest,\n // or if it's part of an existing interaction.\n if (\n existingInteraction ||\n longestInteractionList.length < MAX_INTERACTIONS_TO_CONSIDER ||\n entry.duration > minLongestInteraction.latency\n ) {\n // If the interaction already exists, update it. Otherwise create one.\n if (existingInteraction) {\n existingInteraction.entries.push(entry);\n existingInteraction.latency = Math.max(existingInteraction.latency, entry.duration);\n } else {\n const interaction = {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n id: entry.interactionId,\n latency: entry.duration,\n entries: [entry],\n };\n longestInteractionMap[interaction.id] = interaction;\n longestInteractionList.push(interaction);\n }\n\n // Sort the entries by latency (descending) and keep only the top ten.\n longestInteractionList.sort((a, b) => b.latency - a.latency);\n longestInteractionList.splice(MAX_INTERACTIONS_TO_CONSIDER).forEach(i => {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete longestInteractionMap[i.id];\n });\n }\n};\n\n/**\n * Returns the estimated p98 longest interaction based on the stored\n * interaction candidates and the interaction count for the current page.\n */\nconst estimateP98LongestInteraction = () => {\n const candidateInteractionIndex = Math.min(\n longestInteractionList.length - 1,\n Math.floor(getInteractionCountForNavigation() / 50),\n );\n\n return longestInteractionList[candidateInteractionIndex];\n};\n\n/**\n * Calculates the [INP](https://web.dev/responsiveness/) value for the current\n * page and calls the `callback` function once the value is ready, along with\n * the `event` performance entries reported for that interaction. The reported\n * value is a `DOMHighResTimeStamp`.\n *\n * A custom `durationThreshold` configuration option can optionally be passed to\n * control what `event-timing` entries are considered for INP reporting. The\n * default threshold is `40`, which means INP scores of less than 40 are\n * reported as 0. Note that this will not affect your 75th percentile INP value\n * unless that value is also less than 40 (well below the recommended\n * [good](https://web.dev/inp/#what-is-a-good-inp-score) threshold).\n *\n * If the `reportAllChanges` configuration option is set to `true`, the\n * `callback` function will be called as soon as the value is initially\n * determined as well as any time the value changes throughout the page\n * lifespan.\n *\n * _**Important:** INP should be continually monitored for changes throughout\n * the entire lifespan of a page—including if the user returns to the page after\n * it's been hidden/backgrounded. However, since browsers often [will not fire\n * additional callbacks once the user has backgrounded a\n * page](https://developer.chrome.com/blog/page-lifecycle-api/#advice-hidden),\n * `callback` is always called when the page's visibility state changes to\n * hidden. As a result, the `callback` function might be called multiple times\n * during the same page load._\n */\nconst onINP = (onReport, opts) => {\n // Set defaults\n // eslint-disable-next-line no-param-reassign\n opts = opts || {};\n\n // https://web.dev/inp/#what's-a-%22good%22-inp-value\n // const thresholds = [200, 500];\n\n // TODO(philipwalton): remove once the polyfill is no longer needed.\n initInteractionCountPolyfill();\n\n const metric = initMetric('INP');\n // eslint-disable-next-line prefer-const\n let report;\n\n const handleEntries = (entries) => {\n entries.forEach(entry => {\n if (entry.interactionId) {\n processEntry(entry);\n }\n\n // Entries of type `first-input` don't currently have an `interactionId`,\n // so to consider them in INP we have to first check that an existing\n // entry doesn't match the `duration` and `startTime`.\n // Note that this logic assumes that `event` entries are dispatched\n // before `first-input` entries. This is true in Chrome but it is not\n // true in Firefox; however, Firefox doesn't support interactionId, so\n // it's not an issue at the moment.\n // TODO(philipwalton): remove once crbug.com/1325826 is fixed.\n if (entry.entryType === 'first-input') {\n const noMatchingEntry = !longestInteractionList.some(interaction => {\n return interaction.entries.some(prevEntry => {\n return entry.duration === prevEntry.duration && entry.startTime === prevEntry.startTime;\n });\n });\n if (noMatchingEntry) {\n processEntry(entry);\n }\n }\n });\n\n const inp = estimateP98LongestInteraction();\n\n if (inp && inp.latency !== metric.value) {\n metric.value = inp.latency;\n metric.entries = inp.entries;\n report();\n }\n };\n\n const po = observe('event', handleEntries, {\n // Event Timing entries have their durations rounded to the nearest 8ms,\n // so a duration of 40ms would be any event that spans 2.5 or more frames\n // at 60Hz. This threshold is chosen to strike a balance between usefulness\n // and performance. Running this callback for any interaction that spans\n // just one or two frames is likely not worth the insight that could be\n // gained.\n durationThreshold: opts.durationThreshold || 40,\n } );\n\n report = bindReporter(onReport, metric, opts.reportAllChanges);\n\n if (po) {\n // Also observe entries of type `first-input`. This is useful in cases\n // where the first interaction is less than the `durationThreshold`.\n po.observe({ type: 'first-input', buffered: true });\n\n onHidden(() => {\n handleEntries(po.takeRecords() );\n\n // If the interaction count shows that there were interactions but\n // none were captured by the PerformanceObserver, report a latency of 0.\n if (metric.value < 0 && getInteractionCountForNavigation() > 0) {\n metric.value = 0;\n metric.entries = [];\n }\n\n report(true);\n });\n }\n};\n\nexport { onINP };\n//# sourceMappingURL=getINP.js.map\n","import { bindReporter } from './lib/bindReporter.js';\nimport { getActivationStart } from './lib/getActivationStart.js';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher.js';\nimport { initMetric } from './lib/initMetric.js';\nimport { observe } from './lib/observe.js';\nimport { onHidden } from './lib/onHidden.js';\n\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst reportedMetricIDs = {};\n\n/**\n * Calculates the [LCP](https://web.dev/lcp/) value for the current page and\n * calls the `callback` function once the value is ready (along with the\n * relevant `largest-contentful-paint` performance entry used to determine the\n * value). The reported value is a `DOMHighResTimeStamp`.\n */\nconst onLCP = (onReport) => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('LCP');\n let report;\n\n const handleEntries = (entries) => {\n const lastEntry = entries[entries.length - 1] ;\n if (lastEntry) {\n // The startTime attribute returns the value of the renderTime if it is\n // not 0, and the value of the loadTime otherwise. The activationStart\n // reference is used because LCP should be relative to page activation\n // rather than navigation start if the page was prerendered.\n const value = Math.max(lastEntry.startTime - getActivationStart(), 0);\n\n // Only report if the page wasn't hidden prior to LCP.\n if (value < visibilityWatcher.firstHiddenTime) {\n metric.value = value;\n metric.entries = [lastEntry];\n report();\n }\n }\n };\n\n const po = observe('largest-contentful-paint', handleEntries);\n\n if (po) {\n report = bindReporter(onReport, metric);\n\n const stopListening = () => {\n if (!reportedMetricIDs[metric.id]) {\n handleEntries(po.takeRecords() );\n po.disconnect();\n reportedMetricIDs[metric.id] = true;\n report(true);\n }\n };\n\n // Stop listening after input. Note: while scrolling is an input that\n // stop LCP observation, it's unreliable since it can be programmatically\n // generated. See: https://github.com/GoogleChrome/web-vitals/issues/75\n ['keydown', 'click'].forEach(type => {\n addEventListener(type, stopListening, { once: true, capture: true });\n });\n\n onHidden(stopListening, true);\n\n return stopListening;\n }\n\n return;\n};\n\nexport { onLCP };\n//# sourceMappingURL=getLCP.js.map\n","import { WINDOW } from '../types.js';\nimport { bindReporter } from './lib/bindReporter.js';\nimport { getActivationStart } from './lib/getActivationStart.js';\nimport { getNavigationEntry } from './lib/getNavigationEntry.js';\nimport { initMetric } from './lib/initMetric.js';\n\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Runs in the next task after the page is done loading and/or prerendering.\n * @param callback\n */\nconst whenReady = (callback) => {\n if (!WINDOW.document) {\n return;\n }\n\n if (WINDOW.document.prerendering) {\n addEventListener('prerenderingchange', () => whenReady(callback), true);\n } else if (WINDOW.document.readyState !== 'complete') {\n addEventListener('load', () => whenReady(callback), true);\n } else {\n // Queue a task so the callback runs after `loadEventEnd`.\n setTimeout(callback, 0);\n }\n};\n\n/**\n * Calculates the [TTFB](https://web.dev/time-to-first-byte/) value for the\n * current page and calls the `callback` function once the page has loaded,\n * along with the relevant `navigation` performance entry used to determine the\n * value. The reported value is a `DOMHighResTimeStamp`.\n *\n * Note, this function waits until after the page is loaded to call `callback`\n * in order to ensure all properties of the `navigation` entry are populated.\n * This is useful if you want to report on other metrics exposed by the\n * [Navigation Timing API](https://w3c.github.io/navigation-timing/). For\n * example, the TTFB metric starts from the page's [time\n * origin](https://www.w3.org/TR/hr-time-2/#sec-time-origin), which means it\n * includes time spent on DNS lookup, connection negotiation, network latency,\n * and server processing time.\n */\nconst onTTFB = (onReport, opts) => {\n // Set defaults\n // eslint-disable-next-line no-param-reassign\n opts = opts || {};\n\n // https://web.dev/ttfb/#what-is-a-good-ttfb-score\n // const thresholds = [800, 1800];\n\n const metric = initMetric('TTFB');\n const report = bindReporter(onReport, metric, opts.reportAllChanges);\n\n whenReady(() => {\n const navEntry = getNavigationEntry() ;\n\n if (navEntry) {\n // The activationStart reference is used because TTFB should be\n // relative to page activation rather than navigation start if the\n // page was prerendered. But in cases where `activationStart` occurs\n // after the first byte is received, this time should be clamped at 0.\n metric.value = Math.max(navEntry.responseStart - getActivationStart(), 0);\n\n // In some cases the value reported is negative or is larger\n // than the current page time. Ignore these cases:\n // https://github.com/GoogleChrome/web-vitals/issues/137\n // https://github.com/GoogleChrome/web-vitals/issues/162\n if (metric.value < 0 || metric.value > performance.now()) return;\n\n metric.entries = [navEntry];\n\n report(true);\n }\n });\n};\n\nexport { onTTFB };\n//# sourceMappingURL=onTTFB.js.map\n","import { logger, getFunctionName } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../common/debug-build.js';\nimport { onCLS } from './web-vitals/getCLS.js';\nimport { onFID } from './web-vitals/getFID.js';\nimport { onINP } from './web-vitals/getINP.js';\nimport { onLCP } from './web-vitals/getLCP.js';\nimport { observe } from './web-vitals/lib/observe.js';\nimport { onTTFB } from './web-vitals/onTTFB.js';\n\nconst handlers = {};\nconst instrumented = {};\n\nlet _previousCls;\nlet _previousFid;\nlet _previousLcp;\nlet _previousTtfb;\nlet _previousInp;\n\n/**\n * Add a callback that will be triggered when a CLS metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n *\n * Pass `stopOnCallback = true` to stop listening for CLS when the cleanup callback is called.\n * This will lead to the CLS being finalized and frozen.\n */\nfunction addClsInstrumentationHandler(\n callback,\n stopOnCallback = false,\n) {\n return addMetricObserver('cls', callback, instrumentCls, _previousCls, stopOnCallback);\n}\n\n/**\n * Add a callback that will be triggered when a LCP metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n *\n * Pass `stopOnCallback = true` to stop listening for LCP when the cleanup callback is called.\n * This will lead to the LCP being finalized and frozen.\n */\nfunction addLcpInstrumentationHandler(\n callback,\n stopOnCallback = false,\n) {\n return addMetricObserver('lcp', callback, instrumentLcp, _previousLcp, stopOnCallback);\n}\n\n/**\n * Add a callback that will be triggered when a FID metric is available.\n */\nfunction addTtfbInstrumentationHandler(callback) {\n return addMetricObserver('ttfb', callback, instrumentTtfb, _previousTtfb);\n}\n\n/**\n * Add a callback that will be triggered when a FID metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n */\nfunction addFidInstrumentationHandler(callback) {\n return addMetricObserver('fid', callback, instrumentFid, _previousFid);\n}\n\n/**\n * Add a callback that will be triggered when a INP metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n */\nfunction addInpInstrumentationHandler(\n callback,\n) {\n return addMetricObserver('inp', callback, instrumentInp, _previousInp);\n}\n\n/**\n * Add a callback that will be triggered when a performance observer is triggered,\n * and receives the entries of the observer.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n */\nfunction addPerformanceInstrumentationHandler(\n type,\n callback,\n) {\n addHandler(type, callback);\n\n if (!instrumented[type]) {\n instrumentPerformanceObserver(type);\n instrumented[type] = true;\n }\n\n return getCleanupCallback(type, callback);\n}\n\n/** Trigger all handlers of a given type. */\nfunction triggerHandlers(type, data) {\n const typeHandlers = handlers[type];\n\n if (!typeHandlers || !typeHandlers.length) {\n return;\n }\n\n for (const handler of typeHandlers) {\n try {\n handler(data);\n } catch (e) {\n DEBUG_BUILD &&\n logger.error(\n `Error while triggering instrumentation handler.\\nType: ${type}\\nName: ${getFunctionName(handler)}\\nError:`,\n e,\n );\n }\n }\n}\n\nfunction instrumentCls() {\n return onCLS(metric => {\n triggerHandlers('cls', {\n metric,\n });\n _previousCls = metric;\n });\n}\n\nfunction instrumentFid() {\n return onFID(metric => {\n triggerHandlers('fid', {\n metric,\n });\n _previousFid = metric;\n });\n}\n\nfunction instrumentLcp() {\n return onLCP(metric => {\n triggerHandlers('lcp', {\n metric,\n });\n _previousLcp = metric;\n });\n}\n\nfunction instrumentTtfb() {\n return onTTFB(metric => {\n triggerHandlers('ttfb', {\n metric,\n });\n _previousTtfb = metric;\n });\n}\n\nfunction instrumentInp() {\n return onINP(metric => {\n triggerHandlers('inp', {\n metric,\n });\n _previousInp = metric;\n });\n}\n\nfunction addMetricObserver(\n type,\n callback,\n instrumentFn,\n previousValue,\n stopOnCallback = false,\n) {\n addHandler(type, callback);\n\n let stopListening;\n\n if (!instrumented[type]) {\n stopListening = instrumentFn();\n instrumented[type] = true;\n }\n\n if (previousValue) {\n callback({ metric: previousValue });\n }\n\n return getCleanupCallback(type, callback, stopOnCallback ? stopListening : undefined);\n}\n\nfunction instrumentPerformanceObserver(type) {\n const options = {};\n\n // Special per-type options we want to use\n if (type === 'event') {\n options.durationThreshold = 0;\n }\n\n observe(\n type,\n entries => {\n triggerHandlers(type, { entries });\n },\n options,\n );\n}\n\nfunction addHandler(type, handler) {\n handlers[type] = handlers[type] || [];\n (handlers[type] ).push(handler);\n}\n\n// Get a callback which can be called to remove the instrumentation handler\nfunction getCleanupCallback(\n type,\n callback,\n stopListening,\n) {\n return () => {\n if (stopListening) {\n stopListening();\n }\n\n const typeHandlers = handlers[type];\n\n if (!typeHandlers) {\n return;\n }\n\n const index = typeHandlers.indexOf(callback);\n if (index !== -1) {\n typeHandlers.splice(index, 1);\n }\n };\n}\n\nexport { addClsInstrumentationHandler, addFidInstrumentationHandler, addInpInstrumentationHandler, addLcpInstrumentationHandler, addPerformanceInstrumentationHandler, addTtfbInstrumentationHandler };\n//# sourceMappingURL=instrument.js.map\n","import { dsnToString, createEnvelope } from '@sentry/utils';\n\n/**\n * Create envelope from Span item.\n */\nfunction createSpanEnvelope(spans, dsn) {\n const headers = {\n sent_at: new Date().toISOString(),\n };\n\n if (dsn) {\n headers.dsn = dsnToString(dsn);\n }\n\n const items = spans.map(createSpanItem);\n return createEnvelope(headers, items);\n}\n\nfunction createSpanItem(span) {\n const spanHeaders = {\n type: 'span',\n };\n return [spanHeaders, span];\n}\n\nexport { createSpanEnvelope };\n//# sourceMappingURL=span.js.map\n","import { getActiveTransaction } from './utils.js';\n\n/**\n * Adds a measurement to the current active transaction.\n */\nfunction setMeasurement(name, value, unit) {\n // eslint-disable-next-line deprecation/deprecation\n const transaction = getActiveTransaction();\n if (transaction) {\n // eslint-disable-next-line deprecation/deprecation\n transaction.setMeasurement(name, value, unit);\n }\n}\n\nexport { setMeasurement };\n//# sourceMappingURL=measurement.js.map\n","/**\n * Checks if a given value is a valid measurement value.\n */\nfunction isMeasurementValue(value) {\n return typeof value === 'number' && isFinite(value);\n}\n\n/**\n * Helper function to start child on transactions. This function will make sure that the transaction will\n * use the start timestamp of the created child span if it is earlier than the transactions actual\n * start timestamp.\n *\n * Note: this will not be possible anymore in v8,\n * unless we do some special handling for browser here...\n */\nfunction _startChild(transaction, { startTimestamp, ...ctx }) {\n // eslint-disable-next-line deprecation/deprecation\n if (startTimestamp && transaction.startTimestamp > startTimestamp) {\n // eslint-disable-next-line deprecation/deprecation\n transaction.startTimestamp = startTimestamp;\n }\n\n // eslint-disable-next-line deprecation/deprecation\n return transaction.startChild({\n startTimestamp,\n ...ctx,\n });\n}\n\nexport { _startChild, isMeasurementValue };\n//# sourceMappingURL=utils.js.map\n","import { getActiveTransaction, spanToJSON, setMeasurement, getClient, Span, createSpanEnvelope, hasTracingEnabled, isValidSampleRate } from '@sentry/core';\nimport { browserPerformanceTimeOrigin, htmlTreeAsString, getComponentName, logger, parseUrl } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../../common/debug-build.js';\nimport { addPerformanceInstrumentationHandler, addClsInstrumentationHandler, addLcpInstrumentationHandler, addFidInstrumentationHandler, addTtfbInstrumentationHandler, addInpInstrumentationHandler } from '../instrument.js';\nimport { WINDOW } from '../types.js';\nimport { getVisibilityWatcher } from '../web-vitals/lib/getVisibilityWatcher.js';\nimport { _startChild, isMeasurementValue } from './utils.js';\nimport { getNavigationEntry } from '../web-vitals/lib/getNavigationEntry.js';\n\nconst MAX_INT_AS_BYTES = 2147483647;\n\n/**\n * Converts from milliseconds to seconds\n * @param time time in ms\n */\nfunction msToSec(time) {\n return time / 1000;\n}\n\nfunction getBrowserPerformanceAPI() {\n // @ts-expect-error we want to make sure all of these are available, even if TS is sure they are\n return WINDOW && WINDOW.addEventListener && WINDOW.performance;\n}\n\nlet _performanceCursor = 0;\n\nlet _measurements = {};\nlet _lcpEntry;\nlet _clsEntry;\n\n/**\n * Start tracking web vitals.\n * The callback returned by this function can be used to stop tracking & ensure all measurements are final & captured.\n *\n * @returns A function that forces web vitals collection\n */\nfunction startTrackingWebVitals() {\n const performance = getBrowserPerformanceAPI();\n if (performance && browserPerformanceTimeOrigin) {\n // @ts-expect-error we want to make sure all of these are available, even if TS is sure they are\n if (performance.mark) {\n WINDOW.performance.mark('sentry-tracing-init');\n }\n const fidCallback = _trackFID();\n const clsCallback = _trackCLS();\n const lcpCallback = _trackLCP();\n const ttfbCallback = _trackTtfb();\n\n return () => {\n fidCallback();\n clsCallback();\n lcpCallback();\n ttfbCallback();\n };\n }\n\n return () => undefined;\n}\n\n/**\n * Start tracking long tasks.\n */\nfunction startTrackingLongTasks() {\n addPerformanceInstrumentationHandler('longtask', ({ entries }) => {\n for (const entry of entries) {\n // eslint-disable-next-line deprecation/deprecation\n const transaction = getActiveTransaction() ;\n if (!transaction) {\n return;\n }\n const startTime = msToSec((browserPerformanceTimeOrigin ) + entry.startTime);\n const duration = msToSec(entry.duration);\n\n // eslint-disable-next-line deprecation/deprecation\n transaction.startChild({\n description: 'Main UI thread blocked',\n op: 'ui.long-task',\n origin: 'auto.ui.browser.metrics',\n startTimestamp: startTime,\n endTimestamp: startTime + duration,\n });\n }\n });\n}\n\n/**\n * Start tracking interaction events.\n */\nfunction startTrackingInteractions() {\n addPerformanceInstrumentationHandler('event', ({ entries }) => {\n for (const entry of entries) {\n // eslint-disable-next-line deprecation/deprecation\n const transaction = getActiveTransaction() ;\n if (!transaction) {\n return;\n }\n\n if (entry.name === 'click') {\n const startTime = msToSec((browserPerformanceTimeOrigin ) + entry.startTime);\n const duration = msToSec(entry.duration);\n\n const span = {\n description: htmlTreeAsString(entry.target),\n op: `ui.interaction.${entry.name}`,\n origin: 'auto.ui.browser.metrics',\n startTimestamp: startTime,\n endTimestamp: startTime + duration,\n };\n\n const componentName = getComponentName(entry.target);\n if (componentName) {\n span.attributes = { 'ui.component_name': componentName };\n }\n\n // eslint-disable-next-line deprecation/deprecation\n transaction.startChild(span);\n }\n }\n });\n}\n\n/**\n * Start tracking INP webvital events.\n */\nfunction startTrackingINP(interactionIdtoRouteNameMapping) {\n const performance = getBrowserPerformanceAPI();\n if (performance && browserPerformanceTimeOrigin) {\n const inpCallback = _trackINP(interactionIdtoRouteNameMapping);\n\n return () => {\n inpCallback();\n };\n }\n\n return () => undefined;\n}\n\n/** Starts tracking the Cumulative Layout Shift on the current page. */\nfunction _trackCLS() {\n return addClsInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1];\n if (!entry) {\n return;\n }\n\n DEBUG_BUILD && logger.log('[Measurements] Adding CLS');\n _measurements['cls'] = { value: metric.value, unit: '' };\n _clsEntry = entry ;\n }, true);\n}\n\n/** Starts tracking the Largest Contentful Paint on the current page. */\nfunction _trackLCP() {\n return addLcpInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1];\n if (!entry) {\n return;\n }\n\n DEBUG_BUILD && logger.log('[Measurements] Adding LCP');\n _measurements['lcp'] = { value: metric.value, unit: 'millisecond' };\n _lcpEntry = entry ;\n }, true);\n}\n\n/** Starts tracking the First Input Delay on the current page. */\nfunction _trackFID() {\n return addFidInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1];\n if (!entry) {\n return;\n }\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin );\n const startTime = msToSec(entry.startTime);\n DEBUG_BUILD && logger.log('[Measurements] Adding FID');\n _measurements['fid'] = { value: metric.value, unit: 'millisecond' };\n _measurements['mark.fid'] = { value: timeOrigin + startTime, unit: 'second' };\n });\n}\n\nfunction _trackTtfb() {\n return addTtfbInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1];\n if (!entry) {\n return;\n }\n\n DEBUG_BUILD && logger.log('[Measurements] Adding TTFB');\n _measurements['ttfb'] = { value: metric.value, unit: 'millisecond' };\n });\n}\n\nconst INP_ENTRY_MAP = {\n click: 'click',\n pointerdown: 'click',\n pointerup: 'click',\n mousedown: 'click',\n mouseup: 'click',\n touchstart: 'click',\n touchend: 'click',\n mouseover: 'hover',\n mouseout: 'hover',\n mouseenter: 'hover',\n mouseleave: 'hover',\n pointerover: 'hover',\n pointerout: 'hover',\n pointerenter: 'hover',\n pointerleave: 'hover',\n dragstart: 'drag',\n dragend: 'drag',\n drag: 'drag',\n dragenter: 'drag',\n dragleave: 'drag',\n dragover: 'drag',\n drop: 'drag',\n keydown: 'press',\n keyup: 'press',\n keypress: 'press',\n input: 'press',\n};\n\n/** Starts tracking the Interaction to Next Paint on the current page. */\nfunction _trackINP(interactionIdToRouteNameMapping) {\n return addInpInstrumentationHandler(({ metric }) => {\n if (metric.value === undefined) {\n return;\n }\n const entry = metric.entries.find(\n entry => entry.duration === metric.value && INP_ENTRY_MAP[entry.name] !== undefined,\n );\n const client = getClient();\n if (!entry || !client) {\n return;\n }\n const interactionType = INP_ENTRY_MAP[entry.name];\n const options = client.getOptions();\n /** Build the INP span, create an envelope from the span, and then send the envelope */\n const startTime = msToSec((browserPerformanceTimeOrigin ) + entry.startTime);\n const duration = msToSec(metric.value);\n const interaction =\n entry.interactionId !== undefined ? interactionIdToRouteNameMapping[entry.interactionId] : undefined;\n if (interaction === undefined) {\n return;\n }\n const { routeName, parentContext, activeTransaction, user, replayId } = interaction;\n const userDisplay = user !== undefined ? user.email || user.id || user.ip_address : undefined;\n // eslint-disable-next-line deprecation/deprecation\n const profileId = activeTransaction !== undefined ? activeTransaction.getProfileId() : undefined;\n const span = new Span({\n startTimestamp: startTime,\n endTimestamp: startTime + duration,\n op: `ui.interaction.${interactionType}`,\n name: htmlTreeAsString(entry.target),\n attributes: {\n release: options.release,\n environment: options.environment,\n transaction: routeName,\n ...(userDisplay !== undefined && userDisplay !== '' ? { user: userDisplay } : {}),\n ...(profileId !== undefined ? { profile_id: profileId } : {}),\n ...(replayId !== undefined ? { replay_id: replayId } : {}),\n },\n exclusiveTime: metric.value,\n measurements: {\n inp: { value: metric.value, unit: 'millisecond' },\n },\n });\n\n /** Check to see if the span should be sampled */\n const sampleRate = getSampleRate(parentContext, options);\n if (!sampleRate) {\n return;\n }\n\n if (Math.random() < (sampleRate )) {\n const envelope = span ? createSpanEnvelope([span], client.getDsn()) : undefined;\n const transport = client && client.getTransport();\n if (transport && envelope) {\n transport.send(envelope).then(null, reason => {\n DEBUG_BUILD && logger.error('Error while sending interaction:', reason);\n });\n }\n return;\n }\n });\n}\n\n/** Add performance related spans to a transaction */\nfunction addPerformanceEntries(transaction) {\n const performance = getBrowserPerformanceAPI();\n if (!performance || !WINDOW.performance.getEntries || !browserPerformanceTimeOrigin) {\n // Gatekeeper if performance API not available\n return;\n }\n\n DEBUG_BUILD && logger.log('[Tracing] Adding & adjusting spans using Performance API');\n const timeOrigin = msToSec(browserPerformanceTimeOrigin);\n\n const performanceEntries = performance.getEntries();\n\n const { op, start_timestamp: transactionStartTime } = spanToJSON(transaction);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n performanceEntries.slice(_performanceCursor).forEach((entry) => {\n const startTime = msToSec(entry.startTime);\n const duration = msToSec(entry.duration);\n\n // eslint-disable-next-line deprecation/deprecation\n if (transaction.op === 'navigation' && transactionStartTime && timeOrigin + startTime < transactionStartTime) {\n return;\n }\n\n switch (entry.entryType) {\n case 'navigation': {\n _addNavigationSpans(transaction, entry, timeOrigin);\n break;\n }\n case 'mark':\n case 'paint':\n case 'measure': {\n _addMeasureSpans(transaction, entry, startTime, duration, timeOrigin);\n\n // capture web vitals\n const firstHidden = getVisibilityWatcher();\n // Only report if the page wasn't hidden prior to the web vital.\n const shouldRecord = entry.startTime < firstHidden.firstHiddenTime;\n\n if (entry.name === 'first-paint' && shouldRecord) {\n DEBUG_BUILD && logger.log('[Measurements] Adding FP');\n _measurements['fp'] = { value: entry.startTime, unit: 'millisecond' };\n }\n if (entry.name === 'first-contentful-paint' && shouldRecord) {\n DEBUG_BUILD && logger.log('[Measurements] Adding FCP');\n _measurements['fcp'] = { value: entry.startTime, unit: 'millisecond' };\n }\n break;\n }\n case 'resource': {\n _addResourceSpans(transaction, entry, entry.name , startTime, duration, timeOrigin);\n break;\n }\n // Ignore other entry types.\n }\n });\n\n _performanceCursor = Math.max(performanceEntries.length - 1, 0);\n\n _trackNavigator(transaction);\n\n // Measurements are only available for pageload transactions\n if (op === 'pageload') {\n _addTtfbRequestTimeToMeasurements(_measurements);\n\n ['fcp', 'fp', 'lcp'].forEach(name => {\n if (!_measurements[name] || !transactionStartTime || timeOrigin >= transactionStartTime) {\n return;\n }\n // The web vitals, fcp, fp, lcp, and ttfb, all measure relative to timeOrigin.\n // Unfortunately, timeOrigin is not captured within the transaction span data, so these web vitals will need\n // to be adjusted to be relative to transaction.startTimestamp.\n const oldValue = _measurements[name].value;\n const measurementTimestamp = timeOrigin + msToSec(oldValue);\n\n // normalizedValue should be in milliseconds\n const normalizedValue = Math.abs((measurementTimestamp - transactionStartTime) * 1000);\n const delta = normalizedValue - oldValue;\n\n DEBUG_BUILD && logger.log(`[Measurements] Normalized ${name} from ${oldValue} to ${normalizedValue} (${delta})`);\n _measurements[name].value = normalizedValue;\n });\n\n const fidMark = _measurements['mark.fid'];\n if (fidMark && _measurements['fid']) {\n // create span for FID\n _startChild(transaction, {\n description: 'first input delay',\n endTimestamp: fidMark.value + msToSec(_measurements['fid'].value),\n op: 'ui.action',\n origin: 'auto.ui.browser.metrics',\n startTimestamp: fidMark.value,\n });\n\n // Delete mark.fid as we don't want it to be part of final payload\n delete _measurements['mark.fid'];\n }\n\n // If FCP is not recorded we should not record the cls value\n // according to the new definition of CLS.\n if (!('fcp' in _measurements)) {\n delete _measurements.cls;\n }\n\n Object.keys(_measurements).forEach(measurementName => {\n setMeasurement(measurementName, _measurements[measurementName].value, _measurements[measurementName].unit);\n });\n\n _tagMetricInfo(transaction);\n }\n\n _lcpEntry = undefined;\n _clsEntry = undefined;\n _measurements = {};\n}\n\n/** Create measure related spans */\nfunction _addMeasureSpans(\n transaction,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n entry,\n startTime,\n duration,\n timeOrigin,\n) {\n const measureStartTimestamp = timeOrigin + startTime;\n const measureEndTimestamp = measureStartTimestamp + duration;\n\n _startChild(transaction, {\n description: entry.name ,\n endTimestamp: measureEndTimestamp,\n op: entry.entryType ,\n origin: 'auto.resource.browser.metrics',\n startTimestamp: measureStartTimestamp,\n });\n\n return measureStartTimestamp;\n}\n\n/** Instrument navigation entries */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _addNavigationSpans(transaction, entry, timeOrigin) {\n ['unloadEvent', 'redirect', 'domContentLoadedEvent', 'loadEvent', 'connect'].forEach(event => {\n _addPerformanceNavigationTiming(transaction, entry, event, timeOrigin);\n });\n _addPerformanceNavigationTiming(transaction, entry, 'secureConnection', timeOrigin, 'TLS/SSL', 'connectEnd');\n _addPerformanceNavigationTiming(transaction, entry, 'fetch', timeOrigin, 'cache', 'domainLookupStart');\n _addPerformanceNavigationTiming(transaction, entry, 'domainLookup', timeOrigin, 'DNS');\n _addRequest(transaction, entry, timeOrigin);\n}\n\n/** Create performance navigation related spans */\nfunction _addPerformanceNavigationTiming(\n transaction,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n entry,\n event,\n timeOrigin,\n description,\n eventEnd,\n) {\n const end = eventEnd ? (entry[eventEnd] ) : (entry[`${event}End`] );\n const start = entry[`${event}Start`] ;\n if (!start || !end) {\n return;\n }\n _startChild(transaction, {\n op: 'browser',\n origin: 'auto.browser.browser.metrics',\n description: description || event,\n startTimestamp: timeOrigin + msToSec(start),\n endTimestamp: timeOrigin + msToSec(end),\n });\n}\n\n/** Create request and response related spans */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _addRequest(transaction, entry, timeOrigin) {\n if (entry.responseEnd) {\n // It is possible that we are collecting these metrics when the page hasn't finished loading yet, for example when the HTML slowly streams in.\n // In this case, ie. when the document request hasn't finished yet, `entry.responseEnd` will be 0.\n // In order not to produce faulty spans, where the end timestamp is before the start timestamp, we will only collect\n // these spans when the responseEnd value is available. The backend (Relay) would drop the entire transaction if it contained faulty spans.\n _startChild(transaction, {\n op: 'browser',\n origin: 'auto.browser.browser.metrics',\n description: 'request',\n startTimestamp: timeOrigin + msToSec(entry.requestStart ),\n endTimestamp: timeOrigin + msToSec(entry.responseEnd ),\n });\n\n _startChild(transaction, {\n op: 'browser',\n origin: 'auto.browser.browser.metrics',\n description: 'response',\n startTimestamp: timeOrigin + msToSec(entry.responseStart ),\n endTimestamp: timeOrigin + msToSec(entry.responseEnd ),\n });\n }\n}\n\n/** Create resource-related spans */\nfunction _addResourceSpans(\n transaction,\n entry,\n resourceUrl,\n startTime,\n duration,\n timeOrigin,\n) {\n // we already instrument based on fetch and xhr, so we don't need to\n // duplicate spans here.\n if (entry.initiatorType === 'xmlhttprequest' || entry.initiatorType === 'fetch') {\n return;\n }\n\n const parsedUrl = parseUrl(resourceUrl);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const data = {};\n setResourceEntrySizeData(data, entry, 'transferSize', 'http.response_transfer_size');\n setResourceEntrySizeData(data, entry, 'encodedBodySize', 'http.response_content_length');\n setResourceEntrySizeData(data, entry, 'decodedBodySize', 'http.decoded_response_content_length');\n\n if ('renderBlockingStatus' in entry) {\n data['resource.render_blocking_status'] = entry.renderBlockingStatus;\n }\n if (parsedUrl.protocol) {\n data['url.scheme'] = parsedUrl.protocol.split(':').pop(); // the protocol returned by parseUrl includes a :, but OTEL spec does not, so we remove it.\n }\n\n if (parsedUrl.host) {\n data['server.address'] = parsedUrl.host;\n }\n\n data['url.same_origin'] = resourceUrl.includes(WINDOW.location.origin);\n\n const startTimestamp = timeOrigin + startTime;\n const endTimestamp = startTimestamp + duration;\n\n _startChild(transaction, {\n description: resourceUrl.replace(WINDOW.location.origin, ''),\n endTimestamp,\n op: entry.initiatorType ? `resource.${entry.initiatorType}` : 'resource.other',\n origin: 'auto.resource.browser.metrics',\n startTimestamp,\n data,\n });\n}\n\n/**\n * Capture the information of the user agent.\n */\nfunction _trackNavigator(transaction) {\n const navigator = WINDOW.navigator ;\n if (!navigator) {\n return;\n }\n\n // track network connectivity\n const connection = navigator.connection;\n if (connection) {\n if (connection.effectiveType) {\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag('effectiveConnectionType', connection.effectiveType);\n }\n\n if (connection.type) {\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag('connectionType', connection.type);\n }\n\n if (isMeasurementValue(connection.rtt)) {\n _measurements['connection.rtt'] = { value: connection.rtt, unit: 'millisecond' };\n }\n }\n\n if (isMeasurementValue(navigator.deviceMemory)) {\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag('deviceMemory', `${navigator.deviceMemory} GB`);\n }\n\n if (isMeasurementValue(navigator.hardwareConcurrency)) {\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag('hardwareConcurrency', String(navigator.hardwareConcurrency));\n }\n}\n\n/** Add LCP / CLS data to transaction to allow debugging */\nfunction _tagMetricInfo(transaction) {\n if (_lcpEntry) {\n DEBUG_BUILD && logger.log('[Measurements] Adding LCP Data');\n\n // Capture Properties of the LCP element that contributes to the LCP.\n\n if (_lcpEntry.element) {\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag('lcp.element', htmlTreeAsString(_lcpEntry.element));\n }\n\n if (_lcpEntry.id) {\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag('lcp.id', _lcpEntry.id);\n }\n\n if (_lcpEntry.url) {\n // Trim URL to the first 200 characters.\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag('lcp.url', _lcpEntry.url.trim().slice(0, 200));\n }\n\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag('lcp.size', _lcpEntry.size);\n }\n\n // See: https://developer.mozilla.org/en-US/docs/Web/API/LayoutShift\n if (_clsEntry && _clsEntry.sources) {\n DEBUG_BUILD && logger.log('[Measurements] Adding CLS Data');\n _clsEntry.sources.forEach((source, index) =>\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag(`cls.source.${index + 1}`, htmlTreeAsString(source.node)),\n );\n }\n}\n\nfunction setResourceEntrySizeData(\n data,\n entry,\n key,\n dataKey,\n) {\n const entryVal = entry[key];\n if (entryVal != null && entryVal < MAX_INT_AS_BYTES) {\n data[dataKey] = entryVal;\n }\n}\n\n/**\n * Add ttfb request time information to measurements.\n *\n * ttfb information is added via vendored web vitals library.\n */\nfunction _addTtfbRequestTimeToMeasurements(_measurements) {\n const navEntry = getNavigationEntry();\n if (!navEntry) {\n return;\n }\n\n const { responseStart, requestStart } = navEntry;\n\n if (requestStart <= responseStart) {\n DEBUG_BUILD && logger.log('[Measurements] Adding TTFB Request Time');\n _measurements['ttfb.requestTime'] = {\n value: responseStart - requestStart,\n unit: 'millisecond',\n };\n }\n}\n\n/** Taken from @sentry/core sampling.ts */\nfunction getSampleRate(transactionContext, options) {\n if (!hasTracingEnabled(options)) {\n return false;\n }\n let sampleRate;\n if (transactionContext !== undefined && typeof options.tracesSampler === 'function') {\n sampleRate = options.tracesSampler({\n transactionContext,\n name: transactionContext.name,\n parentSampled: transactionContext.parentSampled,\n attributes: {\n // eslint-disable-next-line deprecation/deprecation\n ...transactionContext.data,\n ...transactionContext.attributes,\n },\n location: WINDOW.location,\n });\n } else if (transactionContext !== undefined && transactionContext.sampled !== undefined) {\n sampleRate = transactionContext.sampled;\n } else if (typeof options.tracesSampleRate !== 'undefined') {\n sampleRate = options.tracesSampleRate;\n } else {\n sampleRate = 1;\n }\n if (!isValidSampleRate(sampleRate)) {\n DEBUG_BUILD && logger.warn('[Tracing] Discarding transaction because of invalid sample rate.');\n return false;\n }\n return sampleRate;\n}\n\nexport { _addMeasureSpans, _addResourceSpans, addPerformanceEntries, startTrackingINP, startTrackingInteractions, startTrackingLongTasks, startTrackingWebVitals };\n//# sourceMappingURL=index.js.map\n","import { hasTracingEnabled, setHttpStatus, getCurrentScope, getClient, startInactiveSpan, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, getIsolationScope, spanToTraceHeader, getDynamicSamplingContextFromSpan, getDynamicSamplingContextFromClient } from '@sentry/core';\nimport { generateSentryTraceHeader, dynamicSamplingContextToSentryBaggageHeader, isInstanceOf, BAGGAGE_HEADER_NAME } from '@sentry/utils';\n\n/**\n * Create and track fetch request spans for usage in combination with `addInstrumentationHandler`.\n *\n * @returns Span if a span was created, otherwise void.\n */\nfunction instrumentFetchRequest(\n handlerData,\n shouldCreateSpan,\n shouldAttachHeaders,\n spans,\n spanOrigin = 'auto.http.browser',\n) {\n if (!hasTracingEnabled() || !handlerData.fetchData) {\n return undefined;\n }\n\n const shouldCreateSpanResult = shouldCreateSpan(handlerData.fetchData.url);\n\n if (handlerData.endTimestamp && shouldCreateSpanResult) {\n const spanId = handlerData.fetchData.__span;\n if (!spanId) return;\n\n const span = spans[spanId];\n if (span) {\n if (handlerData.response) {\n setHttpStatus(span, handlerData.response.status);\n\n const contentLength =\n handlerData.response && handlerData.response.headers && handlerData.response.headers.get('content-length');\n\n if (contentLength) {\n const contentLengthNum = parseInt(contentLength);\n if (contentLengthNum > 0) {\n span.setAttribute('http.response_content_length', contentLengthNum);\n }\n }\n } else if (handlerData.error) {\n span.setStatus('internal_error');\n }\n span.end();\n\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete spans[spanId];\n }\n return undefined;\n }\n\n const scope = getCurrentScope();\n const client = getClient();\n\n const { method, url } = handlerData.fetchData;\n\n const span = shouldCreateSpanResult\n ? startInactiveSpan({\n name: `${method} ${url}`,\n onlyIfParent: true,\n attributes: {\n url,\n type: 'fetch',\n 'http.method': method,\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: spanOrigin,\n },\n op: 'http.client',\n })\n : undefined;\n\n if (span) {\n handlerData.fetchData.__span = span.spanContext().spanId;\n spans[span.spanContext().spanId] = span;\n }\n\n if (shouldAttachHeaders(handlerData.fetchData.url) && client) {\n const request = handlerData.args[0];\n\n // In case the user hasn't set the second argument of a fetch call we default it to `{}`.\n handlerData.args[1] = handlerData.args[1] || {};\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const options = handlerData.args[1];\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access\n options.headers = addTracingHeadersToFetchRequest(request, client, scope, options, span);\n }\n\n return span;\n}\n\n/**\n * Adds sentry-trace and baggage headers to the various forms of fetch headers\n */\nfunction addTracingHeadersToFetchRequest(\n request, // unknown is actually type Request but we can't export DOM types from this package,\n client,\n scope,\n options\n\n,\n requestSpan,\n) {\n // eslint-disable-next-line deprecation/deprecation\n const span = requestSpan || scope.getSpan();\n\n const isolationScope = getIsolationScope();\n\n const { traceId, spanId, sampled, dsc } = {\n ...isolationScope.getPropagationContext(),\n ...scope.getPropagationContext(),\n };\n\n const sentryTraceHeader = span ? spanToTraceHeader(span) : generateSentryTraceHeader(traceId, spanId, sampled);\n\n const sentryBaggageHeader = dynamicSamplingContextToSentryBaggageHeader(\n dsc ||\n (span ? getDynamicSamplingContextFromSpan(span) : getDynamicSamplingContextFromClient(traceId, client, scope)),\n );\n\n const headers =\n options.headers ||\n (typeof Request !== 'undefined' && isInstanceOf(request, Request) ? (request ).headers : undefined);\n\n if (!headers) {\n return { 'sentry-trace': sentryTraceHeader, baggage: sentryBaggageHeader };\n } else if (typeof Headers !== 'undefined' && isInstanceOf(headers, Headers)) {\n const newHeaders = new Headers(headers );\n\n newHeaders.append('sentry-trace', sentryTraceHeader);\n\n if (sentryBaggageHeader) {\n // If the same header is appended multiple times the browser will merge the values into a single request header.\n // Its therefore safe to simply push a \"baggage\" entry, even though there might already be another baggage header.\n newHeaders.append(BAGGAGE_HEADER_NAME, sentryBaggageHeader);\n }\n\n return newHeaders ;\n } else if (Array.isArray(headers)) {\n const newHeaders = [...headers, ['sentry-trace', sentryTraceHeader]];\n\n if (sentryBaggageHeader) {\n // If there are multiple entries with the same key, the browser will merge the values into a single request header.\n // Its therefore safe to simply push a \"baggage\" entry, even though there might already be another baggage header.\n newHeaders.push([BAGGAGE_HEADER_NAME, sentryBaggageHeader]);\n }\n\n return newHeaders ;\n } else {\n const existingBaggageHeader = 'baggage' in headers ? headers.baggage : undefined;\n const newBaggageHeaders = [];\n\n if (Array.isArray(existingBaggageHeader)) {\n newBaggageHeaders.push(...existingBaggageHeader);\n } else if (existingBaggageHeader) {\n newBaggageHeaders.push(existingBaggageHeader);\n }\n\n if (sentryBaggageHeader) {\n newBaggageHeaders.push(sentryBaggageHeader);\n }\n\n return {\n ...(headers ),\n 'sentry-trace': sentryTraceHeader,\n baggage: newBaggageHeaders.length > 0 ? newBaggageHeaders.join(',') : undefined,\n };\n }\n}\n\nexport { addTracingHeadersToFetchRequest, instrumentFetchRequest };\n//# sourceMappingURL=fetch.js.map\n","import { spanToJSON, hasTracingEnabled, setHttpStatus, getCurrentScope, getIsolationScope, startInactiveSpan, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, getClient, spanToTraceHeader, getDynamicSamplingContextFromSpan, getDynamicSamplingContextFromClient } from '@sentry/core';\nimport { addFetchInstrumentationHandler, addXhrInstrumentationHandler, SENTRY_XHR_DATA_KEY, generateSentryTraceHeader, dynamicSamplingContextToSentryBaggageHeader, BAGGAGE_HEADER_NAME, browserPerformanceTimeOrigin, stringMatchesSomePattern } from '@sentry/utils';\nimport { instrumentFetchRequest } from '../common/fetch.js';\nimport { addPerformanceInstrumentationHandler } from './instrument.js';\n\n/* eslint-disable max-lines */\n\nconst DEFAULT_TRACE_PROPAGATION_TARGETS = ['localhost', /^\\/(?!\\/)/];\n\n/** Options for Request Instrumentation */\n\nconst defaultRequestInstrumentationOptions = {\n traceFetch: true,\n traceXHR: true,\n enableHTTPTimings: true,\n // TODO (v8): Remove this property\n tracingOrigins: DEFAULT_TRACE_PROPAGATION_TARGETS,\n tracePropagationTargets: DEFAULT_TRACE_PROPAGATION_TARGETS,\n};\n\n/** Registers span creators for xhr and fetch requests */\nfunction instrumentOutgoingRequests(_options) {\n const {\n traceFetch,\n traceXHR,\n // eslint-disable-next-line deprecation/deprecation\n tracePropagationTargets,\n // eslint-disable-next-line deprecation/deprecation\n tracingOrigins,\n shouldCreateSpanForRequest,\n enableHTTPTimings,\n } = {\n traceFetch: defaultRequestInstrumentationOptions.traceFetch,\n traceXHR: defaultRequestInstrumentationOptions.traceXHR,\n ..._options,\n };\n\n const shouldCreateSpan =\n typeof shouldCreateSpanForRequest === 'function' ? shouldCreateSpanForRequest : (_) => true;\n\n // TODO(v8) Remove tracingOrigins here\n // The only reason we're passing it in here is because this instrumentOutgoingRequests function is publicly exported\n // and we don't want to break the API. We can remove it in v8.\n const shouldAttachHeadersWithTargets = (url) =>\n shouldAttachHeaders(url, tracePropagationTargets || tracingOrigins);\n\n const spans = {};\n\n if (traceFetch) {\n addFetchInstrumentationHandler(handlerData => {\n const createdSpan = instrumentFetchRequest(handlerData, shouldCreateSpan, shouldAttachHeadersWithTargets, spans);\n if (enableHTTPTimings && createdSpan) {\n addHTTPTimings(createdSpan);\n }\n });\n }\n\n if (traceXHR) {\n addXhrInstrumentationHandler(handlerData => {\n const createdSpan = xhrCallback(handlerData, shouldCreateSpan, shouldAttachHeadersWithTargets, spans);\n if (enableHTTPTimings && createdSpan) {\n addHTTPTimings(createdSpan);\n }\n });\n }\n}\n\nfunction isPerformanceResourceTiming(entry) {\n return (\n entry.entryType === 'resource' &&\n 'initiatorType' in entry &&\n typeof (entry ).nextHopProtocol === 'string' &&\n (entry.initiatorType === 'fetch' || entry.initiatorType === 'xmlhttprequest')\n );\n}\n\n/**\n * Creates a temporary observer to listen to the next fetch/xhr resourcing timings,\n * so that when timings hit their per-browser limit they don't need to be removed.\n *\n * @param span A span that has yet to be finished, must contain `url` on data.\n */\nfunction addHTTPTimings(span) {\n const { url } = spanToJSON(span).data || {};\n\n if (!url || typeof url !== 'string') {\n return;\n }\n\n const cleanup = addPerformanceInstrumentationHandler('resource', ({ entries }) => {\n entries.forEach(entry => {\n if (isPerformanceResourceTiming(entry) && entry.name.endsWith(url)) {\n const spanData = resourceTimingEntryToSpanData(entry);\n spanData.forEach(data => span.setAttribute(...data));\n // In the next tick, clean this handler up\n // We have to wait here because otherwise this cleans itself up before it is fully done\n setTimeout(cleanup);\n }\n });\n });\n}\n\n/**\n * Converts ALPN protocol ids to name and version.\n *\n * (https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids)\n * @param nextHopProtocol PerformanceResourceTiming.nextHopProtocol\n */\nfunction extractNetworkProtocol(nextHopProtocol) {\n let name = 'unknown';\n let version = 'unknown';\n let _name = '';\n for (const char of nextHopProtocol) {\n // http/1.1 etc.\n if (char === '/') {\n [name, version] = nextHopProtocol.split('/');\n break;\n }\n // h2, h3 etc.\n if (!isNaN(Number(char))) {\n name = _name === 'h' ? 'http' : _name;\n version = nextHopProtocol.split(_name)[1];\n break;\n }\n _name += char;\n }\n if (_name === nextHopProtocol) {\n // webrtc, ftp, etc.\n name = _name;\n }\n return { name, version };\n}\n\nfunction getAbsoluteTime(time = 0) {\n return ((browserPerformanceTimeOrigin || performance.timeOrigin) + time) / 1000;\n}\n\nfunction resourceTimingEntryToSpanData(resourceTiming) {\n const { name, version } = extractNetworkProtocol(resourceTiming.nextHopProtocol);\n\n const timingSpanData = [];\n\n timingSpanData.push(['network.protocol.version', version], ['network.protocol.name', name]);\n\n if (!browserPerformanceTimeOrigin) {\n return timingSpanData;\n }\n return [\n ...timingSpanData,\n ['http.request.redirect_start', getAbsoluteTime(resourceTiming.redirectStart)],\n ['http.request.fetch_start', getAbsoluteTime(resourceTiming.fetchStart)],\n ['http.request.domain_lookup_start', getAbsoluteTime(resourceTiming.domainLookupStart)],\n ['http.request.domain_lookup_end', getAbsoluteTime(resourceTiming.domainLookupEnd)],\n ['http.request.connect_start', getAbsoluteTime(resourceTiming.connectStart)],\n ['http.request.secure_connection_start', getAbsoluteTime(resourceTiming.secureConnectionStart)],\n ['http.request.connection_end', getAbsoluteTime(resourceTiming.connectEnd)],\n ['http.request.request_start', getAbsoluteTime(resourceTiming.requestStart)],\n ['http.request.response_start', getAbsoluteTime(resourceTiming.responseStart)],\n ['http.request.response_end', getAbsoluteTime(resourceTiming.responseEnd)],\n ];\n}\n\n/**\n * A function that determines whether to attach tracing headers to a request.\n * This was extracted from `instrumentOutgoingRequests` to make it easier to test shouldAttachHeaders.\n * We only export this fuction for testing purposes.\n */\nfunction shouldAttachHeaders(url, tracePropagationTargets) {\n return stringMatchesSomePattern(url, tracePropagationTargets || DEFAULT_TRACE_PROPAGATION_TARGETS);\n}\n\n/**\n * Create and track xhr request spans\n *\n * @returns Span if a span was created, otherwise void.\n */\n// eslint-disable-next-line complexity\nfunction xhrCallback(\n handlerData,\n shouldCreateSpan,\n shouldAttachHeaders,\n spans,\n) {\n const xhr = handlerData.xhr;\n const sentryXhrData = xhr && xhr[SENTRY_XHR_DATA_KEY];\n\n if (!hasTracingEnabled() || !xhr || xhr.__sentry_own_request__ || !sentryXhrData) {\n return undefined;\n }\n\n const shouldCreateSpanResult = shouldCreateSpan(sentryXhrData.url);\n\n // check first if the request has finished and is tracked by an existing span which should now end\n if (handlerData.endTimestamp && shouldCreateSpanResult) {\n const spanId = xhr.__sentry_xhr_span_id__;\n if (!spanId) return;\n\n const span = spans[spanId];\n if (span && sentryXhrData.status_code !== undefined) {\n setHttpStatus(span, sentryXhrData.status_code);\n span.end();\n\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete spans[spanId];\n }\n return undefined;\n }\n\n const scope = getCurrentScope();\n const isolationScope = getIsolationScope();\n\n const span = shouldCreateSpanResult\n ? startInactiveSpan({\n name: `${sentryXhrData.method} ${sentryXhrData.url}`,\n onlyIfParent: true,\n attributes: {\n type: 'xhr',\n 'http.method': sentryXhrData.method,\n url: sentryXhrData.url,\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.http.browser',\n },\n op: 'http.client',\n })\n : undefined;\n\n if (span) {\n xhr.__sentry_xhr_span_id__ = span.spanContext().spanId;\n spans[xhr.__sentry_xhr_span_id__] = span;\n }\n\n const client = getClient();\n\n if (xhr.setRequestHeader && shouldAttachHeaders(sentryXhrData.url) && client) {\n const { traceId, spanId, sampled, dsc } = {\n ...isolationScope.getPropagationContext(),\n ...scope.getPropagationContext(),\n };\n\n const sentryTraceHeader = span ? spanToTraceHeader(span) : generateSentryTraceHeader(traceId, spanId, sampled);\n\n const sentryBaggageHeader = dynamicSamplingContextToSentryBaggageHeader(\n dsc ||\n (span ? getDynamicSamplingContextFromSpan(span) : getDynamicSamplingContextFromClient(traceId, client, scope)),\n );\n\n setHeaderOnXhr(xhr, sentryTraceHeader, sentryBaggageHeader);\n }\n\n return span;\n}\n\nfunction setHeaderOnXhr(\n xhr,\n sentryTraceHeader,\n sentryBaggageHeader,\n) {\n try {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n xhr.setRequestHeader('sentry-trace', sentryTraceHeader);\n if (sentryBaggageHeader) {\n // From MDN: \"If this method is called several times with the same header, the values are merged into one single request header.\"\n // We can therefore simply set a baggage header without checking what was there before\n // https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/setRequestHeader\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n xhr.setRequestHeader(BAGGAGE_HEADER_NAME, sentryBaggageHeader);\n }\n } catch (_) {\n // Error: InvalidStateError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED.\n }\n}\n\nexport { DEFAULT_TRACE_PROPAGATION_TARGETS, defaultRequestInstrumentationOptions, extractNetworkProtocol, instrumentOutgoingRequests, shouldAttachHeaders, xhrCallback };\n//# sourceMappingURL=request.js.map\n","import { logger, browserPerformanceTimeOrigin, addHistoryInstrumentationHandler } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../common/debug-build.js';\nimport { WINDOW } from './types.js';\n\n/**\n * Default function implementing pageload and navigation transactions\n */\nfunction instrumentRoutingWithDefaults(\n customStartTransaction,\n startTransactionOnPageLoad = true,\n startTransactionOnLocationChange = true,\n) {\n if (!WINDOW || !WINDOW.location) {\n DEBUG_BUILD && logger.warn('Could not initialize routing instrumentation due to invalid location');\n return;\n }\n\n let startingUrl = WINDOW.location.href;\n\n let activeTransaction;\n if (startTransactionOnPageLoad) {\n activeTransaction = customStartTransaction({\n name: WINDOW.location.pathname,\n // pageload should always start at timeOrigin (and needs to be in s, not ms)\n startTimestamp: browserPerformanceTimeOrigin ? browserPerformanceTimeOrigin / 1000 : undefined,\n op: 'pageload',\n origin: 'auto.pageload.browser',\n metadata: { source: 'url' },\n });\n }\n\n if (startTransactionOnLocationChange) {\n addHistoryInstrumentationHandler(({ to, from }) => {\n /**\n * This early return is there to account for some cases where a navigation transaction starts right after\n * long-running pageload. We make sure that if `from` is undefined and a valid `startingURL` exists, we don't\n * create an uneccessary navigation transaction.\n *\n * This was hard to duplicate, but this behavior stopped as soon as this fix was applied. This issue might also\n * only be caused in certain development environments where the usage of a hot module reloader is causing\n * errors.\n */\n if (from === undefined && startingUrl && startingUrl.indexOf(to) !== -1) {\n startingUrl = undefined;\n return;\n }\n\n if (from !== to) {\n startingUrl = undefined;\n if (activeTransaction) {\n DEBUG_BUILD && logger.log(`[Tracing] Finishing current transaction with op: ${activeTransaction.op}`);\n // If there's an open transaction on the scope, we need to finish it before creating an new one.\n activeTransaction.end();\n }\n activeTransaction = customStartTransaction({\n name: WINDOW.location.pathname,\n op: 'navigation',\n origin: 'auto.navigation.browser',\n metadata: { source: 'url' },\n });\n }\n });\n }\n}\n\nexport { instrumentRoutingWithDefaults };\n//# sourceMappingURL=router.js.map\n","import { TRACING_DEFAULTS, addTracingExtensions, startIdleTransaction, getActiveTransaction, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, getClient, getCurrentScope } from '@sentry/core';\nimport { logger, propagationContextFromHeaders, getDomElement } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../common/debug-build.js';\nimport { registerBackgroundTabDetection } from './backgroundtab.js';\nimport { addPerformanceInstrumentationHandler } from './instrument.js';\nimport { startTrackingWebVitals, startTrackingINP, startTrackingLongTasks, startTrackingInteractions, addPerformanceEntries } from './metrics/index.js';\nimport { defaultRequestInstrumentationOptions, instrumentOutgoingRequests } from './request.js';\nimport { instrumentRoutingWithDefaults } from './router.js';\nimport { WINDOW } from './types.js';\n\nconst BROWSER_TRACING_INTEGRATION_ID = 'BrowserTracing';\n\n/** Options for Browser Tracing integration */\n\nconst DEFAULT_BROWSER_TRACING_OPTIONS = {\n ...TRACING_DEFAULTS,\n markBackgroundTransactions: true,\n routingInstrumentation: instrumentRoutingWithDefaults,\n startTransactionOnLocationChange: true,\n startTransactionOnPageLoad: true,\n enableLongTask: true,\n enableInp: false,\n _experiments: {},\n ...defaultRequestInstrumentationOptions,\n};\n\n/** We store up to 10 interaction candidates max to cap memory usage. This is the same cap as getINP from web-vitals */\nconst MAX_INTERACTIONS = 10;\n\n/**\n * The Browser Tracing integration automatically instruments browser pageload/navigation\n * actions as transactions, and captures requests, metrics and errors as spans.\n *\n * The integration can be configured with a variety of options, and can be extended to use\n * any routing library. This integration uses {@see IdleTransaction} to create transactions.\n *\n * @deprecated Use `browserTracingIntegration()` instead.\n */\nclass BrowserTracing {\n // This class currently doesn't have a static `id` field like the other integration classes, because it prevented\n // @sentry/tracing from being treeshaken. Tree shakers do not like static fields, because they behave like side effects.\n // TODO: Come up with a better plan, than using static fields on integration classes, and use that plan on all\n // integrations.\n\n /** Browser Tracing integration options */\n\n /**\n * @inheritDoc\n */\n\n constructor(_options) {\n this.name = BROWSER_TRACING_INTEGRATION_ID;\n this._hasSetTracePropagationTargets = false;\n\n addTracingExtensions();\n\n if (DEBUG_BUILD) {\n this._hasSetTracePropagationTargets = !!(\n _options &&\n // eslint-disable-next-line deprecation/deprecation\n (_options.tracePropagationTargets || _options.tracingOrigins)\n );\n }\n\n this.options = {\n ...DEFAULT_BROWSER_TRACING_OPTIONS,\n ..._options,\n };\n\n // Special case: enableLongTask can be set in _experiments\n // TODO (v8): Remove this in v8\n if (this.options._experiments.enableLongTask !== undefined) {\n this.options.enableLongTask = this.options._experiments.enableLongTask;\n }\n\n // TODO (v8): remove this block after tracingOrigins is removed\n // Set tracePropagationTargets to tracingOrigins if specified by the user\n // In case both are specified, tracePropagationTargets takes precedence\n // eslint-disable-next-line deprecation/deprecation\n if (_options && !_options.tracePropagationTargets && _options.tracingOrigins) {\n // eslint-disable-next-line deprecation/deprecation\n this.options.tracePropagationTargets = _options.tracingOrigins;\n }\n\n this._collectWebVitals = startTrackingWebVitals();\n /** Stores a mapping of interactionIds from PerformanceEventTimings to the origin interaction path */\n this._interactionIdToRouteNameMapping = {};\n\n if (this.options.enableInp) {\n startTrackingINP(this._interactionIdToRouteNameMapping);\n }\n if (this.options.enableLongTask) {\n startTrackingLongTasks();\n }\n if (this.options._experiments.enableInteractions) {\n startTrackingInteractions();\n }\n\n this._latestRoute = {\n name: undefined,\n context: undefined,\n };\n }\n\n /**\n * @inheritDoc\n */\n setupOnce(_, getCurrentHub) {\n this._getCurrentHub = getCurrentHub;\n const hub = getCurrentHub();\n // eslint-disable-next-line deprecation/deprecation\n const client = hub.getClient();\n const clientOptions = client && client.getOptions();\n\n const {\n routingInstrumentation: instrumentRouting,\n startTransactionOnLocationChange,\n startTransactionOnPageLoad,\n markBackgroundTransactions,\n traceFetch,\n traceXHR,\n shouldCreateSpanForRequest,\n enableHTTPTimings,\n _experiments,\n } = this.options;\n\n const clientOptionsTracePropagationTargets = clientOptions && clientOptions.tracePropagationTargets;\n // There are three ways to configure tracePropagationTargets:\n // 1. via top level client option `tracePropagationTargets`\n // 2. via BrowserTracing option `tracePropagationTargets`\n // 3. via BrowserTracing option `tracingOrigins` (deprecated)\n //\n // To avoid confusion, favour top level client option `tracePropagationTargets`, and fallback to\n // BrowserTracing option `tracePropagationTargets` and then `tracingOrigins` (deprecated).\n // This is done as it minimizes bundle size (we don't have to have undefined checks).\n //\n // If both 1 and either one of 2 or 3 are set (from above), we log out a warning.\n // eslint-disable-next-line deprecation/deprecation\n const tracePropagationTargets = clientOptionsTracePropagationTargets || this.options.tracePropagationTargets;\n if (DEBUG_BUILD && this._hasSetTracePropagationTargets && clientOptionsTracePropagationTargets) {\n logger.warn(\n '[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.',\n );\n }\n\n instrumentRouting(\n (context) => {\n const transaction = this._createRouteTransaction(context);\n\n this.options._experiments.onStartRouteTransaction &&\n this.options._experiments.onStartRouteTransaction(transaction, context, getCurrentHub);\n\n return transaction;\n },\n startTransactionOnPageLoad,\n startTransactionOnLocationChange,\n );\n\n if (markBackgroundTransactions) {\n registerBackgroundTabDetection();\n }\n\n if (_experiments.enableInteractions) {\n this._registerInteractionListener();\n }\n\n if (this.options.enableInp) {\n this._registerInpInteractionListener();\n }\n\n instrumentOutgoingRequests({\n traceFetch,\n traceXHR,\n tracePropagationTargets,\n shouldCreateSpanForRequest,\n enableHTTPTimings,\n });\n }\n\n /** Create routing idle transaction. */\n _createRouteTransaction(context) {\n if (!this._getCurrentHub) {\n DEBUG_BUILD &&\n logger.warn(`[Tracing] Did not create ${context.op} transaction because _getCurrentHub is invalid.`);\n return undefined;\n }\n\n const hub = this._getCurrentHub();\n\n const { beforeNavigate, idleTimeout, finalTimeout, heartbeatInterval } = this.options;\n\n const isPageloadTransaction = context.op === 'pageload';\n\n let expandedContext;\n if (isPageloadTransaction) {\n const sentryTrace = isPageloadTransaction ? getMetaContent('sentry-trace') : '';\n const baggage = isPageloadTransaction ? getMetaContent('baggage') : undefined;\n const { traceId, dsc, parentSpanId, sampled } = propagationContextFromHeaders(sentryTrace, baggage);\n expandedContext = {\n traceId,\n parentSpanId,\n parentSampled: sampled,\n ...context,\n metadata: {\n // eslint-disable-next-line deprecation/deprecation\n ...context.metadata,\n dynamicSamplingContext: dsc,\n },\n trimEnd: true,\n };\n } else {\n expandedContext = {\n trimEnd: true,\n ...context,\n };\n }\n\n const modifiedContext = typeof beforeNavigate === 'function' ? beforeNavigate(expandedContext) : expandedContext;\n\n // For backwards compatibility reasons, beforeNavigate can return undefined to \"drop\" the transaction (prevent it\n // from being sent to Sentry).\n const finalContext = modifiedContext === undefined ? { ...expandedContext, sampled: false } : modifiedContext;\n\n // If `beforeNavigate` set a custom name, record that fact\n // eslint-disable-next-line deprecation/deprecation\n finalContext.metadata =\n finalContext.name !== expandedContext.name\n ? // eslint-disable-next-line deprecation/deprecation\n { ...finalContext.metadata, source: 'custom' }\n : // eslint-disable-next-line deprecation/deprecation\n finalContext.metadata;\n\n this._latestRoute.name = finalContext.name;\n this._latestRoute.context = finalContext;\n\n // eslint-disable-next-line deprecation/deprecation\n if (finalContext.sampled === false) {\n DEBUG_BUILD && logger.log(`[Tracing] Will not send ${finalContext.op} transaction because of beforeNavigate.`);\n }\n\n DEBUG_BUILD && logger.log(`[Tracing] Starting ${finalContext.op} transaction on scope`);\n\n const { location } = WINDOW;\n\n const idleTransaction = startIdleTransaction(\n hub,\n finalContext,\n idleTimeout,\n finalTimeout,\n true,\n { location }, // for use in the tracesSampler\n heartbeatInterval,\n isPageloadTransaction, // should wait for finish signal if it's a pageload transaction\n );\n\n if (isPageloadTransaction) {\n WINDOW.document.addEventListener('readystatechange', () => {\n if (['interactive', 'complete'].includes(WINDOW.document.readyState)) {\n idleTransaction.sendAutoFinishSignal();\n }\n });\n\n if (['interactive', 'complete'].includes(WINDOW.document.readyState)) {\n idleTransaction.sendAutoFinishSignal();\n }\n }\n\n idleTransaction.registerBeforeFinishCallback(transaction => {\n this._collectWebVitals();\n addPerformanceEntries(transaction);\n });\n\n return idleTransaction ;\n }\n\n /** Start listener for interaction transactions */\n _registerInteractionListener() {\n let inflightInteractionTransaction;\n const registerInteractionTransaction = () => {\n const { idleTimeout, finalTimeout, heartbeatInterval } = this.options;\n const op = 'ui.action.click';\n\n // eslint-disable-next-line deprecation/deprecation\n const currentTransaction = getActiveTransaction();\n if (currentTransaction && currentTransaction.op && ['navigation', 'pageload'].includes(currentTransaction.op)) {\n DEBUG_BUILD &&\n logger.warn(\n `[Tracing] Did not create ${op} transaction because a pageload or navigation transaction is in progress.`,\n );\n return undefined;\n }\n\n if (inflightInteractionTransaction) {\n inflightInteractionTransaction.setFinishReason('interactionInterrupted');\n inflightInteractionTransaction.end();\n inflightInteractionTransaction = undefined;\n }\n\n if (!this._getCurrentHub) {\n DEBUG_BUILD && logger.warn(`[Tracing] Did not create ${op} transaction because _getCurrentHub is invalid.`);\n return undefined;\n }\n\n if (!this._latestRoute.name) {\n DEBUG_BUILD && logger.warn(`[Tracing] Did not create ${op} transaction because _latestRouteName is missing.`);\n return undefined;\n }\n\n const hub = this._getCurrentHub();\n const { location } = WINDOW;\n\n const context = {\n name: this._latestRoute.name,\n op,\n trimEnd: true,\n data: {\n [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: this._latestRoute.context\n ? getSource(this._latestRoute.context)\n : 'url',\n },\n };\n\n inflightInteractionTransaction = startIdleTransaction(\n hub,\n context,\n idleTimeout,\n finalTimeout,\n true,\n { location }, // for use in the tracesSampler\n heartbeatInterval,\n );\n };\n\n ['click'].forEach(type => {\n addEventListener(type, registerInteractionTransaction, { once: false, capture: true });\n });\n }\n\n /** Creates a listener on interaction entries, and maps interactionIds to the origin path of the interaction */\n _registerInpInteractionListener() {\n const handleEntries = ({ entries }) => {\n const client = getClient();\n // We need to get the replay, user, and activeTransaction from the current scope\n // so that we can associate replay id, profile id, and a user display to the span\n const replay =\n client !== undefined && client.getIntegrationByName !== undefined\n ? (client.getIntegrationByName('Replay') )\n : undefined;\n const replayId = replay !== undefined ? replay.getReplayId() : undefined;\n // eslint-disable-next-line deprecation/deprecation\n const activeTransaction = getActiveTransaction();\n const currentScope = getCurrentScope();\n const user = currentScope !== undefined ? currentScope.getUser() : undefined;\n entries.forEach(entry => {\n if (isPerformanceEventTiming(entry)) {\n const interactionId = entry.interactionId;\n if (interactionId === undefined) {\n return;\n }\n const existingInteraction = this._interactionIdToRouteNameMapping[interactionId];\n const duration = entry.duration;\n const startTime = entry.startTime;\n const keys = Object.keys(this._interactionIdToRouteNameMapping);\n const minInteractionId =\n keys.length > 0\n ? keys.reduce((a, b) => {\n return this._interactionIdToRouteNameMapping[a].duration <\n this._interactionIdToRouteNameMapping[b].duration\n ? a\n : b;\n })\n : undefined;\n // For a first input event to be considered, we must check that an interaction event does not already exist with the same duration and start time.\n // This is also checked in the web-vitals library.\n if (entry.entryType === 'first-input') {\n const matchingEntry = keys\n .map(key => this._interactionIdToRouteNameMapping[key])\n .some(interaction => {\n return interaction.duration === duration && interaction.startTime === startTime;\n });\n if (matchingEntry) {\n return;\n }\n }\n // Interactions with an id of 0 and are not first-input are not valid.\n if (!interactionId) {\n return;\n }\n // If the interaction already exists, we want to use the duration of the longest entry, since that is what the INP metric uses.\n if (existingInteraction) {\n existingInteraction.duration = Math.max(existingInteraction.duration, duration);\n } else if (\n keys.length < MAX_INTERACTIONS ||\n minInteractionId === undefined ||\n duration > this._interactionIdToRouteNameMapping[minInteractionId].duration\n ) {\n // If the interaction does not exist, we want to add it to the mapping if there is space, or if the duration is longer than the shortest entry.\n const routeName = this._latestRoute.name;\n const parentContext = this._latestRoute.context;\n if (routeName && parentContext) {\n if (minInteractionId && Object.keys(this._interactionIdToRouteNameMapping).length >= MAX_INTERACTIONS) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._interactionIdToRouteNameMapping[minInteractionId];\n }\n this._interactionIdToRouteNameMapping[interactionId] = {\n routeName,\n duration,\n parentContext,\n user,\n activeTransaction,\n replayId,\n startTime,\n };\n }\n }\n }\n });\n };\n addPerformanceInstrumentationHandler('event', handleEntries);\n addPerformanceInstrumentationHandler('first-input', handleEntries);\n }\n}\n\n/** Returns the value of a meta tag */\nfunction getMetaContent(metaName) {\n // Can't specify generic to `getDomElement` because tracing can be used\n // in a variety of environments, have to disable `no-unsafe-member-access`\n // as a result.\n const metaTag = getDomElement(`meta[name=${metaName}]`);\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return metaTag ? metaTag.getAttribute('content') : undefined;\n}\n\nfunction getSource(context) {\n const sourceFromAttributes = context.attributes && context.attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n // eslint-disable-next-line deprecation/deprecation\n const sourceFromData = context.data && context.data[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n // eslint-disable-next-line deprecation/deprecation\n const sourceFromMetadata = context.metadata && context.metadata.source;\n\n return sourceFromAttributes || sourceFromData || sourceFromMetadata;\n}\n\nfunction isPerformanceEventTiming(entry) {\n return 'duration' in entry;\n}\n\nexport { BROWSER_TRACING_INTEGRATION_ID, BrowserTracing, getMetaContent };\n//# sourceMappingURL=browsertracing.js.map\n","import { TRACING_DEFAULTS, addTracingExtensions, spanToJSON, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, getActiveSpan, getCurrentHub, startIdleTransaction, getActiveTransaction, getClient, getCurrentScope } from '@sentry/core';\nimport { logger, browserPerformanceTimeOrigin, addHistoryInstrumentationHandler, propagationContextFromHeaders, getDomElement } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../common/debug-build.js';\nimport { registerBackgroundTabDetection } from './backgroundtab.js';\nimport { addPerformanceInstrumentationHandler } from './instrument.js';\nimport { startTrackingWebVitals, startTrackingINP, startTrackingLongTasks, startTrackingInteractions, addPerformanceEntries } from './metrics/index.js';\nimport { defaultRequestInstrumentationOptions, instrumentOutgoingRequests } from './request.js';\nimport { WINDOW } from './types.js';\n\nconst BROWSER_TRACING_INTEGRATION_ID = 'BrowserTracing';\n\n/** Options for Browser Tracing integration */\n\nconst DEFAULT_BROWSER_TRACING_OPTIONS = {\n ...TRACING_DEFAULTS,\n instrumentNavigation: true,\n instrumentPageLoad: true,\n markBackgroundSpan: true,\n enableLongTask: true,\n enableInp: false,\n _experiments: {},\n ...defaultRequestInstrumentationOptions,\n};\n\n/**\n * The Browser Tracing integration automatically instruments browser pageload/navigation\n * actions as transactions, and captures requests, metrics and errors as spans.\n *\n * The integration can be configured with a variety of options, and can be extended to use\n * any routing library. This integration uses {@see IdleTransaction} to create transactions.\n *\n * We explicitly export the proper type here, as this has to be extended in some cases.\n */\nconst browserTracingIntegration = ((_options = {}) => {\n const _hasSetTracePropagationTargets = DEBUG_BUILD\n ? !!(\n // eslint-disable-next-line deprecation/deprecation\n (_options.tracePropagationTargets || _options.tracingOrigins)\n )\n : false;\n\n addTracingExtensions();\n\n // TODO (v8): remove this block after tracingOrigins is removed\n // Set tracePropagationTargets to tracingOrigins if specified by the user\n // In case both are specified, tracePropagationTargets takes precedence\n // eslint-disable-next-line deprecation/deprecation\n if (!_options.tracePropagationTargets && _options.tracingOrigins) {\n // eslint-disable-next-line deprecation/deprecation\n _options.tracePropagationTargets = _options.tracingOrigins;\n }\n\n const options = {\n ...DEFAULT_BROWSER_TRACING_OPTIONS,\n ..._options,\n };\n\n const _collectWebVitals = startTrackingWebVitals();\n\n /** Stores a mapping of interactionIds from PerformanceEventTimings to the origin interaction path */\n const interactionIdToRouteNameMapping = {};\n if (options.enableInp) {\n startTrackingINP(interactionIdToRouteNameMapping);\n }\n\n if (options.enableLongTask) {\n startTrackingLongTasks();\n }\n if (options._experiments.enableInteractions) {\n startTrackingInteractions();\n }\n\n const latestRoute\n\n = {\n name: undefined,\n context: undefined,\n };\n\n /** Create routing idle transaction. */\n function _createRouteTransaction(context) {\n // eslint-disable-next-line deprecation/deprecation\n const hub = getCurrentHub();\n\n const { beforeStartSpan, idleTimeout, finalTimeout, heartbeatInterval } = options;\n\n const isPageloadTransaction = context.op === 'pageload';\n\n let expandedContext;\n if (isPageloadTransaction) {\n const sentryTrace = isPageloadTransaction ? getMetaContent('sentry-trace') : '';\n const baggage = isPageloadTransaction ? getMetaContent('baggage') : undefined;\n const { traceId, dsc, parentSpanId, sampled } = propagationContextFromHeaders(sentryTrace, baggage);\n expandedContext = {\n traceId,\n parentSpanId,\n parentSampled: sampled,\n ...context,\n metadata: {\n // eslint-disable-next-line deprecation/deprecation\n ...context.metadata,\n dynamicSamplingContext: dsc,\n },\n trimEnd: true,\n };\n } else {\n expandedContext = {\n trimEnd: true,\n ...context,\n };\n }\n\n const finalContext = beforeStartSpan ? beforeStartSpan(expandedContext) : expandedContext;\n\n // If `beforeStartSpan` set a custom name, record that fact\n // eslint-disable-next-line deprecation/deprecation\n finalContext.metadata =\n finalContext.name !== expandedContext.name\n ? // eslint-disable-next-line deprecation/deprecation\n { ...finalContext.metadata, source: 'custom' }\n : // eslint-disable-next-line deprecation/deprecation\n finalContext.metadata;\n\n latestRoute.name = finalContext.name;\n latestRoute.context = finalContext;\n\n if (finalContext.sampled === false) {\n DEBUG_BUILD && logger.log(`[Tracing] Will not send ${finalContext.op} transaction because of beforeNavigate.`);\n }\n\n DEBUG_BUILD && logger.log(`[Tracing] Starting ${finalContext.op} transaction on scope`);\n\n const { location } = WINDOW;\n\n const idleTransaction = startIdleTransaction(\n hub,\n finalContext,\n idleTimeout,\n finalTimeout,\n true,\n { location }, // for use in the tracesSampler\n heartbeatInterval,\n isPageloadTransaction, // should wait for finish signal if it's a pageload transaction\n );\n\n if (isPageloadTransaction && WINDOW.document) {\n WINDOW.document.addEventListener('readystatechange', () => {\n if (['interactive', 'complete'].includes(WINDOW.document.readyState)) {\n idleTransaction.sendAutoFinishSignal();\n }\n });\n\n if (['interactive', 'complete'].includes(WINDOW.document.readyState)) {\n idleTransaction.sendAutoFinishSignal();\n }\n }\n\n idleTransaction.registerBeforeFinishCallback(transaction => {\n _collectWebVitals();\n addPerformanceEntries(transaction);\n });\n\n return idleTransaction ;\n }\n\n return {\n name: BROWSER_TRACING_INTEGRATION_ID,\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n setupOnce: () => {},\n afterAllSetup(client) {\n const clientOptions = client.getOptions();\n\n const { markBackgroundSpan, traceFetch, traceXHR, shouldCreateSpanForRequest, enableHTTPTimings, _experiments } =\n options;\n\n const clientOptionsTracePropagationTargets = clientOptions && clientOptions.tracePropagationTargets;\n // There are three ways to configure tracePropagationTargets:\n // 1. via top level client option `tracePropagationTargets`\n // 2. via BrowserTracing option `tracePropagationTargets`\n // 3. via BrowserTracing option `tracingOrigins` (deprecated)\n //\n // To avoid confusion, favour top level client option `tracePropagationTargets`, and fallback to\n // BrowserTracing option `tracePropagationTargets` and then `tracingOrigins` (deprecated).\n // This is done as it minimizes bundle size (we don't have to have undefined checks).\n //\n // If both 1 and either one of 2 or 3 are set (from above), we log out a warning.\n // eslint-disable-next-line deprecation/deprecation\n const tracePropagationTargets = clientOptionsTracePropagationTargets || options.tracePropagationTargets;\n if (DEBUG_BUILD && _hasSetTracePropagationTargets && clientOptionsTracePropagationTargets) {\n logger.warn(\n '[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.',\n );\n }\n\n let activeSpan;\n let startingUrl = WINDOW.location && WINDOW.location.href;\n\n if (client.on) {\n client.on('startNavigationSpan', (context) => {\n if (activeSpan) {\n DEBUG_BUILD && logger.log(`[Tracing] Finishing current transaction with op: ${spanToJSON(activeSpan).op}`);\n // If there's an open transaction on the scope, we need to finish it before creating an new one.\n activeSpan.end();\n }\n activeSpan = _createRouteTransaction({\n op: 'navigation',\n ...context,\n });\n });\n\n client.on('startPageLoadSpan', (context) => {\n if (activeSpan) {\n DEBUG_BUILD && logger.log(`[Tracing] Finishing current transaction with op: ${spanToJSON(activeSpan).op}`);\n // If there's an open transaction on the scope, we need to finish it before creating an new one.\n activeSpan.end();\n }\n activeSpan = _createRouteTransaction({\n op: 'pageload',\n ...context,\n });\n });\n }\n\n if (options.instrumentPageLoad && client.emit && WINDOW.location) {\n const context = {\n name: WINDOW.location.pathname,\n // pageload should always start at timeOrigin (and needs to be in s, not ms)\n startTimestamp: browserPerformanceTimeOrigin ? browserPerformanceTimeOrigin / 1000 : undefined,\n origin: 'auto.pageload.browser',\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: 'url',\n },\n };\n startBrowserTracingPageLoadSpan(client, context);\n }\n\n if (options.instrumentNavigation && client.emit && WINDOW.location) {\n addHistoryInstrumentationHandler(({ to, from }) => {\n /**\n * This early return is there to account for some cases where a navigation transaction starts right after\n * long-running pageload. We make sure that if `from` is undefined and a valid `startingURL` exists, we don't\n * create an uneccessary navigation transaction.\n *\n * This was hard to duplicate, but this behavior stopped as soon as this fix was applied. This issue might also\n * only be caused in certain development environments where the usage of a hot module reloader is causing\n * errors.\n */\n if (from === undefined && startingUrl && startingUrl.indexOf(to) !== -1) {\n startingUrl = undefined;\n return;\n }\n\n if (from !== to) {\n startingUrl = undefined;\n const context = {\n name: WINDOW.location.pathname,\n origin: 'auto.navigation.browser',\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: 'url',\n },\n };\n\n startBrowserTracingNavigationSpan(client, context);\n }\n });\n }\n\n if (markBackgroundSpan) {\n registerBackgroundTabDetection();\n }\n\n if (_experiments.enableInteractions) {\n registerInteractionListener(options, latestRoute);\n }\n\n if (options.enableInp) {\n registerInpInteractionListener(interactionIdToRouteNameMapping, latestRoute);\n }\n\n instrumentOutgoingRequests({\n traceFetch,\n traceXHR,\n tracePropagationTargets,\n shouldCreateSpanForRequest,\n enableHTTPTimings,\n });\n },\n // TODO v8: Remove this again\n // This is private API that we use to fix converted BrowserTracing integrations in Next.js & SvelteKit\n options,\n };\n}) ;\n\n/**\n * Manually start a page load span.\n * This will only do something if the BrowserTracing integration has been setup.\n */\nfunction startBrowserTracingPageLoadSpan(client, spanOptions) {\n if (!client.emit) {\n return;\n }\n\n client.emit('startPageLoadSpan', spanOptions);\n\n const span = getActiveSpan();\n const op = span && spanToJSON(span).op;\n return op === 'pageload' ? span : undefined;\n}\n\n/**\n * Manually start a navigation span.\n * This will only do something if the BrowserTracing integration has been setup.\n */\nfunction startBrowserTracingNavigationSpan(client, spanOptions) {\n if (!client.emit) {\n return;\n }\n\n client.emit('startNavigationSpan', spanOptions);\n\n const span = getActiveSpan();\n const op = span && spanToJSON(span).op;\n return op === 'navigation' ? span : undefined;\n}\n\n/** Returns the value of a meta tag */\nfunction getMetaContent(metaName) {\n // Can't specify generic to `getDomElement` because tracing can be used\n // in a variety of environments, have to disable `no-unsafe-member-access`\n // as a result.\n const metaTag = getDomElement(`meta[name=${metaName}]`);\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return metaTag ? metaTag.getAttribute('content') : undefined;\n}\n\n/** Start listener for interaction transactions */\nfunction registerInteractionListener(\n options,\n latestRoute\n\n,\n) {\n let inflightInteractionTransaction;\n const registerInteractionTransaction = () => {\n const { idleTimeout, finalTimeout, heartbeatInterval } = options;\n const op = 'ui.action.click';\n\n // eslint-disable-next-line deprecation/deprecation\n const currentTransaction = getActiveTransaction();\n if (currentTransaction && currentTransaction.op && ['navigation', 'pageload'].includes(currentTransaction.op)) {\n DEBUG_BUILD &&\n logger.warn(\n `[Tracing] Did not create ${op} transaction because a pageload or navigation transaction is in progress.`,\n );\n return undefined;\n }\n\n if (inflightInteractionTransaction) {\n inflightInteractionTransaction.setFinishReason('interactionInterrupted');\n inflightInteractionTransaction.end();\n inflightInteractionTransaction = undefined;\n }\n\n if (!latestRoute.name) {\n DEBUG_BUILD && logger.warn(`[Tracing] Did not create ${op} transaction because _latestRouteName is missing.`);\n return undefined;\n }\n\n const { location } = WINDOW;\n\n const context = {\n name: latestRoute.name,\n op,\n trimEnd: true,\n data: {\n [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: latestRoute.context ? getSource(latestRoute.context) : 'url',\n },\n };\n\n inflightInteractionTransaction = startIdleTransaction(\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub(),\n context,\n idleTimeout,\n finalTimeout,\n true,\n { location }, // for use in the tracesSampler\n heartbeatInterval,\n );\n };\n\n ['click'].forEach(type => {\n addEventListener(type, registerInteractionTransaction, { once: false, capture: true });\n });\n}\n\nfunction isPerformanceEventTiming(entry) {\n return 'duration' in entry;\n}\n\n/** We store up to 10 interaction candidates max to cap memory usage. This is the same cap as getINP from web-vitals */\nconst MAX_INTERACTIONS = 10;\n\n/** Creates a listener on interaction entries, and maps interactionIds to the origin path of the interaction */\nfunction registerInpInteractionListener(\n interactionIdToRouteNameMapping,\n latestRoute\n\n,\n) {\n const handleEntries = ({ entries }) => {\n const client = getClient();\n // We need to get the replay, user, and activeTransaction from the current scope\n // so that we can associate replay id, profile id, and a user display to the span\n const replay =\n client !== undefined && client.getIntegrationByName !== undefined\n ? (client.getIntegrationByName('Replay') )\n : undefined;\n const replayId = replay !== undefined ? replay.getReplayId() : undefined;\n // eslint-disable-next-line deprecation/deprecation\n const activeTransaction = getActiveTransaction();\n const currentScope = getCurrentScope();\n const user = currentScope !== undefined ? currentScope.getUser() : undefined;\n entries.forEach(entry => {\n if (isPerformanceEventTiming(entry)) {\n const interactionId = entry.interactionId;\n if (interactionId === undefined) {\n return;\n }\n const existingInteraction = interactionIdToRouteNameMapping[interactionId];\n const duration = entry.duration;\n const startTime = entry.startTime;\n const keys = Object.keys(interactionIdToRouteNameMapping);\n const minInteractionId =\n keys.length > 0\n ? keys.reduce((a, b) => {\n return interactionIdToRouteNameMapping[a].duration < interactionIdToRouteNameMapping[b].duration\n ? a\n : b;\n })\n : undefined;\n // For a first input event to be considered, we must check that an interaction event does not already exist with the same duration and start time.\n // This is also checked in the web-vitals library.\n if (entry.entryType === 'first-input') {\n const matchingEntry = keys\n .map(key => interactionIdToRouteNameMapping[key])\n .some(interaction => {\n return interaction.duration === duration && interaction.startTime === startTime;\n });\n if (matchingEntry) {\n return;\n }\n }\n // Interactions with an id of 0 and are not first-input are not valid.\n if (!interactionId) {\n return;\n }\n // If the interaction already exists, we want to use the duration of the longest entry, since that is what the INP metric uses.\n if (existingInteraction) {\n existingInteraction.duration = Math.max(existingInteraction.duration, duration);\n } else if (\n keys.length < MAX_INTERACTIONS ||\n minInteractionId === undefined ||\n duration > interactionIdToRouteNameMapping[minInteractionId].duration\n ) {\n // If the interaction does not exist, we want to add it to the mapping if there is space, or if the duration is longer than the shortest entry.\n const routeName = latestRoute.name;\n const parentContext = latestRoute.context;\n if (routeName && parentContext) {\n if (minInteractionId && Object.keys(interactionIdToRouteNameMapping).length >= MAX_INTERACTIONS) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete interactionIdToRouteNameMapping[minInteractionId];\n }\n interactionIdToRouteNameMapping[interactionId] = {\n routeName,\n duration,\n parentContext,\n user,\n activeTransaction,\n replayId,\n startTime,\n };\n }\n }\n }\n });\n };\n addPerformanceInstrumentationHandler('event', handleEntries);\n addPerformanceInstrumentationHandler('first-input', handleEntries);\n}\n\nfunction getSource(context) {\n const sourceFromAttributes = context.attributes && context.attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n // eslint-disable-next-line deprecation/deprecation\n const sourceFromData = context.data && context.data[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n // eslint-disable-next-line deprecation/deprecation\n const sourceFromMetadata = context.metadata && context.metadata.source;\n\n return sourceFromAttributes || sourceFromData || sourceFromMetadata;\n}\n\nexport { BROWSER_TRACING_INTEGRATION_ID, browserTracingIntegration, getMetaContent, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan };\n//# sourceMappingURL=browserTracingIntegration.js.map\n","import { WINDOW } from '@sentry/react';\nimport { addFetchInstrumentationHandler, browserPerformanceTimeOrigin } from '@sentry/utils';\n\nconst DEFAULT_TAGS = {\n 'routing.instrumentation': 'next-app-router',\n} ;\n\n/**\n * Instruments the Next.js Client App Router.\n */\n// TODO(v8): Clean this function up by splitting into pageload and navigation instrumentation respectively. Also remove startTransactionCb in the process.\nfunction appRouterInstrumentation(\n startTransactionCb,\n startTransactionOnPageLoad = true,\n startTransactionOnLocationChange = true,\n startPageloadSpanCallback,\n startNavigationSpanCallback,\n) {\n // We keep track of the active transaction so we can finish it when we start a navigation transaction.\n let activeTransaction = undefined;\n\n // We keep track of the previous location name so we can set the `from` field on navigation transactions.\n // This is either a route or a pathname.\n let prevLocationName = WINDOW.location.pathname;\n\n if (startTransactionOnPageLoad) {\n const transactionContext = {\n name: prevLocationName,\n op: 'pageload',\n origin: 'auto.pageload.nextjs.app_router_instrumentation',\n tags: DEFAULT_TAGS,\n // pageload should always start at timeOrigin (and needs to be in s, not ms)\n startTimestamp: browserPerformanceTimeOrigin ? browserPerformanceTimeOrigin / 1000 : undefined,\n metadata: { source: 'url' },\n } ;\n activeTransaction = startTransactionCb(transactionContext);\n startPageloadSpanCallback(transactionContext);\n }\n\n if (startTransactionOnLocationChange) {\n addFetchInstrumentationHandler(handlerData => {\n // The instrumentation handler is invoked twice - once for starting a request and once when the req finishes\n // We can use the existence of the end-timestamp to filter out \"finishing\"-events.\n if (handlerData.endTimestamp !== undefined) {\n return;\n }\n\n // Only GET requests can be navigating RSC requests\n if (handlerData.fetchData.method !== 'GET') {\n return;\n }\n\n const parsedNavigatingRscFetchArgs = parseNavigatingRscFetchArgs(handlerData.args);\n\n if (parsedNavigatingRscFetchArgs === null) {\n return;\n }\n\n const transactionName = parsedNavigatingRscFetchArgs.targetPathname;\n const tags = {\n ...DEFAULT_TAGS,\n from: prevLocationName,\n };\n\n prevLocationName = transactionName;\n\n if (activeTransaction) {\n activeTransaction.end();\n }\n\n const transactionContext = {\n name: transactionName,\n op: 'navigation',\n origin: 'auto.navigation.nextjs.app_router_instrumentation',\n tags,\n metadata: { source: 'url' },\n } ;\n\n startTransactionCb(transactionContext);\n startNavigationSpanCallback(transactionContext);\n });\n }\n}\n\nfunction parseNavigatingRscFetchArgs(fetchArgs)\n\n {\n // Make sure the first arg is a URL object\n if (!fetchArgs[0] || typeof fetchArgs[0] !== 'object' || (fetchArgs[0] ).searchParams === undefined) {\n return null;\n }\n\n // Make sure the second argument is some kind of fetch config obj that contains headers\n if (!fetchArgs[1] || typeof fetchArgs[1] !== 'object' || !('headers' in fetchArgs[1])) {\n return null;\n }\n\n try {\n const url = fetchArgs[0] ;\n const headers = fetchArgs[1].headers ;\n\n // Not an RSC request\n if (headers['RSC'] !== '1') {\n return null;\n }\n\n // Prefetch requests are not navigating RSC requests\n if (headers['Next-Router-Prefetch'] === '1') {\n return null;\n }\n\n return {\n targetPathname: url.pathname,\n };\n } catch (e) {\n return null;\n }\n}\n\nexport { appRouterInstrumentation };\n//# sourceMappingURL=appRouterRoutingInstrumentation.js.map\n","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nconst DEBUG_BUILD = (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__);\n\nexport { DEBUG_BUILD };\n//# sourceMappingURL=debug-build.js.map\n","import { getClient, getCurrentScope } from '@sentry/core';\nimport { WINDOW } from '@sentry/react';\nimport { tracingContextFromHeaders, browserPerformanceTimeOrigin, stripUrlQueryAndFragment, logger } from '@sentry/utils';\nimport Router from 'next/router';\nimport { DEBUG_BUILD } from '../../common/debug-build.js';\n\nconst globalObject = WINDOW\n\n;\n\n/**\n * Every Next.js page (static and dynamic ones) comes with a script tag with the id \"__NEXT_DATA__\". This script tag\n * contains a JSON object with data that was either generated at build time for static pages (`getStaticProps`), or at\n * runtime with data fetchers like `getServerSideProps.`.\n *\n * We can use this information to:\n * - Always get the parameterized route we're in when loading a page.\n * - Send trace information (trace-id, baggage) from the server to the client.\n *\n * This function extracts this information.\n */\nfunction extractNextDataTagInformation() {\n let nextData;\n // Let's be on the safe side and actually check first if there is really a __NEXT_DATA__ script tag on the page.\n // Theoretically this should always be the case though.\n const nextDataTag = globalObject.document.getElementById('__NEXT_DATA__');\n if (nextDataTag && nextDataTag.innerHTML) {\n try {\n nextData = JSON.parse(nextDataTag.innerHTML);\n } catch (e) {\n DEBUG_BUILD && logger.warn('Could not extract __NEXT_DATA__');\n }\n }\n\n if (!nextData) {\n return {};\n }\n\n const nextDataTagInfo = {};\n\n const { page, query, props } = nextData;\n\n // `nextData.page` always contains the parameterized route - except for when an error occurs in a data fetching\n // function, then it is \"/_error\", but that isn't a problem since users know which route threw by looking at the\n // parent transaction\n // TODO: Actually this is a problem (even though it is not that big), because the DSC and the transaction payload will contain\n // a different transaction name. Maybe we can fix this. Idea: Also send transaction name via pageProps when available.\n nextDataTagInfo.route = page;\n nextDataTagInfo.params = query;\n\n if (props && props.pageProps) {\n nextDataTagInfo.sentryTrace = props.pageProps._sentryTraceData;\n nextDataTagInfo.baggage = props.pageProps._sentryBaggage;\n }\n\n return nextDataTagInfo;\n}\n\nconst DEFAULT_TAGS = {\n 'routing.instrumentation': 'next-pages-router',\n} ;\n\n// We keep track of the active transaction so we can finish it when we start a navigation transaction.\nlet activeTransaction = undefined;\n\n// We keep track of the previous location name so we can set the `from` field on navigation transactions.\n// This is either a route or a pathname.\nlet prevLocationName = undefined;\n\nconst client = getClient();\n\n/**\n * Instruments the Next.js pages router. Only supported for\n * client side routing. Works for Next >= 10.\n *\n * Leverages the SingletonRouter from the `next/router` to\n * generate pageload/navigation transactions and parameterize\n * transaction names.\n */\nfunction pagesRouterInstrumentation(\n startTransactionCb,\n startTransactionOnPageLoad = true,\n startTransactionOnLocationChange = true,\n startPageloadSpanCallback,\n startNavigationSpanCallback,\n) {\n const { route, params, sentryTrace, baggage } = extractNextDataTagInformation();\n // eslint-disable-next-line deprecation/deprecation\n const { traceparentData, dynamicSamplingContext, propagationContext } = tracingContextFromHeaders(\n sentryTrace,\n baggage,\n );\n\n getCurrentScope().setPropagationContext(propagationContext);\n prevLocationName = route || globalObject.location.pathname;\n\n if (startTransactionOnPageLoad) {\n const source = route ? 'route' : 'url';\n const transactionContext = {\n name: prevLocationName,\n op: 'pageload',\n origin: 'auto.pageload.nextjs.pages_router_instrumentation',\n tags: DEFAULT_TAGS,\n // pageload should always start at timeOrigin (and needs to be in s, not ms)\n startTimestamp: browserPerformanceTimeOrigin ? browserPerformanceTimeOrigin / 1000 : undefined,\n ...(params && client && client.getOptions().sendDefaultPii && { data: params }),\n ...traceparentData,\n metadata: {\n source,\n dynamicSamplingContext: traceparentData && !dynamicSamplingContext ? {} : dynamicSamplingContext,\n },\n } ;\n activeTransaction = startTransactionCb(transactionContext);\n startPageloadSpanCallback(transactionContext);\n }\n\n if (startTransactionOnLocationChange) {\n Router.events.on('routeChangeStart', (navigationTarget) => {\n const strippedNavigationTarget = stripUrlQueryAndFragment(navigationTarget);\n const matchedRoute = getNextRouteFromPathname(strippedNavigationTarget);\n\n let transactionName;\n let transactionSource;\n\n if (matchedRoute) {\n transactionName = matchedRoute;\n transactionSource = 'route';\n } else {\n transactionName = strippedNavigationTarget;\n transactionSource = 'url';\n }\n\n const tags = {\n ...DEFAULT_TAGS,\n from: prevLocationName,\n };\n\n prevLocationName = transactionName;\n\n if (activeTransaction) {\n activeTransaction.end();\n }\n\n const transactionContext = {\n name: transactionName,\n op: 'navigation',\n origin: 'auto.navigation.nextjs.pages_router_instrumentation',\n tags,\n metadata: { source: transactionSource },\n } ;\n const navigationTransaction = startTransactionCb(transactionContext);\n startNavigationSpanCallback(transactionContext);\n\n if (navigationTransaction) {\n // In addition to the navigation transaction we're also starting a span to mark Next.js's `routeChangeStart`\n // and `routeChangeComplete` events.\n // We don't want to finish the navigation transaction on `routeChangeComplete`, since users might want to attach\n // spans to that transaction even after `routeChangeComplete` is fired (eg. HTTP requests in some useEffect\n // hooks). Instead, we'll simply let the navigation transaction finish itself (it's an `IdleTransaction`).\n // eslint-disable-next-line deprecation/deprecation\n const nextRouteChangeSpan = navigationTransaction.startChild({\n op: 'ui.nextjs.route-change',\n origin: 'auto.ui.nextjs.pages_router_instrumentation',\n description: 'Next.js Route Change',\n });\n\n const finishRouteChangeSpan = () => {\n nextRouteChangeSpan.end();\n Router.events.off('routeChangeComplete', finishRouteChangeSpan);\n };\n\n Router.events.on('routeChangeComplete', finishRouteChangeSpan);\n }\n });\n }\n}\n\nfunction getNextRouteFromPathname(pathname) {\n const pageRoutes = (globalObject.__BUILD_MANIFEST || {}).sortedPages;\n\n // Page route should in 99.999% of the cases be defined by now but just to be sure we make a check here\n if (!pageRoutes) {\n return;\n }\n\n return pageRoutes.find(route => {\n const routeRegExp = convertNextRouteToRegExp(route);\n return pathname.match(routeRegExp);\n });\n}\n\n/**\n * Converts a Next.js style route to a regular expression that matches on pathnames (no query params or URL fragments).\n *\n * In general this involves replacing any instances of square brackets in a route with a wildcard:\n * e.g. \"/users/[id]/info\" becomes /\\/users\\/([^/]+?)\\/info/\n *\n * Some additional edgecases need to be considered:\n * - All routes have an optional slash at the end, meaning users can navigate to \"/users/[id]/info\" or\n * \"/users/[id]/info/\" - both will be resolved to \"/users/[id]/info\".\n * - Non-optional \"catchall\"s at the end of a route must be considered when matching (e.g. \"/users/[...params]\").\n * - Optional \"catchall\"s at the end of a route must be considered when matching (e.g. \"/users/[[...params]]\").\n *\n * @param route A Next.js style route as it is found in `global.__BUILD_MANIFEST.sortedPages`\n */\nfunction convertNextRouteToRegExp(route) {\n // We can assume a route is at least \"/\".\n const routeParts = route.split('/');\n\n let optionalCatchallWildcardRegex = '';\n if (routeParts[routeParts.length - 1].match(/^\\[\\[\\.\\.\\..+\\]\\]$/)) {\n // If last route part has pattern \"[[...xyz]]\" we pop the latest route part to get rid of the required trailing\n // slash that would come before it if we didn't pop it.\n routeParts.pop();\n optionalCatchallWildcardRegex = '(?:/(.+?))?';\n }\n\n const rejoinedRouteParts = routeParts\n .map(\n routePart =>\n routePart\n .replace(/^\\[\\.\\.\\..+\\]$/, '(.+?)') // Replace catch all wildcard with regex wildcard\n .replace(/^\\[.*\\]$/, '([^/]+?)'), // Replace route wildcards with lazy regex wildcards\n )\n .join('/');\n\n // eslint-disable-next-line @sentry-internal/sdk/no-regexp-constructor -- routeParts are from the build manifest, so no raw user input\n return new RegExp(\n `^${rejoinedRouteParts}${optionalCatchallWildcardRegex}(?:/)?$`, // optional slash at the end\n );\n}\n\nexport { pagesRouterInstrumentation };\n//# sourceMappingURL=pagesRouterRoutingInstrumentation.js.map\n","import { WINDOW } from '@sentry/react';\nimport { appRouterInstrumentation } from './appRouterRoutingInstrumentation.js';\nimport { pagesRouterInstrumentation } from './pagesRouterRoutingInstrumentation.js';\n\n/**\n * Instruments the Next.js Client Router.\n *\n * @deprecated Use `browserTracingIntegration()` as exported from `@sentry/nextjs` instead.\n */\nfunction nextRouterInstrumentation(\n startTransactionCb,\n startTransactionOnPageLoad = true,\n startTransactionOnLocationChange = true,\n startPageloadSpanCallback,\n startNavigationSpanCallback,\n) {\n const isAppRouter = !WINDOW.document.getElementById('__NEXT_DATA__');\n if (isAppRouter) {\n appRouterInstrumentation(\n startTransactionCb,\n startTransactionOnPageLoad,\n startTransactionOnLocationChange,\n startPageloadSpanCallback || (() => undefined),\n startNavigationSpanCallback || (() => undefined),\n );\n } else {\n pagesRouterInstrumentation(\n startTransactionCb,\n startTransactionOnPageLoad,\n startTransactionOnLocationChange,\n startPageloadSpanCallback || (() => undefined),\n startNavigationSpanCallback || (() => undefined),\n );\n }\n}\n\nexport { nextRouterInstrumentation };\n//# sourceMappingURL=nextRoutingInstrumentation.js.map\n","import { _optionalChain } from '@sentry/utils';\nimport { BrowserTracing as BrowserTracing$1, defaultRequestInstrumentationOptions, browserTracingIntegration as browserTracingIntegration$1, startBrowserTracingPageLoadSpan, startBrowserTracingNavigationSpan } from '@sentry/react';\nimport { nextRouterInstrumentation } from './routing/nextRoutingInstrumentation.js';\n\n/**\n * A custom BrowserTracing integration for Next.js.\n *\n * @deprecated Use `browserTracingIntegration` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nclass BrowserTracing extends BrowserTracing$1 {\n // eslint-disable-next-line deprecation/deprecation\n constructor(options) {\n super({\n // eslint-disable-next-line deprecation/deprecation\n tracingOrigins:\n process.env.NODE_ENV === 'development'\n ? [\n // Will match any URL that contains \"localhost\" but not \"webpack.hot-update.json\" - The webpack dev-server\n // has cors and it doesn't like extra headers when it's accessed from a different URL.\n // TODO(v8): Ideally we rework our tracePropagationTargets logic so this hack won't be necessary anymore (see issue #9764)\n /^(?=.*localhost)(?!.*webpack\\.hot-update\\.json).*/,\n /^\\/(?!\\/)/,\n ]\n : // eslint-disable-next-line deprecation/deprecation\n [...defaultRequestInstrumentationOptions.tracingOrigins, /^(api\\/)/],\n // eslint-disable-next-line deprecation/deprecation\n routingInstrumentation: nextRouterInstrumentation,\n ...options,\n });\n }\n}\n\n/**\n * A custom BrowserTracing integration for Next.js.\n */\nfunction browserTracingIntegration(\n options,\n) {\n const browserTracingIntegrationInstance = browserTracingIntegration$1({\n // eslint-disable-next-line deprecation/deprecation\n tracingOrigins:\n process.env.NODE_ENV === 'development'\n ? [\n // Will match any URL that contains \"localhost\" but not \"webpack.hot-update.json\" - The webpack dev-server\n // has cors and it doesn't like extra headers when it's accessed from a different URL.\n // TODO(v8): Ideally we rework our tracePropagationTargets logic so this hack won't be necessary anymore (see issue #9764)\n /^(?=.*localhost)(?!.*webpack\\.hot-update\\.json).*/,\n /^\\/(?!\\/)/,\n ]\n : // eslint-disable-next-line deprecation/deprecation\n [...defaultRequestInstrumentationOptions.tracingOrigins, /^(api\\/)/],\n ...options,\n instrumentNavigation: false,\n instrumentPageLoad: false,\n });\n\n return {\n ...browserTracingIntegrationInstance,\n afterAllSetup(client) {\n const startPageloadCallback = (startSpanOptions) => {\n startBrowserTracingPageLoadSpan(client, startSpanOptions);\n };\n\n const startNavigationCallback = (startSpanOptions) => {\n startBrowserTracingNavigationSpan(client, startSpanOptions);\n };\n\n // We need to run the navigation span instrumentation before the `afterAllSetup` hook on the normal browser\n // tracing integration because we need to ensure the order of execution is as follows:\n // Instrumentation to start span on RSC fetch request runs -> Instrumentation to put tracing headers from active span on fetch runs\n // If it were the other way around, the RSC fetch request would not receive the tracing headers from the navigation transaction.\n // eslint-disable-next-line deprecation/deprecation\n nextRouterInstrumentation(\n () => undefined,\n false,\n _optionalChain([options, 'optionalAccess', _ => _.instrumentNavigation]),\n startPageloadCallback,\n startNavigationCallback,\n );\n\n browserTracingIntegrationInstance.afterAllSetup(client);\n\n // eslint-disable-next-line deprecation/deprecation\n nextRouterInstrumentation(\n () => undefined,\n _optionalChain([options, 'optionalAccess', _2 => _2.instrumentPageLoad]),\n false,\n startPageloadCallback,\n startNavigationCallback,\n );\n },\n };\n}\n\nexport { BrowserTracing, browserTracingIntegration };\n//# sourceMappingURL=browserTracingIntegration.js.map\n","// Slightly modified (no IE8 support, ES6) and transcribed to TypeScript\n// https://github.com/calvinmetcalf/rollup-plugin-node-builtins/blob/63ab8aacd013767445ca299e468d9a60a95328d7/src/es6/path.js\n//\n// Copyright Joyent, Inc.and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n/** JSDoc */\nfunction normalizeArray(parts, allowAboveRoot) {\n // if the path tries to go above the root, `up` ends up > 0\n let up = 0;\n for (let i = parts.length - 1; i >= 0; i--) {\n const last = parts[i];\n if (last === '.') {\n parts.splice(i, 1);\n } else if (last === '..') {\n parts.splice(i, 1);\n up++;\n } else if (up) {\n parts.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (allowAboveRoot) {\n for (; up--; up) {\n parts.unshift('..');\n }\n }\n\n return parts;\n}\n\n// Split a filename into [root, dir, basename, ext], unix version\n// 'root' is just a slash, or nothing.\nconst splitPathRe = /^(\\S+:\\\\|\\/?)([\\s\\S]*?)((?:\\.{1,2}|[^/\\\\]+?|)(\\.[^./\\\\]*|))(?:[/\\\\]*)$/;\n/** JSDoc */\nfunction splitPath(filename) {\n // Truncate files names greater than 1024 characters to avoid regex dos\n // https://github.com/getsentry/sentry-javascript/pull/8737#discussion_r1285719172\n const truncated = filename.length > 1024 ? `${filename.slice(-1024)}` : filename;\n const parts = splitPathRe.exec(truncated);\n return parts ? parts.slice(1) : [];\n}\n\n// path.resolve([from ...], to)\n// posix version\n/** JSDoc */\nfunction resolve(...args) {\n let resolvedPath = '';\n let resolvedAbsolute = false;\n\n for (let i = args.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n const path = i >= 0 ? args[i] : '/';\n\n // Skip empty entries\n if (!path) {\n continue;\n }\n\n resolvedPath = `${path}/${resolvedPath}`;\n resolvedAbsolute = path.charAt(0) === '/';\n }\n\n // At this point the path should be resolved to a full absolute path, but\n // handle relative paths to be safe (might happen when process.cwd() fails)\n\n // Normalize the path\n resolvedPath = normalizeArray(\n resolvedPath.split('/').filter(p => !!p),\n !resolvedAbsolute,\n ).join('/');\n\n return (resolvedAbsolute ? '/' : '') + resolvedPath || '.';\n}\n\n/** JSDoc */\nfunction trim(arr) {\n let start = 0;\n for (; start < arr.length; start++) {\n if (arr[start] !== '') {\n break;\n }\n }\n\n let end = arr.length - 1;\n for (; end >= 0; end--) {\n if (arr[end] !== '') {\n break;\n }\n }\n\n if (start > end) {\n return [];\n }\n return arr.slice(start, end - start + 1);\n}\n\n// path.relative(from, to)\n// posix version\n/** JSDoc */\nfunction relative(from, to) {\n /* eslint-disable no-param-reassign */\n from = resolve(from).slice(1);\n to = resolve(to).slice(1);\n /* eslint-enable no-param-reassign */\n\n const fromParts = trim(from.split('/'));\n const toParts = trim(to.split('/'));\n\n const length = Math.min(fromParts.length, toParts.length);\n let samePartsLength = length;\n for (let i = 0; i < length; i++) {\n if (fromParts[i] !== toParts[i]) {\n samePartsLength = i;\n break;\n }\n }\n\n let outputParts = [];\n for (let i = samePartsLength; i < fromParts.length; i++) {\n outputParts.push('..');\n }\n\n outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n return outputParts.join('/');\n}\n\n// path.normalize(path)\n// posix version\n/** JSDoc */\nfunction normalizePath(path) {\n const isPathAbsolute = isAbsolute(path);\n const trailingSlash = path.slice(-1) === '/';\n\n // Normalize the path\n let normalizedPath = normalizeArray(\n path.split('/').filter(p => !!p),\n !isPathAbsolute,\n ).join('/');\n\n if (!normalizedPath && !isPathAbsolute) {\n normalizedPath = '.';\n }\n if (normalizedPath && trailingSlash) {\n normalizedPath += '/';\n }\n\n return (isPathAbsolute ? '/' : '') + normalizedPath;\n}\n\n// posix version\n/** JSDoc */\nfunction isAbsolute(path) {\n return path.charAt(0) === '/';\n}\n\n// posix version\n/** JSDoc */\nfunction join(...args) {\n return normalizePath(args.join('/'));\n}\n\n/** JSDoc */\nfunction dirname(path) {\n const result = splitPath(path);\n const root = result[0];\n let dir = result[1];\n\n if (!root && !dir) {\n // No dirname whatsoever\n return '.';\n }\n\n if (dir) {\n // It has a dirname, strip trailing slash\n dir = dir.slice(0, dir.length - 1);\n }\n\n return root + dir;\n}\n\n/** JSDoc */\nfunction basename(path, ext) {\n let f = splitPath(path)[2];\n if (ext && f.slice(ext.length * -1) === ext) {\n f = f.slice(0, f.length - ext.length);\n }\n return f;\n}\n\nexport { basename, dirname, isAbsolute, join, normalizePath, relative, resolve };\n//# sourceMappingURL=path.js.map\n","import { defineIntegration, convertIntegrationFnToClass } from '@sentry/core';\nimport { relative, basename } from '@sentry/utils';\n\nconst INTEGRATION_NAME = 'RewriteFrames';\n\nconst _rewriteFramesIntegration = ((options = {}) => {\n const root = options.root;\n const prefix = options.prefix || 'app:///';\n\n const iteratee =\n options.iteratee ||\n ((frame) => {\n if (!frame.filename) {\n return frame;\n }\n // Determine if this is a Windows frame by checking for a Windows-style prefix such as `C:\\`\n const isWindowsFrame =\n /^[a-zA-Z]:\\\\/.test(frame.filename) ||\n // or the presence of a backslash without a forward slash (which are not allowed on Windows)\n (frame.filename.includes('\\\\') && !frame.filename.includes('/'));\n // Check if the frame filename begins with `/`\n const startsWithSlash = /^\\//.test(frame.filename);\n if (isWindowsFrame || startsWithSlash) {\n const filename = isWindowsFrame\n ? frame.filename\n .replace(/^[a-zA-Z]:/, '') // remove Windows-style prefix\n .replace(/\\\\/g, '/') // replace all `\\\\` instances with `/`\n : frame.filename;\n const base = root ? relative(root, filename) : basename(filename);\n frame.filename = `${prefix}${base}`;\n }\n return frame;\n });\n\n /** Process an exception event. */\n function _processExceptionsEvent(event) {\n try {\n return {\n ...event,\n exception: {\n ...event.exception,\n // The check for this is performed inside `process` call itself, safe to skip here\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n values: event.exception.values.map(value => ({\n ...value,\n ...(value.stacktrace && { stacktrace: _processStacktrace(value.stacktrace) }),\n })),\n },\n };\n } catch (_oO) {\n return event;\n }\n }\n\n /** Process a stack trace. */\n function _processStacktrace(stacktrace) {\n return {\n ...stacktrace,\n frames: stacktrace && stacktrace.frames && stacktrace.frames.map(f => iteratee(f)),\n };\n }\n\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function\n processEvent(originalEvent) {\n let processedEvent = originalEvent;\n\n if (originalEvent.exception && Array.isArray(originalEvent.exception.values)) {\n processedEvent = _processExceptionsEvent(processedEvent);\n }\n\n return processedEvent;\n },\n };\n}) ;\n\nconst rewriteFramesIntegration = defineIntegration(_rewriteFramesIntegration);\n\n/**\n * Rewrite event frames paths.\n * @deprecated Use `rewriteFramesIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst RewriteFrames = convertIntegrationFnToClass(\n INTEGRATION_NAME,\n rewriteFramesIntegration,\n)\n\n;\n\nexport { RewriteFrames, rewriteFramesIntegration };\n//# sourceMappingURL=rewriteframes.js.map\n","import { _optionalChain } from '@sentry/utils';\nimport { defineIntegration } from '@sentry/core';\nimport { rewriteFramesIntegration as rewriteFramesIntegration$1 } from '@sentry/integrations';\nimport { GLOBAL_OBJ } from '@sentry/utils';\n\nconst globalWithInjectedValues = GLOBAL_OBJ\n\n;\n\nconst customRewriteFramesIntegration = ((options) => {\n // This value is injected at build time, based on the output directory specified in the build config. Though a default\n // is set there, we set it here as well, just in case something has gone wrong with the injection.\n const assetPrefixPath = globalWithInjectedValues.__rewriteFramesAssetPrefixPath__ || '';\n\n return rewriteFramesIntegration$1({\n // Turn `//_next/static/...` into `app:///_next/static/...`\n iteratee: frame => {\n try {\n const { origin } = new URL(frame.filename );\n frame.filename = _optionalChain([frame, 'access', _ => _.filename, 'optionalAccess', _2 => _2.replace, 'call', _3 => _3(origin, 'app://'), 'access', _4 => _4.replace, 'call', _5 => _5(assetPrefixPath, '')]);\n } catch (err) {\n // Filename wasn't a properly formed URL, so there's nothing we can do\n }\n\n // We need to URI-decode the filename because Next.js has wildcard routes like \"/users/[id].js\" which show up as \"/users/%5id%5.js\" in Error stacktraces.\n // The corresponding sources that Next.js generates have proper brackets so we also need proper brackets in the frame so that source map resolving works.\n if (frame.filename && frame.filename.startsWith('app:///_next')) {\n frame.filename = decodeURI(frame.filename);\n }\n\n if (\n frame.filename &&\n frame.filename.match(\n /^app:\\/\\/\\/_next\\/static\\/chunks\\/(main-|main-app-|polyfills-|webpack-|framework-|framework\\.)[0-9a-f]+\\.js$/,\n )\n ) {\n // We don't care about these frames. It's Next.js internal code.\n frame.in_app = false;\n }\n\n return frame;\n },\n ...options,\n });\n}) ;\n\nconst rewriteFramesIntegration = defineIntegration(customRewriteFramesIntegration);\n\nexport { customRewriteFramesIntegration, rewriteFramesIntegration };\n//# sourceMappingURL=rewriteFramesIntegration.js.map\n","import { dsnFromString, logger, GLOBAL_OBJ } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../common/debug-build.js';\n\nconst globalWithInjectedValues = GLOBAL_OBJ\n\n;\n\n/**\n * Applies the `tunnel` option to the Next.js SDK options based on `withSentryConfig`'s `tunnelRoute` option.\n */\nfunction applyTunnelRouteOption(options) {\n const tunnelRouteOption = globalWithInjectedValues.__sentryRewritesTunnelPath__;\n if (tunnelRouteOption && options.dsn) {\n const dsnComponents = dsnFromString(options.dsn);\n if (!dsnComponents) {\n return;\n }\n const sentrySaasDsnMatch = dsnComponents.host.match(/^o(\\d+)\\.ingest(?:\\.([a-z]{2}))?\\.sentry\\.io$/);\n if (sentrySaasDsnMatch) {\n const orgId = sentrySaasDsnMatch[1];\n const regionCode = sentrySaasDsnMatch[2];\n let tunnelPath = `${tunnelRouteOption}?o=${orgId}&p=${dsnComponents.projectId}`;\n if (regionCode) {\n tunnelPath += `&r=${regionCode}`;\n }\n options.tunnel = tunnelPath;\n DEBUG_BUILD && logger.info(`Tunneling events to \"${tunnelPath}\"`);\n } else {\n DEBUG_BUILD && logger.warn('Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.');\n }\n }\n}\n\nexport { applyTunnelRouteOption };\n//# sourceMappingURL=tunnelRoute.js.map\n","import { applySdkMetadata, hasTracingEnabled } from '@sentry/core';\nimport { Integrations as Integrations$1, init as init$1, getCurrentScope, getDefaultIntegrations as getDefaultIntegrations$1 } from '@sentry/react';\nexport * from '@sentry/react';\nimport { devErrorSymbolicationEventProcessor } from '../common/devErrorSymbolicationEventProcessor.js';\nimport { getVercelEnv } from '../common/getVercelEnv.js';\nimport { BrowserTracing, browserTracingIntegration } from './browserTracingIntegration.js';\nexport { BrowserTracing, browserTracingIntegration } from './browserTracingIntegration.js';\nimport { rewriteFramesIntegration } from './rewriteFramesIntegration.js';\nexport { rewriteFramesIntegration } from './rewriteFramesIntegration.js';\nimport { applyTunnelRouteOption } from './tunnelRoute.js';\nexport { nextRouterInstrumentation } from './routing/nextRoutingInstrumentation.js';\nexport { captureUnderscoreErrorException } from '../common/_error.js';\nexport { withSentryGetStaticProps, wrapGetStaticPropsWithSentry } from '../common/wrapGetStaticPropsWithSentry.js';\nexport { withSentryServerSideGetInitialProps, wrapGetInitialPropsWithSentry } from '../common/wrapGetInitialPropsWithSentry.js';\nexport { withSentryServerSideAppGetInitialProps, wrapAppGetInitialPropsWithSentry } from '../common/wrapAppGetInitialPropsWithSentry.js';\nexport { withSentryServerSideDocumentGetInitialProps, wrapDocumentGetInitialPropsWithSentry } from '../common/wrapDocumentGetInitialPropsWithSentry.js';\nexport { withSentryServerSideErrorGetInitialProps, wrapErrorGetInitialPropsWithSentry } from '../common/wrapErrorGetInitialPropsWithSentry.js';\nexport { withSentryGetServerSideProps, wrapGetServerSidePropsWithSentry } from '../common/wrapGetServerSidePropsWithSentry.js';\nexport { wrapServerComponentWithSentry } from '../common/wrapServerComponentWithSentry.js';\nexport { wrapRouteHandlerWithSentry } from '../common/wrapRouteHandlerWithSentry.js';\nexport { wrapApiHandlerWithSentryVercelCrons } from '../common/wrapApiHandlerWithSentryVercelCrons.js';\nexport { wrapMiddlewareWithSentry } from '../common/wrapMiddlewareWithSentry.js';\nexport { wrapPageComponentWithSentry } from '../common/wrapPageComponentWithSentry.js';\nexport { wrapGenerationFunctionWithSentry } from '../common/wrapGenerationFunctionWithSentry.js';\nexport { withServerActionInstrumentation } from '../common/withServerActionInstrumentation.js';\n\n/** @deprecated Import the integration function directly, e.g. `inboundFiltersIntegration()` instead of `new Integrations.InboundFilter(). */\nconst Integrations = {\n // eslint-disable-next-line deprecation/deprecation\n ...Integrations$1,\n BrowserTracing,\n};\n\n// Treeshakable guard to remove all code related to tracing\n\n/** Inits the Sentry NextJS SDK on the browser with the React SDK. */\nfunction init(options) {\n const opts = {\n environment: getVercelEnv(true) || process.env.NODE_ENV,\n defaultIntegrations: getDefaultIntegrations(options),\n ...options,\n };\n\n fixBrowserTracingIntegration(opts);\n\n applyTunnelRouteOption(opts);\n applySdkMetadata(opts, 'nextjs', ['nextjs', 'react']);\n\n init$1(opts);\n\n const scope = getCurrentScope();\n scope.setTag('runtime', 'browser');\n const filterTransactions = event =>\n event.type === 'transaction' && event.transaction === '/404' ? null : event;\n filterTransactions.id = 'NextClient404Filter';\n scope.addEventProcessor(filterTransactions);\n\n if (process.env.NODE_ENV === 'development') {\n scope.addEventProcessor(devErrorSymbolicationEventProcessor);\n }\n}\n\n// TODO v8: Remove this again\n// We need to handle BrowserTracing passed to `integrations` that comes from `@sentry/tracing`, not `@sentry/nextjs` :(\nfunction fixBrowserTracingIntegration(options) {\n const { integrations } = options;\n if (!integrations) {\n return;\n }\n\n if (Array.isArray(integrations)) {\n options.integrations = maybeUpdateBrowserTracingIntegration(integrations);\n } else {\n options.integrations = defaultIntegrations => {\n const userFinalIntegrations = integrations(defaultIntegrations);\n\n return maybeUpdateBrowserTracingIntegration(userFinalIntegrations);\n };\n }\n}\n\nfunction isNewBrowserTracingIntegration(\n integration,\n) {\n // eslint-disable-next-line deprecation/deprecation\n return !!integration.afterAllSetup && !!(integration ).options;\n}\n\nfunction maybeUpdateBrowserTracingIntegration(integrations) {\n const browserTracing = integrations.find(integration => integration.name === 'BrowserTracing');\n\n if (!browserTracing) {\n return integrations;\n }\n\n // If `browserTracingIntegration()` was added, we need to force-convert it to our custom one\n if (isNewBrowserTracingIntegration(browserTracing)) {\n const { options } = browserTracing;\n // eslint-disable-next-line deprecation/deprecation\n integrations[integrations.indexOf(browserTracing)] = new BrowserTracing(options);\n }\n\n // If BrowserTracing was added, but it is not our forked version,\n // replace it with our forked version with the same options\n // eslint-disable-next-line deprecation/deprecation\n if (!(browserTracing instanceof BrowserTracing)) {\n // eslint-disable-next-line deprecation/deprecation\n const options = (browserTracing ).options;\n // This option is overwritten by the custom integration\n delete options.routingInstrumentation;\n // eslint-disable-next-line deprecation/deprecation\n delete options.tracingOrigins;\n // eslint-disable-next-line deprecation/deprecation\n integrations[integrations.indexOf(browserTracing)] = new BrowserTracing(options);\n }\n\n return integrations;\n}\n\nfunction getDefaultIntegrations(options) {\n const customDefaultIntegrations = [...getDefaultIntegrations$1(options), rewriteFramesIntegration()];\n\n // This evaluates to true unless __SENTRY_TRACING__ is text-replaced with \"false\", in which case everything inside\n // will get treeshaken away\n if (typeof __SENTRY_TRACING__ === 'undefined' || __SENTRY_TRACING__) {\n if (hasTracingEnabled(options)) {\n customDefaultIntegrations.push(browserTracingIntegration());\n }\n }\n\n return customDefaultIntegrations;\n}\n\n/**\n * Just a passthrough in case this is imported from the client.\n */\nfunction withSentryConfig(exportedUserNextConfig) {\n return exportedUserNextConfig;\n}\n\nexport { Integrations, init, withSentryConfig };\n//# sourceMappingURL=index.js.map\n","var _sentryCollisionFreeGlobalObject = typeof window != \"undefined\" ? window : typeof global != \"undefined\" ? global : typeof self != \"undefined\" ? self : {};\n_sentryCollisionFreeGlobalObject[\"__sentryRewritesTunnelPath__\"] = undefined;\n_sentryCollisionFreeGlobalObject[\"SENTRY_RELEASE\"] = {\"id\":\"9f3bdfc4fa6ff2667f1cbfc78329587001830f78\"};\n_sentryCollisionFreeGlobalObject[\"__sentryBasePath\"] = undefined;\n_sentryCollisionFreeGlobalObject[\"__rewriteFramesAssetPrefixPath__\"] = \"/template-nextjs\";\n\n// This file configures the initialization of Sentry on the browser.\n// The config you add here will be used whenever a page is visited.\n// https://docs.sentry.io/platforms/javascript/guides/nextjs/\n\nimport * as Sentry from \"@sentry/nextjs\";\n\nconst SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN;\nconst SENTRY_ENV = process.env.SENTRY_ENV || process.env.NEXT_PUBLIC_SENTRY_ENV;\n\nSentry.init({\n dsn: SENTRY_DSN ?? \"\",\n environment: SENTRY_ENV ?? \"development\",\n // Adjust this value in production, or use tracesSampler for greater control\n tracesSampleRate: 0.1,\n // ...\n // Note: if you want to override the automatic release value, do not set a\n // `release` value here - use the environment variable `SENTRY_RELEASE`, so\n // that it will also get attached to your source maps\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"actionAsyncStorage\", {\n enumerable: true,\n get: function() {\n return actionAsyncStorage;\n }\n});\nconst _asynclocalstorage = require(\"./async-local-storage\");\nconst actionAsyncStorage = (0, _asynclocalstorage.createAsyncLocalStorage)();\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=action-async-storage.external.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"createAsyncLocalStorage\", {\n enumerable: true,\n get: function() {\n return createAsyncLocalStorage;\n }\n});\nconst sharedAsyncLocalStorageNotAvailableError = new Error(\"Invariant: AsyncLocalStorage accessed in runtime where it is not available\");\nclass FakeAsyncLocalStorage {\n disable() {\n throw sharedAsyncLocalStorageNotAvailableError;\n }\n getStore() {\n // This fake implementation of AsyncLocalStorage always returns `undefined`.\n return undefined;\n }\n run() {\n throw sharedAsyncLocalStorageNotAvailableError;\n }\n exit() {\n throw sharedAsyncLocalStorageNotAvailableError;\n }\n enterWith() {\n throw sharedAsyncLocalStorageNotAvailableError;\n }\n}\nconst maybeGlobalAsyncLocalStorage = globalThis.AsyncLocalStorage;\nfunction createAsyncLocalStorage() {\n if (maybeGlobalAsyncLocalStorage) {\n return new maybeGlobalAsyncLocalStorage();\n }\n return new FakeAsyncLocalStorage();\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=async-local-storage.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"clientHookInServerComponentError\", {\n enumerable: true,\n get: function() {\n return clientHookInServerComponentError;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _react = /*#__PURE__*/ _interop_require_default._(require(\"react\"));\nfunction clientHookInServerComponentError(hookName) {\n if (process.env.NODE_ENV !== \"production\") {\n // If useState is undefined we're in a server component\n if (!_react.default.useState) {\n throw new Error(\"\" + hookName + ' only works in Client Components. Add the \"use client\" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/react-client-hook-in-server-component');\n }\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=client-hook-in-server-component-error.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n ReadonlyURLSearchParams: null,\n useSearchParams: null,\n usePathname: null,\n ServerInsertedHTMLContext: null,\n useServerInsertedHTML: null,\n useRouter: null,\n useParams: null,\n useSelectedLayoutSegments: null,\n useSelectedLayoutSegment: null,\n redirect: null,\n permanentRedirect: null,\n RedirectType: null,\n notFound: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n ReadonlyURLSearchParams: function() {\n return ReadonlyURLSearchParams;\n },\n useSearchParams: function() {\n return useSearchParams;\n },\n usePathname: function() {\n return usePathname;\n },\n ServerInsertedHTMLContext: function() {\n return _serverinsertedhtmlsharedruntime.ServerInsertedHTMLContext;\n },\n useServerInsertedHTML: function() {\n return _serverinsertedhtmlsharedruntime.useServerInsertedHTML;\n },\n useRouter: function() {\n return useRouter;\n },\n useParams: function() {\n return useParams;\n },\n useSelectedLayoutSegments: function() {\n return useSelectedLayoutSegments;\n },\n useSelectedLayoutSegment: function() {\n return useSelectedLayoutSegment;\n },\n redirect: function() {\n return _redirect.redirect;\n },\n permanentRedirect: function() {\n return _redirect.permanentRedirect;\n },\n RedirectType: function() {\n return _redirect.RedirectType;\n },\n notFound: function() {\n return _notfound.notFound;\n }\n});\nconst _react = require(\"react\");\nconst _approutercontextsharedruntime = require(\"../../shared/lib/app-router-context.shared-runtime\");\nconst _hooksclientcontextsharedruntime = require(\"../../shared/lib/hooks-client-context.shared-runtime\");\nconst _clienthookinservercomponenterror = require(\"./client-hook-in-server-component-error\");\nconst _getsegmentvalue = require(\"./router-reducer/reducers/get-segment-value\");\nconst _segment = require(\"../../shared/lib/segment\");\nconst _serverinsertedhtmlsharedruntime = require(\"../../shared/lib/server-inserted-html.shared-runtime\");\nconst _redirect = require(\"./redirect\");\nconst _notfound = require(\"./not-found\");\nconst INTERNAL_URLSEARCHPARAMS_INSTANCE = Symbol(\"internal for urlsearchparams readonly\");\nfunction readonlyURLSearchParamsError() {\n return new Error(\"ReadonlyURLSearchParams cannot be modified\");\n}\nclass ReadonlyURLSearchParams {\n [Symbol.iterator]() {\n return this[INTERNAL_URLSEARCHPARAMS_INSTANCE][Symbol.iterator]();\n }\n append() {\n throw readonlyURLSearchParamsError();\n }\n delete() {\n throw readonlyURLSearchParamsError();\n }\n set() {\n throw readonlyURLSearchParamsError();\n }\n sort() {\n throw readonlyURLSearchParamsError();\n }\n constructor(urlSearchParams){\n this[INTERNAL_URLSEARCHPARAMS_INSTANCE] = urlSearchParams;\n this.entries = urlSearchParams.entries.bind(urlSearchParams);\n this.forEach = urlSearchParams.forEach.bind(urlSearchParams);\n this.get = urlSearchParams.get.bind(urlSearchParams);\n this.getAll = urlSearchParams.getAll.bind(urlSearchParams);\n this.has = urlSearchParams.has.bind(urlSearchParams);\n this.keys = urlSearchParams.keys.bind(urlSearchParams);\n this.values = urlSearchParams.values.bind(urlSearchParams);\n this.toString = urlSearchParams.toString.bind(urlSearchParams);\n this.size = urlSearchParams.size;\n }\n}\nfunction useSearchParams() {\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"useSearchParams\");\n const searchParams = (0, _react.useContext)(_hooksclientcontextsharedruntime.SearchParamsContext);\n // In the case where this is `null`, the compat types added in\n // `next-env.d.ts` will add a new overload that changes the return type to\n // include `null`.\n const readonlySearchParams = (0, _react.useMemo)(()=>{\n if (!searchParams) {\n // When the router is not ready in pages, we won't have the search params\n // available.\n return null;\n }\n return new ReadonlyURLSearchParams(searchParams);\n }, [\n searchParams\n ]);\n if (typeof window === \"undefined\") {\n // AsyncLocalStorage should not be included in the client bundle.\n const { bailoutToClientRendering } = require(\"./bailout-to-client-rendering\");\n // TODO-APP: handle dynamic = 'force-static' here and on the client\n bailoutToClientRendering(\"useSearchParams()\");\n }\n return readonlySearchParams;\n}\nfunction usePathname() {\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"usePathname\");\n // In the case where this is `null`, the compat types added in `next-env.d.ts`\n // will add a new overload that changes the return type to include `null`.\n return (0, _react.useContext)(_hooksclientcontextsharedruntime.PathnameContext);\n}\nfunction useRouter() {\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"useRouter\");\n const router = (0, _react.useContext)(_approutercontextsharedruntime.AppRouterContext);\n if (router === null) {\n throw new Error(\"invariant expected app router to be mounted\");\n }\n return router;\n}\n// this function performs a depth-first search of the tree to find the selected\n// params\nfunction getSelectedParams(tree, params) {\n if (params === void 0) params = {};\n const parallelRoutes = tree[1];\n for (const parallelRoute of Object.values(parallelRoutes)){\n const segment = parallelRoute[0];\n const isDynamicParameter = Array.isArray(segment);\n const segmentValue = isDynamicParameter ? segment[1] : segment;\n if (!segmentValue || segmentValue.startsWith(_segment.PAGE_SEGMENT_KEY)) continue;\n // Ensure catchAll and optional catchall are turned into an array\n const isCatchAll = isDynamicParameter && (segment[2] === \"c\" || segment[2] === \"oc\");\n if (isCatchAll) {\n params[segment[0]] = segment[1].split(\"/\");\n } else if (isDynamicParameter) {\n params[segment[0]] = segment[1];\n }\n params = getSelectedParams(parallelRoute, params);\n }\n return params;\n}\nfunction useParams() {\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"useParams\");\n const globalLayoutRouter = (0, _react.useContext)(_approutercontextsharedruntime.GlobalLayoutRouterContext);\n const pathParams = (0, _react.useContext)(_hooksclientcontextsharedruntime.PathParamsContext);\n return (0, _react.useMemo)(()=>{\n // When it's under app router\n if (globalLayoutRouter == null ? void 0 : globalLayoutRouter.tree) {\n return getSelectedParams(globalLayoutRouter.tree);\n }\n // When it's under client side pages router\n return pathParams;\n }, [\n globalLayoutRouter == null ? void 0 : globalLayoutRouter.tree,\n pathParams\n ]);\n}\n// TODO-APP: handle parallel routes\n/**\n * Get the canonical parameters from the current level to the leaf node.\n */ function getSelectedLayoutSegmentPath(tree, parallelRouteKey, first, segmentPath) {\n if (first === void 0) first = true;\n if (segmentPath === void 0) segmentPath = [];\n let node;\n if (first) {\n // Use the provided parallel route key on the first parallel route\n node = tree[1][parallelRouteKey];\n } else {\n // After first parallel route prefer children, if there's no children pick the first parallel route.\n const parallelRoutes = tree[1];\n var _parallelRoutes_children;\n node = (_parallelRoutes_children = parallelRoutes.children) != null ? _parallelRoutes_children : Object.values(parallelRoutes)[0];\n }\n if (!node) return segmentPath;\n const segment = node[0];\n const segmentValue = (0, _getsegmentvalue.getSegmentValue)(segment);\n if (!segmentValue || segmentValue.startsWith(_segment.PAGE_SEGMENT_KEY)) {\n return segmentPath;\n }\n segmentPath.push(segmentValue);\n return getSelectedLayoutSegmentPath(node, parallelRouteKey, false, segmentPath);\n}\nfunction useSelectedLayoutSegments(parallelRouteKey) {\n if (parallelRouteKey === void 0) parallelRouteKey = \"children\";\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"useSelectedLayoutSegments\");\n const { tree } = (0, _react.useContext)(_approutercontextsharedruntime.LayoutRouterContext);\n return getSelectedLayoutSegmentPath(tree, parallelRouteKey);\n}\nfunction useSelectedLayoutSegment(parallelRouteKey) {\n if (parallelRouteKey === void 0) parallelRouteKey = \"children\";\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"useSelectedLayoutSegment\");\n const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey);\n if (selectedLayoutSegments.length === 0) {\n return null;\n }\n return selectedLayoutSegments[0];\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=navigation.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n notFound: null,\n isNotFoundError: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n notFound: function() {\n return notFound;\n },\n isNotFoundError: function() {\n return isNotFoundError;\n }\n});\nconst NOT_FOUND_ERROR_CODE = \"NEXT_NOT_FOUND\";\nfunction notFound() {\n // eslint-disable-next-line no-throw-literal\n const error = new Error(NOT_FOUND_ERROR_CODE);\n error.digest = NOT_FOUND_ERROR_CODE;\n throw error;\n}\nfunction isNotFoundError(error) {\n if (typeof error !== \"object\" || error === null || !(\"digest\" in error)) {\n return false;\n }\n return error.digest === NOT_FOUND_ERROR_CODE;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=not-found.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"RedirectStatusCode\", {\n enumerable: true,\n get: function() {\n return RedirectStatusCode;\n }\n});\nvar RedirectStatusCode;\n(function(RedirectStatusCode) {\n RedirectStatusCode[RedirectStatusCode[\"SeeOther\"] = 303] = \"SeeOther\";\n RedirectStatusCode[RedirectStatusCode[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n RedirectStatusCode[RedirectStatusCode[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n})(RedirectStatusCode || (RedirectStatusCode = {}));\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=redirect-status-code.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n RedirectType: null,\n getRedirectError: null,\n redirect: null,\n permanentRedirect: null,\n isRedirectError: null,\n getURLFromRedirectError: null,\n getRedirectTypeFromError: null,\n getRedirectStatusCodeFromError: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n RedirectType: function() {\n return RedirectType;\n },\n getRedirectError: function() {\n return getRedirectError;\n },\n redirect: function() {\n return redirect;\n },\n permanentRedirect: function() {\n return permanentRedirect;\n },\n isRedirectError: function() {\n return isRedirectError;\n },\n getURLFromRedirectError: function() {\n return getURLFromRedirectError;\n },\n getRedirectTypeFromError: function() {\n return getRedirectTypeFromError;\n },\n getRedirectStatusCodeFromError: function() {\n return getRedirectStatusCodeFromError;\n }\n});\nconst _requestasyncstorageexternal = require(\"./request-async-storage.external\");\nconst _actionasyncstorageexternal = require(\"./action-async-storage.external\");\nconst _redirectstatuscode = require(\"./redirect-status-code\");\nconst REDIRECT_ERROR_CODE = \"NEXT_REDIRECT\";\nvar RedirectType;\n(function(RedirectType) {\n RedirectType[\"push\"] = \"push\";\n RedirectType[\"replace\"] = \"replace\";\n})(RedirectType || (RedirectType = {}));\nfunction getRedirectError(url, type, statusCode) {\n if (statusCode === void 0) statusCode = _redirectstatuscode.RedirectStatusCode.TemporaryRedirect;\n const error = new Error(REDIRECT_ERROR_CODE);\n error.digest = REDIRECT_ERROR_CODE + \";\" + type + \";\" + url + \";\" + statusCode + \";\";\n const requestStore = _requestasyncstorageexternal.requestAsyncStorage.getStore();\n if (requestStore) {\n error.mutableCookies = requestStore.mutableCookies;\n }\n return error;\n}\nfunction redirect(url, type) {\n if (type === void 0) type = \"replace\";\n const actionStore = _actionasyncstorageexternal.actionAsyncStorage.getStore();\n throw getRedirectError(url, type, // If we're in an action, we want to use a 303 redirect\n // as we don't want the POST request to follow the redirect,\n // as it could result in erroneous re-submissions.\n (actionStore == null ? void 0 : actionStore.isAction) ? _redirectstatuscode.RedirectStatusCode.SeeOther : _redirectstatuscode.RedirectStatusCode.TemporaryRedirect);\n}\nfunction permanentRedirect(url, type) {\n if (type === void 0) type = \"replace\";\n const actionStore = _actionasyncstorageexternal.actionAsyncStorage.getStore();\n throw getRedirectError(url, type, // If we're in an action, we want to use a 303 redirect\n // as we don't want the POST request to follow the redirect,\n // as it could result in erroneous re-submissions.\n (actionStore == null ? void 0 : actionStore.isAction) ? _redirectstatuscode.RedirectStatusCode.SeeOther : _redirectstatuscode.RedirectStatusCode.PermanentRedirect);\n}\nfunction isRedirectError(error) {\n if (typeof error !== \"object\" || error === null || !(\"digest\" in error) || typeof error.digest !== \"string\") {\n return false;\n }\n const [errorCode, type, destination, status] = error.digest.split(\";\", 4);\n const statusCode = Number(status);\n return errorCode === REDIRECT_ERROR_CODE && (type === \"replace\" || type === \"push\") && typeof destination === \"string\" && !isNaN(statusCode) && statusCode in _redirectstatuscode.RedirectStatusCode;\n}\nfunction getURLFromRedirectError(error) {\n if (!isRedirectError(error)) return null;\n // Slices off the beginning of the digest that contains the code and the\n // separating ';'.\n return error.digest.split(\";\", 3)[2];\n}\nfunction getRedirectTypeFromError(error) {\n if (!isRedirectError(error)) {\n throw new Error(\"Not a redirect error\");\n }\n return error.digest.split(\";\", 2)[1];\n}\nfunction getRedirectStatusCodeFromError(error) {\n if (!isRedirectError(error)) {\n throw new Error(\"Not a redirect error\");\n }\n return Number(error.digest.split(\";\", 4)[3]);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=redirect.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"requestAsyncStorage\", {\n enumerable: true,\n get: function() {\n return requestAsyncStorage;\n }\n});\nconst _asynclocalstorage = require(\"./async-local-storage\");\nconst requestAsyncStorage = (0, _asynclocalstorage.createAsyncLocalStorage)();\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=request-async-storage.external.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"getSegmentValue\", {\n enumerable: true,\n get: function() {\n return getSegmentValue;\n }\n});\nfunction getSegmentValue(segment) {\n return Array.isArray(segment) ? segment[1] : segment;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=get-segment-value.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n PrefetchKind: null,\n ACTION_REFRESH: null,\n ACTION_NAVIGATE: null,\n ACTION_RESTORE: null,\n ACTION_SERVER_PATCH: null,\n ACTION_PREFETCH: null,\n ACTION_FAST_REFRESH: null,\n ACTION_SERVER_ACTION: null,\n isThenable: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n PrefetchKind: function() {\n return PrefetchKind;\n },\n ACTION_REFRESH: function() {\n return ACTION_REFRESH;\n },\n ACTION_NAVIGATE: function() {\n return ACTION_NAVIGATE;\n },\n ACTION_RESTORE: function() {\n return ACTION_RESTORE;\n },\n ACTION_SERVER_PATCH: function() {\n return ACTION_SERVER_PATCH;\n },\n ACTION_PREFETCH: function() {\n return ACTION_PREFETCH;\n },\n ACTION_FAST_REFRESH: function() {\n return ACTION_FAST_REFRESH;\n },\n ACTION_SERVER_ACTION: function() {\n return ACTION_SERVER_ACTION;\n },\n isThenable: function() {\n return isThenable;\n }\n});\nconst ACTION_REFRESH = \"refresh\";\nconst ACTION_NAVIGATE = \"navigate\";\nconst ACTION_RESTORE = \"restore\";\nconst ACTION_SERVER_PATCH = \"server-patch\";\nconst ACTION_PREFETCH = \"prefetch\";\nconst ACTION_FAST_REFRESH = \"fast-refresh\";\nconst ACTION_SERVER_ACTION = \"server-action\";\nvar PrefetchKind;\n(function(PrefetchKind) {\n PrefetchKind[\"AUTO\"] = \"auto\";\n PrefetchKind[\"FULL\"] = \"full\";\n PrefetchKind[\"TEMPORARY\"] = \"temporary\";\n})(PrefetchKind || (PrefetchKind = {}));\nfunction isThenable(value) {\n // TODO: We don't gain anything from this abstraction. It's unsound, and only\n // makes sense in the specific places where we use it. So it's better to keep\n // the type coercion inline, instead of leaking this to other places in\n // the codebase.\n return value && (typeof value === \"object\" || typeof value === \"function\") && typeof value.then === \"function\";\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=router-reducer-types.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"getDomainLocale\", {\n enumerable: true,\n get: function() {\n return getDomainLocale;\n }\n});\nconst _normalizetrailingslash = require(\"./normalize-trailing-slash\");\nconst basePath = process.env.__NEXT_ROUTER_BASEPATH || \"\";\nfunction getDomainLocale(path, locale, locales, domainLocales) {\n if (process.env.__NEXT_I18N_SUPPORT) {\n const normalizeLocalePath = require(\"./normalize-locale-path\").normalizeLocalePath;\n const detectDomainLocale = require(\"./detect-domain-locale\").detectDomainLocale;\n const target = locale || normalizeLocalePath(path, locales).detectedLocale;\n const domain = detectDomainLocale(domainLocales, undefined, target);\n if (domain) {\n const proto = \"http\" + (domain.http ? \"\" : \"s\") + \"://\";\n const finalLocale = target === domain.defaultLocale ? \"\" : \"/\" + target;\n return \"\" + proto + domain.domain + (0, _normalizetrailingslash.normalizePathTrailingSlash)(\"\" + basePath + finalLocale + path);\n }\n return false;\n } else {\n return false;\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=get-domain-locale.js.map","\"use client\";\n\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _jsxruntime = require(\"react/jsx-runtime\");\nconst _react = /*#__PURE__*/ _interop_require_default._(require(\"react\"));\nconst _resolvehref = require(\"./resolve-href\");\nconst _islocalurl = require(\"../shared/lib/router/utils/is-local-url\");\nconst _formaturl = require(\"../shared/lib/router/utils/format-url\");\nconst _utils = require(\"../shared/lib/utils\");\nconst _addlocale = require(\"./add-locale\");\nconst _routercontextsharedruntime = require(\"../shared/lib/router-context.shared-runtime\");\nconst _approutercontextsharedruntime = require(\"../shared/lib/app-router-context.shared-runtime\");\nconst _useintersection = require(\"./use-intersection\");\nconst _getdomainlocale = require(\"./get-domain-locale\");\nconst _addbasepath = require(\"./add-base-path\");\nconst _routerreducertypes = require(\"./components/router-reducer/router-reducer-types\");\nconst prefetched = new Set();\nfunction prefetch(router, href, as, options, appOptions, isAppRouter) {\n if (typeof window === \"undefined\") {\n return;\n }\n // app-router supports external urls out of the box so it shouldn't short-circuit here as support for e.g. `replace` is added in the app-router.\n if (!isAppRouter && !(0, _islocalurl.isLocalURL)(href)) {\n return;\n }\n // We should only dedupe requests when experimental.optimisticClientCache is\n // disabled.\n if (!options.bypassPrefetchedCheck) {\n const locale = // Let the link's locale prop override the default router locale.\n typeof options.locale !== \"undefined\" ? options.locale : \"locale\" in router ? router.locale : undefined;\n const prefetchedKey = href + \"%\" + as + \"%\" + locale;\n // If we've already fetched the key, then don't prefetch it again!\n if (prefetched.has(prefetchedKey)) {\n return;\n }\n // Mark this URL as prefetched.\n prefetched.add(prefetchedKey);\n }\n const prefetchPromise = isAppRouter ? router.prefetch(href, appOptions) : router.prefetch(href, as, options);\n // Prefetch the JSON page if asked (only in the client)\n // We need to handle a prefetch error here since we may be\n // loading with priority which can reject but we don't\n // want to force navigation since this is only a prefetch\n Promise.resolve(prefetchPromise).catch((err)=>{\n if (process.env.NODE_ENV !== \"production\") {\n // rethrow to show invalid URL errors\n throw err;\n }\n });\n}\nfunction isModifiedEvent(event) {\n const eventTarget = event.currentTarget;\n const target = eventTarget.getAttribute(\"target\");\n return target && target !== \"_self\" || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || // triggers resource download\n event.nativeEvent && event.nativeEvent.which === 2;\n}\nfunction linkClicked(e, router, href, as, replace, shallow, scroll, locale, isAppRouter) {\n const { nodeName } = e.currentTarget;\n // anchors inside an svg have a lowercase nodeName\n const isAnchorNodeName = nodeName.toUpperCase() === \"A\";\n if (isAnchorNodeName && (isModifiedEvent(e) || // app-router supports external urls out of the box so it shouldn't short-circuit here as support for e.g. `replace` is added in the app-router.\n !isAppRouter && !(0, _islocalurl.isLocalURL)(href))) {\n // ignore click for browser’s default behavior\n return;\n }\n e.preventDefault();\n const navigate = ()=>{\n // If the router is an NextRouter instance it will have `beforePopState`\n const routerScroll = scroll != null ? scroll : true;\n if (\"beforePopState\" in router) {\n router[replace ? \"replace\" : \"push\"](href, as, {\n shallow,\n locale,\n scroll: routerScroll\n });\n } else {\n router[replace ? \"replace\" : \"push\"](as || href, {\n scroll: routerScroll\n });\n }\n };\n if (isAppRouter) {\n _react.default.startTransition(navigate);\n } else {\n navigate();\n }\n}\nfunction formatStringOrUrl(urlObjOrString) {\n if (typeof urlObjOrString === \"string\") {\n return urlObjOrString;\n }\n return (0, _formaturl.formatUrl)(urlObjOrString);\n}\n/**\n * React Component that enables client-side transitions between routes.\n */ const Link = /*#__PURE__*/ _react.default.forwardRef(function LinkComponent(props, forwardedRef) {\n let children;\n const { href: hrefProp, as: asProp, children: childrenProp, prefetch: prefetchProp = null, passHref, replace, shallow, scroll, locale, onClick, onMouseEnter: onMouseEnterProp, onTouchStart: onTouchStartProp, legacyBehavior = false, ...restProps } = props;\n children = childrenProp;\n if (legacyBehavior && (typeof children === \"string\" || typeof children === \"number\")) {\n children = /*#__PURE__*/ (0, _jsxruntime.jsx)(\"a\", {\n children: children\n });\n }\n const pagesRouter = _react.default.useContext(_routercontextsharedruntime.RouterContext);\n const appRouter = _react.default.useContext(_approutercontextsharedruntime.AppRouterContext);\n const router = pagesRouter != null ? pagesRouter : appRouter;\n // We're in the app directory if there is no pages router.\n const isAppRouter = !pagesRouter;\n const prefetchEnabled = prefetchProp !== false;\n /**\n * The possible states for prefetch are:\n * - null: this is the default \"auto\" mode, where we will prefetch partially if the link is in the viewport\n * - true: we will prefetch if the link is visible and prefetch the full page, not just partially\n * - false: we will not prefetch if in the viewport at all\n */ const appPrefetchKind = prefetchProp === null ? _routerreducertypes.PrefetchKind.AUTO : _routerreducertypes.PrefetchKind.FULL;\n if (process.env.NODE_ENV !== \"production\") {\n function createPropError(args) {\n return new Error(\"Failed prop type: The prop `\" + args.key + \"` expects a \" + args.expected + \" in ``, but got `\" + args.actual + \"` instead.\" + (typeof window !== \"undefined\" ? \"\\nOpen your browser's console to view the Component stack trace.\" : \"\"));\n }\n // TypeScript trick for type-guarding:\n const requiredPropsGuard = {\n href: true\n };\n const requiredProps = Object.keys(requiredPropsGuard);\n requiredProps.forEach((key)=>{\n if (key === \"href\") {\n if (props[key] == null || typeof props[key] !== \"string\" && typeof props[key] !== \"object\") {\n throw createPropError({\n key,\n expected: \"`string` or `object`\",\n actual: props[key] === null ? \"null\" : typeof props[key]\n });\n }\n } else {\n // TypeScript trick for type-guarding:\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const _ = key;\n }\n });\n // TypeScript trick for type-guarding:\n const optionalPropsGuard = {\n as: true,\n replace: true,\n scroll: true,\n shallow: true,\n passHref: true,\n prefetch: true,\n locale: true,\n onClick: true,\n onMouseEnter: true,\n onTouchStart: true,\n legacyBehavior: true\n };\n const optionalProps = Object.keys(optionalPropsGuard);\n optionalProps.forEach((key)=>{\n const valType = typeof props[key];\n if (key === \"as\") {\n if (props[key] && valType !== \"string\" && valType !== \"object\") {\n throw createPropError({\n key,\n expected: \"`string` or `object`\",\n actual: valType\n });\n }\n } else if (key === \"locale\") {\n if (props[key] && valType !== \"string\") {\n throw createPropError({\n key,\n expected: \"`string`\",\n actual: valType\n });\n }\n } else if (key === \"onClick\" || key === \"onMouseEnter\" || key === \"onTouchStart\") {\n if (props[key] && valType !== \"function\") {\n throw createPropError({\n key,\n expected: \"`function`\",\n actual: valType\n });\n }\n } else if (key === \"replace\" || key === \"scroll\" || key === \"shallow\" || key === \"passHref\" || key === \"prefetch\" || key === \"legacyBehavior\") {\n if (props[key] != null && valType !== \"boolean\") {\n throw createPropError({\n key,\n expected: \"`boolean`\",\n actual: valType\n });\n }\n } else {\n // TypeScript trick for type-guarding:\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const _ = key;\n }\n });\n // This hook is in a conditional but that is ok because `process.env.NODE_ENV` never changes\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const hasWarned = _react.default.useRef(false);\n if (props.prefetch && !hasWarned.current && !isAppRouter) {\n hasWarned.current = true;\n console.warn(\"Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://nextjs.org/docs/messages/prefetch-true-deprecated\");\n }\n }\n if (process.env.NODE_ENV !== \"production\") {\n if (isAppRouter && !asProp) {\n let href;\n if (typeof hrefProp === \"string\") {\n href = hrefProp;\n } else if (typeof hrefProp === \"object\" && typeof hrefProp.pathname === \"string\") {\n href = hrefProp.pathname;\n }\n if (href) {\n const hasDynamicSegment = href.split(\"/\").some((segment)=>segment.startsWith(\"[\") && segment.endsWith(\"]\"));\n if (hasDynamicSegment) {\n throw new Error(\"Dynamic href `\" + href + \"` found in while using the `/app` router, this is not supported. Read more: https://nextjs.org/docs/messages/app-dir-dynamic-href\");\n }\n }\n }\n }\n const { href, as } = _react.default.useMemo(()=>{\n if (!pagesRouter) {\n const resolvedHref = formatStringOrUrl(hrefProp);\n return {\n href: resolvedHref,\n as: asProp ? formatStringOrUrl(asProp) : resolvedHref\n };\n }\n const [resolvedHref, resolvedAs] = (0, _resolvehref.resolveHref)(pagesRouter, hrefProp, true);\n return {\n href: resolvedHref,\n as: asProp ? (0, _resolvehref.resolveHref)(pagesRouter, asProp) : resolvedAs || resolvedHref\n };\n }, [\n pagesRouter,\n hrefProp,\n asProp\n ]);\n const previousHref = _react.default.useRef(href);\n const previousAs = _react.default.useRef(as);\n // This will return the first child, if multiple are provided it will throw an error\n let child;\n if (legacyBehavior) {\n if (process.env.NODE_ENV === \"development\") {\n if (onClick) {\n console.warn('\"onClick\" was passed to with `href` of `' + hrefProp + '` but \"legacyBehavior\" was set. The legacy behavior requires onClick be set on the child of next/link');\n }\n if (onMouseEnterProp) {\n console.warn('\"onMouseEnter\" was passed to with `href` of `' + hrefProp + '` but \"legacyBehavior\" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');\n }\n try {\n child = _react.default.Children.only(children);\n } catch (err) {\n if (!children) {\n throw new Error(\"No children were passed to with `href` of `\" + hrefProp + \"` but one child is required https://nextjs.org/docs/messages/link-no-children\");\n }\n throw new Error(\"Multiple children were passed to with `href` of `\" + hrefProp + \"` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children\" + (typeof window !== \"undefined\" ? \" \\nOpen your browser's console to view the Component stack trace.\" : \"\"));\n }\n } else {\n child = _react.default.Children.only(children);\n }\n } else {\n if (process.env.NODE_ENV === \"development\") {\n if ((children == null ? void 0 : children.type) === \"a\") {\n throw new Error(\"Invalid with child. Please remove or use .\\nLearn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor\");\n }\n }\n }\n const childRef = legacyBehavior ? child && typeof child === \"object\" && child.ref : forwardedRef;\n const [setIntersectionRef, isVisible, resetVisible] = (0, _useintersection.useIntersection)({\n rootMargin: \"200px\"\n });\n const setRef = _react.default.useCallback((el)=>{\n // Before the link getting observed, check if visible state need to be reset\n if (previousAs.current !== as || previousHref.current !== href) {\n resetVisible();\n previousAs.current = as;\n previousHref.current = href;\n }\n setIntersectionRef(el);\n if (childRef) {\n if (typeof childRef === \"function\") childRef(el);\n else if (typeof childRef === \"object\") {\n childRef.current = el;\n }\n }\n }, [\n as,\n childRef,\n href,\n resetVisible,\n setIntersectionRef\n ]);\n // Prefetch the URL if we haven't already and it's visible.\n _react.default.useEffect(()=>{\n // in dev, we only prefetch on hover to avoid wasting resources as the prefetch will trigger compiling the page.\n if (process.env.NODE_ENV !== \"production\") {\n return;\n }\n if (!router) {\n return;\n }\n // If we don't need to prefetch the URL, don't do prefetch.\n if (!isVisible || !prefetchEnabled) {\n return;\n }\n // Prefetch the URL.\n prefetch(router, href, as, {\n locale\n }, {\n kind: appPrefetchKind\n }, isAppRouter);\n }, [\n as,\n href,\n isVisible,\n locale,\n prefetchEnabled,\n pagesRouter == null ? void 0 : pagesRouter.locale,\n router,\n isAppRouter,\n appPrefetchKind\n ]);\n const childProps = {\n ref: setRef,\n onClick (e) {\n if (process.env.NODE_ENV !== \"production\") {\n if (!e) {\n throw new Error('Component rendered inside next/link has to pass click event to \"onClick\" prop.');\n }\n }\n if (!legacyBehavior && typeof onClick === \"function\") {\n onClick(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onClick === \"function\") {\n child.props.onClick(e);\n }\n if (!router) {\n return;\n }\n if (e.defaultPrevented) {\n return;\n }\n linkClicked(e, router, href, as, replace, shallow, scroll, locale, isAppRouter);\n },\n onMouseEnter (e) {\n if (!legacyBehavior && typeof onMouseEnterProp === \"function\") {\n onMouseEnterProp(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onMouseEnter === \"function\") {\n child.props.onMouseEnter(e);\n }\n if (!router) {\n return;\n }\n if ((!prefetchEnabled || process.env.NODE_ENV === \"development\") && isAppRouter) {\n return;\n }\n prefetch(router, href, as, {\n locale,\n priority: true,\n // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}\n bypassPrefetchedCheck: true\n }, {\n kind: appPrefetchKind\n }, isAppRouter);\n },\n onTouchStart (e) {\n if (!legacyBehavior && typeof onTouchStartProp === \"function\") {\n onTouchStartProp(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onTouchStart === \"function\") {\n child.props.onTouchStart(e);\n }\n if (!router) {\n return;\n }\n if (!prefetchEnabled && isAppRouter) {\n return;\n }\n prefetch(router, href, as, {\n locale,\n priority: true,\n // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}\n bypassPrefetchedCheck: true\n }, {\n kind: appPrefetchKind\n }, isAppRouter);\n }\n };\n // If child is an tag and doesn't have a href attribute, or if the 'passHref' property is\n // defined, we specify the current 'href', so that repetition is not needed by the user.\n // If the url is absolute, we can bypass the logic to prepend the domain and locale.\n if ((0, _utils.isAbsoluteUrl)(as)) {\n childProps.href = as;\n } else if (!legacyBehavior || passHref || child.type === \"a\" && !(\"href\" in child.props)) {\n const curLocale = typeof locale !== \"undefined\" ? locale : pagesRouter == null ? void 0 : pagesRouter.locale;\n // we only render domain locales if we are currently on a domain locale\n // so that locale links are still visitable in development/preview envs\n const localeDomain = (pagesRouter == null ? void 0 : pagesRouter.isLocaleDomain) && (0, _getdomainlocale.getDomainLocale)(as, curLocale, pagesRouter == null ? void 0 : pagesRouter.locales, pagesRouter == null ? void 0 : pagesRouter.domainLocales);\n childProps.href = localeDomain || (0, _addbasepath.addBasePath)((0, _addlocale.addLocale)(as, curLocale, pagesRouter == null ? void 0 : pagesRouter.defaultLocale));\n }\n return legacyBehavior ? /*#__PURE__*/ _react.default.cloneElement(child, childProps) : /*#__PURE__*/ (0, _jsxruntime.jsx)(\"a\", {\n ...restProps,\n ...childProps,\n children: children\n });\n});\nconst _default = Link;\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=link.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"useIntersection\", {\n enumerable: true,\n get: function() {\n return useIntersection;\n }\n});\nconst _react = require(\"react\");\nconst _requestidlecallback = require(\"./request-idle-callback\");\nconst hasIntersectionObserver = typeof IntersectionObserver === \"function\";\nconst observers = new Map();\nconst idList = [];\nfunction createObserver(options) {\n const id = {\n root: options.root || null,\n margin: options.rootMargin || \"\"\n };\n const existing = idList.find((obj)=>obj.root === id.root && obj.margin === id.margin);\n let instance;\n if (existing) {\n instance = observers.get(existing);\n if (instance) {\n return instance;\n }\n }\n const elements = new Map();\n const observer = new IntersectionObserver((entries)=>{\n entries.forEach((entry)=>{\n const callback = elements.get(entry.target);\n const isVisible = entry.isIntersecting || entry.intersectionRatio > 0;\n if (callback && isVisible) {\n callback(isVisible);\n }\n });\n }, options);\n instance = {\n id,\n observer,\n elements\n };\n idList.push(id);\n observers.set(id, instance);\n return instance;\n}\nfunction observe(element, callback, options) {\n const { id, observer, elements } = createObserver(options);\n elements.set(element, callback);\n observer.observe(element);\n return function unobserve() {\n elements.delete(element);\n observer.unobserve(element);\n // Destroy observer when there's nothing left to watch:\n if (elements.size === 0) {\n observer.disconnect();\n observers.delete(id);\n const index = idList.findIndex((obj)=>obj.root === id.root && obj.margin === id.margin);\n if (index > -1) {\n idList.splice(index, 1);\n }\n }\n };\n}\nfunction useIntersection(param) {\n let { rootRef, rootMargin, disabled } = param;\n const isDisabled = disabled || !hasIntersectionObserver;\n const [visible, setVisible] = (0, _react.useState)(false);\n const elementRef = (0, _react.useRef)(null);\n const setElement = (0, _react.useCallback)((element)=>{\n elementRef.current = element;\n }, []);\n (0, _react.useEffect)(()=>{\n if (hasIntersectionObserver) {\n if (isDisabled || visible) return;\n const element = elementRef.current;\n if (element && element.tagName) {\n const unobserve = observe(element, (isVisible)=>isVisible && setVisible(isVisible), {\n root: rootRef == null ? void 0 : rootRef.current,\n rootMargin\n });\n return unobserve;\n }\n } else {\n if (!visible) {\n const idleCallback = (0, _requestidlecallback.requestIdleCallback)(()=>setVisible(true));\n return ()=>(0, _requestidlecallback.cancelIdleCallback)(idleCallback);\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isDisabled,\n rootMargin,\n rootRef,\n visible,\n elementRef.current\n ]);\n const resetVisible = (0, _react.useCallback)(()=>{\n setVisible(false);\n }, []);\n return [\n setElement,\n visible,\n resetVisible\n ];\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=use-intersection.js.map","\"use client\";\n\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n ServerInsertedHTMLContext: null,\n useServerInsertedHTML: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n ServerInsertedHTMLContext: function() {\n return ServerInsertedHTMLContext;\n },\n useServerInsertedHTML: function() {\n return useServerInsertedHTML;\n }\n});\nconst _interop_require_wildcard = require(\"@swc/helpers/_/_interop_require_wildcard\");\nconst _react = /*#__PURE__*/ _interop_require_wildcard._(require(\"react\"));\nconst ServerInsertedHTMLContext = /*#__PURE__*/ _react.default.createContext(null);\nfunction useServerInsertedHTML(callback) {\n const addInsertedServerHTMLCallback = (0, _react.useContext)(ServerInsertedHTMLContext);\n // Should have no effects on client where there's no flush effects provider\n if (addInsertedServerHTMLCallback) {\n addInsertedServerHTMLCallback(callback);\n }\n}\n\n//# sourceMappingURL=server-inserted-html.shared-runtime.js.map","\"use client\";\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React from \"react\";\nimport createCache from \"@emotion/cache\";\nimport { useServerInsertedHTML } from \"next/navigation\";\nimport { useState } from \"react\";\nimport { CacheProvider as DefaultCacheProvider } from \"@emotion/react\";\nexport function NextAppDirEmotionCacheProvider(props) {\n const { options: optionsWithPrepend, CacheProvider = DefaultCacheProvider, children } = props;\n const { prepend = false } = optionsWithPrepend, options = __rest(optionsWithPrepend, [\"prepend\"]);\n const [{ cache, flush }] = useState(() => {\n const cache = createCache(options);\n cache.compat = true;\n const prevInsert = cache.insert;\n let inserted = [];\n cache.insert = (...args) => {\n const [selector, serialized] = args;\n if (cache.inserted[serialized.name] === undefined) {\n inserted.push({\n \"name\": serialized.name,\n \"isGlobal\": selector === \"\"\n });\n }\n return prevInsert(...args);\n };\n const flush = () => {\n const prevInserted = inserted;\n inserted = [];\n return prevInserted;\n };\n return { cache, flush };\n });\n useServerInsertedHTML(() => {\n const inserted = flush();\n if (inserted.length === 0) {\n return null;\n }\n let styles = \"\";\n let dataEmotionAttribute = cache.key;\n const globals = [];\n for (const { name, isGlobal } of inserted) {\n const style = cache.inserted[name];\n if (typeof style === \"boolean\") {\n continue;\n }\n if (isGlobal) {\n globals.push({ name, style });\n }\n else {\n styles += style;\n dataEmotionAttribute += ` ${name}`;\n }\n }\n const get__Html = (style) => prepend ? `@layer emotion {${style}}` : style;\n return (React.createElement(React.Fragment, null,\n globals.map(({ name, style }) => (React.createElement(\"style\", { nonce: options.nonce, key: name, \"data-emotion\": `${cache.key}-global ${name}`, dangerouslySetInnerHTML: { \"__html\": get__Html(style) } }))),\n styles !== \"\" && (React.createElement(\"style\", { nonce: options.nonce, \"data-emotion\": dataEmotionAttribute, dangerouslySetInnerHTML: {\n \"__html\": get__Html(styles)\n } }))));\n });\n return React.createElement(CacheProvider, { value: cache }, children);\n}\nexport default NextAppDirEmotionCacheProvider;\n","/** https://docs.tsafe.dev/assert */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function assert(condition, msg) {\n if (!condition) {\n throw new Error(msg);\n }\n}\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from \"react\";\nimport { CacheProvider as DefaultCacheProvider } from \"@emotion/react\";\nimport createCache from \"@emotion/cache\";\nimport { assert } from \"../tools/assert\";\n/**\n * @see \n * This utility implements https://emotion.sh/docs/ssr#advanced-approach\n * */\nexport function createEmotionSsrAdvancedApproach(\n/** This is the options passed to createCache() from 'import createCache from \"@emotion/cache\"' */\noptions, \n/** By default from 'import { CacheProvider } from \"@emotion/react\"' */\nCacheProvider = DefaultCacheProvider) {\n const { prepend } = options, optionsWithoutPrependProp = __rest(options, [\"prepend\"]);\n const appPropName = `${options.key}EmotionCache`;\n const insertionPointId = `${options.key}-emotion-cache-insertion-point`;\n function augmentDocumentWithEmotionCache(Document) {\n var _a;\n let super_getInitialProps = (_a = Document.getInitialProps) === null || _a === void 0 ? void 0 : _a.bind(Document);\n if (super_getInitialProps === undefined) {\n import(\"next/document\").then(({ default: DefaultDocument }) => (super_getInitialProps =\n DefaultDocument.getInitialProps.bind(DefaultDocument)));\n }\n const createEmotionServerOrPr = import(\"@emotion/server/create-instance\").then(({ default: createEmotionServer }) => createEmotionServer);\n Document.getInitialProps = (documentContext) => __awaiter(this, void 0, void 0, function* () {\n const cache = createCache(optionsWithoutPrependProp);\n const createEmotionServer = createEmotionServerOrPr instanceof Promise\n ? yield createEmotionServerOrPr\n : createEmotionServerOrPr;\n const emotionServer = createEmotionServer(cache);\n const originalRenderPage = documentContext.renderPage;\n documentContext.renderPage = (_a) => {\n var { enhanceApp } = _a, params = __rest(_a, [\"enhanceApp\"]);\n return originalRenderPage(Object.assign(Object.assign({}, params), { \"enhanceApp\": (App) => {\n var _a;\n const EnhancedApp = (_a = enhanceApp === null || enhanceApp === void 0 ? void 0 : enhanceApp(App)) !== null && _a !== void 0 ? _a : App;\n return function EnhanceApp(props) {\n return (React.createElement(EnhancedApp, Object.assign({}, Object.assign(Object.assign({}, props), { [appPropName]: cache }))));\n };\n } }));\n };\n assert(super_getInitialProps !== undefined, \"Default document not yet loaded. Please submit an issue to the tss-react repo\");\n const initialProps = yield super_getInitialProps(documentContext);\n const emotionStyles = [\n React.createElement(\"style\", { id: insertionPointId, key: insertionPointId }),\n ...emotionServer\n .extractCriticalToChunks(initialProps.html)\n .styles.filter(({ css }) => css !== \"\")\n .map(style => (React.createElement(\"style\", { nonce: options.nonce, \"data-emotion\": `${style.key} ${style.ids.join(\" \")}`, key: style.key, dangerouslySetInnerHTML: { \"__html\": style.css } })))\n ];\n const otherStyles = React.Children.toArray(initialProps.styles);\n return Object.assign(Object.assign({}, initialProps), { \"styles\": prepend\n ? [...emotionStyles, ...otherStyles]\n : [...otherStyles, ...emotionStyles] });\n });\n }\n function withAppEmotionCache(App) {\n const createClientSideCache = (() => {\n let cache = undefined;\n return () => {\n if (cache !== undefined) {\n return cache;\n }\n return (cache = createCache(Object.assign(Object.assign({}, optionsWithoutPrependProp), { \"insertionPoint\": (() => {\n // NOTE: Under normal circumstances we are on the client.\n // It might not be the case though, see: https://github.com/garronej/tss-react/issues/124\n const isBrowser = typeof document === \"object\" &&\n typeof (document === null || document === void 0 ? void 0 : document.getElementById) === \"function\";\n if (!isBrowser) {\n return undefined;\n }\n const htmlElement = document.getElementById(insertionPointId);\n assert(htmlElement !== null);\n return htmlElement;\n })() })));\n };\n })();\n function AppWithEmotionCache(props) {\n const _a = props, _b = appPropName, cache = _a[_b], rest = __rest(_a, [typeof _b === \"symbol\" ? _b : _b + \"\"]);\n return (React.createElement(CacheProvider, { value: cache !== null && cache !== void 0 ? cache : createClientSideCache() },\n React.createElement(App, Object.assign({}, rest))));\n }\n Object.keys(App).forEach(staticMethod => (AppWithEmotionCache[staticMethod] = App[staticMethod]));\n AppWithEmotionCache.displayName = AppWithEmotionCache.name;\n return AppWithEmotionCache;\n }\n return { withAppEmotionCache, augmentDocumentWithEmotionCache };\n}\n","\"use client\";\nexport * from \"./appDir\";\nexport * from \"./pagesDir\";\n","import { data_fr_scheme, data_fr_theme, rootColorSchemeStyleTagId } from \"./constants\";\nimport { fr } from \"../fr\";\n// TODO enhance to use DOMPurify with trustedTypes\nexport const getScriptToRunAsap = ({ defaultColorScheme, nonce = \"\", trustedTypesPolicyName }) => `\n{\n\n window.ssrWasPerformedWithIsDark = \"${defaultColorScheme}\" === \"dark\";\n\tconst sanitizer = typeof trustedTypes !== \"undefined\" ? trustedTypes.createPolicy(\"${trustedTypesPolicyName}-asap\", { createHTML: s => s }) : {\n\t\tcreateHTML: s => s,\n\t};\n \n const isDark = (() => {\n \n \tconst isDarkExplicitlyProvidedAsParameter = (() => {\n \t\tif (\"${defaultColorScheme}\" === \"system\") {\n \t\t\treturn undefined;\n \t\t}\n \n \t\tswitch (\"${defaultColorScheme}\") {\n \t\t\tcase \"dark\": return true;\n \t\t\tcase \"light\": return false;\n \t\t}\n \t})();\n \n \tconst isDarkFromLocalStorage = (() => {\n \t\tconst colorSchemeReadFromLocalStorage = localStorage.getItem(\"scheme\");\n \n \t\tif (colorSchemeReadFromLocalStorage === null) {\n \t\t\treturn undefined;\n \t\t}\n \n \t\tif (colorSchemeReadFromLocalStorage === \"system\") {\n \t\t\treturn undefined;\n \t\t}\n \n \t\tswitch (colorSchemeReadFromLocalStorage) {\n \t\t\tcase \"dark\":\n \t\t\t\treturn true;\n \t\t\tcase \"light\":\n \t\t\t\treturn false;\n \t\t}\n \t})();\n \n \tconst isDarkFromOsPreference = (() => {\n \t\tif (!window.matchMedia) {\n \t\t\treturn undefined;\n \t\t}\n \n \t\treturn window.matchMedia(\"(prefers-color-scheme: dark)\").matches;\n \t})();\n \n \tconst isDarkFallback = false;\n \n \treturn (\n \t\tisDarkFromLocalStorage ??\n \t\tisDarkExplicitlyProvidedAsParameter ??\n \t\tisDarkFromOsPreference ??\n \t\tisDarkFallback\n \t);\n \n })();\n \n [\"${data_fr_scheme}\", \"${data_fr_theme}\"].forEach(attr => document.documentElement.setAttribute(attr, isDark ? \"dark\" : \"light\"));\n\n {\n\n let element= document.getElementById(\"${rootColorSchemeStyleTagId}\");\n\n\t\tif( element !== null ){\n\t\t\telement.remove()\n\t\t}\n\n element = document.createElement(\"style\");\n\n\t\tif (\"${nonce}\" !== \"\") {\n\t\t\telement.setAttribute(\"nonce\", \"${nonce}\");\n\t\t}\n\n element.id = \"${rootColorSchemeStyleTagId}\";\n\n element.innerHTML = sanitizer.createHTML(\\`:root { color-scheme: \\${isDark ? \"dark\" : \"light\"}; }\\`);\n\n document.head.appendChild(element);\n\n }\n\n {\n\n const name = \"theme-color\";\n\n let element = document.querySelector(\\`meta[name=\\${name}]\\`);\n\t\t\n\t\tif( element !== null ){\n\t\t\telement.remove();\n\t\t}\n\n element = document.createElement(\"meta\");\n\n element.name = name;\n\n element.content = isDark ? \"${fr.colors.getHex({ \"isDark\": true }).decisions.background.default.grey.default}\" : \"${fr.colors.getHex({ \"isDark\": false }).decisions.background.default.grey.default}\";\n\n document.head.appendChild(element);\n\n }\n\n}\n`;\n//# sourceMappingURL=scriptToRunAsap.js.map","import marianneLightWoff2Url from \"../../dsfr/fonts/Marianne-Light.woff2\";\nimport marianneItalicWoff2Url from \"../../dsfr/fonts/Marianne-Light_Italic.woff2\";\nimport marianneRegularWoff2Url from \"../../dsfr/fonts/Marianne-Regular.woff2\";\nimport marianneRegularItalicWoff2Url from \"../../dsfr/fonts/Marianne-Regular_Italic.woff2\";\nimport marianneMediumWoff2Url from \"../../dsfr/fonts/Marianne-Medium.woff2\";\nimport marianneMediumItalicWoff2Url from \"../../dsfr/fonts/Marianne-Medium_Italic.woff2\";\nimport marianneBoldWoff2Url from \"../../dsfr/fonts/Marianne-Bold.woff2\";\nimport marianneBoldItalicWoff2Url from \"../../dsfr/fonts/Marianne-Bold_Italic.woff2\";\nimport spectralRegularWoff2Url from \"../../dsfr/fonts/Spectral-Regular.woff2\";\nimport spectralExtraBoldWoff2Url from \"../../dsfr/fonts/Spectral-ExtraBold.woff2\";\nexport const fontUrlByFileBasename = {\n \"Marianne-Light\": marianneLightWoff2Url,\n \"Marianne-Light_Italic\": marianneItalicWoff2Url,\n \"Marianne-Regular\": marianneRegularWoff2Url,\n \"Marianne-Regular_Italic\": marianneRegularItalicWoff2Url,\n \"Marianne-Medium\": marianneMediumWoff2Url,\n \"Marianne-Medium_Italic\": marianneMediumItalicWoff2Url,\n \"Marianne-Bold\": marianneBoldWoff2Url,\n \"Marianne-Bold_Italic\": marianneBoldItalicWoff2Url,\n \"Spectral-Regular\": spectralRegularWoff2Url,\n \"Spectral-ExtraBold\": spectralExtraBoldWoff2Url\n};\n//# sourceMappingURL=fontUrlByFileBasename.js.map","export default {\"src\":\"/template-nextjs/_next/static/media/apple-touch-icon.1db30588.png\",\"height\":180,\"width\":180,\"blurDataURL\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAS1BMVEX////ygIM0NKfs7Pfd3fHmHSIcHJ3iAwX9+vsAAI+0tN9oaL/00tTzmJv87u87O6rrVFj84eJBQa6EhMukpNjR0OpKSrLmKi7orK1P482tAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAPUlEQVR4nBXKxxHAMAwEsVU8UpJz7L9Sj/EG7ktiPMJrxgjCI8Ar4p7BRuE8EsYm7t6wsIraL+Yi0f5rkz5A/AHPT3zajwAAAABJRU5ErkJggg==\",\"blurWidth\":8,\"blurHeight\":8};","export default {\"src\":\"/template-nextjs/_next/static/media/favicon.f453a8cf.svg\",\"height\":1080,\"width\":1080,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/template-nextjs/_next/static/media/favicon.8c087985.ico\",\"height\":48,\"width\":48,\"blurWidth\":0,\"blurHeight\":0};","export function getAssetUrl(componentOrUrl) {\n return typeof componentOrUrl === \"string\" ? componentOrUrl : componentOrUrl.src;\n}\n//# sourceMappingURL=getAssetUrl.js.map","import { overwriteReadonlyProp } from \"tsafe/lab/overwriteReadonlyProp\";\nexport class Deferred {\n constructor() {\n this.isPending = true;\n let resolve;\n let reject;\n this.pr = new Promise((resolve_, reject_) => {\n resolve = value => {\n overwriteReadonlyProp(this, \"isPending\", false);\n resolve_(value);\n };\n reject = error => {\n overwriteReadonlyProp(this, \"isPending\", false);\n reject_(error);\n };\n });\n this.resolve = resolve;\n this.reject = reject;\n }\n}\nexport class VoidDeferred extends Deferred {\n}\n//# sourceMappingURL=Deferred.js.map","import { isBrowser } from \"./tools/isBrowser\";\nimport { assert } from \"tsafe/assert\";\nimport { startClientSideIsDarkLogic } from \"./useIsDark/client\";\nimport { Deferred } from \"./tools/Deferred\";\nlet isStarted = false;\nexport async function start(params) {\n const { defaultColorScheme, verbose, nextParams, doCheckNonce, trustedTypesPolicyName } = params;\n assert(isBrowser);\n if (isStarted) {\n return;\n }\n isStarted = true;\n const registerEffectAction = nextParams === undefined ? action => action() : nextParams.registerEffectAction;\n startClientSideIsDarkLogic({\n \"colorSchemeExplicitlyProvidedAsParameter\": defaultColorScheme,\n \"doPersistDarkModePreferenceWithCookie\": nextParams === undefined ? false : nextParams.doPersistDarkModePreferenceWithCookie,\n registerEffectAction,\n doCheckNonce,\n trustedTypesPolicyName\n });\n // @ts-expect-error\n window.dsfr = {\n verbose,\n \"mode\": \"react\"\n };\n // @ts-expect-error\n await import(\"./dsfr/dsfr.module.min\");\n dDsfrLoaded.resolve();\n registerEffectAction(() => {\n // @ts-expect-error\n window.dsfr.start();\n });\n}\nconst dDsfrLoaded = new Deferred();\nexport const prDsfrLoaded = dDsfrLoaded.pr;\n//# sourceMappingURL=start.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { useEffect } from \"react\";\nimport Head from \"next/head\";\nimport DefaultApp from \"next/app\";\nimport { rootColorSchemeStyleTagId, data_fr_scheme, data_fr_theme } from \"./useIsDark/constants\";\nimport { getScriptToRunAsap } from \"./useIsDark/scriptToRunAsap\";\nimport { SsrIsDarkProvider } from \"./useIsDark/server\";\nimport { isBrowser } from \"./tools/isBrowser\";\nimport { objectKeys } from \"tsafe/objectKeys\";\nimport { fontUrlByFileBasename } from \"./next-appdir/zz_internal/fontUrlByFileBasename\";\nimport AppleTouchIcon from \"./dsfr/favicon/apple-touch-icon.png\";\nimport FaviconSvg from \"./dsfr/favicon/favicon.svg\";\nimport FaviconIco from \"./dsfr/favicon/favicon.ico\";\nimport { getAssetUrl } from \"./tools/getAssetUrl\";\nimport { fr } from \"./fr\";\nimport { start } from \"./start\";\nimport { setLink } from \"./link\";\nimport { setUseLang } from \"./i18n\";\nimport { assert } from \"tsafe/assert\";\nimport \"./assets/dsfr_plus_icons.css\";\nconst isProduction = process.env.NODE_ENV !== \"development\";\nfunction readIsDarkInCookie(cookie) {\n const parsedCookies = Object.fromEntries(cookie\n .split(/; */)\n .map(line => line.split(\"=\"))\n .map(([key, value]) => [key, decodeURIComponent(value)]));\n if (!(data_fr_theme in parsedCookies)) {\n return undefined;\n }\n switch (parsedCookies[data_fr_theme]) {\n case \"light\":\n return false;\n case \"dark\":\n return true;\n default:\n return undefined;\n }\n}\nexport function createNextDsfrIntegrationApi(params) {\n const { defaultColorScheme, verbose = false, Link, preloadFonts = [], doPersistDarkModePreferenceWithCookie = false, useLang, trustedTypesPolicyName = \"react-dsfr\", doDisableFavicon = false } = params;\n let isAfterFirstEffect = false;\n const actions = [];\n if (Link !== undefined) {\n setLink({ Link });\n }\n if (useLang !== undefined) {\n setUseLang({ useLang });\n }\n if (isBrowser) {\n start({\n defaultColorScheme,\n verbose,\n \"doCheckNonce\": false,\n trustedTypesPolicyName,\n \"nextParams\": {\n doPersistDarkModePreferenceWithCookie,\n \"registerEffectAction\": action => {\n if (isAfterFirstEffect) {\n action();\n }\n else {\n actions.push(action);\n }\n }\n }\n });\n }\n const isDarkPropKey = \"dsfrIsDark\";\n function withDsfr(App) {\n var _a, _b;\n function AppWithDsfr(_a) {\n var _b = isDarkPropKey, isDark = _a[_b], props = __rest(_a, [typeof _b === \"symbol\" ? _b : _b + \"\"]);\n if (isDark === undefined) {\n isDark = isBrowser ? /*we do not use it*/ null : false;\n }\n useEffect(() => {\n if (isAfterFirstEffect) {\n return;\n }\n isAfterFirstEffect = true;\n actions.forEach(action => action());\n }, []);\n return (React.createElement(React.Fragment, null,\n React.createElement(Head, null,\n process.env.NODE_ENV !== \"development\" &&\n objectKeys(fontUrlByFileBasename)\n .filter(fileBasename => preloadFonts.includes(fileBasename))\n .map(fileBasename => fontUrlByFileBasename[fileBasename])\n .map(url => (React.createElement(\"link\", { key: url, rel: \"preload\", href: url, as: \"font\", crossOrigin: \"anonymous\" }))),\n !doDisableFavicon && (React.createElement(React.Fragment, null,\n React.createElement(\"link\", { rel: \"apple-touch-icon\", href: getAssetUrl(AppleTouchIcon) }),\n React.createElement(\"link\", { rel: \"icon\", href: getAssetUrl(FaviconSvg), type: \"image/svg+xml\" }),\n React.createElement(\"link\", { rel: \"shortcut icon\", href: getAssetUrl(FaviconIco), type: \"image/x-icon\" }))),\n !isBrowser && ( //NOTE: On browser we handle this manually\n React.createElement(React.Fragment, null,\n React.createElement(\"style\", { id: rootColorSchemeStyleTagId }, `:root { color-scheme: ${isDark ? \"dark\" : \"light\"}; }`),\n React.createElement(\"meta\", { name: \"theme-color\", content: fr.colors.getHex({ isDark }).decisions.background.default\n .grey.default }))),\n isProduction && !isBrowser && (React.createElement(\"script\", { dangerouslySetInnerHTML: {\n \"__html\": getScriptToRunAsap({\n defaultColorScheme,\n trustedTypesPolicyName,\n \"nonce\": undefined\n })\n } }))),\n isBrowser ? (React.createElement(App, Object.assign({}, props))) : (React.createElement(SsrIsDarkProvider, { value: isDark },\n React.createElement(App, Object.assign({}, props))))));\n }\n Object.keys(App).forEach(key => (AppWithDsfr[key] = App[key]));\n if (doPersistDarkModePreferenceWithCookie) {\n const super_getInitialProps = (_b = (_a = App.getInitialProps) === null || _a === void 0 ? void 0 : _a.bind(App)) !== null && _b !== void 0 ? _b : DefaultApp.getInitialProps.bind(DefaultApp);\n AppWithDsfr.getInitialProps = async (appContext) => {\n var _a;\n const initialProps = await super_getInitialProps(appContext);\n let isDark = undefined;\n if (!isBrowser) {\n isDark =\n (_a = (() => {\n var _a;\n const cookie = (_a = appContext.ctx.req) === null || _a === void 0 ? void 0 : _a.headers.cookie;\n return cookie === undefined ? undefined : readIsDarkInCookie(cookie);\n })()) !== null && _a !== void 0 ? _a : (() => {\n switch (defaultColorScheme) {\n case \"dark\":\n return true;\n case \"light\":\n return false;\n case \"system\":\n return undefined;\n }\n })();\n }\n return Object.assign(Object.assign({}, initialProps), { [isDarkPropKey]: isDark });\n };\n }\n AppWithDsfr.displayName = AppWithDsfr.name;\n return AppWithDsfr;\n }\n function augmentDocumentForDsfr(Document) {\n var _a;\n let super_getInitialProps = (_a = Document.getInitialProps) === null || _a === void 0 ? void 0 : _a.bind(Document);\n if (super_getInitialProps === undefined) {\n import(\"next/document\").then(({ default: DefaultDocument }) => (super_getInitialProps = DefaultDocument.getInitialProps.bind(DefaultDocument)));\n }\n Document.getInitialProps = async (documentContext) => {\n const { isDark } = (() => {\n var _a, _b;\n const cookie = !readIsDarkInCookie\n ? undefined\n : (_a = documentContext.req) === null || _a === void 0 ? void 0 : _a.headers.cookie;\n const isDark = (_b = (cookie === undefined ? undefined : readIsDarkInCookie(cookie))) !== null && _b !== void 0 ? _b : (() => {\n switch (defaultColorScheme) {\n case \"light\":\n return false;\n case \"dark\":\n return true;\n case \"system\":\n return undefined;\n }\n })();\n return { isDark };\n })();\n {\n const originalRenderPage = documentContext.renderPage;\n documentContext.renderPage = (_a) => {\n var { enhanceApp } = _a, params = __rest(_a, [\"enhanceApp\"]);\n return originalRenderPage(Object.assign(Object.assign({}, params), { \"enhanceApp\": (App) => {\n var _a;\n const EnhancedApp = (_a = enhanceApp === null || enhanceApp === void 0 ? void 0 : enhanceApp(App)) !== null && _a !== void 0 ? _a : App;\n return function EnhanceApp(props) {\n return React.createElement(EnhancedApp, Object.assign({}, Object.assign(Object.assign({}, props), { [isDarkPropKey]: isDark })));\n };\n } }));\n };\n }\n assert(super_getInitialProps !== undefined, \"Default document not yet loaded. Please submit an issue to the tss-react repo\");\n const initialProps = await super_getInitialProps(documentContext);\n return Object.assign(Object.assign({}, initialProps), { [isDarkPropKey]: isDark });\n };\n }\n function getColorSchemeHtmlAttributes(props) {\n const { [isDarkPropKey]: isDark } = props;\n if (isDark === undefined) {\n return {};\n }\n const colorScheme = isDark ? \"dark\" : \"light\";\n return {\n [data_fr_scheme]: colorScheme,\n [data_fr_theme]: colorScheme\n };\n }\n return {\n withDsfr,\n \"dsfrDocumentApi\": {\n augmentDocumentForDsfr,\n getColorSchemeHtmlAttributes\n }\n };\n}\n//# sourceMappingURL=next-pagesdir.js.map","let wrap = undefined;\nexport function setBrandTopAndHomeLinkProps(params) {\n wrap = params;\n}\nexport function getBrandTopAndHomeLinkProps() {\n return wrap;\n}\n//# sourceMappingURL=brandTopAndHomeLinkProps.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef } from \"react\";\nimport { getLink } from \"./link\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { fr } from \"./fr\";\nimport { cx } from \"./tools/cx\";\nimport { assert } from \"tsafe/assert\";\nimport { createComponentI18nApi } from \"./i18n\";\nimport { getBrandTopAndHomeLinkProps } from \"./zz_internal/brandTopAndHomeLinkProps\";\nimport { typeGuard } from \"tsafe/typeGuard\";\nimport { id } from \"tsafe/id\";\n/** @see */\nexport const Footer = memo(forwardRef((props, ref) => {\n const { id: id_props, className, classes = {}, contentDescription, websiteMapLinkProps, accessibilityLinkProps, accessibility, termsLinkProps, bottomItems = [], partnersLogos, operatorLogo, license, brandTop: brandTop_prop, homeLinkProps: homeLinkProps_prop, style, linkList, domains = [\n \"legifrance.gouv.fr\",\n \"gouvernement.fr\",\n \"service-public.fr\",\n \"data.gouv.fr\"\n ] } = props, rest = __rest(props, [\"id\", \"className\", \"classes\", \"contentDescription\", \"websiteMapLinkProps\", \"accessibilityLinkProps\", \"accessibility\", \"termsLinkProps\", \"bottomItems\", \"partnersLogos\", \"operatorLogo\", \"license\", \"brandTop\", \"homeLinkProps\", \"style\", \"linkList\", \"domains\"]);\n assert();\n const rootId = id_props !== null && id_props !== void 0 ? id_props : \"fr-footer\";\n const { brandTop, homeLinkProps } = (() => {\n const wrap = getBrandTopAndHomeLinkProps();\n const brandTop = brandTop_prop !== null && brandTop_prop !== void 0 ? brandTop_prop : wrap === null || wrap === void 0 ? void 0 : wrap.brandTop;\n const homeLinkProps = homeLinkProps_prop !== null && homeLinkProps_prop !== void 0 ? homeLinkProps_prop : wrap === null || wrap === void 0 ? void 0 : wrap.homeLinkProps;\n const exceptionMessage = \" hasn't been provided to the Footer and we cannot retrieve it from the Header (it's probably client side)\";\n if (brandTop === undefined) {\n throw new Error(symToStr({ brandTop }) + exceptionMessage);\n }\n if (homeLinkProps === undefined) {\n throw new Error(symToStr({ homeLinkProps }) + exceptionMessage);\n }\n return { brandTop, homeLinkProps };\n })();\n const { Link } = getLink();\n const { t } = useTranslation();\n const { main: mainPartnersLogo, sub: subPartnersLogos = [] } = partnersLogos !== null && partnersLogos !== void 0 ? partnersLogos : {};\n return (React.createElement(\"footer\", Object.assign({ id: rootId, className: cx(fr.cx(\"fr-footer\"), classes.root, className), role: \"contentinfo\", ref: ref, style: style }, rest),\n linkList !== undefined && (React.createElement(\"div\", { className: fr.cx(\"fr-footer__top\") },\n React.createElement(\"div\", { className: fr.cx(\"fr-container\") },\n React.createElement(\"div\", { className: fr.cx(\"fr-grid-row\", \n // \"fr-grid-row--start\", // why is this class used in dsfr doc?\n \"fr-grid-row--gutters\") }, linkList.map((column, columnIndex) => column !== undefined && (React.createElement(\"div\", { key: `fr-footer__top-cat-${columnIndex}`, className: fr.cx(\"fr-col-12\", \"fr-col-sm-3\", \"fr-col-md-2\") },\n (column === null || column === void 0 ? void 0 : column.categoryName) && (React.createElement(\"h3\", { className: fr.cx(\"fr-footer__top-cat\") }, column === null || column === void 0 ? void 0 : column.categoryName)),\n React.createElement(\"ul\", { className: fr.cx(\"fr-footer__top-list\") }, column === null || column === void 0 ? void 0 : column.links.map((linkItem, linkItemIndex) => (React.createElement(\"li\", { key: `fr-footer__top-link-${linkItemIndex}` },\n React.createElement(Link, Object.assign({}, linkItem === null || linkItem === void 0 ? void 0 : linkItem.linkProps, { className: fr.cx(\"fr-footer__top-link\") }), linkItem === null || linkItem === void 0 ? void 0 : linkItem.text)))))))))))),\n React.createElement(\"div\", { className: fr.cx(\"fr-container\") },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__body\"), classes.body) },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__brand\", \"fr-enlarge-link\"), classes.brand) },\n (() => {\n const children = (React.createElement(\"p\", { className: cx(fr.cx(\"fr-logo\"), classes.logo) }, brandTop));\n return operatorLogo !== undefined ? (children) : (React.createElement(Link, Object.assign({}, homeLinkProps), children));\n })(),\n operatorLogo !== undefined && (React.createElement(Link, Object.assign({}, homeLinkProps, { className: cx(fr.cx(\"fr-footer__brand-link\"), classes.brandLink, homeLinkProps.className) }),\n React.createElement(\"img\", { className: cx(fr.cx(\"fr-footer__logo\"), classes.operatorLogo), style: (() => {\n switch (operatorLogo.orientation) {\n case \"vertical\":\n return { \"width\": \"3.5rem\" };\n case \"horizontal\":\n return { \"maxWidth\": \"9.0625rem\" };\n }\n })(), src: operatorLogo.imgUrl, alt: operatorLogo.alt })))),\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__content\"), classes.content) },\n contentDescription !== undefined && (React.createElement(\"p\", { className: cx(fr.cx(\"fr-footer__content-desc\"), classes.contentDesc) }, contentDescription)),\n React.createElement(\"ul\", { className: cx(fr.cx(\"fr-footer__content-list\"), classes.contentList) }, domains.map((domain, i) => (React.createElement(\"li\", { className: cx(fr.cx(\"fr-footer__content-item\"), classes.contentItem), key: i },\n React.createElement(\"a\", { className: cx(fr.cx(\"fr-footer__content-link\"), classes.contentLink), target: \"_blank\", href: `https://${domain}`, title: `${domain} - ${t(\"open new window\")}` }, domain))))))),\n partnersLogos !== undefined && (React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__partners\"), classes.partners) },\n React.createElement(\"h4\", { className: cx(fr.cx(\"fr-footer__partners-title\"), classes.partnersTitle) }, t(\"our partners\")),\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__partners-logos\"), classes.partnersLogos) },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__partners-main\"), classes.partnersMain) }, mainPartnersLogo !== undefined &&\n (() => {\n var _a, _b;\n const children = (React.createElement(\"img\", { alt: mainPartnersLogo.alt, style: { height: \"5.625rem\" }, src: mainPartnersLogo.imgUrl, className: cx(fr.cx(\"fr-footer__logo\"), classes.logo) }));\n const hasLinkProps = mainPartnersLogo.linkProps !== undefined ||\n mainPartnersLogo.href !== undefined;\n return hasLinkProps ? (React.createElement(Link, Object.assign({}, mainPartnersLogo.linkProps, { href: (_a = mainPartnersLogo.href) !== null && _a !== void 0 ? _a : (_b = mainPartnersLogo.linkProps) === null || _b === void 0 ? void 0 : _b.href, className: cx(fr.cx(\"fr-footer__partners-link\", \"fr-raw-link\"), classes.partnersLink) }), children)) : (children);\n })()),\n subPartnersLogos.length !== 0 && (React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__partners-sub\"), classes.partnersSub) },\n React.createElement(\"ul\", null, subPartnersLogos.map((logo, i) => {\n var _a, _b;\n const children = (React.createElement(\"img\", { alt: logo.alt, src: logo.imgUrl, style: { \"height\": \"5.625rem\" }, className: cx(fr.cx(\"fr-footer__logo\"), classes.logo) }));\n const hasLinkProps = logo.linkProps !== undefined ||\n logo.href !== undefined;\n return (React.createElement(\"li\", { key: i }, hasLinkProps ? (React.createElement(Link, Object.assign({}, logo.linkProps, { href: (_a = logo.href) !== null && _a !== void 0 ? _a : (_b = logo.linkProps) === null || _b === void 0 ? void 0 : _b.href, className: cx(fr.cx(\"fr-footer__partners-link\", \"fr-raw-link\"), classes.partnersLink) }), children)) : (children)));\n }))))))),\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__bottom\"), classes.bottom) },\n React.createElement(\"ul\", { className: cx(fr.cx(\"fr-footer__bottom-list\"), classes.bottomList) }, [\n ...(websiteMapLinkProps === undefined\n ? []\n : [\n id({\n \"text\": t(\"website map\"),\n \"linkProps\": websiteMapLinkProps\n })\n ]),\n id({\n \"text\": `${t(\"accessibility\")}: ${t(accessibility)}`,\n \"linkProps\": accessibilityLinkProps !== null && accessibilityLinkProps !== void 0 ? accessibilityLinkProps : {}\n }),\n ...(termsLinkProps === undefined\n ? []\n : [\n id({\n \"text\": t(\"terms\"),\n \"linkProps\": termsLinkProps\n })\n ]),\n ...bottomItems\n ].map((bottomItem, i) => (React.createElement(\"li\", { className: cx(fr.cx(\"fr-footer__bottom-item\"), classes.bottomItem, className), key: i }, !typeGuard(bottomItem, bottomItem instanceof Object && \"text\" in bottomItem) ? (bottomItem) : (React.createElement(FooterBottomItem, { classes: {\n \"bottomLink\": classes.bottomLink\n }, bottomItem: bottomItem })))))),\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__bottom-copy\"), classes.bottomCopy) },\n React.createElement(\"p\", null, license === undefined\n ? t(\"license mention\", {\n \"licenseUrl\": \"https://github.com/etalab/licence-ouverte/blob/master/LO.md\"\n })\n : license))))));\n}));\nFooter.displayName = symToStr({ Footer });\nexport default Footer;\nconst { useTranslation, addFooterTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ Footer }),\n \"frMessages\": {\n /* spell-checker: disable */\n \"hide message\": \"Masquer le message\",\n \"website map\": \"Plan du site\",\n \"accessibility\": \"Accessibilité\",\n \"non compliant\": \"non conforme\",\n \"partially compliant\": \"partiellement conforme\",\n \"fully compliant\": \"totalement conforme\",\n \"terms\": \"Mentions légales\",\n \"cookies management\": \"Gestion des cookies\",\n \"license mention\": (p) => (React.createElement(React.Fragment, null,\n \"Sauf mention explicite de propri\\u00E9t\\u00E9 intellectuelle d\\u00E9tenue par des tiers, les contenus de ce site sont propos\\u00E9s sous\",\n \" \",\n React.createElement(\"a\", { href: p.licenseUrl, target: \"_blank\", title: \"licence etalab-2.0 - ouvre une nouvelle fen\\u00EAtre\" }, \"licence etalab-2.0\"))),\n \"our partners\": \"Nos partenaires\",\n \"open new window\": \"ouvre une nouvelle fenêtre\"\n /* spell-checker: enable */\n }\n});\naddFooterTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"hide message\": \"Hide the message\",\n \"website map\": \"Website map\",\n \"accessibility\": \"Accessibility\",\n \"non compliant\": \"non compliant\",\n \"partially compliant\": \"partially compliant\",\n \"fully compliant\": \"fully compliant\",\n \"license mention\": p => (React.createElement(React.Fragment, null,\n \"Unless stated otherwise, all content of this website is under the\",\n \" \",\n React.createElement(\"a\", { href: p.licenseUrl, target: \"_blank\", title: \"etalab-2.0 license - open a new window\" }, \"etalab-2.0 license\"))),\n \"open new window\": \"open new window\"\n }\n});\naddFooterTranslations({\n \"lang\": \"es\",\n \"messages\": {\n /* spell-checker: disable */\n \"hide message\": \"Occultar el mesage\"\n /* spell-checker: enable */\n }\n});\nexport { addFooterTranslations };\nexport function FooterBottomItem(props) {\n const { className: className_props, bottomItem, classes = {} } = props;\n const { Link } = getLink();\n const className = cx(fr.cx(\"fr-footer__bottom-link\", ...(bottomItem.iconId !== undefined\n ? [bottomItem.iconId, \"fr-link--icon-left\"]\n : [])), classes.bottomLink, classes.root, className_props);\n return bottomItem.linkProps !== undefined ? (Object.keys(bottomItem.linkProps).length === 0 ? (React.createElement(\"span\", { className: className }, bottomItem.text)) : (React.createElement(Link, Object.assign({}, bottomItem.linkProps, { className: cx(className, bottomItem.linkProps.className) }), bottomItem.text))) : (React.createElement(\"button\", Object.assign({}, bottomItem.buttonProps, { className: cx(className, bottomItem.buttonProps.className) }), bottomItem.text));\n}\n//# sourceMappingURL=Footer.js.map","export function generateValidHtmlId(params) {\n const { text, fallback } = params;\n if (typeof text !== \"string\" || text === \"\") {\n return fallback !== undefined ? `-${fallback}` : \"\";\n }\n // Remove any space characters\n let result = text.replace(/\\s+/g, \"\");\n // Replace any non-alphanumeric characters with underscores\n result = result.replace(/[^a-zA-Z0-9]/g, \"_\");\n return `-${result}`;\n}\n//# sourceMappingURL=generateValidHtmlId.js.map","\"use client\";\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef } from \"react\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { fr } from \"../fr\";\nimport { cx } from \"../tools/cx\";\nimport { assert } from \"tsafe/assert\";\nimport { getLink } from \"../link\";\nimport { generateValidHtmlId } from \"../tools/generateValidHtmlId\";\nexport const Menu = memo(forwardRef((props, ref) => {\n const { id, classes = {}, style, links } = props, rest = __rest(props, [\"id\", \"classes\", \"style\", \"links\"]);\n assert();\n const { Link } = getLink();\n return (React.createElement(\"div\", Object.assign({ className: cx(fr.cx(\"fr-menu\"), classes.root), style: style, id: id, ref: ref }, rest),\n React.createElement(\"ul\", { className: cx(fr.cx(\"fr-menu__list\"), classes.list) }, links.map(({ text, linkProps, isActive = false }, i) => {\n var _a;\n return (React.createElement(\"li\", { key: i },\n React.createElement(Link, Object.assign({}, linkProps, { id: (_a = linkProps.id) !== null && _a !== void 0 ? _a : `${id}-link${generateValidHtmlId({\n text\n })}-${i}`, className: cx(fr.cx(\"fr-nav__link\"), linkProps.className) }, (isActive && { [\"aria-current\"]: \"page\" })), text)));\n }))));\n}));\nMenu.displayName = symToStr({ Menu });\nexport default Menu;\n//# sourceMappingURL=Menu.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef } from \"react\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { createComponentI18nApi } from \"../i18n\";\nimport { fr } from \"../fr\";\nimport { cx } from \"../tools/cx\";\nimport { assert } from \"tsafe/assert\";\nimport { getLink } from \"../link\";\nimport { generateValidHtmlId } from \"../tools/generateValidHtmlId\";\nexport const MegaMenu = memo(forwardRef((props, ref) => {\n var _a;\n const { id, classes = {}, style, leader, categories } = props, rest = __rest(props, [\"id\", \"classes\", \"style\", \"leader\", \"categories\"]);\n assert();\n const { t } = useTranslation();\n const { Link } = getLink();\n return (React.createElement(\"div\", Object.assign({ className: cx(fr.cx(\"fr-mega-menu\"), classes.root), style: style, tabIndex: -1, id: id, ref: ref }, rest),\n React.createElement(\"div\", { className: fr.cx(\"fr-container\", \"fr-container--fluid\", \"fr-container-lg\") },\n React.createElement(\"button\", { className: fr.cx(\"fr-link--close\", \"fr-link\"), \"aria-controls\": \"mega-menu-775\" }, t(\"close\")),\n React.createElement(\"div\", { className: fr.cx(\"fr-grid-row\", \"fr-grid-row-lg--gutters\") },\n leader !== undefined && (React.createElement(\"div\", { className: fr.cx(\"fr-col-12\", \"fr-col-lg-8\", \"fr-col-offset-lg-4--right\", \"fr-mb-4v\") },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-mega-menu__leader\"), classes.leader) },\n React.createElement(\"h4\", { className: fr.cx(\"fr-h4\", \"fr-mb-2v\") }, leader.title),\n React.createElement(\"p\", { className: fr.cx(\"fr-hidden\", \"fr-displayed-lg\") }, leader.paragraph),\n leader.link !== undefined && (React.createElement(Link, Object.assign({}, leader.link.linkProps, { id: (_a = leader.link.linkProps.id) !== null && _a !== void 0 ? _a : `${id}-leader-link${generateValidHtmlId({\n \"text\": leader.link.text\n })}`, className: cx(fr.cx(\"fr-link\", \"fr-icon-arrow-right-line\", \"fr-link--icon-right\", \"fr-link--align-on-content\"), leader.link.linkProps.className) }), leader.link.text))))),\n categories.map(({ categoryMainLink, links }, i) => {\n var _a;\n return (React.createElement(\"div\", { className: fr.cx(\"fr-col-12\", \"fr-col-lg-3\"), key: i },\n React.createElement(\"h5\", { className: cx(fr.cx(\"fr-mega-menu__category\"), classes.category) },\n React.createElement(Link, Object.assign({}, categoryMainLink.linkProps, { id: (_a = categoryMainLink.linkProps.id) !== null && _a !== void 0 ? _a : `${id}-category-link${generateValidHtmlId({\n \"text\": categoryMainLink.text\n })}-${i}`, className: cx(fr.cx(\"fr-nav__link\"), categoryMainLink.linkProps.className) }), categoryMainLink.text)),\n React.createElement(\"ul\", { className: cx(fr.cx(\"fr-mega-menu__list\"), classes.list) }, links.map(({ linkProps, text, isActive }, j) => {\n var _a;\n return (React.createElement(\"li\", { key: j },\n React.createElement(Link, Object.assign({}, linkProps, { id: (_a = linkProps.id) !== null && _a !== void 0 ? _a : `${id}-link${generateValidHtmlId({\n \"text\": text\n })}-${i}-${j}`, className: cx(fr.cx(\"fr-nav__link\"), linkProps.className) }, (!isActive ? {} : { \"aria-current\": \"page\" })), text)));\n }))));\n })))));\n}));\nMegaMenu.displayName = symToStr({ MegaMenu });\nconst { useTranslation, addMegaMenuTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ MegaMenu }),\n \"frMessages\": {\n /* spell-checker: disable */\n \"close\": \"Fermer\"\n /* spell-checker: enable */\n }\n});\naddMegaMenuTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"close\": \"Close\"\n }\n});\nexport { addMegaMenuTranslations };\nexport default MegaMenu;\n//# sourceMappingURL=MegaMenu.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef } from \"react\";\nimport { createComponentI18nApi } from \"../i18n\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { assert } from \"tsafe/assert\";\nimport { getLink } from \"../link\";\nimport { fr } from \"../fr\";\nimport { cx } from \"../tools/cx\";\nimport { Menu } from \"./Menu\";\nimport { MegaMenu } from \"./MegaMenu\";\nimport { useAnalyticsId } from \"../tools/useAnalyticsId\";\nexport const MainNavigation = memo(forwardRef((props, ref) => {\n const { className, items, classes = {}, style, id: id_props } = props, rest = __rest(props, [\"className\", \"items\", \"classes\", \"style\", \"id\"]);\n assert();\n const { t } = useTranslation();\n const { Link } = getLink();\n const id = useAnalyticsId({\n \"explicitlyProvidedId\": id_props,\n \"defaultIdPrefix\": \"main-navigation\"\n });\n const getMenuId = (i) => `${id}-menu-${i}`;\n return (React.createElement(\"nav\", Object.assign({ id: id, className: cx(fr.cx(\"fr-nav\"), classes.root, className), style: style, role: \"navigation\", \"aria-label\": t(\"main menu\"), ref: ref }, rest),\n React.createElement(\"ul\", { className: cx(fr.cx(\"fr-nav__list\"), classes.list) }, items.map(({ className, text, isActive = false, linkProps, menuLinks = [], megaMenu, buttonProps = {} }, i) => {\n var _a, _b;\n return (React.createElement(\"li\", { key: i, className: cx(fr.cx(\"fr-nav__item\"), classes.item, className) }, linkProps !== undefined ? (React.createElement(Link, Object.assign({}, linkProps, { id: (_a = linkProps.id) !== null && _a !== void 0 ? _a : `${id}-link-${i}`, className: cx(fr.cx(\"fr-nav__link\"), classes.link, linkProps.className) }, (isActive && { [\"aria-current\"]: \"page\" })), text)) : (React.createElement(React.Fragment, null,\n React.createElement(\"button\", Object.assign({}, buttonProps, { id: (_b = buttonProps.id) !== null && _b !== void 0 ? _b : `${id}-button-${i}`, className: cx(fr.cx(\"fr-nav__btn\"), buttonProps.className, classes.btn), \"aria-expanded\": false, \"aria-controls\": getMenuId(i) }, (isActive && { [\"aria-current\"]: true })), text),\n menuLinks.length !== 0 && (React.createElement(Menu, { classes: {\n \"root\": cx(fr.cx(\"fr-collapse\"), classes.root),\n \"list\": classes.menuList\n }, links: menuLinks, id: getMenuId(i) })),\n megaMenu !== undefined && (React.createElement(MegaMenu, { classes: {\n \"root\": cx(fr.cx(\"fr-collapse\"), classes.megaMenu),\n \"leader\": classes.megaMenuLeader,\n \"category\": classes.megaMenuCategory,\n \"list\": classes.menuList\n }, id: getMenuId(i), leader: megaMenu.leader, categories: megaMenu.categories }))))));\n }))));\n}));\nMainNavigation.displayName = symToStr({ MainNavigation });\nexport default MainNavigation;\nconst { useTranslation, addMainNavigationTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ MainNavigation }),\n \"frMessages\": {\n /* spell-checker: disable */\n \"main menu\": \"Menu principal\"\n /* spell-checker: enable */\n }\n});\naddMainNavigationTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"main menu\": \"Main menu\"\n }\n});\nexport { addMainNavigationTranslations };\n//# sourceMappingURL=MainNavigation.js.map","export * from \"./MainNavigation\";\nexport { addMegaMenuTranslations } from \"./MegaMenu\";\nimport { MainNavigation } from \"./MainNavigation\";\nexport default MainNavigation;\n//# sourceMappingURL=index.js.map","export default {\"src\":\"/template-nextjs/_next/static/media/light.f5239a67.svg\",\"height\":80,\"width\":80,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/template-nextjs/_next/static/media/dark.d3c138d0.svg\",\"height\":80,\"width\":80,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/template-nextjs/_next/static/media/system.0b703235.svg\",\"height\":80,\"width\":80,\"blurWidth\":0,\"blurHeight\":0};","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef } from \"react\";\nimport { fr } from \"../fr\";\nimport { cx } from \"../tools/cx\";\nimport { assert } from \"tsafe/assert\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { createComponentI18nApi } from \"../i18n\";\nimport Button from \"../Button\";\nimport { overwriteReadonlyProp } from \"tsafe/lab/overwriteReadonlyProp\";\nconst Modal = memo(forwardRef((props, ref) => {\n const { className, id, title, children, concealingBackdrop = true, topAnchor = false, iconId, buttons: buttons_props, size = \"medium\", style } = props, rest = __rest(props, [\"className\", \"id\", \"title\", \"children\", \"concealingBackdrop\", \"topAnchor\", \"iconId\", \"buttons\", \"size\", \"style\"]);\n assert();\n const buttons = buttons_props === undefined\n ? undefined\n : buttons_props instanceof Array\n ? buttons_props\n : [buttons_props];\n const { t } = useTranslation();\n const titleId = `fr-modal-title-${id}`;\n return (React.createElement(\"dialog\", { \"aria-labelledby\": titleId, role: \"dialog\", id: id, className: cx(fr.cx(\"fr-modal\", topAnchor && \"fr-modal--top\"), className), style: style, ref: ref, \"data-fr-concealing-backdrop\": concealingBackdrop },\n React.createElement(\"div\", { className: fr.cx(\"fr-container\", \"fr-container--fluid\", \"fr-container-md\") },\n React.createElement(\"div\", { className: fr.cx(\"fr-grid-row\", \"fr-grid-row--center\") },\n React.createElement(\"div\", { className: (() => {\n switch (size) {\n case \"large\":\n return fr.cx(\"fr-col-12\", \"fr-col-md-10\", \"fr-col-lg-8\");\n case \"small\":\n return fr.cx(\"fr-col-12\", \"fr-col-md-6\", \"fr-col-lg-4\");\n case \"medium\":\n return fr.cx(\"fr-col-12\", \"fr-col-md-8\", \"fr-col-lg-6\");\n }\n })() },\n React.createElement(\"div\", { className: fr.cx(\"fr-modal__body\") },\n React.createElement(\"div\", { className: fr.cx(\"fr-modal__header\") },\n React.createElement(\"button\", { className: fr.cx(\"fr-btn--close\", \"fr-btn\"), title: t(\"close\"), \"aria-controls\": id, type: \"button\" }, t(\"close\"))),\n React.createElement(\"div\", { className: fr.cx(\"fr-modal__content\") },\n React.createElement(\"h1\", { id: titleId, className: fr.cx(\"fr-modal__title\") },\n iconId !== undefined && (React.createElement(\"span\", { className: fr.cx(iconId, \"fr-fi--lg\") })),\n title),\n children),\n buttons !== undefined && (React.createElement(\"div\", { className: \"fr-modal__footer\" },\n React.createElement(\"ul\", { className: fr.cx(\"fr-btns-group\", \"fr-btns-group--right\", \"fr-btns-group--inline-reverse\", \"fr-btns-group--inline-lg\", \"fr-btns-group--icon-left\") }, [...buttons]\n .reverse()\n .map((_a, i) => {\n var _b;\n var { doClosesModal = true } = _a, buttonProps = __rest(_a, [\"doClosesModal\"]);\n return (React.createElement(\"li\", { key: i },\n React.createElement(Button, Object.assign({}, buttonProps, { priority: (_b = buttonProps.priority) !== null && _b !== void 0 ? _b : (i === 0\n ? \"primary\"\n : \"secondary\") }, (!doClosesModal\n ? {}\n : \"linkProps\" in buttonProps\n ? {\n \"linkProps\": Object.assign(Object.assign({}, buttonProps.linkProps), { \"aria-controls\": id })\n }\n : {\n \"nativeButtonProps\": Object.assign(Object.assign({}, buttonProps.nativeButtonProps), { \"aria-controls\": id })\n })))));\n }))))))))));\n}));\nModal.displayName = symToStr({ Modal });\nconst { useTranslation, addModalTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ Modal }),\n \"frMessages\": {\n \"close\": \"Fermer\"\n }\n});\naddModalTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"close\": \"Close\"\n }\n});\naddModalTranslations({\n \"lang\": \"es\",\n \"messages\": {\n /* spell-checker: disable */\n \"close\": \"Cerrar\"\n /* spell-checker: enable */\n }\n});\nexport { addModalTranslations };\n/** @see */\nexport function createModal(params) {\n const { isOpenedByDefault, id } = params;\n const buttonProps = {\n \"id\": `${id}-control-button`,\n \"aria-controls\": id,\n \"data-fr-opened\": isOpenedByDefault\n };\n const hiddenControlButtonId = `${id}-hidden-control-button`;\n function Component(props) {\n return (React.createElement(React.Fragment, null,\n React.createElement(Button, { nativeButtonProps: Object.assign(Object.assign({}, buttonProps), { \"id\": hiddenControlButtonId, \"type\": \"button\", \"tabIndex\": -1, \"aria-hidden\": true }), className: fr.cx(\"fr-hidden\") }, \" \"),\n React.createElement(Modal, Object.assign({}, props, { id: id }))));\n }\n Component.displayName = `${id}-modal`;\n overwriteReadonlyProp(Component, \"name\", Component.displayName);\n function open() {\n const modalElement = document.getElementById(id);\n // @ts-expect-error: Property 'dsfr' does not exist on type 'Window & typeof globalThis'.ts(2339)\n window.dsfr(modalElement).modal.disclose();\n }\n function close() {\n const modalElement = document.getElementById(id);\n // @ts-expect-error: Property 'dsfr' does not exist on type 'Window & typeof globalThis'.ts(2339)\n window.dsfr(modalElement).modal.conceal();\n }\n return {\n Component,\n buttonProps,\n open,\n close,\n isOpenedByDefault,\n id\n };\n}\n//# sourceMappingURL=Modal.js.map","export * from \"./Modal\";\n//# sourceMappingURL=index.js.map","import React, { useId } from \"react\";\nimport { fr } from \"../fr\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { createComponentI18nApi } from \"../i18n\";\nimport ArtworkLightSvg from \"../dsfr/artwork/light.svg\";\nimport ArtworkDarkSvg from \"../dsfr/artwork/dark.svg\";\nimport ArtworkSystemSvg from \"../dsfr/artwork/system.svg\";\nimport { getAssetUrl } from \"../tools/getAssetUrl\";\nimport { createModal } from \"../Modal\";\nconst modal = createModal({\n \"isOpenedByDefault\": false,\n \"id\": \"fr-theme-modal\"\n});\nexport const headerFooterDisplayItem = {\n \"buttonProps\": modal.buttonProps,\n \"iconId\": \"fr-icon-theme-fill\",\n \"text\": (() => {\n function Text() {\n const { t } = useTranslation();\n return React.createElement(React.Fragment, null, t(\"display settings\"));\n }\n return React.createElement(Text, null);\n })()\n};\n/** @see */\nexport function Display() {\n const { t } = useTranslation();\n const { getInputId } = (function useClosure() {\n const id = useId();\n function getInputId(theme) {\n return `${id}-${theme}`;\n }\n return { getInputId };\n })();\n return (React.createElement(modal.Component, { title: t(\"display settings\"), size: \"small\" },\n React.createElement(\"div\", { className: \"fr-display\" },\n React.createElement(\"div\", { className: fr.cx(\"fr-form-group\") },\n React.createElement(\"fieldset\", { className: fr.cx(\"fr-fieldset\") },\n React.createElement(\"legend\", { className: fr.cx(\"fr-fieldset__legend\", \"fr-text--regular\") }, t(\"pick a theme\")),\n React.createElement(\"div\", { className: fr.cx(\"fr-fieldset__content\") }, [\"light\", \"dark\", \"system\"].map(theme => (React.createElement(\"div\", { key: theme, className: fr.cx(\"fr-radio-group\", \"fr-radio-rich\") },\n React.createElement(\"input\", { value: theme, type: \"radio\", id: getInputId(theme), name: \"fr-radios-theme\" }),\n React.createElement(\"label\", { className: \"fr-label\", htmlFor: getInputId(theme) },\n t(`${theme} theme`),\n theme === \"system\" && (React.createElement(\"span\", { className: fr.cx(\"fr-hint-text\") }, t(\"system theme hint\")))),\n React.createElement(\"div\", { className: fr.cx(\"fr-radio-rich__img\") },\n React.createElement(\"svg\", { \"aria-hidden\": \"true\", xmlns: \"http://www.w3.org/2000/svg\", \n //className={fr.cx(\"fr-artwork\")}\n width: \"80px\", height: \"80px\", viewBox: \"0 0 80 80\" }, [\n \"artwork-decorative\",\n \"artwork-minor\",\n \"artwork-major\"\n ].map(label => (React.createElement(\"use\", { key: label, className: fr.cx(`fr-${label}`), xlinkHref: `${getAssetUrl((() => {\n switch (theme) {\n case \"dark\":\n return ArtworkDarkSvg;\n case \"light\":\n return ArtworkLightSvg;\n case \"system\":\n return ArtworkSystemSvg;\n }\n })())}#${label}` }))))))))))))));\n}\nDisplay.displayName = symToStr({ Display });\nexport default Display;\nconst { useTranslation, addDisplayTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ Display }),\n \"frMessages\": {\n /* spell-checker: disable */\n \"display settings\": \"Paramètres d'affichage\",\n \"close\": \"Fermer\",\n \"pick a theme\": `Choisissez un thème pour personnaliser l'apparence du site.`,\n \"light theme\": `Thème clair`,\n \"dark theme\": `Thème sombre`,\n \"system theme\": `Système.`,\n \"system theme hint\": `Utilise les paramètres système.`\n /* spell-checker: enable */\n }\n});\naddDisplayTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"display settings\": \"Display settings\",\n \"close\": \"Close\",\n \"pick a theme\": `Pick a theme to customize the website's look.`,\n \"light theme\": `Light theme`,\n \"dark theme\": \"Dark theme\",\n \"system theme\": `System.`,\n \"system theme hint\": \"Use system preference\"\n }\n});\naddDisplayTranslations({\n \"lang\": \"es\",\n \"messages\": {\n /* spell-checker: disable */\n \"display settings\": \"Parámetro de visualización\",\n \"close\": \"Cerrar\",\n \"pick a theme\": `Elija un tema para personalizar el aspecto del sitio.`\n /* spell-checker: enable */\n }\n});\nexport { addDisplayTranslations };\n//# sourceMappingURL=Display.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef } from \"react\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { assert } from \"tsafe/assert\";\nimport { createComponentI18nApi } from \"../i18n\";\nimport { cx } from \"../tools/cx\";\nimport { fr } from \"../fr\";\nimport { SearchButton } from \"./SearchButton\";\nimport { useAnalyticsId } from \"../tools/useAnalyticsId\";\nimport \"../assets/search-bar.css\";\n/**\n * @see \n * */\nexport const SearchBar = memo(forwardRef((props, ref) => {\n const { className, id: id_props, label: label_props, big = false, classes = {}, style, renderInput = ({ className, id, placeholder, type }) => (React.createElement(\"input\", { className: className, id: id, placeholder: placeholder, type: type })), clearInputOnSearch = false, allowEmptySearch = false, onButtonClick } = props, rest = __rest(props, [\"className\", \"id\", \"label\", \"big\", \"classes\", \"style\", \"renderInput\", \"clearInputOnSearch\", \"allowEmptySearch\", \"onButtonClick\"]);\n assert();\n const { t } = useTranslation();\n const label = label_props !== null && label_props !== void 0 ? label_props : t(\"label\");\n const id = useAnalyticsId({\n \"defaultIdPrefix\": \"fr-search-bar\",\n \"explicitlyProvidedId\": id_props\n });\n const inputId = `search-${id}-input`;\n return (React.createElement(\"div\", Object.assign({ id: id, className: cx(fr.cx(\"fr-search-bar\", big && \"fr-search-bar--lg\"), classes.root, className), role: \"search\", ref: ref, style: style }, rest),\n React.createElement(\"label\", { className: cx(fr.cx(\"fr-label\"), classes.label), htmlFor: inputId }, label),\n renderInput({\n \"className\": fr.cx(\"fr-input\"),\n \"placeholder\": label,\n \"type\": \"search\",\n \"id\": inputId\n }),\n React.createElement(SearchButton, { clearInputOnSearch: clearInputOnSearch, id: `${id}-button`, searchInputId: inputId, allowEmptySearch: allowEmptySearch, onClick: onButtonClick })));\n}));\nSearchBar.displayName = symToStr({ SearchBar });\nexport default SearchBar;\nexport const { useTranslation, addSearchBarTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ SearchBar }),\n \"frMessages\": {\n /* spell-checker: disable */\n \"label\": \"Rechercher\"\n /* spell-checker: enable */\n }\n});\naddSearchBarTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"label\": \"Search\"\n }\n});\n//# sourceMappingURL=SearchBar.js.map","import { assert } from \"tsafe/assert\";\n// NOTE: The callback is called way too often, it can be called multiple times\n// for the same input value. Futhermore the callback is not guaranteed to be called\n// as soon as the input value changes.\nexport function observeInputValue(params) {\n const { inputElement, callback: callback_params } = params;\n const cleanups = [];\n {\n const descriptorToRestore = Object.getOwnPropertyDescriptor(inputElement, \"value\");\n cleanups.push(() => {\n assert(descriptorToRestore !== undefined);\n Object.defineProperty(inputElement, \"value\", descriptorToRestore);\n });\n const inputElementPrototype = Object.getPrototypeOf(inputElement);\n const descriptor = Object.getOwnPropertyDescriptor(inputElementPrototype, \"value\");\n Object.defineProperty(inputElement, \"value\", {\n \"get\": function (...args) {\n // @ts-expect-error\n return descriptor.get.apply(this, args);\n },\n \"set\": function (...args) {\n // @ts-expect-error\n descriptor.set.apply(this, args);\n const newValue = this.value;\n callback_params();\n return newValue;\n }\n });\n }\n inputElement.addEventListener(\"input\", (() => {\n const callback = () => {\n callback_params();\n };\n cleanups.push(() => inputElement.removeEventListener(\"input\", callback));\n return callback;\n })());\n inputElement.addEventListener(\"keydown\", (() => {\n const callback = (event) => {\n if (event.key === \"Escape\") {\n const timer = setTimeout(() => {\n cleanups.splice(cleanups.indexOf(cleanup), 1);\n callback_params();\n }, 50);\n const cleanup = () => {\n clearTimeout(timer);\n };\n cleanups.push(cleanup);\n }\n };\n cleanups.push(() => inputElement.removeEventListener(\"keyup\", callback));\n return callback;\n })());\n function cleanup() {\n cleanups.forEach(cleanup => cleanup());\n }\n return { cleanup };\n}\n//# sourceMappingURL=observeInputValue.js.map","\"use client\";\nimport React, { useEffect, useState, useReducer } from \"react\";\nimport { useTranslation } from \"./SearchBar\";\nimport { fr } from \"../fr\";\nimport { assert } from \"tsafe/assert\";\nimport { is } from \"tsafe/is\";\nimport { useConstCallback } from \"../tools/powerhooks/useConstCallback\";\nimport { observeInputValue } from \"../tools/observeInputValue\";\nimport { id } from \"tsafe/id\";\nexport function SearchButton(props) {\n const { searchInputId, clearInputOnSearch, allowEmptySearch, onClick: onClick_props, id: id_props } = props;\n const { t } = useTranslation();\n const [, forceUpdate] = useReducer(x => x + 1, 0);\n const [{ focusInputElement, getInputValue, resetInputValue, getIsInputFocused }, setInputApi] = useState(() => ({\n \"getInputValue\": id(() => \"\"),\n \"resetInputValue\": id(() => {\n /* do nothing */\n }),\n \"focusInputElement\": id(() => {\n /* do nothing */\n }),\n \"getIsInputFocused\": id(() => false)\n }));\n const onClick = useConstCallback(() => {\n const inputValue = getInputValue();\n if (!allowEmptySearch && inputValue === \"\") {\n focusInputElement();\n return;\n }\n onClick_props === null || onClick_props === void 0 ? void 0 : onClick_props(inputValue);\n if (clearInputOnSearch) {\n resetInputValue();\n }\n });\n const isControlledByUser = onClick_props === undefined;\n useEffect(() => {\n const inputElement = document.getElementById(searchInputId);\n assert(inputElement !== null, `${searchInputId} should be mounted`);\n assert(\"value\" in inputElement && typeof inputElement.value === \"string\", `${searchInputId} is not an HTML input`);\n assert(is(inputElement));\n setInputApi({\n \"focusInputElement\": () => inputElement.focus(),\n \"getInputValue\": () => inputElement.value,\n \"resetInputValue\": () => (inputElement.value = \"\"),\n \"getIsInputFocused\": () => document.activeElement === inputElement\n });\n const cleanups = [];\n {\n const { cleanup } = observeInputValue({\n inputElement,\n \"callback\": () => forceUpdate()\n });\n cleanups.push(cleanup);\n }\n if (isControlledByUser) {\n inputElement.addEventListener(\"focus\", (() => {\n const callback = () => forceUpdate();\n cleanups.push(() => inputElement.removeEventListener(\"focus\", callback));\n return callback;\n })());\n inputElement.addEventListener(\"blur\", (() => {\n const callback = () => forceUpdate();\n cleanups.push(() => inputElement.removeEventListener(\"blur\", callback));\n return callback;\n })());\n }\n if (!isControlledByUser) {\n inputElement.addEventListener(\"keydown\", (() => {\n const callback = (event) => {\n if (event.key !== \"Enter\") {\n return;\n }\n onClick();\n inputElement.blur();\n };\n cleanups.push(() => inputElement.removeEventListener(\"keydown\", callback));\n return callback;\n })());\n inputElement.addEventListener(\"keydown\", (() => {\n const callback = (event) => {\n if (event.key !== \"Escape\") {\n return;\n }\n inputElement.blur();\n };\n cleanups.push(() => inputElement.removeEventListener(\"keydown\", callback));\n return callback;\n })());\n }\n return () => {\n cleanups.forEach(cleanup => cleanup());\n };\n }, [searchInputId, isControlledByUser]);\n if (onClick_props === undefined && (getIsInputFocused() || getInputValue() !== \"\")) {\n return null;\n }\n return (React.createElement(\"button\", { id: id_props, className: fr.cx(\"fr-btn\"), title: t(\"label\"), onClick: onClick, style: onClick_props !== undefined\n ? undefined\n : {\n \"position\": \"absolute\",\n \"right\": 0\n } }, t(\"label\")));\n}\n//# sourceMappingURL=SearchButton.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef, useId } from \"react\";\nimport { fr } from \"../fr\";\nimport { createComponentI18nApi } from \"../i18n\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { cx } from \"../tools/cx\";\nimport { getLink } from \"../link\";\nimport { assert } from \"tsafe/assert\";\nimport { MainNavigation } from \"../MainNavigation\";\nimport { Display } from \"../Display/Display\";\nimport { setBrandTopAndHomeLinkProps } from \"../zz_internal/brandTopAndHomeLinkProps\";\nimport { typeGuard } from \"tsafe/typeGuard\";\nimport { SearchButton } from \"../SearchBar/SearchButton\";\nimport { useTranslation as useSearchBarTranslation } from \"../SearchBar/SearchBar\";\nimport { generateValidHtmlId } from \"../tools/generateValidHtmlId\";\nexport const headerMenuModalIdPrefix = \"header-menu-modal\";\n/** @see */\nexport const Header = memo(forwardRef((props, ref) => {\n const { className, id: id_props, brandTop, serviceTitle, serviceTagline, homeLinkProps, navigation = undefined, quickAccessItems = [], operatorLogo, renderSearchInput, clearSearchInputOnSearch = false, allowEmptySearch = false, onSearchButtonClick, classes = {}, style } = props, rest = __rest(props, [\"className\", \"id\", \"brandTop\", \"serviceTitle\", \"serviceTagline\", \"homeLinkProps\", \"navigation\", \"quickAccessItems\", \"operatorLogo\", \"renderSearchInput\", \"clearSearchInputOnSearch\", \"allowEmptySearch\", \"onSearchButtonClick\", \"classes\", \"style\"]);\n assert();\n const id = id_props !== null && id_props !== void 0 ? id_props : \"fr-header\";\n const menuModalId = `${headerMenuModalIdPrefix}-${id}`;\n const menuButtonId = `${id}-menu-button`;\n const searchModalId = `${id}-search-modal`;\n const searchInputId = `${id}-search-input`;\n const isSearchBarEnabled = renderSearchInput !== undefined || onSearchButtonClick !== undefined;\n setBrandTopAndHomeLinkProps({ brandTop, homeLinkProps });\n const { t } = useTranslation();\n const { t: tSearchBar } = useSearchBarTranslation();\n const { Link } = getLink();\n const getQuickAccessNode = (suffix = null) => (React.createElement(\"ul\", { className: fr.cx(\"fr-btns-group\") }, quickAccessItems.map((quickAccessItem, i) => (React.createElement(\"li\", { key: i }, !typeGuard(quickAccessItem, quickAccessItem instanceof Object && \"text\" in quickAccessItem) ? (quickAccessItem) : (React.createElement(HeaderQuickAccessItem, { id: `${id}-quick-access-item-${generateValidHtmlId({\n \"fallback\": \"\",\n \"text\": `${quickAccessItem.text}${suffix ? `-${suffix}` : \"\"}`\n })}-${i}`, quickAccessItem: quickAccessItem })))))));\n const hasOperatorLink = (operatorLogo === null || operatorLogo === void 0 ? void 0 : operatorLogo.linkProps) !== undefined;\n return (React.createElement(React.Fragment, null,\n React.createElement(Display, null),\n React.createElement(\"header\", Object.assign({ role: \"banner\", id: id, className: cx(fr.cx(\"fr-header\"), classes.root, className), ref: ref, style: style }, rest),\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__body\"), classes.body) },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-container\"), classes.container) },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__body-row\"), classes.bodyRow) },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__brand\", !hasOperatorLink && \"fr-enlarge-link\"), classes.brand) },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__brand-top\"), classes.brandTop) },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__logo\"), classes.logo) }, (() => {\n const children = (React.createElement(\"p\", { className: fr.cx(\"fr-logo\") }, brandTop));\n return serviceTitle !== undefined ? (children) : (React.createElement(Link, Object.assign({}, homeLinkProps), children));\n })()),\n operatorLogo !== undefined && (React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__operator\", hasOperatorLink && \"fr-enlarge-link\"), classes.operator) }, (() => {\n const children = (React.createElement(\"img\", { className: cx(fr.cx(\"fr-responsive-img\"), classes.operator), style: (() => {\n switch (operatorLogo.orientation) {\n case \"vertical\":\n return {\n \"width\": \"3.5rem\"\n };\n case \"horizontal\":\n return {\n \"maxWidth\": \"9.0625rem\"\n };\n }\n })(), src: operatorLogo.imgUrl, alt: operatorLogo.alt }));\n return hasOperatorLink ? (React.createElement(Link, Object.assign({}, operatorLogo.linkProps), children)) : (children);\n })())),\n (quickAccessItems.length > 0 ||\n navigation !== undefined ||\n isSearchBarEnabled) && (React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__navbar\"), classes.navbar) },\n isSearchBarEnabled && (React.createElement(\"button\", { id: `${id}-search-button`, className: fr.cx(\"fr-btn--search\", \"fr-btn\"), \"data-fr-opened\": false, \"aria-controls\": searchModalId, title: tSearchBar(\"label\") }, tSearchBar(\"label\"))),\n React.createElement(\"button\", { className: fr.cx(\"fr-btn--menu\", \"fr-btn\"), \"data-fr-opened\": \"false\", \"aria-controls\": menuModalId, \"aria-haspopup\": \"menu\", id: menuButtonId, title: t(\"menu\") }, t(\"menu\"))))),\n serviceTitle !== undefined && (React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__service\", hasOperatorLink && \"fr-enlarge-link\"), classes.service) },\n React.createElement(Link, Object.assign({}, homeLinkProps),\n React.createElement(\"p\", { className: cx(fr.cx(\"fr-header__service-title\"), classes.serviceTitle) }, serviceTitle)),\n serviceTagline !== undefined && (React.createElement(\"p\", { className: cx(fr.cx(\"fr-header__service-tagline\"), classes.serviceTagline) }, serviceTagline))))),\n (quickAccessItems.length > 0 || isSearchBarEnabled) && (React.createElement(\"div\", { className: fr.cx(\"fr-header__tools\") },\n quickAccessItems.length > 0 && (React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__tools-links\"), classes.toolsLinks) }, getQuickAccessNode())),\n isSearchBarEnabled && (React.createElement(\"div\", { className: fr.cx(\"fr-header__search\", \"fr-modal\"), id: searchModalId },\n React.createElement(\"div\", { className: fr.cx(\"fr-container\", \"fr-container-lg--fluid\") },\n React.createElement(\"button\", { id: `${id}-search-button`, className: fr.cx(\"fr-btn--close\", \"fr-btn\"), \"aria-controls\": searchModalId, title: t(\"close\") }, t(\"close\")),\n React.createElement(\"div\", { className: fr.cx(\"fr-search-bar\"), role: \"search\" },\n React.createElement(\"label\", { className: fr.cx(\"fr-label\"), htmlFor: searchInputId }, tSearchBar(\"label\")),\n (renderSearchInput !== null && renderSearchInput !== void 0 ? renderSearchInput : (({ className, id, placeholder, type }) => (React.createElement(\"input\", { className: className, id: id, placeholder: placeholder, type: type }))))({\n \"className\": fr.cx(\"fr-input\"),\n \"id\": searchInputId,\n \"placeholder\": tSearchBar(\"label\"),\n \"type\": \"search\"\n }),\n React.createElement(SearchButton, { id: `${id}-search-bar-button`, searchInputId: searchInputId, onClick: onSearchButtonClick, clearInputOnSearch: clearSearchInputOnSearch, allowEmptySearch: allowEmptySearch })))))))))),\n (navigation !== undefined || quickAccessItems.length !== 0) && (React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__menu\", \"fr-modal\"), classes.menu), id: menuModalId, \"aria-labelledby\": menuButtonId },\n React.createElement(\"div\", { className: fr.cx(\"fr-container\") },\n React.createElement(\"button\", { id: `${id}-mobile-overlay-button-close`, className: fr.cx(\"fr-btn--close\", \"fr-btn\"), \"aria-controls\": menuModalId, title: t(\"close\") }, t(\"close\")),\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__menu-links\"), classes.menuLinks) }, getQuickAccessNode(\"mobile\")),\n navigation !== undefined &&\n (navigation instanceof Array ? (React.createElement(MainNavigation, { id: `${id}-main-navigation`, items: navigation })) : (navigation))))))));\n}));\nHeader.displayName = symToStr({ Header });\nexport default Header;\nexport const { useTranslation, addHeaderTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ Header }),\n \"frMessages\": {\n /* spell-checker: disable */\n \"menu\": \"Menu\",\n \"close\": \"Fermer\"\n /* spell-checker: enable */\n }\n});\naddHeaderTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"close\": \"Close\"\n }\n});\nexport function HeaderQuickAccessItem(props) {\n const { id: id_props, className, quickAccessItem } = props;\n const { Link } = getLink();\n const id = (function useClosure() {\n var _a;\n const id = useId();\n return ((_a = id_props !== null && id_props !== void 0 ? id_props : (quickAccessItem.linkProps !== undefined\n ? quickAccessItem.linkProps.id\n : quickAccessItem.buttonProps.id)) !== null && _a !== void 0 ? _a : `fr-header-quick-access-item${generateValidHtmlId({\n \"text\": quickAccessItem.text,\n \"fallback\": id\n })}`);\n })();\n return quickAccessItem.linkProps !== undefined ? (React.createElement(Link, Object.assign({}, quickAccessItem.linkProps, { id: id, className: cx(fr.cx(\"fr-btn\", quickAccessItem.iconId), quickAccessItem.linkProps.className, className) }), quickAccessItem.text)) : (React.createElement(\"button\", Object.assign({}, quickAccessItem.buttonProps, { id: id, className: cx(fr.cx(\"fr-btn\", quickAccessItem.iconId), quickAccessItem.buttonProps.className, className) }), quickAccessItem.text));\n}\n//# sourceMappingURL=Header.js.map","export { default } from \"./Header\";\nexport { Header, HeaderQuickAccessItem, addHeaderTranslations, useTranslation } from \"./Header\";\n//# sourceMappingURL=index.js.map","export { headerFooterDisplayItem, addDisplayTranslations } from \"./Display\";\n/**\n * @deprecated: It's no longer needed to manually mount this component.\n * @see: https://components.react-dsfr.codegouv.studio/?path=/docs/components-display\n */\nexport function Display() {\n return null;\n}\n//# sourceMappingURL=index.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { forwardRef, memo } from \"react\";\nimport { assert } from \"tsafe/assert\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { fr } from \"./fr\";\nimport { createComponentI18nApi } from \"./i18n\";\nimport { cx } from \"./tools/cx\";\nimport { useAnalyticsId } from \"./tools/useAnalyticsId\";\n/** @see */\nexport const SkipLinks = memo(forwardRef((props, ref) => {\n const { className, classes = {}, links, style, id: id_props } = props, rest = __rest(props, [\"className\", \"classes\", \"links\", \"style\", \"id\"]);\n const { t } = useTranslation();\n assert();\n const id = useAnalyticsId({\n \"defaultIdPrefix\": \"fr-skiplinks\",\n \"explicitlyProvidedId\": id_props\n });\n return (React.createElement(\"div\", Object.assign({ id: id, className: cx(fr.cx(\"fr-skiplinks\"), classes.root, className), ref: ref, style: style }, rest),\n React.createElement(\"nav\", { className: fr.cx(\"fr-container\"), role: \"navigation\", \"aria-label\": t(\"label\") },\n React.createElement(\"ul\", { className: cx(fr.cx(\"fr-skiplinks__list\"), classes.list) }, links &&\n links.map(link => (React.createElement(\"li\", { key: link.anchor },\n React.createElement(\"a\", { className: cx(fr.cx(\"fr-link\"), classes.link), href: link.anchor }, link.label))))))));\n}));\nSkipLinks.displayName = symToStr({ SkipLinks });\nconst { useTranslation, addSkipLinksTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ SkipLinks }),\n \"frMessages\": {\n /* spell-checker: disable */\n \"label\": \"Accès rapide\"\n /* spell-checker: enable */\n }\n});\naddSkipLinksTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"label\": \"Quick access\"\n }\n});\naddSkipLinksTranslations({\n \"lang\": \"es\",\n \"messages\": {\n \"label\": \"Acceso rapido\"\n }\n});\naddSkipLinksTranslations({\n \"lang\": \"de\",\n \"messages\": {\n \"label\": \"Schneller Zugang\"\n }\n});\nexport default SkipLinks;\n//# sourceMappingURL=SkipLinks.js.map","import { ReactNode, useEffect } from \"react\";\nimport type { AppProps } from \"next/app\";\nimport Head from \"next/head\";\nimport Link from \"next/link\";\nimport { useRouter } from \"next/router\";\n\nimport { createEmotionSsrAdvancedApproach } from \"tss-react/next\";\nimport { createNextDsfrIntegrationApi } from \"@codegouvfr/react-dsfr/next-pagesdir\";\nimport { Footer } from \"@codegouvfr/react-dsfr/Footer\";\nimport { fr } from \"@codegouvfr/react-dsfr\";\nimport { Header } from \"@codegouvfr/react-dsfr/Header\";\nimport { headerFooterDisplayItem } from \"@codegouvfr/react-dsfr/Display\";\nimport { SkipLinks } from \"@codegouvfr/react-dsfr/SkipLinks\";\nimport { MuiDsfrThemeProvider } from \"@codegouvfr/react-dsfr/mui\";\n\nimport { init } from \"@socialgouv/matomo-next\";\n\nimport pkg from \"../../package.json\";\n\ndeclare module \"@codegouvfr/react-dsfr/next-pagesdir\" {\n interface RegisterLink {\n Link: typeof Link;\n }\n}\n\ndeclare module \"@codegouvfr/react-dsfr\" {\n interface RegisterLink {\n Link: typeof Link;\n }\n}\n\nconst { withDsfr, dsfrDocumentApi } = createNextDsfrIntegrationApi({\n defaultColorScheme: \"system\",\n Link,\n useLang: () => {\n const { locale = \"fr\" } = useRouter();\n return locale;\n },\n\n //doPersistDarkModePreferenceWithCookie: true,\n //Link,\n preloadFonts: [\n //\"Marianne-Light\",\n //\"Marianne-Light_Italic\",\n \"Marianne-Regular\",\n //\"Marianne-Regular_Italic\",\n \"Marianne-Medium\",\n //\"Marianne-Medium_Italic\",\n \"Marianne-Bold\",\n //\"Marianne-Bold_Italic\",\n //\"Spectral-Regular\",\n //\"Spectral-ExtraBold\"\n ],\n});\n\nexport { dsfrDocumentApi };\n\nconst { withAppEmotionCache, augmentDocumentWithEmotionCache } =\n createEmotionSsrAdvancedApproach({\n key: \"css\",\n });\n\nexport { augmentDocumentWithEmotionCache };\n\nconst brandTop = (\n <>\n République\n
\n Française\n \n);\n\nconst homeLinkPops = {\n href: \"/\",\n title:\n \"Accueil - Nom de l’entité (ministère, secrétariat d'état, gouvernement)\",\n};\n\nconst bottomLinks = [\n {\n text: \"Conditions d'utilisation\",\n linkProps: {\n href: \"/cgu\",\n },\n },\n {\n text: \"Statistiques\",\n linkProps: {\n href: \"/stats\",\n },\n },\n {\n text: \"Budget\",\n linkProps: {\n href: \"/budget\",\n },\n },\n {\n text: \"Politique de confidentialité\",\n linkProps: {\n href: \"/politique-confidentialite\",\n },\n },\n {\n text: \"Aide\",\n linkProps: {\n href: \"/aide\",\n },\n },\n {\n text: \"Contribuer sur GitHub\",\n linkProps: {\n href: `${process.env.NEXT_PUBLIC_APP_REPOSITORY_URL}${\n process.env.NEXT_PUBLIC_APP_VERSION\n ? `/releases/tag/v${process.env.NEXT_PUBLIC_APP_VERSION}`\n : process.env.NEXT_PUBLIC_APP_VERSION_COMMIT\n ? `/commit/${process.env.NEXT_PUBLIC_APP_VERSION}`\n : \"\"\n }`,\n },\n },\n];\n\nconst Layout = ({ children }: { children: ReactNode }) => {\n const router = useRouter();\n\n const contentSecurityPolicy = process.env.CONTENT_SECURITY_POLICY;\n return (\n \n \n Template | beta.gouv.fr\n {contentSecurityPolicy && (\n \n )}\n \n \n \n \n \n \n {children}\n \n \n \n );\n};\n\nfunction App({ Component, pageProps }: AppProps) {\n useEffect(() => {\n init({\n url: process.env.NEXT_PUBLIC_MATOMO_URL ?? \"\",\n siteId: process.env.NEXT_PUBLIC_MATOMO_SITE_ID ?? \"\",\n });\n }, []);\n\n return (\n \n \n {/*@ts-ignore*/}\n \n \n \n );\n}\n\nexport default withDsfr(withAppEmotionCache(App));\n","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","module.exports = require('./dist/shared/lib/head')\n","module.exports = require('./dist/client/link')\n","module.exports = require('./dist/client/components/navigation')\n","module.exports = require('./dist/client/router')\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assert = exports.AssertionError = void 0;\n/* eslint-disable @typescript-eslint/no-unused-vars */\nvar overwriteReadonlyProp_1 = require(\"./lab/overwriteReadonlyProp\");\nvar assertIsRefWrapper_1 = require(\"./zz_internal/assertIsRefWrapper\");\n/** @see */\nvar AssertionError = /** @class */ (function (_super) {\n __extends(AssertionError, _super);\n function AssertionError(msg) {\n var _newTarget = this.constructor;\n var _this = _super.call(this, \"Wrong assertion encountered\" + (!msg ? \"\" : \": \\\"\".concat(msg, \"\\\"\"))) || this;\n Object.setPrototypeOf(_this, _newTarget.prototype);\n if (!_this.stack) {\n return _this;\n }\n try {\n (0, overwriteReadonlyProp_1.overwriteReadonlyProp)(_this, \"stack\", _this.stack\n .split(\"\\n\")\n .filter(function () {\n var _a = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n _a[_i] = arguments[_i];\n }\n var _b = __read(_a, 2), i = _b[1];\n return i !== 1 && i !== 2;\n })\n .join(\"\\n\"));\n // eslint-disable-next-line no-empty\n }\n catch (_a) { }\n return _this;\n }\n return AssertionError;\n}(Error));\nexports.AssertionError = AssertionError;\n/** https://docs.tsafe.dev/assert */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction assert(condition, msg) {\n if (arguments.length === 0) {\n condition = true;\n }\n if (assertIsRefWrapper_1.assertIsRefWrapper.ref !== undefined) {\n assertIsRefWrapper_1.assertIsRefWrapper.ref = undefined;\n return;\n }\n if (!condition) {\n throw new AssertionError(msg);\n }\n}\nexports.assert = assert;\n//# sourceMappingURL=assert.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.capitalize = void 0;\n/** @see */\nfunction capitalize(str) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (str.charAt(0).toUpperCase() + str.slice(1));\n}\nexports.capitalize = capitalize;\n//# sourceMappingURL=capitalize.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.id = void 0;\n/** https://docs.tsafe.dev/id */\nvar id = function (x) { return x; };\nexports.id = id;\n//# sourceMappingURL=id.js.map","\"use strict\";\n/* eslint-disable @typescript-eslint/no-namespace */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.is = void 0;\nvar assertIsRefWrapper_1 = require(\"./zz_internal/assertIsRefWrapper\");\nvar errorMessage = [\n \"Wrong usage of the \".concat(is.name, \" function refer to\"),\n \"https://docs.tsafe.dev/\".concat(is.name.toLowerCase()),\n].join(\" \");\nfunction is(_value) {\n var ref = {};\n if (assertIsRefWrapper_1.assertIsRefWrapper.ref !== undefined) {\n assertIsRefWrapper_1.assertIsRefWrapper.ref = undefined;\n throw new Error(errorMessage);\n }\n assertIsRefWrapper_1.assertIsRefWrapper.ref = ref;\n Promise.resolve().then(function () {\n if (assertIsRefWrapper_1.assertIsRefWrapper.ref === ref) {\n throw new Error(errorMessage);\n }\n });\n return null;\n}\nexports.is = is;\n//# sourceMappingURL=is.js.map","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.overwriteReadonlyProp = void 0;\n/* eslint-disable no-empty */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nvar assert_1 = require(\"../assert\");\nvar is_1 = require(\"../is\");\n/**\n * Assign a value to a property even if the object is freezed or if the property is not writable\n * Throw if the assignation fail ( for example if the property is non configurable write: false )\n * */\nvar overwriteReadonlyProp = function (obj, propertyName, value) {\n try {\n obj[propertyName] = value;\n }\n catch (_a) { }\n if (obj[propertyName] === value) {\n return value;\n }\n var errorDefineProperty = undefined;\n var propertyDescriptor = Object.getOwnPropertyDescriptor(obj, propertyName) || {\n \"enumerable\": true,\n \"configurable\": true,\n };\n if (!!propertyDescriptor.get) {\n throw new Error(\"Probably a wrong ides to overwrite \".concat(String(propertyName), \" getter\"));\n }\n try {\n Object.defineProperty(obj, propertyName, __assign(__assign({}, propertyDescriptor), { value: value }));\n }\n catch (error) {\n (0, assert_1.assert)((0, is_1.is)(error));\n errorDefineProperty = error;\n }\n if (obj[propertyName] !== value) {\n throw errorDefineProperty || new Error(\"Can't assign\");\n }\n return value;\n};\nexports.overwriteReadonlyProp = overwriteReadonlyProp;\n//# sourceMappingURL=overwriteReadonlyProp.js.map","\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.objectKeys = void 0;\n/** https://docs.tsafe.dev/objectKeys */\nfunction objectKeys(o) {\n return Object.keys(o);\n}\nexports.objectKeys = objectKeys;\n//# sourceMappingURL=objectKeys.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.symToStr = void 0;\n/** @see */\nfunction symToStr(wrap) {\n // @ts-expect-error: We know better\n return Object.keys(wrap)[0];\n}\nexports.symToStr = symToStr;\n//# sourceMappingURL=symToStr.js.map","\"use strict\";\n/* eslint-disable @typescript-eslint/no-namespace */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.typeGuard = void 0;\n/** https://docs.tsafe.dev/typeguard */\nfunction typeGuard(_value, isMatched) {\n return isMatched;\n}\nexports.typeGuard = typeGuard;\n//# sourceMappingURL=typeGuard.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assertIsRefWrapper = void 0;\nvar id_1 = require(\"../id\");\nexports.assertIsRefWrapper = {\n \"ref\": (0, id_1.id)(undefined),\n};\n//# sourceMappingURL=assertIsRefWrapper.js.map","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nmodule.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}"],"names":["StyleSheet","options","_this","_insertTag","tag","before","tags","length","insertionPoint","nextSibling","prepend","container","firstChild","insertBefore","push","isSpeedy","undefined","speedy","ctr","nonce","key","_proto","prototype","hydrate","nodes","forEach","insert","rule","document","createElement","setAttribute","appendChild","createTextNode","sheet","sheetForTag","i","styleSheets","ownerNode","insertRule","cssRules","e","flush","parentNode","removeChild","abs","Math","Utility_from","String","fromCharCode","Utility_assign","Object","assign","Utility_replace","value","pattern","replacement","replace","indexof","search","indexOf","Utility_charat","index","charCodeAt","Utility_substr","begin","end","slice","Utility_strlen","Utility_append","array","line","column","Tokenizer_length","position","character","characters","node","root","parent","type","props","children","return","Tokenizer_copy","next","peek","token","alloc","delimit","delimiter","trim","Enum_MS","Enum_MOZ","Enum_WEBKIT","COMMENT","Enum_RULESET","Enum_DECLARATION","Enum_KEYFRAMES","Serializer_serialize","callback","output","stringify","element","join","ruleset","offset","rules","points","post","size","j","k","x","y","z","declaration","identifierWithPointTracking","previous","toRules","parsed","getRules","fixedElements","WeakMap","compat","isImplicitRule","get","set","parentRules","removeLabel","defaultStylisPlugins","emotion_cache_browser_esm_prefix","map","exec","createCache","collection","currentSheet","ssrStyles","querySelectorAll","Array","call","dataEmotionAttribute","getAttribute","head","stylisPlugins","inserted","nodesToHydrate","attrib","split","serializer","omnipresentPlugins","concat","stylis","styles","parse","rulesets","pseudo","declarations","atrule","property","variable","scanning","ampersand","reference","whitespace","escaping","count","caret","commenter","prev","identifier","cache","registered","selector","serialized","shouldCache","name","murmur2","str","h","len","toString","memoize","fn","create","arg","isBrowser","EmotionCacheContext","react__WEBPACK_IMPORTED_MODULE_0__","createContext","HTMLElement","_emotion_cache__WEBPACK_IMPORTED_MODULE_1__","Z","CacheProvider","Provider","withEmotionCache","func","forwardRef","ref","useContext","ThemeContext","cursor","hyphenateRegex","animationRegex","isCustomProperty","isProcessableValue","processStyleName","_emotion_memoize__WEBPACK_IMPORTED_MODULE_1__","styleName","toLowerCase","processStyleValue","match","p1","p2","_emotion_unitless__WEBPACK_IMPORTED_MODULE_0__","handleInterpolation","mergedProps","interpolation","__emotion_styles","anim","createStringFromObject","obj","string","isArray","_key","_i","interpolated","previousCursor","result","cached","labelPattern","serializeStyles","args","stringMode","strings","raw","lastIndex","identifierName","_emotion_hash__WEBPACK_IMPORTED_MODULE_2__","unitlessKeys","animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","msGridRow","msGridRowSpan","msGridColumn","msGridColumnSpan","fontWeight","lineHeight","opacity","order","orphans","tabSize","widows","zIndex","zoom","WebkitLineClamp","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","useInsertionEffect","react__WEBPACK_IMPORTED_MODULE_0___namespace_cache","__webpack_require__","t","useInsertionEffectAlwaysWithSyncFallback","useInsertionEffectWithLayoutFallback","useLayoutEffect","__webpack_exports__","A100","A200","A400","A700","react","useTheme","nested","hasSymbol","Symbol","for","ThemeProvider_ThemeProvider","theme","localTheme","outerTheme","useMemo","esm_extends","jsx_runtime","jsx","useTheme_ThemeContext","EMPTY_THEME","useThemeScoping","themeId","upperTheme","isPrivate","resolvedTheme","mergedTheme","esm_ThemeProvider_ThemeProvider","useThemeWithoutDefault","upperPrivateTheme","engineTheme","privateTheme","rtlValue","direction","emotion_element_43c6fea0_browser_esm","T","RtlProvider","_excluded","styles_ThemeProvider_ThemeProvider","_ref","themeInput","objectWithoutPropertiesLoose","scopedTheme","colors_common","black","white","colors_grey","colors_purple","colors_orange","colors_blue","colors_lightBlue","colors_green","light","text","primary","secondary","disabled","divider","background","paper","default","action","active","hover","hoverOpacity","selected","selectedOpacity","disabledBackground","disabledOpacity","focus","focusOpacity","activatedOpacity","dark","icon","addLightOrDark","intent","shade","tonalOffset","tonalOffsetLight","tonalOffsetDark","hasOwnProperty","colorManipulator","$n","main","_j","createTypography_excluded","caseAllCaps","textTransform","defaultFontFamily","createShadow","px","shadows","styles_zIndex","mobileStepper","fab","speedDial","appBar","drawer","modal","snackbar","tooltip","createTheme_excluded","styles_createTheme","breakpoints","mixins","mixinsInput","palette","paletteInput","transitions","transitionsInput","typography","typographyInput","other","vars","formatMuiErrorMessage","createPalette","mode","contrastThreshold","getDefaultPrimary","getDefaultSecondary","error","getDefaultError","red","info","getDefaultInfo","success","getDefaultSuccess","warning","getDefaultWarning","getContrastText","mi","augmentColor","color","mainShade","lightShade","darkShade","JSON","contrastText","deepmerge","common","grey","modes","systemTheme","createTheme","muiTheme","toolbar","minHeight","up","styles_shadows","createTypography","fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem","pxToRem2","coef","buildVariant","letterSpacing","casing","round","variants","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","button","caption","overline","inherit","clone","createTransitions","ZP","reduce","acc","argument","unstable_sxConfig","defaultSxConfig","unstable_sx","styleFunctionSx","sx","easing","easeInOut","easeOut","easeIn","sharp","duration","shortest","shorter","short","standard","complex","enteringScreen","leavingScreen","formatMs","milliseconds","getAutoHeightDuration","height","constant","inputTransitions","mergedEasing","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__","mergedDuration","durationOption","easingOption","delay","_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__","animatedProp","_interopRequireDefault","exports","Fq","decomposeColor","clampWrapper","values","recomposeColor","coefficient","foreground","lumA","getLuminance","lumB","max","min","_formatMuiErrorMessage2","_clamp","colorSpace","charAt","hexToRgb","re","colors","n","parseInt","marker","substring","shift","parseFloat","rgb","hslToRgb","s","l","a","f","Number","val","toFixed","RtlContext","useRtl","_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_2__","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__","xs","sm","md","lg","xl","defaultBreakpoints","keys","handleBreakpoints","propValue","styleFromPropValue","themeBreakpoints","item","breakpoint","createEmptyBreakpointObject","breakpointsInput","_breakpointsInput$key","breakpointsInOrder","removeUnusedBreakpoints","breakpointKeys","style","breakpointOutput","mergeBreakpointsInOrder","emptyBreakpoints","mergedOutput","_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__","resolveBreakpointValues","breakpointValues","base","customBase","computeBreakpointsBase","breakpointsKeys","applyStyles","getColorSchemeSelector","sortBreakpointsValues","breakpointsAsArray","sort","breakpoint1","breakpoint2","createBreakpoints","unit","step","sortedValues","down","between","start","endIndex","only","not","keyIndex","createTheme_shape","borderRadius","createTheme_createTheme","spacing","spacingInput","shape","shapeInput","createSpacing","mui","transform","esm_spacing","hB","argsInput","components","properties","m","p","directions","r","b","aliases","marginX","marginY","paddingX","paddingY","getCssProperties","prop","dir","marginKeys","paddingKeys","spacingKeys","createUnaryUnit","themeKey","defaultValue","propName","_getPath","themeSpacing","DW","createUnarySpacing","getValue","transformer","transformed","spacing_style","resolveCssProperty","cssProperties","cssProperty","k9","merge","margin","padding","propTypes","filterProps","getPath","path","checkVars","getStyleValue","themeMapping","propValueFinal","userValue","_breakpoints__WEBPACK_IMPORTED_MODULE_1__","_mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_0__","esm_compose","handlers","borderTransform","createBorderStyle","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outline","outlineColor","eI","NA","gap","columnGap","rowGap","gridAutoFlow","gridAutoColumns","gridAutoRows","gridTemplateColumns","paletteTransform","sizingTransform","width","maxWidth","_props$theme","_props$theme2","VO","minWidth","maxHeight","styleFunctionSx_defaultSxConfig","bgcolor","backgroundColor","o3","pt","pr","pb","pl","py","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd","e6","mt","mr","mb","ml","mx","my","marginTop","marginRight","marginBottom","marginLeft","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd","displayPrint","display","overflow","textOverflow","visibility","whiteSpace","flexBasis","flexDirection","flexWrap","justifyContent","alignItems","alignContent","alignSelf","justifyItems","justifySelf","gridTemplateRows","gridTemplateAreas","gridArea","top","right","bottom","left","boxShadow","boxSizing","fontStyle","textAlign","unstable_createStyleFunctionSx","getThemeValue","config","_style__WEBPACK_IMPORTED_MODULE_0__","_breakpoints__WEBPACK_IMPORTED_MODULE_2__","Jq","_mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_1__","_theme$unstable_sxCon","_defaultSxConfig__WEBPACK_IMPORTED_MODULE_3__","traverse","sxInput","sxObject","W8","css","styleKey","maybeFn","_merge__WEBPACK_IMPORTED_MODULE_4__","breakpointsValues","objectsHaveSameKeys","objects","allKeys","object","union","Set","every","L7","defaultTheme","contextTheme","_mui_styled_engine__WEBPACK_IMPORTED_MODULE_1__","capitalize","_mui_utils_formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_0__","toUpperCase","MIN_SAFE_INTEGER","MAX_SAFE_INTEGER","target","source","isPlainObject","deepClone","getPrototypeOf","toStringTag","iterator","code","url","arguments","encodeURIComponent","DEFAULT_ENVIRONMENT","DEBUG_BUILD","__SENTRY_DEBUG__","notifyEventProcessors","processors","event","hint","_sentry_utils__WEBPACK_IMPORTED_MODULE_1__","cW","resolve","reject","processor","_debug_build_js__WEBPACK_IMPORTED_MODULE_2__","X","id","_sentry_utils__WEBPACK_IMPORTED_MODULE_3__","kg","log","_sentry_utils__WEBPACK_IMPORTED_MODULE_4__","J8","then","final","getGlobalEventProcessors","_sentry_utils__WEBPACK_IMPORTED_MODULE_0__","Y","addGlobalEventProcessor","captureException","exception","_hub_js__WEBPACK_IMPORTED_MODULE_0__","Gd","_utils_prepareEvent_js__WEBPACK_IMPORTED_MODULE_1__","U0","captureMessage","message","captureContext","level","context","captureEvent","addBreadcrumb","breadcrumb","withScope","rest","hub","scope","getStackTop","timeout","client","getClient","warn","Promise","getCurrentScope","getScope","startSession","isolationScope","aF","currentScope","release","environment","_constants_js__WEBPACK_IMPORTED_MODULE_4__","J","getOptions","userAgent","_sentry_utils__WEBPACK_IMPORTED_MODULE_5__","GLOBAL_OBJ","navigator","session","_session_js__WEBPACK_IMPORTED_MODULE_6__","Hv","user","getUser","currentSession","getSession","status","CT","endSession","setSession","RJ","_sendSessionUpdate","captureSession","API_VERSION","_version_js__WEBPACK_IMPORTED_MODULE_0__","Hub","constructor","_version","assignedScope","assignedIsolationScope","_scope_js__WEBPACK_IMPORTED_MODULE_1__","sX","setClient","_stack","bindClient","_isolationScope","isOlderThan","version","setupIntegrations","pushScope","getStack","popScope","pop","maybePromiseResult","_sentry_utils__WEBPACK_IMPORTED_MODULE_2__","res","getIsolationScope","eventId","_lastEventId","event_id","DM","syntheticException","originalException","lastEventId","beforeBreadcrumb","maxBreadcrumbs","mergedBreadcrumb","timestamp","yW","finalBreadcrumb","Cf","emit","setUser","setTags","setExtras","extras","setTag","setExtra","extra","setContext","configureScope","run","oldHub","makeMain","getIntegration","integration","_oO","_debug_build_js__WEBPACK_IMPORTED_MODULE_6__","startTransaction","customSamplingContext","_callExtensionMethod","traceHeaders","layer","_session_js__WEBPACK_IMPORTED_MODULE_7__","_constants_js__WEBPACK_IMPORTED_MODULE_8__","_sentry_utils__WEBPACK_IMPORTED_MODULE_9__","shouldSendDefaultPii","Boolean","sendDefaultPii","method","sentry","carrier","__SENTRY__","extensions","apply","getMainCarrier","registry","getHubFromCarrier","setHubOnCarrier","getCurrentHub","acs","getGlobalHub","globalScope","Scope","_notifyingListeners","_scopeListeners","_eventProcessors","_breadcrumbs","_attachments","_user","_tags","_extra","_contexts","_sdkProcessingMetadata","_propagationContext","generatePropagationContext","newScope","_level","_span","_session","_transactionName","_fingerprint","_requestSession","_client","addScopeListener","addEventProcessor","email","ip_address","segment","username","_session_js__WEBPACK_IMPORTED_MODULE_0__","_notifyScopeListeners","getRequestSession","setRequestSession","requestSession","setFingerprint","fingerprint","setLevel","setTransactionName","setSpan","span","getSpan","getTransaction","transaction","update","scopeToMerge","scopeData","getScopeData","contexts","propagationContext","PO","scopeContext","clear","maxCrumbs","breadcrumbs","getLastBreadcrumb","clearBreadcrumbs","addAttachment","attachment","getAttachments","data","attachments","clearAttachments","eventProcessors","sdkProcessingMetadata","transactionName","applyToEvent","additionalEventProcessors","_utils_applyScopeDataToEvent_js__WEBPACK_IMPORTED_MODULE_3__","gi","_eventProcessors_js__WEBPACK_IMPORTED_MODULE_4__","fH","RP","setSDKProcessingMetadata","newData","setPropagationContext","getPropagationContext","_sentry_utils__WEBPACK_IMPORTED_MODULE_6__","getGlobalScope","traceId","spanId","makeSession","startingTime","ph","sid","init","started","errors","ignoreDuration","toJSON","Jr","Date","toISOString","did","abnormal_mechanism","attrs","ipAddress","user_agent","updateSession","closeSession","getDynamicSamplingContextFromClient","trace_id","publicKey","public_key","getDsn","user_segment","dsc","_constants_js__WEBPACK_IMPORTED_MODULE_1__","getDynamicSamplingContextFromSpan","_exports_js__WEBPACK_IMPORTED_MODULE_2__","s3","_utils_spanUtils_js__WEBPACK_IMPORTED_MODULE_3__","XU","nZ","txn","_utils_getRootSpan_js__WEBPACK_IMPORTED_MODULE_4__","G","v7FrozenDsc","_frozenDynamicSamplingContext","sampleRate","maybeSampleRate","metadata","sample_rate","jsonSpan","description","sampled","Tt","applyScopeDataToEvent","applyDataToEvent","cleanedExtra","cleanedTags","cleanedUser","cleanedContexts","applySpanToEvent","trace","_spanUtils_js__WEBPACK_IMPORTED_MODULE_1__","wy","rootSpan","_getRootSpan_js__WEBPACK_IMPORTED_MODULE_2__","dynamicSamplingContext","_tracing_dynamicSamplingContext_js__WEBPACK_IMPORTED_MODULE_3__","lE","applyBreadcrumbsToEvent","mergedBreadcrumbs","mergeScopeData","mergeData","mergeAndOverwriteScopeData","mergeVal","getRootSpan","prepareEvent","normalizeDepth","normalizeMaxBreadth","prepared","integrations","applyClientOptions","dist","maxValueLength","_constants_js__WEBPACK_IMPORTED_MODULE_5__","$G","request","integrationNames","sdk","applyDebugIds","stackParser","debugIdStackFramesCache","debugIdMap","_sentry_utils__WEBPACK_IMPORTED_MODULE_7__","_sentryDebugIds","cachedDebugIdStackFrameCache","debugIdStackParserCache","Map","filenameDebugIdMap","debugIdStackTrace","parsedStack","cachedParsedStack","stackFrame","filename","stacktrace","frames","frame","debug_id","finalScope","getFinalScope","_scope_js__WEBPACK_IMPORTED_MODULE_2__","mechanism","EG","clientEventProcessors","getEventProcessors","lW","isolationData","_applyScopeDataToEvent_js__WEBPACK_IMPORTED_MODULE_3__","yo","finalScopeData","evt","applyDebugMeta","abs_path","debug_meta","images","code_file","normalizeEvent","depth","maxBreadth","normalized","_sentry_utils__WEBPACK_IMPORTED_MODULE_8__","Fv","spans","_spanUtils_js__WEBPACK_IMPORTED_MODULE_9__","parseEventHintOrCaptureContext","some","captureContextKeys","includes","TRACE_FLAG_NONE","TRACE_FLAG_SAMPLED","spanToTraceContext","span_id","spanContext","op","parent_span_id","origin","spanToJSON","spanToTraceHeader","spanIsSampled","$p","spanTimeInputToSeconds","input","ensureTimestampInSeconds","getTime","isMs","getSpanJSON","traceFlags","SDK_VERSION","BAGGAGE_HEADER_NAME","SENTRY_BAGGAGE_KEY_PREFIX","SENTRY_BAGGAGE_KEY_PREFIX_REGEX","baggageHeaderToDynamicSamplingContext","baggageHeader","_is_js__WEBPACK_IMPORTED_MODULE_0__","HD","baggageObject","curr","currBaggageObject","baggageHeaderToObject","entries","dynamicSamplingContextToSentryBaggageHeader","objectToBaggageHeader","objectKey","objectValue","currentIndex","baggageEntry","newBaggageHeader","_debug_build_js__WEBPACK_IMPORTED_MODULE_1__","_logger_js__WEBPACK_IMPORTED_MODULE_2__","dscKey","dscValue","keyOrValue","decodeURIComponent","WINDOW","_worldwide_js__WEBPACK_IMPORTED_MODULE_0__","R","htmlTreeAsString","elem","nextStr","currentElem","out","keyAttrs","maxStringLength","_htmlElementAsString","el","className","classes","attr","tagName","dataset","keyAttrPairs","filter","keyAttr","keyAttrPair","_is_js__WEBPACK_IMPORTED_MODULE_1__","allowedAttrs","reverse","getLocationHref","location","href","oO","getDomElement","querySelector","getComponentName","objectToString","isError","wat","isInstanceOf","Error","isBuiltin","isErrorEvent","isDOMError","isDOMException","isString","isParameterizedString","isPrimitive","isEvent","Event","isElement","Element","isRegExp","isThenable","isSyntheticEvent","isNaN","_e","isVueViewModel","__isVue","_isVue","CONSOLE_LEVELS","originalConsoleMethods","consoleSandbox","console","wrappedFuncs","wrappedLevels","originalConsoleMethod","logger","makeLogger","enabled","enable","disable","isEnabled","uuid4","gbl","crypto","msCrypto","getRandomByte","random","randomUUID","getRandomValues","typedArray","Uint8Array","_","c","getFirstException","getEventDescription","firstException","addExceptionTypeValue","addExceptionMechanism","newMechanism","currentMechanism","handled","mergedData","checkOrSetAlreadyCaught","__sentry_captured__","_object_js__WEBPACK_IMPORTED_MODULE_1__","xp","err","arrayify","maybeArray","normalizeToSize","maxSize","normalize","encodeURI","maxProperties","visit","memo","memoBuilder","hasWeakSet","WeakSet","inner","has","add","delete","splice","unmemoize","is","i2","stringified","stringifyValue","_events","g","window","y1","Cy","$P","objName","getConstructorName","test","startsWith","remainingDepth","valueWithToJSON","jsonValue","numAdded","visitable","Sh","visitKey","visitValue","ERROR","fill","replacementFactory","original","wrapped","markFunctionWrapped","addNonEnumerableProperty","defineProperty","writable","configurable","o_O","_debug_build_js__WEBPACK_IMPORTED_MODULE_0__","_logger_js__WEBPACK_IMPORTED_MODULE_1__","proto","getOriginalFunction","__sentry_original__","urlEncode","convertToPlainObject","_is_js__WEBPACK_IMPORTED_MODULE_2__","VZ","stack","getOwnProperties","cO","newObj","serializeEventTarget","currentTarget","CustomEvent","V9","detail","kK","_browser_js__WEBPACK_IMPORTED_MODULE_3__","Rt","extractedProps","extractExceptionKeysForMessage","maxLength","_string_js__WEBPACK_IMPORTED_MODULE_4__","includedKeys","dropUndefinedKeys","inputValue","_dropUndefinedKeys","memoizationMap","isPojo","memoVal","returnValue","WEBPACK_ERROR_REGEXP","STRIP_FRAME_REGEXP","createStackParser","parsers","sortedParsers","skipFirst","lines","cleanedLine","parser","stripSentryFramesAndReverse","localStack","from","function","stackParserFromStackParserOptions","defaultFunctionName","getFunctionName","truncate","safeJoin","stringMatchesSomePattern","testString","patterns","requireExactStringMatch","isMatchingPattern","Kj","States","resolvedSyncPromise","SyncPromise","rejectedSyncPromise","reason","executor","__init","__init2","__init3","__init4","_state","PENDING","_handlers","_resolve","_reject","onfulfilled","onrejected","_executeHandlers","catch","finally","onfinally","isRejected","_setResult","RESOLVED","REJECTED","state","_value","cachedHandlers","handler","dateTimestampInSeconds","now","timestampInSeconds","createUnixTimestampInSecondsFunc","performance","approxStartingTimeOrigin","timeOrigin","browserPerformanceTimeOrigin","performanceNow","dateNow","timeOriginDelta","navigationStart","timing","navigationStartDelta","hasNavigationStart","TRACEPARENT_REGEXP","extractTraceparentData","traceparent","parentSampled","matches","parentSpanId","tracingContextFromHeaders","sentryTrace","baggage","traceparentData","_baggage_js__WEBPACK_IMPORTED_MODULE_0__","EN","_misc_js__WEBPACK_IMPORTED_MODULE_1__","propagationContextFromHeaders","generateSentryTraceHeader","sampledString","isGlobalObj","globalThis","self","getGlobalObject","getGlobalSingleton","creator","__importDefault","mod","__esModule","router_1","isExcludedUrl","excluded","_paq","needle","trustedPolicyHooks","createScript","createScriptURL","_a","_b","_c","_d","siteId","_f","jsTrackerFile","_g","phpTrackerFile","_h","excludeUrlsPatterns","disableCookies","_k","onRouteChangeStart","_l","onRouteChangeComplete","_m","onInitialization","_o","trustedPolicyName","_p","logExcludedTracks","sanitizer","trustedTypes","createPolicy","previousPath","excludedUrl","pathname","scriptElement","refElement","getElementsByTagName","async","defer","fullUrl","src","events","on","setTimeout","q","query","title","module","__NEXT_P","__rest","getOwnPropertySymbols","propertyIsEnumerable","Button","props_id","prop_className","iconId","iconPosition","priority","linkProps","onClick","nativeButtonProps","assert","useAnalyticsId","Link","getLink","cx","fr","React","displayName","symToStr","factor","getBaseFontSizePx","htmlElement","computedStyle","getComputedStyle","getPropertyValue","fromEntries","param","getPxValues","spacingTokenByValue","getHex","isDark","getColorOptionsHex","params","decisions","getColorDecisionsHex","colorOptions","_1000_50","_975_75","blueFrance","redMarianne","greenTilleulVerveine","greenBourgeon","greenEmeraude","greenMenthe","greenArchipel","blueEcume","blueCumulus","purpleGlycine","pinkMacaron","pinkTuile","yellowTournesol","yellowMoutarde","orangeTerreBattue","brownCafeCreme","brownCaramel","brownOpera","beigeGrisGalet","_950_100","_200_850","sun113_625","_425_625","sun418moon817","sun425moon759","sun425moon753","sun373moon652","sun391moon716","sun247moon675","sun368moon732","sun319moon630","sun406moon833","sun425moon750","sun407moon922","sun348moon860","sun370moon672","sun383moon885","sun425moon901","sun395moon820","sun407moon821","_925_125","_1000_75","_1000_100","_975_100","_975_125","_950_125","_950_150","_50_1000","_975sun113","_625_425","_0_1000","_900_175","main525","main472","main707","main640","main632","main548","main557","main400","main526","main494","main689","main556","main731","main679","main645","main782","main648","main680","main702","_850_200","genericCx","kindOrToken","paramsWithOnlyDirection","rightLeft","topBottom","v","useLang_glob","setUseLang","useLang","createComponentI18nApi","componentName","frMessages","messagesByLang","useTranslation","lang","bestMatchLang","bestApproxLang","getLanguageBestApprox","languages","languageLike","find","iso2LanguageLike","messageKey","messageOrFn","messages","setLink","to","external_links","rel","anchor","regex","useBreakpointsValues","breakpointsValuesDependency","triggerRefresh","useReducer","useEffect","observer","MutationObserver","mutationsList","mutation","attributeName","oldValue","observe","disconnect","MuiDsfrThemeProvider","createMuiDsfrThemeProvider","augmentMuiTheme","useIsDark","useIsDark_props","nonAugmentedMuiTheme","createMuiDsfrTheme","_len","getMuiDsfrThemeOptions","getBySelector","variant","objectKeys","endsWith","open","borderNone","ownerState","getRowClassName","originalGetRowClassName","indexRelativeToCurrentPage","parityClassName","contrast","plain","hoveredAndSelected","alt","MuiThemeProvider","cls","toAdd","typeGuard","useConstCallback","callbackRef","useRef","current","useState","explicitlyProvidedId","defaultIdPrefix","useId","ssrWasPerformedWithIsDark","createStatefulObservable","getInitialValue","nextFunctions","wrappedState","useRerenderOnChange","$","effect","setCurrent","registerSubscription","subscribe","subscriptions","subscription","unsubscribe","$clientSideIsDark","process","env","JEST_WORKER_ID","$isAfterFirstEffect","useIsDarkClientSide","setIsDark","newIsDarkOrDeduceNewIsDarkFromCurrentIsDark","data_fr_js_value","documentElement","newColorScheme","matchMedia","data_fr_scheme","data_fr_theme","localStorage","setItem","getCurrentIsDarkFromHtmlAttribute","colorSchemeFromHtmlAttribute","startClientSideIsDarkLogic","doPersistDarkModePreferenceWithCookie","registerEffectAction","colorSchemeExplicitlyProvidedAsParameter","doCheckNonce","trustedTypesPolicyName","clientSideIsDark","ssrWasPerformedWithIsDark_","isDarkFromHtmlAttribute","isDarkExplicitlyProvidedAsParameter","isDarkFromLocalStorage","colorSchemeReadFromLocalStorage","getItem","isDarkFromOsPreference","createHTML","setColorSchemeCookie","newCookie","colorScheme","set_domain","hostname","cookie","setRootColorScheme","ssrNonce","getElementById","rootColorSchemeStyleTagId","remove","innerHTML","setThemeColor","content","useIsDarkServerSide","ssrIsDarkContext","SsrIsDarkProvider","originalFunctionToString","debounceTimerID","lastCapturedEventType","lastCapturedEventTargetId","lastHref","SPAN_METRIC_SUMMARY","po","_previousCls","_previousFid","_previousLcp","_previousTtfb","_previousInp","_lcpEntry","_clsEntry","cachedFetchImpl","activeTransaction","prevLocationName","SpanStatus","applySdkMetadata","names","_metadata","packages","hasTracingEnabled","maybeOptions","__SENTRY_TRACING__","esm_exports","enableTracing","installedIntegrations","afterSetupIntegrations","afterAllSetup","setupIntegration","integrationIndex","debug_build","esm_logger","setupOnce","cc","esm_hub","setup","preprocessEvent","bind","processEvent","convertIntegrationFnToClass","INTEGRATION_NAME","SETUP_CLIENTS","functionToStringIntegration","Function","originalFunction","HK","FunctionToString","DEFAULT_IGNORE_ERRORS","DEFAULT_IGNORE_TRANSACTIONS","inboundfilters_INTEGRATION_NAME","inboundFiltersIntegration","_hint","ignoreErrors","_shouldDropEvent","_mergeOptions","internalOptions","clientOptions","allowUrls","denyUrls","disableErrorDefaults","ignoreTransactions","disableTransactionDefaults","ignoreInternal","_isSentryError","misc","jH","_getPossibleEventMessages","lastException","possibleMessages","_isIgnoredTransaction","_isDeniedUrl","_getEventFilterUrl","_isAllowedUrl","InboundFilters","_getLastValidUrl","applyAggregateErrorsToEvent","exceptionFromErrorImplementation","maxValueLimit","limit","exceptions","aggregateExceptionsFromError","prevExceptions","exceptionId","newExceptions","applyExceptionGroupFieldsForParentException","newException","newExceptionId","applyExceptionGroupFieldsForChildException","childError","is_exception_group","exception_id","parentId","parent_id","exceptionFromError","linkederrors_INTEGRATION_NAME","LinkedErrors","helpers_WINDOW","worldwide","ignoreOnError","wrap","wrapper","__sentry_wrapped__","sentryWrapped","wrappedArguments","ex","$e","Db","Tb","$Q","descriptor","getOwnPropertyDescriptor","instrumented","addHandler","maybeInstrument","instrumentFn","triggerHandlers","typeHandlers","esm_debug_build","_oldOnErrorHandler","addGlobalErrorInstrumentationHandler","instrumentError","onerror","msg","__SENTRY_LOADER__","__SENTRY_INSTRUMENTED__","_oldOnUnhandledRejectionHandler","addGlobalUnhandledRejectionInstrumentationHandler","instrumentUnhandledRejection","onunhandledrejection","debug_build_DEBUG_BUILD","eventbuilder_exceptionFromError","eventbuilder_parseStackFrames","extractMessage","eventFromError","popSize","getPopSize","framesToPop","reactMinifiedRegexp","eventbuilder_eventFromUnknownInput","attachStacktrace","isUnhandledRejection","VW","errorEvent","TX","fm","domException","eventFromString","eventFromPlainObject","getNonErrorObjectExceptionValue","zf","captureType","getObjectClassName","__serialized__","Qy","synthetic","Le","__sentry_template_string__","__sentry_template_values__","logentry","globalhandlers_INTEGRATION_NAME","globalHandlersIntegration","_options","stackTraceLimit","_eventFromIncompleteOnError","groups","_enhanceEventWithInitialFrame","eN","globalHandlerLog","_getUnhandledRejectionError","e2","GlobalHandlers","ev","ev0","ev0s","ev0sf","colno","lineno","browser","l4","in_app","DEFAULT_EVENT_TARGET","trycatch_INTEGRATION_NAME","browserApiErrorsIntegration","XMLHttpRequest","eventTarget","requestAnimationFrame","setInterval","hl","_wrapTimeFunction","_wrapRAF","_wrapXHR","eventTargetOption","_wrapEventTarget","TryCatch","originalCallback","originalSend","xhr","xmlHttpRequestProps","wrapOptions","globalObject","eventName","handleEvent","originalRemoveEventListener","originalEventHandler","wrappedEventHandler","instrumentConsole","RU","LD","dom_WINDOW","instrumentDOM","triggerDOMHandler","globalDOMEventHandler","makeDOMEventHandler","addEventListener","originalAddEventListener","listener","__sentry_instrumentation_handlers__","handlerForType","refCount","globalListener","getEventTarget","isContentEditable","_sentryId","isSimilarToLastCapturedEvent","global","clearTimeout","xhr_WINDOW","SENTRY_XHR_DATA_KEY","addXhrInstrumentationHandler","instrumentXHR","xhrproto","originalOpen","startTimestamp","parseUrl","request_headers","__sentry_own_request__","onreadystatechangeHandler","xhrInfo","readyState","status_code","endTimestamp","onreadystatechange","readyStateArgs","setRequestHeaderArgs","header","sentryXhrData","body","supports_WINDOW","supportsFetch","Headers","Request","Response","isNativeFetch","addFetchInstrumentationHandler","instrumentFetch","supportsNativeFetch","EdgeRuntime","fetch","doc","sandbox","hidden","contentWindow","originalFetch","parseFetchArgs","fetchArgs","getUrlFromResource","hasProp","handlerData","fetchData","response","resource","supportsHistory_WINDOW","history_WINDOW","addHistoryInstrumentationHandler","instrumentHistory","supportsHistory","chromeVar","chrome","isChromePackagedApp","app","runtime","hasHistoryApi","history","pushState","replaceState","oldOnPopState","onpopstate","historyReplacementFunction","originalHistoryFunction","validSeverityLevels","url_parseUrl","fragment","host","protocol","hash","relative","breadcrumbs_INTEGRATION_NAME","breadcrumbsIntegration","dom","addConsoleInstrumentationHandler","category","nK","n_","serializeAttribute","_isEvent","iY","parsedLoc","parsedFrom","parsedTo","Breadcrumbs","integrations_linkederrors_INTEGRATION_NAME","integrations_linkederrors_linkedErrorsIntegration","linkederrors_LinkedErrors","httpcontext_INTEGRATION_NAME","httpContextIntegration","referrer","headers","Referer","HttpContext","dedupe_INTEGRATION_NAME","dedupeIntegration","previousEvent","currentEvent","_isSameMessageEvent","currentMessage","previousMessage","_isSameFingerprint","_isSameStacktrace","_isSameExceptionEvent","previousException","_getExceptionFromEvent","currentException","Dedupe","currentFrames","_getFramesFromEvent","previousFrames","frameA","frameB","currentFingerprint","previousFingerprint","windowIntegrations","Sentry","Integrations","INTEGRATIONS","integrations_namespaceObject","esm_integrations_namespaceObject","DSN_REGEX","dsn_dsnToString","dsn","withPassword","pass","port","projectId","dsnFromString","lastPath","projectMatch","dsnFromComponents","createEnvelope","items","forEachEnvelopeItem","envelope","envelopeItem","envelopeItemType","encodeUTF8","textEncoder","utf8","TextEncoder","encode","ITEM_TYPE_TO_DATA_CATEGORY_MAP","sessions","client_report","user_report","profile","replay_event","replay_recording","check_in","feedback","statsd","getSdkMetadataForEnvelopeHeader","metadataOrEvent","SentryError","logLevel","setPrototypeOf","ALREADY_SEEN_ERROR","BaseClient","_integrations","_integrationsInitialized","_numProcessing","_outcomes","_hooks","_dsn","dsn_makeDsn","validateDsn","requiredComponents","component","getEnvelopeEndpointWithUrlEncodedAuth","tunnelOrOptions","tunnel","sdkInfo","getBaseApiEndpoint","sentry_key","sentry_version","sentry_client","_transport","transport","recordDroppedEvent","transportOptions","YO","_process","eventFromException","_captureEvent","eventMessage","promisedEvent","eventFromMessage","capturedSpanScope","sendSession","esm_session","getSdkMetadata","getTransport","metricsAggregator","_isClientDoneProcessing","clientFinished","transportFlushed","syncpromise","WD","close","eventProcessor","forceInitialize","_isEnabled","_setupIntegrations","getIntegrationById","integrationId","getIntegrationByName","integrationName","addIntegration","isAlreadyInstalled","sendEvent","createEventEnvelope","eventType","envelopeHeaders","createEventEnvelopeHeaders","sent_at","addItemToEnvelope","newItem","createAttachmentEnvelopeItem","buffer","content_type","contentType","attachment_type","attachmentType","promise","_sendEnvelope","sendResponse","createSessionEnvelope","_event","sendClientReports","captureAggregateMetrics","metricBucketItems","metricsEnvelope","createMetricEnvelope","createMetricEnvelopeItem","payload","serializeMetricBuckets","tagEntries","maybeTags","metric","metricType","hook","_updateSessionFromEvent","crashed","errored","sessionNonTerminal","ticked","interval","clearInterval","_prepareEvent","tracing_dynamicSamplingContext","_processEvent","finalEvent","sentryError","isTransaction","isTransactionEvent","beforeSendLabel","$2","dataCategory","capturedSpanIsolationScope","__sentry__","_validateBeforeSendResult","beforeSendResult","invalidValueError","processBeforeSend","beforeSend","beforeSendTransaction","processedEvent","transactionInfo","transaction_info","send","_clearOutcomes","outcomes","quantity","BrowserClient","SENTRY_SDK_SOURCE","visibilityState","_flushOutcomes","eventbuilder_eventFromMessage","captureUserFeedback","createUserFeedbackEnvelope","platform","esm_time","discarded_events","createFrame","chromeRegex","chromeEvalRegex","chromeStackLineParser","parts","subMatch","extractSafariExtensionDetails","geckoREgex","geckoEvalRegex","geckoStackLineParser","winjsRegex","defaultStackParser","pE","isSafariExtension","isSafariWebExtension","createTransport","makeRequest","makePromiseBuffer","task","taskProducer","drain","counter","capturedSetTimeout","bufferSize","rateLimits","filteredEnvelopeItems","envelopeItemDataCategory","isRateLimited","limits","disabledUntil","all","getEventForEnvelopeItem","filteredEnvelope","recordEnvelopeLoss","serializeEnvelope","envHeaders","append","itemHeaders","stringifiedPayload","concatBuffers","buffers","totalLength","buf","merged","statusCode","updateRateLimits","updatedRateLimits","rateLimitHeader","retryAfterHeader","retryAfter","categories","headerDelay","parseRetryAfterHeader","headerDate","__sentry__baseTransport__","makeFetchTransport","nativeFetch","getNativeFetchImplementation","fetchImpl","pendingBodySize","pendingCount","requestSize","requestOptions","referrerPolicy","keepalive","fetchOptions","makeXHRTransport","getResponseHeader","setRequestHeader","defaultIntegrations","_optionalChain","ops","lastAccessLHS","getMetricSummaryJsonForSpan","storage","exportKey","summary","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE","SEMANTIC_ATTRIBUTE_SENTRY_OP","SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN","setHttpStatus","httpStatus","setData","spanStatus","getSpanStatusFromHttpCode","setStatus","SpanRecorder","maxlen","_maxlen","spanRecorder","Span","_traceId","_spanId","_startTime","instrumenter","_attributes","setAttributes","attributes","_name","_parentSpanId","_sampled","_status","_endTime","exclusiveTime","_exclusiveTime","_measurements","measurements","updateName","startTime","endTime","spanUtils","i0","ve","startChild","childSpan","opStr","nameStr","idStr","logMessage","_logMessage","setName","isSuccess","finish","$k","toTraceparent","Hb","toContext","_getData","updateWithContext","getTraceContext","start_timestamp","_metrics_summary","profile_id","exclusive_time","isRecording","hasData","hasAttributes","startInactiveSpan","normalizeContext","ctx","parentSpan","trace_getActiveSpan","onlyIfParent","temporaryScope","createChildSpanOrTransaction","forceTransaction","ISOLATION_SCOPE_ON_START_SPAN_FIELD","SCOPE_ON_START_SPAN_FIELD","Transaction","transactionContext","_hub","_trimEnd","trimEnd","incomingDynamicSamplingContext","newName","spanMetadata","initSpanRecorder","setMeasurement","setMetadata","newMetadata","timestampInS","_finishTransaction","getDynamicSamplingContext","setHub","getProfileId","finishedSpans","endTimes","TRACING_DEFAULTS","idleTimeout","finalTimeout","heartbeatInterval","IdleTransactionSpanRecorder","_pushActivity","_popActivity","transactionSpanId","originalEnd","IdleTransaction","_idleHub","_idleTimeout","_finalTimeout","_heartbeatInterval","_onScope","delayAutoFinishUntilSignal","activities","_heartbeatCounter","_finished","_idleTimeoutCanceledPermanently","_beforeFinishCallbacks","_finishReason","_autoFinishAllowed","_restartIdleTimeout","endTimestampInS","spanStartedBeforeTransactionFinish","timeoutWithMarginOfError","spanEndedBeforeFinalTimeout","stringifiedSpan","registerBeforeFinishCallback","_pingHeartbeat","cancelIdleTimeout","restartOnChildSpanChange","_idleTimeoutID","setFinishReason","sendAutoFinishSignal","_beat","heartbeatString","_prevHeartbeatString","getActiveTransaction","maybeHub","errorsInstrumented","errorCallback","sampleTransaction","samplingContext","tracesSampler","tracesSampleRate","isValidSampleRate","rate","_startTransaction","configInstrumenter","transactionInstrumenter","_experiments","maxSpans","startIdleTransaction","onScope","addTracingExtensions","cu","common_debug_build_DEBUG_BUILD","types_WINDOW","registerBackgroundTabDetection","statusType","bindReporter","reportAllChanges","prevValue","delta","forceReport","generateUniqueID","floor","getNavigationEntryFromPerformanceTiming","navigation","navigationEntry","entryType","getNavigationEntry","__WEB_VITALS_POLYFILL__","getEntriesByType","getActivationStart","navEntry","activationStart","initMetric","navigationType","prerendering","rating","opts","PerformanceObserver","supportedEntryTypes","list","getEntries","buffered","onHidden","cb","once","onHiddenOrPageHide","removeEventListener","onCLS","report","sessionValue","sessionEntries","handleEntries","entry","hadRecentInput","firstSessionEntry","lastSessionEntry","onReport","stopListening","takeRecords","firstHiddenTime","initHiddenTime","Infinity","trackChanges","timeStamp","getVisibilityWatcher","onFID","visibilityWatcher","handleEntry","processingStart","interactionCountEstimate","minKnownInteractionId","maxKnownInteractionId","updateEstimate","interactionId","getInteractionCount","interactionCount","initInteractionCountPolyfill","durationThreshold","getInteractionCountForNavigation","longestInteractionList","longestInteractionMap","processEntry","minLongestInteraction","existingInteraction","latency","interaction","estimateP98LongestInteraction","candidateInteractionIndex","onINP","prevEntry","inp","reportedMetricIDs","onLCP","lastEntry","capture","whenReady","onTTFB","responseStart","instrument_handlers","instrument_instrumented","addPerformanceInstrumentationHandler","instrument_addHandler","instrumentPerformanceObserver","instrument_triggerHandlers","getCleanupCallback","instrumentCls","instrumentFid","instrumentLcp","instrumentTtfb","instrumentInp","addMetricObserver","previousValue","stopOnCallback","createSpanItem","isMeasurementValue","isFinite","_startChild","msToSec","time","getBrowserPerformanceAPI","_performanceCursor","startTrackingWebVitals","Z1","mark","fidCallback","clsCallback","addClsInstrumentationHandler","lcpCallback","addLcpInstrumentationHandler","ttfbCallback","startTrackingLongTasks","startTrackingInteractions","startTrackingINP","interactionIdtoRouteNameMapping","inpCallback","INP_ENTRY_MAP","interactionType","interactionIdToRouteNameMapping","routeName","parentContext","replayId","userDisplay","profileId","replay_id","createSpanEnvelope","click","pointerdown","pointerup","mousedown","mouseup","touchstart","touchend","mouseover","mouseout","mouseenter","mouseleave","pointerover","pointerout","pointerenter","pointerleave","dragstart","dragend","drag","dragenter","dragleave","dragover","drop","keydown","keyup","keypress","addPerformanceEntries","performanceEntries","transactionStartTime","_addPerformanceNavigationTiming","responseEnd","requestStart","_addMeasureSpans","measureStartTimestamp","firstHidden","shouldRecord","_addResourceSpans","resourceUrl","initiatorType","parsedUrl","setResourceEntrySizeData","renderBlockingStatus","_trackNavigator","connection","effectiveType","rtt","deviceMemory","hardwareConcurrency","_addTtfbRequestTimeToMeasurements","normalizedValue","measurementTimestamp","fidMark","measurementName","sources","eventEnd","dataKey","entryVal","DEFAULT_TRACE_PROPAGATION_TARGETS","defaultRequestInstrumentationOptions","traceFetch","traceXHR","enableHTTPTimings","tracingOrigins","tracePropagationTargets","instrumentOutgoingRequests","shouldCreateSpanForRequest","shouldCreateSpan","shouldAttachHeadersWithTargets","createdSpan","instrumentFetchRequest","shouldAttachHeaders","spanOrigin","shouldCreateSpanResult","__span","contentLength","contentLengthNum","addTracingHeadersToFetchRequest","requestSpan","sentryTraceHeader","tracing","sentryBaggageHeader","IQ","newHeaders","bU","existingBaggageHeader","newBaggageHeaders","addHTTPTimings","xhrCallback","__sentry_xhr_span_id__","setHeaderOnXhr","cleanup","nextHopProtocol","spanData","resourceTiming","extractNetworkProtocol","char","timingSpanData","getAbsoluteTime","redirectStart","fetchStart","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","DEFAULT_BROWSER_TRACING_OPTIONS","markBackgroundTransactions","routingInstrumentation","customStartTransaction","startTransactionOnPageLoad","startTransactionOnLocationChange","startingUrl","enableLongTask","enableInp","browsertracing_BrowserTracing","_hasSetTracePropagationTargets","_collectWebVitals","_interactionIdToRouteNameMapping","enableInteractions","_latestRoute","_getCurrentHub","instrumentRouting","clientOptionsTracePropagationTargets","_createRouteTransaction","onStartRouteTransaction","_registerInteractionListener","_registerInpInteractionListener","expandedContext","beforeNavigate","isPageloadTransaction","getMetaContent","pT","modifiedContext","finalContext","idleTransaction","inflightInteractionTransaction","registerInteractionTransaction","currentTransaction","getSource","sourceFromAttributes","sourceFromData","sourceFromMetadata","replay","getReplayId","minInteractionId","metaName","metaTag","qT","browserTracingIntegration_DEFAULT_BROWSER_TRACING_OPTIONS","instrumentNavigation","instrumentPageLoad","markBackgroundSpan","browserTracingIntegration","latestRoute","beforeStartSpan","browserTracingIntegration_getMetaContent","activeSpan","startBrowserTracingPageLoadSpan","startBrowserTracingNavigationSpan","registerInteractionListener","browserTracingIntegration_getSource","registerInpInteractionListener","spanOptions","DEFAULT_TAGS","esm_common_debug_build_DEBUG_BUILD","pagesRouterRoutingInstrumentation_DEFAULT_TAGS","nextRouterInstrumentation","startTransactionCb","startPageloadSpanCallback","startNavigationSpanCallback","pagesRouterInstrumentation","route","extractNextDataTagInformation","nextData","nextDataTag","nextDataTagInfo","page","pageProps","_sentryTraceData","_sentryBaggage","KA","router_default","transactionSource","strippedNavigationTarget","urlPath","matchedRoute","getNextRouteFromPathname","pageRoutes","__BUILD_MANIFEST","sortedPages","routeRegExp","convertNextRouteToRegExp","routeParts","optionalCatchallWildcardRegex","rejoinedRouteParts","routePart","navigationTransaction","nextRouteChangeSpan","finishRouteChangeSpan","off","appRouterInstrumentation","parsedNavigatingRscFetchArgs","parseNavigatingRscFetchArgs","searchParams","targetPathname","BrowserTracing","splitPathRe","resolvedPath","resolvedAbsolute","normalizeArray","allowAboveRoot","last","unshift","arr","rewriteframes_INTEGRATION_NAME","rewriteFramesIntegration","prefix","iteratee","isWindowsFrame","startsWithSlash","ext","fromParts","toParts","samePartsLength","outputParts","splitPath","truncated","originalEvent","_processExceptionsEvent","globalWithInjectedValues","rewriteFramesIntegration_rewriteFramesIntegration","assetPrefixPath","__rewriteFramesAssetPrefixPath__","URL","_2","_3","_4","_5","decodeURI","tunnelRoute_globalWithInjectedValues","maybeUpdateBrowserTracingIntegration","browserTracing","_sentryCollisionFreeGlobalObject","SENTRY_DSN","SENTRY_ENV","getVercelEnv","isClient","vercelEnvVar","NEXT_PUBLIC_VERCEL_ENV","VERCEL_ENV","client_getDefaultIntegrations","customDefaultIntegrations","browserTracingIntegration_browserTracingIntegration","browserTracingIntegrationInstance","startPageloadCallback","startSpanOptions","startNavigationCallback","fixBrowserTracingIntegration","applyTunnelRouteOption","tunnelRouteOption","__sentryRewritesTunnelPath__","dsnComponents","sentrySaasDsnMatch","orgId","regionCode","tunnelPath","sdk_init","__SENTRY_RELEASE__","SENTRY_RELEASE","autoSessionTracking","initAndBind","clientClass","debug","initialScope","setCurrentClient","Sq","getIntegrationsToSetup","userIntegrations","isDefaultInstance","finalIntegrations","filterDuplicates","integrationsByName","currentInstance","existingInstance","debugIndex","findIndex","debugInstance","startSessionTracking","yj","cg","filterTransactions","enumerable","actionAsyncStorage","_asynclocalstorage","createAsyncLocalStorage","sharedAsyncLocalStorageNotAvailableError","FakeAsyncLocalStorage","getStore","exit","enterWith","maybeGlobalAsyncLocalStorage","AsyncLocalStorage","clientHookInServerComponentError","hookName","require","_export","ReadonlyURLSearchParams","useSearchParams","usePathname","ServerInsertedHTMLContext","_serverinsertedhtmlsharedruntime","useServerInsertedHTML","useRouter","useParams","useSelectedLayoutSegments","useSelectedLayoutSegment","redirect","_redirect","permanentRedirect","RedirectType","notFound","_notfound","_react","_approutercontextsharedruntime","_hooksclientcontextsharedruntime","_clienthookinservercomponenterror","_getsegmentvalue","_segment","INTERNAL_URLSEARCHPARAMS_INSTANCE","readonlyURLSearchParamsError","urlSearchParams","getAll","SearchParamsContext","PathnameContext","router","AppRouterContext","globalLayoutRouter","GlobalLayoutRouterContext","pathParams","PathParamsContext","tree","getSelectedParams","parallelRoute","isDynamicParameter","segmentValue","PAGE_SEGMENT_KEY","parallelRouteKey","LayoutRouterContext","getSelectedLayoutSegmentPath","first","segmentPath","_parallelRoutes_children","parallelRoutes","getSegmentValue","selectedLayoutSegments","isNotFoundError","NOT_FOUND_ERROR_CODE","digest","RedirectStatusCode","getRedirectError","isRedirectError","getURLFromRedirectError","getRedirectTypeFromError","getRedirectStatusCodeFromError","_requestasyncstorageexternal","_actionasyncstorageexternal","_redirectstatuscode","REDIRECT_ERROR_CODE","TemporaryRedirect","requestStore","requestAsyncStorage","mutableCookies","actionStore","isAction","SeeOther","PermanentRedirect","errorCode","destination","PrefetchKind","ACTION_REFRESH","ACTION_NAVIGATE","ACTION_RESTORE","ACTION_SERVER_PATCH","ACTION_PREFETCH","ACTION_FAST_REFRESH","ACTION_SERVER_ACTION","getDomainLocale","locale","locales","domainLocales","_default","_interop_require_default","_jsxruntime","_resolvehref","_islocalurl","_formaturl","_utils","_addlocale","_routercontextsharedruntime","_useintersection","_getdomainlocale","_addbasepath","_routerreducertypes","prefetched","prefetch","as","appOptions","isAppRouter","isLocalURL","bypassPrefetchedCheck","prefetchedKey","formatStringOrUrl","urlObjOrString","formatUrl","forwardedRef","child","hrefProp","asProp","childrenProp","prefetchProp","passHref","shallow","scroll","onMouseEnter","onMouseEnterProp","onTouchStart","onTouchStartProp","legacyBehavior","restProps","pagesRouter","RouterContext","appRouter","prefetchEnabled","appPrefetchKind","AUTO","FULL","resolvedHref","resolvedAs","resolveHref","previousHref","previousAs","Children","childRef","setIntersectionRef","isVisible","resetVisible","useIntersection","rootMargin","setRef","useCallback","kind","childProps","defaultPrevented","linkClicked","nodeName","isAnchorNodeName","isModifiedEvent","metaKey","ctrlKey","shiftKey","altKey","nativeEvent","which","preventDefault","navigate","routerScroll","startTransition","isAbsoluteUrl","curLocale","localeDomain","isLocaleDomain","addBasePath","addLocale","defaultLocale","cloneElement","_requestidlecallback","hasIntersectionObserver","IntersectionObserver","observers","idList","rootRef","isDisabled","visible","setVisible","elementRef","setElement","elements","createObserver","instance","existing","isIntersecting","intersectionRatio","unobserve","idleCallback","requestIdleCallback","cancelIdleCallback","_interop_require_wildcard","addInsertedServerHTMLCallback","condition","getScriptToRunAsap","defaultColorScheme","fontUrlByFileBasename","apple_touch_icon","favicon","favicon_favicon","getAssetUrl","componentOrUrl","Deferred","isPending","resolve_","reject_","overwriteReadonlyProp","isStarted","verbose","nextParams","dsfr","dDsfrLoaded","readIsDarkInCookie","parsedCookies","Footer","id_props","contentDescription","websiteMapLinkProps","accessibilityLinkProps","accessibility","termsLinkProps","bottomItems","partnersLogos","operatorLogo","license","brandTop","brandTop_prop","homeLinkProps","homeLinkProps_prop","linkList","domains","exceptionMessage","mainPartnersLogo","sub","subPartnersLogos","role","columnIndex","categoryName","links","linkItem","linkItemIndex","brand","logo","brandLink","orientation","imgUrl","contentDesc","contentList","domain","contentItem","contentLink","partners","partnersTitle","partnersMain","hasLinkProps","partnersLink","partnersSub","bottomList","bottomItem","FooterBottomItem","bottomLink","bottomCopy","addFooterTranslations","licenseUrl","className_props","buttonProps","generateValidHtmlId","fallback","Menu","isActive","MegaMenu","leader","tabIndex","paragraph","link","categoryMainLink","MegaMenu_useTranslation","addMegaMenuTranslations","MainNavigation","getMenuId","menuLinks","megaMenu","btn","menuList","megaMenuLeader","megaMenuCategory","MainNavigation_useTranslation","addMainNavigationTranslations","system","Modal","concealingBackdrop","topAnchor","buttons","buttons_props","titleId","doClosesModal","Modal_useTranslation","addModalTranslations","createModal","isOpenedByDefault","hiddenControlButtonId","Component","modalElement","disclose","conceal","headerFooterDisplayItem","Display","getInputId","htmlFor","xmlns","viewBox","label","xlinkHref","ArtworkDarkSvg","ArtworkLightSvg","ArtworkSystemSvg","Display_useTranslation","addDisplayTranslations","SearchBar","label_props","big","renderInput","placeholder","clearInputOnSearch","allowEmptySearch","onButtonClick","inputId","SearchButton","searchInputId","SearchBar_useTranslation","addSearchBarTranslations","onClick_props","forceUpdate","focusInputElement","getInputValue","resetInputValue","getIsInputFocused","setInputApi","isControlledByUser","inputElement","activeElement","cleanups","observeInputValue","callback_params","descriptorToRestore","newValue","timer","blur","Header","serviceTitle","serviceTagline","quickAccessItems","renderSearchInput","clearSearchInputOnSearch","onSearchButtonClick","menuModalId","menuButtonId","searchModalId","isSearchBarEnabled","tSearchBar","useSearchBarTranslation","getQuickAccessNode","suffix","quickAccessItem","HeaderQuickAccessItem","hasOperatorLink","bodyRow","operator","navbar","service","toolsLinks","menu","Header_useTranslation","addHeaderTranslations","SkipLinks","SkipLinks_useTranslation","addSkipLinksTranslations","withDsfr","dsfrDocumentApi","createNextDsfrIntegrationApi","preloadFonts","doDisableFavicon","isAfterFirstEffect","actions","isDarkPropKey","App","AppWithDsfr","Head","fileBasename","crossOrigin","AppleTouchIcon","FaviconSvg","FaviconIco","isProduction","dangerouslySetInnerHTML","super_getInitialProps","getInitialProps","DefaultApp","appContext","initialProps","req","augmentDocumentForDsfr","Document","DefaultDocument","documentContext","originalRenderPage","renderPage","enhanceApp","EnhancedApp","getColorSchemeHtmlAttributes","withAppEmotionCache","augmentDocumentWithEmotionCache","createEmotionSsrAdvancedApproach","DefaultCacheProvider","optionsWithoutPrependProp","appPropName","insertionPointId","createClientSideCache","AppWithEmotionCache","staticMethod","createEmotionServerOrPr","createEmotionServer","thisArg","_arguments","P","generator","emotionServer","emotionStyles","extractCriticalToChunks","html","ids","otherStyles","toArray","fulfilled","rejected","done","adopt","jsxs","Fragment","br","homeLinkPops","bottomLinks","Layout","contentSecurityPolicy","meta","httpEquiv","asPath","div","_app","cachedSetTimeout","cachedClearTimeout","currentQueue","defaultSetTimout","defaultClearTimeout","runTimeout","fun","queue","draining","queueIndex","cleanUpNextTick","drainQueue","runClearTimeout","Item","noop","nextTick","argv","versions","addListener","removeListener","removeAllListeners","prependListener","prependOnceListener","listeners","binding","cwd","chdir","umask","extendStatics","__extends","d","__proto__","__","__read","o","ar","AssertionError","overwriteReadonlyProp_1","assertIsRefWrapper_1","_super","_newTarget","assertIsRefWrapper","errorMessage","__assign","assert_1","is_1","propertyName","errorDefineProperty","propertyDescriptor","isMatched","id_1","_extends","_objectWithoutPropertiesLoose","sourceKeys"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/chunks/pages/_app-e9e32ebcf1eca1d8.js","mappings":"iIAqDA,IAAAA,EAAA,WAEA,SAAAA,EAAAC,CAAA,EACA,IAAAC,EAAA,KAEA,KAAAC,UAAA,UAAAC,CAAA,EACA,IAAAC,EAIAA,EAFAH,IAAAA,EAAAI,IAAA,CAAAC,MAAA,CACAL,EAAAM,cAAA,CACAN,EAAAM,cAAA,CAAAC,WAAA,CAC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,EAAAzI,CAAW,EAC7C1I,MAAA+Q,EACAnP,SAAAA,CACA,EACA,EACA,EACA,aC9DA,IAAAwP,EAAA,UAMe,SAASC,EAAaC,CAAA,EACrC,IACA3B,MAAA4B,CAAA,CACA,CAAMD,EACN3P,EAAY,GAAA6P,EAAA9I,CAAA,EAA6B4I,EAAAF,GACzCK,EAAAF,CAAA,CAAiCnK,EAAAsB,CAAQ,EACzC,MAAsB,GAAAsH,EAAAC,GAAA,EAAKS,EAAqB,GAAAX,EAAArH,CAAA,EAAQ,GAAG/G,EAAA,CAC3D0O,QAAAoB,EAA2BrK,EAAAsB,CAAQ,CAAA/K,KAAAA,EACnCgS,MAAA8B,GAAAF,CACA,GACA,iKEhBAG,EAJA,CACAC,MAAA,OACAC,MAAA,MACA,ECaAC,EAhBA,CACA,aACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA7C,KAAA,UACAC,KAAA,UACAC,KAAA,UACAC,KAAA,SACA,ECCA2C,EAhBA,CACA,aACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA9C,KAAA,UACAC,KAAA,UACAC,KAAA,UACAC,KAAA,SACA,aCCA4C,EAhBA,CACA,aACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA/C,KAAA,UACAC,KAAA,UACAC,KAAA,UACAC,KAAA,SACA,ECCA6C,EAhBA,CACA,aACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACAhD,KAAA,UACAC,KAAA,UACAC,KAAA,UACAC,KAAA,SACA,ECCA8C,EAhBA,CACA,aACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACAjD,KAAA,UACAC,KAAA,UACAC,KAAA,UACAC,KAAA,SACA,ECCA+C,EAhBA,CACA,aACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACAlD,KAAA,UACAC,KAAA,UACAC,KAAA,UACAC,KAAA,SACA,ECZA,IAAAiC,EAAA,2CAWOe,EAAA,CAEPC,K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BACZ,MAAS,CACL,SAAY,qBACZ,WAAc,kBACd,OAAU,qBACd,CACJ,EACH,sEK1OM,IAAM2F,EAAS,CAClB,QJJwB,CACxB,KAAQ,CACJ,SAAY,CACR,QAAW,sBACX,MAAS,4BACT,OAAU,4BACd,EACA,QAAW,CACP,QAAW,qBACX,MAAS,2BACT,OAAU,2BACd,EACA,SAAY,CACR,QAAW,sBACX,MAAS,4BACT,OAAU,4BACd,EACA,SAAY,CACR,QAAW,qBACf,EACA,SAAY,CACR,QAAW,qBACf,EACA,SAAY,CACR,QAAW,sBACX,MAAS,4BACT,OAAU,4BACd,EACA,UAAa,CACT,QAAW,uBACX,MAAS,6BACT,OAAU,6BACd,EACA,SAAY,CACR,QAAW,sBACX,MAAS,4BACT,OAAU,4BACd,EACA,SAAY,CACR,QAAW,sBACX,MAAS,4BACT,OAAU,4BACd,EACA,SAAY,CACR,QAAW,sBACX,MAAS,4BACT,OAAU,4BACd,EACA,SAAY,CACR,QAAW,sBACX,MAAS,4BACT,OAAU,4BACd,EACA,SAAY,CACR,QAAW,qBACf,EACA,SAAY,CACR,QAAW,qBACf,EACA,SAAY,CACR,QAAW,qBACf,EACA,QAAW,CACP,QAAW,oBACf,EACA,SAAY,CACR,QAAW,qBACf,CACJ,EACA,WAAc,CACV,QAAW,CACP,QAAW,4BACX,MAAS,kCACT,OAAU,kCACd,EACA,SAAY,CACR,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,WAAc,CACV,QAAW,iCACX,MAAS,uCACT,OAAU,uCACd,EACA,SAAY,CACR,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,WAAc,CACV,QAAW,gCACf,EACA,QAAW,CACP,QAAW,6BACf,EACA,SAAY,CACR,QAAW,4BACf,CACJ,EACA,YAAe,CACX,QAAW,CACP,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,QAAW,CACP,QAAW,8BACf,EACA,SAAY,CACR,QAAW,6BACf,CACJ,EACA,KAAQ,CACJ,SAAY,CACR,QAAW,sBACX,MAAS,4BACT,OAAU,4BACd,EACA,SAAY,CACR,QAAW,sBACX,MAAS,4BACT,OAAU,4BACd,EACA,QAAW,CACP,QAAW,oBACf,CACJ,EACA,QAAW,CACP,SAAY,CACR,QAAW,yBACX,MAAS,+BACT,OAAU,+BACd,EACA,SAAY,CACR,QAAW,yBACX,MAAS,+BACT,OAAU,+BACd,EACA,QAAW,CACP,QAAW,uBACf,CACJ,EACA,QAAW,CACP,SAAY,CACR,QAAW,yBACX,MAAS,+BACT,OAAU,+BACd,EACA,SAAY,CACR,QAAW,yBACX,MAAS,+BACT,OAAU,+BACd,EACA,QAAW,CACP,QAAW,uBACf,CACJ,EACA,MAAS,CACL,SAAY,CACR,QAAW,uBACX,MAAS,6BACT,OAAU,6BACd,EACA,SAAY,CACR,QAAW,uBACX,MAAS,6BACT,OAAU,6BACd,EACA,QAAW,CACP,QAAW,qBACf,CACJ,EACA,qBAAwB,CACpB,QAAW,CACP,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,SAAY,CACR,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,cAAiB,CACb,QAAW,iDACX,MAAS,uDACT,OAAU,uDACd,EACA,SAAY,CACR,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,QAAW,CACP,QAAW,wCACf,EACA,SAAY,CACR,QAAW,uCACf,CACJ,EACA,cAAiB,CACb,QAAW,CACP,QAAW,+BACX,MAAS,qCACT,OAAU,qCACd,EACA,SAAY,CACR,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,cAAiB,CACb,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,EACA,SAAY,CACR,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,QAAW,CACP,QAAW,gCACf,EACA,SAAY,CACR,QAAW,+BACf,CACJ,EACA,cAAiB,CACb,QAAW,CACP,QAAW,+BACX,MAAS,qCACT,OAAU,qCACd,EACA,SAAY,CACR,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,cAAiB,CACb,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,EACA,SAAY,CACR,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,QAAW,CACP,QAAW,gCACf,EACA,SAAY,CACR,QAAW,+BACf,CACJ,EACA,YAAe,CACX,QAAW,CACP,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,cAAiB,CACb,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,QAAW,CACP,QAAW,8BACf,EACA,SAAY,CACR,QAAW,6BACf,CACJ,EACA,cAAiB,CACb,QAAW,CACP,QAAW,+BACX,MAAS,qCACT,OAAU,qCACd,EACA,SAAY,CACR,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,cAAiB,CACb,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,EACA,SAAY,CACR,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,QAAW,CACP,QAAW,gCACf,EACA,SAAY,CACR,QAAW,+BACf,CACJ,EACA,UAAa,CACT,QAAW,CACP,QAAW,2BACX,MAAS,iCACT,OAAU,iCACd,EACA,SAAY,CACR,QAAW,4BACX,MAAS,kCACT,OAAU,kCACd,EACA,cAAiB,CACb,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,SAAY,CACR,QAAW,4BACX,MAAS,kCACT,OAAU,kCACd,EACA,QAAW,CACP,QAAW,4BACf,EACA,SAAY,CACR,QAAW,2BACf,CACJ,EACA,YAAe,CACX,QAAW,CACP,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,cAAiB,CACb,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,QAAW,CACP,QAAW,8BACf,EACA,SAAY,CACR,QAAW,6BACf,CACJ,EACA,cAAiB,CACb,QAAW,CACP,QAAW,+BACX,MAAS,qCACT,OAAU,qCACd,EACA,SAAY,CACR,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,cAAiB,CACb,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,EACA,SAAY,CACR,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,QAAW,CACP,QAAW,gCACf,EACA,SAAY,CACR,QAAW,+BACf,CACJ,EACA,YAAe,CACX,QAAW,CACP,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,cAAiB,CACb,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,SAAY,CACR,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,QAAW,CACP,QAAW,8BACf,EACA,SAAY,CACR,QAAW,6BACf,CACJ,EACA,UAAa,CACT,QAAW,CACP,QAAW,2BACX,MAAS,iCACT,OAAU,iCACd,EACA,SAAY,CACR,QAAW,4BACX,MAAS,kCACT,OAAU,kCACd,EACA,cAAiB,CACb,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,SAAY,CACR,QAAW,4BACX,MAAS,kCACT,OAAU,kCACd,EACA,QAAW,CACP,QAAW,4BACf,EACA,SAAY,CACR,QAAW,2BACf,CACJ,EACA,gBAAmB,CACf,QAAW,CACP,QAAW,iCACX,MAAS,uCACT,OAAU,uCACd,EACA,SAAY,CACR,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,cAAiB,CACb,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,SAAY,CACR,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,QAAW,CACP,QAAW,kCACf,EACA,SAAY,CACR,QAAW,iCACf,CACJ,EACA,eAAkB,CACd,QAAW,CACP,QAAW,gCACX,MAAS,sCACT,OAAU,sCACd,EACA,SAAY,CACR,QAAW,iCACX,MAAS,uCACT,OAAU,uCACd,EACA,cAAiB,CACb,QAAW,0CACX,MAAS,gDACT,OAAU,gDACd,EACA,SAAY,CACR,QAAW,iCACX,MAAS,uCACT,OAAU,uCACd,EACA,QAAW,CACP,QAAW,iCACf,EACA,SAAY,CACR,QAAW,gCACf,CACJ,EACA,kBAAqB,CACjB,QAAW,CACP,QAAW,oCACX,MAAS,0CACT,OAAU,0CACd,EACA,SAAY,CACR,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,cAAiB,CACb,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,SAAY,CACR,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,QAAW,CACP,QAAW,qCACf,EACA,SAAY,CACR,QAAW,oCACf,CACJ,EACA,eAAkB,CACd,QAAW,CACP,QAAW,iCACX,MAAS,uCACT,OAAU,uCACd,EACA,SAAY,CACR,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,cAAiB,CACb,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,SAAY,CACR,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,QAAW,CACP,QAAW,kCACf,EACA,SAAY,CACR,QAAW,iCACf,CACJ,EACA,aAAgB,CACZ,QAAW,CACP,QAAW,8BACX,MAAS,oCACT,OAAU,oCACd,EACA,SAAY,CACR,QAAW,+BACX,MAAS,qCACT,OAAU,qCACd,EACA,cAAiB,CACb,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,SAAY,CACR,QAAW,+BACX,MAAS,qCACT,OAAU,qCACd,EACA,QAAW,CACP,QAAW,+BACf,EACA,SAAY,CACR,QAAW,8BACf,CACJ,EACA,WAAc,CACV,QAAW,CACP,QAAW,4BACX,MAAS,kCACT,OAAU,kCACd,EACA,SAAY,CACR,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,cAAiB,CACb,QAAW,sCACX,MAAS,4CACT,OAAU,4CACd,EACA,SAAY,CACR,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,QAAW,CACP,QAAW,6BACf,EACA,SAAY,CACR,QAAW,4BACf,CACJ,EACA,eAAkB,CACd,QAAW,CACP,QAAW,iCACX,MAAS,uCACT,OAAU,uCACd,EACA,SAAY,CACR,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,cAAiB,CACb,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,SAAY,CACR,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,QAAW,CACP,QAAW,kCACf,EACA,SAAY,CACR,QAAW,iCACf,CACJ,CACJ,EInpBI,UFL0B,CAC1B,WAAc,CACV,QAAW,CACP,KAAQ,CACJ,QAAW,iCACX,MAAS,uCACT,OAAU,uCACd,CACJ,EACA,IAAO,CACH,KAAQ,CACJ,QAAW,6BACX,MAAS,mCACT,OAAU,mCACd,EACA,WAAc,CACV,QAAW,oCACX,MAAS,0CACT,OAAU,0CACd,EACA,YAAe,CACX,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,qBAAwB,CACpB,QAAW,+CACX,MAAS,qDACT,OAAU,qDACd,EACA,cAAiB,CACb,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,cAAiB,CACb,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,YAAe,CACX,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,cAAiB,CACb,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,UAAa,CACT,QAAW,mCACX,MAAS,yCACT,OAAU,yCACd,EACA,YAAe,CACX,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,cAAiB,CACb,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,YAAe,CACX,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,UAAa,CACT,QAAW,mCACX,MAAS,yCACT,OAAU,yCACd,EACA,gBAAmB,CACf,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,EACA,eAAkB,CACd,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,kBAAqB,CACjB,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,eAAkB,CACd,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,EACA,aAAgB,CACZ,QAAW,sCACX,MAAS,4CACT,OAAU,4CACd,EACA,WAAc,CACV,QAAW,oCACX,MAAS,0CACT,OAAU,0CACd,EACA,eAAkB,CACd,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,CACJ,EACA,SAAY,CACR,KAAQ,CACJ,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,WAAc,CACV,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,EACA,YAAe,CACX,QAAW,0CACX,MAAS,gDACT,OAAU,gDACd,EACA,qBAAwB,CACpB,QAAW,oDACX,MAAS,0DACT,OAAU,0DACd,EACA,cAAiB,CACb,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,cAAiB,CACb,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,YAAe,CACX,QAAW,0CACX,MAAS,gDACT,OAAU,gDACd,EACA,cAAiB,CACb,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,UAAa,CACT,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,YAAe,CACX,QAAW,0CACX,MAAS,gDACT,OAAU,gDACd,EACA,cAAiB,CACb,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,YAAe,CACX,QAAW,0CACX,MAAS,gDACT,OAAU,gDACd,EACA,UAAa,CACT,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,gBAAmB,CACf,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,eAAkB,CACd,QAAW,6CACX,MAAS,mDACT,OAAU,mDACd,EACA,kBAAqB,CACjB,QAAW,iDACX,MAAS,uDACT,OAAU,uDACd,EACA,eAAkB,CACd,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,aAAgB,CACZ,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,WAAc,CACV,QAAW,yCACX,MAAS,+CACT,OAAU,+CACd,EACA,eAAkB,CACd,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,KAAQ,CACJ,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,QAAW,CACP,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,QAAW,CACP,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,MAAS,CACL,QAAW,mCACX,MAAS,yCACT,OAAU,yCACd,CACJ,EACA,KAAQ,CACJ,KAAQ,CACJ,QAAW,6BACf,EACA,WAAc,CACV,QAAW,oCACf,EACA,YAAe,CACX,QAAW,qCACf,EACA,qBAAwB,CACpB,QAAW,+CACf,EACA,cAAiB,CACb,QAAW,uCACf,EACA,cAAiB,CACb,QAAW,uCACf,EACA,YAAe,CACX,QAAW,qCACf,EACA,cAAiB,CACb,QAAW,uCACf,EACA,UAAa,CACT,QAAW,mCACf,EACA,YAAe,CACX,QAAW,qCACf,EACA,cAAiB,CACb,QAAW,uCACf,EACA,YAAe,CACX,QAAW,qCACf,EACA,UAAa,CACT,QAAW,mCACf,EACA,gBAAmB,CACf,QAAW,yCACf,EACA,eAAkB,CACd,QAAW,wCACf,EACA,kBAAqB,CACjB,QAAW,4CACf,EACA,eAAkB,CACd,QAAW,yCACf,EACA,aAAgB,CACZ,QAAW,sCACf,EACA,WAAc,CACV,QAAW,oCACf,EACA,eAAkB,CACd,QAAW,yCACf,EACA,KAAQ,CACJ,QAAW,6BACf,EACA,QAAW,CACP,QAAW,gCACf,EACA,QAAW,CACP,QAAW,gCACf,EACA,MAAS,CACL,QAAW,8BACf,CACJ,EACA,WAAc,CACV,WAAc,CACV,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,YAAe,CACX,QAAW,6CACX,MAAS,mDACT,OAAU,mDACd,EACA,qBAAwB,CACpB,QAAW,uDACX,MAAS,6DACT,OAAU,6DACd,EACA,cAAiB,CACb,QAAW,+CACX,MAAS,qDACT,OAAU,qDACd,EACA,cAAiB,CACb,QAAW,+CACX,MAAS,qDACT,OAAU,qDACd,EACA,YAAe,CACX,QAAW,6CACX,MAAS,mDACT,OAAU,mDACd,EACA,cAAiB,CACb,QAAW,+CACX,MAAS,qDACT,OAAU,qDACd,EACA,UAAa,CACT,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,YAAe,CACX,QAAW,6CACX,MAAS,mDACT,OAAU,mDACd,EACA,cAAiB,CACb,QAAW,+CACX,MAAS,qDACT,OAAU,qDACd,EACA,YAAe,CACX,QAAW,6CACX,MAAS,mDACT,OAAU,mDACd,EACA,UAAa,CACT,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,gBAAmB,CACf,QAAW,iDACX,MAAS,uDACT,OAAU,uDACd,EACA,eAAkB,CACd,QAAW,gDACX,MAAS,sDACT,OAAU,sDACd,EACA,kBAAqB,CACjB,QAAW,oDACX,MAAS,0DACT,OAAU,0DACd,EACA,eAAkB,CACd,QAAW,iDACX,MAAS,uDACT,OAAU,uDACd,EACA,aAAgB,CACZ,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,WAAc,CACV,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,eAAkB,CACd,QAAW,iDACX,MAAS,uDACT,OAAU,uDACd,EACA,KAAQ,CACJ,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,QAAW,CACP,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,QAAW,CACP,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,MAAS,CACL,QAAW,sCACX,MAAS,4CACT,OAAU,4CACd,CACJ,EACA,UAAa,CACT,WAAc,CACV,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,YAAe,CACX,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,qBAAwB,CACpB,QAAW,sDACX,MAAS,4DACT,OAAU,4DACd,EACA,cAAiB,CACb,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,cAAiB,CACb,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,YAAe,CACX,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,cAAiB,CACb,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,UAAa,CACT,QAAW,0CACX,MAAS,gDACT,OAAU,gDACd,EACA,YAAe,CACX,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,cAAiB,CACb,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,YAAe,CACX,QAAW,4CACX,MAAS,kDACT,OAAU,kDACd,EACA,UAAa,CACT,QAAW,0CACX,MAAS,gDACT,OAAU,gDACd,EACA,gBAAmB,CACf,QAAW,gDACX,MAAS,sDACT,OAAU,sDACd,EACA,eAAkB,CACd,QAAW,+CACX,MAAS,qDACT,OAAU,qDACd,EACA,kBAAqB,CACjB,QAAW,mDACX,MAAS,yDACT,OAAU,yDACd,EACA,eAAkB,CACd,QAAW,gDACX,MAAS,sDACT,OAAU,sDACd,EACA,aAAgB,CACZ,QAAW,6CACX,MAAS,mDACT,OAAU,mDACd,EACA,WAAc,CACV,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,eAAkB,CACd,QAAW,gDACX,MAAS,sDACT,OAAU,sDACd,CACJ,EACA,OAAU,CACN,WAAc,CACV,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,YAAe,CACX,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,CACJ,EACA,KAAQ,CACJ,WAAc,CACV,QA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A,eAAkB,CACd,QAAW,yCACf,EACA,kBAAqB,CACjB,QAAW,6CACf,EACA,eAAkB,CACd,QAAW,0CACf,EACA,aAAgB,CACZ,QAAW,uCACf,EACA,WAAc,CACV,QAAW,qCACf,EACA,eAAkB,CACd,QAAW,0CACf,CACJ,EACA,MAAS,CACL,KAAQ,CACJ,QAAW,wBACf,EACA,WAAc,CACV,QAAW,+BACf,EACA,YAAe,CACX,QAAW,gCACf,CACJ,EACA,MAAS,CACL,KAAQ,CACJ,QAAW,wBACf,EACA,WAAc,CACV,QAAW,+BACf,EACA,YAAe,CACX,QAAW,gCACf,EACA,qBAAwB,CACpB,QAAW,0CACf,EACA,cAAiB,CACb,QAAW,kCACf,EACA,cAAiB,CACb,QAAW,kCACf,EACA,YAAe,CACX,QAAW,gCACf,EACA,cAAiB,CACb,QAAW,kCACf,EACA,UAAa,CACT,QAAW,8BACf,EACA,YAAe,CACX,QAAW,gCACf,EACA,cAAiB,CACb,QAAW,kCACf,EACA,YAAe,CACX,QAAW,gCACf,EACA,UAAa,CACT,QAAW,8BACf,EACA,gBAAmB,CACf,QAAW,oCACf,EACA,eAAkB,CACd,QAAW,mCACf,EACA,kBAAqB,CACjB,QAAW,uCACf,EACA,eAAkB,CACd,QAAW,oCACf,EACA,aAAgB,CACZ,QAAW,iCACf,EACA,WAAc,CACV,QAAW,+BACf,EACA,eAAkB,CACd,QAAW,oCACf,CACJ,EACA,OAAU,CACN,KAAQ,CACJ,QAAW,yBACf,EACA,WAAc,CACV,QAAW,gCACf,EACA,YAAe,CACX,QAAW,iCACf,CACJ,EACA,QAAW,CACP,KAAQ,CACJ,QAAW,0BACf,CACJ,EACA,SAAY,CACR,KAAQ,CACJ,QAAW,2BACf,EACA,WAAc,CACV,QAAW,kCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,KAAQ,CACJ,QAAW,2BACf,EACA,QAAW,CACP,QAAW,8BACf,EACA,QAAW,CACP,QAAW,8BACf,EACA,MAAS,CACL,QAAW,4BACf,EACA,qBAAwB,CACpB,QAAW,6CACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,UAAa,CACT,QAAW,iCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,UAAa,CACT,QAAW,iCACf,EACA,gBAAmB,CACf,QAAW,uCACf,EACA,eAAkB,CACd,QAAW,sCACf,EACA,kBAAqB,CACjB,QAAW,0CACf,EACA,eAAkB,CACd,QAAW,uCACf,EACA,aAAgB,CACZ,QAAW,oCACf,EACA,WAAc,CACV,QAAW,kCACf,EACA,eAAkB,CACd,QAAW,uCACf,CACJ,EACA,SAAY,CACR,KAAQ,CACJ,QAAW,2BACf,CACJ,EACA,WAAc,CACV,KAAQ,CACJ,QAAW,8BACf,CACJ,CACJ,EACA,OAAU,CACN,QAAW,CACP,KAAQ,CACJ,QAAW,4BACf,EACA,WAAc,CACV,QAAW,mCACf,EACA,YAAe,CACX,QAAW,oCACf,EACA,qBAAwB,CACpB,QAAW,8CACf,EACA,cAAiB,CACb,QAAW,sCACf,EACA,cAAiB,CACb,QAAW,sCACf,EACA,YAAe,CACX,QAAW,oCACf,EACA,cAAiB,CACb,QAAW,sCACf,EACA,UAAa,CACT,QAAW,kCACf,EACA,YAAe,CACX,QAAW,oCACf,EACA,cAAiB,CACb,QAAW,sCACf,EACA,YAAe,CACX,QAAW,oCACf,EACA,UAAa,CACT,QAAW,kCACf,EACA,gBAAmB,CACf,QAAW,wCACf,EACA,eAAkB,CACd,QAAW,uCACf,EACA,kBAAqB,CACjB,QAAW,2CACf,EACA,eAAkB,CACd,QAAW,wCACf,EACA,aAAgB,CACZ,QAAW,qCACf,EACA,WAAc,CACV,QAAW,mCACf,EACA,eAAkB,CACd,QAAW,wCACf,CACJ,EACA,OAAU,CACN,WAAc,CACV,QAAW,kCACf,EACA,YAAe,CACX,QAAW,mCACf,CACJ,EACA,WAAc,CACV,KAAQ,CACJ,QAAW,gCACf,EACA,WAAc,CACV,QAAW,uCACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,KAAQ,CACJ,QAAW,gCACf,EACA,QAAW,CACP,QAAW,mCACf,EACA,QAAW,CACP,QAAW,mCACf,EACA,MAAS,CACL,QAAW,iCACf,CACJ,EACA,UAAa,CACT,WAAc,CACV,QAAW,sCACf,EACA,YAAe,CACX,QAAW,uCACf,EACA,qBAAwB,CACpB,QAAW,iDACf,EACA,cAAiB,CACb,QAAW,yCACf,EACA,cAAiB,CACb,QAAW,yCACf,EACA,YAAe,CACX,QAAW,uCACf,EACA,cAAiB,CACb,QAAW,yCACf,EACA,UAAa,CACT,QAAW,qCACf,EACA,YAAe,CACX,QAAW,uCACf,EACA,cAAiB,CACb,QAAW,yCACf,EACA,YAAe,CACX,QAAW,uCACf,EACA,UAAa,CACT,QAAW,qCACf,EACA,gBAAmB,CACf,QAAW,2CACf,EACA,eAAkB,CACd,QAAW,0CACf,EACA,kBAAqB,CACjB,QAAW,8CACf,EACA,eAAkB,CACd,QAAW,2CACf,EACA,aAAgB,CACZ,QAAW,wCACf,EACA,WAAc,CACV,QAAW,sCACf,EACA,eAAkB,CACd,QAAW,2CACf,CACJ,EACA,KAAQ,CACJ,WAAc,CACV,QAAW,gCACf,EACA,YAAe,CACX,QAAW,iCACf,CACJ,EACA,MAAS,CACL,KAAQ,CACJ,QAAW,0BACf,EACA,WAAc,CACV,QAAW,iCACf,EACA,YAAe,CACX,QAAW,kCACf,EACA,KAAQ,CACJ,QAAW,0BACf,EACA,QAAW,CACP,QAAW,6BACf,EACA,QAAW,CACP,QAAW,6BACf,EACA,MAAS,CACL,QAAW,2BACf,EACA,qBAAwB,CACpB,QAAW,4CACf,EACA,cAAiB,CACb,QAAW,oCACf,EACA,cAAiB,CACb,QAAW,oCACf,EACA,YAAe,CACX,QAAW,kCACf,EACA,cAAiB,CACb,QAAW,oCACf,EACA,UAAa,CACT,QAAW,gCACf,EACA,YAAe,CACX,QAAW,kCACf,EACA,cAAiB,CACb,QAAW,oCACf,EACA,YAAe,CACX,QAAW,kCACf,EACA,UAAa,CACT,QAAW,gCACf,EACA,gBAAmB,CACf,QAAW,sCACf,EACA,eAAkB,CACd,QAAW,qCACf,EACA,kBAAqB,CACjB,QAAW,yCACf,EACA,eAAkB,CACd,QAAW,sCACf,EACA,aAAgB,CACZ,QAAW,mCACf,EACA,WAAc,CACV,QAAW,iCACf,EACA,eAAkB,CACd,QAAW,sCACf,CACJ,EACA,SAAY,CACR,KAAQ,CACJ,QAAW,6BACf,CACJ,CACJ,EACA,QAAW,CACP,MAAS,CACL,WAAc,CACV,QAAW,mCACX,MAAS,yCACT,OAAU,yCACd,EACA,YAAe,CACX,QAAW,oCACX,MAAS,0CACT,OAAU,0CACd,EACA,qBAAwB,CACpB,QAAW,8CACX,MAAS,oDACT,OAAU,oDACd,EACA,cAAiB,CACb,QAAW,sCACX,MAAS,4CACT,OAAU,4CACd,EACA,cAAiB,CACb,QAAW,sCACX,MAAS,4CACT,OAAU,4CACd,EACA,YAAe,CACX,QAAW,oCACX,MAAS,0CACT,OAAU,0CACd,EACA,cAAiB,CACb,QAAW,sCACX,MAAS,4CACT,OAAU,4CACd,EACA,UAAa,CACT,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,YAAe,CACX,QAAW,oCACX,MAAS,0CACT,OAAU,0CACd,EACA,cAAiB,CACb,QAAW,sCACX,MAAS,4CACT,OAAU,4CACd,EACA,YAAe,CACX,QAAW,oCACX,MAAS,0CACT,OAAU,0CACd,EACA,UAAa,CACT,QAAW,kCACX,MAAS,wCACT,OAAU,wCACd,EACA,gBAAmB,CACf,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,eAAkB,CACd,QAAW,uCACX,MAAS,6CACT,OAAU,6CACd,EACA,kBAAqB,CACjB,QAAW,2CACX,MAAS,iDACT,OAAU,iDACd,EACA,eAAkB,CACd,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,EACA,aAAgB,CACZ,QAAW,qCACX,MAAS,2CACT,OAAU,2CACd,EACA,WAAc,CACV,QAAW,mCACX,MAAS,yCACT,OAAU,yCACd,EACA,eAAkB,CACd,QAAW,wCACX,MAAS,8CACT,OAAU,8CACd,CACJ,EACA,MAAS,CACL,WAAc,CACV,QAAW,kCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,qBAAwB,CACpB,QAAW,6CACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,UAAa,CACT,QAAW,iCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,UAAa,CACT,QAAW,iCACf,EACA,gBAAmB,CACf,QAAW,uCACf,EACA,eAAkB,CACd,QAAW,sCACf,EACA,kBAAqB,CACjB,QAAW,0CACf,EACA,eAAkB,CACd,QAAW,uCACf,EACA,aAAgB,CACZ,QAAW,oCACf,EACA,WAAc,CACV,QAAW,kCACf,EACA,eAAkB,CACd,QAAW,uCACf,CACJ,EACA,WAAc,CACV,KAAQ,CACJ,QAAW,gCACf,EACA,WAAc,CACV,QAAW,uCACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,qBAAwB,CACpB,QAAW,kDACf,EACA,cAAiB,CACb,QAAW,0CACf,EACA,cAAiB,CACb,QAAW,0CACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,cAAiB,CACb,QAAW,0CACf,EACA,UAAa,CACT,QAAW,sCACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,cAAiB,CACb,QAAW,0CACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,UAAa,CACT,QAAW,sCACf,EACA,gBAAmB,CACf,QAAW,4CACf,EACA,eAAkB,CACd,QAAW,2CACf,EACA,kBAAqB,CACjB,QAAW,+CACf,EACA,eAAkB,CACd,QAAW,4CACf,EACA,aAAgB,CACZ,QAAW,yCACf,EACA,WAAc,CACV,QAAW,uCACf,EACA,eAAkB,CACd,QAAW,4CACf,CACJ,EACA,WAAc,CACV,KAAQ,CACJ,QAAW,gCACf,EACA,WAAc,CACV,QAAW,uCACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,qBAAwB,CACpB,QAAW,kDACf,EACA,cAAiB,CACb,QAAW,0CACf,EACA,cAAiB,CACb,QAAW,0CACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,cAAiB,CACb,QAAW,0CACf,EACA,UAAa,CACT,QAAW,sCACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,cAAiB,CACb,QAAW,0CACf,EACA,YAAe,CACX,QAAW,wCACf,EACA,UAAa,CACT,QAAW,sCACf,EACA,gBAAmB,CACf,QAAW,4CACf,EACA,eAAkB,CACd,QAAW,2CACf,EACA,kBAAqB,CACjB,QAAW,+CACf,EACA,eAAkB,CACd,QAAW,4CACf,EACA,aAAgB,CACZ,QAAW,yCACf,EACA,WAAc,CACV,QAAW,uCACf,EACA,eAAkB,CACd,QAAW,4CACf,CACJ,EACA,MAAS,CACL,KAAQ,CACJ,QAAW,2BACf,EACA,WAAc,CACV,QAAW,kCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,qBAAwB,CACpB,QAAW,6CACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,UAAa,CACT,QAAW,iCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,cAAiB,CACb,QAAW,qCACf,EACA,YAAe,CACX,QAAW,mCACf,EACA,UAAa,CACT,QAAW,iCACf,EACA,gBAAmB,CACf,QAAW,uCACf,EACA,eAAkB,CACd,QAAW,sCACf,EACA,kBAAqB,CACjB,QAAW,0CACf,EACA,eAAkB,CACd,QAAW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,CACA","sources":["webpack://_N_E/./node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js","webpack://_N_E/./node_modules/stylis/src/Utility.js","webpack://_N_E/./node_modules/stylis/src/Tokenizer.js","webpack://_N_E/./node_modules/stylis/src/Enum.js","webpack://_N_E/./node_modules/stylis/src/Serializer.js","webpack://_N_E/./node_modules/stylis/src/Middleware.js","webpack://_N_E/./node_modules/stylis/src/Parser.js","webpack://_N_E/./node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js","webpack://_N_E/./node_modules/@emotion/hash/dist/emotion-hash.esm.js","webpack://_N_E/./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","webpack://_N_E/./node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js","webpack://_N_E/./node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js","webpack://_N_E/./node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","webpack://_N_E/./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js","webpack://_N_E/./node_modules/@mui/material/colors/red.js","webpack://_N_E/./node_modules/@mui/private-theming/useTheme/ThemeContext.js","webpack://_N_E/./node_modules/@mui/private-theming/useTheme/useTheme.js","webpack://_N_E/./node_modules/@mui/private-theming/ThemeProvider/nested.js","webpack://_N_E/./node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js","webpack://_N_E/./node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js","webpack://_N_E/./node_modules/@mui/material/styles/ThemeProvider.js","webpack://_N_E/./node_modules/@mui/material/styles/createMixins.js","webpack://_N_E/./node_modules/@mui/material/colors/common.js","webpack://_N_E/./node_modules/@mui/material/colors/grey.js","webpack://_N_E/./node_modules/@mui/material/colors/purple.js","webpack://_N_E/./node_modules/@mui/material/colors/orange.js","webpack://_N_E/./node_modules/@mui/material/colors/blue.js","webpack://_N_E/./node_modules/@mui/material/colors/lightBlue.js","webpack://_N_E/./node_modules/@mui/material/colors/green.js","webpack://_N_E/./node_modules/@mui/material/styles/createPalette.js","webpack://_N_E/./node_modules/@mui/material/styles/createTypography.js","webpack://_N_E/./node_modules/@mui/material/styles/shadows.js","webpack://_N_E/./node_modules/@mui/material/styles/zIndex.js","webpack://_N_E/./node_modules/@mui/material/styles/createTheme.js","webpack://_N_E/./node_modules/@mui/material/styles/createTransitions.js","webpack://_N_E/./node_modules/@mui/material/styles/identifier.js","webpack://_N_E/./node_modules/@mui/system/colorManipulator.js","webpack://_N_E/./node_modules/@mui/system/esm/RtlProvider/index.js","webpack://_N_E/./node_modules/@mui/system/esm/breakpoints.js","webpack://_N_E/./node_modules/@mui/system/esm/createTheme/applyStyles.js","webpack://_N_E/./node_modules/@mui/system/esm/createTheme/createBreakpoints.js","webpack://_N_E/./node_modules/@mui/system/esm/createTheme/shape.js","webpack://_N_E/./node_modules/@mui/system/esm/createTheme/createSpacing.js","webpack://_N_E/./node_modules/@mui/system/esm/createTheme/createTheme.js","webpack://_N_E/./node_modules/@mui/system/esm/merge.js","webpack://_N_E/./node_modules/@mui/system/esm/memoize.js","webpack://_N_E/./node_modules/@mui/system/esm/spacing.js","webpack://_N_E/./node_modules/@mui/system/esm/style.js","webpack://_N_E/./node_modules/@mui/system/esm/compose.js","webpack://_N_E/./node_modules/@mui/system/esm/borders.js","webpack://_N_E/./node_modules/@mui/system/esm/cssGrid.js","webpack://_N_E/./node_modules/@mui/system/esm/palette.js","webpack://_N_E/./node_modules/@mui/system/esm/sizing.js","webpack://_N_E/./node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js","webpack://_N_E/./node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js","webpack://_N_E/./node_modules/@mui/system/esm/useThemeWithoutDefault.js","webpack://_N_E/./node_modules/@mui/utils/capitalize/capitalize.js","webpack://_N_E/./node_modules/@mui/utils/clamp/clamp.js","webpack://_N_E/./node_modules/@mui/utils/clamp/index.js","webpack://_N_E/./node_modules/@mui/utils/deepmerge/deepmerge.js","webpack://_N_E/./node_modules/@mui/utils/formatMuiErrorMessage/formatMuiErrorMessage.js","webpack://_N_E/./node_modules/@mui/utils/formatMuiErrorMessage/index.js","webpack://_N_E/./node_modules/@sentry/core/esm/constants.js","webpack://_N_E/./node_modules/@sentry/core/esm/debug-build.js","webpack://_N_E/./node_modules/@sentry/core/esm/eventProcessors.js","webpack://_N_E/./node_modules/@sentry/core/esm/exports.js","webpack://_N_E/./node_modules/@sentry/core/esm/hub.js","webpack://_N_E/./node_modules/@sentry/core/esm/scope.js","webpack://_N_E/./node_modules/@sentry/core/esm/session.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/dynamicSamplingContext.js","webpack://_N_E/./node_modules/@sentry/core/esm/utils/applyScopeDataToEvent.js","webpack://_N_E/./node_modules/@sentry/core/esm/utils/getRootSpan.js","webpack://_N_E/./node_modules/@sentry/core/esm/utils/prepareEvent.js","webpack://_N_E/./node_modules/@sentry/core/esm/utils/spanUtils.js","webpack://_N_E/./node_modules/@sentry/core/esm/version.js","webpack://_N_E/./node_modules/@sentry/utils/esm/baggage.js","webpack://_N_E/./node_modules/@sentry/utils/esm/browser.js","webpack://_N_E/./node_modules/@sentry/utils/esm/debug-build.js","webpack://_N_E/./node_modules/@sentry/utils/esm/is.js","webpack://_N_E/./node_modules/@sentry/utils/esm/logger.js","webpack://_N_E/./node_modules/@sentry/utils/esm/misc.js","webpack://_N_E/./node_modules/@sentry/utils/esm/memo.js","webpack://_N_E/./node_modules/@sentry/utils/esm/normalize.js","webpack://_N_E/./node_modules/@sentry/utils/esm/object.js","webpack://_N_E/./node_modules/@sentry/utils/esm/stacktrace.js","webpack://_N_E/./node_modules/@sentry/utils/esm/string.js","webpack://_N_E/./node_modules/@sentry/utils/esm/syncpromise.js","webpack://_N_E/./node_modules/@sentry/utils/esm/time.js","webpack://_N_E/./node_modules/@sentry/utils/esm/tracing.js","webpack://_N_E/./node_modules/@sentry/utils/esm/worldwide.js","webpack://_N_E/./node_modules/@socialgouv/matomo-next/lib/index.js","webpack://_N_E/./node_modules/next/app.js","webpack://_N_E/?adc8","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Button.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/generatedFromCss/breakpoints.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/getBaseFontSizePx.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/breakpoints.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/generatedFromCss/spacing.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/generatedFromCss/typography.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/generatedFromCss/colorOptions.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/generatedFromCss/getColorOptionsHex.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/generatedFromCss/colorDecisions.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/generatedFromCss/getColorDecisionsHex.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/colors.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/spacing.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/cx.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/fr/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/i18n.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/link.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/useBreakpointsValuesPx.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/useBreakpointsValues.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/mui.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/cx.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/isBrowser.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/powerhooks/useConstCallback.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/useAnalyticsId.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/StatefulObservable/StatefulObservable.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/StatefulObservable/hooks/useObservable.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/StatefulObservable/hooks/useRerenderOnChange.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/StatefulObservable/hooks/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/StatefulObservable/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/useIsDark/client.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/useIsDark/constants.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/useIsDark/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/useIsDark/server.js","webpack://_N_E/./node_modules/@sentry/core/esm/utils/sdkMetadata.js","webpack://_N_E/./node_modules/@sentry/core/esm/utils/hasTracingEnabled.js","webpack://_N_E/./node_modules/@sentry/core/esm/integration.js","webpack://_N_E/./node_modules/@sentry/core/esm/integrations/functiontostring.js","webpack://_N_E/./node_modules/@sentry/core/esm/integrations/inboundfilters.js","webpack://_N_E/./node_modules/@sentry/utils/esm/aggregate-errors.js","webpack://_N_E/./node_modules/@sentry/utils/esm/eventbuilder.js","webpack://_N_E/./node_modules/@sentry/core/esm/integrations/linkederrors.js","webpack://_N_E/./node_modules/@sentry/core/esm/integrations/index.js","webpack://_N_E/./node_modules/@sentry/core/esm/index.js","webpack://_N_E/./node_modules/@sentry/browser/esm/helpers.js","webpack://_N_E/./node_modules/@sentry/utils/esm/instrument/_handlers.js","webpack://_N_E/./node_modules/@sentry/utils/esm/instrument/globalError.js","webpack://_N_E/./node_modules/@sentry/utils/esm/instrument/globalUnhandledRejection.js","webpack://_N_E/./node_modules/@sentry/browser/esm/debug-build.js","webpack://_N_E/./node_modules/@sentry/browser/esm/eventbuilder.js","webpack://_N_E/./node_modules/@sentry/browser/esm/integrations/globalhandlers.js","webpack://_N_E/./node_modules/@sentry/browser/esm/integrations/trycatch.js","webpack://_N_E/./node_modules/@sentry/utils/esm/instrument/console.js","webpack://_N_E/./node_modules/@sentry/utils/esm/instrument/dom.js","webpack://_N_E/./node_modules/@sentry/utils/esm/instrument/xhr.js","webpack://_N_E/./node_modules/@sentry/utils/esm/supports.js","webpack://_N_E/./node_modules/@sentry/utils/esm/instrument/fetch.js","webpack://_N_E/./node_modules/@sentry/utils/esm/vendor/supportsHistory.js","webpack://_N_E/./node_modules/@sentry/utils/esm/instrument/history.js","webpack://_N_E/./node_modules/@sentry/utils/esm/severity.js","webpack://_N_E/./node_modules/@sentry/utils/esm/url.js","webpack://_N_E/./node_modules/@sentry/browser/esm/integrations/breadcrumbs.js","webpack://_N_E/./node_modules/@sentry/browser/esm/integrations/linkederrors.js","webpack://_N_E/./node_modules/@sentry/browser/esm/integrations/httpcontext.js","webpack://_N_E/./node_modules/@sentry/browser/esm/integrations/dedupe.js","webpack://_N_E/./node_modules/@sentry/browser/esm/integrations/index.js","webpack://_N_E/./node_modules/@sentry/browser/esm/index.js","webpack://_N_E/./node_modules/@sentry/core/esm/sdk.js","webpack://_N_E/./node_modules/@sentry/utils/esm/dsn.js","webpack://_N_E/./node_modules/@sentry/utils/esm/envelope.js","webpack://_N_E/./node_modules/@sentry/utils/esm/error.js","webpack://_N_E/./node_modules/@sentry/core/esm/api.js","webpack://_N_E/./node_modules/@sentry/core/esm/envelope.js","webpack://_N_E/./node_modules/@sentry/core/esm/metrics/utils.js","webpack://_N_E/./node_modules/@sentry/core/esm/metrics/envelope.js","webpack://_N_E/./node_modules/@sentry/core/esm/baseclient.js","webpack://_N_E/./node_modules/@sentry/utils/esm/env.js","webpack://_N_E/./node_modules/@sentry/utils/esm/clientreport.js","webpack://_N_E/./node_modules/@sentry/browser/esm/userfeedback.js","webpack://_N_E/./node_modules/@sentry/browser/esm/client.js","webpack://_N_E/./node_modules/@sentry/browser/esm/stack-parsers.js","webpack://_N_E/./node_modules/@sentry/utils/esm/promisebuffer.js","webpack://_N_E/./node_modules/@sentry/utils/esm/ratelimit.js","webpack://_N_E/./node_modules/@sentry/core/esm/transports/base.js","webpack://_N_E/./node_modules/@sentry/browser/esm/transports/utils.js","webpack://_N_E/./node_modules/@sentry/browser/esm/transports/fetch.js","webpack://_N_E/./node_modules/@sentry/browser/esm/transports/xhr.js","webpack://_N_E/./node_modules/@sentry/browser/esm/sdk.js","webpack://_N_E/./node_modules/@sentry/react/esm/sdk.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/common/getVercelEnv.js","webpack://_N_E/./node_modules/@sentry/utils/esm/buildPolyfills/_optionalChain.js","webpack://_N_E/./node_modules/@sentry/core/esm/metrics/metric-summary.js","webpack://_N_E/./node_modules/@sentry/core/esm/semanticAttributes.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/spanstatus.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/span.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/trace.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/transaction.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/idletransaction.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/utils.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/errors.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/sampling.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/hubextensions.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/common/debug-build.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/types.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/backgroundtab.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/bindReporter.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/generateUniqueID.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/getNavigationEntry.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/getActivationStart.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/initMetric.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/observe.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/onHidden.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/getCLS.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/getFID.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/polyfills/interactionCountPolyfill.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/getINP.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/getLCP.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/onTTFB.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/instrument.js","webpack://_N_E/./node_modules/@sentry/core/esm/span.js","webpack://_N_E/./node_modules/@sentry/core/esm/tracing/measurement.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/metrics/utils.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/metrics/index.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/common/fetch.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/request.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/router.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/browsertracing.js","webpack://_N_E/./node_modules/@sentry-internal/tracing/esm/browser/browserTracingIntegration.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/client/routing/appRouterRoutingInstrumentation.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/common/debug-build.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/client/routing/pagesRouterRoutingInstrumentation.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/client/routing/nextRoutingInstrumentation.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/client/browserTracingIntegration.js","webpack://_N_E/./node_modules/@sentry/utils/esm/path.js","webpack://_N_E/./node_modules/@sentry/integrations/esm/rewriteframes.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/client/rewriteFramesIntegration.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/client/tunnelRoute.js","webpack://_N_E/./node_modules/@sentry/nextjs/esm/client/index.js","webpack://_N_E/./sentry.client.config.ts","webpack://_N_E/./node_modules/next/dist/client/components/action-async-storage.external.js","webpack://_N_E/./node_modules/next/dist/client/components/async-local-storage.js","webpack://_N_E/./node_modules/next/dist/client/components/client-hook-in-server-component-error.js","webpack://_N_E/./node_modules/next/dist/client/components/navigation.js","webpack://_N_E/./node_modules/next/dist/client/components/not-found.js","webpack://_N_E/./node_modules/next/dist/client/components/redirect-status-code.js","webpack://_N_E/./node_modules/next/dist/client/components/redirect.js","webpack://_N_E/./node_modules/next/dist/client/components/request-async-storage.external.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/router-reducer-types.js","webpack://_N_E/./node_modules/next/dist/client/get-domain-locale.js","webpack://_N_E/./node_modules/next/dist/client/link.js","webpack://_N_E/./node_modules/next/dist/client/use-intersection.js","webpack://_N_E/./node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js","webpack://_N_E/./node_modules/tss-react/esm/next/appDir.js","webpack://_N_E/./node_modules/tss-react/esm/tools/assert.js","webpack://_N_E/./node_modules/tss-react/esm/next/pagesDir.js","webpack://_N_E/./node_modules/tss-react/esm/next/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/useIsDark/scriptToRunAsap.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/next-appdir/zz_internal/fontUrlByFileBasename.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/dsfr/favicon/apple-touch-icon.png","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/dsfr/favicon/favicon.svg","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/dsfr/favicon/favicon.ico","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/getAssetUrl.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/Deferred.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/start.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/next-pagesdir.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/zz_internal/brandTopAndHomeLinkProps.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Footer.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/generateValidHtmlId.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/MainNavigation/Menu.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/MainNavigation/MegaMenu.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/MainNavigation/MainNavigation.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/MainNavigation/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/dsfr/artwork/light.svg","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/dsfr/artwork/dark.svg","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/dsfr/artwork/system.svg","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Modal/Modal.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Modal/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Display/Display.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/SearchBar/SearchBar.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/tools/observeInputValue.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/SearchBar/SearchButton.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Header/Header.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Header/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Display/index.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/SkipLinks.js","webpack://_N_E/./src/pages/_app.tsx","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/assets/dsfr_plus_icons.css","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/assets/search-bar.css","webpack://_N_E/./node_modules/next/head.js","webpack://_N_E/./node_modules/next/link.js","webpack://_N_E/./node_modules/next/navigation.js","webpack://_N_E/./node_modules/next/router.js","webpack://_N_E/./node_modules/process/browser.js","webpack://_N_E/./node_modules/tsafe/assert.js","webpack://_N_E/./node_modules/tsafe/capitalize.js","webpack://_N_E/./node_modules/tsafe/id.js","webpack://_N_E/./node_modules/tsafe/is.js","webpack://_N_E/./node_modules/tsafe/lab/overwriteReadonlyProp.js","webpack://_N_E/./node_modules/tsafe/objectKeys.js","webpack://_N_E/./node_modules/tsafe/symToStr.js","webpack://_N_E/./node_modules/tsafe/typeGuard.js","webpack://_N_E/./node_modules/tsafe/zz_internal/assertIsRefWrapper.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/extends.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://_N_E/"],"sourcesContent":["/*\n\nBased off glamor's StyleSheet, thanks Sunil ❤️\n\nhigh performance StyleSheet for css-in-js systems\n\n- uses multiple style tags behind the scenes for millions of rules\n- uses `insertRule` for appending in production for *much* faster performance\n\n// usage\n\nimport { StyleSheet } from '@emotion/sheet'\n\nlet styleSheet = new StyleSheet({ key: '', container: document.head })\n\nstyleSheet.insert('#box { border: 1px solid red; }')\n- appends a css rule into the stylesheet\n\nstyleSheet.flush()\n- empties the stylesheet of all its contents\n\n*/\n// $FlowFixMe\nfunction sheetForTag(tag) {\n if (tag.sheet) {\n // $FlowFixMe\n return tag.sheet;\n } // this weirdness brought to you by firefox\n\n /* istanbul ignore next */\n\n\n for (var i = 0; i < document.styleSheets.length; i++) {\n if (document.styleSheets[i].ownerNode === tag) {\n // $FlowFixMe\n return document.styleSheets[i];\n }\n }\n}\n\nfunction createStyleElement(options) {\n var tag = document.createElement('style');\n tag.setAttribute('data-emotion', options.key);\n\n if (options.nonce !== undefined) {\n tag.setAttribute('nonce', options.nonce);\n }\n\n tag.appendChild(document.createTextNode(''));\n tag.setAttribute('data-s', '');\n return tag;\n}\n\nvar StyleSheet = /*#__PURE__*/function () {\n // Using Node instead of HTMLElement since container may be a ShadowRoot\n function StyleSheet(options) {\n var _this = this;\n\n this._insertTag = function (tag) {\n var before;\n\n if (_this.tags.length === 0) {\n if (_this.insertionPoint) {\n before = _this.insertionPoint.nextSibling;\n } else if (_this.prepend) {\n before = _this.container.firstChild;\n } else {\n before = _this.before;\n }\n } else {\n before = _this.tags[_this.tags.length - 1].nextSibling;\n }\n\n _this.container.insertBefore(tag, before);\n\n _this.tags.push(tag);\n };\n\n this.isSpeedy = options.speedy === undefined ? process.env.NODE_ENV === 'production' : options.speedy;\n this.tags = [];\n this.ctr = 0;\n this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets\n\n this.key = options.key;\n this.container = options.container;\n this.prepend = options.prepend;\n this.insertionPoint = options.insertionPoint;\n this.before = null;\n }\n\n var _proto = StyleSheet.prototype;\n\n _proto.hydrate = function hydrate(nodes) {\n nodes.forEach(this._insertTag);\n };\n\n _proto.insert = function insert(rule) {\n // the max length is how many rules we have per style tag, it's 65000 in speedy mode\n // it's 1 in dev because we insert source maps that map a single rule to a location\n // and you can only have one source map per style tag\n if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {\n this._insertTag(createStyleElement(this));\n }\n\n var tag = this.tags[this.tags.length - 1];\n\n if (process.env.NODE_ENV !== 'production') {\n var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;\n\n if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {\n // this would only cause problem in speedy mode\n // but we don't want enabling speedy to affect the observable behavior\n // so we report this error at all times\n console.error(\"You're attempting to insert the following rule:\\n\" + rule + '\\n\\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.');\n }\n this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;\n }\n\n if (this.isSpeedy) {\n var sheet = sheetForTag(tag);\n\n try {\n // this is the ultrafast version, works across browsers\n // the big drawback is that the css won't be editable in devtools\n sheet.insertRule(rule, sheet.cssRules.length);\n } catch (e) {\n if (process.env.NODE_ENV !== 'production' && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(rule)) {\n console.error(\"There was a problem inserting the following rule: \\\"\" + rule + \"\\\"\", e);\n }\n }\n } else {\n tag.appendChild(document.createTextNode(rule));\n }\n\n this.ctr++;\n };\n\n _proto.flush = function flush() {\n // $FlowFixMe\n this.tags.forEach(function (tag) {\n return tag.parentNode && tag.parentNode.removeChild(tag);\n });\n this.tags = [];\n this.ctr = 0;\n\n if (process.env.NODE_ENV !== 'production') {\n this._alreadyInsertedOrderInsensitiveRule = false;\n }\n };\n\n return StyleSheet;\n}();\n\nexport { StyleSheet };\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @return {number}\n */\nexport function indexof (value, search) {\n\treturn value.indexOf(search)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: ''}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0), root, {length: -root.length}, props)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen, sizeof} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\tvar length = sizeof(children)\n\n\tfor (var i = 0; i < length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: element.value = element.props.join(',')\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine} from './Utility.js'\nimport {copy, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\treturn serialize([copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]})], callback)\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\treturn serialize([\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]})\n\t\t\t\t\t\t\t\t\t], callback)\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f') != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @return {object}\n */\nexport function comment (value, root, parent) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @return {object}\n */\nexport function declaration (value, root, parent, length) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length)\n}\n","import { StyleSheet } from '@emotion/sheet';\nimport { dealloc, alloc, next, token, from, peek, delimit, slice, position, RULESET, combine, match, serialize, copy, replace, WEBKIT, MOZ, MS, KEYFRAMES, DECLARATION, hash, charat, strlen, indexof, stringify, COMMENT, rulesheet, middleware, compile } from 'stylis';\nimport '@emotion/weak-memoize';\nimport '@emotion/memoize';\n\nvar identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {\n var previous = 0;\n var character = 0;\n\n while (true) {\n previous = character;\n character = peek(); // &\\f\n\n if (previous === 38 && character === 12) {\n points[index] = 1;\n }\n\n if (token(character)) {\n break;\n }\n\n next();\n }\n\n return slice(begin, position);\n};\n\nvar toRules = function toRules(parsed, points) {\n // pretend we've started with a comma\n var index = -1;\n var character = 44;\n\n do {\n switch (token(character)) {\n case 0:\n // &\\f\n if (character === 38 && peek() === 12) {\n // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings\n // stylis inserts \\f after & to know when & where it should replace this sequence with the context selector\n // and when it should just concatenate the outer and inner selectors\n // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here\n points[index] = 1;\n }\n\n parsed[index] += identifierWithPointTracking(position - 1, points, index);\n break;\n\n case 2:\n parsed[index] += delimit(character);\n break;\n\n case 4:\n // comma\n if (character === 44) {\n // colon\n parsed[++index] = peek() === 58 ? '&\\f' : '';\n points[index] = parsed[index].length;\n break;\n }\n\n // fallthrough\n\n default:\n parsed[index] += from(character);\n }\n } while (character = next());\n\n return parsed;\n};\n\nvar getRules = function getRules(value, points) {\n return dealloc(toRules(alloc(value), points));\n}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11\n\n\nvar fixedElements = /* #__PURE__ */new WeakMap();\nvar compat = function compat(element) {\n if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo\n // negative .length indicates that this rule has been already prefixed\n element.length < 1) {\n return;\n }\n\n var value = element.value,\n parent = element.parent;\n var isImplicitRule = element.column === parent.column && element.line === parent.line;\n\n while (parent.type !== 'rule') {\n parent = parent.parent;\n if (!parent) return;\n } // short-circuit for the simplest case\n\n\n if (element.props.length === 1 && value.charCodeAt(0) !== 58\n /* colon */\n && !fixedElements.get(parent)) {\n return;\n } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)\n // then the props has already been manipulated beforehand as they that array is shared between it and its \"rule parent\"\n\n\n if (isImplicitRule) {\n return;\n }\n\n fixedElements.set(element, true);\n var points = [];\n var rules = getRules(value, points);\n var parentRules = parent.props;\n\n for (var i = 0, k = 0; i < rules.length; i++) {\n for (var j = 0; j < parentRules.length; j++, k++) {\n element.props[k] = points[i] ? rules[i].replace(/&\\f/g, parentRules[j]) : parentRules[j] + \" \" + rules[i];\n }\n }\n};\nvar removeLabel = function removeLabel(element) {\n if (element.type === 'decl') {\n var value = element.value;\n\n if ( // charcode for l\n value.charCodeAt(0) === 108 && // charcode for b\n value.charCodeAt(2) === 98) {\n // this ignores label\n element[\"return\"] = '';\n element.value = '';\n }\n }\n};\nvar ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';\n\nvar isIgnoringComment = function isIgnoringComment(element) {\n return element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;\n};\n\nvar createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {\n return function (element, index, children) {\n if (element.type !== 'rule' || cache.compat) return;\n var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);\n\n if (unsafePseudoClasses) {\n var isNested = !!element.parent; // in nested rules comments become children of the \"auto-inserted\" rule and that's always the `element.parent`\n //\n // considering this input:\n // .a {\n // .b /* comm */ {}\n // color: hotpink;\n // }\n // we get output corresponding to this:\n // .a {\n // & {\n // /* comm */\n // color: hotpink;\n // }\n // .b {}\n // }\n\n var commentContainer = isNested ? element.parent.children : // global rule at the root level\n children;\n\n for (var i = commentContainer.length - 1; i >= 0; i--) {\n var node = commentContainer[i];\n\n if (node.line < element.line) {\n break;\n } // it is quite weird but comments are *usually* put at `column: element.column - 1`\n // so we seek *from the end* for the node that is earlier than the rule's `element` and check that\n // this will also match inputs like this:\n // .a {\n // /* comm */\n // .b {}\n // }\n //\n // but that is fine\n //\n // it would be the easiest to change the placement of the comment to be the first child of the rule:\n // .a {\n // .b { /* comm */ }\n // }\n // with such inputs we wouldn't have to search for the comment at all\n // TODO: consider changing this comment placement in the next major version\n\n\n if (node.column < element.column) {\n if (isIgnoringComment(node)) {\n return;\n }\n\n break;\n }\n }\n\n unsafePseudoClasses.forEach(function (unsafePseudoClass) {\n console.error(\"The pseudo class \\\"\" + unsafePseudoClass + \"\\\" is potentially unsafe when doing server-side rendering. Try changing it to \\\"\" + unsafePseudoClass.split('-child')[0] + \"-of-type\\\".\");\n });\n }\n };\n};\n\nvar isImportRule = function isImportRule(element) {\n return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;\n};\n\nvar isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {\n for (var i = index - 1; i >= 0; i--) {\n if (!isImportRule(children[i])) {\n return true;\n }\n }\n\n return false;\n}; // use this to remove incorrect elements from further processing\n// so they don't get handed to the `sheet` (or anything else)\n// as that could potentially lead to additional logs which in turn could be overhelming to the user\n\n\nvar nullifyElement = function nullifyElement(element) {\n element.type = '';\n element.value = '';\n element[\"return\"] = '';\n element.children = '';\n element.props = '';\n};\n\nvar incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {\n if (!isImportRule(element)) {\n return;\n }\n\n if (element.parent) {\n console.error(\"`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.\");\n nullifyElement(element);\n } else if (isPrependedWithRegularRules(index, children)) {\n console.error(\"`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.\");\n nullifyElement(element);\n }\n};\n\n/* eslint-disable no-fallthrough */\n\nfunction prefix(value, length) {\n switch (hash(value, length)) {\n // color-adjust\n case 5103:\n return WEBKIT + 'print-' + value + value;\n // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\n case 5737:\n case 4201:\n case 3177:\n case 3433:\n case 1641:\n case 4457:\n case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\n case 5572:\n case 6356:\n case 5844:\n case 3191:\n case 6645:\n case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\n case 6391:\n case 5879:\n case 5623:\n case 6135:\n case 4599:\n case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\n case 4215:\n case 6389:\n case 5109:\n case 5365:\n case 5621:\n case 3829:\n return WEBKIT + value + value;\n // appearance, user-select, transform, hyphens, text-size-adjust\n\n case 5349:\n case 4246:\n case 4810:\n case 6968:\n case 2756:\n return WEBKIT + value + MOZ + value + MS + value + value;\n // flex, flex-direction\n\n case 6828:\n case 4268:\n return WEBKIT + value + MS + value + value;\n // order\n\n case 6165:\n return WEBKIT + value + MS + 'flex-' + value + value;\n // align-items\n\n case 5187:\n return WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;\n // align-self\n\n case 5443:\n return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;\n // align-content\n\n case 4675:\n return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;\n // flex-shrink\n\n case 5548:\n return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;\n // flex-basis\n\n case 5292:\n return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;\n // flex-grow\n\n case 6060:\n return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;\n // transition\n\n case 4554:\n return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;\n // cursor\n\n case 6187:\n return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;\n // background, background-image\n\n case 5495:\n case 3959:\n return replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1');\n // justify-content\n\n case 4968:\n return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;\n // (margin|padding)-inline-(start|end)\n\n case 4095:\n case 3583:\n case 4068:\n case 2532:\n return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;\n // (min|max)?(width|height|inline-size|block-size)\n\n case 8116:\n case 7059:\n case 5753:\n case 5535:\n case 5445:\n case 5701:\n case 4933:\n case 4677:\n case 5533:\n case 5789:\n case 5021:\n case 4765:\n // stretch, max-content, min-content, fill-available\n if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {\n // (m)ax-content, (m)in-content\n case 109:\n // -\n if (charat(value, length + 4) !== 45) break;\n // (f)ill-available, (f)it-content\n\n case 102:\n return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;\n // (s)tretch\n\n case 115:\n return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;\n }\n break;\n // position: sticky\n\n case 4949:\n // (s)ticky?\n if (charat(value, length + 1) !== 115) break;\n // display: (flex|inline-flex)\n\n case 6444:\n switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {\n // stic(k)y\n case 107:\n return replace(value, ':', ':' + WEBKIT) + value;\n // (inline-)?fl(e)x\n\n case 101:\n return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;\n }\n\n break;\n // writing-mode\n\n case 5936:\n switch (charat(value, length + 11)) {\n // vertical-l(r)\n case 114:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value;\n // vertical-r(l)\n\n case 108:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value;\n // horizontal(-)tb\n\n case 45:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value;\n }\n\n return WEBKIT + value + MS + value + value;\n }\n\n return value;\n}\n\nvar prefixer = function prefixer(element, index, children, callback) {\n if (element.length > -1) if (!element[\"return\"]) switch (element.type) {\n case DECLARATION:\n element[\"return\"] = prefix(element.value, element.length);\n break;\n\n case KEYFRAMES:\n return serialize([copy(element, {\n value: replace(element.value, '@', '@' + WEBKIT)\n })], callback);\n\n case RULESET:\n if (element.length) return combine(element.props, function (value) {\n switch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n // :read-(only|write)\n case ':read-only':\n case ':read-write':\n return serialize([copy(element, {\n props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]\n })], callback);\n // :placeholder\n\n case '::placeholder':\n return serialize([copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]\n })], callback);\n }\n\n return '';\n });\n }\n};\n\nvar defaultStylisPlugins = [prefixer];\n\nvar createCache = function createCache(options) {\n var key = options.key;\n\n if (process.env.NODE_ENV !== 'production' && !key) {\n throw new Error(\"You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\\n\" + \"If multiple caches share the same key they might \\\"fight\\\" for each other's style elements.\");\n }\n\n if (key === 'css') {\n var ssrStyles = document.querySelectorAll(\"style[data-emotion]:not([data-s])\"); // get SSRed styles out of the way of React's hydration\n // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)\n // note this very very intentionally targets all style elements regardless of the key to ensure\n // that creating a cache works inside of render of a React component\n\n Array.prototype.forEach.call(ssrStyles, function (node) {\n // we want to only move elements which have a space in the data-emotion attribute value\n // because that indicates that it is an Emotion 11 server-side rendered style elements\n // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector\n // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)\n // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles\n // will not result in the Emotion 10 styles being destroyed\n var dataEmotionAttribute = node.getAttribute('data-emotion');\n\n if (dataEmotionAttribute.indexOf(' ') === -1) {\n return;\n }\n document.head.appendChild(node);\n node.setAttribute('data-s', '');\n });\n }\n\n var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe\n if (/[^a-z-]/.test(key)) {\n throw new Error(\"Emotion key must only contain lower case alphabetical characters and - but \\\"\" + key + \"\\\" was passed\");\n }\n }\n\n var inserted = {};\n var container;\n var nodesToHydrate = [];\n\n {\n container = options.container || document.head;\n Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which\n // means that the style elements we're looking at are only Emotion 11 server-rendered style elements\n document.querySelectorAll(\"style[data-emotion^=\\\"\" + key + \" \\\"]\"), function (node) {\n var attrib = node.getAttribute(\"data-emotion\").split(' '); // $FlowFixMe\n\n for (var i = 1; i < attrib.length; i++) {\n inserted[attrib[i]] = true;\n }\n\n nodesToHydrate.push(node);\n });\n }\n\n var _insert;\n\n var omnipresentPlugins = [compat, removeLabel];\n\n if (process.env.NODE_ENV !== 'production') {\n omnipresentPlugins.push(createUnsafeSelectorsAlarm({\n get compat() {\n return cache.compat;\n }\n\n }), incorrectImportAlarm);\n }\n\n {\n var currentSheet;\n var finalizingPlugins = [stringify, process.env.NODE_ENV !== 'production' ? function (element) {\n if (!element.root) {\n if (element[\"return\"]) {\n currentSheet.insert(element[\"return\"]);\n } else if (element.value && element.type !== COMMENT) {\n // insert empty rule in non-production environments\n // so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet\n currentSheet.insert(element.value + \"{}\");\n }\n }\n } : rulesheet(function (rule) {\n currentSheet.insert(rule);\n })];\n var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));\n\n var stylis = function stylis(styles) {\n return serialize(compile(styles), serializer);\n };\n\n _insert = function insert(selector, serialized, sheet, shouldCache) {\n currentSheet = sheet;\n\n if (process.env.NODE_ENV !== 'production' && serialized.map !== undefined) {\n currentSheet = {\n insert: function insert(rule) {\n sheet.insert(rule + serialized.map);\n }\n };\n }\n\n stylis(selector ? selector + \"{\" + serialized.styles + \"}\" : serialized.styles);\n\n if (shouldCache) {\n cache.inserted[serialized.name] = true;\n }\n };\n }\n\n var cache = {\n key: key,\n sheet: new StyleSheet({\n key: key,\n container: container,\n nonce: options.nonce,\n speedy: options.speedy,\n prepend: options.prepend,\n insertionPoint: options.insertionPoint\n }),\n nonce: options.nonce,\n inserted: inserted,\n registered: {},\n insert: _insert\n };\n cache.sheet.hydrate(nodesToHydrate);\n return cache;\n};\n\nexport { createCache as default };\n","/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\nfunction murmur2(str) {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n // const m = 0x5bd1e995;\n // const r = 24;\n // Initialize the hash\n var h = 0; // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length;\n\n for (; len >= 4; ++i, len -= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);\n k ^=\n /* k >>> r: */\n k >>> 24;\n h =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Handle the last few bytes of the input array\n\n\n switch (len) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n\n h ^= h >>> 13;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n return ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\nexport { murmur2 as default };\n","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","import * as React from 'react';\nimport { useContext, forwardRef } from 'react';\nimport createCache from '@emotion/cache';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport weakMemoize from '@emotion/weak-memoize';\nimport hoistNonReactStatics from '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport { getRegisteredStyles, registerStyles, insertStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\nimport { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\n\nvar isBrowser = \"object\" !== 'undefined';\nvar hasOwn = {}.hasOwnProperty;\n\nvar EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case\n// because this module is primarily intended for the browser and node\n// but it's also required in react native and similar environments sometimes\n// and we could have a special build just for that\n// but this is much easier and the native packages\n// might use a different theme context in the future anyway\ntypeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({\n key: 'css'\n}) : null);\n\nif (process.env.NODE_ENV !== 'production') {\n EmotionCacheContext.displayName = 'EmotionCacheContext';\n}\n\nvar CacheProvider = EmotionCacheContext.Provider;\nvar __unsafe_useEmotionCache = function useEmotionCache() {\n return useContext(EmotionCacheContext);\n};\n\nvar withEmotionCache = function withEmotionCache(func) {\n // $FlowFixMe\n return /*#__PURE__*/forwardRef(function (props, ref) {\n // the cache will never be null in the browser\n var cache = useContext(EmotionCacheContext);\n return func(props, cache, ref);\n });\n};\n\nif (!isBrowser) {\n withEmotionCache = function withEmotionCache(func) {\n return function (props) {\n var cache = useContext(EmotionCacheContext);\n\n if (cache === null) {\n // yes, we're potentially creating this on every render\n // it doesn't actually matter though since it's only on the server\n // so there will only every be a single render\n // that could change in the future because of suspense and etc. but for now,\n // this works and i don't want to optimise for a future thing that we aren't sure about\n cache = createCache({\n key: 'css'\n });\n return /*#__PURE__*/React.createElement(EmotionCacheContext.Provider, {\n value: cache\n }, func(props, cache));\n } else {\n return func(props, cache);\n }\n };\n };\n}\n\nvar ThemeContext = /* #__PURE__ */React.createContext({});\n\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'EmotionThemeContext';\n}\n\nvar useTheme = function useTheme() {\n return React.useContext(ThemeContext);\n};\n\nvar getTheme = function getTheme(outerTheme, theme) {\n if (typeof theme === 'function') {\n var mergedTheme = theme(outerTheme);\n\n if (process.env.NODE_ENV !== 'production' && (mergedTheme == null || typeof mergedTheme !== 'object' || Array.isArray(mergedTheme))) {\n throw new Error('[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!');\n }\n\n return mergedTheme;\n }\n\n if (process.env.NODE_ENV !== 'production' && (theme == null || typeof theme !== 'object' || Array.isArray(theme))) {\n throw new Error('[ThemeProvider] Please make your theme prop a plain object');\n }\n\n return _extends({}, outerTheme, theme);\n};\n\nvar createCacheWithTheme = /* #__PURE__ */weakMemoize(function (outerTheme) {\n return weakMemoize(function (theme) {\n return getTheme(outerTheme, theme);\n });\n});\nvar ThemeProvider = function ThemeProvider(props) {\n var theme = React.useContext(ThemeContext);\n\n if (props.theme !== theme) {\n theme = createCacheWithTheme(theme)(props.theme);\n }\n\n return /*#__PURE__*/React.createElement(ThemeContext.Provider, {\n value: theme\n }, props.children);\n};\nfunction withTheme(Component) {\n var componentName = Component.displayName || Component.name || 'Component';\n\n var render = function render(props, ref) {\n var theme = React.useContext(ThemeContext);\n return /*#__PURE__*/React.createElement(Component, _extends({\n theme: theme,\n ref: ref\n }, props));\n }; // $FlowFixMe\n\n\n var WithTheme = /*#__PURE__*/React.forwardRef(render);\n WithTheme.displayName = \"WithTheme(\" + componentName + \")\";\n return hoistNonReactStatics(WithTheme, Component);\n}\n\nvar getLastPart = function getLastPart(functionName) {\n // The match may be something like 'Object.createEmotionProps' or\n // 'Loader.prototype.render'\n var parts = functionName.split('.');\n return parts[parts.length - 1];\n};\n\nvar getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {\n // V8\n var match = /^\\s+at\\s+([A-Za-z0-9$.]+)\\s/.exec(line);\n if (match) return getLastPart(match[1]); // Safari / Firefox\n\n match = /^([A-Za-z0-9$.]+)@/.exec(line);\n if (match) return getLastPart(match[1]);\n return undefined;\n};\n\nvar internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS\n// identifiers, thus we only need to replace what is a valid character for JS,\n// but not for CSS.\n\nvar sanitizeIdentifier = function sanitizeIdentifier(identifier) {\n return identifier.replace(/\\$/g, '-');\n};\n\nvar getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {\n if (!stackTrace) return undefined;\n var lines = stackTrace.split('\\n');\n\n for (var i = 0; i < lines.length; i++) {\n var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just \"Error\"\n\n if (!functionName) continue; // If we reach one of these, we have gone too far and should quit\n\n if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an\n // uppercase letter\n\n if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);\n }\n\n return undefined;\n};\n\nvar typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';\nvar labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';\nvar createEmotionProps = function createEmotionProps(type, props) {\n if (process.env.NODE_ENV !== 'production' && typeof props.css === 'string' && // check if there is a css declaration\n props.css.indexOf(':') !== -1) {\n throw new Error(\"Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`\" + props.css + \"`\");\n }\n\n var newProps = {};\n\n for (var key in props) {\n if (hasOwn.call(props, key)) {\n newProps[key] = props[key];\n }\n }\n\n newProps[typePropName] = type; // For performance, only call getLabelFromStackTrace in development and when\n // the label hasn't already been computed\n\n if (process.env.NODE_ENV !== 'production' && !!props.css && (typeof props.css !== 'object' || typeof props.css.name !== 'string' || props.css.name.indexOf('-') === -1)) {\n var label = getLabelFromStackTrace(new Error().stack);\n if (label) newProps[labelPropName] = label;\n }\n\n return newProps;\n};\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serialized = _ref.serialized,\n isStringTag = _ref.isStringTag;\n registerStyles(cache, serialized, isStringTag);\n useInsertionEffectAlwaysWithSyncFallback(function () {\n return insertStyles(cache, serialized, isStringTag);\n });\n\n return null;\n};\n\nvar Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {\n var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works\n // not passing the registered cache to serializeStyles because it would\n // make certain babel optimisations not possible\n\n if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {\n cssProp = cache.registered[cssProp];\n }\n\n var WrappedComponent = props[typePropName];\n var registeredStyles = [cssProp];\n var className = '';\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(cache.registered, registeredStyles, props.className);\n } else if (props.className != null) {\n className = props.className + \" \";\n }\n\n var serialized = serializeStyles(registeredStyles, undefined, React.useContext(ThemeContext));\n\n if (process.env.NODE_ENV !== 'production' && serialized.name.indexOf('-') === -1) {\n var labelFromStack = props[labelPropName];\n\n if (labelFromStack) {\n serialized = serializeStyles([serialized, 'label:' + labelFromStack + ';']);\n }\n }\n\n className += cache.key + \"-\" + serialized.name;\n var newProps = {};\n\n for (var key in props) {\n if (hasOwn.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {\n newProps[key] = props[key];\n }\n }\n\n newProps.ref = ref;\n newProps.className = className;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serialized: serialized,\n isStringTag: typeof WrappedComponent === 'string'\n }), /*#__PURE__*/React.createElement(WrappedComponent, newProps));\n});\n\nif (process.env.NODE_ENV !== 'production') {\n Emotion.displayName = 'EmotionCssPropInternal';\n}\n\nvar Emotion$1 = Emotion;\n\nexport { CacheProvider as C, Emotion$1 as E, ThemeContext as T, __unsafe_useEmotionCache as _, ThemeProvider as a, withTheme as b, createEmotionProps as c, hasOwn as h, isBrowser as i, useTheme as u, withEmotionCache as w };\n","import hashString from '@emotion/hash';\nimport unitless from '@emotion/unitless';\nimport memoize from '@emotion/memoize';\n\nvar ILLEGAL_ESCAPE_SEQUENCE_ERROR = \"You have illegal escape sequence in your template literal, most likely inside content's property value.\\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \\\"content: '\\\\00d7';\\\" should become \\\"content: '\\\\\\\\00d7';\\\".\\nYou can read more about this here:\\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences\";\nvar UNDEFINED_AS_OBJECT_KEY_ERROR = \"You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).\";\nvar hyphenateRegex = /[A-Z]|^ms/g;\nvar animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;\n\nvar isCustomProperty = function isCustomProperty(property) {\n return property.charCodeAt(1) === 45;\n};\n\nvar isProcessableValue = function isProcessableValue(value) {\n return value != null && typeof value !== 'boolean';\n};\n\nvar processStyleName = /* #__PURE__ */memoize(function (styleName) {\n return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();\n});\n\nvar processStyleValue = function processStyleValue(key, value) {\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n if (typeof value === 'string') {\n return value.replace(animationRegex, function (match, p1, p2) {\n cursor = {\n name: p1,\n styles: p2,\n next: cursor\n };\n return p1;\n });\n }\n }\n }\n\n if (unitless[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {\n return value + 'px';\n }\n\n return value;\n};\n\nif (process.env.NODE_ENV !== 'production') {\n var contentValuePattern = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\\(|(no-)?(open|close)-quote/;\n var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];\n var oldProcessStyleValue = processStyleValue;\n var msPattern = /^-ms-/;\n var hyphenPattern = /-(.)/g;\n var hyphenatedCache = {};\n\n processStyleValue = function processStyleValue(key, value) {\n if (key === 'content') {\n if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '\"' && value.charAt(0) !== \"'\")) {\n throw new Error(\"You seem to be using a value for 'content' without quotes, try replacing it with `content: '\\\"\" + value + \"\\\"'`\");\n }\n }\n\n var processed = oldProcessStyleValue(key, value);\n\n if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {\n hyphenatedCache[key] = true;\n console.error(\"Using kebab-case for css properties in objects is not supported. Did you mean \" + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {\n return _char.toUpperCase();\n }) + \"?\");\n }\n\n return processed;\n };\n}\n\nvar noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';\n\nfunction handleInterpolation(mergedProps, registered, interpolation) {\n if (interpolation == null) {\n return '';\n }\n\n if (interpolation.__emotion_styles !== undefined) {\n if (process.env.NODE_ENV !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {\n throw new Error(noComponentSelectorMessage);\n }\n\n return interpolation;\n }\n\n switch (typeof interpolation) {\n case 'boolean':\n {\n return '';\n }\n\n case 'object':\n {\n if (interpolation.anim === 1) {\n cursor = {\n name: interpolation.name,\n styles: interpolation.styles,\n next: cursor\n };\n return interpolation.name;\n }\n\n if (interpolation.styles !== undefined) {\n var next = interpolation.next;\n\n if (next !== undefined) {\n // not the most efficient thing ever but this is a pretty rare case\n // and there will be very few iterations of this generally\n while (next !== undefined) {\n cursor = {\n name: next.name,\n styles: next.styles,\n next: cursor\n };\n next = next.next;\n }\n }\n\n var styles = interpolation.styles + \";\";\n\n if (process.env.NODE_ENV !== 'production' && interpolation.map !== undefined) {\n styles += interpolation.map;\n }\n\n return styles;\n }\n\n return createStringFromObject(mergedProps, registered, interpolation);\n }\n\n case 'function':\n {\n if (mergedProps !== undefined) {\n var previousCursor = cursor;\n var result = interpolation(mergedProps);\n cursor = previousCursor;\n return handleInterpolation(mergedProps, registered, result);\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Functions that are interpolated in css calls will be stringified.\\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\\n' + 'It can be called directly with props or interpolated in a styled call like this\\n' + \"let SomeComponent = styled('div')`${dynamicStyle}`\");\n }\n\n break;\n }\n\n case 'string':\n if (process.env.NODE_ENV !== 'production') {\n var matched = [];\n var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {\n var fakeVarName = \"animation\" + matched.length;\n matched.push(\"const \" + fakeVarName + \" = keyframes`\" + p2.replace(/^@keyframes animation-\\w+/, '') + \"`\");\n return \"${\" + fakeVarName + \"}\";\n });\n\n if (matched.length) {\n console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\\n\\n' + 'Instead of doing this:\\n\\n' + [].concat(matched, [\"`\" + replaced + \"`\"]).join('\\n') + '\\n\\nYou should wrap it with `css` like this:\\n\\n' + (\"css`\" + replaced + \"`\"));\n }\n }\n\n break;\n } // finalize string values (regular strings and functions interpolated into css calls)\n\n\n if (registered == null) {\n return interpolation;\n }\n\n var cached = registered[interpolation];\n return cached !== undefined ? cached : interpolation;\n}\n\nfunction createStringFromObject(mergedProps, registered, obj) {\n var string = '';\n\n if (Array.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n string += handleInterpolation(mergedProps, registered, obj[i]) + \";\";\n }\n } else {\n for (var _key in obj) {\n var value = obj[_key];\n\n if (typeof value !== 'object') {\n if (registered != null && registered[value] !== undefined) {\n string += _key + \"{\" + registered[value] + \"}\";\n } else if (isProcessableValue(value)) {\n string += processStyleName(_key) + \":\" + processStyleValue(_key, value) + \";\";\n }\n } else {\n if (_key === 'NO_COMPONENT_SELECTOR' && process.env.NODE_ENV !== 'production') {\n throw new Error(noComponentSelectorMessage);\n }\n\n if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {\n for (var _i = 0; _i < value.length; _i++) {\n if (isProcessableValue(value[_i])) {\n string += processStyleName(_key) + \":\" + processStyleValue(_key, value[_i]) + \";\";\n }\n }\n } else {\n var interpolated = handleInterpolation(mergedProps, registered, value);\n\n switch (_key) {\n case 'animation':\n case 'animationName':\n {\n string += processStyleName(_key) + \":\" + interpolated + \";\";\n break;\n }\n\n default:\n {\n if (process.env.NODE_ENV !== 'production' && _key === 'undefined') {\n console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);\n }\n\n string += _key + \"{\" + interpolated + \"}\";\n }\n }\n }\n }\n }\n }\n\n return string;\n}\n\nvar labelPattern = /label:\\s*([^\\s;\\n{]+)\\s*(;|$)/g;\nvar sourceMapPattern;\n\nif (process.env.NODE_ENV !== 'production') {\n sourceMapPattern = /\\/\\*#\\ssourceMappingURL=data:application\\/json;\\S+\\s+\\*\\//g;\n} // this is the cursor for keyframes\n// keyframes are stored on the SerializedStyles object as a linked list\n\n\nvar cursor;\nvar serializeStyles = function serializeStyles(args, registered, mergedProps) {\n if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {\n return args[0];\n }\n\n var stringMode = true;\n var styles = '';\n cursor = undefined;\n var strings = args[0];\n\n if (strings == null || strings.raw === undefined) {\n stringMode = false;\n styles += handleInterpolation(mergedProps, registered, strings);\n } else {\n if (process.env.NODE_ENV !== 'production' && strings[0] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);\n }\n\n styles += strings[0];\n } // we start at 1 since we've already handled the first arg\n\n\n for (var i = 1; i < args.length; i++) {\n styles += handleInterpolation(mergedProps, registered, args[i]);\n\n if (stringMode) {\n if (process.env.NODE_ENV !== 'production' && strings[i] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);\n }\n\n styles += strings[i];\n }\n }\n\n var sourceMap;\n\n if (process.env.NODE_ENV !== 'production') {\n styles = styles.replace(sourceMapPattern, function (match) {\n sourceMap = match;\n return '';\n });\n } // using a global regex with .exec is stateful so lastIndex has to be reset each time\n\n\n labelPattern.lastIndex = 0;\n var identifierName = '';\n var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5\n\n while ((match = labelPattern.exec(styles)) !== null) {\n identifierName += '-' + // $FlowFixMe we know it's not null\n match[1];\n }\n\n var name = hashString(styles) + identifierName;\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)\n return {\n name: name,\n styles: styles,\n map: sourceMap,\n next: cursor,\n toString: function toString() {\n return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\";\n }\n };\n }\n\n return {\n name: name,\n styles: styles,\n next: cursor\n };\n};\n\nexport { serializeStyles };\n","var unitlessKeys = {\n animationIterationCount: 1,\n aspectRatio: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","import * as React from 'react';\n\nvar syncFallback = function syncFallback(create) {\n return create();\n};\n\nvar useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : false;\nvar useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;\nvar useInsertionEffectWithLayoutFallback = useInsertionEffect || React.useLayoutEffect;\n\nexport { useInsertionEffectAlwaysWithSyncFallback, useInsertionEffectWithLayoutFallback };\n","const red = {\n 50: '#ffebee',\n 100: '#ffcdd2',\n 200: '#ef9a9a',\n 300: '#e57373',\n 400: '#ef5350',\n 500: '#f44336',\n 600: '#e53935',\n 700: '#d32f2f',\n 800: '#c62828',\n 900: '#b71c1c',\n A100: '#ff8a80',\n A200: '#ff5252',\n A400: '#ff1744',\n A700: '#d50000'\n};\nexport default red;","import * as React from 'react';\nconst ThemeContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'ThemeContext';\n}\nexport default ThemeContext;","import * as React from 'react';\nimport ThemeContext from './ThemeContext';\nexport default function useTheme() {\n const theme = React.useContext(ThemeContext);\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n return theme;\n}","const hasSymbol = typeof Symbol === 'function' && Symbol.for;\nexport default hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__';","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { exactProp } from '@mui/utils';\nimport ThemeContext from '../useTheme/ThemeContext';\nimport useTheme from '../useTheme';\nimport nested from './nested';\n\n// To support composition of theme.\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction mergeOuterLocalTheme(outerTheme, localTheme) {\n if (typeof localTheme === 'function') {\n const mergedTheme = localTheme(outerTheme);\n if (process.env.NODE_ENV !== 'production') {\n if (!mergedTheme) {\n console.error(['MUI: You should return an object from your theme function, i.e.', ' ({})} />'].join('\\n'));\n }\n }\n return mergedTheme;\n }\n return _extends({}, outerTheme, localTheme);\n}\n\n/**\n * This component takes a `theme` prop.\n * It makes the `theme` available down the React tree thanks to React context.\n * This component should preferably be used at **the root of your component tree**.\n */\nfunction ThemeProvider(props) {\n const {\n children,\n theme: localTheme\n } = props;\n const outerTheme = useTheme();\n if (process.env.NODE_ENV !== 'production') {\n if (outerTheme === null && typeof localTheme === 'function') {\n console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', ' outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n const theme = React.useMemo(() => {\n const output = outerTheme === null ? localTheme : mergeOuterLocalTheme(outerTheme, localTheme);\n if (output != null) {\n output[nested] = outerTheme !== null;\n }\n return output;\n }, [localTheme, outerTheme]);\n return /*#__PURE__*/_jsx(ThemeContext.Provider, {\n value: theme,\n children: children\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = {\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\nexport default ThemeProvider;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { ThemeProvider as MuiThemeProvider, useTheme as usePrivateTheme } from '@mui/private-theming';\nimport exactProp from '@mui/utils/exactProp';\nimport { ThemeContext as StyledEngineThemeContext } from '@mui/styled-engine';\nimport useThemeWithoutDefault from '../useThemeWithoutDefault';\nimport RtlProvider from '../RtlProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst EMPTY_THEME = {};\nfunction useThemeScoping(themeId, upperTheme, localTheme, isPrivate = false) {\n return React.useMemo(() => {\n const resolvedTheme = themeId ? upperTheme[themeId] || upperTheme : upperTheme;\n if (typeof localTheme === 'function') {\n const mergedTheme = localTheme(resolvedTheme);\n const result = themeId ? _extends({}, upperTheme, {\n [themeId]: mergedTheme\n }) : mergedTheme;\n // must return a function for the private theme to NOT merge with the upper theme.\n // see the test case \"use provided theme from a callback\" in ThemeProvider.test.js\n if (isPrivate) {\n return () => result;\n }\n return result;\n }\n return themeId ? _extends({}, upperTheme, {\n [themeId]: localTheme\n }) : _extends({}, upperTheme, localTheme);\n }, [themeId, upperTheme, localTheme, isPrivate]);\n}\n\n/**\n * This component makes the `theme` available down the React tree.\n * It should preferably be used at **the root of your component tree**.\n *\n * // existing use case\n * // theme scoping\n */\nfunction ThemeProvider(props) {\n const {\n children,\n theme: localTheme,\n themeId\n } = props;\n const upperTheme = useThemeWithoutDefault(EMPTY_THEME);\n const upperPrivateTheme = usePrivateTheme() || EMPTY_THEME;\n if (process.env.NODE_ENV !== 'production') {\n if (upperTheme === null && typeof localTheme === 'function' || themeId && upperTheme && !upperTheme[themeId] && typeof localTheme === 'function') {\n console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', ' outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n const engineTheme = useThemeScoping(themeId, upperTheme, localTheme);\n const privateTheme = useThemeScoping(themeId, upperPrivateTheme, localTheme, true);\n const rtlValue = engineTheme.direction === 'rtl';\n return /*#__PURE__*/_jsx(MuiThemeProvider, {\n theme: privateTheme,\n children: /*#__PURE__*/_jsx(StyledEngineThemeContext.Provider, {\n value: engineTheme,\n children: /*#__PURE__*/_jsx(RtlProvider, {\n value: rtlValue,\n children: children\n })\n })\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.func, PropTypes.object]).isRequired,\n /**\n * The design system's unique id for getting the corresponded theme when there are multiple design systems.\n */\n themeId: PropTypes.string\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\nexport default ThemeProvider;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"theme\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { ThemeProvider as SystemThemeProvider } from '@mui/system';\nimport THEME_ID from './identifier';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function ThemeProvider(_ref) {\n let {\n theme: themeInput\n } = _ref,\n props = _objectWithoutPropertiesLoose(_ref, _excluded);\n const scopedTheme = themeInput[THEME_ID];\n return /*#__PURE__*/_jsx(SystemThemeProvider, _extends({}, props, {\n themeId: scopedTheme ? THEME_ID : undefined,\n theme: scopedTheme || themeInput\n }));\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = {\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired\n} : void 0;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nexport default function createMixins(breakpoints, mixins) {\n return _extends({\n toolbar: {\n minHeight: 56,\n [breakpoints.up('xs')]: {\n '@media (orientation: landscape)': {\n minHeight: 48\n }\n },\n [breakpoints.up('sm')]: {\n minHeight: 64\n }\n }\n }, mixins);\n}","const common = {\n black: '#000',\n white: '#fff'\n};\nexport default common;","const grey = {\n 50: '#fafafa',\n 100: '#f5f5f5',\n 200: '#eeeeee',\n 300: '#e0e0e0',\n 400: '#bdbdbd',\n 500: '#9e9e9e',\n 600: '#757575',\n 700: '#616161',\n 800: '#424242',\n 900: '#212121',\n A100: '#f5f5f5',\n A200: '#eeeeee',\n A400: '#bdbdbd',\n A700: '#616161'\n};\nexport default grey;","const purple = {\n 50: '#f3e5f5',\n 100: '#e1bee7',\n 200: '#ce93d8',\n 300: '#ba68c8',\n 400: '#ab47bc',\n 500: '#9c27b0',\n 600: '#8e24aa',\n 700: '#7b1fa2',\n 800: '#6a1b9a',\n 900: '#4a148c',\n A100: '#ea80fc',\n A200: '#e040fb',\n A400: '#d500f9',\n A700: '#aa00ff'\n};\nexport default purple;","const orange = {\n 50: '#fff3e0',\n 100: '#ffe0b2',\n 200: '#ffcc80',\n 300: '#ffb74d',\n 400: '#ffa726',\n 500: '#ff9800',\n 600: '#fb8c00',\n 700: '#f57c00',\n 800: '#ef6c00',\n 900: '#e65100',\n A100: '#ffd180',\n A200: '#ffab40',\n A400: '#ff9100',\n A700: '#ff6d00'\n};\nexport default orange;","const blue = {\n 50: '#e3f2fd',\n 100: '#bbdefb',\n 200: '#90caf9',\n 300: '#64b5f6',\n 400: '#42a5f5',\n 500: '#2196f3',\n 600: '#1e88e5',\n 700: '#1976d2',\n 800: '#1565c0',\n 900: '#0d47a1',\n A100: '#82b1ff',\n A200: '#448aff',\n A400: '#2979ff',\n A700: '#2962ff'\n};\nexport default blue;","const lightBlue = {\n 50: '#e1f5fe',\n 100: '#b3e5fc',\n 200: '#81d4fa',\n 300: '#4fc3f7',\n 400: '#29b6f6',\n 500: '#03a9f4',\n 600: '#039be5',\n 700: '#0288d1',\n 800: '#0277bd',\n 900: '#01579b',\n A100: '#80d8ff',\n A200: '#40c4ff',\n A400: '#00b0ff',\n A700: '#0091ea'\n};\nexport default lightBlue;","const green = {\n 50: '#e8f5e9',\n 100: '#c8e6c9',\n 200: '#a5d6a7',\n 300: '#81c784',\n 400: '#66bb6a',\n 500: '#4caf50',\n 600: '#43a047',\n 700: '#388e3c',\n 800: '#2e7d32',\n 900: '#1b5e20',\n A100: '#b9f6ca',\n A200: '#69f0ae',\n A400: '#00e676',\n A700: '#00c853'\n};\nexport default green;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nconst _excluded = [\"mode\", \"contrastThreshold\", \"tonalOffset\"];\nimport deepmerge from '@mui/utils/deepmerge';\nimport { darken, getContrastRatio, lighten } from '@mui/system/colorManipulator';\nimport common from '../colors/common';\nimport grey from '../colors/grey';\nimport purple from '../colors/purple';\nimport red from '../colors/red';\nimport orange from '../colors/orange';\nimport blue from '../colors/blue';\nimport lightBlue from '../colors/lightBlue';\nimport green from '../colors/green';\nexport const light = {\n // The colors used to style the text.\n text: {\n // The most important text.\n primary: 'rgba(0, 0, 0, 0.87)',\n // Secondary text.\n secondary: 'rgba(0, 0, 0, 0.6)',\n // Disabled text have even lower visual prominence.\n disabled: 'rgba(0, 0, 0, 0.38)'\n },\n // The color used to divide different elements.\n divider: 'rgba(0, 0, 0, 0.12)',\n // The background colors used to style the surfaces.\n // Consistency between these values is important.\n background: {\n paper: common.white,\n default: common.white\n },\n // The colors used to style the action elements.\n action: {\n // The color of an active action like an icon button.\n active: 'rgba(0, 0, 0, 0.54)',\n // The color of an hovered action.\n hover: 'rgba(0, 0, 0, 0.04)',\n hoverOpacity: 0.04,\n // The color of a selected action.\n selected: 'rgba(0, 0, 0, 0.08)',\n selectedOpacity: 0.08,\n // The color of a disabled action.\n disabled: 'rgba(0, 0, 0, 0.26)',\n // The background color of a disabled action.\n disabledBackground: 'rgba(0, 0, 0, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(0, 0, 0, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.12\n }\n};\nexport const dark = {\n text: {\n primary: common.white,\n secondary: 'rgba(255, 255, 255, 0.7)',\n disabled: 'rgba(255, 255, 255, 0.5)',\n icon: 'rgba(255, 255, 255, 0.5)'\n },\n divider: 'rgba(255, 255, 255, 0.12)',\n background: {\n paper: '#121212',\n default: '#121212'\n },\n action: {\n active: common.white,\n hover: 'rgba(255, 255, 255, 0.08)',\n hoverOpacity: 0.08,\n selected: 'rgba(255, 255, 255, 0.16)',\n selectedOpacity: 0.16,\n disabled: 'rgba(255, 255, 255, 0.3)',\n disabledBackground: 'rgba(255, 255, 255, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(255, 255, 255, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.24\n }\n};\nfunction addLightOrDark(intent, direction, shade, tonalOffset) {\n const tonalOffsetLight = tonalOffset.light || tonalOffset;\n const tonalOffsetDark = tonalOffset.dark || tonalOffset * 1.5;\n if (!intent[direction]) {\n if (intent.hasOwnProperty(shade)) {\n intent[direction] = intent[shade];\n } else if (direction === 'light') {\n intent.light = lighten(intent.main, tonalOffsetLight);\n } else if (direction === 'dark') {\n intent.dark = darken(intent.main, tonalOffsetDark);\n }\n }\n}\nfunction getDefaultPrimary(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: blue[200],\n light: blue[50],\n dark: blue[400]\n };\n }\n return {\n main: blue[700],\n light: blue[400],\n dark: blue[800]\n };\n}\nfunction getDefaultSecondary(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: purple[200],\n light: purple[50],\n dark: purple[400]\n };\n }\n return {\n main: purple[500],\n light: purple[300],\n dark: purple[700]\n };\n}\nfunction getDefaultError(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: red[500],\n light: red[300],\n dark: red[700]\n };\n }\n return {\n main: red[700],\n light: red[400],\n dark: red[800]\n };\n}\nfunction getDefaultInfo(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: lightBlue[400],\n light: lightBlue[300],\n dark: lightBlue[700]\n };\n }\n return {\n main: lightBlue[700],\n light: lightBlue[500],\n dark: lightBlue[900]\n };\n}\nfunction getDefaultSuccess(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: green[400],\n light: green[300],\n dark: green[700]\n };\n }\n return {\n main: green[800],\n light: green[500],\n dark: green[900]\n };\n}\nfunction getDefaultWarning(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: orange[400],\n light: orange[300],\n dark: orange[700]\n };\n }\n return {\n main: '#ed6c02',\n // closest to orange[800] that pass 3:1.\n light: orange[500],\n dark: orange[900]\n };\n}\nexport default function createPalette(palette) {\n const {\n mode = 'light',\n contrastThreshold = 3,\n tonalOffset = 0.2\n } = palette,\n other = _objectWithoutPropertiesLoose(palette, _excluded);\n const primary = palette.primary || getDefaultPrimary(mode);\n const secondary = palette.secondary || getDefaultSecondary(mode);\n const error = palette.error || getDefaultError(mode);\n const info = palette.info || getDefaultInfo(mode);\n const success = palette.success || getDefaultSuccess(mode);\n const warning = palette.warning || getDefaultWarning(mode);\n\n // Use the same logic as\n // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59\n // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54\n function getContrastText(background) {\n const contrastText = getContrastRatio(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;\n if (process.env.NODE_ENV !== 'production') {\n const contrast = getContrastRatio(background, contrastText);\n if (contrast < 3) {\n console.error([`MUI: The contrast ratio of ${contrast}:1 for ${contrastText} on ${background}`, 'falls below the WCAG recommended absolute minimum contrast ratio of 3:1.', 'https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast'].join('\\n'));\n }\n }\n return contrastText;\n }\n const augmentColor = ({\n color,\n name,\n mainShade = 500,\n lightShade = 300,\n darkShade = 700\n }) => {\n color = _extends({}, color);\n if (!color.main && color[mainShade]) {\n color.main = color[mainShade];\n }\n if (!color.hasOwnProperty('main')) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.\nThe color object needs to have a \\`main\\` property or a \\`${mainShade}\\` property.` : _formatMuiErrorMessage(11, name ? ` (${name})` : '', mainShade));\n }\n if (typeof color.main !== 'string') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.\n\\`color.main\\` should be a string, but \\`${JSON.stringify(color.main)}\\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from \"@mui/material/colors\";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });` : _formatMuiErrorMessage(12, name ? ` (${name})` : '', JSON.stringify(color.main)));\n }\n addLightOrDark(color, 'light', lightShade, tonalOffset);\n addLightOrDark(color, 'dark', darkShade, tonalOffset);\n if (!color.contrastText) {\n color.contrastText = getContrastText(color.main);\n }\n return color;\n };\n const modes = {\n dark,\n light\n };\n if (process.env.NODE_ENV !== 'production') {\n if (!modes[mode]) {\n console.error(`MUI: The palette mode \\`${mode}\\` is not supported.`);\n }\n }\n const paletteOutput = deepmerge(_extends({\n // A collection of common colors.\n common: _extends({}, common),\n // prevent mutable object.\n // The palette mode, can be light or dark.\n mode,\n // The colors used to represent primary interface elements for a user.\n primary: augmentColor({\n color: primary,\n name: 'primary'\n }),\n // The colors used to represent secondary interface elements for a user.\n secondary: augmentColor({\n color: secondary,\n name: 'secondary',\n mainShade: 'A400',\n lightShade: 'A200',\n darkShade: 'A700'\n }),\n // The colors used to represent interface elements that the user should be made aware of.\n error: augmentColor({\n color: error,\n name: 'error'\n }),\n // The colors used to represent potentially dangerous actions or important messages.\n warning: augmentColor({\n color: warning,\n name: 'warning'\n }),\n // The colors used to present information to the user that is neutral and not necessarily important.\n info: augmentColor({\n color: info,\n name: 'info'\n }),\n // The colors used to indicate the successful completion of an action that user triggered.\n success: augmentColor({\n color: success,\n name: 'success'\n }),\n // The grey colors.\n grey,\n // Used by `getContrastText()` to maximize the contrast between\n // the background and the text.\n contrastThreshold,\n // Takes a background color and returns the text color that maximizes the contrast.\n getContrastText,\n // Generate a rich color object.\n augmentColor,\n // Used by the functions below to shift a color's luminance by approximately\n // two indexes within its tonal palette.\n // E.g., shift from Red 500 to Red 300 or Red 700.\n tonalOffset\n }, modes[mode]), other);\n return paletteOutput;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"fontFamily\", \"fontSize\", \"fontWeightLight\", \"fontWeightRegular\", \"fontWeightMedium\", \"fontWeightBold\", \"htmlFontSize\", \"allVariants\", \"pxToRem\"];\nimport deepmerge from '@mui/utils/deepmerge';\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\nconst caseAllCaps = {\n textTransform: 'uppercase'\n};\nconst defaultFontFamily = '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif';\n\n/**\n * @see @link{https://m2.material.io/design/typography/the-type-system.html}\n * @see @link{https://m2.material.io/design/typography/understanding-typography.html}\n */\nexport default function createTypography(palette, typography) {\n const _ref = typeof typography === 'function' ? typography(palette) : typography,\n {\n fontFamily = defaultFontFamily,\n // The default font size of the Material Specification.\n fontSize = 14,\n // px\n fontWeightLight = 300,\n fontWeightRegular = 400,\n fontWeightMedium = 500,\n fontWeightBold = 700,\n // Tell MUI what's the font-size on the html element.\n // 16px is the default font-size used by browsers.\n htmlFontSize = 16,\n // Apply the CSS properties to all the variants.\n allVariants,\n pxToRem: pxToRem2\n } = _ref,\n other = _objectWithoutPropertiesLoose(_ref, _excluded);\n if (process.env.NODE_ENV !== 'production') {\n if (typeof fontSize !== 'number') {\n console.error('MUI: `fontSize` is required to be a number.');\n }\n if (typeof htmlFontSize !== 'number') {\n console.error('MUI: `htmlFontSize` is required to be a number.');\n }\n }\n const coef = fontSize / 14;\n const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);\n const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends({\n fontFamily,\n fontWeight,\n fontSize: pxToRem(size),\n // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/\n lineHeight\n }, fontFamily === defaultFontFamily ? {\n letterSpacing: `${round(letterSpacing / size)}em`\n } : {}, casing, allVariants);\n const variants = {\n h1: buildVariant(fontWeightLight, 96, 1.167, -1.5),\n h2: buildVariant(fontWeightLight, 60, 1.2, -0.5),\n h3: buildVariant(fontWeightRegular, 48, 1.167, 0),\n h4: buildVariant(fontWeightRegular, 34, 1.235, 0.25),\n h5: buildVariant(fontWeightRegular, 24, 1.334, 0),\n h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),\n subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),\n subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),\n body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),\n body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),\n button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),\n caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),\n overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps),\n // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.\n inherit: {\n fontFamily: 'inherit',\n fontWeight: 'inherit',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n letterSpacing: 'inherit'\n }\n };\n return deepmerge(_extends({\n htmlFontSize,\n pxToRem,\n fontFamily,\n fontSize,\n fontWeightLight,\n fontWeightRegular,\n fontWeightMedium,\n fontWeightBold\n }, variants), other, {\n clone: false // No need to clone deep\n });\n}","const shadowKeyUmbraOpacity = 0.2;\nconst shadowKeyPenumbraOpacity = 0.14;\nconst shadowAmbientShadowOpacity = 0.12;\nfunction createShadow(...px) {\n return [`${px[0]}px ${px[1]}px ${px[2]}px ${px[3]}px rgba(0,0,0,${shadowKeyUmbraOpacity})`, `${px[4]}px ${px[5]}px ${px[6]}px ${px[7]}px rgba(0,0,0,${shadowKeyPenumbraOpacity})`, `${px[8]}px ${px[9]}px ${px[10]}px ${px[11]}px rgba(0,0,0,${shadowAmbientShadowOpacity})`].join(',');\n}\n\n// Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss\nconst shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];\nexport default shadows;","// We need to centralize the zIndex definitions as they work\n// like global values in the browser.\nconst zIndex = {\n mobileStepper: 1000,\n fab: 1050,\n speedDial: 1050,\n appBar: 1100,\n drawer: 1200,\n modal: 1300,\n snackbar: 1400,\n tooltip: 1500\n};\nexport default zIndex;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nconst _excluded = [\"breakpoints\", \"mixins\", \"spacing\", \"palette\", \"transitions\", \"typography\", \"shape\"];\nimport deepmerge from '@mui/utils/deepmerge';\nimport styleFunctionSx, { unstable_defaultSxConfig as defaultSxConfig } from '@mui/system/styleFunctionSx';\nimport systemCreateTheme from '@mui/system/createTheme';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport createMixins from './createMixins';\nimport createPalette from './createPalette';\nimport createTypography from './createTypography';\nimport shadows from './shadows';\nimport createTransitions from './createTransitions';\nimport zIndex from './zIndex';\nfunction createTheme(options = {}, ...args) {\n const {\n mixins: mixinsInput = {},\n palette: paletteInput = {},\n transitions: transitionsInput = {},\n typography: typographyInput = {}\n } = options,\n other = _objectWithoutPropertiesLoose(options, _excluded);\n if (options.vars) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: \\`vars\\` is a private field used for CSS variables support.\nPlease use another name.` : _formatMuiErrorMessage(18));\n }\n const palette = createPalette(paletteInput);\n const systemTheme = systemCreateTheme(options);\n let muiTheme = deepmerge(systemTheme, {\n mixins: createMixins(systemTheme.breakpoints, mixinsInput),\n palette,\n // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.\n shadows: shadows.slice(),\n typography: createTypography(palette, typographyInput),\n transitions: createTransitions(transitionsInput),\n zIndex: _extends({}, zIndex)\n });\n muiTheme = deepmerge(muiTheme, other);\n muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);\n if (process.env.NODE_ENV !== 'production') {\n // TODO v6: Refactor to use globalStateClassesMapping from @mui/utils once `readOnly` state class is used in Rating component.\n const stateClasses = ['active', 'checked', 'completed', 'disabled', 'error', 'expanded', 'focused', 'focusVisible', 'required', 'selected'];\n const traverse = (node, component) => {\n let key;\n\n // eslint-disable-next-line guard-for-in, no-restricted-syntax\n for (key in node) {\n const child = node[key];\n if (stateClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {\n if (process.env.NODE_ENV !== 'production') {\n const stateClass = generateUtilityClass('', key);\n console.error([`MUI: The \\`${component}\\` component increases ` + `the CSS specificity of the \\`${key}\\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({\n root: {\n [`&.${stateClass}`]: child\n }\n }, null, 2), '', 'https://mui.com/r/state-classes-guide'].join('\\n'));\n }\n // Remove the style to prevent global conflicts.\n node[key] = {};\n }\n }\n };\n Object.keys(muiTheme.components).forEach(component => {\n const styleOverrides = muiTheme.components[component].styleOverrides;\n if (styleOverrides && component.indexOf('Mui') === 0) {\n traverse(styleOverrides, component);\n }\n });\n }\n muiTheme.unstable_sxConfig = _extends({}, defaultSxConfig, other == null ? void 0 : other.unstable_sxConfig);\n muiTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n return muiTheme;\n}\nlet warnedOnce = false;\nexport function createMuiTheme(...args) {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnedOnce) {\n warnedOnce = true;\n console.error(['MUI: the createMuiTheme function was renamed to createTheme.', '', \"You should use `import { createTheme } from '@mui/material/styles'`\"].join('\\n'));\n }\n }\n return createTheme(...args);\n}\nexport default createTheme;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"duration\", \"easing\", \"delay\"];\n// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves\n// to learn the context in which each easing should be used.\nexport const easing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'\n};\n\n// Follow https://m2.material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations\n// to learn when use what timing\nexport const duration = {\n shortest: 150,\n shorter: 200,\n short: 250,\n // most basic recommended timing\n standard: 300,\n // this is to be used in complex animations\n complex: 375,\n // recommended when something is entering screen\n enteringScreen: 225,\n // recommended when something is leaving screen\n leavingScreen: 195\n};\nfunction formatMs(milliseconds) {\n return `${Math.round(milliseconds)}ms`;\n}\nfunction getAutoHeightDuration(height) {\n if (!height) {\n return 0;\n }\n const constant = height / 36;\n\n // https://www.wolframalpha.com/input/?i=(4+%2B+15+*+(x+%2F+36+)+**+0.25+%2B+(x+%2F+36)+%2F+5)+*+10\n return Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10);\n}\nexport default function createTransitions(inputTransitions) {\n const mergedEasing = _extends({}, easing, inputTransitions.easing);\n const mergedDuration = _extends({}, duration, inputTransitions.duration);\n const create = (props = ['all'], options = {}) => {\n const {\n duration: durationOption = mergedDuration.standard,\n easing: easingOption = mergedEasing.easeInOut,\n delay = 0\n } = options,\n other = _objectWithoutPropertiesLoose(options, _excluded);\n if (process.env.NODE_ENV !== 'production') {\n const isString = value => typeof value === 'string';\n // IE11 support, replace with Number.isNaN\n // eslint-disable-next-line no-restricted-globals\n const isNumber = value => !isNaN(parseFloat(value));\n if (!isString(props) && !Array.isArray(props)) {\n console.error('MUI: Argument \"props\" must be a string or Array.');\n }\n if (!isNumber(durationOption) && !isString(durationOption)) {\n console.error(`MUI: Argument \"duration\" must be a number or a string but found ${durationOption}.`);\n }\n if (!isString(easingOption)) {\n console.error('MUI: Argument \"easing\" must be a string.');\n }\n if (!isNumber(delay) && !isString(delay)) {\n console.error('MUI: Argument \"delay\" must be a number or a string.');\n }\n if (typeof options !== 'object') {\n console.error(['MUI: Secong argument of transition.create must be an object.', \"Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`\"].join('\\n'));\n }\n if (Object.keys(other).length !== 0) {\n console.error(`MUI: Unrecognized argument(s) [${Object.keys(other).join(',')}].`);\n }\n }\n return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');\n };\n return _extends({\n getAutoHeightDuration,\n create\n }, inputTransitions, {\n easing: mergedEasing,\n duration: mergedDuration\n });\n}","export default '$$material';","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.alpha = alpha;\nexports.blend = blend;\nexports.colorChannel = void 0;\nexports.darken = darken;\nexports.decomposeColor = decomposeColor;\nexports.emphasize = emphasize;\nexports.getContrastRatio = getContrastRatio;\nexports.getLuminance = getLuminance;\nexports.hexToRgb = hexToRgb;\nexports.hslToRgb = hslToRgb;\nexports.lighten = lighten;\nexports.private_safeAlpha = private_safeAlpha;\nexports.private_safeColorChannel = void 0;\nexports.private_safeDarken = private_safeDarken;\nexports.private_safeEmphasize = private_safeEmphasize;\nexports.private_safeLighten = private_safeLighten;\nexports.recomposeColor = recomposeColor;\nexports.rgbToHex = rgbToHex;\nvar _formatMuiErrorMessage2 = _interopRequireDefault(require(\"@mui/utils/formatMuiErrorMessage\"));\nvar _clamp = _interopRequireDefault(require(\"@mui/utils/clamp\"));\n/* eslint-disable @typescript-eslint/naming-convention */\n\n/**\n * Returns a number whose value is limited to the given range.\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clampWrapper(value, min = 0, max = 1) {\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);\n }\n }\n return (0, _clamp.default)(value, min, max);\n}\n\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\nfunction hexToRgb(color) {\n color = color.slice(1);\n const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');\n let colors = color.match(re);\n if (colors && colors[0].length === 1) {\n colors = colors.map(n => n + n);\n }\n return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {\n return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;\n }).join(', ')})` : '';\n}\nfunction intToHex(int) {\n const hex = int.toString(16);\n return hex.length === 1 ? `0${hex}` : hex;\n}\n\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\nfunction decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n const marker = color.indexOf('(');\n const type = color.substring(0, marker);\n if (['rgb', 'rgba', 'hsl', 'hsla', 'color'].indexOf(type) === -1) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: Unsupported \\`${color}\\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : (0, _formatMuiErrorMessage2.default)(9, color));\n }\n let values = color.substring(marker + 1, color.length - 1);\n let colorSpace;\n if (type === 'color') {\n values = values.split(' ');\n colorSpace = values.shift();\n if (values.length === 4 && values[3].charAt(0) === '/') {\n values[3] = values[3].slice(1);\n }\n if (['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].indexOf(colorSpace) === -1) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: unsupported \\`${colorSpace}\\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : (0, _formatMuiErrorMessage2.default)(10, colorSpace));\n }\n } else {\n values = values.split(',');\n }\n values = values.map(value => parseFloat(value));\n return {\n type,\n values,\n colorSpace\n };\n}\n\n/**\n * Returns a channel created from the input color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {string} - The channel for the color, that can be used in rgba or hsla colors\n */\nconst colorChannel = color => {\n const decomposedColor = decomposeColor(color);\n return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.indexOf('hsl') !== -1 && idx !== 0 ? `${val}%` : val).join(' ');\n};\nexports.colorChannel = colorChannel;\nconst private_safeColorChannel = (color, warning) => {\n try {\n return colorChannel(color);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n};\n\n/**\n * Converts a color object with type and values to a string.\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\nexports.private_safeColorChannel = private_safeColorChannel;\nfunction recomposeColor(color) {\n const {\n type,\n colorSpace\n } = color;\n let {\n values\n } = color;\n if (type.indexOf('rgb') !== -1) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);\n } else if (type.indexOf('hsl') !== -1) {\n values[1] = `${values[1]}%`;\n values[2] = `${values[2]}%`;\n }\n if (type.indexOf('color') !== -1) {\n values = `${colorSpace} ${values.join(' ')}`;\n } else {\n values = `${values.join(', ')}`;\n }\n return `${type}(${values})`;\n}\n\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\nfunction rgbToHex(color) {\n // Idempotent\n if (color.indexOf('#') === 0) {\n return color;\n }\n const {\n values\n } = decomposeColor(color);\n return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;\n}\n\n/**\n * Converts a color from hsl format to rgb format.\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\nfunction hslToRgb(color) {\n color = decomposeColor(color);\n const {\n values\n } = color;\n const h = values[0];\n const s = values[1] / 100;\n const l = values[2] / 100;\n const a = s * Math.min(l, 1 - l);\n const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n let type = 'rgb';\n const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n return recomposeColor({\n type,\n values: rgb\n });\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\nfunction getLuminance(color) {\n color = decomposeColor(color);\n let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(val => {\n if (color.type !== 'color') {\n val /= 255; // normalized\n }\n return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;\n });\n\n // Truncate at 3 digits\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\nfunction getContrastRatio(foreground, background) {\n const lumA = getLuminance(foreground);\n const lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n\n/**\n * Sets the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} value - value to set the alpha channel to in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction alpha(color, value) {\n color = decomposeColor(color);\n value = clampWrapper(value);\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n if (color.type === 'color') {\n color.values[3] = `/${value}`;\n } else {\n color.values[3] = value;\n }\n return recomposeColor(color);\n}\nfunction private_safeAlpha(color, value, warning) {\n try {\n return alpha(color, value);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darkens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.indexOf('rgb') !== -1 || color.type.indexOf('color') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n return recomposeColor(color);\n}\nfunction private_safeDarken(color, coefficient, warning) {\n try {\n return darken(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Lightens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n } else if (color.type.indexOf('color') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (1 - color.values[i]) * coefficient;\n }\n }\n return recomposeColor(color);\n}\nfunction private_safeLighten(color, coefficient, warning) {\n try {\n return lighten(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction emphasize(color, coefficient = 0.15) {\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\nfunction private_safeEmphasize(color, coefficient, warning) {\n try {\n return private_safeEmphasize(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Blend a transparent overlay color with a background color, resulting in a single\n * RGB color.\n * @param {string} background - CSS color\n * @param {string} overlay - CSS color\n * @param {number} opacity - Opacity multiplier in the range 0 - 1\n * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.\n */\nfunction blend(background, overlay, opacity, gamma = 1.0) {\n const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);\n const backgroundColor = decomposeColor(background);\n const overlayColor = decomposeColor(overlay);\n const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];\n return recomposeColor({\n type: 'rgb',\n values: rgb\n });\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"value\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst RtlContext = /*#__PURE__*/React.createContext();\nfunction RtlProvider(_ref) {\n let {\n value\n } = _ref,\n props = _objectWithoutPropertiesLoose(_ref, _excluded);\n return /*#__PURE__*/_jsx(RtlContext.Provider, _extends({\n value: value != null ? value : true\n }, props));\n}\nprocess.env.NODE_ENV !== \"production\" ? RtlProvider.propTypes = {\n children: PropTypes.node,\n value: PropTypes.bool\n} : void 0;\nexport const useRtl = () => {\n const value = React.useContext(RtlContext);\n return value != null ? value : false;\n};\nexport default RtlProvider;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport PropTypes from 'prop-types';\nimport deepmerge from '@mui/utils/deepmerge';\nimport merge from './merge';\n\n// The breakpoint **start** at this value.\n// For instance with the first breakpoint xs: [xs, sm[.\nexport const values = {\n xs: 0,\n // phone\n sm: 600,\n // tablet\n md: 900,\n // small laptop\n lg: 1200,\n // desktop\n xl: 1536 // large screen\n};\nconst defaultBreakpoints = {\n // Sorted ASC by size. That's important.\n // It can't be configured as it's used statically for propTypes.\n keys: ['xs', 'sm', 'md', 'lg', 'xl'],\n up: key => `@media (min-width:${values[key]}px)`\n};\nexport function handleBreakpoints(props, propValue, styleFromPropValue) {\n const theme = props.theme || {};\n if (Array.isArray(propValue)) {\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n return propValue.reduce((acc, item, index) => {\n acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);\n return acc;\n }, {});\n }\n if (typeof propValue === 'object') {\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n return Object.keys(propValue).reduce((acc, breakpoint) => {\n // key is breakpoint\n if (Object.keys(themeBreakpoints.values || values).indexOf(breakpoint) !== -1) {\n const mediaKey = themeBreakpoints.up(breakpoint);\n acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);\n } else {\n const cssKey = breakpoint;\n acc[cssKey] = propValue[cssKey];\n }\n return acc;\n }, {});\n }\n const output = styleFromPropValue(propValue);\n return output;\n}\nfunction breakpoints(styleFunction) {\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const newStyleFunction = props => {\n const theme = props.theme || {};\n const base = styleFunction(props);\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n const extended = themeBreakpoints.keys.reduce((acc, key) => {\n if (props[key]) {\n acc = acc || {};\n acc[themeBreakpoints.up(key)] = styleFunction(_extends({\n theme\n }, props[key]));\n }\n return acc;\n }, null);\n return merge(base, extended);\n };\n newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? _extends({}, styleFunction.propTypes, {\n xs: PropTypes.object,\n sm: PropTypes.object,\n md: PropTypes.object,\n lg: PropTypes.object,\n xl: PropTypes.object\n }) : {};\n newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl', ...styleFunction.filterProps];\n return newStyleFunction;\n}\nexport function createEmptyBreakpointObject(breakpointsInput = {}) {\n var _breakpointsInput$key;\n const breakpointsInOrder = (_breakpointsInput$key = breakpointsInput.keys) == null ? void 0 : _breakpointsInput$key.reduce((acc, key) => {\n const breakpointStyleKey = breakpointsInput.up(key);\n acc[breakpointStyleKey] = {};\n return acc;\n }, {});\n return breakpointsInOrder || {};\n}\nexport function removeUnusedBreakpoints(breakpointKeys, style) {\n return breakpointKeys.reduce((acc, key) => {\n const breakpointOutput = acc[key];\n const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;\n if (isBreakpointUnused) {\n delete acc[key];\n }\n return acc;\n }, style);\n}\nexport function mergeBreakpointsInOrder(breakpointsInput, ...styles) {\n const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);\n const mergedOutput = [emptyBreakpoints, ...styles].reduce((prev, next) => deepmerge(prev, next), {});\n return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);\n}\n\n// compute base for responsive values; e.g.,\n// [1,2,3] => {xs: true, sm: true, md: true}\n// {xs: 1, sm: 2, md: 3} => {xs: true, sm: true, md: true}\nexport function computeBreakpointsBase(breakpointValues, themeBreakpoints) {\n // fixed value\n if (typeof breakpointValues !== 'object') {\n return {};\n }\n const base = {};\n const breakpointsKeys = Object.keys(themeBreakpoints);\n if (Array.isArray(breakpointValues)) {\n breakpointsKeys.forEach((breakpoint, i) => {\n if (i < breakpointValues.length) {\n base[breakpoint] = true;\n }\n });\n } else {\n breakpointsKeys.forEach(breakpoint => {\n if (breakpointValues[breakpoint] != null) {\n base[breakpoint] = true;\n }\n });\n }\n return base;\n}\nexport function resolveBreakpointValues({\n values: breakpointValues,\n breakpoints: themeBreakpoints,\n base: customBase\n}) {\n const base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints);\n const keys = Object.keys(base);\n if (keys.length === 0) {\n return breakpointValues;\n }\n let previous;\n return keys.reduce((acc, breakpoint, i) => {\n if (Array.isArray(breakpointValues)) {\n acc[breakpoint] = breakpointValues[i] != null ? breakpointValues[i] : breakpointValues[previous];\n previous = i;\n } else if (typeof breakpointValues === 'object') {\n acc[breakpoint] = breakpointValues[breakpoint] != null ? breakpointValues[breakpoint] : breakpointValues[previous];\n previous = breakpoint;\n } else {\n acc[breakpoint] = breakpointValues;\n }\n return acc;\n }, {});\n}\nexport default breakpoints;","/**\n * A universal utility to style components with multiple color modes. Always use it from the theme object.\n * It works with:\n * - [Basic theme](https://mui.com/material-ui/customization/dark-mode/)\n * - [CSS theme variables](https://mui.com/material-ui/experimental-api/css-theme-variables/overview/)\n * - Zero-runtime engine\n *\n * Tips: Use an array over object spread and place `theme.applyStyles()` last.\n *\n * ✅ [{ background: '#e5e5e5' }, theme.applyStyles('dark', { background: '#1c1c1c' })]\n *\n * 🚫 { background: '#e5e5e5', ...theme.applyStyles('dark', { background: '#1c1c1c' })}\n *\n * @example\n * 1. using with `styled`:\n * ```jsx\n * const Component = styled('div')(({ theme }) => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ]);\n * ```\n *\n * @example\n * 2. using with `sx` prop:\n * ```jsx\n * [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ]}\n * />\n * ```\n *\n * @example\n * 3. theming a component:\n * ```jsx\n * extendTheme({\n * components: {\n * MuiButton: {\n * styleOverrides: {\n * root: ({ theme }) => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ],\n * },\n * }\n * }\n * })\n *```\n */\nexport default function applyStyles(key, styles) {\n // @ts-expect-error this is 'any' type\n const theme = this;\n if (theme.vars && typeof theme.getColorSchemeSelector === 'function') {\n // If CssVarsProvider is used as a provider,\n // returns '* :where([data-mui-color-scheme=\"light|dark\"]) &'\n const selector = theme.getColorSchemeSelector(key).replace(/(\\[[^\\]]+\\])/, '*:where($1)');\n return {\n [selector]: styles\n };\n }\n if (theme.palette.mode === key) {\n return styles;\n }\n return {};\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"values\", \"unit\", \"step\"];\n// Sorted ASC by size. That's important.\n// It can't be configured as it's used statically for propTypes.\nexport const breakpointKeys = ['xs', 'sm', 'md', 'lg', 'xl'];\nconst sortBreakpointsValues = values => {\n const breakpointsAsArray = Object.keys(values).map(key => ({\n key,\n val: values[key]\n })) || [];\n // Sort in ascending order\n breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);\n return breakpointsAsArray.reduce((acc, obj) => {\n return _extends({}, acc, {\n [obj.key]: obj.val\n });\n }, {});\n};\n\n// Keep in mind that @media is inclusive by the CSS specification.\nexport default function createBreakpoints(breakpoints) {\n const {\n // The breakpoint **start** at this value.\n // For instance with the first breakpoint xs: [xs, sm).\n values = {\n xs: 0,\n // phone\n sm: 600,\n // tablet\n md: 900,\n // small laptop\n lg: 1200,\n // desktop\n xl: 1536 // large screen\n },\n unit = 'px',\n step = 5\n } = breakpoints,\n other = _objectWithoutPropertiesLoose(breakpoints, _excluded);\n const sortedValues = sortBreakpointsValues(values);\n const keys = Object.keys(sortedValues);\n function up(key) {\n const value = typeof values[key] === 'number' ? values[key] : key;\n return `@media (min-width:${value}${unit})`;\n }\n function down(key) {\n const value = typeof values[key] === 'number' ? values[key] : key;\n return `@media (max-width:${value - step / 100}${unit})`;\n }\n function between(start, end) {\n const endIndex = keys.indexOf(end);\n return `@media (min-width:${typeof values[start] === 'number' ? values[start] : start}${unit}) and ` + `(max-width:${(endIndex !== -1 && typeof values[keys[endIndex]] === 'number' ? values[keys[endIndex]] : end) - step / 100}${unit})`;\n }\n function only(key) {\n if (keys.indexOf(key) + 1 < keys.length) {\n return between(key, keys[keys.indexOf(key) + 1]);\n }\n return up(key);\n }\n function not(key) {\n // handle first and last key separately, for better readability\n const keyIndex = keys.indexOf(key);\n if (keyIndex === 0) {\n return up(keys[1]);\n }\n if (keyIndex === keys.length - 1) {\n return down(keys[keyIndex]);\n }\n return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');\n }\n return _extends({\n keys,\n values: sortedValues,\n up,\n down,\n between,\n only,\n not,\n unit\n }, other);\n}","const shape = {\n borderRadius: 4\n};\nexport default shape;","import { createUnarySpacing } from '../spacing';\n\n// The different signatures imply different meaning for their arguments that can't be expressed structurally.\n// We express the difference with variable names.\n\nexport default function createSpacing(spacingInput = 8) {\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n }\n\n // Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.\n // Smaller components, such as icons, can align to a 4dp grid.\n // https://m2.material.io/design/layout/understanding-layout.html\n const transform = createUnarySpacing({\n spacing: spacingInput\n });\n const spacing = (...argsInput) => {\n if (process.env.NODE_ENV !== 'production') {\n if (!(argsInput.length <= 4)) {\n console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);\n }\n }\n const args = argsInput.length === 0 ? [1] : argsInput;\n return args.map(argument => {\n const output = transform(argument);\n return typeof output === 'number' ? `${output}px` : output;\n }).join(' ');\n };\n spacing.mui = true;\n return spacing;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"breakpoints\", \"palette\", \"spacing\", \"shape\"];\nimport deepmerge from '@mui/utils/deepmerge';\nimport createBreakpoints from './createBreakpoints';\nimport shape from './shape';\nimport createSpacing from './createSpacing';\nimport styleFunctionSx from '../styleFunctionSx/styleFunctionSx';\nimport defaultSxConfig from '../styleFunctionSx/defaultSxConfig';\nimport applyStyles from './applyStyles';\nfunction createTheme(options = {}, ...args) {\n const {\n breakpoints: breakpointsInput = {},\n palette: paletteInput = {},\n spacing: spacingInput,\n shape: shapeInput = {}\n } = options,\n other = _objectWithoutPropertiesLoose(options, _excluded);\n const breakpoints = createBreakpoints(breakpointsInput);\n const spacing = createSpacing(spacingInput);\n let muiTheme = deepmerge({\n breakpoints,\n direction: 'ltr',\n components: {},\n // Inject component definitions.\n palette: _extends({\n mode: 'light'\n }, paletteInput),\n spacing,\n shape: _extends({}, shape, shapeInput)\n }, other);\n muiTheme.applyStyles = applyStyles;\n muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);\n muiTheme.unstable_sxConfig = _extends({}, defaultSxConfig, other == null ? void 0 : other.unstable_sxConfig);\n muiTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n return muiTheme;\n}\nexport default createTheme;","import deepmerge from '@mui/utils/deepmerge';\nfunction merge(acc, item) {\n if (!item) {\n return acc;\n }\n return deepmerge(acc, item, {\n clone: false // No need to clone deep, it's way faster.\n });\n}\nexport default merge;","export default function memoize(fn) {\n const cache = {};\n return arg => {\n if (cache[arg] === undefined) {\n cache[arg] = fn(arg);\n }\n return cache[arg];\n };\n}","import responsivePropType from './responsivePropType';\nimport { handleBreakpoints } from './breakpoints';\nimport { getPath } from './style';\nimport merge from './merge';\nimport memoize from './memoize';\nconst properties = {\n m: 'margin',\n p: 'padding'\n};\nconst directions = {\n t: 'Top',\n r: 'Right',\n b: 'Bottom',\n l: 'Left',\n x: ['Left', 'Right'],\n y: ['Top', 'Bottom']\n};\nconst aliases = {\n marginX: 'mx',\n marginY: 'my',\n paddingX: 'px',\n paddingY: 'py'\n};\n\n// memoize() impact:\n// From 300,000 ops/sec\n// To 350,000 ops/sec\nconst getCssProperties = memoize(prop => {\n // It's not a shorthand notation.\n if (prop.length > 2) {\n if (aliases[prop]) {\n prop = aliases[prop];\n } else {\n return [prop];\n }\n }\n const [a, b] = prop.split('');\n const property = properties[a];\n const direction = directions[b] || '';\n return Array.isArray(direction) ? direction.map(dir => property + dir) : [property + direction];\n});\nexport const marginKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'marginInline', 'marginInlineStart', 'marginInlineEnd', 'marginBlock', 'marginBlockStart', 'marginBlockEnd'];\nexport const paddingKeys = ['p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY', 'paddingInline', 'paddingInlineStart', 'paddingInlineEnd', 'paddingBlock', 'paddingBlockStart', 'paddingBlockEnd'];\nconst spacingKeys = [...marginKeys, ...paddingKeys];\nexport function createUnaryUnit(theme, themeKey, defaultValue, propName) {\n var _getPath;\n const themeSpacing = (_getPath = getPath(theme, themeKey, false)) != null ? _getPath : defaultValue;\n if (typeof themeSpacing === 'number') {\n return abs => {\n if (typeof abs === 'string') {\n return abs;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (typeof abs !== 'number') {\n console.error(`MUI: Expected ${propName} argument to be a number or a string, got ${abs}.`);\n }\n }\n return themeSpacing * abs;\n };\n }\n if (Array.isArray(themeSpacing)) {\n return abs => {\n if (typeof abs === 'string') {\n return abs;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (!Number.isInteger(abs)) {\n console.error([`MUI: The \\`theme.${themeKey}\\` array type cannot be combined with non integer values.` + `You should either use an integer value that can be used as index, or define the \\`theme.${themeKey}\\` as a number.`].join('\\n'));\n } else if (abs > themeSpacing.length - 1) {\n console.error([`MUI: The value provided (${abs}) overflows.`, `The supported values are: ${JSON.stringify(themeSpacing)}.`, `${abs} > ${themeSpacing.length - 1}, you need to add the missing values.`].join('\\n'));\n }\n }\n return themeSpacing[abs];\n };\n }\n if (typeof themeSpacing === 'function') {\n return themeSpacing;\n }\n if (process.env.NODE_ENV !== 'production') {\n console.error([`MUI: The \\`theme.${themeKey}\\` value (${themeSpacing}) is invalid.`, 'It should be a number, an array or a function.'].join('\\n'));\n }\n return () => undefined;\n}\nexport function createUnarySpacing(theme) {\n return createUnaryUnit(theme, 'spacing', 8, 'spacing');\n}\nexport function getValue(transformer, propValue) {\n if (typeof propValue === 'string' || propValue == null) {\n return propValue;\n }\n const abs = Math.abs(propValue);\n const transformed = transformer(abs);\n if (propValue >= 0) {\n return transformed;\n }\n if (typeof transformed === 'number') {\n return -transformed;\n }\n return `-${transformed}`;\n}\nexport function getStyleFromPropValue(cssProperties, transformer) {\n return propValue => cssProperties.reduce((acc, cssProperty) => {\n acc[cssProperty] = getValue(transformer, propValue);\n return acc;\n }, {});\n}\nfunction resolveCssProperty(props, keys, prop, transformer) {\n // Using a hash computation over an array iteration could be faster, but with only 28 items,\n // it's doesn't worth the bundle size.\n if (keys.indexOf(prop) === -1) {\n return null;\n }\n const cssProperties = getCssProperties(prop);\n const styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);\n const propValue = props[prop];\n return handleBreakpoints(props, propValue, styleFromPropValue);\n}\nfunction style(props, keys) {\n const transformer = createUnarySpacing(props.theme);\n return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(merge, {});\n}\nexport function margin(props) {\n return style(props, marginKeys);\n}\nmargin.propTypes = process.env.NODE_ENV !== 'production' ? marginKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\nmargin.filterProps = marginKeys;\nexport function padding(props) {\n return style(props, paddingKeys);\n}\npadding.propTypes = process.env.NODE_ENV !== 'production' ? paddingKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\npadding.filterProps = paddingKeys;\nfunction spacing(props) {\n return style(props, spacingKeys);\n}\nspacing.propTypes = process.env.NODE_ENV !== 'production' ? spacingKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\nspacing.filterProps = spacingKeys;\nexport default spacing;","import capitalize from '@mui/utils/capitalize';\nimport responsivePropType from './responsivePropType';\nimport { handleBreakpoints } from './breakpoints';\nexport function getPath(obj, path, checkVars = true) {\n if (!path || typeof path !== 'string') {\n return null;\n }\n\n // Check if CSS variables are used\n if (obj && obj.vars && checkVars) {\n const val = `vars.${path}`.split('.').reduce((acc, item) => acc && acc[item] ? acc[item] : null, obj);\n if (val != null) {\n return val;\n }\n }\n return path.split('.').reduce((acc, item) => {\n if (acc && acc[item] != null) {\n return acc[item];\n }\n return null;\n }, obj);\n}\nexport function getStyleValue(themeMapping, transform, propValueFinal, userValue = propValueFinal) {\n let value;\n if (typeof themeMapping === 'function') {\n value = themeMapping(propValueFinal);\n } else if (Array.isArray(themeMapping)) {\n value = themeMapping[propValueFinal] || userValue;\n } else {\n value = getPath(themeMapping, propValueFinal) || userValue;\n }\n if (transform) {\n value = transform(value, userValue, themeMapping);\n }\n return value;\n}\nfunction style(options) {\n const {\n prop,\n cssProperty = options.prop,\n themeKey,\n transform\n } = options;\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n if (props[prop] == null) {\n return null;\n }\n const propValue = props[prop];\n const theme = props.theme;\n const themeMapping = getPath(theme, themeKey) || {};\n const styleFromPropValue = propValueFinal => {\n let value = getStyleValue(themeMapping, transform, propValueFinal);\n if (propValueFinal === value && typeof propValueFinal === 'string') {\n // Haven't found value\n value = getStyleValue(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : capitalize(propValueFinal)}`, propValueFinal);\n }\n if (cssProperty === false) {\n return value;\n }\n return {\n [cssProperty]: value\n };\n };\n return handleBreakpoints(props, propValue, styleFromPropValue);\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? {\n [prop]: responsivePropType\n } : {};\n fn.filterProps = [prop];\n return fn;\n}\nexport default style;","import merge from './merge';\nfunction compose(...styles) {\n const handlers = styles.reduce((acc, style) => {\n style.filterProps.forEach(prop => {\n acc[prop] = style;\n });\n return acc;\n }, {});\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n return Object.keys(props).reduce((acc, prop) => {\n if (handlers[prop]) {\n return merge(acc, handlers[prop](props));\n }\n return acc;\n }, {});\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : {};\n fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);\n return fn;\n}\nexport default compose;","import responsivePropType from './responsivePropType';\nimport style from './style';\nimport compose from './compose';\nimport { createUnaryUnit, getValue } from './spacing';\nimport { handleBreakpoints } from './breakpoints';\nexport function borderTransform(value) {\n if (typeof value !== 'number') {\n return value;\n }\n return `${value}px solid`;\n}\nfunction createBorderStyle(prop, transform) {\n return style({\n prop,\n themeKey: 'borders',\n transform\n });\n}\nexport const border = createBorderStyle('border', borderTransform);\nexport const borderTop = createBorderStyle('borderTop', borderTransform);\nexport const borderRight = createBorderStyle('borderRight', borderTransform);\nexport const borderBottom = createBorderStyle('borderBottom', borderTransform);\nexport const borderLeft = createBorderStyle('borderLeft', borderTransform);\nexport const borderColor = createBorderStyle('borderColor');\nexport const borderTopColor = createBorderStyle('borderTopColor');\nexport const borderRightColor = createBorderStyle('borderRightColor');\nexport const borderBottomColor = createBorderStyle('borderBottomColor');\nexport const borderLeftColor = createBorderStyle('borderLeftColor');\nexport const outline = createBorderStyle('outline', borderTransform);\nexport const outlineColor = createBorderStyle('outlineColor');\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const borderRadius = props => {\n if (props.borderRadius !== undefined && props.borderRadius !== null) {\n const transformer = createUnaryUnit(props.theme, 'shape.borderRadius', 4, 'borderRadius');\n const styleFromPropValue = propValue => ({\n borderRadius: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.borderRadius, styleFromPropValue);\n }\n return null;\n};\nborderRadius.propTypes = process.env.NODE_ENV !== 'production' ? {\n borderRadius: responsivePropType\n} : {};\nborderRadius.filterProps = ['borderRadius'];\nconst borders = compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);\nexport default borders;","import style from './style';\nimport compose from './compose';\nimport { createUnaryUnit, getValue } from './spacing';\nimport { handleBreakpoints } from './breakpoints';\nimport responsivePropType from './responsivePropType';\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const gap = props => {\n if (props.gap !== undefined && props.gap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'gap');\n const styleFromPropValue = propValue => ({\n gap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.gap, styleFromPropValue);\n }\n return null;\n};\ngap.propTypes = process.env.NODE_ENV !== 'production' ? {\n gap: responsivePropType\n} : {};\ngap.filterProps = ['gap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const columnGap = props => {\n if (props.columnGap !== undefined && props.columnGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'columnGap');\n const styleFromPropValue = propValue => ({\n columnGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.columnGap, styleFromPropValue);\n }\n return null;\n};\ncolumnGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n columnGap: responsivePropType\n} : {};\ncolumnGap.filterProps = ['columnGap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const rowGap = props => {\n if (props.rowGap !== undefined && props.rowGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'rowGap');\n const styleFromPropValue = propValue => ({\n rowGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.rowGap, styleFromPropValue);\n }\n return null;\n};\nrowGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n rowGap: responsivePropType\n} : {};\nrowGap.filterProps = ['rowGap'];\nexport const gridColumn = style({\n prop: 'gridColumn'\n});\nexport const gridRow = style({\n prop: 'gridRow'\n});\nexport const gridAutoFlow = style({\n prop: 'gridAutoFlow'\n});\nexport const gridAutoColumns = style({\n prop: 'gridAutoColumns'\n});\nexport const gridAutoRows = style({\n prop: 'gridAutoRows'\n});\nexport const gridTemplateColumns = style({\n prop: 'gridTemplateColumns'\n});\nexport const gridTemplateRows = style({\n prop: 'gridTemplateRows'\n});\nexport const gridTemplateAreas = style({\n prop: 'gridTemplateAreas'\n});\nexport const gridArea = style({\n prop: 'gridArea'\n});\nconst grid = compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);\nexport default grid;","import style from './style';\nimport compose from './compose';\nexport function paletteTransform(value, userValue) {\n if (userValue === 'grey') {\n return userValue;\n }\n return value;\n}\nexport const color = style({\n prop: 'color',\n themeKey: 'palette',\n transform: paletteTransform\n});\nexport const bgcolor = style({\n prop: 'bgcolor',\n cssProperty: 'backgroundColor',\n themeKey: 'palette',\n transform: paletteTransform\n});\nexport const backgroundColor = style({\n prop: 'backgroundColor',\n themeKey: 'palette',\n transform: paletteTransform\n});\nconst palette = compose(color, bgcolor, backgroundColor);\nexport default palette;","import style from './style';\nimport compose from './compose';\nimport { handleBreakpoints, values as breakpointsValues } from './breakpoints';\nexport function sizingTransform(value) {\n return value <= 1 && value !== 0 ? `${value * 100}%` : value;\n}\nexport const width = style({\n prop: 'width',\n transform: sizingTransform\n});\nexport const maxWidth = props => {\n if (props.maxWidth !== undefined && props.maxWidth !== null) {\n const styleFromPropValue = propValue => {\n var _props$theme, _props$theme2;\n const breakpoint = ((_props$theme = props.theme) == null || (_props$theme = _props$theme.breakpoints) == null || (_props$theme = _props$theme.values) == null ? void 0 : _props$theme[propValue]) || breakpointsValues[propValue];\n if (!breakpoint) {\n return {\n maxWidth: sizingTransform(propValue)\n };\n }\n if (((_props$theme2 = props.theme) == null || (_props$theme2 = _props$theme2.breakpoints) == null ? void 0 : _props$theme2.unit) !== 'px') {\n return {\n maxWidth: `${breakpoint}${props.theme.breakpoints.unit}`\n };\n }\n return {\n maxWidth: breakpoint\n };\n };\n return handleBreakpoints(props, props.maxWidth, styleFromPropValue);\n }\n return null;\n};\nmaxWidth.filterProps = ['maxWidth'];\nexport const minWidth = style({\n prop: 'minWidth',\n transform: sizingTransform\n});\nexport const height = style({\n prop: 'height',\n transform: sizingTransform\n});\nexport const maxHeight = style({\n prop: 'maxHeight',\n transform: sizingTransform\n});\nexport const minHeight = style({\n prop: 'minHeight',\n transform: sizingTransform\n});\nexport const sizeWidth = style({\n prop: 'size',\n cssProperty: 'width',\n transform: sizingTransform\n});\nexport const sizeHeight = style({\n prop: 'size',\n cssProperty: 'height',\n transform: sizingTransform\n});\nexport const boxSizing = style({\n prop: 'boxSizing'\n});\nconst sizing = compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);\nexport default sizing;","import { padding, margin } from '../spacing';\nimport { borderRadius, borderTransform } from '../borders';\nimport { gap, rowGap, columnGap } from '../cssGrid';\nimport { paletteTransform } from '../palette';\nimport { maxWidth, sizingTransform } from '../sizing';\nconst defaultSxConfig = {\n // borders\n border: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderTop: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderRight: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderBottom: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderLeft: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderColor: {\n themeKey: 'palette'\n },\n borderTopColor: {\n themeKey: 'palette'\n },\n borderRightColor: {\n themeKey: 'palette'\n },\n borderBottomColor: {\n themeKey: 'palette'\n },\n borderLeftColor: {\n themeKey: 'palette'\n },\n outline: {\n themeKey: 'borders',\n transform: borderTransform\n },\n outlineColor: {\n themeKey: 'palette'\n },\n borderRadius: {\n themeKey: 'shape.borderRadius',\n style: borderRadius\n },\n // palette\n color: {\n themeKey: 'palette',\n transform: paletteTransform\n },\n bgcolor: {\n themeKey: 'palette',\n cssProperty: 'backgroundColor',\n transform: paletteTransform\n },\n backgroundColor: {\n themeKey: 'palette',\n transform: paletteTransform\n },\n // spacing\n p: {\n style: padding\n },\n pt: {\n style: padding\n },\n pr: {\n style: padding\n },\n pb: {\n style: padding\n },\n pl: {\n style: padding\n },\n px: {\n style: padding\n },\n py: {\n style: padding\n },\n padding: {\n style: padding\n },\n paddingTop: {\n style: padding\n },\n paddingRight: {\n style: padding\n },\n paddingBottom: {\n style: padding\n },\n paddingLeft: {\n style: padding\n },\n paddingX: {\n style: padding\n },\n paddingY: {\n style: padding\n },\n paddingInline: {\n style: padding\n },\n paddingInlineStart: {\n style: padding\n },\n paddingInlineEnd: {\n style: padding\n },\n paddingBlock: {\n style: padding\n },\n paddingBlockStart: {\n style: padding\n },\n paddingBlockEnd: {\n style: padding\n },\n m: {\n style: margin\n },\n mt: {\n style: margin\n },\n mr: {\n style: margin\n },\n mb: {\n style: margin\n },\n ml: {\n style: margin\n },\n mx: {\n style: margin\n },\n my: {\n style: margin\n },\n margin: {\n style: margin\n },\n marginTop: {\n style: margin\n },\n marginRight: {\n style: margin\n },\n marginBottom: {\n style: margin\n },\n marginLeft: {\n style: margin\n },\n marginX: {\n style: margin\n },\n marginY: {\n style: margin\n },\n marginInline: {\n style: margin\n },\n marginInlineStart: {\n style: margin\n },\n marginInlineEnd: {\n style: margin\n },\n marginBlock: {\n style: margin\n },\n marginBlockStart: {\n style: margin\n },\n marginBlockEnd: {\n style: margin\n },\n // display\n displayPrint: {\n cssProperty: false,\n transform: value => ({\n '@media print': {\n display: value\n }\n })\n },\n display: {},\n overflow: {},\n textOverflow: {},\n visibility: {},\n whiteSpace: {},\n // flexbox\n flexBasis: {},\n flexDirection: {},\n flexWrap: {},\n justifyContent: {},\n alignItems: {},\n alignContent: {},\n order: {},\n flex: {},\n flexGrow: {},\n flexShrink: {},\n alignSelf: {},\n justifyItems: {},\n justifySelf: {},\n // grid\n gap: {\n style: gap\n },\n rowGap: {\n style: rowGap\n },\n columnGap: {\n style: columnGap\n },\n gridColumn: {},\n gridRow: {},\n gridAutoFlow: {},\n gridAutoColumns: {},\n gridAutoRows: {},\n gridTemplateColumns: {},\n gridTemplateRows: {},\n gridTemplateAreas: {},\n gridArea: {},\n // positions\n position: {},\n zIndex: {\n themeKey: 'zIndex'\n },\n top: {},\n right: {},\n bottom: {},\n left: {},\n // shadows\n boxShadow: {\n themeKey: 'shadows'\n },\n // sizing\n width: {\n transform: sizingTransform\n },\n maxWidth: {\n style: maxWidth\n },\n minWidth: {\n transform: sizingTransform\n },\n height: {\n transform: sizingTransform\n },\n maxHeight: {\n transform: sizingTransform\n },\n minHeight: {\n transform: sizingTransform\n },\n boxSizing: {},\n // typography\n fontFamily: {\n themeKey: 'typography'\n },\n fontSize: {\n themeKey: 'typography'\n },\n fontStyle: {\n themeKey: 'typography'\n },\n fontWeight: {\n themeKey: 'typography'\n },\n letterSpacing: {},\n textTransform: {},\n lineHeight: {},\n textAlign: {},\n typography: {\n cssProperty: false,\n themeKey: 'typography'\n }\n};\nexport default defaultSxConfig;","import capitalize from '@mui/utils/capitalize';\nimport merge from '../merge';\nimport { getPath, getStyleValue as getValue } from '../style';\nimport { handleBreakpoints, createEmptyBreakpointObject, removeUnusedBreakpoints } from '../breakpoints';\nimport defaultSxConfig from './defaultSxConfig';\nfunction objectsHaveSameKeys(...objects) {\n const allKeys = objects.reduce((keys, object) => keys.concat(Object.keys(object)), []);\n const union = new Set(allKeys);\n return objects.every(object => union.size === Object.keys(object).length);\n}\nfunction callIfFn(maybeFn, arg) {\n return typeof maybeFn === 'function' ? maybeFn(arg) : maybeFn;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function unstable_createStyleFunctionSx() {\n function getThemeValue(prop, val, theme, config) {\n const props = {\n [prop]: val,\n theme\n };\n const options = config[prop];\n if (!options) {\n return {\n [prop]: val\n };\n }\n const {\n cssProperty = prop,\n themeKey,\n transform,\n style\n } = options;\n if (val == null) {\n return null;\n }\n\n // TODO v6: remove, see https://github.com/mui/material-ui/pull/38123\n if (themeKey === 'typography' && val === 'inherit') {\n return {\n [prop]: val\n };\n }\n const themeMapping = getPath(theme, themeKey) || {};\n if (style) {\n return style(props);\n }\n const styleFromPropValue = propValueFinal => {\n let value = getValue(themeMapping, transform, propValueFinal);\n if (propValueFinal === value && typeof propValueFinal === 'string') {\n // Haven't found value\n value = getValue(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : capitalize(propValueFinal)}`, propValueFinal);\n }\n if (cssProperty === false) {\n return value;\n }\n return {\n [cssProperty]: value\n };\n };\n return handleBreakpoints(props, val, styleFromPropValue);\n }\n function styleFunctionSx(props) {\n var _theme$unstable_sxCon;\n const {\n sx,\n theme = {}\n } = props || {};\n if (!sx) {\n return null; // Emotion & styled-components will neglect null\n }\n const config = (_theme$unstable_sxCon = theme.unstable_sxConfig) != null ? _theme$unstable_sxCon : defaultSxConfig;\n\n /*\n * Receive `sxInput` as object or callback\n * and then recursively check keys & values to create media query object styles.\n * (the result will be used in `styled`)\n */\n function traverse(sxInput) {\n let sxObject = sxInput;\n if (typeof sxInput === 'function') {\n sxObject = sxInput(theme);\n } else if (typeof sxInput !== 'object') {\n // value\n return sxInput;\n }\n if (!sxObject) {\n return null;\n }\n const emptyBreakpoints = createEmptyBreakpointObject(theme.breakpoints);\n const breakpointsKeys = Object.keys(emptyBreakpoints);\n let css = emptyBreakpoints;\n Object.keys(sxObject).forEach(styleKey => {\n const value = callIfFn(sxObject[styleKey], theme);\n if (value !== null && value !== undefined) {\n if (typeof value === 'object') {\n if (config[styleKey]) {\n css = merge(css, getThemeValue(styleKey, value, theme, config));\n } else {\n const breakpointsValues = handleBreakpoints({\n theme\n }, value, x => ({\n [styleKey]: x\n }));\n if (objectsHaveSameKeys(breakpointsValues, value)) {\n css[styleKey] = styleFunctionSx({\n sx: value,\n theme\n });\n } else {\n css = merge(css, breakpointsValues);\n }\n }\n } else {\n css = merge(css, getThemeValue(styleKey, value, theme, config));\n }\n }\n });\n return removeUnusedBreakpoints(breakpointsKeys, css);\n }\n return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);\n }\n return styleFunctionSx;\n}\nconst styleFunctionSx = unstable_createStyleFunctionSx();\nstyleFunctionSx.filterProps = ['sx'];\nexport default styleFunctionSx;","'use client';\n\nimport * as React from 'react';\nimport { ThemeContext } from '@mui/styled-engine';\nfunction isObjectEmpty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction useTheme(defaultTheme = null) {\n const contextTheme = React.useContext(ThemeContext);\n return !contextTheme || isObjectEmpty(contextTheme) ? defaultTheme : contextTheme;\n}\nexport default useTheme;","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.\n//\n// A strict capitalization should uppercase the first letter of each word in the sentence.\n// We only handle the first word.\nexport default function capitalize(string) {\n if (typeof string !== 'string') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: \\`capitalize(string)\\` expects a string argument.` : _formatMuiErrorMessage(7));\n }\n return string.charAt(0).toUpperCase() + string.slice(1);\n}","function clamp(val, min = Number.MIN_SAFE_INTEGER, max = Number.MAX_SAFE_INTEGER) {\n return Math.max(min, Math.min(val, max));\n}\nexport default clamp;","export { default } from './clamp';","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// https://github.com/sindresorhus/is-plain-obj/blob/main/index.js\nexport function isPlainObject(item) {\n if (typeof item !== 'object' || item === null) {\n return false;\n }\n const prototype = Object.getPrototypeOf(item);\n return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);\n}\nfunction deepClone(source) {\n if (!isPlainObject(source)) {\n return source;\n }\n const output = {};\n Object.keys(source).forEach(key => {\n output[key] = deepClone(source[key]);\n });\n return output;\n}\nexport default function deepmerge(target, source, options = {\n clone: true\n}) {\n const output = options.clone ? _extends({}, target) : target;\n if (isPlainObject(target) && isPlainObject(source)) {\n Object.keys(source).forEach(key => {\n // Avoid prototype pollution\n if (key === '__proto__') {\n return;\n }\n if (isPlainObject(source[key]) && key in target && isPlainObject(target[key])) {\n // Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type.\n output[key] = deepmerge(target[key], source[key], options);\n } else if (options.clone) {\n output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];\n } else {\n output[key] = source[key];\n }\n });\n }\n return output;\n}","/**\n * WARNING: Don't import this directly.\n * Use `MuiError` from `@mui/internal-babel-macros/MuiError.macro` instead.\n * @param {number} code\n */\nexport default function formatMuiErrorMessage(code) {\n // Apply babel-plugin-transform-template-literals in loose mode\n // loose mode is safe if we're concatenating primitives\n // see https://babeljs.io/docs/en/babel-plugin-transform-template-literals#loose\n /* eslint-disable prefer-template */\n let url = 'https://mui.com/production-error/?code=' + code;\n for (let i = 1; i < arguments.length; i += 1) {\n // rest params over-transpile for this case\n // eslint-disable-next-line prefer-rest-params\n url += '&args[]=' + encodeURIComponent(arguments[i]);\n }\n return 'Minified MUI error #' + code + '; visit ' + url + ' for the full message.';\n /* eslint-enable prefer-template */\n}","export { default } from './formatMuiErrorMessage';","const DEFAULT_ENVIRONMENT = 'production';\n\nexport { DEFAULT_ENVIRONMENT };\n//# sourceMappingURL=constants.js.map\n","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nconst DEBUG_BUILD = (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__);\n\nexport { DEBUG_BUILD };\n//# sourceMappingURL=debug-build.js.map\n","import { SyncPromise, logger, isThenable, getGlobalSingleton } from '@sentry/utils';\nimport { DEBUG_BUILD } from './debug-build.js';\n\n/**\n * Returns the global event processors.\n * @deprecated Global event processors will be removed in v8.\n */\nfunction getGlobalEventProcessors() {\n return getGlobalSingleton('globalEventProcessors', () => []);\n}\n\n/**\n * Add a EventProcessor to be kept globally.\n * @deprecated Use `addEventProcessor` instead. Global event processors will be removed in v8.\n */\nfunction addGlobalEventProcessor(callback) {\n // eslint-disable-next-line deprecation/deprecation\n getGlobalEventProcessors().push(callback);\n}\n\n/**\n * Process an array of event processors, returning the processed event (or `null` if the event was dropped).\n */\nfunction notifyEventProcessors(\n processors,\n event,\n hint,\n index = 0,\n) {\n return new SyncPromise((resolve, reject) => {\n const processor = processors[index];\n if (event === null || typeof processor !== 'function') {\n resolve(event);\n } else {\n const result = processor({ ...event }, hint) ;\n\n DEBUG_BUILD && processor.id && result === null && logger.log(`Event processor \"${processor.id}\" dropped event`);\n\n if (isThenable(result)) {\n void result\n .then(final => notifyEventProcessors(processors, final, hint, index + 1).then(resolve))\n .then(null, reject);\n } else {\n void notifyEventProcessors(processors, result, hint, index + 1)\n .then(resolve)\n .then(null, reject);\n }\n }\n });\n}\n\nexport { addGlobalEventProcessor, getGlobalEventProcessors, notifyEventProcessors };\n//# sourceMappingURL=eventProcessors.js.map\n","import { logger, uuid4, timestampInSeconds, isThenable, GLOBAL_OBJ } from '@sentry/utils';\nimport { DEFAULT_ENVIRONMENT } from './constants.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { getCurrentHub, runWithAsyncContext, getIsolationScope } from './hub.js';\nimport { makeSession, updateSession, closeSession } from './session.js';\nimport { parseEventHintOrCaptureContext } from './utils/prepareEvent.js';\n\n/**\n * Captures an exception event and sends it to Sentry.\n *\n * @param exception The exception to capture.\n * @param hint Optional additional data to attach to the Sentry event.\n * @returns the id of the captured Sentry event.\n */\nfunction captureException(\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n exception,\n hint,\n) {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().captureException(exception, parseEventHintOrCaptureContext(hint));\n}\n\n/**\n * Captures a message event and sends it to Sentry.\n *\n * @param exception The exception to capture.\n * @param captureContext Define the level of the message or pass in additional data to attach to the message.\n * @returns the id of the captured message.\n */\nfunction captureMessage(\n message,\n // eslint-disable-next-line deprecation/deprecation\n captureContext,\n) {\n // This is necessary to provide explicit scopes upgrade, without changing the original\n // arity of the `captureMessage(message, level)` method.\n const level = typeof captureContext === 'string' ? captureContext : undefined;\n const context = typeof captureContext !== 'string' ? { captureContext } : undefined;\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().captureMessage(message, level, context);\n}\n\n/**\n * Captures a manually created event and sends it to Sentry.\n *\n * @param exception The event to send to Sentry.\n * @param hint Optional additional data to attach to the Sentry event.\n * @returns the id of the captured event.\n */\nfunction captureEvent(event, hint) {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().captureEvent(event, hint);\n}\n\n/**\n * Callback to set context information onto the scope.\n * @param callback Callback function that receives Scope.\n *\n * @deprecated Use getCurrentScope() directly.\n */\nfunction configureScope(callback) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().configureScope(callback);\n}\n\n/**\n * Records a new breadcrumb which will be attached to future events.\n *\n * Breadcrumbs will be added to subsequent events to provide more context on\n * user's actions prior to an error or crash.\n *\n * @param breadcrumb The breadcrumb to record.\n */\nfunction addBreadcrumb(breadcrumb, hint) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().addBreadcrumb(breadcrumb, hint);\n}\n\n/**\n * Sets context data with the given name.\n * @param name of the context\n * @param context Any kind of data. This data will be normalized.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction setContext(name, context) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setContext(name, context);\n}\n\n/**\n * Set an object that will be merged sent as extra data with the event.\n * @param extras Extras object to merge into current context.\n */\nfunction setExtras(extras) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setExtras(extras);\n}\n\n/**\n * Set key:value that will be sent as extra data with the event.\n * @param key String of extra\n * @param extra Any kind of data. This data will be normalized.\n */\nfunction setExtra(key, extra) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setExtra(key, extra);\n}\n\n/**\n * Set an object that will be merged sent as tags data with the event.\n * @param tags Tags context object to merge into current context.\n */\nfunction setTags(tags) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setTags(tags);\n}\n\n/**\n * Set key:value that will be sent as tags data with the event.\n *\n * Can also be used to unset a tag, by passing `undefined`.\n *\n * @param key String key of tag\n * @param value Value of tag\n */\nfunction setTag(key, value) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setTag(key, value);\n}\n\n/**\n * Updates user context information for future events.\n *\n * @param user User context object to be set in the current context. Pass `null` to unset the user.\n */\nfunction setUser(user) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setUser(user);\n}\n\n/**\n * Creates a new scope with and executes the given operation within.\n * The scope is automatically removed once the operation\n * finishes or throws.\n *\n * This is essentially a convenience function for:\n *\n * pushScope();\n * callback();\n * popScope();\n */\n\n/**\n * Either creates a new active scope, or sets the given scope as active scope in the given callback.\n */\nfunction withScope(\n ...rest\n) {\n // eslint-disable-next-line deprecation/deprecation\n const hub = getCurrentHub();\n\n // If a scope is defined, we want to make this the active scope instead of the default one\n if (rest.length === 2) {\n const [scope, callback] = rest;\n if (!scope) {\n // eslint-disable-next-line deprecation/deprecation\n return hub.withScope(callback);\n }\n\n // eslint-disable-next-line deprecation/deprecation\n return hub.withScope(() => {\n // eslint-disable-next-line deprecation/deprecation\n hub.getStackTop().scope = scope ;\n return callback(scope );\n });\n }\n\n // eslint-disable-next-line deprecation/deprecation\n return hub.withScope(rest[0]);\n}\n\n/**\n * Attempts to fork the current isolation scope and the current scope based on the current async context strategy. If no\n * async context strategy is set, the isolation scope and the current scope will not be forked (this is currently the\n * case, for example, in the browser).\n *\n * Usage of this function in environments without async context strategy is discouraged and may lead to unexpected behaviour.\n *\n * This function is intended for Sentry SDK and SDK integration development. It is not recommended to be used in \"normal\"\n * applications directly because it comes with pitfalls. Use at your own risk!\n *\n * @param callback The callback in which the passed isolation scope is active. (Note: In environments without async\n * context strategy, the currently active isolation scope may change within execution of the callback.)\n * @returns The same value that `callback` returns.\n */\nfunction withIsolationScope(callback) {\n return runWithAsyncContext(() => {\n return callback(getIsolationScope());\n });\n}\n\n/**\n * Forks the current scope and sets the provided span as active span in the context of the provided callback.\n *\n * @param span Spans started in the context of the provided callback will be children of this span.\n * @param callback Execution context in which the provided span will be active. Is passed the newly forked scope.\n * @returns the value returned from the provided callback function.\n */\nfunction withActiveSpan(span, callback) {\n return withScope(scope => {\n // eslint-disable-next-line deprecation/deprecation\n scope.setSpan(span);\n return callback(scope);\n });\n}\n\n/**\n * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.\n *\n * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a\n * new child span within the transaction or any span, call the respective `.startChild()` method.\n *\n * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.\n *\n * The transaction must be finished with a call to its `.end()` method, at which point the transaction with all its\n * finished child spans will be sent to Sentry.\n *\n * NOTE: This function should only be used for *manual* instrumentation. Auto-instrumentation should call\n * `startTransaction` directly on the hub.\n *\n * @param context Properties of the new `Transaction`.\n * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent\n * default values). See {@link Options.tracesSampler}.\n *\n * @returns The transaction which was just started\n *\n * @deprecated Use `startSpan()`, `startSpanManual()` or `startInactiveSpan()` instead.\n */\nfunction startTransaction(\n context,\n customSamplingContext,\n) {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().startTransaction({ ...context }, customSamplingContext);\n}\n\n/**\n * Create a cron monitor check in and send it to Sentry.\n *\n * @param checkIn An object that describes a check in.\n * @param upsertMonitorConfig An optional object that describes a monitor config. Use this if you want\n * to create a monitor automatically when sending a check in.\n */\nfunction captureCheckIn(checkIn, upsertMonitorConfig) {\n const scope = getCurrentScope();\n const client = getClient();\n if (!client) {\n DEBUG_BUILD && logger.warn('Cannot capture check-in. No client defined.');\n } else if (!client.captureCheckIn) {\n DEBUG_BUILD && logger.warn('Cannot capture check-in. Client does not support sending check-ins.');\n } else {\n return client.captureCheckIn(checkIn, upsertMonitorConfig, scope);\n }\n\n return uuid4();\n}\n\n/**\n * Wraps a callback with a cron monitor check in. The check in will be sent to Sentry when the callback finishes.\n *\n * @param monitorSlug The distinct slug of the monitor.\n * @param upsertMonitorConfig An optional object that describes a monitor config. Use this if you want\n * to create a monitor automatically when sending a check in.\n */\nfunction withMonitor(\n monitorSlug,\n callback,\n upsertMonitorConfig,\n) {\n const checkInId = captureCheckIn({ monitorSlug, status: 'in_progress' }, upsertMonitorConfig);\n const now = timestampInSeconds();\n\n function finishCheckIn(status) {\n captureCheckIn({ monitorSlug, status, checkInId, duration: timestampInSeconds() - now });\n }\n\n let maybePromiseResult;\n try {\n maybePromiseResult = callback();\n } catch (e) {\n finishCheckIn('error');\n throw e;\n }\n\n if (isThenable(maybePromiseResult)) {\n Promise.resolve(maybePromiseResult).then(\n () => {\n finishCheckIn('ok');\n },\n () => {\n finishCheckIn('error');\n },\n );\n } else {\n finishCheckIn('ok');\n }\n\n return maybePromiseResult;\n}\n\n/**\n * Call `flush()` on the current client, if there is one. See {@link Client.flush}.\n *\n * @param timeout Maximum time in ms the client should wait to flush its event queue. Omitting this parameter will cause\n * the client to wait until all events are sent before resolving the promise.\n * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it\n * doesn't (or if there's no client defined).\n */\nasync function flush(timeout) {\n const client = getClient();\n if (client) {\n return client.flush(timeout);\n }\n DEBUG_BUILD && logger.warn('Cannot flush events. No client defined.');\n return Promise.resolve(false);\n}\n\n/**\n * Call `close()` on the current client, if there is one. See {@link Client.close}.\n *\n * @param timeout Maximum time in ms the client should wait to flush its event queue before shutting down. Omitting this\n * parameter will cause the client to wait until all events are sent before disabling itself.\n * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it\n * doesn't (or if there's no client defined).\n */\nasync function close(timeout) {\n const client = getClient();\n if (client) {\n return client.close(timeout);\n }\n DEBUG_BUILD && logger.warn('Cannot flush events and disable SDK. No client defined.');\n return Promise.resolve(false);\n}\n\n/**\n * This is the getter for lastEventId.\n *\n * @returns The last event id of a captured event.\n * @deprecated This function will be removed in the next major version of the Sentry SDK.\n */\nfunction lastEventId() {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().lastEventId();\n}\n\n/**\n * Get the currently active client.\n */\nfunction getClient() {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().getClient();\n}\n\n/**\n * Returns true if Sentry has been properly initialized.\n */\nfunction isInitialized() {\n return !!getClient();\n}\n\n/**\n * Get the currently active scope.\n */\nfunction getCurrentScope() {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().getScope();\n}\n\n/**\n * Start a session on the current isolation scope.\n *\n * @param context (optional) additional properties to be applied to the returned session object\n *\n * @returns the new active session\n */\nfunction startSession(context) {\n const client = getClient();\n const isolationScope = getIsolationScope();\n const currentScope = getCurrentScope();\n\n const { release, environment = DEFAULT_ENVIRONMENT } = (client && client.getOptions()) || {};\n\n // Will fetch userAgent if called from browser sdk\n const { userAgent } = GLOBAL_OBJ.navigator || {};\n\n const session = makeSession({\n release,\n environment,\n user: currentScope.getUser() || isolationScope.getUser(),\n ...(userAgent && { userAgent }),\n ...context,\n });\n\n // End existing session if there's one\n const currentSession = isolationScope.getSession();\n if (currentSession && currentSession.status === 'ok') {\n updateSession(currentSession, { status: 'exited' });\n }\n\n endSession();\n\n // Afterwards we set the new session on the scope\n isolationScope.setSession(session);\n\n // TODO (v8): Remove this and only use the isolation scope(?).\n // For v7 though, we can't \"soft-break\" people using getCurrentHub().getScope().setSession()\n currentScope.setSession(session);\n\n return session;\n}\n\n/**\n * End the session on the current isolation scope.\n */\nfunction endSession() {\n const isolationScope = getIsolationScope();\n const currentScope = getCurrentScope();\n\n const session = currentScope.getSession() || isolationScope.getSession();\n if (session) {\n closeSession(session);\n }\n _sendSessionUpdate();\n\n // the session is over; take it off of the scope\n isolationScope.setSession();\n\n // TODO (v8): Remove this and only use the isolation scope(?).\n // For v7 though, we can't \"soft-break\" people using getCurrentHub().getScope().setSession()\n currentScope.setSession();\n}\n\n/**\n * Sends the current Session on the scope\n */\nfunction _sendSessionUpdate() {\n const isolationScope = getIsolationScope();\n const currentScope = getCurrentScope();\n const client = getClient();\n // TODO (v8): Remove currentScope and only use the isolation scope(?).\n // For v7 though, we can't \"soft-break\" people using getCurrentHub().getScope().setSession()\n const session = currentScope.getSession() || isolationScope.getSession();\n if (session && client && client.captureSession) {\n client.captureSession(session);\n }\n}\n\n/**\n * Sends the current session on the scope to Sentry\n *\n * @param end If set the session will be marked as exited and removed from the scope.\n * Defaults to `false`.\n */\nfunction captureSession(end = false) {\n // both send the update and pull the session from the scope\n if (end) {\n endSession();\n return;\n }\n\n // only send the update\n _sendSessionUpdate();\n}\n\nexport { addBreadcrumb, captureCheckIn, captureEvent, captureException, captureMessage, captureSession, close, configureScope, endSession, flush, getClient, getCurrentScope, isInitialized, lastEventId, setContext, setExtra, setExtras, setTag, setTags, setUser, startSession, startTransaction, withActiveSpan, withIsolationScope, withMonitor, withScope };\n//# sourceMappingURL=exports.js.map\n","import { isThenable, uuid4, dateTimestampInSeconds, consoleSandbox, logger, GLOBAL_OBJ, getGlobalSingleton } from '@sentry/utils';\nimport { DEFAULT_ENVIRONMENT } from './constants.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { Scope } from './scope.js';\nimport { closeSession, makeSession, updateSession } from './session.js';\nimport { SDK_VERSION } from './version.js';\n\n/**\n * API compatibility version of this hub.\n *\n * WARNING: This number should only be increased when the global interface\n * changes and new methods are introduced.\n *\n * @hidden\n */\nconst API_VERSION = parseFloat(SDK_VERSION);\n\n/**\n * Default maximum number of breadcrumbs added to an event. Can be overwritten\n * with {@link Options.maxBreadcrumbs}.\n */\nconst DEFAULT_BREADCRUMBS = 100;\n\n/**\n * @inheritDoc\n */\nclass Hub {\n /** Is a {@link Layer}[] containing the client and scope */\n\n /** Contains the last event id of a captured event. */\n\n /**\n * Creates a new instance of the hub, will push one {@link Layer} into the\n * internal stack on creation.\n *\n * @param client bound to the hub.\n * @param scope bound to the hub.\n * @param version number, higher number means higher priority.\n *\n * @deprecated Instantiation of Hub objects is deprecated and the constructor will be removed in version 8 of the SDK.\n *\n * If you are currently using the Hub for multi-client use like so:\n *\n * ```\n * // OLD\n * const hub = new Hub();\n * hub.bindClient(client);\n * makeMain(hub)\n * ```\n *\n * instead initialize the client as follows:\n *\n * ```\n * // NEW\n * Sentry.withIsolationScope(() => {\n * Sentry.setCurrentClient(client);\n * client.init();\n * });\n * ```\n *\n * If you are using the Hub to capture events like so:\n *\n * ```\n * // OLD\n * const client = new Client();\n * const hub = new Hub(client);\n * hub.captureException()\n * ```\n *\n * instead capture isolated events as follows:\n *\n * ```\n * // NEW\n * const client = new Client();\n * const scope = new Scope();\n * scope.setClient(client);\n * scope.captureException();\n * ```\n */\n constructor(\n client,\n scope,\n isolationScope,\n _version = API_VERSION,\n ) {this._version = _version;\n let assignedScope;\n if (!scope) {\n assignedScope = new Scope();\n assignedScope.setClient(client);\n } else {\n assignedScope = scope;\n }\n\n let assignedIsolationScope;\n if (!isolationScope) {\n assignedIsolationScope = new Scope();\n assignedIsolationScope.setClient(client);\n } else {\n assignedIsolationScope = isolationScope;\n }\n\n this._stack = [{ scope: assignedScope }];\n\n if (client) {\n // eslint-disable-next-line deprecation/deprecation\n this.bindClient(client);\n }\n\n this._isolationScope = assignedIsolationScope;\n }\n\n /**\n * Checks if this hub's version is older than the given version.\n *\n * @param version A version number to compare to.\n * @return True if the given version is newer; otherwise false.\n *\n * @deprecated This will be removed in v8.\n */\n isOlderThan(version) {\n return this._version < version;\n }\n\n /**\n * This binds the given client to the current scope.\n * @param client An SDK client (client) instance.\n *\n * @deprecated Use `initAndBind()` directly, or `setCurrentClient()` and/or `client.init()` instead.\n */\n bindClient(client) {\n // eslint-disable-next-line deprecation/deprecation\n const top = this.getStackTop();\n top.client = client;\n top.scope.setClient(client);\n // eslint-disable-next-line deprecation/deprecation\n if (client && client.setupIntegrations) {\n // eslint-disable-next-line deprecation/deprecation\n client.setupIntegrations();\n }\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `withScope` instead.\n */\n pushScope() {\n // We want to clone the content of prev scope\n // eslint-disable-next-line deprecation/deprecation\n const scope = this.getScope().clone();\n // eslint-disable-next-line deprecation/deprecation\n this.getStack().push({\n // eslint-disable-next-line deprecation/deprecation\n client: this.getClient(),\n scope,\n });\n return scope;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `withScope` instead.\n */\n popScope() {\n // eslint-disable-next-line deprecation/deprecation\n if (this.getStack().length <= 1) return false;\n // eslint-disable-next-line deprecation/deprecation\n return !!this.getStack().pop();\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.withScope()` instead.\n */\n withScope(callback) {\n // eslint-disable-next-line deprecation/deprecation\n const scope = this.pushScope();\n\n let maybePromiseResult;\n try {\n maybePromiseResult = callback(scope);\n } catch (e) {\n // eslint-disable-next-line deprecation/deprecation\n this.popScope();\n throw e;\n }\n\n if (isThenable(maybePromiseResult)) {\n // @ts-expect-error - isThenable returns the wrong type\n return maybePromiseResult.then(\n res => {\n // eslint-disable-next-line deprecation/deprecation\n this.popScope();\n return res;\n },\n e => {\n // eslint-disable-next-line deprecation/deprecation\n this.popScope();\n throw e;\n },\n );\n }\n\n // eslint-disable-next-line deprecation/deprecation\n this.popScope();\n return maybePromiseResult;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.getClient()` instead.\n */\n getClient() {\n // eslint-disable-next-line deprecation/deprecation\n return this.getStackTop().client ;\n }\n\n /**\n * Returns the scope of the top stack.\n *\n * @deprecated Use `Sentry.getCurrentScope()` instead.\n */\n getScope() {\n // eslint-disable-next-line deprecation/deprecation\n return this.getStackTop().scope;\n }\n\n /**\n * @deprecated Use `Sentry.getIsolationScope()` instead.\n */\n getIsolationScope() {\n return this._isolationScope;\n }\n\n /**\n * Returns the scope stack for domains or the process.\n * @deprecated This will be removed in v8.\n */\n getStack() {\n return this._stack;\n }\n\n /**\n * Returns the topmost scope layer in the order domain > local > process.\n * @deprecated This will be removed in v8.\n */\n getStackTop() {\n return this._stack[this._stack.length - 1];\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.captureException()` instead.\n */\n captureException(exception, hint) {\n const eventId = (this._lastEventId = hint && hint.event_id ? hint.event_id : uuid4());\n const syntheticException = new Error('Sentry syntheticException');\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().captureException(exception, {\n originalException: exception,\n syntheticException,\n ...hint,\n event_id: eventId,\n });\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.captureMessage()` instead.\n */\n captureMessage(\n message,\n // eslint-disable-next-line deprecation/deprecation\n level,\n hint,\n ) {\n const eventId = (this._lastEventId = hint && hint.event_id ? hint.event_id : uuid4());\n const syntheticException = new Error(message);\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().captureMessage(message, level, {\n originalException: message,\n syntheticException,\n ...hint,\n event_id: eventId,\n });\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.captureEvent()` instead.\n */\n captureEvent(event, hint) {\n const eventId = hint && hint.event_id ? hint.event_id : uuid4();\n if (!event.type) {\n this._lastEventId = eventId;\n }\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().captureEvent(event, { ...hint, event_id: eventId });\n return eventId;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated This will be removed in v8.\n */\n lastEventId() {\n return this._lastEventId;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.addBreadcrumb()` instead.\n */\n addBreadcrumb(breadcrumb, hint) {\n // eslint-disable-next-line deprecation/deprecation\n const { scope, client } = this.getStackTop();\n\n if (!client) return;\n\n const { beforeBreadcrumb = null, maxBreadcrumbs = DEFAULT_BREADCRUMBS } =\n (client.getOptions && client.getOptions()) || {};\n\n if (maxBreadcrumbs <= 0) return;\n\n const timestamp = dateTimestampInSeconds();\n const mergedBreadcrumb = { timestamp, ...breadcrumb };\n const finalBreadcrumb = beforeBreadcrumb\n ? (consoleSandbox(() => beforeBreadcrumb(mergedBreadcrumb, hint)) )\n : mergedBreadcrumb;\n\n if (finalBreadcrumb === null) return;\n\n if (client.emit) {\n client.emit('beforeAddBreadcrumb', finalBreadcrumb, hint);\n }\n\n // TODO(v8): I know this comment doesn't make much sense because the hub will be deprecated but I still wanted to\n // write it down. In theory, we would have to add the breadcrumbs to the isolation scope here, however, that would\n // duplicate all of the breadcrumbs. There was the possibility of adding breadcrumbs to both, the isolation scope\n // and the normal scope, and deduplicating it down the line in the event processing pipeline. However, that would\n // have been very fragile, because the breadcrumb objects would have needed to keep their identity all throughout\n // the event processing pipeline.\n // In the new implementation, the top level `Sentry.addBreadcrumb()` should ONLY write to the isolation scope.\n\n scope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs);\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setUser()` instead.\n */\n setUser(user) {\n // TODO(v8): The top level `Sentry.setUser()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setUser(user);\n // eslint-disable-next-line deprecation/deprecation\n this.getIsolationScope().setUser(user);\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setTags()` instead.\n */\n setTags(tags) {\n // TODO(v8): The top level `Sentry.setTags()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setTags(tags);\n // eslint-disable-next-line deprecation/deprecation\n this.getIsolationScope().setTags(tags);\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setExtras()` instead.\n */\n setExtras(extras) {\n // TODO(v8): The top level `Sentry.setExtras()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setExtras(extras);\n // eslint-disable-next-line deprecation/deprecation\n this.getIsolationScope().setExtras(extras);\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setTag()` instead.\n */\n setTag(key, value) {\n // TODO(v8): The top level `Sentry.setTag()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setTag(key, value);\n // eslint-disable-next-line deprecation/deprecation\n this.getIsolationScope().setTag(key, value);\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setExtra()` instead.\n */\n setExtra(key, extra) {\n // TODO(v8): The top level `Sentry.setExtra()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setExtra(key, extra);\n // eslint-disable-next-line deprecation/deprecation\n this.getIsolationScope().setExtra(key, extra);\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setContext()` instead.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n setContext(name, context) {\n // TODO(v8): The top level `Sentry.setContext()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setContext(name, context);\n // eslint-disable-next-line deprecation/deprecation\n this.getIsolationScope().setContext(name, context);\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `getScope()` directly.\n */\n configureScope(callback) {\n // eslint-disable-next-line deprecation/deprecation\n const { scope, client } = this.getStackTop();\n if (client) {\n callback(scope);\n }\n }\n\n /**\n * @inheritDoc\n */\n run(callback) {\n // eslint-disable-next-line deprecation/deprecation\n const oldHub = makeMain(this);\n try {\n callback(this);\n } finally {\n // eslint-disable-next-line deprecation/deprecation\n makeMain(oldHub);\n }\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.getClient().getIntegrationByName()` instead.\n */\n getIntegration(integration) {\n // eslint-disable-next-line deprecation/deprecation\n const client = this.getClient();\n if (!client) return null;\n try {\n // eslint-disable-next-line deprecation/deprecation\n return client.getIntegration(integration);\n } catch (_oO) {\n DEBUG_BUILD && logger.warn(`Cannot retrieve integration ${integration.id} from the current Hub`);\n return null;\n }\n }\n\n /**\n * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.\n *\n * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a\n * new child span within the transaction or any span, call the respective `.startChild()` method.\n *\n * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.\n *\n * The transaction must be finished with a call to its `.end()` method, at which point the transaction with all its\n * finished child spans will be sent to Sentry.\n *\n * @param context Properties of the new `Transaction`.\n * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent\n * default values). See {@link Options.tracesSampler}.\n *\n * @returns The transaction which was just started\n *\n * @deprecated Use `startSpan()`, `startSpanManual()` or `startInactiveSpan()` instead.\n */\n startTransaction(context, customSamplingContext) {\n const result = this._callExtensionMethod('startTransaction', context, customSamplingContext);\n\n if (DEBUG_BUILD && !result) {\n // eslint-disable-next-line deprecation/deprecation\n const client = this.getClient();\n if (!client) {\n logger.warn(\n \"Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'\",\n );\n } else {\n logger.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n`);\n }\n }\n\n return result;\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `spanToTraceHeader()` instead.\n */\n traceHeaders() {\n return this._callExtensionMethod('traceHeaders');\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use top level `captureSession` instead.\n */\n captureSession(endSession = false) {\n // both send the update and pull the session from the scope\n if (endSession) {\n // eslint-disable-next-line deprecation/deprecation\n return this.endSession();\n }\n\n // only send the update\n this._sendSessionUpdate();\n }\n\n /**\n * @inheritDoc\n * @deprecated Use top level `endSession` instead.\n */\n endSession() {\n // eslint-disable-next-line deprecation/deprecation\n const layer = this.getStackTop();\n const scope = layer.scope;\n const session = scope.getSession();\n if (session) {\n closeSession(session);\n }\n this._sendSessionUpdate();\n\n // the session is over; take it off of the scope\n scope.setSession();\n }\n\n /**\n * @inheritDoc\n * @deprecated Use top level `startSession` instead.\n */\n startSession(context) {\n // eslint-disable-next-line deprecation/deprecation\n const { scope, client } = this.getStackTop();\n const { release, environment = DEFAULT_ENVIRONMENT } = (client && client.getOptions()) || {};\n\n // Will fetch userAgent if called from browser sdk\n const { userAgent } = GLOBAL_OBJ.navigator || {};\n\n const session = makeSession({\n release,\n environment,\n user: scope.getUser(),\n ...(userAgent && { userAgent }),\n ...context,\n });\n\n // End existing session if there's one\n const currentSession = scope.getSession && scope.getSession();\n if (currentSession && currentSession.status === 'ok') {\n updateSession(currentSession, { status: 'exited' });\n }\n // eslint-disable-next-line deprecation/deprecation\n this.endSession();\n\n // Afterwards we set the new session on the scope\n scope.setSession(session);\n\n return session;\n }\n\n /**\n * Returns if default PII should be sent to Sentry and propagated in ourgoing requests\n * when Tracing is used.\n *\n * @deprecated Use top-level `getClient().getOptions().sendDefaultPii` instead. This function\n * only unnecessarily increased API surface but only wrapped accessing the option.\n */\n shouldSendDefaultPii() {\n // eslint-disable-next-line deprecation/deprecation\n const client = this.getClient();\n const options = client && client.getOptions();\n return Boolean(options && options.sendDefaultPii);\n }\n\n /**\n * Sends the current Session on the scope\n */\n _sendSessionUpdate() {\n // eslint-disable-next-line deprecation/deprecation\n const { scope, client } = this.getStackTop();\n\n const session = scope.getSession();\n if (session && client && client.captureSession) {\n client.captureSession(session);\n }\n }\n\n /**\n * Calls global extension method and binding current instance to the function call\n */\n // @ts-expect-error Function lacks ending return statement and return type does not include 'undefined'. ts(2366)\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n _callExtensionMethod(method, ...args) {\n const carrier = getMainCarrier();\n const sentry = carrier.__SENTRY__;\n if (sentry && sentry.extensions && typeof sentry.extensions[method] === 'function') {\n return sentry.extensions[method].apply(this, args);\n }\n DEBUG_BUILD && logger.warn(`Extension method ${method} couldn't be found, doing nothing.`);\n }\n}\n\n/**\n * Returns the global shim registry.\n *\n * FIXME: This function is problematic, because despite always returning a valid Carrier,\n * it has an optional `__SENTRY__` property, which then in turn requires us to always perform an unnecessary check\n * at the call-site. We always access the carrier through this function, so we can guarantee that `__SENTRY__` is there.\n **/\nfunction getMainCarrier() {\n GLOBAL_OBJ.__SENTRY__ = GLOBAL_OBJ.__SENTRY__ || {\n extensions: {},\n hub: undefined,\n };\n return GLOBAL_OBJ;\n}\n\n/**\n * Replaces the current main hub with the passed one on the global object\n *\n * @returns The old replaced hub\n *\n * @deprecated Use `setCurrentClient()` instead.\n */\nfunction makeMain(hub) {\n const registry = getMainCarrier();\n const oldHub = getHubFromCarrier(registry);\n setHubOnCarrier(registry, hub);\n return oldHub;\n}\n\n/**\n * Returns the default hub instance.\n *\n * If a hub is already registered in the global carrier but this module\n * contains a more recent version, it replaces the registered version.\n * Otherwise, the currently registered hub will be returned.\n *\n * @deprecated Use the respective replacement method directly instead.\n */\nfunction getCurrentHub() {\n // Get main carrier (global for every environment)\n const registry = getMainCarrier();\n\n if (registry.__SENTRY__ && registry.__SENTRY__.acs) {\n const hub = registry.__SENTRY__.acs.getCurrentHub();\n\n if (hub) {\n return hub;\n }\n }\n\n // Return hub that lives on a global object\n return getGlobalHub(registry);\n}\n\n/**\n * Get the currently active isolation scope.\n * The isolation scope is active for the current exection context,\n * meaning that it will remain stable for the same Hub.\n */\nfunction getIsolationScope() {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().getIsolationScope();\n}\n\nfunction getGlobalHub(registry = getMainCarrier()) {\n // If there's no hub, or its an old API, assign a new one\n\n if (\n !hasHubOnCarrier(registry) ||\n // eslint-disable-next-line deprecation/deprecation\n getHubFromCarrier(registry).isOlderThan(API_VERSION)\n ) {\n // eslint-disable-next-line deprecation/deprecation\n setHubOnCarrier(registry, new Hub());\n }\n\n // Return hub that lives on a global object\n return getHubFromCarrier(registry);\n}\n\n/**\n * @private Private API with no semver guarantees!\n *\n * If the carrier does not contain a hub, a new hub is created with the global hub client and scope.\n */\nfunction ensureHubOnCarrier(carrier, parent = getGlobalHub()) {\n // If there's no hub on current domain, or it's an old API, assign a new one\n if (\n !hasHubOnCarrier(carrier) ||\n // eslint-disable-next-line deprecation/deprecation\n getHubFromCarrier(carrier).isOlderThan(API_VERSION)\n ) {\n // eslint-disable-next-line deprecation/deprecation\n const client = parent.getClient();\n // eslint-disable-next-line deprecation/deprecation\n const scope = parent.getScope();\n // eslint-disable-next-line deprecation/deprecation\n const isolationScope = parent.getIsolationScope();\n // eslint-disable-next-line deprecation/deprecation\n setHubOnCarrier(carrier, new Hub(client, scope.clone(), isolationScope.clone()));\n }\n}\n\n/**\n * @private Private API with no semver guarantees!\n *\n * Sets the global async context strategy\n */\nfunction setAsyncContextStrategy(strategy) {\n // Get main carrier (global for every environment)\n const registry = getMainCarrier();\n registry.__SENTRY__ = registry.__SENTRY__ || {};\n registry.__SENTRY__.acs = strategy;\n}\n\n/**\n * Runs the supplied callback in its own async context. Async Context strategies are defined per SDK.\n *\n * @param callback The callback to run in its own async context\n * @param options Options to pass to the async context strategy\n * @returns The result of the callback\n */\nfunction runWithAsyncContext(callback, options = {}) {\n const registry = getMainCarrier();\n\n if (registry.__SENTRY__ && registry.__SENTRY__.acs) {\n return registry.__SENTRY__.acs.runWithAsyncContext(callback, options);\n }\n\n // if there was no strategy, fallback to just calling the callback\n return callback();\n}\n\n/**\n * This will tell whether a carrier has a hub on it or not\n * @param carrier object\n */\nfunction hasHubOnCarrier(carrier) {\n return !!(carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub);\n}\n\n/**\n * This will create a new {@link Hub} and add to the passed object on\n * __SENTRY__.hub.\n * @param carrier object\n * @hidden\n */\nfunction getHubFromCarrier(carrier) {\n // eslint-disable-next-line deprecation/deprecation\n return getGlobalSingleton('hub', () => new Hub(), carrier);\n}\n\n/**\n * This will set passed {@link Hub} on the passed object's __SENTRY__.hub attribute\n * @param carrier object\n * @param hub Hub\n * @returns A boolean indicating success or failure\n */\nfunction setHubOnCarrier(carrier, hub) {\n if (!carrier) return false;\n const __SENTRY__ = (carrier.__SENTRY__ = carrier.__SENTRY__ || {});\n __SENTRY__.hub = hub;\n return true;\n}\n\nexport { API_VERSION, Hub, ensureHubOnCarrier, getCurrentHub, getHubFromCarrier, getIsolationScope, getMainCarrier, makeMain, runWithAsyncContext, setAsyncContextStrategy, setHubOnCarrier };\n//# sourceMappingURL=hub.js.map\n","import { isPlainObject, dateTimestampInSeconds, uuid4, logger } from '@sentry/utils';\nimport { getGlobalEventProcessors, notifyEventProcessors } from './eventProcessors.js';\nimport { updateSession } from './session.js';\nimport { applyScopeDataToEvent } from './utils/applyScopeDataToEvent.js';\n\n/**\n * Default value for maximum number of breadcrumbs added to an event.\n */\nconst DEFAULT_MAX_BREADCRUMBS = 100;\n\n/**\n * The global scope is kept in this module.\n * When accessing this via `getGlobalScope()` we'll make sure to set one if none is currently present.\n */\nlet globalScope;\n\n/**\n * Holds additional event information. {@link Scope.applyToEvent} will be\n * called by the client before an event will be sent.\n */\nclass Scope {\n /** Flag if notifying is happening. */\n\n /** Callback for client to receive scope changes. */\n\n /** Callback list that will be called after {@link applyToEvent}. */\n\n /** Array of breadcrumbs. */\n\n /** User */\n\n /** Tags */\n\n /** Extra */\n\n /** Contexts */\n\n /** Attachments */\n\n /** Propagation Context for distributed tracing */\n\n /**\n * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get\n * sent to Sentry\n */\n\n /** Fingerprint */\n\n /** Severity */\n // eslint-disable-next-line deprecation/deprecation\n\n /**\n * Transaction Name\n */\n\n /** Span */\n\n /** Session */\n\n /** Request Mode Session Status */\n\n /** The client on this scope */\n\n // NOTE: Any field which gets added here should get added not only to the constructor but also to the `clone` method.\n\n constructor() {\n this._notifyingListeners = false;\n this._scopeListeners = [];\n this._eventProcessors = [];\n this._breadcrumbs = [];\n this._attachments = [];\n this._user = {};\n this._tags = {};\n this._extra = {};\n this._contexts = {};\n this._sdkProcessingMetadata = {};\n this._propagationContext = generatePropagationContext();\n }\n\n /**\n * Inherit values from the parent scope.\n * @deprecated Use `scope.clone()` and `new Scope()` instead.\n */\n static clone(scope) {\n return scope ? scope.clone() : new Scope();\n }\n\n /**\n * Clone this scope instance.\n */\n clone() {\n const newScope = new Scope();\n newScope._breadcrumbs = [...this._breadcrumbs];\n newScope._tags = { ...this._tags };\n newScope._extra = { ...this._extra };\n newScope._contexts = { ...this._contexts };\n newScope._user = this._user;\n newScope._level = this._level;\n newScope._span = this._span;\n newScope._session = this._session;\n newScope._transactionName = this._transactionName;\n newScope._fingerprint = this._fingerprint;\n newScope._eventProcessors = [...this._eventProcessors];\n newScope._requestSession = this._requestSession;\n newScope._attachments = [...this._attachments];\n newScope._sdkProcessingMetadata = { ...this._sdkProcessingMetadata };\n newScope._propagationContext = { ...this._propagationContext };\n newScope._client = this._client;\n\n return newScope;\n }\n\n /** Update the client on the scope. */\n setClient(client) {\n this._client = client;\n }\n\n /**\n * Get the client assigned to this scope.\n *\n * It is generally recommended to use the global function `Sentry.getClient()` instead, unless you know what you are doing.\n */\n getClient() {\n return this._client;\n }\n\n /**\n * Add internal on change listener. Used for sub SDKs that need to store the scope.\n * @hidden\n */\n addScopeListener(callback) {\n this._scopeListeners.push(callback);\n }\n\n /**\n * @inheritDoc\n */\n addEventProcessor(callback) {\n this._eventProcessors.push(callback);\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setUser(user) {\n // If null is passed we want to unset everything, but still define keys,\n // so that later down in the pipeline any existing values are cleared.\n this._user = user || {\n email: undefined,\n id: undefined,\n ip_address: undefined,\n segment: undefined,\n username: undefined,\n };\n\n if (this._session) {\n updateSession(this._session, { user });\n }\n\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n getUser() {\n return this._user;\n }\n\n /**\n * @inheritDoc\n */\n getRequestSession() {\n return this._requestSession;\n }\n\n /**\n * @inheritDoc\n */\n setRequestSession(requestSession) {\n this._requestSession = requestSession;\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setTags(tags) {\n this._tags = {\n ...this._tags,\n ...tags,\n };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setTag(key, value) {\n this._tags = { ...this._tags, [key]: value };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setExtras(extras) {\n this._extra = {\n ...this._extra,\n ...extras,\n };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setExtra(key, extra) {\n this._extra = { ...this._extra, [key]: extra };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setFingerprint(fingerprint) {\n this._fingerprint = fingerprint;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setLevel(\n // eslint-disable-next-line deprecation/deprecation\n level,\n ) {\n this._level = level;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * Sets the transaction name on the scope for future events.\n */\n setTransactionName(name) {\n this._transactionName = name;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setContext(key, context) {\n if (context === null) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._contexts[key];\n } else {\n this._contexts[key] = context;\n }\n\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * Sets the Span on the scope.\n * @param span Span\n * @deprecated Instead of setting a span on a scope, use `startSpan()`/`startSpanManual()` instead.\n */\n setSpan(span) {\n this._span = span;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * Returns the `Span` if there is one.\n * @deprecated Use `getActiveSpan()` instead.\n */\n getSpan() {\n return this._span;\n }\n\n /**\n * Returns the `Transaction` attached to the scope (if there is one).\n * @deprecated You should not rely on the transaction, but just use `startSpan()` APIs instead.\n */\n getTransaction() {\n // Often, this span (if it exists at all) will be a transaction, but it's not guaranteed to be. Regardless, it will\n // have a pointer to the currently-active transaction.\n const span = this._span;\n // Cannot replace with getRootSpan because getRootSpan returns a span, not a transaction\n // Also, this method will be removed anyway.\n // eslint-disable-next-line deprecation/deprecation\n return span && span.transaction;\n }\n\n /**\n * @inheritDoc\n */\n setSession(session) {\n if (!session) {\n delete this._session;\n } else {\n this._session = session;\n }\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n getSession() {\n return this._session;\n }\n\n /**\n * @inheritDoc\n */\n update(captureContext) {\n if (!captureContext) {\n return this;\n }\n\n const scopeToMerge = typeof captureContext === 'function' ? captureContext(this) : captureContext;\n\n if (scopeToMerge instanceof Scope) {\n const scopeData = scopeToMerge.getScopeData();\n\n this._tags = { ...this._tags, ...scopeData.tags };\n this._extra = { ...this._extra, ...scopeData.extra };\n this._contexts = { ...this._contexts, ...scopeData.contexts };\n if (scopeData.user && Object.keys(scopeData.user).length) {\n this._user = scopeData.user;\n }\n if (scopeData.level) {\n this._level = scopeData.level;\n }\n if (scopeData.fingerprint.length) {\n this._fingerprint = scopeData.fingerprint;\n }\n if (scopeToMerge.getRequestSession()) {\n this._requestSession = scopeToMerge.getRequestSession();\n }\n if (scopeData.propagationContext) {\n this._propagationContext = scopeData.propagationContext;\n }\n } else if (isPlainObject(scopeToMerge)) {\n const scopeContext = captureContext ;\n this._tags = { ...this._tags, ...scopeContext.tags };\n this._extra = { ...this._extra, ...scopeContext.extra };\n this._contexts = { ...this._contexts, ...scopeContext.contexts };\n if (scopeContext.user) {\n this._user = scopeContext.user;\n }\n if (scopeContext.level) {\n this._level = scopeContext.level;\n }\n if (scopeContext.fingerprint) {\n this._fingerprint = scopeContext.fingerprint;\n }\n if (scopeContext.requestSession) {\n this._requestSession = scopeContext.requestSession;\n }\n if (scopeContext.propagationContext) {\n this._propagationContext = scopeContext.propagationContext;\n }\n }\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n clear() {\n this._breadcrumbs = [];\n this._tags = {};\n this._extra = {};\n this._user = {};\n this._contexts = {};\n this._level = undefined;\n this._transactionName = undefined;\n this._fingerprint = undefined;\n this._requestSession = undefined;\n this._span = undefined;\n this._session = undefined;\n this._notifyScopeListeners();\n this._attachments = [];\n this._propagationContext = generatePropagationContext();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n addBreadcrumb(breadcrumb, maxBreadcrumbs) {\n const maxCrumbs = typeof maxBreadcrumbs === 'number' ? maxBreadcrumbs : DEFAULT_MAX_BREADCRUMBS;\n\n // No data has been changed, so don't notify scope listeners\n if (maxCrumbs <= 0) {\n return this;\n }\n\n const mergedBreadcrumb = {\n timestamp: dateTimestampInSeconds(),\n ...breadcrumb,\n };\n\n const breadcrumbs = this._breadcrumbs;\n breadcrumbs.push(mergedBreadcrumb);\n this._breadcrumbs = breadcrumbs.length > maxCrumbs ? breadcrumbs.slice(-maxCrumbs) : breadcrumbs;\n\n this._notifyScopeListeners();\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n getLastBreadcrumb() {\n return this._breadcrumbs[this._breadcrumbs.length - 1];\n }\n\n /**\n * @inheritDoc\n */\n clearBreadcrumbs() {\n this._breadcrumbs = [];\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n addAttachment(attachment) {\n this._attachments.push(attachment);\n return this;\n }\n\n /**\n * @inheritDoc\n * @deprecated Use `getScopeData()` instead.\n */\n getAttachments() {\n const data = this.getScopeData();\n\n return data.attachments;\n }\n\n /**\n * @inheritDoc\n */\n clearAttachments() {\n this._attachments = [];\n return this;\n }\n\n /** @inheritDoc */\n getScopeData() {\n const {\n _breadcrumbs,\n _attachments,\n _contexts,\n _tags,\n _extra,\n _user,\n _level,\n _fingerprint,\n _eventProcessors,\n _propagationContext,\n _sdkProcessingMetadata,\n _transactionName,\n _span,\n } = this;\n\n return {\n breadcrumbs: _breadcrumbs,\n attachments: _attachments,\n contexts: _contexts,\n tags: _tags,\n extra: _extra,\n user: _user,\n level: _level,\n fingerprint: _fingerprint || [],\n eventProcessors: _eventProcessors,\n propagationContext: _propagationContext,\n sdkProcessingMetadata: _sdkProcessingMetadata,\n transactionName: _transactionName,\n span: _span,\n };\n }\n\n /**\n * Applies data from the scope to the event and runs all event processors on it.\n *\n * @param event Event\n * @param hint Object containing additional information about the original exception, for use by the event processors.\n * @hidden\n * @deprecated Use `applyScopeDataToEvent()` directly\n */\n applyToEvent(\n event,\n hint = {},\n additionalEventProcessors = [],\n ) {\n applyScopeDataToEvent(event, this.getScopeData());\n\n // TODO (v8): Update this order to be: Global > Client > Scope\n const eventProcessors = [\n ...additionalEventProcessors,\n // eslint-disable-next-line deprecation/deprecation\n ...getGlobalEventProcessors(),\n ...this._eventProcessors,\n ];\n\n return notifyEventProcessors(eventProcessors, event, hint);\n }\n\n /**\n * Add data which will be accessible during event processing but won't get sent to Sentry\n */\n setSDKProcessingMetadata(newData) {\n this._sdkProcessingMetadata = { ...this._sdkProcessingMetadata, ...newData };\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n setPropagationContext(context) {\n this._propagationContext = context;\n return this;\n }\n\n /**\n * @inheritDoc\n */\n getPropagationContext() {\n return this._propagationContext;\n }\n\n /**\n * Capture an exception for this scope.\n *\n * @param exception The exception to capture.\n * @param hint Optinal additional data to attach to the Sentry event.\n * @returns the id of the captured Sentry event.\n */\n captureException(exception, hint) {\n const eventId = hint && hint.event_id ? hint.event_id : uuid4();\n\n if (!this._client) {\n logger.warn('No client configured on scope - will not capture exception!');\n return eventId;\n }\n\n const syntheticException = new Error('Sentry syntheticException');\n\n this._client.captureException(\n exception,\n {\n originalException: exception,\n syntheticException,\n ...hint,\n event_id: eventId,\n },\n this,\n );\n\n return eventId;\n }\n\n /**\n * Capture a message for this scope.\n *\n * @param message The message to capture.\n * @param level An optional severity level to report the message with.\n * @param hint Optional additional data to attach to the Sentry event.\n * @returns the id of the captured message.\n */\n captureMessage(message, level, hint) {\n const eventId = hint && hint.event_id ? hint.event_id : uuid4();\n\n if (!this._client) {\n logger.warn('No client configured on scope - will not capture message!');\n return eventId;\n }\n\n const syntheticException = new Error(message);\n\n this._client.captureMessage(\n message,\n level,\n {\n originalException: message,\n syntheticException,\n ...hint,\n event_id: eventId,\n },\n this,\n );\n\n return eventId;\n }\n\n /**\n * Captures a manually created event for this scope and sends it to Sentry.\n *\n * @param exception The event to capture.\n * @param hint Optional additional data to attach to the Sentry event.\n * @returns the id of the captured event.\n */\n captureEvent(event, hint) {\n const eventId = hint && hint.event_id ? hint.event_id : uuid4();\n\n if (!this._client) {\n logger.warn('No client configured on scope - will not capture event!');\n return eventId;\n }\n\n this._client.captureEvent(event, { ...hint, event_id: eventId }, this);\n\n return eventId;\n }\n\n /**\n * This will be called on every set call.\n */\n _notifyScopeListeners() {\n // We need this check for this._notifyingListeners to be able to work on scope during updates\n // If this check is not here we'll produce endless recursion when something is done with the scope\n // during the callback.\n if (!this._notifyingListeners) {\n this._notifyingListeners = true;\n this._scopeListeners.forEach(callback => {\n callback(this);\n });\n this._notifyingListeners = false;\n }\n }\n}\n\n/**\n * Get the global scope.\n * This scope is applied to _all_ events.\n */\nfunction getGlobalScope() {\n if (!globalScope) {\n globalScope = new Scope();\n }\n\n return globalScope;\n}\n\n/**\n * This is mainly needed for tests.\n * DO NOT USE this, as this is an internal API and subject to change.\n * @hidden\n */\nfunction setGlobalScope(scope) {\n globalScope = scope;\n}\n\nfunction generatePropagationContext() {\n return {\n traceId: uuid4(),\n spanId: uuid4().substring(16),\n };\n}\n\nexport { Scope, getGlobalScope, setGlobalScope };\n//# sourceMappingURL=scope.js.map\n","import { timestampInSeconds, uuid4, dropUndefinedKeys } from '@sentry/utils';\n\n/**\n * Creates a new `Session` object by setting certain default parameters. If optional @param context\n * is passed, the passed properties are applied to the session object.\n *\n * @param context (optional) additional properties to be applied to the returned session object\n *\n * @returns a new `Session` object\n */\nfunction makeSession(context) {\n // Both timestamp and started are in seconds since the UNIX epoch.\n const startingTime = timestampInSeconds();\n\n const session = {\n sid: uuid4(),\n init: true,\n timestamp: startingTime,\n started: startingTime,\n duration: 0,\n status: 'ok',\n errors: 0,\n ignoreDuration: false,\n toJSON: () => sessionToJSON(session),\n };\n\n if (context) {\n updateSession(session, context);\n }\n\n return session;\n}\n\n/**\n * Updates a session object with the properties passed in the context.\n *\n * Note that this function mutates the passed object and returns void.\n * (Had to do this instead of returning a new and updated session because closing and sending a session\n * makes an update to the session after it was passed to the sending logic.\n * @see BaseClient.captureSession )\n *\n * @param session the `Session` to update\n * @param context the `SessionContext` holding the properties that should be updated in @param session\n */\n// eslint-disable-next-line complexity\nfunction updateSession(session, context = {}) {\n if (context.user) {\n if (!session.ipAddress && context.user.ip_address) {\n session.ipAddress = context.user.ip_address;\n }\n\n if (!session.did && !context.did) {\n session.did = context.user.id || context.user.email || context.user.username;\n }\n }\n\n session.timestamp = context.timestamp || timestampInSeconds();\n\n if (context.abnormal_mechanism) {\n session.abnormal_mechanism = context.abnormal_mechanism;\n }\n\n if (context.ignoreDuration) {\n session.ignoreDuration = context.ignoreDuration;\n }\n if (context.sid) {\n // Good enough uuid validation. — Kamil\n session.sid = context.sid.length === 32 ? context.sid : uuid4();\n }\n if (context.init !== undefined) {\n session.init = context.init;\n }\n if (!session.did && context.did) {\n session.did = `${context.did}`;\n }\n if (typeof context.started === 'number') {\n session.started = context.started;\n }\n if (session.ignoreDuration) {\n session.duration = undefined;\n } else if (typeof context.duration === 'number') {\n session.duration = context.duration;\n } else {\n const duration = session.timestamp - session.started;\n session.duration = duration >= 0 ? duration : 0;\n }\n if (context.release) {\n session.release = context.release;\n }\n if (context.environment) {\n session.environment = context.environment;\n }\n if (!session.ipAddress && context.ipAddress) {\n session.ipAddress = context.ipAddress;\n }\n if (!session.userAgent && context.userAgent) {\n session.userAgent = context.userAgent;\n }\n if (typeof context.errors === 'number') {\n session.errors = context.errors;\n }\n if (context.status) {\n session.status = context.status;\n }\n}\n\n/**\n * Closes a session by setting its status and updating the session object with it.\n * Internally calls `updateSession` to update the passed session object.\n *\n * Note that this function mutates the passed session (@see updateSession for explanation).\n *\n * @param session the `Session` object to be closed\n * @param status the `SessionStatus` with which the session was closed. If you don't pass a status,\n * this function will keep the previously set status, unless it was `'ok'` in which case\n * it is changed to `'exited'`.\n */\nfunction closeSession(session, status) {\n let context = {};\n if (status) {\n context = { status };\n } else if (session.status === 'ok') {\n context = { status: 'exited' };\n }\n\n updateSession(session, context);\n}\n\n/**\n * Serializes a passed session object to a JSON object with a slightly different structure.\n * This is necessary because the Sentry backend requires a slightly different schema of a session\n * than the one the JS SDKs use internally.\n *\n * @param session the session to be converted\n *\n * @returns a JSON object of the passed session\n */\nfunction sessionToJSON(session) {\n return dropUndefinedKeys({\n sid: `${session.sid}`,\n init: session.init,\n // Make sure that sec is converted to ms for date constructor\n started: new Date(session.started * 1000).toISOString(),\n timestamp: new Date(session.timestamp * 1000).toISOString(),\n status: session.status,\n errors: session.errors,\n did: typeof session.did === 'number' || typeof session.did === 'string' ? `${session.did}` : undefined,\n duration: session.duration,\n abnormal_mechanism: session.abnormal_mechanism,\n attrs: {\n release: session.release,\n environment: session.environment,\n ip_address: session.ipAddress,\n user_agent: session.userAgent,\n },\n });\n}\n\nexport { closeSession, makeSession, updateSession };\n//# sourceMappingURL=session.js.map\n","import { dropUndefinedKeys } from '@sentry/utils';\nimport { DEFAULT_ENVIRONMENT } from '../constants.js';\nimport { getClient, getCurrentScope } from '../exports.js';\nimport { getRootSpan } from '../utils/getRootSpan.js';\nimport { spanToJSON, spanIsSampled } from '../utils/spanUtils.js';\n\n/**\n * Creates a dynamic sampling context from a client.\n *\n * Dispatches the `createDsc` lifecycle hook as a side effect.\n */\nfunction getDynamicSamplingContextFromClient(\n trace_id,\n client,\n scope,\n) {\n const options = client.getOptions();\n\n const { publicKey: public_key } = client.getDsn() || {};\n // TODO(v8): Remove segment from User\n // eslint-disable-next-line deprecation/deprecation\n const { segment: user_segment } = (scope && scope.getUser()) || {};\n\n const dsc = dropUndefinedKeys({\n environment: options.environment || DEFAULT_ENVIRONMENT,\n release: options.release,\n user_segment,\n public_key,\n trace_id,\n }) ;\n\n client.emit && client.emit('createDsc', dsc);\n\n return dsc;\n}\n\n/**\n * A Span with a frozen dynamic sampling context.\n */\n\n/**\n * Creates a dynamic sampling context from a span (and client and scope)\n *\n * @param span the span from which a few values like the root span name and sample rate are extracted.\n *\n * @returns a dynamic sampling context\n */\nfunction getDynamicSamplingContextFromSpan(span) {\n const client = getClient();\n if (!client) {\n return {};\n }\n\n // passing emit=false here to only emit later once the DSC is actually populated\n const dsc = getDynamicSamplingContextFromClient(spanToJSON(span).trace_id || '', client, getCurrentScope());\n\n // TODO (v8): Remove v7FrozenDsc as a Transaction will no longer have _frozenDynamicSamplingContext\n const txn = getRootSpan(span) ;\n if (!txn) {\n return dsc;\n }\n\n // TODO (v8): Remove v7FrozenDsc as a Transaction will no longer have _frozenDynamicSamplingContext\n // For now we need to avoid breaking users who directly created a txn with a DSC, where this field is still set.\n // @see Transaction class constructor\n const v7FrozenDsc = txn && txn._frozenDynamicSamplingContext;\n if (v7FrozenDsc) {\n return v7FrozenDsc;\n }\n\n // TODO (v8): Replace txn.metadata with txn.attributes[]\n // We can't do this yet because attributes aren't always set yet.\n // eslint-disable-next-line deprecation/deprecation\n const { sampleRate: maybeSampleRate, source } = txn.metadata;\n if (maybeSampleRate != null) {\n dsc.sample_rate = `${maybeSampleRate}`;\n }\n\n // We don't want to have a transaction name in the DSC if the source is \"url\" because URLs might contain PII\n const jsonSpan = spanToJSON(txn);\n\n // after JSON conversion, txn.name becomes jsonSpan.description\n if (source && source !== 'url') {\n dsc.transaction = jsonSpan.description;\n }\n\n dsc.sampled = String(spanIsSampled(txn));\n\n client.emit && client.emit('createDsc', dsc);\n\n return dsc;\n}\n\nexport { getDynamicSamplingContextFromClient, getDynamicSamplingContextFromSpan };\n//# sourceMappingURL=dynamicSamplingContext.js.map\n","import { dropUndefinedKeys, arrayify } from '@sentry/utils';\nimport { getDynamicSamplingContextFromSpan } from '../tracing/dynamicSamplingContext.js';\nimport { getRootSpan } from './getRootSpan.js';\nimport { spanToTraceContext, spanToJSON } from './spanUtils.js';\n\n/**\n * Applies data from the scope to the event and runs all event processors on it.\n */\nfunction applyScopeDataToEvent(event, data) {\n const { fingerprint, span, breadcrumbs, sdkProcessingMetadata } = data;\n\n // Apply general data\n applyDataToEvent(event, data);\n\n // We want to set the trace context for normal events only if there isn't already\n // a trace context on the event. There is a product feature in place where we link\n // errors with transaction and it relies on that.\n if (span) {\n applySpanToEvent(event, span);\n }\n\n applyFingerprintToEvent(event, fingerprint);\n applyBreadcrumbsToEvent(event, breadcrumbs);\n applySdkMetadataToEvent(event, sdkProcessingMetadata);\n}\n\n/** Merge data of two scopes together. */\nfunction mergeScopeData(data, mergeData) {\n const {\n extra,\n tags,\n user,\n contexts,\n level,\n sdkProcessingMetadata,\n breadcrumbs,\n fingerprint,\n eventProcessors,\n attachments,\n propagationContext,\n // eslint-disable-next-line deprecation/deprecation\n transactionName,\n span,\n } = mergeData;\n\n mergeAndOverwriteScopeData(data, 'extra', extra);\n mergeAndOverwriteScopeData(data, 'tags', tags);\n mergeAndOverwriteScopeData(data, 'user', user);\n mergeAndOverwriteScopeData(data, 'contexts', contexts);\n mergeAndOverwriteScopeData(data, 'sdkProcessingMetadata', sdkProcessingMetadata);\n\n if (level) {\n data.level = level;\n }\n\n if (transactionName) {\n // eslint-disable-next-line deprecation/deprecation\n data.transactionName = transactionName;\n }\n\n if (span) {\n data.span = span;\n }\n\n if (breadcrumbs.length) {\n data.breadcrumbs = [...data.breadcrumbs, ...breadcrumbs];\n }\n\n if (fingerprint.length) {\n data.fingerprint = [...data.fingerprint, ...fingerprint];\n }\n\n if (eventProcessors.length) {\n data.eventProcessors = [...data.eventProcessors, ...eventProcessors];\n }\n\n if (attachments.length) {\n data.attachments = [...data.attachments, ...attachments];\n }\n\n data.propagationContext = { ...data.propagationContext, ...propagationContext };\n}\n\n/**\n * Merges certain scope data. Undefined values will overwrite any existing values.\n * Exported only for tests.\n */\nfunction mergeAndOverwriteScopeData\n\n(data, prop, mergeVal) {\n if (mergeVal && Object.keys(mergeVal).length) {\n // Clone object\n data[prop] = { ...data[prop] };\n for (const key in mergeVal) {\n if (Object.prototype.hasOwnProperty.call(mergeVal, key)) {\n data[prop][key] = mergeVal[key];\n }\n }\n }\n}\n\nfunction applyDataToEvent(event, data) {\n const {\n extra,\n tags,\n user,\n contexts,\n level,\n // eslint-disable-next-line deprecation/deprecation\n transactionName,\n } = data;\n\n const cleanedExtra = dropUndefinedKeys(extra);\n if (cleanedExtra && Object.keys(cleanedExtra).length) {\n event.extra = { ...cleanedExtra, ...event.extra };\n }\n\n const cleanedTags = dropUndefinedKeys(tags);\n if (cleanedTags && Object.keys(cleanedTags).length) {\n event.tags = { ...cleanedTags, ...event.tags };\n }\n\n const cleanedUser = dropUndefinedKeys(user);\n if (cleanedUser && Object.keys(cleanedUser).length) {\n event.user = { ...cleanedUser, ...event.user };\n }\n\n const cleanedContexts = dropUndefinedKeys(contexts);\n if (cleanedContexts && Object.keys(cleanedContexts).length) {\n event.contexts = { ...cleanedContexts, ...event.contexts };\n }\n\n if (level) {\n event.level = level;\n }\n\n if (transactionName) {\n event.transaction = transactionName;\n }\n}\n\nfunction applyBreadcrumbsToEvent(event, breadcrumbs) {\n const mergedBreadcrumbs = [...(event.breadcrumbs || []), ...breadcrumbs];\n event.breadcrumbs = mergedBreadcrumbs.length ? mergedBreadcrumbs : undefined;\n}\n\nfunction applySdkMetadataToEvent(event, sdkProcessingMetadata) {\n event.sdkProcessingMetadata = {\n ...event.sdkProcessingMetadata,\n ...sdkProcessingMetadata,\n };\n}\n\nfunction applySpanToEvent(event, span) {\n event.contexts = { trace: spanToTraceContext(span), ...event.contexts };\n const rootSpan = getRootSpan(span);\n if (rootSpan) {\n event.sdkProcessingMetadata = {\n dynamicSamplingContext: getDynamicSamplingContextFromSpan(span),\n ...event.sdkProcessingMetadata,\n };\n const transactionName = spanToJSON(rootSpan).description;\n if (transactionName) {\n event.tags = { transaction: transactionName, ...event.tags };\n }\n }\n}\n\n/**\n * Applies fingerprint from the scope to the event if there's one,\n * uses message if there's one instead or get rid of empty fingerprint\n */\nfunction applyFingerprintToEvent(event, fingerprint) {\n // Make sure it's an array first and we actually have something in place\n event.fingerprint = event.fingerprint ? arrayify(event.fingerprint) : [];\n\n // If we have something on the scope, then merge it with event\n if (fingerprint) {\n event.fingerprint = event.fingerprint.concat(fingerprint);\n }\n\n // If we have no data at all, remove empty array default\n if (event.fingerprint && !event.fingerprint.length) {\n delete event.fingerprint;\n }\n}\n\nexport { applyScopeDataToEvent, mergeAndOverwriteScopeData, mergeScopeData };\n//# sourceMappingURL=applyScopeDataToEvent.js.map\n","/**\n * Returns the root span of a given span.\n *\n * As long as we use `Transaction`s internally, the returned root span\n * will be a `Transaction` but be aware that this might change in the future.\n *\n * If the given span has no root span or transaction, `undefined` is returned.\n */\nfunction getRootSpan(span) {\n // TODO (v8): Remove this check and just return span\n // eslint-disable-next-line deprecation/deprecation\n return span.transaction;\n}\n\nexport { getRootSpan };\n//# sourceMappingURL=getRootSpan.js.map\n","import { uuid4, dateTimestampInSeconds, addExceptionMechanism, truncate, GLOBAL_OBJ, normalize } from '@sentry/utils';\nimport { DEFAULT_ENVIRONMENT } from '../constants.js';\nimport { getGlobalEventProcessors, notifyEventProcessors } from '../eventProcessors.js';\nimport { getGlobalScope, Scope } from '../scope.js';\nimport { mergeScopeData, applyScopeDataToEvent } from './applyScopeDataToEvent.js';\nimport { spanToJSON } from './spanUtils.js';\n\n/**\n * This type makes sure that we get either a CaptureContext, OR an EventHint.\n * It does not allow mixing them, which could lead to unexpected outcomes, e.g. this is disallowed:\n * { user: { id: '123' }, mechanism: { handled: false } }\n */\n\n/**\n * Adds common information to events.\n *\n * The information includes release and environment from `options`,\n * breadcrumbs and context (extra, tags and user) from the scope.\n *\n * Information that is already present in the event is never overwritten. For\n * nested objects, such as the context, keys are merged.\n *\n * Note: This also triggers callbacks for `addGlobalEventProcessor`, but not `beforeSend`.\n *\n * @param event The original event.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A new event with more information.\n * @hidden\n */\nfunction prepareEvent(\n options,\n event,\n hint,\n scope,\n client,\n isolationScope,\n) {\n const { normalizeDepth = 3, normalizeMaxBreadth = 1000 } = options;\n const prepared = {\n ...event,\n event_id: event.event_id || hint.event_id || uuid4(),\n timestamp: event.timestamp || dateTimestampInSeconds(),\n };\n const integrations = hint.integrations || options.integrations.map(i => i.name);\n\n applyClientOptions(prepared, options);\n applyIntegrationsMetadata(prepared, integrations);\n\n // Only put debug IDs onto frames for error events.\n if (event.type === undefined) {\n applyDebugIds(prepared, options.stackParser);\n }\n\n // If we have scope given to us, use it as the base for further modifications.\n // This allows us to prevent unnecessary copying of data if `captureContext` is not provided.\n const finalScope = getFinalScope(scope, hint.captureContext);\n\n if (hint.mechanism) {\n addExceptionMechanism(prepared, hint.mechanism);\n }\n\n const clientEventProcessors = client && client.getEventProcessors ? client.getEventProcessors() : [];\n\n // This should be the last thing called, since we want that\n // {@link Hub.addEventProcessor} gets the finished prepared event.\n // Merge scope data together\n const data = getGlobalScope().getScopeData();\n\n if (isolationScope) {\n const isolationData = isolationScope.getScopeData();\n mergeScopeData(data, isolationData);\n }\n\n if (finalScope) {\n const finalScopeData = finalScope.getScopeData();\n mergeScopeData(data, finalScopeData);\n }\n\n const attachments = [...(hint.attachments || []), ...data.attachments];\n if (attachments.length) {\n hint.attachments = attachments;\n }\n\n applyScopeDataToEvent(prepared, data);\n\n // TODO (v8): Update this order to be: Global > Client > Scope\n const eventProcessors = [\n ...clientEventProcessors,\n // eslint-disable-next-line deprecation/deprecation\n ...getGlobalEventProcessors(),\n // Run scope event processors _after_ all other processors\n ...data.eventProcessors,\n ];\n\n const result = notifyEventProcessors(eventProcessors, prepared, hint);\n\n return result.then(evt => {\n if (evt) {\n // We apply the debug_meta field only after all event processors have ran, so that if any event processors modified\n // file names (e.g.the RewriteFrames integration) the filename -> debug ID relationship isn't destroyed.\n // This should not cause any PII issues, since we're only moving data that is already on the event and not adding\n // any new data\n applyDebugMeta(evt);\n }\n\n if (typeof normalizeDepth === 'number' && normalizeDepth > 0) {\n return normalizeEvent(evt, normalizeDepth, normalizeMaxBreadth);\n }\n return evt;\n });\n}\n\n/**\n * Enhances event using the client configuration.\n * It takes care of all \"static\" values like environment, release and `dist`,\n * as well as truncating overly long values.\n * @param event event instance to be enhanced\n */\nfunction applyClientOptions(event, options) {\n const { environment, release, dist, maxValueLength = 250 } = options;\n\n if (!('environment' in event)) {\n event.environment = 'environment' in options ? environment : DEFAULT_ENVIRONMENT;\n }\n\n if (event.release === undefined && release !== undefined) {\n event.release = release;\n }\n\n if (event.dist === undefined && dist !== undefined) {\n event.dist = dist;\n }\n\n if (event.message) {\n event.message = truncate(event.message, maxValueLength);\n }\n\n const exception = event.exception && event.exception.values && event.exception.values[0];\n if (exception && exception.value) {\n exception.value = truncate(exception.value, maxValueLength);\n }\n\n const request = event.request;\n if (request && request.url) {\n request.url = truncate(request.url, maxValueLength);\n }\n}\n\nconst debugIdStackParserCache = new WeakMap();\n\n/**\n * Puts debug IDs into the stack frames of an error event.\n */\nfunction applyDebugIds(event, stackParser) {\n const debugIdMap = GLOBAL_OBJ._sentryDebugIds;\n\n if (!debugIdMap) {\n return;\n }\n\n let debugIdStackFramesCache;\n const cachedDebugIdStackFrameCache = debugIdStackParserCache.get(stackParser);\n if (cachedDebugIdStackFrameCache) {\n debugIdStackFramesCache = cachedDebugIdStackFrameCache;\n } else {\n debugIdStackFramesCache = new Map();\n debugIdStackParserCache.set(stackParser, debugIdStackFramesCache);\n }\n\n // Build a map of filename -> debug_id\n const filenameDebugIdMap = Object.keys(debugIdMap).reduce((acc, debugIdStackTrace) => {\n let parsedStack;\n const cachedParsedStack = debugIdStackFramesCache.get(debugIdStackTrace);\n if (cachedParsedStack) {\n parsedStack = cachedParsedStack;\n } else {\n parsedStack = stackParser(debugIdStackTrace);\n debugIdStackFramesCache.set(debugIdStackTrace, parsedStack);\n }\n\n for (let i = parsedStack.length - 1; i >= 0; i--) {\n const stackFrame = parsedStack[i];\n if (stackFrame.filename) {\n acc[stackFrame.filename] = debugIdMap[debugIdStackTrace];\n break;\n }\n }\n return acc;\n }, {});\n\n try {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n event.exception.values.forEach(exception => {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n exception.stacktrace.frames.forEach(frame => {\n if (frame.filename) {\n frame.debug_id = filenameDebugIdMap[frame.filename];\n }\n });\n });\n } catch (e) {\n // To save bundle size we're just try catching here instead of checking for the existence of all the different objects.\n }\n}\n\n/**\n * Moves debug IDs from the stack frames of an error event into the debug_meta field.\n */\nfunction applyDebugMeta(event) {\n // Extract debug IDs and filenames from the stack frames on the event.\n const filenameDebugIdMap = {};\n try {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n event.exception.values.forEach(exception => {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n exception.stacktrace.frames.forEach(frame => {\n if (frame.debug_id) {\n if (frame.abs_path) {\n filenameDebugIdMap[frame.abs_path] = frame.debug_id;\n } else if (frame.filename) {\n filenameDebugIdMap[frame.filename] = frame.debug_id;\n }\n delete frame.debug_id;\n }\n });\n });\n } catch (e) {\n // To save bundle size we're just try catching here instead of checking for the existence of all the different objects.\n }\n\n if (Object.keys(filenameDebugIdMap).length === 0) {\n return;\n }\n\n // Fill debug_meta information\n event.debug_meta = event.debug_meta || {};\n event.debug_meta.images = event.debug_meta.images || [];\n const images = event.debug_meta.images;\n Object.keys(filenameDebugIdMap).forEach(filename => {\n images.push({\n type: 'sourcemap',\n code_file: filename,\n debug_id: filenameDebugIdMap[filename],\n });\n });\n}\n\n/**\n * This function adds all used integrations to the SDK info in the event.\n * @param event The event that will be filled with all integrations.\n */\nfunction applyIntegrationsMetadata(event, integrationNames) {\n if (integrationNames.length > 0) {\n event.sdk = event.sdk || {};\n event.sdk.integrations = [...(event.sdk.integrations || []), ...integrationNames];\n }\n}\n\n/**\n * Applies `normalize` function on necessary `Event` attributes to make them safe for serialization.\n * Normalized keys:\n * - `breadcrumbs.data`\n * - `user`\n * - `contexts`\n * - `extra`\n * @param event Event\n * @returns Normalized event\n */\nfunction normalizeEvent(event, depth, maxBreadth) {\n if (!event) {\n return null;\n }\n\n const normalized = {\n ...event,\n ...(event.breadcrumbs && {\n breadcrumbs: event.breadcrumbs.map(b => ({\n ...b,\n ...(b.data && {\n data: normalize(b.data, depth, maxBreadth),\n }),\n })),\n }),\n ...(event.user && {\n user: normalize(event.user, depth, maxBreadth),\n }),\n ...(event.contexts && {\n contexts: normalize(event.contexts, depth, maxBreadth),\n }),\n ...(event.extra && {\n extra: normalize(event.extra, depth, maxBreadth),\n }),\n };\n\n // event.contexts.trace stores information about a Transaction. Similarly,\n // event.spans[] stores information about child Spans. Given that a\n // Transaction is conceptually a Span, normalization should apply to both\n // Transactions and Spans consistently.\n // For now the decision is to skip normalization of Transactions and Spans,\n // so this block overwrites the normalized event to add back the original\n // Transaction information prior to normalization.\n if (event.contexts && event.contexts.trace && normalized.contexts) {\n normalized.contexts.trace = event.contexts.trace;\n\n // event.contexts.trace.data may contain circular/dangerous data so we need to normalize it\n if (event.contexts.trace.data) {\n normalized.contexts.trace.data = normalize(event.contexts.trace.data, depth, maxBreadth);\n }\n }\n\n // event.spans[].data may contain circular/dangerous data so we need to normalize it\n if (event.spans) {\n normalized.spans = event.spans.map(span => {\n const data = spanToJSON(span).data;\n\n if (data) {\n // This is a bit weird, as we generally have `Span` instances here, but to be safe we do not assume so\n // eslint-disable-next-line deprecation/deprecation\n span.data = normalize(data, depth, maxBreadth);\n }\n\n return span;\n });\n }\n\n return normalized;\n}\n\nfunction getFinalScope(scope, captureContext) {\n if (!captureContext) {\n return scope;\n }\n\n const finalScope = scope ? scope.clone() : new Scope();\n finalScope.update(captureContext);\n return finalScope;\n}\n\n/**\n * Parse either an `EventHint` directly, or convert a `CaptureContext` to an `EventHint`.\n * This is used to allow to update method signatures that used to accept a `CaptureContext` but should now accept an `EventHint`.\n */\nfunction parseEventHintOrCaptureContext(\n hint,\n) {\n if (!hint) {\n return undefined;\n }\n\n // If you pass a Scope or `() => Scope` as CaptureContext, we just return this as captureContext\n if (hintIsScopeOrFunction(hint)) {\n return { captureContext: hint };\n }\n\n if (hintIsScopeContext(hint)) {\n return {\n captureContext: hint,\n };\n }\n\n return hint;\n}\n\nfunction hintIsScopeOrFunction(\n hint,\n) {\n return hint instanceof Scope || typeof hint === 'function';\n}\n\nconst captureContextKeys = [\n 'user',\n 'level',\n 'extra',\n 'contexts',\n 'tags',\n 'fingerprint',\n 'requestSession',\n 'propagationContext',\n] ;\n\nfunction hintIsScopeContext(hint) {\n return Object.keys(hint).some(key => captureContextKeys.includes(key ));\n}\n\nexport { applyDebugIds, applyDebugMeta, parseEventHintOrCaptureContext, prepareEvent };\n//# sourceMappingURL=prepareEvent.js.map\n","import { dropUndefinedKeys, generateSentryTraceHeader, timestampInSeconds } from '@sentry/utils';\n\n// These are aligned with OpenTelemetry trace flags\nconst TRACE_FLAG_NONE = 0x0;\nconst TRACE_FLAG_SAMPLED = 0x1;\n\n/**\n * Convert a span to a trace context, which can be sent as the `trace` context in an event.\n */\nfunction spanToTraceContext(span) {\n const { spanId: span_id, traceId: trace_id } = span.spanContext();\n const { data, op, parent_span_id, status, tags, origin } = spanToJSON(span);\n\n return dropUndefinedKeys({\n data,\n op,\n parent_span_id,\n span_id,\n status,\n tags,\n trace_id,\n origin,\n });\n}\n\n/**\n * Convert a Span to a Sentry trace header.\n */\nfunction spanToTraceHeader(span) {\n const { traceId, spanId } = span.spanContext();\n const sampled = spanIsSampled(span);\n return generateSentryTraceHeader(traceId, spanId, sampled);\n}\n\n/**\n * Convert a span time input intp a timestamp in seconds.\n */\nfunction spanTimeInputToSeconds(input) {\n if (typeof input === 'number') {\n return ensureTimestampInSeconds(input);\n }\n\n if (Array.isArray(input)) {\n // See {@link HrTime} for the array-based time format\n return input[0] + input[1] / 1e9;\n }\n\n if (input instanceof Date) {\n return ensureTimestampInSeconds(input.getTime());\n }\n\n return timestampInSeconds();\n}\n\n/**\n * Converts a timestamp to second, if it was in milliseconds, or keeps it as second.\n */\nfunction ensureTimestampInSeconds(timestamp) {\n const isMs = timestamp > 9999999999;\n return isMs ? timestamp / 1000 : timestamp;\n}\n\n/**\n * Convert a span to a JSON representation.\n * Note that all fields returned here are optional and need to be guarded against.\n *\n * Note: Because of this, we currently have a circular type dependency (which we opted out of in package.json).\n * This is not avoidable as we need `spanToJSON` in `spanUtils.ts`, which in turn is needed by `span.ts` for backwards compatibility.\n * And `spanToJSON` needs the Span class from `span.ts` to check here.\n * TODO v8: When we remove the deprecated stuff from `span.ts`, we can remove the circular dependency again.\n */\nfunction spanToJSON(span) {\n if (spanIsSpanClass(span)) {\n return span.getSpanJSON();\n }\n\n // Fallback: We also check for `.toJSON()` here...\n // eslint-disable-next-line deprecation/deprecation\n if (typeof span.toJSON === 'function') {\n // eslint-disable-next-line deprecation/deprecation\n return span.toJSON();\n }\n\n return {};\n}\n\n/**\n * Sadly, due to circular dependency checks we cannot actually import the Span class here and check for instanceof.\n * :( So instead we approximate this by checking if it has the `getSpanJSON` method.\n */\nfunction spanIsSpanClass(span) {\n return typeof (span ).getSpanJSON === 'function';\n}\n\n/**\n * Returns true if a span is sampled.\n * In most cases, you should just use `span.isRecording()` instead.\n * However, this has a slightly different semantic, as it also returns false if the span is finished.\n * So in the case where this distinction is important, use this method.\n */\nfunction spanIsSampled(span) {\n // We align our trace flags with the ones OpenTelemetry use\n // So we also check for sampled the same way they do.\n const { traceFlags } = span.spanContext();\n // eslint-disable-next-line no-bitwise\n return Boolean(traceFlags & TRACE_FLAG_SAMPLED);\n}\n\nexport { TRACE_FLAG_NONE, TRACE_FLAG_SAMPLED, spanIsSampled, spanTimeInputToSeconds, spanToJSON, spanToTraceContext, spanToTraceHeader };\n//# sourceMappingURL=spanUtils.js.map\n","const SDK_VERSION = '7.109.0';\n\nexport { SDK_VERSION };\n//# sourceMappingURL=version.js.map\n","import { DEBUG_BUILD } from './debug-build.js';\nimport { isString } from './is.js';\nimport { logger } from './logger.js';\n\nconst BAGGAGE_HEADER_NAME = 'baggage';\n\nconst SENTRY_BAGGAGE_KEY_PREFIX = 'sentry-';\n\nconst SENTRY_BAGGAGE_KEY_PREFIX_REGEX = /^sentry-/;\n\n/**\n * Max length of a serialized baggage string\n *\n * https://www.w3.org/TR/baggage/#limits\n */\nconst MAX_BAGGAGE_STRING_LENGTH = 8192;\n\n/**\n * Takes a baggage header and turns it into Dynamic Sampling Context, by extracting all the \"sentry-\" prefixed values\n * from it.\n *\n * @param baggageHeader A very bread definition of a baggage header as it might appear in various frameworks.\n * @returns The Dynamic Sampling Context that was found on `baggageHeader`, if there was any, `undefined` otherwise.\n */\nfunction baggageHeaderToDynamicSamplingContext(\n // Very liberal definition of what any incoming header might look like\n baggageHeader,\n) {\n if (!isString(baggageHeader) && !Array.isArray(baggageHeader)) {\n return undefined;\n }\n\n // Intermediary object to store baggage key value pairs of incoming baggage headers on.\n // It is later used to read Sentry-DSC-values from.\n let baggageObject = {};\n\n if (Array.isArray(baggageHeader)) {\n // Combine all baggage headers into one object containing the baggage values so we can later read the Sentry-DSC-values from it\n baggageObject = baggageHeader.reduce((acc, curr) => {\n const currBaggageObject = baggageHeaderToObject(curr);\n for (const key of Object.keys(currBaggageObject)) {\n acc[key] = currBaggageObject[key];\n }\n return acc;\n }, {});\n } else {\n // Return undefined if baggage header is an empty string (technically an empty baggage header is not spec conform but\n // this is how we choose to handle it)\n if (!baggageHeader) {\n return undefined;\n }\n\n baggageObject = baggageHeaderToObject(baggageHeader);\n }\n\n // Read all \"sentry-\" prefixed values out of the baggage object and put it onto a dynamic sampling context object.\n const dynamicSamplingContext = Object.entries(baggageObject).reduce((acc, [key, value]) => {\n if (key.match(SENTRY_BAGGAGE_KEY_PREFIX_REGEX)) {\n const nonPrefixedKey = key.slice(SENTRY_BAGGAGE_KEY_PREFIX.length);\n acc[nonPrefixedKey] = value;\n }\n return acc;\n }, {});\n\n // Only return a dynamic sampling context object if there are keys in it.\n // A keyless object means there were no sentry values on the header, which means that there is no DSC.\n if (Object.keys(dynamicSamplingContext).length > 0) {\n return dynamicSamplingContext ;\n } else {\n return undefined;\n }\n}\n\n/**\n * Turns a Dynamic Sampling Object into a baggage header by prefixing all the keys on the object with \"sentry-\".\n *\n * @param dynamicSamplingContext The Dynamic Sampling Context to turn into a header. For convenience and compatibility\n * with the `getDynamicSamplingContext` method on the Transaction class ,this argument can also be `undefined`. If it is\n * `undefined` the function will return `undefined`.\n * @returns a baggage header, created from `dynamicSamplingContext`, or `undefined` either if `dynamicSamplingContext`\n * was `undefined`, or if `dynamicSamplingContext` didn't contain any values.\n */\nfunction dynamicSamplingContextToSentryBaggageHeader(\n // this also takes undefined for convenience and bundle size in other places\n dynamicSamplingContext,\n) {\n if (!dynamicSamplingContext) {\n return undefined;\n }\n\n // Prefix all DSC keys with \"sentry-\" and put them into a new object\n const sentryPrefixedDSC = Object.entries(dynamicSamplingContext).reduce(\n (acc, [dscKey, dscValue]) => {\n if (dscValue) {\n acc[`${SENTRY_BAGGAGE_KEY_PREFIX}${dscKey}`] = dscValue;\n }\n return acc;\n },\n {},\n );\n\n return objectToBaggageHeader(sentryPrefixedDSC);\n}\n\n/**\n * Will parse a baggage header, which is a simple key-value map, into a flat object.\n *\n * @param baggageHeader The baggage header to parse.\n * @returns a flat object containing all the key-value pairs from `baggageHeader`.\n */\nfunction baggageHeaderToObject(baggageHeader) {\n return baggageHeader\n .split(',')\n .map(baggageEntry => baggageEntry.split('=').map(keyOrValue => decodeURIComponent(keyOrValue.trim())))\n .reduce((acc, [key, value]) => {\n acc[key] = value;\n return acc;\n }, {});\n}\n\n/**\n * Turns a flat object (key-value pairs) into a baggage header, which is also just key-value pairs.\n *\n * @param object The object to turn into a baggage header.\n * @returns a baggage header string, or `undefined` if the object didn't have any values, since an empty baggage header\n * is not spec compliant.\n */\nfunction objectToBaggageHeader(object) {\n if (Object.keys(object).length === 0) {\n // An empty baggage header is not spec compliant: We return undefined.\n return undefined;\n }\n\n return Object.entries(object).reduce((baggageHeader, [objectKey, objectValue], currentIndex) => {\n const baggageEntry = `${encodeURIComponent(objectKey)}=${encodeURIComponent(objectValue)}`;\n const newBaggageHeader = currentIndex === 0 ? baggageEntry : `${baggageHeader},${baggageEntry}`;\n if (newBaggageHeader.length > MAX_BAGGAGE_STRING_LENGTH) {\n DEBUG_BUILD &&\n logger.warn(\n `Not adding key: ${objectKey} with val: ${objectValue} to baggage header due to exceeding baggage size limits.`,\n );\n return baggageHeader;\n } else {\n return newBaggageHeader;\n }\n }, '');\n}\n\nexport { BAGGAGE_HEADER_NAME, MAX_BAGGAGE_STRING_LENGTH, SENTRY_BAGGAGE_KEY_PREFIX, SENTRY_BAGGAGE_KEY_PREFIX_REGEX, baggageHeaderToDynamicSamplingContext, dynamicSamplingContextToSentryBaggageHeader };\n//# sourceMappingURL=baggage.js.map\n","import { isString } from './is.js';\nimport { getGlobalObject } from './worldwide.js';\n\n// eslint-disable-next-line deprecation/deprecation\nconst WINDOW = getGlobalObject();\n\nconst DEFAULT_MAX_STRING_LENGTH = 80;\n\n/**\n * Given a child DOM element, returns a query-selector statement describing that\n * and its ancestors\n * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]\n * @returns generated DOM path\n */\nfunction htmlTreeAsString(\n elem,\n options = {},\n) {\n if (!elem) {\n return '';\n }\n\n // try/catch both:\n // - accessing event.target (see getsentry/raven-js#838, #768)\n // - `htmlTreeAsString` because it's complex, and just accessing the DOM incorrectly\n // - can throw an exception in some circumstances.\n try {\n let currentElem = elem ;\n const MAX_TRAVERSE_HEIGHT = 5;\n const out = [];\n let height = 0;\n let len = 0;\n const separator = ' > ';\n const sepLength = separator.length;\n let nextStr;\n const keyAttrs = Array.isArray(options) ? options : options.keyAttrs;\n const maxStringLength = (!Array.isArray(options) && options.maxStringLength) || DEFAULT_MAX_STRING_LENGTH;\n\n while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) {\n nextStr = _htmlElementAsString(currentElem, keyAttrs);\n // bail out if\n // - nextStr is the 'html' element\n // - the length of the string that would be created exceeds maxStringLength\n // (ignore this limit if we are on the first iteration)\n if (nextStr === 'html' || (height > 1 && len + out.length * sepLength + nextStr.length >= maxStringLength)) {\n break;\n }\n\n out.push(nextStr);\n\n len += nextStr.length;\n currentElem = currentElem.parentNode;\n }\n\n return out.reverse().join(separator);\n } catch (_oO) {\n return '';\n }\n}\n\n/**\n * Returns a simple, query-selector representation of a DOM element\n * e.g. [HTMLElement] => input#foo.btn[name=baz]\n * @returns generated DOM path\n */\nfunction _htmlElementAsString(el, keyAttrs) {\n const elem = el\n\n;\n\n const out = [];\n let className;\n let classes;\n let key;\n let attr;\n let i;\n\n if (!elem || !elem.tagName) {\n return '';\n }\n\n // @ts-expect-error WINDOW has HTMLElement\n if (WINDOW.HTMLElement) {\n // If using the component name annotation plugin, this value may be available on the DOM node\n if (elem instanceof HTMLElement && elem.dataset && elem.dataset['sentryComponent']) {\n return elem.dataset['sentryComponent'];\n }\n }\n\n out.push(elem.tagName.toLowerCase());\n\n // Pairs of attribute keys defined in `serializeAttribute` and their values on element.\n const keyAttrPairs =\n keyAttrs && keyAttrs.length\n ? keyAttrs.filter(keyAttr => elem.getAttribute(keyAttr)).map(keyAttr => [keyAttr, elem.getAttribute(keyAttr)])\n : null;\n\n if (keyAttrPairs && keyAttrPairs.length) {\n keyAttrPairs.forEach(keyAttrPair => {\n out.push(`[${keyAttrPair[0]}=\"${keyAttrPair[1]}\"]`);\n });\n } else {\n if (elem.id) {\n out.push(`#${elem.id}`);\n }\n\n // eslint-disable-next-line prefer-const\n className = elem.className;\n if (className && isString(className)) {\n classes = className.split(/\\s+/);\n for (i = 0; i < classes.length; i++) {\n out.push(`.${classes[i]}`);\n }\n }\n }\n const allowedAttrs = ['aria-label', 'type', 'name', 'title', 'alt'];\n for (i = 0; i < allowedAttrs.length; i++) {\n key = allowedAttrs[i];\n attr = elem.getAttribute(key);\n if (attr) {\n out.push(`[${key}=\"${attr}\"]`);\n }\n }\n return out.join('');\n}\n\n/**\n * A safe form of location.href\n */\nfunction getLocationHref() {\n try {\n return WINDOW.document.location.href;\n } catch (oO) {\n return '';\n }\n}\n\n/**\n * Gets a DOM element by using document.querySelector.\n *\n * This wrapper will first check for the existance of the function before\n * actually calling it so that we don't have to take care of this check,\n * every time we want to access the DOM.\n *\n * Reason: DOM/querySelector is not available in all environments.\n *\n * We have to cast to any because utils can be consumed by a variety of environments,\n * and we don't want to break TS users. If you know what element will be selected by\n * `document.querySelector`, specify it as part of the generic call. For example,\n * `const element = getDomElement('selector');`\n *\n * @param selector the selector string passed on to document.querySelector\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction getDomElement(selector) {\n if (WINDOW.document && WINDOW.document.querySelector) {\n return WINDOW.document.querySelector(selector) ;\n }\n return null;\n}\n\n/**\n * Given a DOM element, traverses up the tree until it finds the first ancestor node\n * that has the `data-sentry-component` attribute. This attribute is added at build-time\n * by projects that have the component name annotation plugin installed.\n *\n * @returns a string representation of the component for the provided DOM element, or `null` if not found\n */\nfunction getComponentName(elem) {\n // @ts-expect-error WINDOW has HTMLElement\n if (!WINDOW.HTMLElement) {\n return null;\n }\n\n let currentElem = elem ;\n const MAX_TRAVERSE_HEIGHT = 5;\n for (let i = 0; i < MAX_TRAVERSE_HEIGHT; i++) {\n if (!currentElem) {\n return null;\n }\n\n if (currentElem instanceof HTMLElement && currentElem.dataset['sentryComponent']) {\n return currentElem.dataset['sentryComponent'];\n }\n\n currentElem = currentElem.parentNode;\n }\n\n return null;\n}\n\nexport { getComponentName, getDomElement, getLocationHref, htmlTreeAsString };\n//# sourceMappingURL=browser.js.map\n","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nconst DEBUG_BUILD = (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__);\n\nexport { DEBUG_BUILD };\n//# sourceMappingURL=debug-build.js.map\n","// eslint-disable-next-line @typescript-eslint/unbound-method\nconst objectToString = Object.prototype.toString;\n\n/**\n * Checks whether given value's type is one of a few Error or Error-like\n * {@link isError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isError(wat) {\n switch (objectToString.call(wat)) {\n case '[object Error]':\n case '[object Exception]':\n case '[object DOMException]':\n return true;\n default:\n return isInstanceOf(wat, Error);\n }\n}\n/**\n * Checks whether given value is an instance of the given built-in class.\n *\n * @param wat The value to be checked\n * @param className\n * @returns A boolean representing the result.\n */\nfunction isBuiltin(wat, className) {\n return objectToString.call(wat) === `[object ${className}]`;\n}\n\n/**\n * Checks whether given value's type is ErrorEvent\n * {@link isErrorEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isErrorEvent(wat) {\n return isBuiltin(wat, 'ErrorEvent');\n}\n\n/**\n * Checks whether given value's type is DOMError\n * {@link isDOMError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isDOMError(wat) {\n return isBuiltin(wat, 'DOMError');\n}\n\n/**\n * Checks whether given value's type is DOMException\n * {@link isDOMException}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isDOMException(wat) {\n return isBuiltin(wat, 'DOMException');\n}\n\n/**\n * Checks whether given value's type is a string\n * {@link isString}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isString(wat) {\n return isBuiltin(wat, 'String');\n}\n\n/**\n * Checks whether given string is parameterized\n * {@link isParameterizedString}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isParameterizedString(wat) {\n return (\n typeof wat === 'object' &&\n wat !== null &&\n '__sentry_template_string__' in wat &&\n '__sentry_template_values__' in wat\n );\n}\n\n/**\n * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol)\n * {@link isPrimitive}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isPrimitive(wat) {\n return wat === null || isParameterizedString(wat) || (typeof wat !== 'object' && typeof wat !== 'function');\n}\n\n/**\n * Checks whether given value's type is an object literal, or a class instance.\n * {@link isPlainObject}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isPlainObject(wat) {\n return isBuiltin(wat, 'Object');\n}\n\n/**\n * Checks whether given value's type is an Event instance\n * {@link isEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isEvent(wat) {\n return typeof Event !== 'undefined' && isInstanceOf(wat, Event);\n}\n\n/**\n * Checks whether given value's type is an Element instance\n * {@link isElement}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isElement(wat) {\n return typeof Element !== 'undefined' && isInstanceOf(wat, Element);\n}\n\n/**\n * Checks whether given value's type is an regexp\n * {@link isRegExp}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isRegExp(wat) {\n return isBuiltin(wat, 'RegExp');\n}\n\n/**\n * Checks whether given value has a then function.\n * @param wat A value to be checked.\n */\nfunction isThenable(wat) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return Boolean(wat && wat.then && typeof wat.then === 'function');\n}\n\n/**\n * Checks whether given value's type is a SyntheticEvent\n * {@link isSyntheticEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isSyntheticEvent(wat) {\n return isPlainObject(wat) && 'nativeEvent' in wat && 'preventDefault' in wat && 'stopPropagation' in wat;\n}\n\n/**\n * Checks whether given value is NaN\n * {@link isNaN}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isNaN(wat) {\n return typeof wat === 'number' && wat !== wat;\n}\n\n/**\n * Checks whether given value's type is an instance of provided constructor.\n * {@link isInstanceOf}.\n *\n * @param wat A value to be checked.\n * @param base A constructor to be used in a check.\n * @returns A boolean representing the result.\n */\nfunction isInstanceOf(wat, base) {\n try {\n return wat instanceof base;\n } catch (_e) {\n return false;\n }\n}\n\n/**\n * Checks whether given value's type is a Vue ViewModel.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nfunction isVueViewModel(wat) {\n // Not using Object.prototype.toString because in Vue 3 it would read the instance's Symbol(Symbol.toStringTag) property.\n return !!(typeof wat === 'object' && wat !== null && ((wat ).__isVue || (wat )._isVue));\n}\n\nexport { isDOMError, isDOMException, isElement, isError, isErrorEvent, isEvent, isInstanceOf, isNaN, isParameterizedString, isPlainObject, isPrimitive, isRegExp, isString, isSyntheticEvent, isThenable, isVueViewModel };\n//# sourceMappingURL=is.js.map\n","import { DEBUG_BUILD } from './debug-build.js';\nimport { GLOBAL_OBJ } from './worldwide.js';\n\n/** Prefix for logging strings */\nconst PREFIX = 'Sentry Logger ';\n\nconst CONSOLE_LEVELS = [\n 'debug',\n 'info',\n 'warn',\n 'error',\n 'log',\n 'assert',\n 'trace',\n] ;\n\n/** This may be mutated by the console instrumentation. */\nconst originalConsoleMethods\n\n = {};\n\n/** JSDoc */\n\n/**\n * Temporarily disable sentry console instrumentations.\n *\n * @param callback The function to run against the original `console` messages\n * @returns The results of the callback\n */\nfunction consoleSandbox(callback) {\n if (!('console' in GLOBAL_OBJ)) {\n return callback();\n }\n\n const console = GLOBAL_OBJ.console ;\n const wrappedFuncs = {};\n\n const wrappedLevels = Object.keys(originalConsoleMethods) ;\n\n // Restore all wrapped console methods\n wrappedLevels.forEach(level => {\n const originalConsoleMethod = originalConsoleMethods[level] ;\n wrappedFuncs[level] = console[level] ;\n console[level] = originalConsoleMethod;\n });\n\n try {\n return callback();\n } finally {\n // Revert restoration to wrapped state\n wrappedLevels.forEach(level => {\n console[level] = wrappedFuncs[level] ;\n });\n }\n}\n\nfunction makeLogger() {\n let enabled = false;\n const logger = {\n enable: () => {\n enabled = true;\n },\n disable: () => {\n enabled = false;\n },\n isEnabled: () => enabled,\n };\n\n if (DEBUG_BUILD) {\n CONSOLE_LEVELS.forEach(name => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n logger[name] = (...args) => {\n if (enabled) {\n consoleSandbox(() => {\n GLOBAL_OBJ.console[name](`${PREFIX}[${name}]:`, ...args);\n });\n }\n };\n });\n } else {\n CONSOLE_LEVELS.forEach(name => {\n logger[name] = () => undefined;\n });\n }\n\n return logger ;\n}\n\nconst logger = makeLogger();\n\nexport { CONSOLE_LEVELS, consoleSandbox, logger, originalConsoleMethods };\n//# sourceMappingURL=logger.js.map\n","import { addNonEnumerableProperty } from './object.js';\nimport { snipLine } from './string.js';\nimport { GLOBAL_OBJ } from './worldwide.js';\n\n/**\n * UUID4 generator\n *\n * @returns string Generated UUID4.\n */\nfunction uuid4() {\n const gbl = GLOBAL_OBJ ;\n const crypto = gbl.crypto || gbl.msCrypto;\n\n let getRandomByte = () => Math.random() * 16;\n try {\n if (crypto && crypto.randomUUID) {\n return crypto.randomUUID().replace(/-/g, '');\n }\n if (crypto && crypto.getRandomValues) {\n getRandomByte = () => {\n // crypto.getRandomValues might return undefined instead of the typed array\n // in old Chromium versions (e.g. 23.0.1235.0 (151422))\n // However, `typedArray` is still filled in-place.\n // @see https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues#typedarray\n const typedArray = new Uint8Array(1);\n crypto.getRandomValues(typedArray);\n return typedArray[0];\n };\n }\n } catch (_) {\n // some runtimes can crash invoking crypto\n // https://github.com/getsentry/sentry-javascript/issues/8935\n }\n\n // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523\n // Concatenating the following numbers as strings results in '10000000100040008000100000000000'\n return (([1e7] ) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, c =>\n // eslint-disable-next-line no-bitwise\n ((c ) ^ ((getRandomByte() & 15) >> ((c ) / 4))).toString(16),\n );\n}\n\nfunction getFirstException(event) {\n return event.exception && event.exception.values ? event.exception.values[0] : undefined;\n}\n\n/**\n * Extracts either message or type+value from an event that can be used for user-facing logs\n * @returns event's description\n */\nfunction getEventDescription(event) {\n const { message, event_id: eventId } = event;\n if (message) {\n return message;\n }\n\n const firstException = getFirstException(event);\n if (firstException) {\n if (firstException.type && firstException.value) {\n return `${firstException.type}: ${firstException.value}`;\n }\n return firstException.type || firstException.value || eventId || '';\n }\n return eventId || '';\n}\n\n/**\n * Adds exception values, type and value to an synthetic Exception.\n * @param event The event to modify.\n * @param value Value of the exception.\n * @param type Type of the exception.\n * @hidden\n */\nfunction addExceptionTypeValue(event, value, type) {\n const exception = (event.exception = event.exception || {});\n const values = (exception.values = exception.values || []);\n const firstException = (values[0] = values[0] || {});\n if (!firstException.value) {\n firstException.value = value || '';\n }\n if (!firstException.type) {\n firstException.type = type || 'Error';\n }\n}\n\n/**\n * Adds exception mechanism data to a given event. Uses defaults if the second parameter is not passed.\n *\n * @param event The event to modify.\n * @param newMechanism Mechanism data to add to the event.\n * @hidden\n */\nfunction addExceptionMechanism(event, newMechanism) {\n const firstException = getFirstException(event);\n if (!firstException) {\n return;\n }\n\n const defaultMechanism = { type: 'generic', handled: true };\n const currentMechanism = firstException.mechanism;\n firstException.mechanism = { ...defaultMechanism, ...currentMechanism, ...newMechanism };\n\n if (newMechanism && 'data' in newMechanism) {\n const mergedData = { ...(currentMechanism && currentMechanism.data), ...newMechanism.data };\n firstException.mechanism.data = mergedData;\n }\n}\n\n// https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string\nconst SEMVER_REGEXP =\n /^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$/;\n\n/**\n * Represents Semantic Versioning object\n */\n\n/**\n * Parses input into a SemVer interface\n * @param input string representation of a semver version\n */\nfunction parseSemver(input) {\n const match = input.match(SEMVER_REGEXP) || [];\n const major = parseInt(match[1], 10);\n const minor = parseInt(match[2], 10);\n const patch = parseInt(match[3], 10);\n return {\n buildmetadata: match[5],\n major: isNaN(major) ? undefined : major,\n minor: isNaN(minor) ? undefined : minor,\n patch: isNaN(patch) ? undefined : patch,\n prerelease: match[4],\n };\n}\n\n/**\n * This function adds context (pre/post/line) lines to the provided frame\n *\n * @param lines string[] containing all lines\n * @param frame StackFrame that will be mutated\n * @param linesOfContext number of context lines we want to add pre/post\n */\nfunction addContextToFrame(lines, frame, linesOfContext = 5) {\n // When there is no line number in the frame, attaching context is nonsensical and will even break grouping\n if (frame.lineno === undefined) {\n return;\n }\n\n const maxLines = lines.length;\n const sourceLine = Math.max(Math.min(maxLines - 1, frame.lineno - 1), 0);\n\n frame.pre_context = lines\n .slice(Math.max(0, sourceLine - linesOfContext), sourceLine)\n .map((line) => snipLine(line, 0));\n\n frame.context_line = snipLine(lines[Math.min(maxLines - 1, sourceLine)], frame.colno || 0);\n\n frame.post_context = lines\n .slice(Math.min(sourceLine + 1, maxLines), sourceLine + 1 + linesOfContext)\n .map((line) => snipLine(line, 0));\n}\n\n/**\n * Checks whether or not we've already captured the given exception (note: not an identical exception - the very object\n * in question), and marks it captured if not.\n *\n * This is useful because it's possible for an error to get captured by more than one mechanism. After we intercept and\n * record an error, we rethrow it (assuming we've intercepted it before it's reached the top-level global handlers), so\n * that we don't interfere with whatever effects the error might have had were the SDK not there. At that point, because\n * the error has been rethrown, it's possible for it to bubble up to some other code we've instrumented. If it's not\n * caught after that, it will bubble all the way up to the global handlers (which of course we also instrument). This\n * function helps us ensure that even if we encounter the same error more than once, we only record it the first time we\n * see it.\n *\n * Note: It will ignore primitives (always return `false` and not mark them as seen), as properties can't be set on\n * them. {@link: Object.objectify} can be used on exceptions to convert any that are primitives into their equivalent\n * object wrapper forms so that this check will always work. However, because we need to flag the exact object which\n * will get rethrown, and because that rethrowing happens outside of the event processing pipeline, the objectification\n * must be done before the exception captured.\n *\n * @param A thrown exception to check or flag as having been seen\n * @returns `true` if the exception has already been captured, `false` if not (with the side effect of marking it seen)\n */\nfunction checkOrSetAlreadyCaught(exception) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (exception && (exception ).__sentry_captured__) {\n return true;\n }\n\n try {\n // set it this way rather than by assignment so that it's not ennumerable and therefore isn't recorded by the\n // `ExtraErrorData` integration\n addNonEnumerableProperty(exception , '__sentry_captured__', true);\n } catch (err) {\n // `exception` is a primitive, so we can't mark it seen\n }\n\n return false;\n}\n\n/**\n * Checks whether the given input is already an array, and if it isn't, wraps it in one.\n *\n * @param maybeArray Input to turn into an array, if necessary\n * @returns The input, if already an array, or an array with the input as the only element, if not\n */\nfunction arrayify(maybeArray) {\n return Array.isArray(maybeArray) ? maybeArray : [maybeArray];\n}\n\nexport { addContextToFrame, addExceptionMechanism, addExceptionTypeValue, arrayify, checkOrSetAlreadyCaught, getEventDescription, parseSemver, uuid4 };\n//# sourceMappingURL=misc.js.map\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\n/**\n * Helper to decycle json objects\n */\nfunction memoBuilder() {\n const hasWeakSet = typeof WeakSet === 'function';\n const inner = hasWeakSet ? new WeakSet() : [];\n function memoize(obj) {\n if (hasWeakSet) {\n if (inner.has(obj)) {\n return true;\n }\n inner.add(obj);\n return false;\n }\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < inner.length; i++) {\n const value = inner[i];\n if (value === obj) {\n return true;\n }\n }\n inner.push(obj);\n return false;\n }\n\n function unmemoize(obj) {\n if (hasWeakSet) {\n inner.delete(obj);\n } else {\n for (let i = 0; i < inner.length; i++) {\n if (inner[i] === obj) {\n inner.splice(i, 1);\n break;\n }\n }\n }\n }\n return [memoize, unmemoize];\n}\n\nexport { memoBuilder };\n//# sourceMappingURL=memo.js.map\n","import { isNaN, isVueViewModel, isSyntheticEvent } from './is.js';\nimport { memoBuilder } from './memo.js';\nimport { convertToPlainObject } from './object.js';\nimport { getFunctionName } from './stacktrace.js';\n\n/**\n * Recursively normalizes the given object.\n *\n * - Creates a copy to prevent original input mutation\n * - Skips non-enumerable properties\n * - When stringifying, calls `toJSON` if implemented\n * - Removes circular references\n * - Translates non-serializable values (`undefined`/`NaN`/functions) to serializable format\n * - Translates known global objects/classes to a string representations\n * - Takes care of `Error` object serialization\n * - Optionally limits depth of final output\n * - Optionally limits number of properties/elements included in any single object/array\n *\n * @param input The object to be normalized.\n * @param depth The max depth to which to normalize the object. (Anything deeper stringified whole.)\n * @param maxProperties The max number of elements or properties to be included in any single array or\n * object in the normallized output.\n * @returns A normalized version of the object, or `\"**non-serializable**\"` if any errors are thrown during normalization.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction normalize(input, depth = 100, maxProperties = +Infinity) {\n try {\n // since we're at the outermost level, we don't provide a key\n return visit('', input, depth, maxProperties);\n } catch (err) {\n return { ERROR: `**non-serializable** (${err})` };\n }\n}\n\n/** JSDoc */\nfunction normalizeToSize(\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n object,\n // Default Node.js REPL depth\n depth = 3,\n // 100kB, as 200kB is max payload size, so half sounds reasonable\n maxSize = 100 * 1024,\n) {\n const normalized = normalize(object, depth);\n\n if (jsonSize(normalized) > maxSize) {\n return normalizeToSize(object, depth - 1, maxSize);\n }\n\n return normalized ;\n}\n\n/**\n * Visits a node to perform normalization on it\n *\n * @param key The key corresponding to the given node\n * @param value The node to be visited\n * @param depth Optional number indicating the maximum recursion depth\n * @param maxProperties Optional maximum number of properties/elements included in any single object/array\n * @param memo Optional Memo class handling decycling\n */\nfunction visit(\n key,\n value,\n depth = +Infinity,\n maxProperties = +Infinity,\n memo = memoBuilder(),\n) {\n const [memoize, unmemoize] = memo;\n\n // Get the simple cases out of the way first\n if (\n value == null || // this matches null and undefined -> eqeq not eqeqeq\n (['number', 'boolean', 'string'].includes(typeof value) && !isNaN(value))\n ) {\n return value ;\n }\n\n const stringified = stringifyValue(key, value);\n\n // Anything we could potentially dig into more (objects or arrays) will have come back as `\"[object XXXX]\"`.\n // Everything else will have already been serialized, so if we don't see that pattern, we're done.\n if (!stringified.startsWith('[object ')) {\n return stringified;\n }\n\n // From here on, we can assert that `value` is either an object or an array.\n\n // Do not normalize objects that we know have already been normalized. As a general rule, the\n // \"__sentry_skip_normalization__\" property should only be used sparingly and only should only be set on objects that\n // have already been normalized.\n if ((value )['__sentry_skip_normalization__']) {\n return value ;\n }\n\n // We can set `__sentry_override_normalization_depth__` on an object to ensure that from there\n // We keep a certain amount of depth.\n // This should be used sparingly, e.g. we use it for the redux integration to ensure we get a certain amount of state.\n const remainingDepth =\n typeof (value )['__sentry_override_normalization_depth__'] === 'number'\n ? ((value )['__sentry_override_normalization_depth__'] )\n : depth;\n\n // We're also done if we've reached the max depth\n if (remainingDepth === 0) {\n // At this point we know `serialized` is a string of the form `\"[object XXXX]\"`. Clean it up so it's just `\"[XXXX]\"`.\n return stringified.replace('object ', '');\n }\n\n // If we've already visited this branch, bail out, as it's circular reference. If not, note that we're seeing it now.\n if (memoize(value)) {\n return '[Circular ~]';\n }\n\n // If the value has a `toJSON` method, we call it to extract more information\n const valueWithToJSON = value ;\n if (valueWithToJSON && typeof valueWithToJSON.toJSON === 'function') {\n try {\n const jsonValue = valueWithToJSON.toJSON();\n // We need to normalize the return value of `.toJSON()` in case it has circular references\n return visit('', jsonValue, remainingDepth - 1, maxProperties, memo);\n } catch (err) {\n // pass (The built-in `toJSON` failed, but we can still try to do it ourselves)\n }\n }\n\n // At this point we know we either have an object or an array, we haven't seen it before, and we're going to recurse\n // because we haven't yet reached the max depth. Create an accumulator to hold the results of visiting each\n // property/entry, and keep track of the number of items we add to it.\n const normalized = (Array.isArray(value) ? [] : {}) ;\n let numAdded = 0;\n\n // Before we begin, convert`Error` and`Event` instances into plain objects, since some of each of their relevant\n // properties are non-enumerable and otherwise would get missed.\n const visitable = convertToPlainObject(value );\n\n for (const visitKey in visitable) {\n // Avoid iterating over fields in the prototype if they've somehow been exposed to enumeration.\n if (!Object.prototype.hasOwnProperty.call(visitable, visitKey)) {\n continue;\n }\n\n if (numAdded >= maxProperties) {\n normalized[visitKey] = '[MaxProperties ~]';\n break;\n }\n\n // Recursively visit all the child nodes\n const visitValue = visitable[visitKey];\n normalized[visitKey] = visit(visitKey, visitValue, remainingDepth - 1, maxProperties, memo);\n\n numAdded++;\n }\n\n // Once we've visited all the branches, remove the parent from memo storage\n unmemoize(value);\n\n // Return accumulated values\n return normalized;\n}\n\n/* eslint-disable complexity */\n/**\n * Stringify the given value. Handles various known special values and types.\n *\n * Not meant to be used on simple primitives which already have a string representation, as it will, for example, turn\n * the number 1231 into \"[Object Number]\", nor on `null`, as it will throw.\n *\n * @param value The value to stringify\n * @returns A stringified representation of the given value\n */\nfunction stringifyValue(\n key,\n // this type is a tiny bit of a cheat, since this function does handle NaN (which is technically a number), but for\n // our internal use, it'll do\n value,\n) {\n try {\n if (key === 'domain' && value && typeof value === 'object' && (value )._events) {\n return '[Domain]';\n }\n\n if (key === 'domainEmitter') {\n return '[DomainEmitter]';\n }\n\n // It's safe to use `global`, `window`, and `document` here in this manner, as we are asserting using `typeof` first\n // which won't throw if they are not present.\n\n if (typeof global !== 'undefined' && value === global) {\n return '[Global]';\n }\n\n // eslint-disable-next-line no-restricted-globals\n if (typeof window !== 'undefined' && value === window) {\n return '[Window]';\n }\n\n // eslint-disable-next-line no-restricted-globals\n if (typeof document !== 'undefined' && value === document) {\n return '[Document]';\n }\n\n if (isVueViewModel(value)) {\n return '[VueViewModel]';\n }\n\n // React's SyntheticEvent thingy\n if (isSyntheticEvent(value)) {\n return '[SyntheticEvent]';\n }\n\n if (typeof value === 'number' && value !== value) {\n return '[NaN]';\n }\n\n if (typeof value === 'function') {\n return `[Function: ${getFunctionName(value)}]`;\n }\n\n if (typeof value === 'symbol') {\n return `[${String(value)}]`;\n }\n\n // stringified BigInts are indistinguishable from regular numbers, so we need to label them to avoid confusion\n if (typeof value === 'bigint') {\n return `[BigInt: ${String(value)}]`;\n }\n\n // Now that we've knocked out all the special cases and the primitives, all we have left are objects. Simply casting\n // them to strings means that instances of classes which haven't defined their `toStringTag` will just come out as\n // `\"[object Object]\"`. If we instead look at the constructor's name (which is the same as the name of the class),\n // we can make sure that only plain objects come out that way.\n const objName = getConstructorName(value);\n\n // Handle HTML Elements\n if (/^HTML(\\w*)Element$/.test(objName)) {\n return `[HTMLElement: ${objName}]`;\n }\n\n return `[object ${objName}]`;\n } catch (err) {\n return `**non-serializable** (${err})`;\n }\n}\n/* eslint-enable complexity */\n\nfunction getConstructorName(value) {\n const prototype = Object.getPrototypeOf(value);\n\n return prototype ? prototype.constructor.name : 'null prototype';\n}\n\n/** Calculates bytes size of input string */\nfunction utf8Length(value) {\n // eslint-disable-next-line no-bitwise\n return ~-encodeURI(value).split(/%..|./).length;\n}\n\n/** Calculates bytes size of input object */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction jsonSize(value) {\n return utf8Length(JSON.stringify(value));\n}\n\n/**\n * Normalizes URLs in exceptions and stacktraces to a base path so Sentry can fingerprint\n * across platforms and working directory.\n *\n * @param url The URL to be normalized.\n * @param basePath The application base path.\n * @returns The normalized URL.\n */\nfunction normalizeUrlToBase(url, basePath) {\n const escapedBase = basePath\n // Backslash to forward\n .replace(/\\\\/g, '/')\n // Escape RegExp special characters\n .replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&');\n\n let newUrl = url;\n try {\n newUrl = decodeURI(url);\n } catch (_Oo) {\n // Sometime this breaks\n }\n return (\n newUrl\n .replace(/\\\\/g, '/')\n .replace(/webpack:\\/?/g, '') // Remove intermediate base path\n // eslint-disable-next-line @sentry-internal/sdk/no-regexp-constructor\n .replace(new RegExp(`(file://)?/*${escapedBase}/*`, 'ig'), 'app:///')\n );\n}\n\nexport { normalize, normalizeToSize, normalizeUrlToBase, visit as walk };\n//# sourceMappingURL=normalize.js.map\n","import { htmlTreeAsString } from './browser.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { isError, isEvent, isInstanceOf, isElement, isPlainObject, isPrimitive } from './is.js';\nimport { logger } from './logger.js';\nimport { truncate } from './string.js';\n\n/**\n * Replace a method in an object with a wrapped version of itself.\n *\n * @param source An object that contains a method to be wrapped.\n * @param name The name of the method to be wrapped.\n * @param replacementFactory A higher-order function that takes the original version of the given method and returns a\n * wrapped version. Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to\n * preserve the correct value of `this`, and the original method must be called using `origMethod.call(this, )` or `origMethod.apply(this, [])` (rather than being called directly), again to preserve `this`.\n * @returns void\n */\nfunction fill(source, name, replacementFactory) {\n if (!(name in source)) {\n return;\n }\n\n const original = source[name] ;\n const wrapped = replacementFactory(original) ;\n\n // Make sure it's a function first, as we need to attach an empty prototype for `defineProperties` to work\n // otherwise it'll throw \"TypeError: Object.defineProperties called on non-object\"\n if (typeof wrapped === 'function') {\n markFunctionWrapped(wrapped, original);\n }\n\n source[name] = wrapped;\n}\n\n/**\n * Defines a non-enumerable property on the given object.\n *\n * @param obj The object on which to set the property\n * @param name The name of the property to be set\n * @param value The value to which to set the property\n */\nfunction addNonEnumerableProperty(obj, name, value) {\n try {\n Object.defineProperty(obj, name, {\n // enumerable: false, // the default, so we can save on bundle size by not explicitly setting it\n value: value,\n writable: true,\n configurable: true,\n });\n } catch (o_O) {\n DEBUG_BUILD && logger.log(`Failed to add non-enumerable property \"${name}\" to object`, obj);\n }\n}\n\n/**\n * Remembers the original function on the wrapped function and\n * patches up the prototype.\n *\n * @param wrapped the wrapper function\n * @param original the original function that gets wrapped\n */\nfunction markFunctionWrapped(wrapped, original) {\n try {\n const proto = original.prototype || {};\n wrapped.prototype = original.prototype = proto;\n addNonEnumerableProperty(wrapped, '__sentry_original__', original);\n } catch (o_O) {} // eslint-disable-line no-empty\n}\n\n/**\n * This extracts the original function if available. See\n * `markFunctionWrapped` for more information.\n *\n * @param func the function to unwrap\n * @returns the unwrapped version of the function if available.\n */\nfunction getOriginalFunction(func) {\n return func.__sentry_original__;\n}\n\n/**\n * Encodes given object into url-friendly format\n *\n * @param object An object that contains serializable values\n * @returns string Encoded\n */\nfunction urlEncode(object) {\n return Object.keys(object)\n .map(key => `${encodeURIComponent(key)}=${encodeURIComponent(object[key])}`)\n .join('&');\n}\n\n/**\n * Transforms any `Error` or `Event` into a plain object with all of their enumerable properties, and some of their\n * non-enumerable properties attached.\n *\n * @param value Initial source that we have to transform in order for it to be usable by the serializer\n * @returns An Event or Error turned into an object - or the value argurment itself, when value is neither an Event nor\n * an Error.\n */\nfunction convertToPlainObject(\n value,\n)\n\n {\n if (isError(value)) {\n return {\n message: value.message,\n name: value.name,\n stack: value.stack,\n ...getOwnProperties(value),\n };\n } else if (isEvent(value)) {\n const newObj\n\n = {\n type: value.type,\n target: serializeEventTarget(value.target),\n currentTarget: serializeEventTarget(value.currentTarget),\n ...getOwnProperties(value),\n };\n\n if (typeof CustomEvent !== 'undefined' && isInstanceOf(value, CustomEvent)) {\n newObj.detail = value.detail;\n }\n\n return newObj;\n } else {\n return value;\n }\n}\n\n/** Creates a string representation of the target of an `Event` object */\nfunction serializeEventTarget(target) {\n try {\n return isElement(target) ? htmlTreeAsString(target) : Object.prototype.toString.call(target);\n } catch (_oO) {\n return '';\n }\n}\n\n/** Filters out all but an object's own properties */\nfunction getOwnProperties(obj) {\n if (typeof obj === 'object' && obj !== null) {\n const extractedProps = {};\n for (const property in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, property)) {\n extractedProps[property] = (obj )[property];\n }\n }\n return extractedProps;\n } else {\n return {};\n }\n}\n\n/**\n * Given any captured exception, extract its keys and create a sorted\n * and truncated list that will be used inside the event message.\n * eg. `Non-error exception captured with keys: foo, bar, baz`\n */\nfunction extractExceptionKeysForMessage(exception, maxLength = 40) {\n const keys = Object.keys(convertToPlainObject(exception));\n keys.sort();\n\n if (!keys.length) {\n return '[object has no keys]';\n }\n\n if (keys[0].length >= maxLength) {\n return truncate(keys[0], maxLength);\n }\n\n for (let includedKeys = keys.length; includedKeys > 0; includedKeys--) {\n const serialized = keys.slice(0, includedKeys).join(', ');\n if (serialized.length > maxLength) {\n continue;\n }\n if (includedKeys === keys.length) {\n return serialized;\n }\n return truncate(serialized, maxLength);\n }\n\n return '';\n}\n\n/**\n * Given any object, return a new object having removed all fields whose value was `undefined`.\n * Works recursively on objects and arrays.\n *\n * Attention: This function keeps circular references in the returned object.\n */\nfunction dropUndefinedKeys(inputValue) {\n // This map keeps track of what already visited nodes map to.\n // Our Set - based memoBuilder doesn't work here because we want to the output object to have the same circular\n // references as the input object.\n const memoizationMap = new Map();\n\n // This function just proxies `_dropUndefinedKeys` to keep the `memoBuilder` out of this function's API\n return _dropUndefinedKeys(inputValue, memoizationMap);\n}\n\nfunction _dropUndefinedKeys(inputValue, memoizationMap) {\n if (isPojo(inputValue)) {\n // If this node has already been visited due to a circular reference, return the object it was mapped to in the new object\n const memoVal = memoizationMap.get(inputValue);\n if (memoVal !== undefined) {\n return memoVal ;\n }\n\n const returnValue = {};\n // Store the mapping of this value in case we visit it again, in case of circular data\n memoizationMap.set(inputValue, returnValue);\n\n for (const key of Object.keys(inputValue)) {\n if (typeof inputValue[key] !== 'undefined') {\n returnValue[key] = _dropUndefinedKeys(inputValue[key], memoizationMap);\n }\n }\n\n return returnValue ;\n }\n\n if (Array.isArray(inputValue)) {\n // If this node has already been visited due to a circular reference, return the array it was mapped to in the new object\n const memoVal = memoizationMap.get(inputValue);\n if (memoVal !== undefined) {\n return memoVal ;\n }\n\n const returnValue = [];\n // Store the mapping of this value in case we visit it again, in case of circular data\n memoizationMap.set(inputValue, returnValue);\n\n inputValue.forEach((item) => {\n returnValue.push(_dropUndefinedKeys(item, memoizationMap));\n });\n\n return returnValue ;\n }\n\n return inputValue;\n}\n\nfunction isPojo(input) {\n if (!isPlainObject(input)) {\n return false;\n }\n\n try {\n const name = (Object.getPrototypeOf(input) ).constructor.name;\n return !name || name === 'Object';\n } catch (e) {\n return true;\n }\n}\n\n/**\n * Ensure that something is an object.\n *\n * Turns `undefined` and `null` into `String`s and all other primitives into instances of their respective wrapper\n * classes (String, Boolean, Number, etc.). Acts as the identity function on non-primitives.\n *\n * @param wat The subject of the objectification\n * @returns A version of `wat` which can safely be used with `Object` class methods\n */\nfunction objectify(wat) {\n let objectified;\n switch (true) {\n case wat === undefined || wat === null:\n objectified = new String(wat);\n break;\n\n // Though symbols and bigints do have wrapper classes (`Symbol` and `BigInt`, respectively), for whatever reason\n // those classes don't have constructors which can be used with the `new` keyword. We therefore need to cast each as\n // an object in order to wrap it.\n case typeof wat === 'symbol' || typeof wat === 'bigint':\n objectified = Object(wat);\n break;\n\n // this will catch the remaining primitives: `String`, `Number`, and `Boolean`\n case isPrimitive(wat):\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n objectified = new (wat ).constructor(wat);\n break;\n\n // by process of elimination, at this point we know that `wat` must already be an object\n default:\n objectified = wat;\n break;\n }\n return objectified;\n}\n\nexport { addNonEnumerableProperty, convertToPlainObject, dropUndefinedKeys, extractExceptionKeysForMessage, fill, getOriginalFunction, markFunctionWrapped, objectify, urlEncode };\n//# sourceMappingURL=object.js.map\n","import { node } from './node-stack-trace.js';\nexport { filenameIsInApp } from './node-stack-trace.js';\n\nconst STACKTRACE_FRAME_LIMIT = 50;\n// Used to sanitize webpack (error: *) wrapped stack errors\nconst WEBPACK_ERROR_REGEXP = /\\(error: (.*)\\)/;\nconst STRIP_FRAME_REGEXP = /captureMessage|captureException/;\n\n/**\n * Creates a stack parser with the supplied line parsers\n *\n * StackFrames are returned in the correct order for Sentry Exception\n * frames and with Sentry SDK internal frames removed from the top and bottom\n *\n */\nfunction createStackParser(...parsers) {\n const sortedParsers = parsers.sort((a, b) => a[0] - b[0]).map(p => p[1]);\n\n return (stack, skipFirst = 0) => {\n const frames = [];\n const lines = stack.split('\\n');\n\n for (let i = skipFirst; i < lines.length; i++) {\n const line = lines[i];\n // Ignore lines over 1kb as they are unlikely to be stack frames.\n // Many of the regular expressions use backtracking which results in run time that increases exponentially with\n // input size. Huge strings can result in hangs/Denial of Service:\n // https://github.com/getsentry/sentry-javascript/issues/2286\n if (line.length > 1024) {\n continue;\n }\n\n // https://github.com/getsentry/sentry-javascript/issues/5459\n // Remove webpack (error: *) wrappers\n const cleanedLine = WEBPACK_ERROR_REGEXP.test(line) ? line.replace(WEBPACK_ERROR_REGEXP, '$1') : line;\n\n // https://github.com/getsentry/sentry-javascript/issues/7813\n // Skip Error: lines\n if (cleanedLine.match(/\\S*Error: /)) {\n continue;\n }\n\n for (const parser of sortedParsers) {\n const frame = parser(cleanedLine);\n\n if (frame) {\n frames.push(frame);\n break;\n }\n }\n\n if (frames.length >= STACKTRACE_FRAME_LIMIT) {\n break;\n }\n }\n\n return stripSentryFramesAndReverse(frames);\n };\n}\n\n/**\n * Gets a stack parser implementation from Options.stackParser\n * @see Options\n *\n * If options contains an array of line parsers, it is converted into a parser\n */\nfunction stackParserFromStackParserOptions(stackParser) {\n if (Array.isArray(stackParser)) {\n return createStackParser(...stackParser);\n }\n return stackParser;\n}\n\n/**\n * Removes Sentry frames from the top and bottom of the stack if present and enforces a limit of max number of frames.\n * Assumes stack input is ordered from top to bottom and returns the reverse representation so call site of the\n * function that caused the crash is the last frame in the array.\n * @hidden\n */\nfunction stripSentryFramesAndReverse(stack) {\n if (!stack.length) {\n return [];\n }\n\n const localStack = Array.from(stack);\n\n // If stack starts with one of our API calls, remove it (starts, meaning it's the top of the stack - aka last call)\n if (/sentryWrapped/.test(localStack[localStack.length - 1].function || '')) {\n localStack.pop();\n }\n\n // Reversing in the middle of the procedure allows us to just pop the values off the stack\n localStack.reverse();\n\n // If stack ends with one of our internal API calls, remove it (ends, meaning it's the bottom of the stack - aka top-most call)\n if (STRIP_FRAME_REGEXP.test(localStack[localStack.length - 1].function || '')) {\n localStack.pop();\n\n // When using synthetic events, we will have a 2 levels deep stack, as `new Error('Sentry syntheticException')`\n // is produced within the hub itself, making it:\n //\n // Sentry.captureException()\n // getCurrentHub().captureException()\n //\n // instead of just the top `Sentry` call itself.\n // This forces us to possibly strip an additional frame in the exact same was as above.\n if (STRIP_FRAME_REGEXP.test(localStack[localStack.length - 1].function || '')) {\n localStack.pop();\n }\n }\n\n return localStack.slice(0, STACKTRACE_FRAME_LIMIT).map(frame => ({\n ...frame,\n filename: frame.filename || localStack[localStack.length - 1].filename,\n function: frame.function || '?',\n }));\n}\n\nconst defaultFunctionName = '';\n\n/**\n * Safely extract function name from itself\n */\nfunction getFunctionName(fn) {\n try {\n if (!fn || typeof fn !== 'function') {\n return defaultFunctionName;\n }\n return fn.name || defaultFunctionName;\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n return defaultFunctionName;\n }\n}\n\n/**\n * Node.js stack line parser\n *\n * This is in @sentry/utils so it can be used from the Electron SDK in the browser for when `nodeIntegration == true`.\n * This allows it to be used without referencing or importing any node specific code which causes bundlers to complain\n */\nfunction nodeStackLineParser(getModule) {\n return [90, node(getModule)];\n}\n\nexport { createStackParser, getFunctionName, nodeStackLineParser, stackParserFromStackParserOptions, stripSentryFramesAndReverse };\n//# sourceMappingURL=stacktrace.js.map\n","import { isVueViewModel, isString, isRegExp } from './is.js';\n\n/**\n * Truncates given string to the maximum characters count\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string (0 = unlimited)\n * @returns string Encoded\n */\nfunction truncate(str, max = 0) {\n if (typeof str !== 'string' || max === 0) {\n return str;\n }\n return str.length <= max ? str : `${str.slice(0, max)}...`;\n}\n\n/**\n * This is basically just `trim_line` from\n * https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/processor.py#L67\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string\n * @returns string Encoded\n */\nfunction snipLine(line, colno) {\n let newLine = line;\n const lineLength = newLine.length;\n if (lineLength <= 150) {\n return newLine;\n }\n if (colno > lineLength) {\n // eslint-disable-next-line no-param-reassign\n colno = lineLength;\n }\n\n let start = Math.max(colno - 60, 0);\n if (start < 5) {\n start = 0;\n }\n\n let end = Math.min(start + 140, lineLength);\n if (end > lineLength - 5) {\n end = lineLength;\n }\n if (end === lineLength) {\n start = Math.max(end - 140, 0);\n }\n\n newLine = newLine.slice(start, end);\n if (start > 0) {\n newLine = `'{snip} ${newLine}`;\n }\n if (end < lineLength) {\n newLine += ' {snip}';\n }\n\n return newLine;\n}\n\n/**\n * Join values in array\n * @param input array of values to be joined together\n * @param delimiter string to be placed in-between values\n * @returns Joined values\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction safeJoin(input, delimiter) {\n if (!Array.isArray(input)) {\n return '';\n }\n\n const output = [];\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < input.length; i++) {\n const value = input[i];\n try {\n // This is a hack to fix a Vue3-specific bug that causes an infinite loop of\n // console warnings. This happens when a Vue template is rendered with\n // an undeclared variable, which we try to stringify, ultimately causing\n // Vue to issue another warning which repeats indefinitely.\n // see: https://github.com/getsentry/sentry-javascript/pull/8981\n if (isVueViewModel(value)) {\n output.push('[VueViewModel]');\n } else {\n output.push(String(value));\n }\n } catch (e) {\n output.push('[value cannot be serialized]');\n }\n }\n\n return output.join(delimiter);\n}\n\n/**\n * Checks if the given value matches a regex or string\n *\n * @param value The string to test\n * @param pattern Either a regex or a string against which `value` will be matched\n * @param requireExactStringMatch If true, `value` must match `pattern` exactly. If false, `value` will match\n * `pattern` if it contains `pattern`. Only applies to string-type patterns.\n */\nfunction isMatchingPattern(\n value,\n pattern,\n requireExactStringMatch = false,\n) {\n if (!isString(value)) {\n return false;\n }\n\n if (isRegExp(pattern)) {\n return pattern.test(value);\n }\n if (isString(pattern)) {\n return requireExactStringMatch ? value === pattern : value.includes(pattern);\n }\n\n return false;\n}\n\n/**\n * Test the given string against an array of strings and regexes. By default, string matching is done on a\n * substring-inclusion basis rather than a strict equality basis\n *\n * @param testString The string to test\n * @param patterns The patterns against which to test the string\n * @param requireExactStringMatch If true, `testString` must match one of the given string patterns exactly in order to\n * count. If false, `testString` will match a string pattern if it contains that pattern.\n * @returns\n */\nfunction stringMatchesSomePattern(\n testString,\n patterns = [],\n requireExactStringMatch = false,\n) {\n return patterns.some(pattern => isMatchingPattern(testString, pattern, requireExactStringMatch));\n}\n\nexport { isMatchingPattern, safeJoin, snipLine, stringMatchesSomePattern, truncate };\n//# sourceMappingURL=string.js.map\n","import { isThenable } from './is.js';\n\n/* eslint-disable @typescript-eslint/explicit-function-return-type */\n\n/** SyncPromise internal states */\nvar States; (function (States) {\n /** Pending */\n const PENDING = 0; States[States[\"PENDING\"] = PENDING] = \"PENDING\";\n /** Resolved / OK */\n const RESOLVED = 1; States[States[\"RESOLVED\"] = RESOLVED] = \"RESOLVED\";\n /** Rejected / Error */\n const REJECTED = 2; States[States[\"REJECTED\"] = REJECTED] = \"REJECTED\";\n})(States || (States = {}));\n\n// Overloads so we can call resolvedSyncPromise without arguments and generic argument\n\n/**\n * Creates a resolved sync promise.\n *\n * @param value the value to resolve the promise with\n * @returns the resolved sync promise\n */\nfunction resolvedSyncPromise(value) {\n return new SyncPromise(resolve => {\n resolve(value);\n });\n}\n\n/**\n * Creates a rejected sync promise.\n *\n * @param value the value to reject the promise with\n * @returns the rejected sync promise\n */\nfunction rejectedSyncPromise(reason) {\n return new SyncPromise((_, reject) => {\n reject(reason);\n });\n}\n\n/**\n * Thenable class that behaves like a Promise and follows it's interface\n * but is not async internally\n */\nclass SyncPromise {\n\n constructor(\n executor,\n ) {SyncPromise.prototype.__init.call(this);SyncPromise.prototype.__init2.call(this);SyncPromise.prototype.__init3.call(this);SyncPromise.prototype.__init4.call(this);\n this._state = States.PENDING;\n this._handlers = [];\n\n try {\n executor(this._resolve, this._reject);\n } catch (e) {\n this._reject(e);\n }\n }\n\n /** JSDoc */\n then(\n onfulfilled,\n onrejected,\n ) {\n return new SyncPromise((resolve, reject) => {\n this._handlers.push([\n false,\n result => {\n if (!onfulfilled) {\n // TODO: ¯\\_(ツ)_/¯\n // TODO: FIXME\n resolve(result );\n } else {\n try {\n resolve(onfulfilled(result));\n } catch (e) {\n reject(e);\n }\n }\n },\n reason => {\n if (!onrejected) {\n reject(reason);\n } else {\n try {\n resolve(onrejected(reason));\n } catch (e) {\n reject(e);\n }\n }\n },\n ]);\n this._executeHandlers();\n });\n }\n\n /** JSDoc */\n catch(\n onrejected,\n ) {\n return this.then(val => val, onrejected);\n }\n\n /** JSDoc */\n finally(onfinally) {\n return new SyncPromise((resolve, reject) => {\n let val;\n let isRejected;\n\n return this.then(\n value => {\n isRejected = false;\n val = value;\n if (onfinally) {\n onfinally();\n }\n },\n reason => {\n isRejected = true;\n val = reason;\n if (onfinally) {\n onfinally();\n }\n },\n ).then(() => {\n if (isRejected) {\n reject(val);\n return;\n }\n\n resolve(val );\n });\n });\n }\n\n /** JSDoc */\n __init() {this._resolve = (value) => {\n this._setResult(States.RESOLVED, value);\n };}\n\n /** JSDoc */\n __init2() {this._reject = (reason) => {\n this._setResult(States.REJECTED, reason);\n };}\n\n /** JSDoc */\n __init3() {this._setResult = (state, value) => {\n if (this._state !== States.PENDING) {\n return;\n }\n\n if (isThenable(value)) {\n void (value ).then(this._resolve, this._reject);\n return;\n }\n\n this._state = state;\n this._value = value;\n\n this._executeHandlers();\n };}\n\n /** JSDoc */\n __init4() {this._executeHandlers = () => {\n if (this._state === States.PENDING) {\n return;\n }\n\n const cachedHandlers = this._handlers.slice();\n this._handlers = [];\n\n cachedHandlers.forEach(handler => {\n if (handler[0]) {\n return;\n }\n\n if (this._state === States.RESOLVED) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n handler[1](this._value );\n }\n\n if (this._state === States.REJECTED) {\n handler[2](this._value);\n }\n\n handler[0] = true;\n });\n };}\n}\n\nexport { SyncPromise, rejectedSyncPromise, resolvedSyncPromise };\n//# sourceMappingURL=syncpromise.js.map\n","import { GLOBAL_OBJ } from './worldwide.js';\n\nconst ONE_SECOND_IN_MS = 1000;\n\n/**\n * A partial definition of the [Performance Web API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Performance}\n * for accessing a high-resolution monotonic clock.\n */\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using the Date API.\n *\n * TODO(v8): Return type should be rounded.\n */\nfunction dateTimestampInSeconds() {\n return Date.now() / ONE_SECOND_IN_MS;\n}\n\n/**\n * Returns a wrapper around the native Performance API browser implementation, or undefined for browsers that do not\n * support the API.\n *\n * Wrapping the native API works around differences in behavior from different browsers.\n */\nfunction createUnixTimestampInSecondsFunc() {\n const { performance } = GLOBAL_OBJ ;\n if (!performance || !performance.now) {\n return dateTimestampInSeconds;\n }\n\n // Some browser and environments don't have a timeOrigin, so we fallback to\n // using Date.now() to compute the starting time.\n const approxStartingTimeOrigin = Date.now() - performance.now();\n const timeOrigin = performance.timeOrigin == undefined ? approxStartingTimeOrigin : performance.timeOrigin;\n\n // performance.now() is a monotonic clock, which means it starts at 0 when the process begins. To get the current\n // wall clock time (actual UNIX timestamp), we need to add the starting time origin and the current time elapsed.\n //\n // TODO: This does not account for the case where the monotonic clock that powers performance.now() drifts from the\n // wall clock time, which causes the returned timestamp to be inaccurate. We should investigate how to detect and\n // correct for this.\n // See: https://github.com/getsentry/sentry-javascript/issues/2590\n // See: https://github.com/mdn/content/issues/4713\n // See: https://dev.to/noamr/when-a-millisecond-is-not-a-millisecond-3h6\n return () => {\n return (timeOrigin + performance.now()) / ONE_SECOND_IN_MS;\n };\n}\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using either the Performance or Date APIs, depending on the\n * availability of the Performance API.\n *\n * BUG: Note that because of how browsers implement the Performance API, the clock might stop when the computer is\n * asleep. This creates a skew between `dateTimestampInSeconds` and `timestampInSeconds`. The\n * skew can grow to arbitrary amounts like days, weeks or months.\n * See https://github.com/getsentry/sentry-javascript/issues/2590.\n */\nconst timestampInSeconds = createUnixTimestampInSecondsFunc();\n\n/**\n * Re-exported with an old name for backwards-compatibility.\n * TODO (v8): Remove this\n *\n * @deprecated Use `timestampInSeconds` instead.\n */\nconst timestampWithMs = timestampInSeconds;\n\n/**\n * Internal helper to store what is the source of browserPerformanceTimeOrigin below. For debugging only.\n */\nlet _browserPerformanceTimeOriginMode;\n\n/**\n * The number of milliseconds since the UNIX epoch. This value is only usable in a browser, and only when the\n * performance API is available.\n */\nconst browserPerformanceTimeOrigin = (() => {\n // Unfortunately browsers may report an inaccurate time origin data, through either performance.timeOrigin or\n // performance.timing.navigationStart, which results in poor results in performance data. We only treat time origin\n // data as reliable if they are within a reasonable threshold of the current time.\n\n const { performance } = GLOBAL_OBJ ;\n if (!performance || !performance.now) {\n _browserPerformanceTimeOriginMode = 'none';\n return undefined;\n }\n\n const threshold = 3600 * 1000;\n const performanceNow = performance.now();\n const dateNow = Date.now();\n\n // if timeOrigin isn't available set delta to threshold so it isn't used\n const timeOriginDelta = performance.timeOrigin\n ? Math.abs(performance.timeOrigin + performanceNow - dateNow)\n : threshold;\n const timeOriginIsReliable = timeOriginDelta < threshold;\n\n // While performance.timing.navigationStart is deprecated in favor of performance.timeOrigin, performance.timeOrigin\n // is not as widely supported. Namely, performance.timeOrigin is undefined in Safari as of writing.\n // Also as of writing, performance.timing is not available in Web Workers in mainstream browsers, so it is not always\n // a valid fallback. In the absence of an initial time provided by the browser, fallback to the current time from the\n // Date API.\n // eslint-disable-next-line deprecation/deprecation\n const navigationStart = performance.timing && performance.timing.navigationStart;\n const hasNavigationStart = typeof navigationStart === 'number';\n // if navigationStart isn't available set delta to threshold so it isn't used\n const navigationStartDelta = hasNavigationStart ? Math.abs(navigationStart + performanceNow - dateNow) : threshold;\n const navigationStartIsReliable = navigationStartDelta < threshold;\n\n if (timeOriginIsReliable || navigationStartIsReliable) {\n // Use the more reliable time origin\n if (timeOriginDelta <= navigationStartDelta) {\n _browserPerformanceTimeOriginMode = 'timeOrigin';\n return performance.timeOrigin;\n } else {\n _browserPerformanceTimeOriginMode = 'navigationStart';\n return navigationStart;\n }\n }\n\n // Either both timeOrigin and navigationStart are skewed or neither is available, fallback to Date.\n _browserPerformanceTimeOriginMode = 'dateNow';\n return dateNow;\n})();\n\nexport { _browserPerformanceTimeOriginMode, browserPerformanceTimeOrigin, dateTimestampInSeconds, timestampInSeconds, timestampWithMs };\n//# sourceMappingURL=time.js.map\n","import { baggageHeaderToDynamicSamplingContext } from './baggage.js';\nimport { uuid4 } from './misc.js';\n\n// eslint-disable-next-line @sentry-internal/sdk/no-regexp-constructor -- RegExp is used for readability here\nconst TRACEPARENT_REGEXP = new RegExp(\n '^[ \\\\t]*' + // whitespace\n '([0-9a-f]{32})?' + // trace_id\n '-?([0-9a-f]{16})?' + // span_id\n '-?([01])?' + // sampled\n '[ \\\\t]*$', // whitespace\n);\n\n/**\n * Extract transaction context data from a `sentry-trace` header.\n *\n * @param traceparent Traceparent string\n *\n * @returns Object containing data from the header, or undefined if traceparent string is malformed\n */\nfunction extractTraceparentData(traceparent) {\n if (!traceparent) {\n return undefined;\n }\n\n const matches = traceparent.match(TRACEPARENT_REGEXP);\n if (!matches) {\n return undefined;\n }\n\n let parentSampled;\n if (matches[3] === '1') {\n parentSampled = true;\n } else if (matches[3] === '0') {\n parentSampled = false;\n }\n\n return {\n traceId: matches[1],\n parentSampled,\n parentSpanId: matches[2],\n };\n}\n\n/**\n * Create tracing context from incoming headers.\n *\n * @deprecated Use `propagationContextFromHeaders` instead.\n */\n// TODO(v8): Remove this function\nfunction tracingContextFromHeaders(\n sentryTrace,\n baggage,\n)\n\n {\n const traceparentData = extractTraceparentData(sentryTrace);\n const dynamicSamplingContext = baggageHeaderToDynamicSamplingContext(baggage);\n\n const { traceId, parentSpanId, parentSampled } = traceparentData || {};\n\n if (!traceparentData) {\n return {\n traceparentData,\n dynamicSamplingContext: undefined,\n propagationContext: {\n traceId: traceId || uuid4(),\n spanId: uuid4().substring(16),\n },\n };\n } else {\n return {\n traceparentData,\n dynamicSamplingContext: dynamicSamplingContext || {}, // If we have traceparent data but no DSC it means we are not head of trace and we must freeze it\n propagationContext: {\n traceId: traceId || uuid4(),\n parentSpanId: parentSpanId || uuid4().substring(16),\n spanId: uuid4().substring(16),\n sampled: parentSampled,\n dsc: dynamicSamplingContext || {}, // If we have traceparent data but no DSC it means we are not head of trace and we must freeze it\n },\n };\n }\n}\n\n/**\n * Create a propagation context from incoming headers.\n */\nfunction propagationContextFromHeaders(\n sentryTrace,\n baggage,\n) {\n const traceparentData = extractTraceparentData(sentryTrace);\n const dynamicSamplingContext = baggageHeaderToDynamicSamplingContext(baggage);\n\n const { traceId, parentSpanId, parentSampled } = traceparentData || {};\n\n if (!traceparentData) {\n return {\n traceId: traceId || uuid4(),\n spanId: uuid4().substring(16),\n };\n } else {\n return {\n traceId: traceId || uuid4(),\n parentSpanId: parentSpanId || uuid4().substring(16),\n spanId: uuid4().substring(16),\n sampled: parentSampled,\n dsc: dynamicSamplingContext || {}, // If we have traceparent data but no DSC it means we are not head of trace and we must freeze it\n };\n }\n}\n\n/**\n * Create sentry-trace header from span context values.\n */\nfunction generateSentryTraceHeader(\n traceId = uuid4(),\n spanId = uuid4().substring(16),\n sampled,\n) {\n let sampledString = '';\n if (sampled !== undefined) {\n sampledString = sampled ? '-1' : '-0';\n }\n return `${traceId}-${spanId}${sampledString}`;\n}\n\nexport { TRACEPARENT_REGEXP, extractTraceparentData, generateSentryTraceHeader, propagationContextFromHeaders, tracingContextFromHeaders };\n//# sourceMappingURL=tracing.js.map\n","/** Internal global with common properties and Sentry extensions */\n\n// The code below for 'isGlobalObj' and 'GLOBAL_OBJ' was copied from core-js before modification\n// https://github.com/zloirock/core-js/blob/1b944df55282cdc99c90db5f49eb0b6eda2cc0a3/packages/core-js/internals/global.js\n// core-js has the following licence:\n//\n// Copyright (c) 2014-2022 Denis Pushkarev\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n/** Returns 'obj' if it's the global object, otherwise returns undefined */\nfunction isGlobalObj(obj) {\n return obj && obj.Math == Math ? obj : undefined;\n}\n\n/** Get's the global object for the current JavaScript runtime */\nconst GLOBAL_OBJ =\n (typeof globalThis == 'object' && isGlobalObj(globalThis)) ||\n // eslint-disable-next-line no-restricted-globals\n (typeof window == 'object' && isGlobalObj(window)) ||\n (typeof self == 'object' && isGlobalObj(self)) ||\n (typeof global == 'object' && isGlobalObj(global)) ||\n (function () {\n return this;\n })() ||\n {};\n\n/**\n * @deprecated Use GLOBAL_OBJ instead or WINDOW from @sentry/browser. This will be removed in v8\n */\nfunction getGlobalObject() {\n return GLOBAL_OBJ ;\n}\n\n/**\n * Returns a global singleton contained in the global `__SENTRY__` object.\n *\n * If the singleton doesn't already exist in `__SENTRY__`, it will be created using the given factory\n * function and added to the `__SENTRY__` object.\n *\n * @param name name of the global singleton on __SENTRY__\n * @param creator creator Factory function to create the singleton if it doesn't already exist on `__SENTRY__`\n * @param obj (Optional) The global object on which to look for `__SENTRY__`, if not `GLOBAL_OBJ`'s return value\n * @returns the singleton\n */\nfunction getGlobalSingleton(name, creator, obj) {\n const gbl = (obj || GLOBAL_OBJ) ;\n const __SENTRY__ = (gbl.__SENTRY__ = gbl.__SENTRY__ || {});\n const singleton = __SENTRY__[name] || (__SENTRY__[name] = creator());\n return singleton;\n}\n\nexport { GLOBAL_OBJ, getGlobalObject, getGlobalSingleton };\n//# sourceMappingURL=worldwide.js.map\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.init = exports.push = void 0;\nvar router_1 = __importDefault(require(\"next/router\"));\nvar isExcludedUrl = function (url, patterns) {\n var excluded = false;\n patterns.forEach(function (pattern) {\n if (pattern.exec(url) !== null) {\n excluded = true;\n }\n });\n return excluded;\n};\n// to push custom events\nfunction push(args) {\n if (!window._paq) {\n window._paq = [];\n }\n window._paq.push(args);\n}\nexports.push = push;\nvar startsWith = function (str, needle) {\n // eslint-disable-next-line @typescript-eslint/prefer-string-starts-ends-with\n return str.substring(0, needle.length) === needle;\n};\nvar trustedPolicyHooks = {\n createScript: function (s) { return s; },\n createScriptURL: function (s) { return s; },\n};\n// initialize the tracker\nfunction init(_a) {\n var _b, _c, _d, _e;\n var url = _a.url, siteId = _a.siteId, _f = _a.jsTrackerFile, jsTrackerFile = _f === void 0 ? \"matomo.js\" : _f, _g = _a.phpTrackerFile, phpTrackerFile = _g === void 0 ? \"matomo.php\" : _g, _h = _a.excludeUrlsPatterns, excludeUrlsPatterns = _h === void 0 ? [] : _h, _j = _a.disableCookies, disableCookies = _j === void 0 ? false : _j, _k = _a.onRouteChangeStart, onRouteChangeStart = _k === void 0 ? undefined : _k, _l = _a.onRouteChangeComplete, onRouteChangeComplete = _l === void 0 ? undefined : _l, _m = _a.onInitialization, onInitialization = _m === void 0 ? undefined : _m, nonce = _a.nonce, _o = _a.trustedPolicyName, trustedPolicyName = _o === void 0 ? \"matomo-next\" : _o, _p = _a.logExcludedTracks, logExcludedTracks = _p === void 0 ? false : _p;\n window._paq = window._paq !== null ? window._paq : [];\n if (!url) {\n console.warn(\"Matomo disabled, please provide matomo url\");\n return;\n }\n var sanitizer = (_c = (_b = window.trustedTypes) === null || _b === void 0 ? void 0 : _b.createPolicy(trustedPolicyName, trustedPolicyHooks)) !== null && _c !== void 0 ? _c : trustedPolicyHooks;\n var previousPath = \"\";\n // order is important -_- so campaign are detected\n var excludedUrl = typeof window !== \"undefined\" &&\n isExcludedUrl(window.location.pathname, excludeUrlsPatterns);\n if (onInitialization)\n onInitialization();\n if (excludedUrl) {\n if (typeof window !== \"undefined\" && logExcludedTracks) {\n console.log(\"matomo: exclude track \" + window.location.pathname);\n }\n }\n else {\n push([\"trackPageView\"]);\n }\n if (disableCookies) {\n push([\"disableCookies\"]);\n }\n push([\"enableLinkTracking\"]);\n push([\"setTrackerUrl\", url + \"/\" + phpTrackerFile]);\n push([\"setSiteId\", siteId]);\n /**\n * for initial loading we use the location.pathname\n * as the first url visited.\n * Once user navigate across the site,\n * we rely on Router.pathname\n */\n var scriptElement = document.createElement(\"script\");\n var refElement = document.getElementsByTagName(\"script\")[0];\n if (nonce) {\n scriptElement.setAttribute(\"nonce\", nonce);\n }\n scriptElement.type = \"text/javascript\";\n scriptElement.async = true;\n scriptElement.defer = true;\n var fullUrl = url + \"/\" + jsTrackerFile;\n scriptElement.src = (_e = (_d = sanitizer.createScriptURL) === null || _d === void 0 ? void 0 : _d.call(sanitizer, fullUrl)) !== null && _e !== void 0 ? _e : fullUrl;\n if (refElement.parentNode) {\n refElement.parentNode.insertBefore(scriptElement, refElement);\n }\n previousPath = location.pathname;\n var defaultOnRouteChangeStart = function (path) {\n if (isExcludedUrl(path, excludeUrlsPatterns))\n return;\n // We use only the part of the url without the querystring to ensure piwik is happy\n // It seems that piwik doesn't track well page with querystring\n var pathname = path.split(\"?\")[0];\n if (previousPath) {\n push([\"setReferrerUrl\", \"\" + previousPath]);\n }\n push([\"setCustomUrl\", pathname]);\n push([\"deleteCustomVariables\", \"page\"]);\n previousPath = pathname;\n if (onRouteChangeStart)\n onRouteChangeStart(path);\n };\n router_1.default.events.on(\"routeChangeStart\", defaultOnRouteChangeStart);\n var defaultOnRouteChangeComplete = function (path) {\n if (isExcludedUrl(path, excludeUrlsPatterns)) {\n return;\n }\n // In order to ensure that the page title had been updated,\n // we delayed pushing the tracking to the next tick.\n setTimeout(function () {\n var q = router_1.default.query.q;\n push([\"setDocumentTitle\", document.title]);\n if (startsWith(path, \"/recherche\") || startsWith(path, \"/search\")) {\n push([\"trackSiteSearch\", q !== null && q !== void 0 ? q : \"\"]);\n }\n else {\n push([\"trackPageView\"]);\n }\n }, 0);\n if (onRouteChangeComplete)\n onRouteChangeComplete(path);\n };\n router_1.default.events.on(\"routeChangeComplete\", defaultOnRouteChangeComplete);\n}\nexports.init = init;\nexports.default = init;\n//# sourceMappingURL=index.js.map","module.exports = require('./dist/pages/_app')\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/_app\",\n function () {\n return require(\"private-next-pages/_app.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/_app\"])\n });\n }\n ","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef } from \"react\";\nimport { fr } from \"./fr\";\nimport { cx } from \"./tools/cx\";\nimport { getLink } from \"./link\";\nimport { assert } from \"tsafe/assert\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { useAnalyticsId } from \"./tools/useAnalyticsId\";\n/** @see */\nexport const Button = memo(forwardRef((props, ref) => {\n var _a, _b;\n const { id: props_id, className: prop_className, children, title, iconId, iconPosition = \"left\", priority = \"primary\", size = \"medium\", linkProps, onClick, nativeButtonProps, disabled, type, style, value } = props, rest = __rest(props, [\"id\", \"className\", \"children\", \"title\", \"iconId\", \"iconPosition\", \"priority\", \"size\", \"linkProps\", \"onClick\", \"nativeButtonProps\", \"disabled\", \"type\", \"style\", \"value\"]);\n assert();\n const id = useAnalyticsId({\n \"defaultIdPrefix\": \"fr-button\",\n \"explicitlyProvidedId\": props_id\n });\n const { Link } = getLink();\n const className = cx(fr.cx(\"fr-btn\", priority !== \"primary\" &&\n `fr-btn--${priority === \"tertiary no outline\" ? \"tertiary-no-outline\" : priority}`, size !== \"medium\" &&\n `fr-btn--${(() => {\n switch (size) {\n case \"small\":\n return \"sm\";\n case \"large\":\n return \"lg\";\n }\n })()}`, ...(iconId === undefined\n ? []\n : [iconId, children !== undefined && `fr-btn--icon-${iconPosition}`])), linkProps !== undefined && linkProps.className, prop_className);\n return linkProps !== undefined ? (React.createElement(Link, Object.assign({}, linkProps, { id: (_a = props_id !== null && props_id !== void 0 ? props_id : linkProps.id) !== null && _a !== void 0 ? _a : id, title: title !== null && title !== void 0 ? title : linkProps.title, className: cx(linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, className), style: Object.assign(Object.assign({}, linkProps === null || linkProps === void 0 ? void 0 : linkProps.style), style), ref: ref }, rest), children)) : (React.createElement(\"button\", Object.assign({}, nativeButtonProps, { id: (_b = props_id !== null && props_id !== void 0 ? props_id : nativeButtonProps === null || nativeButtonProps === void 0 ? void 0 : nativeButtonProps.id) !== null && _b !== void 0 ? _b : id, className: cx(nativeButtonProps === null || nativeButtonProps === void 0 ? void 0 : nativeButtonProps.className, className), style: Object.assign(Object.assign({}, nativeButtonProps === null || nativeButtonProps === void 0 ? void 0 : nativeButtonProps.style), style), type: type !== null && type !== void 0 ? type : nativeButtonProps === null || nativeButtonProps === void 0 ? void 0 : nativeButtonProps.type, title: title !== null && title !== void 0 ? title : nativeButtonProps === null || nativeButtonProps === void 0 ? void 0 : nativeButtonProps.title, onClick: onClick !== null && onClick !== void 0 ? onClick : nativeButtonProps === null || nativeButtonProps === void 0 ? void 0 : nativeButtonProps.onClick, disabled: disabled !== null && disabled !== void 0 ? disabled : nativeButtonProps === null || nativeButtonProps === void 0 ? void 0 : nativeButtonProps.disabled, ref: ref, value: value }, rest), children));\n}));\nButton.displayName = symToStr({ Button });\nexport default Button;\n//# sourceMappingURL=Button.js.map","// This file is generated automatically by scripts/build/cssToTs/cssToTs.ts, please don't edit.\nimport { assert } from \"tsafe/assert\";\nexport const breakpointsValuesUnit = \"em\";\nexport const breakpointKeys = [\"xs\", \"sm\", \"md\", \"lg\", \"xl\"];\nexport const breakpointsValues = {\n \"xs\": 0,\n \"sm\": 36,\n \"md\": 48,\n \"lg\": 62,\n \"xl\": 78\n};\nassert();\n//# sourceMappingURL=breakpoints.js.map","import { assert } from \"tsafe/assert\";\nimport { isBrowser } from \"./isBrowser\";\nexport function getBaseFontSizePx() {\n if (!isBrowser) {\n return 16;\n }\n const htmlElement = document.querySelector(\"html\");\n assert(htmlElement !== null);\n const computedStyle = window.getComputedStyle(htmlElement);\n const fontSize = computedStyle.getPropertyValue(\"font-size\");\n const fontSizeInPixels = parseFloat(fontSize);\n return fontSizeInPixels;\n}\n//# sourceMappingURL=getBaseFontSizePx.js.map","import { breakpointsValues as values, breakpointsValuesUnit as unit, breakpointKeys as keys } from \"./generatedFromCss/breakpoints\";\nimport { assert } from \"tsafe/assert\";\nimport { getBaseFontSizePx } from \"../tools/getBaseFontSizePx\";\nconst epsilon = 0.003125;\nexport const breakpoints = {\n \"up\": (key) => `@media (min-width:${values[key]}${unit})`,\n \"down\": (key) => `@media (max-width:${values[key] - epsilon}${unit})`,\n \"between\": (start, end) => `@media (min-width:${values[start]}${unit}) and (max-width:${values[end] - epsilon}${unit})`,\n \"only\": (key) => keys.indexOf(key) + 1 < keys.length\n ? breakpoints.between(key, keys[keys.indexOf(key) + 1])\n : breakpoints.up((assert(key !== \"xs\"), key)),\n \"not\": (key) => {\n // handle first and last key separately, for better readability\n const keyIndex = keys.indexOf(key);\n if (keyIndex === 0) {\n return breakpoints.up(keys[1]);\n }\n if (keyIndex === keys.length - 1) {\n const key = keys[keyIndex];\n assert(key !== \"xs\");\n return breakpoints.down(key);\n }\n return breakpoints\n .between(key, keys[keys.indexOf(key) + 1])\n .replace(\"@media\", \"@media not all and\");\n },\n \"values\": (() => {\n const out = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (() => {\n const key = \"xs\";\n return { [key]: `${values[key]}${unit}` };\n })()), (() => {\n const key = \"sm\";\n return { [key]: `${values[key]}${unit}` };\n })()), (() => {\n const key = \"md\";\n return { [key]: `${values[key]}${unit}` };\n })()), (() => {\n const key = \"lg\";\n return { [key]: `${values[key]}${unit}` };\n })()), (() => {\n const key = \"xl\";\n return { [key]: `${values[key]}${unit}` };\n })());\n assert();\n return out;\n })(),\n \"valuesUnit\": unit,\n \"emValues\": (() => {\n assert();\n return values;\n })(),\n /**\n * Returns the breakpoint values in px.\n *\n * Warning: It reflects the values at a given time, if the root font size changes so will the breakpointsValues.\n * Plus this function is rather expensive to call.\n * If you're in react you should use the\n * import { useBreakpointsValuesPx } from \"@codegouvfr/react-dsfr/useBreakpointsValuesPx\";\n */\n \"getPxValues\": () => {\n assert();\n const factor = getBaseFontSizePx();\n return Object.fromEntries(Object.entries(values).map(([key, value]) => [key, value * factor]));\n },\n /** @deprecated use breakpoints.values if you're ok with getting the value in em or breakpoints.getPxValues() if you want the value in pixel */\n \"getBreakpointsValues\": () => breakpoints.getPxValues()\n};\n//# sourceMappingURL=breakpoints.js.map","// This file is generated automatically by scripts/build/cssToTs/cssToTs.ts, please don't edit.\nexport const spacingTokenByValue = {\n \"1v\": \"0.25rem\",\n \"1w\": \"0.5rem\",\n \"2v\": \"0.5rem\",\n \"3v\": \"0.75rem\",\n \"2w\": \"1rem\",\n \"4v\": \"1rem\",\n \"5v\": \"1.25rem\",\n \"3w\": \"1.5rem\",\n \"6v\": \"1.5rem\",\n \"7v\": \"1.75rem\",\n \"4w\": \"2rem\",\n \"8v\": \"2rem\",\n \"9v\": \"2.25rem\",\n \"10v\": \"2.5rem\",\n \"5w\": \"2.5rem\",\n \"11v\": \"2.75rem\",\n \"12v\": \"3rem\",\n \"6w\": \"3rem\",\n \"13v\": \"3.25rem\",\n \"14v\": \"3.5rem\",\n \"7w\": \"3.5rem\",\n \"15v\": \"3.75rem\",\n \"16v\": \"4rem\",\n \"8w\": \"4rem\",\n \"17v\": \"4.25rem\",\n \"18v\": \"4.5rem\",\n \"9w\": \"4.5rem\",\n \"19v\": \"4.75rem\",\n \"10w\": \"5rem\",\n \"20v\": \"5rem\",\n \"21v\": \"5.25rem\",\n \"11w\": \"5.5rem\",\n \"22v\": \"5.5rem\",\n \"23v\": \"5.75rem\",\n \"12w\": \"6rem\",\n \"24v\": \"6rem\",\n \"25v\": \"6.25rem\",\n \"13w\": \"6.5rem\",\n \"26v\": \"6.5rem\",\n \"27v\": \"6.75rem\",\n \"14w\": \"7rem\",\n \"28v\": \"7rem\",\n \"29v\": \"7.25rem\",\n \"15w\": \"7.5rem\",\n \"30v\": \"7.5rem\",\n \"31v\": \"7.75rem\",\n \"16w\": \"8rem\",\n \"32v\": \"8rem\"\n};\n//# sourceMappingURL=spacing.js.map","// This file is generated automatically by scripts/build/cssToTs/cssToTs.ts, please don't edit.\nimport { breakpoints } from \"../breakpoints\";\nexport const typography = [\n {\n \"selector\": \"h6\",\n \"style\": {\n \"fontWeight\": 700,\n \"fontSize\": \"1.125rem\",\n \"lineHeight\": \"1.5rem\",\n \"margin\": \"var(--title-spacing)\",\n \"color\": \"var(--text-title-grey)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"1.25rem\",\n \"lineHeight\": \"1.75rem\"\n }\n }\n },\n {\n \"selector\": \"h5\",\n \"style\": {\n \"fontWeight\": 700,\n \"fontSize\": \"1.25rem\",\n \"lineHeight\": \"1.75rem\",\n \"margin\": \"var(--title-spacing)\",\n \"color\": \"var(--text-title-grey)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"1.375rem\",\n \"lineHeight\": \"1.75rem\"\n }\n }\n },\n {\n \"selector\": \"h4\",\n \"style\": {\n \"fontWeight\": 700,\n \"fontSize\": \"1.375rem\",\n \"lineHeight\": \"1.75rem\",\n \"margin\": \"var(--title-spacing)\",\n \"color\": \"var(--text-title-grey)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"1.5rem\",\n \"lineHeight\": \"2rem\"\n }\n }\n },\n {\n \"selector\": \"h3\",\n \"style\": {\n \"fontWeight\": 700,\n \"fontSize\": \"1.5rem\",\n \"lineHeight\": \"2rem\",\n \"margin\": \"var(--title-spacing)\",\n \"color\": \"var(--text-title-grey)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"1.75rem\",\n \"lineHeight\": \"2.25rem\"\n }\n }\n },\n {\n \"selector\": \"h2\",\n \"style\": {\n \"fontWeight\": 700,\n \"fontSize\": \"1.75rem\",\n \"lineHeight\": \"2.25rem\",\n \"margin\": \"var(--title-spacing)\",\n \"color\": \"var(--text-title-grey)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"2rem\",\n \"lineHeight\": \"2.5rem\"\n }\n }\n },\n {\n \"selector\": \"h1\",\n \"style\": {\n \"fontWeight\": 700,\n \"fontSize\": \"2rem\",\n \"lineHeight\": \"2.5rem\",\n \"margin\": \"var(--title-spacing)\",\n \"color\": \"var(--text-title-grey)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"2.5rem\",\n \"lineHeight\": \"3rem\"\n }\n }\n },\n {\n \"selector\": \"p\",\n \"style\": {\n \"fontSize\": \"1rem\",\n \"lineHeight\": \"1.5rem\",\n \"margin\": \"var(--text-spacing)\"\n }\n },\n {\n \"selector\": \".fr-text--light\",\n \"style\": {\n \"fontWeight\": \"300 !important\"\n }\n },\n {\n \"selector\": \".fr-text--regular\",\n \"style\": {\n \"fontWeight\": \"400 !important\"\n }\n },\n {\n \"selector\": \".fr-text--bold\",\n \"style\": {\n \"fontWeight\": \"700 !important\"\n }\n },\n {\n \"selector\": \".fr-text--heavy\",\n \"style\": {\n \"fontWeight\": \"900 !important\"\n }\n },\n {\n \"selector\": \".fr-display--xs\",\n \"style\": {\n \"fontWeight\": \"700 !important\",\n \"fontSize\": \"2.5rem !important\",\n \"lineHeight\": \"3rem !important\",\n \"margin\": \"var(--display-spacing)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"3rem !important\",\n \"lineHeight\": \"3.5rem !important\"\n }\n }\n },\n {\n \"selector\": \".fr-display--sm\",\n \"style\": {\n \"fontWeight\": \"700 !important\",\n \"fontSize\": \"3rem !important\",\n \"lineHeight\": \"3.5rem !important\",\n \"margin\": \"var(--display-spacing)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"3.5rem !important\",\n \"lineHeight\": \"4rem !important\"\n }\n }\n },\n {\n \"selector\": \".fr-display--md\",\n \"style\": {\n \"fontWeight\": \"700 !important\",\n \"fontSize\": \"3.5rem !important\",\n \"lineHeight\": \"4rem !important\",\n \"margin\": \"var(--display-spacing)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"4rem !important\",\n \"lineHeight\": \"4.5rem !important\"\n }\n }\n },\n {\n \"selector\": \".fr-display--lg\",\n \"style\": {\n \"fontWeight\": \"700 !important\",\n \"fontSize\": \"4rem !important\",\n \"lineHeight\": \"4.5rem !important\",\n \"margin\": \"var(--display-spacing)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"4.5rem !important\",\n \"lineHeight\": \"5rem !important\"\n }\n }\n },\n {\n \"selector\": \".fr-display--xl\",\n \"style\": {\n \"fontWeight\": \"700 !important\",\n \"fontSize\": \"4.5rem !important\",\n \"lineHeight\": \"5rem !important\",\n \"margin\": \"var(--display-spacing)\",\n [breakpoints.up(\"md\")]: {\n \"fontSize\": \"5rem !important\",\n \"lineHeight\": \"5.5rem !important\"\n }\n }\n },\n {\n \"selector\": \".fr-text--alt\",\n \"style\": {\n \"fontFamily\": \"\\\"Spectral\\\", georgia, serif !important\"\n }\n },\n {\n \"selector\": \".fr-text--xs\",\n \"style\": {\n \"fontSize\": \"0.75rem !important\",\n \"lineHeight\": \"1.25rem !important\",\n \"margin\": \"var(--text-spacing)\"\n }\n },\n {\n \"selector\": \".fr-text--sm\",\n \"style\": {\n \"fontSize\": \"0.875rem !important\",\n \"lineHeight\": \"1.5rem !important\",\n \"margin\": \"var(--text-spacing)\"\n }\n },\n {\n \"selector\": \".fr-text--md\",\n \"style\": {\n \"fontSize\": \"1rem !important\",\n \"lineHeight\": \"1.5rem !important\",\n \"margin\": \"var(--text-spacing)\"\n }\n },\n {\n \"selector\": \".fr-text--lg\",\n \"style\": {\n \"fontSize\": \"1.125rem !important\",\n \"lineHeight\": \"1.75rem !important\",\n \"margin\": \"var(--text-spacing)\"\n }\n },\n {\n \"selector\": \".fr-text--xl\",\n \"style\": {\n \"fontSize\": \"1.25rem !important\",\n \"lineHeight\": \"2rem !important\",\n \"margin\": \"var(--text-spacing)\"\n }\n },\n {\n \"selector\": \".fr-text--lead\",\n \"style\": {\n \"fontSize\": \"1.25rem !important\",\n \"lineHeight\": \"2rem !important\",\n \"margin\": \"var(--text-spacing)\"\n }\n }\n];\n//# sourceMappingURL=typography.js.map","// This file is generated automatically by scripts/build/cssToTs/cssToTs.ts, please don't edit.\nexport const colorOptions = {\n \"grey\": {\n \"_1000_50\": {\n \"default\": \"var(--grey-1000-50)\",\n \"hover\": \"var(--grey-1000-50-hover)\",\n \"active\": \"var(--grey-1000-50-active)\"\n },\n \"_975_75\": {\n \"default\": \"var(--grey-975-75)\",\n \"hover\": \"var(--grey-975-75-hover)\",\n \"active\": \"var(--grey-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--grey-950-100)\",\n \"hover\": \"var(--grey-950-100-hover)\",\n \"active\": \"var(--grey-950-100-active)\"\n },\n \"_200_850\": {\n \"default\": \"var(--grey-200-850)\"\n },\n \"_925_125\": {\n \"default\": \"var(--grey-925-125)\"\n },\n \"_1000_75\": {\n \"default\": \"var(--grey-1000-75)\",\n \"hover\": \"var(--grey-1000-75-hover)\",\n \"active\": \"var(--grey-1000-75-active)\"\n },\n \"_1000_100\": {\n \"default\": \"var(--grey-1000-100)\",\n \"hover\": \"var(--grey-1000-100-hover)\",\n \"active\": \"var(--grey-1000-100-active)\"\n },\n \"_975_100\": {\n \"default\": \"var(--grey-975-100)\",\n \"hover\": \"var(--grey-975-100-hover)\",\n \"active\": \"var(--grey-975-100-active)\"\n },\n \"_975_125\": {\n \"default\": \"var(--grey-975-125)\",\n \"hover\": \"var(--grey-975-125-hover)\",\n \"active\": \"var(--grey-975-125-active)\"\n },\n \"_950_125\": {\n \"default\": \"var(--grey-950-125)\",\n \"hover\": \"var(--grey-950-125-hover)\",\n \"active\": \"var(--grey-950-125-active)\"\n },\n \"_950_150\": {\n \"default\": \"var(--grey-950-150)\",\n \"hover\": \"var(--grey-950-150-hover)\",\n \"active\": \"var(--grey-950-150-active)\"\n },\n \"_50_1000\": {\n \"default\": \"var(--grey-50-1000)\"\n },\n \"_425_625\": {\n \"default\": \"var(--grey-425-625)\"\n },\n \"_625_425\": {\n \"default\": \"var(--grey-625-425)\"\n },\n \"_0_1000\": {\n \"default\": \"var(--grey-0-1000)\"\n },\n \"_900_175\": {\n \"default\": \"var(--grey-900-175)\"\n }\n },\n \"blueFrance\": {\n \"_975_75\": {\n \"default\": \"var(--blue-france-975-75)\",\n \"hover\": \"var(--blue-france-975-75-hover)\",\n \"active\": \"var(--blue-france-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--blue-france-950-100)\",\n \"hover\": \"var(--blue-france-950-100-hover)\",\n \"active\": \"var(--blue-france-950-100-active)\"\n },\n \"sun113_625\": {\n \"default\": \"var(--blue-france-sun-113-625)\",\n \"hover\": \"var(--blue-france-sun-113-625-hover)\",\n \"active\": \"var(--blue-france-sun-113-625-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--blue-france-925-125)\",\n \"hover\": \"var(--blue-france-925-125-hover)\",\n \"active\": \"var(--blue-france-925-125-active)\"\n },\n \"_975sun113\": {\n \"default\": \"var(--blue-france-975-sun-113)\"\n },\n \"main525\": {\n \"default\": \"var(--blue-france-main-525)\"\n },\n \"_850_200\": {\n \"default\": \"var(--blue-france-850-200)\"\n }\n },\n \"redMarianne\": {\n \"_975_75\": {\n \"default\": \"var(--red-marianne-975-75)\",\n \"hover\": \"var(--red-marianne-975-75-hover)\",\n \"active\": \"var(--red-marianne-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--red-marianne-950-100)\",\n \"hover\": \"var(--red-marianne-950-100-hover)\",\n \"active\": \"var(--red-marianne-950-100-active)\"\n },\n \"_425_625\": {\n \"default\": \"var(--red-marianne-425-625)\",\n \"hover\": \"var(--red-marianne-425-625-hover)\",\n \"active\": \"var(--red-marianne-425-625-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--red-marianne-925-125)\",\n \"hover\": \"var(--red-marianne-925-125-hover)\",\n \"active\": \"var(--red-marianne-925-125-active)\"\n },\n \"main472\": {\n \"default\": \"var(--red-marianne-main-472)\"\n },\n \"_850_200\": {\n \"default\": \"var(--red-marianne-850-200)\"\n }\n },\n \"info\": {\n \"_950_100\": {\n \"default\": \"var(--info-950-100)\",\n \"hover\": \"var(--info-950-100-hover)\",\n \"active\": \"var(--info-950-100-active)\"\n },\n \"_425_625\": {\n \"default\": \"var(--info-425-625)\",\n \"hover\": \"var(--info-425-625-hover)\",\n \"active\": \"var(--info-425-625-active)\"\n },\n \"_975_75\": {\n \"default\": \"var(--info-975-75)\"\n }\n },\n \"success\": {\n \"_950_100\": {\n \"default\": \"var(--success-950-100)\",\n \"hover\": \"var(--success-950-100-hover)\",\n \"active\": \"var(--success-950-100-active)\"\n },\n \"_425_625\": {\n \"default\": \"var(--success-425-625)\",\n \"hover\": \"var(--success-425-625-hover)\",\n \"active\": \"var(--success-425-625-active)\"\n },\n \"_975_75\": {\n \"default\": \"var(--success-975-75)\"\n }\n },\n \"warning\": {\n \"_950_100\": {\n \"default\": \"var(--warning-950-100)\",\n \"hover\": \"var(--warning-950-100-hover)\",\n \"active\": \"var(--warning-950-100-active)\"\n },\n \"_425_625\": {\n \"default\": \"var(--warning-425-625)\",\n \"hover\": \"var(--warning-425-625-hover)\",\n \"active\": \"var(--warning-425-625-active)\"\n },\n \"_975_75\": {\n \"default\": \"var(--warning-975-75)\"\n }\n },\n \"error\": {\n \"_950_100\": {\n \"default\": \"var(--error-950-100)\",\n \"hover\": \"var(--error-950-100-hover)\",\n \"active\": \"var(--error-950-100-active)\"\n },\n \"_425_625\": {\n \"default\": \"var(--error-425-625)\",\n \"hover\": \"var(--error-425-625-hover)\",\n \"active\": \"var(--error-425-625-active)\"\n },\n \"_975_75\": {\n \"default\": \"var(--error-975-75)\"\n }\n },\n \"greenTilleulVerveine\": {\n \"_975_75\": {\n \"default\": \"var(--green-tilleul-verveine-975-75)\",\n \"hover\": \"var(--green-tilleul-verveine-975-75-hover)\",\n \"active\": \"var(--green-tilleul-verveine-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--green-tilleul-verveine-950-100)\",\n \"hover\": \"var(--green-tilleul-verveine-950-100-hover)\",\n \"active\": \"var(--green-tilleul-verveine-950-100-active)\"\n },\n \"sun418moon817\": {\n \"default\": \"var(--green-tilleul-verveine-sun-418-moon-817)\",\n \"hover\": \"var(--green-tilleul-verveine-sun-418-moon-817-hover)\",\n \"active\": \"var(--green-tilleul-verveine-sun-418-moon-817-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--green-tilleul-verveine-925-125)\",\n \"hover\": \"var(--green-tilleul-verveine-925-125-hover)\",\n \"active\": \"var(--green-tilleul-verveine-925-125-active)\"\n },\n \"main707\": {\n \"default\": \"var(--green-tilleul-verveine-main-707)\"\n },\n \"_850_200\": {\n \"default\": \"var(--green-tilleul-verveine-850-200)\"\n }\n },\n \"greenBourgeon\": {\n \"_975_75\": {\n \"default\": \"var(--green-bourgeon-975-75)\",\n \"hover\": \"var(--green-bourgeon-975-75-hover)\",\n \"active\": \"var(--green-bourgeon-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--green-bourgeon-950-100)\",\n \"hover\": \"var(--green-bourgeon-950-100-hover)\",\n \"active\": \"var(--green-bourgeon-950-100-active)\"\n },\n \"sun425moon759\": {\n \"default\": \"var(--green-bourgeon-sun-425-moon-759)\",\n \"hover\": \"var(--green-bourgeon-sun-425-moon-759-hover)\",\n \"active\": \"var(--green-bourgeon-sun-425-moon-759-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--green-bourgeon-925-125)\",\n \"hover\": \"var(--green-bourgeon-925-125-hover)\",\n \"active\": \"var(--green-bourgeon-925-125-active)\"\n },\n \"main640\": {\n \"default\": \"var(--green-bourgeon-main-640)\"\n },\n \"_850_200\": {\n \"default\": \"var(--green-bourgeon-850-200)\"\n }\n },\n \"greenEmeraude\": {\n \"_975_75\": {\n \"default\": \"var(--green-emeraude-975-75)\",\n \"hover\": \"var(--green-emeraude-975-75-hover)\",\n \"active\": \"var(--green-emeraude-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--green-emeraude-950-100)\",\n \"hover\": \"var(--green-emeraude-950-100-hover)\",\n \"active\": \"var(--green-emeraude-950-100-active)\"\n },\n \"sun425moon753\": {\n \"default\": \"var(--green-emeraude-sun-425-moon-753)\",\n \"hover\": \"var(--green-emeraude-sun-425-moon-753-hover)\",\n \"active\": \"var(--green-emeraude-sun-425-moon-753-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--green-emeraude-925-125)\",\n \"hover\": \"var(--green-emeraude-925-125-hover)\",\n \"active\": \"var(--green-emeraude-925-125-active)\"\n },\n \"main632\": {\n \"default\": \"var(--green-emeraude-main-632)\"\n },\n \"_850_200\": {\n \"default\": \"var(--green-emeraude-850-200)\"\n }\n },\n \"greenMenthe\": {\n \"_975_75\": {\n \"default\": \"var(--green-menthe-975-75)\",\n \"hover\": \"var(--green-menthe-975-75-hover)\",\n \"active\": \"var(--green-menthe-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--green-menthe-950-100)\",\n \"hover\": \"var(--green-menthe-950-100-hover)\",\n \"active\": \"var(--green-menthe-950-100-active)\"\n },\n \"sun373moon652\": {\n \"default\": \"var(--green-menthe-sun-373-moon-652)\",\n \"hover\": \"var(--green-menthe-sun-373-moon-652-hover)\",\n \"active\": \"var(--green-menthe-sun-373-moon-652-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--green-menthe-925-125)\",\n \"hover\": \"var(--green-menthe-925-125-hover)\",\n \"active\": \"var(--green-menthe-925-125-active)\"\n },\n \"main548\": {\n \"default\": \"var(--green-menthe-main-548)\"\n },\n \"_850_200\": {\n \"default\": \"var(--green-menthe-850-200)\"\n }\n },\n \"greenArchipel\": {\n \"_975_75\": {\n \"default\": \"var(--green-archipel-975-75)\",\n \"hover\": \"var(--green-archipel-975-75-hover)\",\n \"active\": \"var(--green-archipel-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--green-archipel-950-100)\",\n \"hover\": \"var(--green-archipel-950-100-hover)\",\n \"active\": \"var(--green-archipel-950-100-active)\"\n },\n \"sun391moon716\": {\n \"default\": \"var(--green-archipel-sun-391-moon-716)\",\n \"hover\": \"var(--green-archipel-sun-391-moon-716-hover)\",\n \"active\": \"var(--green-archipel-sun-391-moon-716-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--green-archipel-925-125)\",\n \"hover\": \"var(--green-archipel-925-125-hover)\",\n \"active\": \"var(--green-archipel-925-125-active)\"\n },\n \"main557\": {\n \"default\": \"var(--green-archipel-main-557)\"\n },\n \"_850_200\": {\n \"default\": \"var(--green-archipel-850-200)\"\n }\n },\n \"blueEcume\": {\n \"_975_75\": {\n \"default\": \"var(--blue-ecume-975-75)\",\n \"hover\": \"var(--blue-ecume-975-75-hover)\",\n \"active\": \"var(--blue-ecume-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--blue-ecume-950-100)\",\n \"hover\": \"var(--blue-ecume-950-100-hover)\",\n \"active\": \"var(--blue-ecume-950-100-active)\"\n },\n \"sun247moon675\": {\n \"default\": \"var(--blue-ecume-sun-247-moon-675)\",\n \"hover\": \"var(--blue-ecume-sun-247-moon-675-hover)\",\n \"active\": \"var(--blue-ecume-sun-247-moon-675-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--blue-ecume-925-125)\",\n \"hover\": \"var(--blue-ecume-925-125-hover)\",\n \"active\": \"var(--blue-ecume-925-125-active)\"\n },\n \"main400\": {\n \"default\": \"var(--blue-ecume-main-400)\"\n },\n \"_850_200\": {\n \"default\": \"var(--blue-ecume-850-200)\"\n }\n },\n \"blueCumulus\": {\n \"_975_75\": {\n \"default\": \"var(--blue-cumulus-975-75)\",\n \"hover\": \"var(--blue-cumulus-975-75-hover)\",\n \"active\": \"var(--blue-cumulus-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--blue-cumulus-950-100)\",\n \"hover\": \"var(--blue-cumulus-950-100-hover)\",\n \"active\": \"var(--blue-cumulus-950-100-active)\"\n },\n \"sun368moon732\": {\n \"default\": \"var(--blue-cumulus-sun-368-moon-732)\",\n \"hover\": \"var(--blue-cumulus-sun-368-moon-732-hover)\",\n \"active\": \"var(--blue-cumulus-sun-368-moon-732-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--blue-cumulus-925-125)\",\n \"hover\": \"var(--blue-cumulus-925-125-hover)\",\n \"active\": \"var(--blue-cumulus-925-125-active)\"\n },\n \"main526\": {\n \"default\": \"var(--blue-cumulus-main-526)\"\n },\n \"_850_200\": {\n \"default\": \"var(--blue-cumulus-850-200)\"\n }\n },\n \"purpleGlycine\": {\n \"_975_75\": {\n \"default\": \"var(--purple-glycine-975-75)\",\n \"hover\": \"var(--purple-glycine-975-75-hover)\",\n \"active\": \"var(--purple-glycine-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--purple-glycine-950-100)\",\n \"hover\": \"var(--purple-glycine-950-100-hover)\",\n \"active\": \"var(--purple-glycine-950-100-active)\"\n },\n \"sun319moon630\": {\n \"default\": \"var(--purple-glycine-sun-319-moon-630)\",\n \"hover\": \"var(--purple-glycine-sun-319-moon-630-hover)\",\n \"active\": \"var(--purple-glycine-sun-319-moon-630-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--purple-glycine-925-125)\",\n \"hover\": \"var(--purple-glycine-925-125-hover)\",\n \"active\": \"var(--purple-glycine-925-125-active)\"\n },\n \"main494\": {\n \"default\": \"var(--purple-glycine-main-494)\"\n },\n \"_850_200\": {\n \"default\": \"var(--purple-glycine-850-200)\"\n }\n },\n \"pinkMacaron\": {\n \"_975_75\": {\n \"default\": \"var(--pink-macaron-975-75)\",\n \"hover\": \"var(--pink-macaron-975-75-hover)\",\n \"active\": \"var(--pink-macaron-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--pink-macaron-950-100)\",\n \"hover\": \"var(--pink-macaron-950-100-hover)\",\n \"active\": \"var(--pink-macaron-950-100-active)\"\n },\n \"sun406moon833\": {\n \"default\": \"var(--pink-macaron-sun-406-moon-833)\",\n \"hover\": \"var(--pink-macaron-sun-406-moon-833-hover)\",\n \"active\": \"var(--pink-macaron-sun-406-moon-833-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--pink-macaron-925-125)\",\n \"hover\": \"var(--pink-macaron-925-125-hover)\",\n \"active\": \"var(--pink-macaron-925-125-active)\"\n },\n \"main689\": {\n \"default\": \"var(--pink-macaron-main-689)\"\n },\n \"_850_200\": {\n \"default\": \"var(--pink-macaron-850-200)\"\n }\n },\n \"pinkTuile\": {\n \"_975_75\": {\n \"default\": \"var(--pink-tuile-975-75)\",\n \"hover\": \"var(--pink-tuile-975-75-hover)\",\n \"active\": \"var(--pink-tuile-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--pink-tuile-950-100)\",\n \"hover\": \"var(--pink-tuile-950-100-hover)\",\n \"active\": \"var(--pink-tuile-950-100-active)\"\n },\n \"sun425moon750\": {\n \"default\": \"var(--pink-tuile-sun-425-moon-750)\",\n \"hover\": \"var(--pink-tuile-sun-425-moon-750-hover)\",\n \"active\": \"var(--pink-tuile-sun-425-moon-750-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--pink-tuile-925-125)\",\n \"hover\": \"var(--pink-tuile-925-125-hover)\",\n \"active\": \"var(--pink-tuile-925-125-active)\"\n },\n \"main556\": {\n \"default\": \"var(--pink-tuile-main-556)\"\n },\n \"_850_200\": {\n \"default\": \"var(--pink-tuile-850-200)\"\n }\n },\n \"yellowTournesol\": {\n \"_975_75\": {\n \"default\": \"var(--yellow-tournesol-975-75)\",\n \"hover\": \"var(--yellow-tournesol-975-75-hover)\",\n \"active\": \"var(--yellow-tournesol-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--yellow-tournesol-950-100)\",\n \"hover\": \"var(--yellow-tournesol-950-100-hover)\",\n \"active\": \"var(--yellow-tournesol-950-100-active)\"\n },\n \"sun407moon922\": {\n \"default\": \"var(--yellow-tournesol-sun-407-moon-922)\",\n \"hover\": \"var(--yellow-tournesol-sun-407-moon-922-hover)\",\n \"active\": \"var(--yellow-tournesol-sun-407-moon-922-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--yellow-tournesol-925-125)\",\n \"hover\": \"var(--yellow-tournesol-925-125-hover)\",\n \"active\": \"var(--yellow-tournesol-925-125-active)\"\n },\n \"main731\": {\n \"default\": \"var(--yellow-tournesol-main-731)\"\n },\n \"_850_200\": {\n \"default\": \"var(--yellow-tournesol-850-200)\"\n }\n },\n \"yellowMoutarde\": {\n \"_975_75\": {\n \"default\": \"var(--yellow-moutarde-975-75)\",\n \"hover\": \"var(--yellow-moutarde-975-75-hover)\",\n \"active\": \"var(--yellow-moutarde-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--yellow-moutarde-950-100)\",\n \"hover\": \"var(--yellow-moutarde-950-100-hover)\",\n \"active\": \"var(--yellow-moutarde-950-100-active)\"\n },\n \"sun348moon860\": {\n \"default\": \"var(--yellow-moutarde-sun-348-moon-860)\",\n \"hover\": \"var(--yellow-moutarde-sun-348-moon-860-hover)\",\n \"active\": \"var(--yellow-moutarde-sun-348-moon-860-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--yellow-moutarde-925-125)\",\n \"hover\": \"var(--yellow-moutarde-925-125-hover)\",\n \"active\": \"var(--yellow-moutarde-925-125-active)\"\n },\n \"main679\": {\n \"default\": \"var(--yellow-moutarde-main-679)\"\n },\n \"_850_200\": {\n \"default\": \"var(--yellow-moutarde-850-200)\"\n }\n },\n \"orangeTerreBattue\": {\n \"_975_75\": {\n \"default\": \"var(--orange-terre-battue-975-75)\",\n \"hover\": \"var(--orange-terre-battue-975-75-hover)\",\n \"active\": \"var(--orange-terre-battue-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--orange-terre-battue-950-100)\",\n \"hover\": \"var(--orange-terre-battue-950-100-hover)\",\n \"active\": \"var(--orange-terre-battue-950-100-active)\"\n },\n \"sun370moon672\": {\n \"default\": \"var(--orange-terre-battue-sun-370-moon-672)\",\n \"hover\": \"var(--orange-terre-battue-sun-370-moon-672-hover)\",\n \"active\": \"var(--orange-terre-battue-sun-370-moon-672-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--orange-terre-battue-925-125)\",\n \"hover\": \"var(--orange-terre-battue-925-125-hover)\",\n \"active\": \"var(--orange-terre-battue-925-125-active)\"\n },\n \"main645\": {\n \"default\": \"var(--orange-terre-battue-main-645)\"\n },\n \"_850_200\": {\n \"default\": \"var(--orange-terre-battue-850-200)\"\n }\n },\n \"brownCafeCreme\": {\n \"_975_75\": {\n \"default\": \"var(--brown-cafe-creme-975-75)\",\n \"hover\": \"var(--brown-cafe-creme-975-75-hover)\",\n \"active\": \"var(--brown-cafe-creme-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--brown-cafe-creme-950-100)\",\n \"hover\": \"var(--brown-cafe-creme-950-100-hover)\",\n \"active\": \"var(--brown-cafe-creme-950-100-active)\"\n },\n \"sun383moon885\": {\n \"default\": \"var(--brown-cafe-creme-sun-383-moon-885)\",\n \"hover\": \"var(--brown-cafe-creme-sun-383-moon-885-hover)\",\n \"active\": \"var(--brown-cafe-creme-sun-383-moon-885-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--brown-cafe-creme-925-125)\",\n \"hover\": \"var(--brown-cafe-creme-925-125-hover)\",\n \"active\": \"var(--brown-cafe-creme-925-125-active)\"\n },\n \"main782\": {\n \"default\": \"var(--brown-cafe-creme-main-782)\"\n },\n \"_850_200\": {\n \"default\": \"var(--brown-cafe-creme-850-200)\"\n }\n },\n \"brownCaramel\": {\n \"_975_75\": {\n \"default\": \"var(--brown-caramel-975-75)\",\n \"hover\": \"var(--brown-caramel-975-75-hover)\",\n \"active\": \"var(--brown-caramel-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--brown-caramel-950-100)\",\n \"hover\": \"var(--brown-caramel-950-100-hover)\",\n \"active\": \"var(--brown-caramel-950-100-active)\"\n },\n \"sun425moon901\": {\n \"default\": \"var(--brown-caramel-sun-425-moon-901)\",\n \"hover\": \"var(--brown-caramel-sun-425-moon-901-hover)\",\n \"active\": \"var(--brown-caramel-sun-425-moon-901-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--brown-caramel-925-125)\",\n \"hover\": \"var(--brown-caramel-925-125-hover)\",\n \"active\": \"var(--brown-caramel-925-125-active)\"\n },\n \"main648\": {\n \"default\": \"var(--brown-caramel-main-648)\"\n },\n \"_850_200\": {\n \"default\": \"var(--brown-caramel-850-200)\"\n }\n },\n \"brownOpera\": {\n \"_975_75\": {\n \"default\": \"var(--brown-opera-975-75)\",\n \"hover\": \"var(--brown-opera-975-75-hover)\",\n \"active\": \"var(--brown-opera-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--brown-opera-950-100)\",\n \"hover\": \"var(--brown-opera-950-100-hover)\",\n \"active\": \"var(--brown-opera-950-100-active)\"\n },\n \"sun395moon820\": {\n \"default\": \"var(--brown-opera-sun-395-moon-820)\",\n \"hover\": \"var(--brown-opera-sun-395-moon-820-hover)\",\n \"active\": \"var(--brown-opera-sun-395-moon-820-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--brown-opera-925-125)\",\n \"hover\": \"var(--brown-opera-925-125-hover)\",\n \"active\": \"var(--brown-opera-925-125-active)\"\n },\n \"main680\": {\n \"default\": \"var(--brown-opera-main-680)\"\n },\n \"_850_200\": {\n \"default\": \"var(--brown-opera-850-200)\"\n }\n },\n \"beigeGrisGalet\": {\n \"_975_75\": {\n \"default\": \"var(--beige-gris-galet-975-75)\",\n \"hover\": \"var(--beige-gris-galet-975-75-hover)\",\n \"active\": \"var(--beige-gris-galet-975-75-active)\"\n },\n \"_950_100\": {\n \"default\": \"var(--beige-gris-galet-950-100)\",\n \"hover\": \"var(--beige-gris-galet-950-100-hover)\",\n \"active\": \"var(--beige-gris-galet-950-100-active)\"\n },\n \"sun407moon821\": {\n \"default\": \"var(--beige-gris-galet-sun-407-moon-821)\",\n \"hover\": \"var(--beige-gris-galet-sun-407-moon-821-hover)\",\n \"active\": \"var(--beige-gris-galet-sun-407-moon-821-active)\"\n },\n \"_925_125\": {\n \"default\": \"var(--beige-gris-galet-925-125)\",\n \"hover\": \"var(--beige-gris-galet-925-125-hover)\",\n \"active\": \"var(--beige-gris-galet-925-125-active)\"\n },\n \"main702\": {\n \"default\": \"var(--beige-gris-galet-main-702)\"\n },\n \"_850_200\": {\n \"default\": \"var(--beige-gris-galet-850-200)\"\n }\n }\n};\n//# sourceMappingURL=colorOptions.js.map","// This file is generated automatically by scripts/build/cssToTs/cssToTs.ts, please don't edit.\nexport function getColorOptionsHex(params) {\n const { isDark } = params;\n return {\n \"grey\": {\n \"_1000_50\": {\n \"default\": isDark ? \"#161616\" : \"#ffffff\",\n \"hover\": isDark ? \"#343434\" : \"#f6f6f6\",\n \"active\": isDark ? \"#474747\" : \"#ededed\"\n },\n \"_975_75\": {\n \"default\": isDark ? \"#1e1e1e\" : \"#f6f6f6\",\n \"hover\": isDark ? \"#3f3f3f\" : \"#dfdfdf\",\n \"active\": isDark ? \"#525252\" : \"#cfcfcf\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#242424\" : \"#eeeeee\",\n \"hover\": isDark ? \"#474747\" : \"#d2d2d2\",\n \"active\": isDark ? \"#5b5b5b\" : \"#c1c1c1\"\n },\n \"_200_850\": {\n \"default\": isDark ? \"#cecece\" : \"#3a3a3a\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#2a2a2a\" : \"#e5e5e5\"\n },\n \"_1000_75\": {\n \"default\": isDark ? \"#1e1e1e\" : \"#ffffff\",\n \"hover\": isDark ? \"#3f3f3f\" : \"#f6f6f6\",\n \"active\": isDark ? \"#525252\" : \"#ededed\"\n },\n \"_1000_100\": {\n \"default\": isDark ? \"#242424\" : \"#ffffff\",\n \"hover\": isDark ? \"#474747\" : \"#f6f6f6\",\n \"active\": isDark ? \"#5b5b5b\" : \"#ededed\"\n },\n \"_975_100\": {\n \"default\": isDark ? \"#242424\" : \"#f6f6f6\",\n \"hover\": isDark ? \"#474747\" : \"#dfdfdf\",\n \"active\": isDark ? \"#5b5b5b\" : \"#cfcfcf\"\n },\n \"_975_125\": {\n \"default\": isDark ? \"#2a2a2a\" : \"#f6f6f6\",\n \"hover\": isDark ? \"#4e4e4e\" : \"#dfdfdf\",\n \"active\": isDark ? \"#636363\" : \"#cfcfcf\"\n },\n \"_950_125\": {\n \"default\": isDark ? \"#2a2a2a\" : \"#eeeeee\",\n \"hover\": isDark ? \"#4e4e4e\" : \"#d2d2d2\",\n \"active\": isDark ? \"#636363\" : \"#c1c1c1\"\n },\n \"_950_150\": {\n \"default\": isDark ? \"#2f2f2f\" : \"#eeeeee\",\n \"hover\": isDark ? \"#545454\" : \"#d2d2d2\",\n \"active\": isDark ? \"#696969\" : \"#c1c1c1\"\n },\n \"_50_1000\": {\n \"default\": isDark ? \"#ffffff\" : \"#161616\"\n },\n \"_425_625\": {\n \"default\": isDark ? \"#929292\" : \"#666666\"\n },\n \"_625_425\": {\n \"default\": isDark ? \"#666666\" : \"#929292\"\n },\n \"_0_1000\": {\n \"default\": isDark ? \"#ffffff\" : \"#0\"\n },\n \"_900_175\": {\n \"default\": isDark ? \"#353535\" : \"#dddddd\"\n }\n },\n \"blueFrance\": {\n \"_975_75\": {\n \"default\": isDark ? \"#1b1b35\" : \"#f5f5fe\",\n \"hover\": isDark ? \"#3a3a68\" : \"#dcdcfc\",\n \"active\": isDark ? \"#4d4d83\" : \"#cbcbfa\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#21213f\" : \"#ececfe\",\n \"hover\": isDark ? \"#424275\" : \"#cecefc\",\n \"active\": isDark ? \"#56568c\" : \"#bbbbfc\"\n },\n \"sun113_625\": {\n \"default\": isDark ? \"#8585f6\" : \"#000091\",\n \"hover\": isDark ? \"#b1b1f9\" : \"#1212ff\",\n \"active\": isDark ? \"#c6c6fb\" : \"#2323ff\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#272747\" : \"#e3e3fd\",\n \"hover\": isDark ? \"#4a4a7d\" : \"#c1c1fb\",\n \"active\": isDark ? \"#5e5e90\" : \"#adadf9\"\n },\n \"_975sun113\": {\n \"default\": isDark ? \"#000091\" : \"#f5f5fe\"\n },\n \"main525\": {\n \"default\": \"#6a6af4\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#313178\" : \"#cacafb\"\n }\n },\n \"redMarianne\": {\n \"_975_75\": {\n \"default\": isDark ? \"#2b1919\" : \"#fef4f4\",\n \"hover\": isDark ? \"#573737\" : \"#fcd7d7\",\n \"active\": isDark ? \"#704848\" : \"#fac4c4\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#331f1f\" : \"#fee9e9\",\n \"hover\": isDark ? \"#613f3f\" : \"#fdc5c5\",\n \"active\": isDark ? \"#7b5151\" : \"#fcafaf\"\n },\n \"_425_625\": {\n \"default\": isDark ? \"#f95c5e\" : \"#c9191e\",\n \"hover\": isDark ? \"#fa9293\" : \"#f93f42\",\n \"active\": isDark ? \"#fbabac\" : \"#f95a5c\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#3b2424\" : \"#fddede\",\n \"hover\": isDark ? \"#6b4545\" : \"#fbb6b6\",\n \"active\": isDark ? \"#865757\" : \"#fa9e9e\"\n },\n \"main472\": {\n \"default\": \"#e1000f\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#5e2a2b\" : \"#fcbfbf\"\n }\n },\n \"info\": {\n \"_950_100\": {\n \"default\": isDark ? \"#1d2437\" : \"#e8edff\",\n \"hover\": isDark ? \"#3b4767\" : \"#c2d1ff\",\n \"active\": isDark ? \"#4c5b83\" : \"#a9bfff\"\n },\n \"_425_625\": {\n \"default\": isDark ? \"#518fff\" : \"#0063cb\",\n \"hover\": isDark ? \"#98b4ff\" : \"#3b87ff\",\n \"active\": isDark ? \"#b4c7ff\" : \"#6798ff\"\n },\n \"_975_75\": {\n \"default\": isDark ? \"#171d2e\" : \"#f4f6ff\"\n }\n },\n \"success\": {\n \"_950_100\": {\n \"default\": isDark ? \"#19271d\" : \"#b8fec9\",\n \"hover\": isDark ? \"#344c3b\" : \"#46fd89\",\n \"active\": isDark ? \"#44624d\" : \"#34eb7b\"\n },\n \"_425_625\": {\n \"default\": isDark ? \"#27a658\" : \"#18753c\",\n \"hover\": isDark ? \"#36d975\" : \"#27a959\",\n \"active\": isDark ? \"#3df183\" : \"#2fc368\"\n },\n \"_975_75\": {\n \"default\": isDark ? \"#142117\" : \"#dffee6\"\n }\n },\n \"warning\": {\n \"_950_100\": {\n \"default\": isDark ? \"#361e19\" : \"#ffe9e6\",\n \"hover\": isDark ? \"#663d35\" : \"#ffc6bd\",\n \"active\": isDark ? \"#824f44\" : \"#ffb0a2\"\n },\n \"_425_625\": {\n \"default\": isDark ? \"#fc5d00\" : \"#b34000\",\n \"hover\": isDark ? \"#ff8c73\" : \"#ff6218\",\n \"active\": isDark ? \"#ffa595\" : \"#ff7a55\"\n },\n \"_975_75\": {\n \"default\": isDark ? \"#2d1814\" : \"#fff4f3\"\n }\n },\n \"error\": {\n \"_950_100\": {\n \"default\": isDark ? \"#391c1c\" : \"#ffe9e9\",\n \"hover\": isDark ? \"#6c3a3a\" : \"#ffc5c5\",\n \"active\": isDark ? \"#894b4b\" : \"#ffafaf\"\n },\n \"_425_625\": {\n \"default\": isDark ? \"#ff5655\" : \"#ce0500\",\n \"hover\": isDark ? \"#ff8c8c\" : \"#ff2725\",\n \"active\": isDark ? \"#ffa6a6\" : \"#ff4140\"\n },\n \"_975_75\": {\n \"default\": isDark ? \"#301717\" : \"#fff4f4\"\n }\n },\n \"greenTilleulVerveine\": {\n \"_975_75\": {\n \"default\": isDark ? \"#201e14\" : \"#fef7da\",\n \"hover\": isDark ? \"#433f2e\" : \"#fce552\",\n \"active\": isDark ? \"#57533d\" : \"#ebd54c\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#272419\" : \"#fceeac\",\n \"hover\": isDark ? \"#4c4734\" : \"#e8d45c\",\n \"active\": isDark ? \"#615b44\" : \"#d4c254\"\n },\n \"sun418moon817\": {\n \"default\": isDark ? \"#d8c634\" : \"#66673d\",\n \"hover\": isDark ? \"#fee943\" : \"#929359\",\n \"active\": isDark ? \"#fef1ab\" : \"#a7a967\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#2d2a1d\" : \"#fbe769\",\n \"hover\": isDark ? \"#534f39\" : \"#d7c655\",\n \"active\": isDark ? \"#696349\" : \"#c2b24c\"\n },\n \"main707\": {\n \"default\": \"#b7a73f\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#3f3a20\" : \"#e2cf58\"\n }\n },\n \"greenBourgeon\": {\n \"_975_75\": {\n \"default\": isDark ? \"#182014\" : \"#e6feda\",\n \"hover\": isDark ? \"#35432e\" : \"#a7fc62\",\n \"active\": isDark ? \"#46573d\" : \"#98ed4d\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#1e2719\" : \"#c9fcac\",\n \"hover\": isDark ? \"#3d4c34\" : \"#9ae95d\",\n \"active\": isDark ? \"#4e6144\" : \"#8dd555\"\n },\n \"sun425moon759\": {\n \"default\": isDark ? \"#99c221\" : \"#447049\",\n \"hover\": isDark ? \"#baec2a\" : \"#639f6a\",\n \"active\": isDark ? \"#c9fd2e\" : \"#72b77a\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#232d1d\" : \"#a9fb68\",\n \"hover\": isDark ? \"#435339\" : \"#8ed654\",\n \"active\": isDark ? \"#556949\" : \"#7fc04b\"\n },\n \"main640\": {\n \"default\": \"#68a532\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#2a401a\" : \"#95e257\"\n }\n },\n \"greenEmeraude\": {\n \"_975_75\": {\n \"default\": isDark ? \"#142018\" : \"#e3fdeb\",\n \"hover\": isDark ? \"#2e4335\" : \"#94f9b9\",\n \"active\": isDark ? \"#3d5846\" : \"#6df1a3\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#19271e\" : \"#c3fad5\",\n \"hover\": isDark ? \"#344c3d\" : \"#77eda5\",\n \"active\": isDark ? \"#44624f\" : \"#6dd897\"\n },\n \"sun425moon753\": {\n \"default\": isDark ? \"#34cb6a\" : \"#297254\",\n \"hover\": isDark ? \"#42fb84\" : \"#3ea47a\",\n \"active\": isDark ? \"#80fda3\" : \"#49bc8d\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#1e2e23\" : \"#9ef9be\",\n \"hover\": isDark ? \"#3b5543\" : \"#69df97\",\n \"active\": isDark ? \"#4b6b55\" : \"#5ec988\"\n },\n \"main632\": {\n \"default\": \"#00a95f\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#21402c\" : \"#6fe49d\"\n }\n },\n \"greenMenthe\": {\n \"_975_75\": {\n \"default\": isDark ? \"#15201e\" : \"#dffdf7\",\n \"hover\": isDark ? \"#30433f\" : \"#84f9e7\",\n \"active\": isDark ? \"#3f5753\" : \"#70ebd8\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#1a2624\" : \"#bafaee\",\n \"hover\": isDark ? \"#364b47\" : \"#79e7d5\",\n \"active\": isDark ? \"#46605b\" : \"#6fd3c3\"\n },\n \"sun373moon652\": {\n \"default\": isDark ? \"#21ab8e\" : \"#37635f\",\n \"hover\": isDark ? \"#2eddb8\" : \"#53918c\",\n \"active\": isDark ? \"#34f4cc\" : \"#62a9a2\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#1f2d2a\" : \"#8bf8e7\",\n \"hover\": isDark ? \"#3c534e\" : \"#6ed5c5\",\n \"active\": isDark ? \"#4d6963\" : \"#62bfb1\"\n },\n \"main548\": {\n \"default\": \"#009081\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#223f3a\" : \"#73e0cf\"\n }\n },\n \"greenArchipel\": {\n \"_975_75\": {\n \"default\": isDark ? \"#152021\" : \"#e5fbfd\",\n \"hover\": isDark ? \"#2f4345\" : \"#99f2f8\",\n \"active\": isDark ? \"#3f5759\" : \"#73e9f0\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#1a2628\" : \"#c7f6fc\",\n \"hover\": isDark ? \"#364a4e\" : \"#64ecf8\",\n \"active\": isDark ? \"#465f63\" : \"#5bd8e3\"\n },\n \"sun391moon716\": {\n \"default\": isDark ? \"#34bab5\" : \"#006a6f\",\n \"hover\": isDark ? \"#43e9e2\" : \"#009fa7\",\n \"active\": isDark ? \"#4cfdf6\" : \"#00bbc3\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#1f2c2e\" : \"#a6f2fa\",\n \"hover\": isDark ? \"#3c5255\" : \"#62dbe5\",\n \"active\": isDark ? \"#4d676b\" : \"#58c5cf\"\n },\n \"main557\": {\n \"default\": \"#009099\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#233e41\" : \"#60e0eb\"\n }\n },\n \"blueEcume\": {\n \"_975_75\": {\n \"default\": isDark ? \"#171d2f\" : \"#f4f6fe\",\n \"hover\": isDark ? \"#333e5e\" : \"#d7dffb\",\n \"active\": isDark ? \"#445179\" : \"#c3cffa\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#1d2437\" : \"#e9edfe\",\n \"hover\": isDark ? \"#3b4767\" : \"#c5d0fc\",\n \"active\": isDark ? \"#4c5b83\" : \"#adbffc\"\n },\n \"sun247moon675\": {\n \"default\": isDark ? \"#869ece\" : \"#2f4077\",\n \"hover\": isDark ? \"#b8c5e2\" : \"#4e68bb\",\n \"active\": isDark ? \"#ced6ea\" : \"#667dcf\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#222940\" : \"#dee5fd\",\n \"hover\": isDark ? \"#424d73\" : \"#b4c5fb\",\n \"active\": isDark ? \"#536190\" : \"#99b3f9\"\n },\n \"main400\": {\n \"default\": \"#465f9d\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#273962\" : \"#bfccfb\"\n }\n },\n \"blueCumulus\": {\n \"_975_75\": {\n \"default\": isDark ? \"#171e2b\" : \"#f3f6fe\",\n \"hover\": isDark ? \"#333f56\" : \"#d3dffc\",\n \"active\": isDark ? \"#43536f\" : \"#bed0fa\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#1c2433\" : \"#e6eefe\",\n \"hover\": isDark ? \"#3a4761\" : \"#bcd3fc\",\n \"active\": isDark ? \"#4a5b7b\" : \"#9fc3fc\"\n },\n \"sun368moon732\": {\n \"default\": isDark ? \"#7ab1e8\" : \"#3558a2\",\n \"hover\": isDark ? \"#bad2f2\" : \"#5982e0\",\n \"active\": isDark ? \"#d2e2f6\" : \"#7996e6\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#212a3a\" : \"#dae6fd\",\n \"hover\": isDark ? \"#404f69\" : \"#a9c8fb\",\n \"active\": isDark ? \"#516384\" : \"#8ab8f9\"\n },\n \"main526\": {\n \"default\": \"#417dc4\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#263b58\" : \"#b6cffb\"\n }\n },\n \"purpleGlycine\": {\n \"_975_75\": {\n \"default\": isDark ? \"#251a24\" : \"#fef3fd\",\n \"hover\": isDark ? \"#4c394a\" : \"#fcd4f8\",\n \"active\": isDark ? \"#634a60\" : \"#fabff5\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#2c202b\" : \"#fee7fc\",\n \"hover\": isDark ? \"#554053\" : \"#fdc0f8\",\n \"active\": isDark ? \"#6c536a\" : \"#fca8f6\"\n },\n \"sun319moon630\": {\n \"default\": isDark ? \"#ce70cc\" : \"#6e445a\",\n \"hover\": isDark ? \"#dfa4dd\" : \"#a66989\",\n \"active\": isDark ? \"#e7bbe6\" : \"#bb7f9e\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#332632\" : \"#fddbfa\",\n \"hover\": isDark ? \"#5d485c\" : \"#fbaff5\",\n \"active\": isDark ? \"#755b73\" : \"#fa96f2\"\n },\n \"main494\": {\n \"default\": \"#a558a0\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#502e4d\" : \"#fbb8f6\"\n }\n },\n \"pinkMacaron\": {\n \"_975_75\": {\n \"default\": isDark ? \"#261b19\" : \"#fef4f2\",\n \"hover\": isDark ? \"#4e3a37\" : \"#fcd8d0\",\n \"active\": isDark ? \"#654c48\" : \"#fac5b8\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#2e211f\" : \"#fee9e6\",\n \"hover\": isDark ? \"#58423f\" : \"#fdc6bd\",\n \"active\": isDark ? \"#705551\" : \"#fcb0a2\"\n },\n \"sun406moon833\": {\n \"default\": isDark ? \"#ffb7ae\" : \"#8d533e\",\n \"hover\": isDark ? \"#ffe0dc\" : \"#ca795c\",\n \"active\": isDark ? \"#fff0ee\" : \"#e08e73\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#352724\" : \"#fddfda\",\n \"hover\": isDark ? \"#614a45\" : \"#fbb8ab\",\n \"active\": isDark ? \"#795d57\" : \"#faa18d\"\n },\n \"main689\": {\n \"default\": \"#e18b76\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#52312a\" : \"#fcc0b4\"\n }\n },\n \"pinkTuile\": {\n \"_975_75\": {\n \"default\": isDark ? \"#281b19\" : \"#fef4f3\",\n \"hover\": isDark ? \"#513a37\" : \"#fcd7d3\",\n \"active\": isDark ? \"#694c48\" : \"#fac4be\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#2f211f\" : \"#fee9e7\",\n \"hover\": isDark ? \"#5a423e\" : \"#fdc6c0\",\n \"active\": isDark ? \"#725550\" : \"#fcb0a7\"\n },\n \"sun425moon750\": {\n \"default\": isDark ? \"#ff9575\" : \"#a94645\",\n \"hover\": isDark ? \"#ffc4b7\" : \"#d5706f\",\n \"active\": isDark ? \"#ffd8d0\" : \"#da8a89\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#372624\" : \"#fddfdb\",\n \"hover\": isDark ? \"#644845\" : \"#fbb8ad\",\n \"active\": isDark ? \"#7d5b57\" : \"#faa191\"\n },\n \"main556\": {\n \"default\": \"#ce614a\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#55302a\" : \"#fcbfb7\"\n }\n },\n \"yellowTournesol\": {\n \"_975_75\": {\n \"default\": isDark ? \"#221d11\" : \"#fef6e3\",\n \"hover\": isDark ? \"#473e29\" : \"#fce086\",\n \"active\": isDark ? \"#5c5136\" : \"#f5d24b\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#292416\" : \"#feecc2\",\n \"hover\": isDark ? \"#4f472f\" : \"#fbd335\",\n \"active\": isDark ? \"#655b3d\" : \"#e6c130\"\n },\n \"sun407moon922\": {\n \"default\": isDark ? \"#ffe552\" : \"#716043\",\n \"hover\": isDark ? \"#e1c700\" : \"#a28a62\",\n \"active\": isDark ? \"#cab300\" : \"#ba9f72\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#302a1a\" : \"#fde39c\",\n \"hover\": isDark ? \"#584e34\" : \"#e9c53b\",\n \"active\": isDark ? \"#6f6342\" : \"#d3b235\"\n },\n \"main731\": {\n \"default\": \"#c8aa39\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#43391a\" : \"#efcb3a\"\n }\n },\n \"yellowMoutarde\": {\n \"_975_75\": {\n \"default\": isDark ? \"#231d14\" : \"#fef5e8\",\n \"hover\": isDark ? \"#483e2e\" : \"#fcdca3\",\n \"active\": isDark ? \"#5e513d\" : \"#fbcd64\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#2a2319\" : \"#feebd0\",\n \"hover\": isDark ? \"#514534\" : \"#fdcd6d\",\n \"active\": isDark ? \"#685944\" : \"#f4be30\"\n },\n \"sun348moon860\": {\n \"default\": isDark ? \"#ffca00\" : \"#695240\",\n \"hover\": isDark ? \"#cda200\" : \"#9b7b61\",\n \"active\": isDark ? \"#b28c00\" : \"#b58f72\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#30291d\" : \"#fde2b5\",\n \"hover\": isDark ? \"#584d39\" : \"#f6c43c\",\n \"active\": isDark ? \"#6f6149\" : \"#dfb135\"\n },\n \"main679\": {\n \"default\": \"#c3992a\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#453820\" : \"#fcc63a\"\n }\n },\n \"orangeTerreBattue\": {\n \"_975_75\": {\n \"default\": isDark ? \"#281a16\" : \"#fef4f2\",\n \"hover\": isDark ? \"#513932\" : \"#fcd8d0\",\n \"active\": isDark ? \"#6a4b42\" : \"#fac5b8\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#31201c\" : \"#fee9e5\",\n \"hover\": isDark ? \"#5d403a\" : \"#fdc6ba\",\n \"active\": isDark ? \"#77534a\" : \"#fcb09e\"\n },\n \"sun370moon672\": {\n \"default\": isDark ? \"#ff732c\" : \"#755348\",\n \"hover\": isDark ? \"#ffa48b\" : \"#ab7b6b\",\n \"active\": isDark ? \"#ffbbab\" : \"#c68f7d\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#382621\" : \"#fddfd8\",\n \"hover\": isDark ? \"#664840\" : \"#fbb8a5\",\n \"active\": isDark ? \"#7f5b51\" : \"#faa184\"\n },\n \"main645\": {\n \"default\": \"#e4794a\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#543125\" : \"#fcc0b0\"\n }\n },\n \"brownCafeCreme\": {\n \"_975_75\": {\n \"default\": isDark ? \"#211d16\" : \"#fbf6ed\",\n \"hover\": isDark ? \"#453e31\" : \"#f2deb6\",\n \"active\": isDark ? \"#5a5141\" : \"#eacf91\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#28241c\" : \"#f7ecdb\",\n \"hover\": isDark ? \"#4e4739\" : \"#edce94\",\n \"active\": isDark ? \"#635b4a\" : \"#dabd84\"\n },\n \"sun383moon885\": {\n \"default\": isDark ? \"#ecd7a2\" : \"#685c48\",\n \"hover\": isDark ? \"#c5b386\" : \"#97866a\",\n \"active\": isDark ? \"#af9f77\" : \"#ae9b7b\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#2e2a21\" : \"#f4e3c7\",\n \"hover\": isDark ? \"#554e3f\" : \"#e1c386\",\n \"active\": isDark ? \"#6b6351\" : \"#ccb078\"\n },\n \"main782\": {\n \"default\": \"#d1b781\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#423925\" : \"#e7ca8e\"\n }\n },\n \"brownCaramel\": {\n \"_975_75\": {\n \"default\": isDark ? \"#251c16\" : \"#fbf5f2\",\n \"hover\": isDark ? \"#4c3c31\" : \"#f1dbcf\",\n \"active\": isDark ? \"#624e41\" : \"#ecc9b5\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#2c221c\" : \"#f7ebe5\",\n \"hover\": isDark ? \"#554439\" : \"#eccbb9\",\n \"active\": isDark ? \"#6c574a\" : \"#e6b79a\"\n },\n \"sun425moon901\": {\n \"default\": isDark ? \"#fbd8ab\" : \"#845d48\",\n \"hover\": isDark ? \"#efb547\" : \"#bb8568\",\n \"active\": isDark ? \"#d6a23e\" : \"#d69978\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#332821\" : \"#f3e2d9\",\n \"hover\": isDark ? \"#5d4b40\" : \"#e7bea6\",\n \"active\": isDark ? \"#755f51\" : \"#e1a982\"\n },\n \"main648\": {\n \"default\": \"#c08c65\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#4b3525\" : \"#eac7b2\"\n }\n },\n \"brownOpera\": {\n \"_975_75\": {\n \"default\": isDark ? \"#241c17\" : \"#fbf5f2\",\n \"hover\": isDark ? \"#4a3c33\" : \"#f1dbcf\",\n \"active\": isDark ? \"#604f44\" : \"#ecc9b5\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#2b221c\" : \"#f7ece4\",\n \"hover\": isDark ? \"#53443a\" : \"#eccdb3\",\n \"active\": isDark ? \"#6a574a\" : \"#e6ba90\"\n },\n \"sun395moon820\": {\n \"default\": isDark ? \"#e6be92\" : \"#745b47\",\n \"hover\": isDark ? \"#f2e2d3\" : \"#a78468\",\n \"active\": isDark ? \"#f8f0e9\" : \"#c09979\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#322821\" : \"#f3e2d7\",\n \"hover\": isDark ? \"#5c4b40\" : \"#e7bfa0\",\n \"active\": isDark ? \"#735f51\" : \"#deaa7e\"\n },\n \"main680\": {\n \"default\": \"#bd987a\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#493625\" : \"#eac7ad\"\n }\n },\n \"beigeGrisGalet\": {\n \"_975_75\": {\n \"default\": isDark ? \"#211d19\" : \"#f9f6f2\",\n \"hover\": isDark ? \"#453e37\" : \"#eadecd\",\n \"active\": isDark ? \"#595148\" : \"#e1ceb1\"\n },\n \"_950_100\": {\n \"default\": isDark ? \"#28231f\" : \"#f3ede5\",\n \"hover\": isDark ? \"#4e453f\" : \"#e1d0b5\",\n \"active\": isDark ? \"#635950\" : \"#d1bea2\"\n },\n \"sun407moon821\": {\n \"default\": isDark ? \"#d0c3b7\" : \"#6a6156\",\n \"hover\": isDark ? \"#eae5e1\" : \"#988b7c\",\n \"active\": isDark ? \"#f4f2f0\" : \"#afa08f\"\n },\n \"_925_125\": {\n \"default\": isDark ? \"#2e2924\" : \"#eee4d9\",\n \"hover\": isDark ? \"#554d45\" : \"#dbc3a4\",\n \"active\": isDark ? \"#6b6157\" : \"#c6b094\"\n },\n \"main702\": {\n \"default\": \"#aea397\"\n },\n \"_850_200\": {\n \"default\": isDark ? \"#433829\" : \"#e0cab0\"\n }\n }\n };\n}\n//# sourceMappingURL=getColorOptionsHex.js.map","// This file is generated automatically by scripts/build/cssToTs/cssToTs.ts, please don't edit.\nexport const colorDecisions = {\n \"background\": {\n \"default\": {\n \"grey\": {\n \"default\": \"var(--background-default-grey)\",\n \"hover\": \"var(--background-default-grey-hover)\",\n \"active\": \"var(--background-default-grey-active)\"\n }\n },\n \"alt\": {\n \"grey\": {\n \"default\": \"var(--background-alt-grey)\",\n \"hover\": \"var(--background-alt-grey-hover)\",\n \"active\": \"var(--background-alt-grey-active)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--background-alt-blue-france)\",\n \"hover\": \"var(--background-alt-blue-france-hover)\",\n \"active\": \"var(--background-alt-blue-france-active)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--background-alt-red-marianne)\",\n \"hover\": \"var(--background-alt-red-marianne-hover)\",\n \"active\": \"var(--background-alt-red-marianne-active)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--background-alt-green-tilleul-verveine)\",\n \"hover\": \"var(--background-alt-green-tilleul-verveine-hover)\",\n \"active\": \"var(--background-alt-green-tilleul-verveine-active)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--background-alt-green-bourgeon)\",\n \"hover\": \"var(--background-alt-green-bourgeon-hover)\",\n \"active\": \"var(--background-alt-green-bourgeon-active)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--background-alt-green-emeraude)\",\n \"hover\": \"var(--background-alt-green-emeraude-hover)\",\n \"active\": \"var(--background-alt-green-emeraude-active)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--background-alt-green-menthe)\",\n \"hover\": \"var(--background-alt-green-menthe-hover)\",\n \"active\": \"var(--background-alt-green-menthe-active)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--background-alt-green-archipel)\",\n \"hover\": \"var(--background-alt-green-archipel-hover)\",\n \"active\": \"var(--background-alt-green-archipel-active)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--background-alt-blue-ecume)\",\n \"hover\": \"var(--background-alt-blue-ecume-hover)\",\n \"active\": \"var(--background-alt-blue-ecume-active)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--background-alt-blue-cumulus)\",\n \"hover\": \"var(--background-alt-blue-cumulus-hover)\",\n \"active\": \"var(--background-alt-blue-cumulus-active)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--background-alt-purple-glycine)\",\n \"hover\": \"var(--background-alt-purple-glycine-hover)\",\n \"active\": \"var(--background-alt-purple-glycine-active)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--background-alt-pink-macaron)\",\n \"hover\": \"var(--background-alt-pink-macaron-hover)\",\n \"active\": \"var(--background-alt-pink-macaron-active)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--background-alt-pink-tuile)\",\n \"hover\": \"var(--background-alt-pink-tuile-hover)\",\n \"active\": \"var(--background-alt-pink-tuile-active)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--background-alt-yellow-tournesol)\",\n \"hover\": \"var(--background-alt-yellow-tournesol-hover)\",\n \"active\": \"var(--background-alt-yellow-tournesol-active)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--background-alt-yellow-moutarde)\",\n \"hover\": \"var(--background-alt-yellow-moutarde-hover)\",\n \"active\": \"var(--background-alt-yellow-moutarde-active)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--background-alt-orange-terre-battue)\",\n \"hover\": \"var(--background-alt-orange-terre-battue-hover)\",\n \"active\": \"var(--background-alt-orange-terre-battue-active)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--background-alt-brown-cafe-creme)\",\n \"hover\": \"var(--background-alt-brown-cafe-creme-hover)\",\n \"active\": \"var(--background-alt-brown-cafe-creme-active)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--background-alt-brown-caramel)\",\n \"hover\": \"var(--background-alt-brown-caramel-hover)\",\n \"active\": \"var(--background-alt-brown-caramel-active)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--background-alt-brown-opera)\",\n \"hover\": \"var(--background-alt-brown-opera-hover)\",\n \"active\": \"var(--background-alt-brown-opera-active)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--background-alt-beige-gris-galet)\",\n \"hover\": \"var(--background-alt-beige-gris-galet-hover)\",\n \"active\": \"var(--background-alt-beige-gris-galet-active)\"\n }\n },\n \"contrast\": {\n \"grey\": {\n \"default\": \"var(--background-contrast-grey)\",\n \"hover\": \"var(--background-contrast-grey-hover)\",\n \"active\": \"var(--background-contrast-grey-active)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--background-contrast-blue-france)\",\n \"hover\": \"var(--background-contrast-blue-france-hover)\",\n \"active\": \"var(--background-contrast-blue-france-active)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--background-contrast-red-marianne)\",\n \"hover\": \"var(--background-contrast-red-marianne-hover)\",\n \"active\": \"var(--background-contrast-red-marianne-active)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--background-contrast-green-tilleul-verveine)\",\n \"hover\": \"var(--background-contrast-green-tilleul-verveine-hover)\",\n \"active\": \"var(--background-contrast-green-tilleul-verveine-active)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--background-contrast-green-bourgeon)\",\n \"hover\": \"var(--background-contrast-green-bourgeon-hover)\",\n \"active\": \"var(--background-contrast-green-bourgeon-active)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--background-contrast-green-emeraude)\",\n \"hover\": \"var(--background-contrast-green-emeraude-hover)\",\n \"active\": \"var(--background-contrast-green-emeraude-active)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--background-contrast-green-menthe)\",\n \"hover\": \"var(--background-contrast-green-menthe-hover)\",\n \"active\": \"var(--background-contrast-green-menthe-active)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--background-contrast-green-archipel)\",\n \"hover\": \"var(--background-contrast-green-archipel-hover)\",\n \"active\": \"var(--background-contrast-green-archipel-active)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--background-contrast-blue-ecume)\",\n \"hover\": \"var(--background-contrast-blue-ecume-hover)\",\n \"active\": \"var(--background-contrast-blue-ecume-active)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--background-contrast-blue-cumulus)\",\n \"hover\": \"var(--background-contrast-blue-cumulus-hover)\",\n \"active\": \"var(--background-contrast-blue-cumulus-active)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--background-contrast-purple-glycine)\",\n \"hover\": \"var(--background-contrast-purple-glycine-hover)\",\n \"active\": \"var(--background-contrast-purple-glycine-active)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--background-contrast-pink-macaron)\",\n \"hover\": \"var(--background-contrast-pink-macaron-hover)\",\n \"active\": \"var(--background-contrast-pink-macaron-active)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--background-contrast-pink-tuile)\",\n \"hover\": \"var(--background-contrast-pink-tuile-hover)\",\n \"active\": \"var(--background-contrast-pink-tuile-active)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--background-contrast-yellow-tournesol)\",\n \"hover\": \"var(--background-contrast-yellow-tournesol-hover)\",\n \"active\": \"var(--background-contrast-yellow-tournesol-active)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--background-contrast-yellow-moutarde)\",\n \"hover\": \"var(--background-contrast-yellow-moutarde-hover)\",\n \"active\": \"var(--background-contrast-yellow-moutarde-active)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--background-contrast-orange-terre-battue)\",\n \"hover\": \"var(--background-contrast-orange-terre-battue-hover)\",\n \"active\": \"var(--background-contrast-orange-terre-battue-active)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--background-contrast-brown-cafe-creme)\",\n \"hover\": \"var(--background-contrast-brown-cafe-creme-hover)\",\n \"active\": \"var(--background-contrast-brown-cafe-creme-active)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--background-contrast-brown-caramel)\",\n \"hover\": \"var(--background-contrast-brown-caramel-hover)\",\n \"active\": \"var(--background-contrast-brown-caramel-active)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--background-contrast-brown-opera)\",\n \"hover\": \"var(--background-contrast-brown-opera-hover)\",\n \"active\": \"var(--background-contrast-brown-opera-active)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--background-contrast-beige-gris-galet)\",\n \"hover\": \"var(--background-contrast-beige-gris-galet-hover)\",\n \"active\": \"var(--background-contrast-beige-gris-galet-active)\"\n },\n \"info\": {\n \"default\": \"var(--background-contrast-info)\",\n \"hover\": \"var(--background-contrast-info-hover)\",\n \"active\": \"var(--background-contrast-info-active)\"\n },\n \"success\": {\n \"default\": \"var(--background-contrast-success)\",\n \"hover\": \"var(--background-contrast-success-hover)\",\n \"active\": \"var(--background-contrast-success-active)\"\n },\n \"warning\": {\n \"default\": \"var(--background-contrast-warning)\",\n \"hover\": \"var(--background-contrast-warning-hover)\",\n \"active\": \"var(--background-contrast-warning-active)\"\n },\n \"error\": {\n \"default\": \"var(--background-contrast-error)\",\n \"hover\": \"var(--background-contrast-error-hover)\",\n \"active\": \"var(--background-contrast-error-active)\"\n }\n },\n \"flat\": {\n \"grey\": {\n \"default\": \"var(--background-flat-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--background-flat-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--background-flat-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--background-flat-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--background-flat-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--background-flat-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--background-flat-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--background-flat-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--background-flat-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--background-flat-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--background-flat-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--background-flat-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--background-flat-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--background-flat-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--background-flat-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--background-flat-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--background-flat-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--background-flat-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--background-flat-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--background-flat-beige-gris-galet)\"\n },\n \"info\": {\n \"default\": \"var(--background-flat-info)\"\n },\n \"success\": {\n \"default\": \"var(--background-flat-success)\"\n },\n \"warning\": {\n \"default\": \"var(--background-flat-warning)\"\n },\n \"error\": {\n \"default\": \"var(--background-flat-error)\"\n }\n },\n \"actionHigh\": {\n \"blueFrance\": {\n \"default\": \"var(--background-action-high-blue-france)\",\n \"hover\": \"var(--background-action-high-blue-france-hover)\",\n \"active\": \"var(--background-action-high-blue-france-active)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--background-action-high-red-marianne)\",\n \"hover\": \"var(--background-action-high-red-marianne-hover)\",\n \"active\": \"var(--background-action-high-red-marianne-active)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--background-action-high-green-tilleul-verveine)\",\n \"hover\": \"var(--background-action-high-green-tilleul-verveine-hover)\",\n \"active\": \"var(--background-action-high-green-tilleul-verveine-active)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--background-action-high-green-bourgeon)\",\n \"hover\": \"var(--background-action-high-green-bourgeon-hover)\",\n \"active\": \"var(--background-action-high-green-bourgeon-active)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--background-action-high-green-emeraude)\",\n \"hover\": \"var(--background-action-high-green-emeraude-hover)\",\n \"active\": \"var(--background-action-high-green-emeraude-active)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--background-action-high-green-menthe)\",\n \"hover\": \"var(--background-action-high-green-menthe-hover)\",\n \"active\": \"var(--background-action-high-green-menthe-active)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--background-action-high-green-archipel)\",\n \"hover\": \"var(--background-action-high-green-archipel-hover)\",\n \"active\": \"var(--background-action-high-green-archipel-active)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--background-action-high-blue-ecume)\",\n \"hover\": \"var(--background-action-high-blue-ecume-hover)\",\n \"active\": \"var(--background-action-high-blue-ecume-active)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--background-action-high-blue-cumulus)\",\n \"hover\": \"var(--background-action-high-blue-cumulus-hover)\",\n \"active\": \"var(--background-action-high-blue-cumulus-active)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--background-action-high-purple-glycine)\",\n \"hover\": \"var(--background-action-high-purple-glycine-hover)\",\n \"active\": \"var(--background-action-high-purple-glycine-active)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--background-action-high-pink-macaron)\",\n \"hover\": \"var(--background-action-high-pink-macaron-hover)\",\n \"active\": \"var(--background-action-high-pink-macaron-active)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--background-action-high-pink-tuile)\",\n \"hover\": \"var(--background-action-high-pink-tuile-hover)\",\n \"active\": \"var(--background-action-high-pink-tuile-active)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--background-action-high-yellow-tournesol)\",\n \"hover\": \"var(--background-action-high-yellow-tournesol-hover)\",\n \"active\": \"var(--background-action-high-yellow-tournesol-active)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--background-action-high-yellow-moutarde)\",\n \"hover\": \"var(--background-action-high-yellow-moutarde-hover)\",\n \"active\": \"var(--background-action-high-yellow-moutarde-active)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--background-action-high-orange-terre-battue)\",\n \"hover\": \"var(--background-action-high-orange-terre-battue-hover)\",\n \"active\": \"var(--background-action-high-orange-terre-battue-active)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--background-action-high-brown-cafe-creme)\",\n \"hover\": \"var(--background-action-high-brown-cafe-creme-hover)\",\n \"active\": \"var(--background-action-high-brown-cafe-creme-active)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--background-action-high-brown-caramel)\",\n \"hover\": \"var(--background-action-high-brown-caramel-hover)\",\n \"active\": \"var(--background-action-high-brown-caramel-active)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--background-action-high-brown-opera)\",\n \"hover\": \"var(--background-action-high-brown-opera-hover)\",\n \"active\": \"var(--background-action-high-brown-opera-active)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--background-action-high-beige-gris-galet)\",\n \"hover\": \"var(--background-action-high-beige-gris-galet-hover)\",\n \"active\": \"var(--background-action-high-beige-gris-galet-active)\"\n },\n \"info\": {\n \"default\": \"var(--background-action-high-info)\",\n \"hover\": \"var(--background-action-high-info-hover)\",\n \"active\": \"var(--background-action-high-info-active)\"\n },\n \"success\": {\n \"default\": \"var(--background-action-high-success)\",\n \"hover\": \"var(--background-action-high-success-hover)\",\n \"active\": \"var(--background-action-high-success-active)\"\n },\n \"warning\": {\n \"default\": \"var(--background-action-high-warning)\",\n \"hover\": \"var(--background-action-high-warning-hover)\",\n \"active\": \"var(--background-action-high-warning-active)\"\n },\n \"error\": {\n \"default\": \"var(--background-action-high-error)\",\n \"hover\": \"var(--background-action-high-error-hover)\",\n \"active\": \"var(--background-action-high-error-active)\"\n }\n },\n \"actionLow\": {\n \"blueFrance\": {\n \"default\": \"var(--background-action-low-blue-france)\",\n \"hover\": \"var(--background-action-low-blue-france-hover)\",\n \"active\": \"var(--background-action-low-blue-france-active)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--background-action-low-red-marianne)\",\n \"hover\": \"var(--background-action-low-red-marianne-hover)\",\n \"active\": \"var(--background-action-low-red-marianne-active)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--background-action-low-green-tilleul-verveine)\",\n \"hover\": \"var(--background-action-low-green-tilleul-verveine-hover)\",\n \"active\": \"var(--background-action-low-green-tilleul-verveine-active)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--background-action-low-green-bourgeon)\",\n \"hover\": \"var(--background-action-low-green-bourgeon-hover)\",\n \"active\": \"var(--background-action-low-green-bourgeon-active)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--background-action-low-green-emeraude)\",\n \"hover\": \"var(--background-action-low-green-emeraude-hover)\",\n \"active\": \"var(--background-action-low-green-emeraude-active)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--background-action-low-green-menthe)\",\n \"hover\": \"var(--background-action-low-green-menthe-hover)\",\n \"active\": \"var(--background-action-low-green-menthe-active)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--background-action-low-green-archipel)\",\n \"hover\": \"var(--background-action-low-green-archipel-hover)\",\n \"active\": \"var(--background-action-low-green-archipel-active)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--background-action-low-blue-ecume)\",\n \"hover\": \"var(--background-action-low-blue-ecume-hover)\",\n \"active\": \"var(--background-action-low-blue-ecume-active)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--background-action-low-blue-cumulus)\",\n \"hover\": \"var(--background-action-low-blue-cumulus-hover)\",\n \"active\": \"var(--background-action-low-blue-cumulus-active)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--background-action-low-purple-glycine)\",\n \"hover\": \"var(--background-action-low-purple-glycine-hover)\",\n \"active\": \"var(--background-action-low-purple-glycine-active)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--background-action-low-pink-macaron)\",\n \"hover\": \"var(--background-action-low-pink-macaron-hover)\",\n \"active\": \"var(--background-action-low-pink-macaron-active)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--background-action-low-pink-tuile)\",\n \"hover\": \"var(--background-action-low-pink-tuile-hover)\",\n \"active\": \"var(--background-action-low-pink-tuile-active)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--background-action-low-yellow-tournesol)\",\n \"hover\": \"var(--background-action-low-yellow-tournesol-hover)\",\n \"active\": \"var(--background-action-low-yellow-tournesol-active)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--background-action-low-yellow-moutarde)\",\n \"hover\": \"var(--background-action-low-yellow-moutarde-hover)\",\n \"active\": \"var(--background-action-low-yellow-moutarde-active)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--background-action-low-orange-terre-battue)\",\n \"hover\": \"var(--background-action-low-orange-terre-battue-hover)\",\n \"active\": \"var(--background-action-low-orange-terre-battue-active)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--background-action-low-brown-cafe-creme)\",\n \"hover\": \"var(--background-action-low-brown-cafe-creme-hover)\",\n \"active\": \"var(--background-action-low-brown-cafe-creme-active)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--background-action-low-brown-caramel)\",\n \"hover\": \"var(--background-action-low-brown-caramel-hover)\",\n \"active\": \"var(--background-action-low-brown-caramel-active)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--background-action-low-brown-opera)\",\n \"hover\": \"var(--background-action-low-brown-opera-hover)\",\n \"active\": \"var(--background-action-low-brown-opera-active)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--background-action-low-beige-gris-galet)\",\n \"hover\": \"var(--background-action-low-beige-gris-galet-hover)\",\n \"active\": \"var(--background-action-low-beige-gris-galet-active)\"\n }\n },\n \"active\": {\n \"blueFrance\": {\n \"default\": \"var(--background-active-blue-france)\",\n \"hover\": \"var(--background-active-blue-france-hover)\",\n \"active\": \"var(--background-active-blue-france-active)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--background-active-red-marianne)\",\n \"hover\": \"var(--background-active-red-marianne-hover)\",\n \"active\": \"var(--background-active-red-marianne-active)\"\n }\n },\n \"open\": {\n \"blueFrance\": {\n \"default\": \"var(--background-open-blue-france)\",\n \"hover\": \"var(--background-open-blue-france-hover)\",\n \"active\": \"var(--background-open-blue-france-active)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--background-open-red-marianne)\",\n \"hover\": \"var(--background-open-red-marianne-hover)\",\n \"active\": \"var(--background-open-red-marianne-active)\"\n }\n },\n \"disabled\": {\n \"grey\": {\n \"default\": \"var(--background-disabled-grey)\"\n }\n },\n \"raised\": {\n \"grey\": {\n \"default\": \"var(--background-raised-grey)\",\n \"hover\": \"var(--background-raised-grey-hover)\",\n \"active\": \"var(--background-raised-grey-active)\"\n }\n },\n \"overlap\": {\n \"grey\": {\n \"default\": \"var(--background-overlap-grey)\",\n \"hover\": \"var(--background-overlap-grey-hover)\",\n \"active\": \"var(--background-overlap-grey-active)\"\n }\n },\n \"lifted\": {\n \"grey\": {\n \"default\": \"var(--background-lifted-grey)\",\n \"hover\": \"var(--background-lifted-grey-hover)\",\n \"active\": \"var(--background-lifted-grey-active)\"\n }\n },\n \"altRaised\": {\n \"grey\": {\n \"default\": \"var(--background-alt-raised-grey)\",\n \"hover\": \"var(--background-alt-raised-grey-hover)\",\n \"active\": \"var(--background-alt-raised-grey-active)\"\n }\n },\n \"altOverlap\": {\n \"grey\": {\n \"default\": \"var(--background-alt-overlap-grey)\",\n \"hover\": \"var(--background-alt-overlap-grey-hover)\",\n \"active\": \"var(--background-alt-overlap-grey-active)\"\n }\n },\n \"contrastRaised\": {\n \"grey\": {\n \"default\": \"var(--background-contrast-raised-grey)\",\n \"hover\": \"var(--background-contrast-raised-grey-hover)\",\n \"active\": \"var(--background-contrast-raised-grey-active)\"\n }\n },\n \"contrastOverlap\": {\n \"grey\": {\n \"default\": \"var(--background-contrast-overlap-grey)\",\n \"hover\": \"var(--background-contrast-overlap-grey-hover)\",\n \"active\": \"var(--background-contrast-overlap-grey-active)\"\n }\n }\n },\n \"text\": {\n \"default\": {\n \"grey\": {\n \"default\": \"var(--text-default-grey)\"\n },\n \"info\": {\n \"default\": \"var(--text-default-info)\"\n },\n \"success\": {\n \"default\": \"var(--text-default-success)\"\n },\n \"warning\": {\n \"default\": \"var(--text-default-warning)\"\n },\n \"error\": {\n \"default\": \"var(--text-default-error)\"\n }\n },\n \"actionHigh\": {\n \"grey\": {\n \"default\": \"var(--text-action-high-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--text-action-high-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--text-action-high-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--text-action-high-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--text-action-high-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--text-action-high-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--text-action-high-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--text-action-high-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--text-action-high-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--text-action-high-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--text-action-high-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--text-action-high-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--text-action-high-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--text-action-high-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--text-action-high-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--text-action-high-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--text-action-high-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--text-action-high-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--text-action-high-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--text-action-high-beige-gris-galet)\"\n }\n },\n \"title\": {\n \"grey\": {\n \"default\": \"var(--text-title-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--text-title-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--text-title-red-marianne)\"\n }\n },\n \"label\": {\n \"grey\": {\n \"default\": \"var(--text-label-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--text-label-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--text-label-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--text-label-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--text-label-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--text-label-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--text-label-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--text-label-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--text-label-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--text-label-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--text-label-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--text-label-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--text-label-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--text-label-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--text-label-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--text-label-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--text-label-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--text-label-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--text-label-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--text-label-beige-gris-galet)\"\n }\n },\n \"active\": {\n \"grey\": {\n \"default\": \"var(--text-active-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--text-active-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--text-active-red-marianne)\"\n }\n },\n \"mention\": {\n \"grey\": {\n \"default\": \"var(--text-mention-grey)\"\n }\n },\n \"inverted\": {\n \"grey\": {\n \"default\": \"var(--text-inverted-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--text-inverted-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--text-inverted-red-marianne)\"\n },\n \"info\": {\n \"default\": \"var(--text-inverted-info)\"\n },\n \"success\": {\n \"default\": \"var(--text-inverted-success)\"\n },\n \"warning\": {\n \"default\": \"var(--text-inverted-warning)\"\n },\n \"error\": {\n \"default\": \"var(--text-inverted-error)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--text-inverted-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--text-inverted-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--text-inverted-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--text-inverted-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--text-inverted-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--text-inverted-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--text-inverted-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--text-inverted-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--text-inverted-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--text-inverted-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--text-inverted-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--text-inverted-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--text-inverted-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--text-inverted-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--text-inverted-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--text-inverted-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--text-inverted-beige-gris-galet)\"\n }\n },\n \"disabled\": {\n \"grey\": {\n \"default\": \"var(--text-disabled-grey)\"\n }\n },\n \"blackWhite\": {\n \"grey\": {\n \"default\": \"var(--text-black-white-grey)\"\n }\n }\n },\n \"border\": {\n \"default\": {\n \"grey\": {\n \"default\": \"var(--border-default-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--border-default-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--border-default-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--border-default-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--border-default-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--border-default-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--border-default-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--border-default-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--border-default-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--border-default-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--border-default-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--border-default-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--border-default-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--border-default-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--border-default-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--border-default-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--border-default-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--border-default-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--border-default-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--border-default-beige-gris-galet)\"\n }\n },\n \"active\": {\n \"blueFrance\": {\n \"default\": \"var(--border-active-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--border-active-red-marianne)\"\n }\n },\n \"actionHigh\": {\n \"grey\": {\n \"default\": \"var(--border-action-high-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--border-action-high-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--border-action-high-red-marianne)\"\n },\n \"info\": {\n \"default\": \"var(--border-action-high-info)\"\n },\n \"success\": {\n \"default\": \"var(--border-action-high-success)\"\n },\n \"warning\": {\n \"default\": \"var(--border-action-high-warning)\"\n },\n \"error\": {\n \"default\": \"var(--border-action-high-error)\"\n }\n },\n \"actionLow\": {\n \"blueFrance\": {\n \"default\": \"var(--border-action-low-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--border-action-low-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--border-action-low-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--border-action-low-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--border-action-low-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--border-action-low-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--border-action-low-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--border-action-low-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--border-action-low-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--border-action-low-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--border-action-low-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--border-action-low-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--border-action-low-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--border-action-low-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--border-action-low-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--border-action-low-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--border-action-low-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--border-action-low-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--border-action-low-beige-gris-galet)\"\n }\n },\n \"open\": {\n \"blueFrance\": {\n \"default\": \"var(--border-open-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--border-open-red-marianne)\"\n }\n },\n \"plain\": {\n \"grey\": {\n \"default\": \"var(--border-plain-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--border-plain-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--border-plain-red-marianne)\"\n },\n \"info\": {\n \"default\": \"var(--border-plain-info)\"\n },\n \"success\": {\n \"default\": \"var(--border-plain-success)\"\n },\n \"warning\": {\n \"default\": \"var(--border-plain-warning)\"\n },\n \"error\": {\n \"default\": \"var(--border-plain-error)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--border-plain-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--border-plain-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--border-plain-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--border-plain-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--border-plain-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--border-plain-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--border-plain-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--border-plain-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--border-plain-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--border-plain-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--border-plain-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--border-plain-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--border-plain-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--border-plain-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--border-plain-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--border-plain-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--border-plain-beige-gris-galet)\"\n }\n },\n \"disabled\": {\n \"grey\": {\n \"default\": \"var(--border-disabled-grey)\"\n }\n }\n },\n \"artwork\": {\n \"major\": {\n \"blueFrance\": {\n \"default\": \"var(--artwork-major-blue-france)\",\n \"hover\": \"var(--artwork-major-blue-france-hover)\",\n \"active\": \"var(--artwork-major-blue-france-active)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--artwork-major-red-marianne)\",\n \"hover\": \"var(--artwork-major-red-marianne-hover)\",\n \"active\": \"var(--artwork-major-red-marianne-active)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--artwork-major-green-tilleul-verveine)\",\n \"hover\": \"var(--artwork-major-green-tilleul-verveine-hover)\",\n \"active\": \"var(--artwork-major-green-tilleul-verveine-active)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--artwork-major-green-bourgeon)\",\n \"hover\": \"var(--artwork-major-green-bourgeon-hover)\",\n \"active\": \"var(--artwork-major-green-bourgeon-active)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--artwork-major-green-emeraude)\",\n \"hover\": \"var(--artwork-major-green-emeraude-hover)\",\n \"active\": \"var(--artwork-major-green-emeraude-active)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--artwork-major-green-menthe)\",\n \"hover\": \"var(--artwork-major-green-menthe-hover)\",\n \"active\": \"var(--artwork-major-green-menthe-active)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--artwork-major-green-archipel)\",\n \"hover\": \"var(--artwork-major-green-archipel-hover)\",\n \"active\": \"var(--artwork-major-green-archipel-active)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--artwork-major-blue-ecume)\",\n \"hover\": \"var(--artwork-major-blue-ecume-hover)\",\n \"active\": \"var(--artwork-major-blue-ecume-active)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--artwork-major-blue-cumulus)\",\n \"hover\": \"var(--artwork-major-blue-cumulus-hover)\",\n \"active\": \"var(--artwork-major-blue-cumulus-active)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--artwork-major-purple-glycine)\",\n \"hover\": \"var(--artwork-major-purple-glycine-hover)\",\n \"active\": \"var(--artwork-major-purple-glycine-active)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--artwork-major-pink-macaron)\",\n \"hover\": \"var(--artwork-major-pink-macaron-hover)\",\n \"active\": \"var(--artwork-major-pink-macaron-active)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--artwork-major-pink-tuile)\",\n \"hover\": \"var(--artwork-major-pink-tuile-hover)\",\n \"active\": \"var(--artwork-major-pink-tuile-active)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--artwork-major-yellow-tournesol)\",\n \"hover\": \"var(--artwork-major-yellow-tournesol-hover)\",\n \"active\": \"var(--artwork-major-yellow-tournesol-active)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--artwork-major-yellow-moutarde)\",\n \"hover\": \"var(--artwork-major-yellow-moutarde-hover)\",\n \"active\": \"var(--artwork-major-yellow-moutarde-active)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--artwork-major-orange-terre-battue)\",\n \"hover\": \"var(--artwork-major-orange-terre-battue-hover)\",\n \"active\": \"var(--artwork-major-orange-terre-battue-active)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--artwork-major-brown-cafe-creme)\",\n \"hover\": \"var(--artwork-major-brown-cafe-creme-hover)\",\n \"active\": \"var(--artwork-major-brown-cafe-creme-active)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--artwork-major-brown-caramel)\",\n \"hover\": \"var(--artwork-major-brown-caramel-hover)\",\n \"active\": \"var(--artwork-major-brown-caramel-active)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--artwork-major-brown-opera)\",\n \"hover\": \"var(--artwork-major-brown-opera-hover)\",\n \"active\": \"var(--artwork-major-brown-opera-active)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--artwork-major-beige-gris-galet)\",\n \"hover\": \"var(--artwork-major-beige-gris-galet-hover)\",\n \"active\": \"var(--artwork-major-beige-gris-galet-active)\"\n }\n },\n \"minor\": {\n \"blueFrance\": {\n \"default\": \"var(--artwork-minor-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--artwork-minor-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--artwork-minor-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--artwork-minor-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--artwork-minor-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--artwork-minor-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--artwork-minor-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--artwork-minor-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--artwork-minor-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--artwork-minor-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--artwork-minor-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--artwork-minor-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--artwork-minor-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--artwork-minor-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--artwork-minor-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--artwork-minor-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--artwork-minor-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--artwork-minor-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--artwork-minor-beige-gris-galet)\"\n }\n },\n \"decorative\": {\n \"grey\": {\n \"default\": \"var(--artwork-decorative-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--artwork-decorative-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--artwork-decorative-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--artwork-decorative-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--artwork-decorative-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--artwork-decorative-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--artwork-decorative-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--artwork-decorative-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--artwork-decorative-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--artwork-decorative-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--artwork-decorative-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--artwork-decorative-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--artwork-decorative-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--artwork-decorative-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--artwork-decorative-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--artwork-decorative-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--artwork-decorative-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--artwork-decorative-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--artwork-decorative-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--artwork-decorative-beige-gris-galet)\"\n }\n },\n \"background\": {\n \"grey\": {\n \"default\": \"var(--artwork-background-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--artwork-background-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--artwork-background-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--artwork-background-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--artwork-background-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--artwork-background-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--artwork-background-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--artwork-background-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--artwork-background-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--artwork-background-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--artwork-background-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--artwork-background-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--artwork-background-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--artwork-background-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--artwork-background-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--artwork-background-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--artwork-background-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--artwork-background-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--artwork-background-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--artwork-background-beige-gris-galet)\"\n }\n },\n \"motif\": {\n \"grey\": {\n \"default\": \"var(--artwork-motif-grey)\"\n },\n \"blueFrance\": {\n \"default\": \"var(--artwork-motif-blue-france)\"\n },\n \"redMarianne\": {\n \"default\": \"var(--artwork-motif-red-marianne)\"\n },\n \"greenTilleulVerveine\": {\n \"default\": \"var(--artwork-motif-green-tilleul-verveine)\"\n },\n \"greenBourgeon\": {\n \"default\": \"var(--artwork-motif-green-bourgeon)\"\n },\n \"greenEmeraude\": {\n \"default\": \"var(--artwork-motif-green-emeraude)\"\n },\n \"greenMenthe\": {\n \"default\": \"var(--artwork-motif-green-menthe)\"\n },\n \"greenArchipel\": {\n \"default\": \"var(--artwork-motif-green-archipel)\"\n },\n \"blueEcume\": {\n \"default\": \"var(--artwork-motif-blue-ecume)\"\n },\n \"blueCumulus\": {\n \"default\": \"var(--artwork-motif-blue-cumulus)\"\n },\n \"purpleGlycine\": {\n \"default\": \"var(--artwork-motif-purple-glycine)\"\n },\n \"pinkMacaron\": {\n \"default\": \"var(--artwork-motif-pink-macaron)\"\n },\n \"pinkTuile\": {\n \"default\": \"var(--artwork-motif-pink-tuile)\"\n },\n \"yellowTournesol\": {\n \"default\": \"var(--artwork-motif-yellow-tournesol)\"\n },\n \"yellowMoutarde\": {\n \"default\": \"var(--artwork-motif-yellow-moutarde)\"\n },\n \"orangeTerreBattue\": {\n \"default\": \"var(--artwork-motif-orange-terre-battue)\"\n },\n \"brownCafeCreme\": {\n \"default\": \"var(--artwork-motif-brown-cafe-creme)\"\n },\n \"brownCaramel\": {\n \"default\": \"var(--artwork-motif-brown-caramel)\"\n },\n \"brownOpera\": {\n \"default\": \"var(--artwork-motif-brown-opera)\"\n },\n \"beigeGrisGalet\": {\n \"default\": \"var(--artwork-motif-beige-gris-galet)\"\n }\n }\n }\n};\n//# sourceMappingURL=colorDecisions.js.map","export function getColorDecisionsHex(params) {\n const { colorOptions } = params;\n return {\n \"background\": {\n \"default\": {\n \"grey\": {\n \"default\": colorOptions.grey._1000_50.default,\n \"hover\": colorOptions.grey._1000_50.hover,\n \"active\": colorOptions.grey._1000_50.active\n }\n },\n \"alt\": {\n \"grey\": {\n \"default\": colorOptions.grey._975_75.default,\n \"hover\": colorOptions.grey._975_75.hover,\n \"active\": colorOptions.grey._975_75.active\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._975_75.default,\n \"hover\": colorOptions.blueFrance._975_75.hover,\n \"active\": colorOptions.blueFrance._975_75.active\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._975_75.default,\n \"hover\": colorOptions.redMarianne._975_75.hover,\n \"active\": colorOptions.redMarianne._975_75.active\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine._975_75.default,\n \"hover\": colorOptions.greenTilleulVerveine._975_75.hover,\n \"active\": colorOptions.greenTilleulVerveine._975_75.active\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon._975_75.default,\n \"hover\": colorOptions.greenBourgeon._975_75.hover,\n \"active\": colorOptions.greenBourgeon._975_75.active\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude._975_75.default,\n \"hover\": colorOptions.greenEmeraude._975_75.hover,\n \"active\": colorOptions.greenEmeraude._975_75.active\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe._975_75.default,\n \"hover\": colorOptions.greenMenthe._975_75.hover,\n \"active\": colorOptions.greenMenthe._975_75.active\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel._975_75.default,\n \"hover\": colorOptions.greenArchipel._975_75.hover,\n \"active\": colorOptions.greenArchipel._975_75.active\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume._975_75.default,\n \"hover\": colorOptions.blueEcume._975_75.hover,\n \"active\": colorOptions.blueEcume._975_75.active\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus._975_75.default,\n \"hover\": colorOptions.blueCumulus._975_75.hover,\n \"active\": colorOptions.blueCumulus._975_75.active\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine._975_75.default,\n \"hover\": colorOptions.purpleGlycine._975_75.hover,\n \"active\": colorOptions.purpleGlycine._975_75.active\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron._975_75.default,\n \"hover\": colorOptions.pinkMacaron._975_75.hover,\n \"active\": colorOptions.pinkMacaron._975_75.active\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile._975_75.default,\n \"hover\": colorOptions.pinkTuile._975_75.hover,\n \"active\": colorOptions.pinkTuile._975_75.active\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol._975_75.default,\n \"hover\": colorOptions.yellowTournesol._975_75.hover,\n \"active\": colorOptions.yellowTournesol._975_75.active\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde._975_75.default,\n \"hover\": colorOptions.yellowMoutarde._975_75.hover,\n \"active\": colorOptions.yellowMoutarde._975_75.active\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue._975_75.default,\n \"hover\": colorOptions.orangeTerreBattue._975_75.hover,\n \"active\": colorOptions.orangeTerreBattue._975_75.active\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme._975_75.default,\n \"hover\": colorOptions.brownCafeCreme._975_75.hover,\n \"active\": colorOptions.brownCafeCreme._975_75.active\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel._975_75.default,\n \"hover\": colorOptions.brownCaramel._975_75.hover,\n \"active\": colorOptions.brownCaramel._975_75.active\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera._975_75.default,\n \"hover\": colorOptions.brownOpera._975_75.hover,\n \"active\": colorOptions.brownOpera._975_75.active\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet._975_75.default,\n \"hover\": colorOptions.beigeGrisGalet._975_75.hover,\n \"active\": colorOptions.beigeGrisGalet._975_75.active\n }\n },\n \"contrast\": {\n \"grey\": {\n \"default\": colorOptions.grey._950_100.default,\n \"hover\": colorOptions.grey._950_100.hover,\n \"active\": colorOptions.grey._950_100.active\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._950_100.default,\n \"hover\": colorOptions.blueFrance._950_100.hover,\n \"active\": colorOptions.blueFrance._950_100.active\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._950_100.default,\n \"hover\": colorOptions.redMarianne._950_100.hover,\n \"active\": colorOptions.redMarianne._950_100.active\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine._950_100.default,\n \"hover\": colorOptions.greenTilleulVerveine._950_100.hover,\n \"active\": colorOptions.greenTilleulVerveine._950_100.active\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon._950_100.default,\n \"hover\": colorOptions.greenBourgeon._950_100.hover,\n \"active\": colorOptions.greenBourgeon._950_100.active\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude._950_100.default,\n \"hover\": colorOptions.greenEmeraude._950_100.hover,\n \"active\": colorOptions.greenEmeraude._950_100.active\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe._950_100.default,\n \"hover\": colorOptions.greenMenthe._950_100.hover,\n \"active\": colorOptions.greenMenthe._950_100.active\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel._950_100.default,\n \"hover\": colorOptions.greenArchipel._950_100.hover,\n \"active\": colorOptions.greenArchipel._950_100.active\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume._950_100.default,\n \"hover\": colorOptions.blueEcume._950_100.hover,\n \"active\": colorOptions.blueEcume._950_100.active\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus._950_100.default,\n \"hover\": colorOptions.blueCumulus._950_100.hover,\n \"active\": colorOptions.blueCumulus._950_100.active\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine._950_100.default,\n \"hover\": colorOptions.purpleGlycine._950_100.hover,\n \"active\": colorOptions.purpleGlycine._950_100.active\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron._950_100.default,\n \"hover\": colorOptions.pinkMacaron._950_100.hover,\n \"active\": colorOptions.pinkMacaron._950_100.active\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile._950_100.default,\n \"hover\": colorOptions.pinkTuile._950_100.hover,\n \"active\": colorOptions.pinkTuile._950_100.active\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol._950_100.default,\n \"hover\": colorOptions.yellowTournesol._950_100.hover,\n \"active\": colorOptions.yellowTournesol._950_100.active\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde._950_100.default,\n \"hover\": colorOptions.yellowMoutarde._950_100.hover,\n \"active\": colorOptions.yellowMoutarde._950_100.active\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue._950_100.default,\n \"hover\": colorOptions.orangeTerreBattue._950_100.hover,\n \"active\": colorOptions.orangeTerreBattue._950_100.active\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme._950_100.default,\n \"hover\": colorOptions.brownCafeCreme._950_100.hover,\n \"active\": colorOptions.brownCafeCreme._950_100.active\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel._950_100.default,\n \"hover\": colorOptions.brownCaramel._950_100.hover,\n \"active\": colorOptions.brownCaramel._950_100.active\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera._950_100.default,\n \"hover\": colorOptions.brownOpera._950_100.hover,\n \"active\": colorOptions.brownOpera._950_100.active\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet._950_100.default,\n \"hover\": colorOptions.beigeGrisGalet._950_100.hover,\n \"active\": colorOptions.beigeGrisGalet._950_100.active\n },\n \"info\": {\n \"default\": colorOptions.info._950_100.default,\n \"hover\": colorOptions.info._950_100.hover,\n \"active\": colorOptions.info._950_100.active\n },\n \"success\": {\n \"default\": colorOptions.success._950_100.default,\n \"hover\": colorOptions.success._950_100.hover,\n \"active\": colorOptions.success._950_100.active\n },\n \"warning\": {\n \"default\": colorOptions.warning._950_100.default,\n \"hover\": colorOptions.warning._950_100.hover,\n \"active\": colorOptions.warning._950_100.active\n },\n \"error\": {\n \"default\": colorOptions.error._950_100.default,\n \"hover\": colorOptions.error._950_100.hover,\n \"active\": colorOptions.error._950_100.active\n }\n },\n \"flat\": {\n \"grey\": {\n \"default\": colorOptions.grey._200_850.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine.sun418moon817.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon.sun425moon759.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude.sun425moon753.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe.sun373moon652.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel.sun391moon716.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume.sun247moon675.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus.sun368moon732.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine.sun319moon630.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron.sun406moon833.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile.sun425moon750.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol.sun407moon922.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde.sun348moon860.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue.sun370moon672.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme.sun383moon885.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel.sun425moon901.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera.sun395moon820.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet.sun407moon821.default\n },\n \"info\": {\n \"default\": colorOptions.info._425_625.default\n },\n \"success\": {\n \"default\": colorOptions.success._425_625.default\n },\n \"warning\": {\n \"default\": colorOptions.warning._425_625.default\n },\n \"error\": {\n \"default\": colorOptions.error._425_625.default\n }\n },\n \"actionHigh\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default,\n \"hover\": colorOptions.blueFrance.sun113_625.hover,\n \"active\": colorOptions.blueFrance.sun113_625.active\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default,\n \"hover\": colorOptions.redMarianne._425_625.hover,\n \"active\": colorOptions.redMarianne._425_625.active\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine.sun418moon817.default,\n \"hover\": colorOptions.greenTilleulVerveine.sun418moon817.hover,\n \"active\": colorOptions.greenTilleulVerveine.sun418moon817.active\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon.sun425moon759.default,\n \"hover\": colorOptions.greenBourgeon.sun425moon759.hover,\n \"active\": colorOptions.greenBourgeon.sun425moon759.active\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude.sun425moon753.default,\n \"hover\": colorOptions.greenEmeraude.sun425moon753.hover,\n \"active\": colorOptions.greenEmeraude.sun425moon753.active\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe.sun373moon652.default,\n \"hover\": colorOptions.greenMenthe.sun373moon652.hover,\n \"active\": colorOptions.greenMenthe.sun373moon652.active\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel.sun391moon716.default,\n \"hover\": colorOptions.greenArchipel.sun391moon716.hover,\n \"active\": colorOptions.greenArchipel.sun391moon716.active\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume.sun247moon675.default,\n \"hover\": colorOptions.blueEcume.sun247moon675.hover,\n \"active\": colorOptions.blueEcume.sun247moon675.active\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus.sun368moon732.default,\n \"hover\": colorOptions.blueCumulus.sun368moon732.hover,\n \"active\": colorOptions.blueCumulus.sun368moon732.active\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine.sun319moon630.default,\n \"hover\": colorOptions.purpleGlycine.sun319moon630.hover,\n \"active\": colorOptions.purpleGlycine.sun319moon630.active\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron.sun406moon833.default,\n \"hover\": colorOptions.pinkMacaron.sun406moon833.hover,\n \"active\": colorOptions.pinkMacaron.sun406moon833.active\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile.sun425moon750.default,\n \"hover\": colorOptions.pinkTuile.sun425moon750.hover,\n \"active\": colorOptions.pinkTuile.sun425moon750.active\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol.sun407moon922.default,\n \"hover\": colorOptions.yellowTournesol.sun407moon922.hover,\n \"active\": colorOptions.yellowTournesol.sun407moon922.active\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde.sun348moon860.default,\n \"hover\": colorOptions.yellowMoutarde.sun348moon860.hover,\n \"active\": colorOptions.yellowMoutarde.sun348moon860.active\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue.sun370moon672.default,\n \"hover\": colorOptions.orangeTerreBattue.sun370moon672.hover,\n \"active\": colorOptions.orangeTerreBattue.sun370moon672.active\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme.sun383moon885.default,\n \"hover\": colorOptions.brownCafeCreme.sun383moon885.hover,\n \"active\": colorOptions.brownCafeCreme.sun383moon885.active\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel.sun425moon901.default,\n \"hover\": colorOptions.brownCaramel.sun425moon901.hover,\n \"active\": colorOptions.brownCaramel.sun425moon901.active\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera.sun395moon820.default,\n \"hover\": colorOptions.brownOpera.sun395moon820.hover,\n \"active\": colorOptions.brownOpera.sun395moon820.active\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet.sun407moon821.default,\n \"hover\": colorOptions.beigeGrisGalet.sun407moon821.hover,\n \"active\": colorOptions.beigeGrisGalet.sun407moon821.active\n },\n \"info\": {\n \"default\": colorOptions.info._425_625.default,\n \"hover\": colorOptions.info._425_625.hover,\n \"active\": colorOptions.info._425_625.active\n },\n \"success\": {\n \"default\": colorOptions.success._425_625.default,\n \"hover\": colorOptions.success._425_625.hover,\n \"active\": colorOptions.success._425_625.active\n },\n \"warning\": {\n \"default\": colorOptions.warning._425_625.default,\n \"hover\": colorOptions.warning._425_625.hover,\n \"active\": colorOptions.warning._425_625.active\n },\n \"error\": {\n \"default\": colorOptions.error._425_625.default,\n \"hover\": colorOptions.error._425_625.hover,\n \"active\": colorOptions.error._425_625.active\n }\n },\n \"actionLow\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._925_125.default,\n \"hover\": colorOptions.blueFrance._925_125.hover,\n \"active\": colorOptions.blueFrance._925_125.active\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._925_125.default,\n \"hover\": colorOptions.redMarianne._925_125.hover,\n \"active\": colorOptions.redMarianne._925_125.active\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine._925_125.default,\n \"hover\": colorOptions.greenTilleulVerveine._925_125.hover,\n \"active\": colorOptions.greenTilleulVerveine._925_125.active\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon._925_125.default,\n \"hover\": colorOptions.greenBourgeon._925_125.hover,\n \"active\": colorOptions.greenBourgeon._925_125.active\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude._925_125.default,\n \"hover\": colorOptions.greenEmeraude._925_125.hover,\n \"active\": colorOptions.greenEmeraude._925_125.active\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe._925_125.default,\n \"hover\": colorOptions.greenMenthe._925_125.hover,\n \"active\": colorOptions.greenMenthe._925_125.active\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel._925_125.default,\n \"hover\": colorOptions.greenArchipel._925_125.hover,\n \"active\": colorOptions.greenArchipel._925_125.active\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume._925_125.default,\n \"hover\": colorOptions.blueEcume._925_125.hover,\n \"active\": colorOptions.blueEcume._925_125.active\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus._925_125.default,\n \"hover\": colorOptions.blueCumulus._925_125.hover,\n \"active\": colorOptions.blueCumulus._925_125.active\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine._925_125.default,\n \"hover\": colorOptions.purpleGlycine._925_125.hover,\n \"active\": colorOptions.purpleGlycine._925_125.active\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron._925_125.default,\n \"hover\": colorOptions.pinkMacaron._925_125.hover,\n \"active\": colorOptions.pinkMacaron._925_125.active\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile._925_125.default,\n \"hover\": colorOptions.pinkTuile._925_125.hover,\n \"active\": colorOptions.pinkTuile._925_125.active\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol._925_125.default,\n \"hover\": colorOptions.yellowTournesol._925_125.hover,\n \"active\": colorOptions.yellowTournesol._925_125.active\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde._925_125.default,\n \"hover\": colorOptions.yellowMoutarde._925_125.hover,\n \"active\": colorOptions.yellowMoutarde._925_125.active\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue._925_125.default,\n \"hover\": colorOptions.orangeTerreBattue._925_125.hover,\n \"active\": colorOptions.orangeTerreBattue._925_125.active\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme._925_125.default,\n \"hover\": colorOptions.brownCafeCreme._925_125.hover,\n \"active\": colorOptions.brownCafeCreme._925_125.active\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel._925_125.default,\n \"hover\": colorOptions.brownCaramel._925_125.hover,\n \"active\": colorOptions.brownCaramel._925_125.active\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera._925_125.default,\n \"hover\": colorOptions.brownOpera._925_125.hover,\n \"active\": colorOptions.brownOpera._925_125.active\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet._925_125.default,\n \"hover\": colorOptions.beigeGrisGalet._925_125.hover,\n \"active\": colorOptions.beigeGrisGalet._925_125.active\n }\n },\n \"active\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default,\n \"hover\": colorOptions.blueFrance.sun113_625.hover,\n \"active\": colorOptions.blueFrance.sun113_625.active\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default,\n \"hover\": colorOptions.redMarianne._425_625.hover,\n \"active\": colorOptions.redMarianne._425_625.active\n }\n },\n \"open\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._925_125.default,\n \"hover\": colorOptions.blueFrance._925_125.hover,\n \"active\": colorOptions.blueFrance._925_125.active\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._925_125.default,\n \"hover\": colorOptions.redMarianne._925_125.hover,\n \"active\": colorOptions.redMarianne._925_125.active\n }\n },\n \"disabled\": {\n \"grey\": {\n \"default\": colorOptions.grey._925_125.default\n }\n },\n \"raised\": {\n \"grey\": {\n \"default\": colorOptions.grey._1000_75.default,\n \"hover\": colorOptions.grey._1000_75.hover,\n \"active\": colorOptions.grey._1000_75.active\n }\n },\n \"overlap\": {\n \"grey\": {\n \"default\": colorOptions.grey._1000_100.default,\n \"hover\": colorOptions.grey._1000_100.hover,\n \"active\": colorOptions.grey._1000_100.active\n }\n },\n \"lifted\": {\n \"grey\": {\n \"default\": colorOptions.grey._1000_75.default,\n \"hover\": colorOptions.grey._1000_75.hover,\n \"active\": colorOptions.grey._1000_75.active\n }\n },\n \"altRaised\": {\n \"grey\": {\n \"default\": colorOptions.grey._975_100.default,\n \"hover\": colorOptions.grey._975_100.hover,\n \"active\": colorOptions.grey._975_100.active\n }\n },\n \"altOverlap\": {\n \"grey\": {\n \"default\": colorOptions.grey._975_125.default,\n \"hover\": colorOptions.grey._975_125.hover,\n \"active\": colorOptions.grey._975_125.active\n }\n },\n \"contrastRaised\": {\n \"grey\": {\n \"default\": colorOptions.grey._950_125.default,\n \"hover\": colorOptions.grey._950_125.hover,\n \"active\": colorOptions.grey._950_125.active\n }\n },\n \"contrastOverlap\": {\n \"grey\": {\n \"default\": colorOptions.grey._950_150.default,\n \"hover\": colorOptions.grey._950_150.hover,\n \"active\": colorOptions.grey._950_150.active\n }\n }\n },\n \"text\": {\n \"default\": {\n \"grey\": {\n \"default\": colorOptions.grey._200_850.default\n },\n \"info\": {\n \"default\": colorOptions.info._425_625.default\n },\n \"success\": {\n \"default\": colorOptions.success._425_625.default\n },\n \"warning\": {\n \"default\": colorOptions.warning._425_625.default\n },\n \"error\": {\n \"default\": colorOptions.error._425_625.default\n }\n },\n \"actionHigh\": {\n \"grey\": {\n \"default\": colorOptions.grey._50_1000.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine.sun418moon817.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon.sun425moon759.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude.sun425moon753.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe.sun373moon652.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel.sun391moon716.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume.sun247moon675.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus.sun368moon732.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine.sun319moon630.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron.sun406moon833.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile.sun425moon750.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol.sun407moon922.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde.sun348moon860.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue.sun370moon672.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme.sun383moon885.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel.sun425moon901.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera.sun395moon820.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet.sun407moon821.default\n }\n },\n \"title\": {\n \"grey\": {\n \"default\": colorOptions.grey._50_1000.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default\n }\n },\n \"label\": {\n \"grey\": {\n \"default\": colorOptions.grey._50_1000.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine.sun418moon817.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon.sun425moon759.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude.sun425moon753.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe.sun373moon652.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel.sun391moon716.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume.sun247moon675.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus.sun368moon732.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine.sun319moon630.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron.sun406moon833.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile.sun425moon750.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol.sun407moon922.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde.sun348moon860.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue.sun370moon672.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme.sun383moon885.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel.sun425moon901.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera.sun395moon820.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet.sun407moon821.default\n }\n },\n \"active\": {\n \"grey\": {\n \"default\": colorOptions.grey._50_1000.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default\n }\n },\n \"mention\": {\n \"grey\": {\n \"default\": colorOptions.grey._425_625.default\n }\n },\n \"inverted\": {\n \"grey\": {\n \"default\": colorOptions.grey._1000_50.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._975sun113.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._975_75.default\n },\n \"info\": {\n \"default\": colorOptions.info._975_75.default\n },\n \"success\": {\n \"default\": colorOptions.success._975_75.default\n },\n \"warning\": {\n \"default\": colorOptions.warning._975_75.default\n },\n \"error\": {\n \"default\": colorOptions.error._975_75.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine._975_75.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon._975_75.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude._975_75.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe._975_75.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel._975_75.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume._975_75.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus._975_75.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine._975_75.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron._975_75.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile._975_75.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol._975_75.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde._975_75.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue._975_75.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme._975_75.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel._975_75.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera._975_75.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet._975_75.default\n }\n },\n \"disabled\": {\n \"grey\": {\n \"default\": colorOptions.grey._625_425.default\n }\n },\n \"blackWhite\": {\n \"grey\": {\n \"default\": colorOptions.grey._0_1000.default\n }\n }\n },\n \"border\": {\n \"default\": {\n \"grey\": {\n \"default\": colorOptions.grey._900_175.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.main525.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne.main472.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine.main707.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon.main640.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude.main632.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe.main548.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel.main557.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume.main400.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus.main526.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine.main494.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron.main689.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile.main556.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol.main731.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde.main679.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue.main645.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme.main782.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel.main648.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera.main680.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet.main702.default\n }\n },\n \"active\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default\n }\n },\n \"actionHigh\": {\n \"grey\": {\n \"default\": colorOptions.grey._50_1000.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default\n },\n \"info\": {\n \"default\": colorOptions.info._425_625.default\n },\n \"success\": {\n \"default\": colorOptions.success._425_625.default\n },\n \"warning\": {\n \"default\": colorOptions.warning._425_625.default\n },\n \"error\": {\n \"default\": colorOptions.error._425_625.default\n }\n },\n \"actionLow\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._850_200.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._850_200.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine._850_200.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon._850_200.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude._850_200.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe._850_200.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel._850_200.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume._850_200.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus._850_200.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine._850_200.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron._850_200.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile._850_200.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol._850_200.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde._850_200.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue._850_200.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme._850_200.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel._850_200.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera._850_200.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet._850_200.default\n }\n },\n \"open\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._925_125.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._925_125.default\n }\n },\n \"plain\": {\n \"grey\": {\n \"default\": colorOptions.grey._200_850.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default\n },\n \"info\": {\n \"default\": colorOptions.info._425_625.default\n },\n \"success\": {\n \"default\": colorOptions.success._425_625.default\n },\n \"warning\": {\n \"default\": colorOptions.warning._425_625.default\n },\n \"error\": {\n \"default\": colorOptions.error._425_625.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine.sun418moon817.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon.sun425moon759.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude.sun425moon753.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe.sun373moon652.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel.sun391moon716.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume.sun247moon675.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus.sun368moon732.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine.sun319moon630.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron.sun406moon833.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile.sun425moon750.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol.sun407moon922.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde.sun348moon860.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue.sun370moon672.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme.sun383moon885.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel.sun425moon901.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera.sun395moon820.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet.sun407moon821.default\n }\n },\n \"disabled\": {\n \"grey\": {\n \"default\": colorOptions.grey._925_125.default\n }\n }\n },\n \"artwork\": {\n \"major\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.sun113_625.default,\n \"hover\": colorOptions.blueFrance.sun113_625.hover,\n \"active\": colorOptions.blueFrance.sun113_625.active\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._425_625.default,\n \"hover\": colorOptions.redMarianne._425_625.hover,\n \"active\": colorOptions.redMarianne._425_625.active\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine.sun418moon817.default,\n \"hover\": colorOptions.greenTilleulVerveine.sun418moon817.hover,\n \"active\": colorOptions.greenTilleulVerveine.sun418moon817.active\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon.sun425moon759.default,\n \"hover\": colorOptions.greenBourgeon.sun425moon759.hover,\n \"active\": colorOptions.greenBourgeon.sun425moon759.active\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude.sun425moon753.default,\n \"hover\": colorOptions.greenEmeraude.sun425moon753.hover,\n \"active\": colorOptions.greenEmeraude.sun425moon753.active\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe.sun373moon652.default,\n \"hover\": colorOptions.greenMenthe.sun373moon652.hover,\n \"active\": colorOptions.greenMenthe.sun373moon652.active\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel.sun391moon716.default,\n \"hover\": colorOptions.greenArchipel.sun391moon716.hover,\n \"active\": colorOptions.greenArchipel.sun391moon716.active\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume.sun247moon675.default,\n \"hover\": colorOptions.blueEcume.sun247moon675.hover,\n \"active\": colorOptions.blueEcume.sun247moon675.active\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus.sun368moon732.default,\n \"hover\": colorOptions.blueCumulus.sun368moon732.hover,\n \"active\": colorOptions.blueCumulus.sun368moon732.active\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine.sun319moon630.default,\n \"hover\": colorOptions.purpleGlycine.sun319moon630.hover,\n \"active\": colorOptions.purpleGlycine.sun319moon630.active\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron.sun406moon833.default,\n \"hover\": colorOptions.pinkMacaron.sun406moon833.hover,\n \"active\": colorOptions.pinkMacaron.sun406moon833.active\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile.sun425moon750.default,\n \"hover\": colorOptions.pinkTuile.sun425moon750.hover,\n \"active\": colorOptions.pinkTuile.sun425moon750.active\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol.sun407moon922.default,\n \"hover\": colorOptions.yellowTournesol.sun407moon922.hover,\n \"active\": colorOptions.yellowTournesol.sun407moon922.active\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde.sun348moon860.default,\n \"hover\": colorOptions.yellowMoutarde.sun348moon860.hover,\n \"active\": colorOptions.yellowMoutarde.sun348moon860.active\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue.sun370moon672.default,\n \"hover\": colorOptions.orangeTerreBattue.sun370moon672.hover,\n \"active\": colorOptions.orangeTerreBattue.sun370moon672.active\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme.sun383moon885.default,\n \"hover\": colorOptions.brownCafeCreme.sun383moon885.hover,\n \"active\": colorOptions.brownCafeCreme.sun383moon885.active\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel.sun425moon901.default,\n \"hover\": colorOptions.brownCaramel.sun425moon901.hover,\n \"active\": colorOptions.brownCaramel.sun425moon901.active\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera.sun395moon820.default,\n \"hover\": colorOptions.brownOpera.sun395moon820.hover,\n \"active\": colorOptions.brownOpera.sun395moon820.active\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet.sun407moon821.default,\n \"hover\": colorOptions.beigeGrisGalet.sun407moon821.hover,\n \"active\": colorOptions.beigeGrisGalet.sun407moon821.active\n }\n },\n \"minor\": {\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance.main525.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne.main472.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine.main707.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon.main640.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude.main632.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe.main548.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel.main557.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume.main400.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus.main526.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine.main494.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron.main689.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile.main556.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol.main731.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde.main679.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue.main645.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme.main782.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel.main648.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera.main680.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet.main702.default\n }\n },\n \"decorative\": {\n \"grey\": {\n \"default\": colorOptions.grey._950_100.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._950_100.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._950_100.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine._950_100.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon._950_100.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude._950_100.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe._950_100.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel._950_100.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume._950_100.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus._950_100.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine._950_100.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron._950_100.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile._950_100.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol._950_100.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde._950_100.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue._950_100.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme._950_100.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel._950_100.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera._950_100.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet._950_100.default\n }\n },\n \"background\": {\n \"grey\": {\n \"default\": colorOptions.grey._975_75.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._975_75.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._975_75.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine._975_75.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon._975_75.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude._975_75.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe._975_75.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel._975_75.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume._975_75.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus._975_75.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine._975_75.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron._975_75.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile._975_75.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol._975_75.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde._975_75.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue._975_75.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme._975_75.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel._975_75.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera._975_75.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet._975_75.default\n }\n },\n \"motif\": {\n \"grey\": {\n \"default\": colorOptions.grey._925_125.default\n },\n \"blueFrance\": {\n \"default\": colorOptions.blueFrance._925_125.default\n },\n \"redMarianne\": {\n \"default\": colorOptions.redMarianne._925_125.default\n },\n \"greenTilleulVerveine\": {\n \"default\": colorOptions.greenTilleulVerveine._925_125.default\n },\n \"greenBourgeon\": {\n \"default\": colorOptions.greenBourgeon._925_125.default\n },\n \"greenEmeraude\": {\n \"default\": colorOptions.greenEmeraude._925_125.default\n },\n \"greenMenthe\": {\n \"default\": colorOptions.greenMenthe._925_125.default\n },\n \"greenArchipel\": {\n \"default\": colorOptions.greenArchipel._925_125.default\n },\n \"blueEcume\": {\n \"default\": colorOptions.blueEcume._925_125.default\n },\n \"blueCumulus\": {\n \"default\": colorOptions.blueCumulus._925_125.default\n },\n \"purpleGlycine\": {\n \"default\": colorOptions.purpleGlycine._925_125.default\n },\n \"pinkMacaron\": {\n \"default\": colorOptions.pinkMacaron._925_125.default\n },\n \"pinkTuile\": {\n \"default\": colorOptions.pinkTuile._925_125.default\n },\n \"yellowTournesol\": {\n \"default\": colorOptions.yellowTournesol._925_125.default\n },\n \"yellowMoutarde\": {\n \"default\": colorOptions.yellowMoutarde._925_125.default\n },\n \"orangeTerreBattue\": {\n \"default\": colorOptions.orangeTerreBattue._925_125.default\n },\n \"brownCafeCreme\": {\n \"default\": colorOptions.brownCafeCreme._925_125.default\n },\n \"brownCaramel\": {\n \"default\": colorOptions.brownCaramel._925_125.default\n },\n \"brownOpera\": {\n \"default\": colorOptions.brownOpera._925_125.default\n },\n \"beigeGrisGalet\": {\n \"default\": colorOptions.beigeGrisGalet._925_125.default\n }\n }\n }\n };\n}\n//# sourceMappingURL=getColorDecisionsHex.js.map","import { colorOptions } from \"./generatedFromCss/colorOptions\";\nimport { getColorOptionsHex } from \"./generatedFromCss/getColorOptionsHex\";\nimport { colorDecisions } from \"./generatedFromCss/colorDecisions\";\nimport { getColorDecisionsHex } from \"./generatedFromCss/getColorDecisionsHex\";\nexport const colors = {\n \"options\": colorOptions,\n \"decisions\": colorDecisions,\n \"getHex\": (() => {\n const getHex = ({ isDark }) => {\n const options = getColorOptionsHex({ isDark });\n const decisions = getColorDecisionsHex({ \"colorOptions\": options });\n return {\n options,\n decisions\n };\n };\n const cache = {\n \"light\": undefined,\n \"dark\": undefined\n };\n return ({ isDark }) => { var _a; var _b; return ((_a = cache[_b = isDark ? \"dark\" : \"light\"]) !== null && _a !== void 0 ? _a : (cache[_b] = getHex({ isDark }))); };\n })()\n};\n//# sourceMappingURL=colors.js.map","/* eslint-disable @typescript-eslint/ban-types */\nimport { assert } from \"tsafe/assert\";\nimport { capitalize } from \"tsafe/capitalize\";\nimport { spacingTokenByValue } from \"./generatedFromCss/spacing\";\nexport function spacing(kindOrToken, params) {\n if ([\"padding\", \"margin\"].indexOf(kindOrToken) >= 0) {\n const kind = kindOrToken;\n assert(params !== undefined);\n const out = {};\n const paramsWithOnlyDirection = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (() => {\n const { rightLeft } = params;\n return (rightLeft !== undefined && {\n \"right\": rightLeft,\n \"left\": rightLeft\n });\n })()), (() => {\n const { topBottom } = params;\n return (topBottom !== undefined && {\n \"top\": topBottom,\n \"bottom\": topBottom\n });\n })()), (params.top !== undefined && { \"top\": params.top })), (params.right !== undefined && { \"right\": params.right })), (params.bottom !== undefined && { \"bottom\": params.bottom })), (params.left !== undefined && { \"left\": params.left }));\n [\"top\", \"right\", \"bottom\", \"left\"].forEach(p => {\n const v = paramsWithOnlyDirection[p];\n if (v === undefined) {\n return;\n }\n out[`${kind}${capitalize(p)}`] =\n typeof v === \"number\" ? v : v === \"auto\" ? v : spacingTokenByValue[v];\n });\n return out;\n }\n else {\n const token = kindOrToken;\n return spacingTokenByValue[token];\n }\n}\n//# sourceMappingURL=spacing.js.map","import { cx as genericCx } from \"../tools/cx\";\n/** Copy pasted from\n * https://github.com/emotion-js/emotion/blob/23f43ab9f24d44219b0b007a00f4ac681fe8712e/packages/react/src/class-names.js#L17-L63\n **/\nexport const cx = genericCx;\n//# sourceMappingURL=cx.js.map","export * from \"./colors\";\nimport { breakpoints } from \"./breakpoints\";\nimport { spacing } from \"./spacing\";\nimport { cx } from \"./cx\";\nimport { colors } from \"./colors\";\nimport { typography } from \"./generatedFromCss/typography\";\nexport const fr = {\n breakpoints,\n spacing,\n cx,\n colors,\n typography\n};\n//# sourceMappingURL=index.js.map","import { useMemo } from \"react\";\nimport { capitalize } from \"tsafe/capitalize\";\nfunction getLanguageBestApprox(params) {\n const { languages, languageLike } = params;\n scope: {\n const lang = languages.find(lang => lang.toLowerCase() === languageLike.toLowerCase());\n if (lang === undefined) {\n break scope;\n }\n return lang;\n }\n scope: {\n const iso2LanguageLike = languageLike.split(\"-\")[0].toLowerCase();\n const lang = languages.find(lang => lang.toLowerCase().includes(iso2LanguageLike));\n if (lang === undefined) {\n break scope;\n }\n return lang;\n }\n return undefined;\n}\nlet useLang_glob = () => \"fr\";\nexport function setUseLang(params) {\n useLang_glob = params.useLang;\n}\nexport function useLang() {\n return useLang_glob();\n}\nexport function createComponentI18nApi(params) {\n const { componentName, frMessages } = params;\n const messagesByLang = { \"fr\": frMessages };\n function useTranslation() {\n const lang = useLang();\n const bestMatchLang = useMemo(() => {\n const bestApproxLang = getLanguageBestApprox({\n \"languages\": Object.keys(messagesByLang),\n \"languageLike\": lang\n });\n return bestApproxLang !== null && bestApproxLang !== void 0 ? bestApproxLang : \"fr\";\n }, [lang]);\n function t(messageKey, params) {\n var _a;\n const messageOrFn = (_a = messagesByLang[bestMatchLang][messageKey]) !== null && _a !== void 0 ? _a : messagesByLang[\"fr\"][messageKey];\n return params === undefined ? messageOrFn : messageOrFn(params);\n }\n return { t };\n }\n function addTranslations(params) {\n const { lang, messages } = params;\n Object.entries(messages)\n .filter(([, value]) => value !== undefined)\n .forEach(([key, value]) => { var _a; var _b; return (((_a = (_b = messagesByLang)[lang]) !== null && _a !== void 0 ? _a : (_b[lang] = {}))[key] = value); });\n }\n return {\n useTranslation,\n [`add${capitalize(componentName)}Translations`]: addTranslations\n };\n}\n//# sourceMappingURL=i18n.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React from \"react\";\nimport { fr } from \"./fr\";\nimport { cx } from \"./tools/cx\";\nimport { assert } from \"tsafe/assert\";\nimport { is } from \"tsafe/is\";\nlet Link = props => {\n const _a = props, { href } = _a, rest = __rest(_a, [\"href\"]);\n button: {\n if (href !== \"#\" || !(\"onClick\" in rest)) {\n break button;\n }\n assert(is(rest));\n return React.createElement(\"button\", Object.assign({}, rest, { className: cx(fr.cx(\"fr-link\"), rest.className) }));\n }\n return React.createElement(\"a\", Object.assign({ href: href }, rest));\n};\nexport function setLink(params) {\n Link = props => {\n var _a;\n {\n const _b = props, { to, href } = _b, rest = __rest(_b, [\"to\", \"href\"]);\n const target = (_a = (typeof to === \"string\" ? to : undefined)) !== null && _a !== void 0 ? _a : (typeof href === \"string\" ? href : undefined);\n button: {\n if (target !== \"#\" || !(\"onClick\" in rest)) {\n break button;\n }\n assert(is(rest));\n return React.createElement(\"button\", Object.assign({}, rest, { className: cx(fr.cx(\"fr-link\"), rest.className) }));\n }\n external_links: {\n if (target === undefined ||\n (!target.startsWith(\"//\") && !/^https?:\\/\\//.test(target))) {\n break external_links;\n }\n return React.createElement(\"a\", Object.assign({ href: target, target: \"_blank\", rel: \"noreferrer\" }, rest));\n }\n anchor: {\n if (target === undefined || !target.startsWith(\"#\")) {\n break anchor;\n }\n return React.createElement(\"a\", Object.assign({ href: target }, rest));\n }\n uri_scheme: {\n // Check if the 'target' starts with a valid URI scheme (e.g., 'mailto:', 'tel:', 'skype:', 'facetime:', etc.)\n const regex = /^[a-z]+:/;\n if (target === undefined || !regex.test(target)) {\n break uri_scheme;\n }\n return React.createElement(\"a\", Object.assign({ href: target }, rest));\n }\n }\n return React.createElement(params.Link, Object.assign({}, props));\n };\n}\nexport function getLink() {\n return { Link };\n}\n//# sourceMappingURL=link.js.map","import { useReducer, useEffect, useMemo } from \"react\";\nimport { assert } from \"tsafe/assert\";\nimport { breakpoints } from \"./fr/breakpoints\";\n/** Return the breakpoint values in px, the values ger refreshed\n * when the base font size change. */\nexport function useBreakpointsValuesPx() {\n const [breakpointsValuesDependency, triggerRefresh] = useReducer(() => ({}), {});\n useEffect(() => {\n const htmlElement = document.querySelector(\"html\");\n assert(htmlElement !== null);\n // Create a new MutationObserver to detect changes in the base font size\n const observer = new MutationObserver(mutationsList => {\n if (mutationsList.find(mutation => {\n var _a;\n return mutation.target === htmlElement &&\n mutation.attributeName === \"style\" &&\n ((_a = mutation.oldValue) !== null && _a !== void 0 ? _a : \"\").indexOf(\"font-size\") !== -1;\n }) !== undefined) {\n triggerRefresh();\n }\n });\n // Observe changes to the style attribute of the html element\n observer.observe(htmlElement, {\n \"attributes\": true,\n \"attributeOldValue\": true,\n \"attributeFilter\": [\"style\"]\n });\n return () => {\n observer.disconnect();\n };\n }, []);\n const breakpointsValues = useMemo(() => breakpoints.getPxValues(), [breakpointsValuesDependency]);\n return { breakpointsValues };\n}\n//# sourceMappingURL=useBreakpointsValuesPx.js.map","import { useBreakpointsValuesPx } from \"./useBreakpointsValuesPx\";\n/** @deprecated Use import { useBreakpointsValuesPx } from \"@codegouvfr/react-dsfr/useBreakpointsValuesPx\"; instead */\nexport const useBreakpointsValues = useBreakpointsValuesPx;\n//# sourceMappingURL=useBreakpointsValues.js.map","\"use client\";\n/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport React, { useMemo } from \"react\";\nimport { createTheme, ThemeProvider as MuiThemeProvider } from \"@mui/material/styles\";\nimport { fr } from \"./fr\";\nimport { useIsDark } from \"./useIsDark\";\nimport { typography } from \"./fr/generatedFromCss/typography\";\nimport { spacingTokenByValue } from \"./fr/generatedFromCss/spacing\";\nimport { assert } from \"tsafe/assert\";\nimport { objectKeys } from \"tsafe/objectKeys\";\nimport { id } from \"tsafe/id\";\nimport { useBreakpointsValues } from \"./useBreakpointsValues\";\nexport function getMuiDsfrThemeOptions(params) {\n const { isDark, breakpointsValues } = params;\n const { options, decisions } = fr.colors.getHex({ isDark });\n return {\n \"shape\": {\n \"borderRadius\": 0\n },\n \"breakpoints\": {\n //NOTE: We would use \"unit\": breakpointsValuesUnit but only \"px\" works.\n \"unit\": \"px\",\n \"values\": breakpointsValues\n },\n \"palette\": {\n \"mode\": isDark ? \"dark\" : \"light\",\n \"primary\": {\n \"main\": options.blueFrance.sun113_625.default,\n \"light\": options.blueFrance.sun113_625.active,\n \"dark\": options.blueFrance.sun113_625.hover,\n \"contrastText\": options.blueFrance._975sun113.default\n },\n \"secondary\": {\n \"main\": options.blueFrance._950_100.default,\n \"light\": options.blueFrance._950_100.active,\n \"dark\": options.blueFrance._950_100.hover,\n \"contrastText\": options.blueFrance.sun113_625.default\n },\n \"error\": {\n \"light\": options.error._425_625.active,\n \"main\": options.error._425_625.default,\n \"dark\": options.error._425_625.hover,\n \"contrastText\": options.grey._1000_50.default\n },\n \"warning\": {\n \"light\": options.warning._425_625.default,\n \"main\": options.warning._425_625.default,\n \"dark\": options.warning._425_625.hover,\n \"contrastText\": options.grey._1000_50.default\n },\n \"info\": {\n \"light\": options.info._425_625.active,\n \"main\": options.info._425_625.default,\n \"dark\": options.info._425_625.hover,\n \"contrastText\": options.grey._1000_50.default\n },\n \"success\": {\n \"light\": options.success._425_625.active,\n \"main\": options.success._425_625.default,\n \"dark\": options.success._425_625.hover,\n \"contrastText\": options.grey._1000_50.default\n },\n \"text\": {\n \"primary\": options.grey._50_1000.default,\n \"secondary\": options.grey._200_850.default,\n \"disabled\": options.grey._625_425.default\n },\n \"divider\": options.grey._900_175.default,\n \"action\": {\n \"active\": options.grey._200_850.default,\n \"hover\": options.grey._975_100.default,\n \"selected\": options.blueFrance._925_125.active,\n \"disabled\": options.grey._625_425.default,\n \"disabledBackground\": options.grey._925_125.default,\n \"focus\": options.blueFrance.sun113_625.active\n },\n \"background\": {\n \"default\": options.grey._1000_50.default,\n \"paper\": options.grey._1000_100.default\n }\n },\n \"typography\": (() => {\n const getBySelector = (selector) => {\n const variant = typography.find(variant => variant.selector === selector);\n assert(variant !== undefined);\n const style = Object.assign({}, variant.style);\n //TODO: Investigate why we need to do that.\n delete style.margin;\n return style;\n };\n return {\n \"fontFamily\": '\"Marianne\", arial, sans-serif',\n \"h1\": getBySelector(\"h1\"),\n \"h2\": getBySelector(\"h2\"),\n \"h3\": getBySelector(\"h3\"),\n \"h4\": getBySelector(\"h4\"),\n \"h5\": getBySelector(\"h5\"),\n \"h6\": getBySelector(\"h6\"),\n //\"subtitle1\":\n //\"subtitle2\":\n \"body1\": getBySelector(\"p\")\n //\"body2\": {},\n //\"caption\": {},\n //\"button\": {},\n //\"overline\": {}\n };\n })(),\n \"spacing\": (() => {\n const values = [];\n //NOTE: The properties are declared sorted in the object.\n objectKeys(spacingTokenByValue).forEach(key => {\n if (key.endsWith(\"w\")) {\n values.push(spacingTokenByValue[key]);\n }\n });\n return (abs) => typeof abs === \"string\"\n ? abs\n : abs === 0\n ? 0\n : (() => {\n const value = values[abs - 1];\n return value === undefined ? abs : value;\n })();\n })(),\n \"shadows\": (() => {\n const [, , , , , , , , ...rest] = createTheme().shadows;\n return id([\n \"none\",\n /** ButtonBar shadow */\n \"0px 6px 10px 0px rgba(0,0,0,0.07)\",\n /** Explorer items */\n \"0px 4px 4px 0px rgba(0,0,0,0.1)\",\n /** LeftBar */\n \"6px 0px 16px 0px rgba(0,0,0,0.15)\",\n /** AccountTab default */\n \"4px 0px 10px 0px rgba(0,0,0,0.07)\",\n /** AccountTab active */\n \"-4px 0px 10px 0px rgba(0,0,0,0.07)\",\n /** Card over */\n \"0px 6px 10px 0px rgba(0,0,0,0.14)\",\n /** Dialog **/\n \"0px 8px 10px -7px rgba(0,0,0,0.07)\",\n ...rest\n ]);\n })(),\n \"components\": Object.assign({ \"MuiButton\": {\n \"styleOverrides\": {\n \"root\": {\n \"textTransform\": \"unset\"\n }\n }\n }, \"MuiSvgIcon\": {\n \"styleOverrides\": {\n \"colorPrimary\": ({ theme }) => ({\n \"color\": theme.palette.text.primary\n })\n }\n }, \"MuiStepIcon\": {\n \"styleOverrides\": {\n \"text\": {\n \"fill\": fr.colors.getHex({ \"isDark\": true }).decisions.text.title.grey\n .default\n }\n }\n }, \"MuiTablePagination\": {\n \"styleOverrides\": {\n \"displayedRows\": {\n //Fixes: https://user-images.githubusercontent.com/6702424/206063347-65e7d13c-3dea-410c-a0e0-51cf214deba0.png\n \"margin\": \"unset\"\n },\n \"selectLabel\": {\n //Fixes: https://github.com/codegouvfr/react-dsfr/assets/6702424/678a7f69-d4e8-4897-85f0-65c605b46900\n \"margin\": \"unset\"\n }\n }\n }, \"MuiTypography\": {\n \"styleOverrides\": {\n \"root\": {\n //Fixes double underline: https://user-images.githubusercontent.com/6702424/206064575-4f036145-ff40-47db-aabd-560f29136e71.png\n \"backgroundImage\": \"unset\"\n }\n }\n }, \"MuiAutocomplete\": {\n \"styleOverrides\": {\n \"listbox\": {\n \"padding\": 0\n },\n \"option\": {\n \"padding\": `${fr.spacing(\"2w\")} !important`,\n \"&.Mui-focused\": {\n \"backgroundColor\": decisions.background.open.blueFrance.default + \" !important\"\n },\n \"&.Mui-focusVisible\": {\n \"backgroundColor\": decisions.background.open.blueFrance.default + \" !important\"\n }\n }\n }\n } }, (() => {\n const nonTypedMuiComponents = {\n \"MuiDataGrid\": {\n \"styleOverrides\": {\n \"root\": (() => {\n const set = new WeakSet();\n const borderNone = {\n \"border\": \"none\"\n };\n return (params) => {\n const { ownerState } = params;\n if (ownerState === undefined) {\n return borderNone;\n }\n if (ownerState.getRowClassName === undefined ||\n !set.has(ownerState.getRowClassName)) {\n const originalGetRowClassName = ownerState.getRowClassName;\n ownerState.getRowClassName = params => {\n const { indexRelativeToCurrentPage } = params;\n const parityClassName = indexRelativeToCurrentPage % 2 === 0\n ? \"even\"\n : \"odd\";\n const className = originalGetRowClassName === null || originalGetRowClassName === void 0 ? void 0 : originalGetRowClassName(params);\n return className === undefined\n ? parityClassName\n : `${parityClassName} ${className}`;\n };\n set.add(ownerState.getRowClassName);\n }\n return borderNone;\n };\n })(),\n \"columnHeaders\": {\n \"backgroundColor\": decisions.background.contrast.grey.default,\n \"&&\": {\n \"borderColor\": decisions.border.plain.grey.default,\n \"borderPosition\": \"bottom\",\n \"borderWidth\": 2\n }\n },\n \"row\": () => {\n const hoveredAndSelected = {\n \"&.Mui-hovered\": {\n \"backgroundColor\": fr.colors.decisions.background.contrast.grey.hover\n },\n \"&.Mui-selected\": {\n \"backgroundColor\": fr.colors.decisions.background.contrast.grey.active\n }\n };\n return {\n \"&.even\": Object.assign({ \"backgroundColor\": decisions.background.contrast.grey.default, \"&:hover\": {\n \"backgroundColor\": decisions.background.contrast.grey.hover\n } }, hoveredAndSelected),\n \"&.odd\": Object.assign({ \"backgroundColor\": decisions.background.alt.grey.default, \"&:hover\": {\n \"backgroundColor\": decisions.background.alt.grey.hover\n } }, hoveredAndSelected)\n };\n },\n \"columnSeparator\": {\n \"display\": \"none\"\n }\n }\n }\n };\n return nonTypedMuiComponents;\n })())\n };\n}\n/**\n *Generate a theme base on the options received.\n *\n * @param params — Dark or light mode.\n *\n * @param args — Deep merge the arguments with the about to be returned theme.\n *\n * @returns — A complete, ready-to-use mui theme object.\n */\nexport function createMuiDsfrTheme(params, ...args) {\n const muiTheme = createTheme(getMuiDsfrThemeOptions(params), ...args);\n return muiTheme;\n}\nexport function createMuiDsfrThemeProvider(params) {\n const { augmentMuiTheme, useIsDark: useIsDark_props = useIsDark } = params;\n function MuiDsfrThemeProvider(props) {\n const { children } = props;\n const { isDark } = useIsDark_props();\n const { breakpointsValues } = useBreakpointsValues();\n const theme = useMemo(() => {\n const nonAugmentedMuiTheme = createMuiDsfrTheme({ isDark, breakpointsValues });\n return augmentMuiTheme === undefined\n ? nonAugmentedMuiTheme\n : augmentMuiTheme({\n nonAugmentedMuiTheme,\n isDark\n });\n }, [isDark]);\n return React.createElement(MuiThemeProvider, { theme: theme }, children);\n }\n return { MuiDsfrThemeProvider };\n}\nexport const { MuiDsfrThemeProvider } = createMuiDsfrThemeProvider({});\nexport default MuiDsfrThemeProvider;\n//# sourceMappingURL=mui.js.map","import { assert } from \"tsafe/assert\";\nimport { typeGuard } from \"tsafe/typeGuard\";\nexport const cx = (...args) => {\n const len = args.length;\n let i = 0;\n let cls = \"\";\n for (; i < len; i++) {\n const arg = args[i];\n if (arg == null)\n continue;\n let toAdd;\n switch (typeof arg) {\n case \"boolean\":\n break;\n case \"object\": {\n if (Array.isArray(arg)) {\n toAdd = cx(...arg);\n }\n else {\n assert(!typeGuard(arg, false));\n toAdd = \"\";\n for (const k in arg) {\n if (arg[k] && k) {\n toAdd && (toAdd += \" \");\n toAdd += k;\n }\n }\n }\n break;\n }\n default: {\n toAdd = arg;\n }\n }\n if (toAdd) {\n cls && (cls += \" \");\n cls += toAdd;\n }\n }\n return cls;\n};\n//# sourceMappingURL=cx.js.map","export const isBrowser = typeof window === \"object\" && typeof document === \"object\";\n//# sourceMappingURL=isBrowser.js.map","import { useRef, useState } from \"react\";\n/** https://stackoverflow.com/questions/65890278/why-cant-usecallback-always-return-the-same-ref */\nexport function useConstCallback(callback) {\n const callbackRef = useRef(null);\n callbackRef.current = callback;\n return useState(() => (...args) => callbackRef.current(...args))[0];\n}\n//# sourceMappingURL=useConstCallback.js.map","import { useId } from \"react\";\n/**\n * Eulerian analytics requires every element to have a unique ID.\n * This hook help generate such an ID in the case they are not explicitly provided.\n */\nexport function useAnalyticsId(params) {\n const { explicitlyProvidedId, defaultIdPrefix } = params;\n const id = useId();\n return explicitlyProvidedId !== null && explicitlyProvidedId !== void 0 ? explicitlyProvidedId : `${defaultIdPrefix}-${id}`;\n}\n//# sourceMappingURL=useAnalyticsId.js.map","import { assert } from \"tsafe/assert\";\nimport { is } from \"tsafe/is\";\nexport function createStatefulObservable(getInitialValue) {\n const nextFunctions = [];\n const { get, set } = (() => {\n let wrappedState = undefined;\n function set(data) {\n wrappedState = [data];\n nextFunctions.forEach(next => next(data));\n }\n return {\n \"get\": () => {\n if (wrappedState === undefined) {\n set(getInitialValue());\n assert(!is(wrappedState));\n }\n return wrappedState[0];\n },\n set\n };\n })();\n return Object.defineProperty({\n \"current\": null,\n \"subscribe\": (next) => {\n nextFunctions.push(next);\n return {\n \"unsubscribe\": () => nextFunctions.splice(nextFunctions.indexOf(next), 1)\n };\n }\n }, \"current\", {\n \"enumerable\": true,\n get,\n set\n });\n}\n//# sourceMappingURL=StatefulObservable.js.map","import { useEffect } from \"react\";\n/**\n * Equivalent of https://docs.evt.land/api/react-hooks\n */\nexport function useObservable(effect, deps) {\n useEffect(() => {\n const subscriptions = [];\n effect({\n \"registerSubscription\": subscription => subscriptions.push(subscription)\n });\n return () => {\n subscriptions.forEach(subscription => subscription.unsubscribe());\n subscriptions.length = 0;\n };\n }, deps);\n}\n//# sourceMappingURL=useObservable.js.map","import { useObservable } from \"./useObservable\";\nimport { useState } from \"react\";\n/**\n * Equivalent of https://docs.evt.land/api/react-hooks\n * */\nexport function useRerenderOnChange($) {\n //NOTE: We use function in case the state is a function\n const [, setCurrent] = useState(() => $.current);\n useObservable(({ registerSubscription }) => {\n const subscription = $.subscribe(current => setCurrent(() => current));\n registerSubscription(subscription);\n }, [$]);\n}\n//# sourceMappingURL=useRerenderOnChange.js.map","export * from \"./useObservable\";\nexport * from \"./useRerenderOnChange\";\n//# sourceMappingURL=index.js.map","export * from \"./StatefulObservable\";\nexport * from \"./hooks\";\n//# sourceMappingURL=index.js.map","import { assert } from \"tsafe/assert\";\nimport { createStatefulObservable, useRerenderOnChange } from \"../tools/StatefulObservable\";\nimport { useConstCallback } from \"../tools/powerhooks/useConstCallback\";\nimport { fr } from \"../fr\";\nimport { data_fr_scheme, data_fr_theme, rootColorSchemeStyleTagId } from \"./constants\";\nconst $clientSideIsDark = createStatefulObservable(() => {\n if (typeof process === \"object\" && process.env.JEST_WORKER_ID !== undefined) {\n return false;\n }\n throw new Error([\n \"react-dsfr not initialized.\",\n \"Refer to the documentation for setup instructions\",\n \"If it used to work but after an update you're getting this error\",\n \"it usually means that you have multiple copies of @codegouvfr/react-dsfr in your node_modules\",\n \"@codegouvfr/react-dsfr is a singleton, try removing your lock file and node_module.\"\n ].join(\" \"));\n});\nconst $isAfterFirstEffect = createStatefulObservable(() => false);\nexport const useIsDarkClientSide = () => {\n useRerenderOnChange($clientSideIsDark);\n useRerenderOnChange($isAfterFirstEffect);\n const isDark = $isAfterFirstEffect.current\n ? $clientSideIsDark.current\n : ssrWasPerformedWithIsDark;\n const setIsDark = useConstCallback(newIsDarkOrDeduceNewIsDarkFromCurrentIsDark => {\n const data_fr_js_value = document.documentElement.getAttribute(\"data-fr-js\");\n const newColorScheme = (() => {\n switch (typeof newIsDarkOrDeduceNewIsDarkFromCurrentIsDark === \"function\"\n ? newIsDarkOrDeduceNewIsDarkFromCurrentIsDark(isDark)\n : newIsDarkOrDeduceNewIsDarkFromCurrentIsDark) {\n case \"system\":\n return typeof window.matchMedia === \"function\" &&\n window.matchMedia(\"(prefers-color-scheme: dark)\").matches\n ? \"dark\"\n : \"light\";\n case true:\n return \"dark\";\n case false:\n return \"light\";\n }\n })();\n document.documentElement.setAttribute(data_fr_scheme, newColorScheme);\n if (data_fr_js_value !== \"true\") {\n //NOTE: DSFR not started yet.\n document.documentElement.setAttribute(data_fr_theme, newColorScheme);\n localStorage.setItem(\"scheme\", newColorScheme);\n }\n });\n return {\n isDark,\n setIsDark\n };\n};\nlet ssrWasPerformedWithIsDark;\nfunction getCurrentIsDarkFromHtmlAttribute() {\n const colorSchemeFromHtmlAttribute = document.documentElement.getAttribute(data_fr_theme);\n switch (colorSchemeFromHtmlAttribute) {\n case null:\n return undefined;\n case \"light\":\n return false;\n case \"dark\":\n return true;\n }\n assert(false, `Unrecognized ${data_fr_theme} attribute value: ${colorSchemeFromHtmlAttribute}`);\n}\nexport function startClientSideIsDarkLogic(params) {\n const { doPersistDarkModePreferenceWithCookie, registerEffectAction, colorSchemeExplicitlyProvidedAsParameter, doCheckNonce = false, trustedTypesPolicyName } = params;\n const { clientSideIsDark, ssrWasPerformedWithIsDark: ssrWasPerformedWithIsDark_ } = (() => {\n var _a, _b, _c;\n const isDarkFromHtmlAttribute = getCurrentIsDarkFromHtmlAttribute();\n if (isDarkFromHtmlAttribute !== undefined) {\n return {\n \"clientSideIsDark\": isDarkFromHtmlAttribute,\n \"ssrWasPerformedWithIsDark\": (_a = window.ssrWasPerformedWithIsDark) !== null && _a !== void 0 ? _a : isDarkFromHtmlAttribute\n };\n }\n const isDarkExplicitlyProvidedAsParameter = (() => {\n if (colorSchemeExplicitlyProvidedAsParameter === \"system\") {\n return undefined;\n }\n switch (colorSchemeExplicitlyProvidedAsParameter) {\n case \"dark\":\n return true;\n case \"light\":\n return false;\n }\n })();\n const isDarkFromLocalStorage = (() => {\n const colorSchemeReadFromLocalStorage = localStorage.getItem(\"scheme\");\n if (colorSchemeReadFromLocalStorage === null) {\n return undefined;\n }\n if (colorSchemeReadFromLocalStorage === \"system\") {\n return undefined;\n }\n switch (colorSchemeReadFromLocalStorage) {\n case \"dark\":\n return true;\n case \"light\":\n return false;\n }\n })();\n const isDarkFromOsPreference = (() => {\n if (!window.matchMedia) {\n return undefined;\n }\n return window.matchMedia(\"(prefers-color-scheme: dark)\").matches;\n })();\n const isDarkFallback = false;\n return {\n \"ssrWasPerformedWithIsDark\": isDarkExplicitlyProvidedAsParameter !== null && isDarkExplicitlyProvidedAsParameter !== void 0 ? isDarkExplicitlyProvidedAsParameter : isDarkFallback,\n \"clientSideIsDark\": (_c = (_b = isDarkFromLocalStorage !== null && isDarkFromLocalStorage !== void 0 ? isDarkFromLocalStorage : isDarkExplicitlyProvidedAsParameter) !== null && _b !== void 0 ? _b : isDarkFromOsPreference) !== null && _c !== void 0 ? _c : isDarkFallback\n };\n })();\n ssrWasPerformedWithIsDark = ssrWasPerformedWithIsDark_;\n const trustedTypes = window.trustedTypes;\n const sanitizer = typeof trustedTypes !== \"undefined\"\n ? trustedTypes.createPolicy(trustedTypesPolicyName, { createHTML: (s) => s })\n : {\n createHTML: (s) => s\n };\n $clientSideIsDark.current = clientSideIsDark;\n [data_fr_scheme, data_fr_theme].forEach(attr => document.documentElement.setAttribute(attr, clientSideIsDark ? \"dark\" : \"light\"));\n new MutationObserver(() => {\n const isDarkFromHtmlAttribute = getCurrentIsDarkFromHtmlAttribute();\n assert(isDarkFromHtmlAttribute !== undefined);\n $clientSideIsDark.current = isDarkFromHtmlAttribute;\n }).observe(document.documentElement, {\n \"attributes\": true,\n \"attributeFilter\": [data_fr_theme]\n });\n {\n const setColorSchemeCookie = (isDark) => {\n if (!doPersistDarkModePreferenceWithCookie) {\n return;\n }\n const colorScheme = isDark ? \"dark\" : \"light\";\n let newCookie = `${data_fr_theme}=${colorScheme};path=/;max-age=31536000;SameSite=Strict`;\n set_domain: {\n const { hostname } = window.location;\n //We do not set the domain if we are on localhost or an ip\n if (/(^localhost$)|(^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}$)/.test(hostname)) {\n break set_domain;\n }\n newCookie += `;domain=${hostname}`;\n }\n document.cookie = newCookie;\n };\n setColorSchemeCookie($clientSideIsDark.current);\n $clientSideIsDark.subscribe(setColorSchemeCookie);\n }\n {\n const setRootColorScheme = (isDark) => {\n var _a;\n const nonce = window.ssrNonce;\n if (doCheckNonce && !nonce) {\n return;\n }\n (_a = document.getElementById(rootColorSchemeStyleTagId)) === null || _a === void 0 ? void 0 : _a.remove();\n const element = document.createElement(\"style\");\n element.id = rootColorSchemeStyleTagId;\n if (nonce) {\n element.setAttribute(\"nonce\", nonce);\n }\n element.innerHTML = sanitizer.createHTML(`:root { color-scheme: ${isDark ? \"dark\" : \"light\"}; }`);\n document.head.appendChild(element);\n };\n setRootColorScheme($clientSideIsDark.current);\n $clientSideIsDark.subscribe(setRootColorScheme);\n }\n {\n const setThemeColor = (isDark) => {\n var _a;\n const name = \"theme-color\";\n (_a = document.querySelector(`meta[name=${name}]`)) === null || _a === void 0 ? void 0 : _a.remove();\n const element = document.createElement(\"meta\");\n element.name = name;\n element.content = fr.colors.getHex({\n isDark\n }).decisions.background.default.grey.default;\n document.head.appendChild(element);\n };\n setThemeColor($clientSideIsDark.current);\n $clientSideIsDark.subscribe(setThemeColor);\n }\n registerEffectAction(() => ($isAfterFirstEffect.current = true));\n}\n//# sourceMappingURL=client.js.map","export const data_fr_theme = \"data-fr-theme\";\nexport const data_fr_scheme = \"data-fr-scheme\";\nexport const rootColorSchemeStyleTagId = \"dsfr-root-color-scheme\";\n//# sourceMappingURL=constants.js.map","import { isBrowser } from \"../tools/isBrowser\";\nimport { useIsDarkServerSide } from \"./server\";\nimport { useIsDarkClientSide } from \"./client\";\nexport const useIsDark = isBrowser ? useIsDarkClientSide : useIsDarkServerSide;\n//# sourceMappingURL=index.js.map","\"use client\";\nimport { createContext, useContext } from \"react\";\nimport { useConstCallback } from \"../tools/powerhooks/useConstCallback\";\nimport { assert } from \"tsafe/assert\";\nconst ssrIsDarkContext = createContext(undefined);\nexport const { Provider: SsrIsDarkProvider } = ssrIsDarkContext;\nexport const useIsDarkServerSide = () => {\n const setIsDark = useConstCallback(() => {\n /* nothing */\n });\n const isDark = useContext(ssrIsDarkContext);\n assert(isDark !== undefined, \"Not within provider\");\n return {\n isDark,\n setIsDark\n };\n};\n//# sourceMappingURL=server.js.map","import { SDK_VERSION } from '../version.js';\n\n/**\n * A builder for the SDK metadata in the options for the SDK initialization.\n *\n * Note: This function is identical to `buildMetadata` in Remix and NextJS and SvelteKit.\n * We don't extract it for bundle size reasons.\n * @see https://github.com/getsentry/sentry-javascript/pull/7404\n * @see https://github.com/getsentry/sentry-javascript/pull/4196\n *\n * If you make changes to this function consider updating the others as well.\n *\n * @param options SDK options object that gets mutated\n * @param names list of package names\n */\nfunction applySdkMetadata(options, name, names = [name], source = 'npm') {\n const metadata = options._metadata || {};\n\n if (!metadata.sdk) {\n metadata.sdk = {\n name: `sentry.javascript.${name}`,\n packages: names.map(name => ({\n name: `${source}:@sentry/${name}`,\n version: SDK_VERSION,\n })),\n version: SDK_VERSION,\n };\n }\n\n options._metadata = metadata;\n}\n\nexport { applySdkMetadata };\n//# sourceMappingURL=sdkMetadata.js.map\n","import { getClient } from '../exports.js';\n\n// Treeshakable guard to remove all code related to tracing\n\n/**\n * Determines if tracing is currently enabled.\n *\n * Tracing is enabled when at least one of `tracesSampleRate` and `tracesSampler` is defined in the SDK config.\n */\nfunction hasTracingEnabled(\n maybeOptions,\n) {\n if (typeof __SENTRY_TRACING__ === 'boolean' && !__SENTRY_TRACING__) {\n return false;\n }\n\n const client = getClient();\n const options = maybeOptions || (client && client.getOptions());\n return !!options && (options.enableTracing || 'tracesSampleRate' in options || 'tracesSampler' in options);\n}\n\nexport { hasTracingEnabled };\n//# sourceMappingURL=hasTracingEnabled.js.map\n","import { arrayify, logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { addGlobalEventProcessor } from './eventProcessors.js';\nimport { getClient } from './exports.js';\nimport { getCurrentHub } from './hub.js';\n\nconst installedIntegrations = [];\n\n/** Map of integrations assigned to a client */\n\n/**\n * Remove duplicates from the given array, preferring the last instance of any duplicate. Not guaranteed to\n * preseve the order of integrations in the array.\n *\n * @private\n */\nfunction filterDuplicates(integrations) {\n const integrationsByName = {};\n\n integrations.forEach(currentInstance => {\n const { name } = currentInstance;\n\n const existingInstance = integrationsByName[name];\n\n // We want integrations later in the array to overwrite earlier ones of the same type, except that we never want a\n // default instance to overwrite an existing user instance\n if (existingInstance && !existingInstance.isDefaultInstance && currentInstance.isDefaultInstance) {\n return;\n }\n\n integrationsByName[name] = currentInstance;\n });\n\n return Object.keys(integrationsByName).map(k => integrationsByName[k]);\n}\n\n/** Gets integrations to install */\nfunction getIntegrationsToSetup(options) {\n const defaultIntegrations = options.defaultIntegrations || [];\n const userIntegrations = options.integrations;\n\n // We flag default instances, so that later we can tell them apart from any user-created instances of the same class\n defaultIntegrations.forEach(integration => {\n integration.isDefaultInstance = true;\n });\n\n let integrations;\n\n if (Array.isArray(userIntegrations)) {\n integrations = [...defaultIntegrations, ...userIntegrations];\n } else if (typeof userIntegrations === 'function') {\n integrations = arrayify(userIntegrations(defaultIntegrations));\n } else {\n integrations = defaultIntegrations;\n }\n\n const finalIntegrations = filterDuplicates(integrations);\n\n // The `Debug` integration prints copies of the `event` and `hint` which will be passed to `beforeSend` or\n // `beforeSendTransaction`. It therefore has to run after all other integrations, so that the changes of all event\n // processors will be reflected in the printed values. For lack of a more elegant way to guarantee that, we therefore\n // locate it and, assuming it exists, pop it out of its current spot and shove it onto the end of the array.\n const debugIndex = findIndex(finalIntegrations, integration => integration.name === 'Debug');\n if (debugIndex !== -1) {\n const [debugInstance] = finalIntegrations.splice(debugIndex, 1);\n finalIntegrations.push(debugInstance);\n }\n\n return finalIntegrations;\n}\n\n/**\n * Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default\n * integrations are added unless they were already provided before.\n * @param integrations array of integration instances\n * @param withDefault should enable default integrations\n */\nfunction setupIntegrations(client, integrations) {\n const integrationIndex = {};\n\n integrations.forEach(integration => {\n // guard against empty provided integrations\n if (integration) {\n setupIntegration(client, integration, integrationIndex);\n }\n });\n\n return integrationIndex;\n}\n\n/**\n * Execute the `afterAllSetup` hooks of the given integrations.\n */\nfunction afterSetupIntegrations(client, integrations) {\n for (const integration of integrations) {\n // guard against empty provided integrations\n if (integration && integration.afterAllSetup) {\n integration.afterAllSetup(client);\n }\n }\n}\n\n/** Setup a single integration. */\nfunction setupIntegration(client, integration, integrationIndex) {\n if (integrationIndex[integration.name]) {\n DEBUG_BUILD && logger.log(`Integration skipped because it was already installed: ${integration.name}`);\n return;\n }\n integrationIndex[integration.name] = integration;\n\n // `setupOnce` is only called the first time\n if (installedIntegrations.indexOf(integration.name) === -1) {\n // eslint-disable-next-line deprecation/deprecation\n integration.setupOnce(addGlobalEventProcessor, getCurrentHub);\n installedIntegrations.push(integration.name);\n }\n\n // `setup` is run for each client\n if (integration.setup && typeof integration.setup === 'function') {\n integration.setup(client);\n }\n\n if (client.on && typeof integration.preprocessEvent === 'function') {\n const callback = integration.preprocessEvent.bind(integration) ;\n client.on('preprocessEvent', (event, hint) => callback(event, hint, client));\n }\n\n if (client.addEventProcessor && typeof integration.processEvent === 'function') {\n const callback = integration.processEvent.bind(integration) ;\n\n const processor = Object.assign((event, hint) => callback(event, hint, client), {\n id: integration.name,\n });\n\n client.addEventProcessor(processor);\n }\n\n DEBUG_BUILD && logger.log(`Integration installed: ${integration.name}`);\n}\n\n/** Add an integration to the current hub's client. */\nfunction addIntegration(integration) {\n const client = getClient();\n\n if (!client || !client.addIntegration) {\n DEBUG_BUILD && logger.warn(`Cannot add integration \"${integration.name}\" because no SDK Client is available.`);\n return;\n }\n\n client.addIntegration(integration);\n}\n\n// Polyfill for Array.findIndex(), which is not supported in ES5\nfunction findIndex(arr, callback) {\n for (let i = 0; i < arr.length; i++) {\n if (callback(arr[i]) === true) {\n return i;\n }\n }\n\n return -1;\n}\n\n/**\n * Convert a new integration function to the legacy class syntax.\n * In v8, we can remove this and instead export the integration functions directly.\n *\n * @deprecated This will be removed in v8!\n */\nfunction convertIntegrationFnToClass(\n name,\n fn,\n) {\n return Object.assign(\n function ConvertedIntegration(...args) {\n return fn(...args);\n },\n { id: name },\n ) ;\n}\n\n/**\n * Define an integration function that can be used to create an integration instance.\n * Note that this by design hides the implementation details of the integration, as they are considered internal.\n */\nfunction defineIntegration(fn) {\n return fn;\n}\n\nexport { addIntegration, afterSetupIntegrations, convertIntegrationFnToClass, defineIntegration, getIntegrationsToSetup, installedIntegrations, setupIntegration, setupIntegrations };\n//# sourceMappingURL=integration.js.map\n","import { getOriginalFunction } from '@sentry/utils';\nimport { getClient } from '../exports.js';\nimport { convertIntegrationFnToClass, defineIntegration } from '../integration.js';\n\nlet originalFunctionToString;\n\nconst INTEGRATION_NAME = 'FunctionToString';\n\nconst SETUP_CLIENTS = new WeakMap();\n\nconst _functionToStringIntegration = (() => {\n return {\n name: INTEGRATION_NAME,\n setupOnce() {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n originalFunctionToString = Function.prototype.toString;\n\n // intrinsics (like Function.prototype) might be immutable in some environments\n // e.g. Node with --frozen-intrinsics, XS (an embedded JavaScript engine) or SES (a JavaScript proposal)\n try {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Function.prototype.toString = function ( ...args) {\n const originalFunction = getOriginalFunction(this);\n const context =\n SETUP_CLIENTS.has(getClient() ) && originalFunction !== undefined ? originalFunction : this;\n return originalFunctionToString.apply(context, args);\n };\n } catch (e) {\n // ignore errors here, just don't patch this\n }\n },\n setup(client) {\n SETUP_CLIENTS.set(client, true);\n },\n };\n}) ;\n\n/**\n * Patch toString calls to return proper name for wrapped functions.\n *\n * ```js\n * Sentry.init({\n * integrations: [\n * functionToStringIntegration(),\n * ],\n * });\n * ```\n */\nconst functionToStringIntegration = defineIntegration(_functionToStringIntegration);\n\n/**\n * Patch toString calls to return proper name for wrapped functions.\n *\n * @deprecated Use `functionToStringIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst FunctionToString = convertIntegrationFnToClass(\n INTEGRATION_NAME,\n functionToStringIntegration,\n) ;\n\n// eslint-disable-next-line deprecation/deprecation\n\nexport { FunctionToString, functionToStringIntegration };\n//# sourceMappingURL=functiontostring.js.map\n","import { logger, getEventDescription, stringMatchesSomePattern } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { convertIntegrationFnToClass, defineIntegration } from '../integration.js';\n\n// \"Script error.\" is hard coded into browsers for errors that it can't read.\n// this is the result of a script being pulled in from an external domain and CORS.\nconst DEFAULT_IGNORE_ERRORS = [\n /^Script error\\.?$/,\n /^Javascript error: Script error\\.? on line 0$/,\n /^ResizeObserver loop completed with undelivered notifications.$/,\n /^Cannot redefine property: googletag$/,\n];\n\nconst DEFAULT_IGNORE_TRANSACTIONS = [\n /^.*\\/healthcheck$/,\n /^.*\\/healthy$/,\n /^.*\\/live$/,\n /^.*\\/ready$/,\n /^.*\\/heartbeat$/,\n /^.*\\/health$/,\n /^.*\\/healthz$/,\n];\n\n/** Options for the InboundFilters integration */\n\nconst INTEGRATION_NAME = 'InboundFilters';\nconst _inboundFiltersIntegration = ((options = {}) => {\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function\n processEvent(event, _hint, client) {\n const clientOptions = client.getOptions();\n const mergedOptions = _mergeOptions(options, clientOptions);\n return _shouldDropEvent(event, mergedOptions) ? null : event;\n },\n };\n}) ;\n\nconst inboundFiltersIntegration = defineIntegration(_inboundFiltersIntegration);\n\n/**\n * Inbound filters configurable by the user.\n * @deprecated Use `inboundFiltersIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst InboundFilters = convertIntegrationFnToClass(\n INTEGRATION_NAME,\n inboundFiltersIntegration,\n)\n\n;\n\nfunction _mergeOptions(\n internalOptions = {},\n clientOptions = {},\n) {\n return {\n allowUrls: [...(internalOptions.allowUrls || []), ...(clientOptions.allowUrls || [])],\n denyUrls: [...(internalOptions.denyUrls || []), ...(clientOptions.denyUrls || [])],\n ignoreErrors: [\n ...(internalOptions.ignoreErrors || []),\n ...(clientOptions.ignoreErrors || []),\n ...(internalOptions.disableErrorDefaults ? [] : DEFAULT_IGNORE_ERRORS),\n ],\n ignoreTransactions: [\n ...(internalOptions.ignoreTransactions || []),\n ...(clientOptions.ignoreTransactions || []),\n ...(internalOptions.disableTransactionDefaults ? [] : DEFAULT_IGNORE_TRANSACTIONS),\n ],\n ignoreInternal: internalOptions.ignoreInternal !== undefined ? internalOptions.ignoreInternal : true,\n };\n}\n\nfunction _shouldDropEvent(event, options) {\n if (options.ignoreInternal && _isSentryError(event)) {\n DEBUG_BUILD &&\n logger.warn(`Event dropped due to being internal Sentry Error.\\nEvent: ${getEventDescription(event)}`);\n return true;\n }\n if (_isIgnoredError(event, options.ignoreErrors)) {\n DEBUG_BUILD &&\n logger.warn(\n `Event dropped due to being matched by \\`ignoreErrors\\` option.\\nEvent: ${getEventDescription(event)}`,\n );\n return true;\n }\n if (_isIgnoredTransaction(event, options.ignoreTransactions)) {\n DEBUG_BUILD &&\n logger.warn(\n `Event dropped due to being matched by \\`ignoreTransactions\\` option.\\nEvent: ${getEventDescription(event)}`,\n );\n return true;\n }\n if (_isDeniedUrl(event, options.denyUrls)) {\n DEBUG_BUILD &&\n logger.warn(\n `Event dropped due to being matched by \\`denyUrls\\` option.\\nEvent: ${getEventDescription(\n event,\n )}.\\nUrl: ${_getEventFilterUrl(event)}`,\n );\n return true;\n }\n if (!_isAllowedUrl(event, options.allowUrls)) {\n DEBUG_BUILD &&\n logger.warn(\n `Event dropped due to not being matched by \\`allowUrls\\` option.\\nEvent: ${getEventDescription(\n event,\n )}.\\nUrl: ${_getEventFilterUrl(event)}`,\n );\n return true;\n }\n return false;\n}\n\nfunction _isIgnoredError(event, ignoreErrors) {\n // If event.type, this is not an error\n if (event.type || !ignoreErrors || !ignoreErrors.length) {\n return false;\n }\n\n return _getPossibleEventMessages(event).some(message => stringMatchesSomePattern(message, ignoreErrors));\n}\n\nfunction _isIgnoredTransaction(event, ignoreTransactions) {\n if (event.type !== 'transaction' || !ignoreTransactions || !ignoreTransactions.length) {\n return false;\n }\n\n const name = event.transaction;\n return name ? stringMatchesSomePattern(name, ignoreTransactions) : false;\n}\n\nfunction _isDeniedUrl(event, denyUrls) {\n // TODO: Use Glob instead?\n if (!denyUrls || !denyUrls.length) {\n return false;\n }\n const url = _getEventFilterUrl(event);\n return !url ? false : stringMatchesSomePattern(url, denyUrls);\n}\n\nfunction _isAllowedUrl(event, allowUrls) {\n // TODO: Use Glob instead?\n if (!allowUrls || !allowUrls.length) {\n return true;\n }\n const url = _getEventFilterUrl(event);\n return !url ? true : stringMatchesSomePattern(url, allowUrls);\n}\n\nfunction _getPossibleEventMessages(event) {\n const possibleMessages = [];\n\n if (event.message) {\n possibleMessages.push(event.message);\n }\n\n let lastException;\n try {\n // @ts-expect-error Try catching to save bundle size\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n lastException = event.exception.values[event.exception.values.length - 1];\n } catch (e) {\n // try catching to save bundle size checking existence of variables\n }\n\n if (lastException) {\n if (lastException.value) {\n possibleMessages.push(lastException.value);\n if (lastException.type) {\n possibleMessages.push(`${lastException.type}: ${lastException.value}`);\n }\n }\n }\n\n if (DEBUG_BUILD && possibleMessages.length === 0) {\n logger.error(`Could not extract message for event ${getEventDescription(event)}`);\n }\n\n return possibleMessages;\n}\n\nfunction _isSentryError(event) {\n try {\n // @ts-expect-error can't be a sentry error if undefined\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return event.exception.values[0].type === 'SentryError';\n } catch (e) {\n // ignore\n }\n return false;\n}\n\nfunction _getLastValidUrl(frames = []) {\n for (let i = frames.length - 1; i >= 0; i--) {\n const frame = frames[i];\n\n if (frame && frame.filename !== '' && frame.filename !== '[native code]') {\n return frame.filename || null;\n }\n }\n\n return null;\n}\n\nfunction _getEventFilterUrl(event) {\n try {\n let frames;\n try {\n // @ts-expect-error we only care about frames if the whole thing here is defined\n frames = event.exception.values[0].stacktrace.frames;\n } catch (e) {\n // ignore\n }\n return frames ? _getLastValidUrl(frames) : null;\n } catch (oO) {\n DEBUG_BUILD && logger.error(`Cannot extract url for event ${getEventDescription(event)}`);\n return null;\n }\n}\n\nexport { InboundFilters, inboundFiltersIntegration };\n//# sourceMappingURL=inboundfilters.js.map\n","import { isInstanceOf } from './is.js';\nimport { truncate } from './string.js';\n\n/**\n * Creates exceptions inside `event.exception.values` for errors that are nested on properties based on the `key` parameter.\n */\nfunction applyAggregateErrorsToEvent(\n exceptionFromErrorImplementation,\n parser,\n maxValueLimit = 250,\n key,\n limit,\n event,\n hint,\n) {\n if (!event.exception || !event.exception.values || !hint || !isInstanceOf(hint.originalException, Error)) {\n return;\n }\n\n // Generally speaking the last item in `event.exception.values` is the exception originating from the original Error\n const originalException =\n event.exception.values.length > 0 ? event.exception.values[event.exception.values.length - 1] : undefined;\n\n // We only create exception grouping if there is an exception in the event.\n if (originalException) {\n event.exception.values = truncateAggregateExceptions(\n aggregateExceptionsFromError(\n exceptionFromErrorImplementation,\n parser,\n limit,\n hint.originalException ,\n key,\n event.exception.values,\n originalException,\n 0,\n ),\n maxValueLimit,\n );\n }\n}\n\nfunction aggregateExceptionsFromError(\n exceptionFromErrorImplementation,\n parser,\n limit,\n error,\n key,\n prevExceptions,\n exception,\n exceptionId,\n) {\n if (prevExceptions.length >= limit + 1) {\n return prevExceptions;\n }\n\n let newExceptions = [...prevExceptions];\n\n // Recursively call this function in order to walk down a chain of errors\n if (isInstanceOf(error[key], Error)) {\n applyExceptionGroupFieldsForParentException(exception, exceptionId);\n const newException = exceptionFromErrorImplementation(parser, error[key]);\n const newExceptionId = newExceptions.length;\n applyExceptionGroupFieldsForChildException(newException, key, newExceptionId, exceptionId);\n newExceptions = aggregateExceptionsFromError(\n exceptionFromErrorImplementation,\n parser,\n limit,\n error[key],\n key,\n [newException, ...newExceptions],\n newException,\n newExceptionId,\n );\n }\n\n // This will create exception grouping for AggregateErrors\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError\n if (Array.isArray(error.errors)) {\n error.errors.forEach((childError, i) => {\n if (isInstanceOf(childError, Error)) {\n applyExceptionGroupFieldsForParentException(exception, exceptionId);\n const newException = exceptionFromErrorImplementation(parser, childError);\n const newExceptionId = newExceptions.length;\n applyExceptionGroupFieldsForChildException(newException, `errors[${i}]`, newExceptionId, exceptionId);\n newExceptions = aggregateExceptionsFromError(\n exceptionFromErrorImplementation,\n parser,\n limit,\n childError,\n key,\n [newException, ...newExceptions],\n newException,\n newExceptionId,\n );\n }\n });\n }\n\n return newExceptions;\n}\n\nfunction applyExceptionGroupFieldsForParentException(exception, exceptionId) {\n // Don't know if this default makes sense. The protocol requires us to set these values so we pick *some* default.\n exception.mechanism = exception.mechanism || { type: 'generic', handled: true };\n\n exception.mechanism = {\n ...exception.mechanism,\n ...(exception.type === 'AggregateError' && { is_exception_group: true }),\n exception_id: exceptionId,\n };\n}\n\nfunction applyExceptionGroupFieldsForChildException(\n exception,\n source,\n exceptionId,\n parentId,\n) {\n // Don't know if this default makes sense. The protocol requires us to set these values so we pick *some* default.\n exception.mechanism = exception.mechanism || { type: 'generic', handled: true };\n\n exception.mechanism = {\n ...exception.mechanism,\n type: 'chained',\n source,\n exception_id: exceptionId,\n parent_id: parentId,\n };\n}\n\n/**\n * Truncate the message (exception.value) of all exceptions in the event.\n * Because this event processor is ran after `applyClientOptions`,\n * we need to truncate the message of the added exceptions here.\n */\nfunction truncateAggregateExceptions(exceptions, maxValueLength) {\n return exceptions.map(exception => {\n if (exception.value) {\n exception.value = truncate(exception.value, maxValueLength);\n }\n return exception;\n });\n}\n\nexport { applyAggregateErrorsToEvent };\n//# sourceMappingURL=aggregate-errors.js.map\n","import { isError, isPlainObject, isParameterizedString } from './is.js';\nimport { addExceptionTypeValue, addExceptionMechanism } from './misc.js';\nimport { normalizeToSize } from './normalize.js';\nimport { extractExceptionKeysForMessage } from './object.js';\n\n/**\n * Extracts stack frames from the error.stack string\n */\nfunction parseStackFrames(stackParser, error) {\n return stackParser(error.stack || '', 1);\n}\n\n/**\n * Extracts stack frames from the error and builds a Sentry Exception\n */\nfunction exceptionFromError(stackParser, error) {\n const exception = {\n type: error.name || error.constructor.name,\n value: error.message,\n };\n\n const frames = parseStackFrames(stackParser, error);\n if (frames.length) {\n exception.stacktrace = { frames };\n }\n\n return exception;\n}\n\nfunction getMessageForObject(exception) {\n if ('name' in exception && typeof exception.name === 'string') {\n let message = `'${exception.name}' captured as exception`;\n\n if ('message' in exception && typeof exception.message === 'string') {\n message += ` with message '${exception.message}'`;\n }\n\n return message;\n } else if ('message' in exception && typeof exception.message === 'string') {\n return exception.message;\n } else {\n // This will allow us to group events based on top-level keys\n // which is much better than creating new group when any key/value change\n return `Object captured as exception with keys: ${extractExceptionKeysForMessage(\n exception ,\n )}`;\n }\n}\n\n/**\n * Builds and Event from a Exception\n *\n * TODO(v8): Remove getHub fallback\n * @hidden\n */\nfunction eventFromUnknownInput(\n getHubOrClient,\n stackParser,\n exception,\n hint,\n) {\n const client =\n typeof getHubOrClient === 'function'\n ? // eslint-disable-next-line deprecation/deprecation\n getHubOrClient().getClient()\n : getHubOrClient;\n\n let ex = exception;\n const providedMechanism =\n hint && hint.data && (hint.data ).mechanism;\n const mechanism = providedMechanism || {\n handled: true,\n type: 'generic',\n };\n\n let extras;\n\n if (!isError(exception)) {\n if (isPlainObject(exception)) {\n const normalizeDepth = client && client.getOptions().normalizeDepth;\n extras = { ['__serialized__']: normalizeToSize(exception , normalizeDepth) };\n\n const message = getMessageForObject(exception);\n ex = (hint && hint.syntheticException) || new Error(message);\n (ex ).message = message;\n } else {\n // This handles when someone does: `throw \"something awesome\";`\n // We use synthesized Error here so we can extract a (rough) stack trace.\n ex = (hint && hint.syntheticException) || new Error(exception );\n (ex ).message = exception ;\n }\n mechanism.synthetic = true;\n }\n\n const event = {\n exception: {\n values: [exceptionFromError(stackParser, ex )],\n },\n };\n\n if (extras) {\n event.extra = extras;\n }\n\n addExceptionTypeValue(event, undefined, undefined);\n addExceptionMechanism(event, mechanism);\n\n return {\n ...event,\n event_id: hint && hint.event_id,\n };\n}\n\n/**\n * Builds and Event from a Message\n * @hidden\n */\nfunction eventFromMessage(\n stackParser,\n message,\n // eslint-disable-next-line deprecation/deprecation\n level = 'info',\n hint,\n attachStacktrace,\n) {\n const event = {\n event_id: hint && hint.event_id,\n level,\n };\n\n if (attachStacktrace && hint && hint.syntheticException) {\n const frames = parseStackFrames(stackParser, hint.syntheticException);\n if (frames.length) {\n event.exception = {\n values: [\n {\n value: message,\n stacktrace: { frames },\n },\n ],\n };\n }\n }\n\n if (isParameterizedString(message)) {\n const { __sentry_template_string__, __sentry_template_values__ } = message;\n\n event.logentry = {\n message: __sentry_template_string__,\n params: __sentry_template_values__,\n };\n return event;\n }\n\n event.message = message;\n return event;\n}\n\nexport { eventFromMessage, eventFromUnknownInput, exceptionFromError, parseStackFrames };\n//# sourceMappingURL=eventbuilder.js.map\n","import { applyAggregateErrorsToEvent, exceptionFromError } from '@sentry/utils';\nimport { convertIntegrationFnToClass, defineIntegration } from '../integration.js';\n\nconst DEFAULT_KEY = 'cause';\nconst DEFAULT_LIMIT = 5;\n\nconst INTEGRATION_NAME = 'LinkedErrors';\n\nconst _linkedErrorsIntegration = ((options = {}) => {\n const limit = options.limit || DEFAULT_LIMIT;\n const key = options.key || DEFAULT_KEY;\n\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function\n preprocessEvent(event, hint, client) {\n const options = client.getOptions();\n\n applyAggregateErrorsToEvent(\n exceptionFromError,\n options.stackParser,\n options.maxValueLength,\n key,\n limit,\n event,\n hint,\n );\n },\n };\n}) ;\n\nconst linkedErrorsIntegration = defineIntegration(_linkedErrorsIntegration);\n\n/**\n * Adds SDK info to an event.\n * @deprecated Use `linkedErrorsIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst LinkedErrors = convertIntegrationFnToClass(INTEGRATION_NAME, linkedErrorsIntegration)\n\n;\n\nexport { LinkedErrors, linkedErrorsIntegration };\n//# sourceMappingURL=linkederrors.js.map\n","export { FunctionToString } from './functiontostring.js';\nexport { InboundFilters } from './inboundfilters.js';\nexport { LinkedErrors } from './linkederrors.js';\n\n/* eslint-disable deprecation/deprecation */\n//# sourceMappingURL=index.js.map\n","export { addTracingExtensions, startIdleTransaction } from './tracing/hubextensions.js';\nexport { IdleTransaction, TRACING_DEFAULTS } from './tracing/idletransaction.js';\nexport { Span } from './tracing/span.js';\nexport { Transaction } from './tracing/transaction.js';\nexport { extractTraceparentData, getActiveTransaction } from './tracing/utils.js';\nexport { SpanStatus, getSpanStatusFromHttpCode, setHttpStatus, spanStatusfromHttpCode } from './tracing/spanstatus.js';\nexport { continueTrace, getActiveSpan, startActiveSpan, startInactiveSpan, startSpan, startSpanManual, trace } from './tracing/trace.js';\nexport { getDynamicSamplingContextFromClient, getDynamicSamplingContextFromSpan } from './tracing/dynamicSamplingContext.js';\nexport { setMeasurement } from './tracing/measurement.js';\nexport { isValidSampleRate } from './tracing/sampling.js';\nexport { SEMANTIC_ATTRIBUTE_PROFILE_ID, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE } from './semanticAttributes.js';\nexport { createEventEnvelope, createSessionEnvelope } from './envelope.js';\nexport { addBreadcrumb, captureCheckIn, captureEvent, captureException, captureMessage, captureSession, close, configureScope, endSession, flush, getClient, getCurrentScope, isInitialized, lastEventId, setContext, setExtra, setExtras, setTag, setTags, setUser, startSession, startTransaction, withActiveSpan, withIsolationScope, withMonitor, withScope } from './exports.js';\nexport { Hub, ensureHubOnCarrier, getCurrentHub, getHubFromCarrier, getIsolationScope, getMainCarrier, makeMain, runWithAsyncContext, setAsyncContextStrategy, setHubOnCarrier } from './hub.js';\nexport { closeSession, makeSession, updateSession } from './session.js';\nexport { SessionFlusher } from './sessionflusher.js';\nexport { Scope, getGlobalScope, setGlobalScope } from './scope.js';\nexport { addGlobalEventProcessor, notifyEventProcessors } from './eventProcessors.js';\nexport { getEnvelopeEndpointWithUrlEncodedAuth, getReportDialogEndpoint } from './api.js';\nexport { BaseClient, addEventProcessor } from './baseclient.js';\nexport { ServerRuntimeClient } from './server-runtime-client.js';\nexport { initAndBind, setCurrentClient } from './sdk.js';\nexport { createTransport } from './transports/base.js';\nexport { makeOfflineTransport } from './transports/offline.js';\nexport { makeMultiplexedTransport } from './transports/multiplexed.js';\nexport { SDK_VERSION } from './version.js';\nexport { addIntegration, convertIntegrationFnToClass, defineIntegration, getIntegrationsToSetup } from './integration.js';\nexport { applyScopeDataToEvent, mergeScopeData } from './utils/applyScopeDataToEvent.js';\nexport { prepareEvent } from './utils/prepareEvent.js';\nexport { createCheckInEnvelope } from './checkin.js';\nexport { createSpanEnvelope } from './span.js';\nexport { hasTracingEnabled } from './utils/hasTracingEnabled.js';\nexport { isSentryRequestUrl } from './utils/isSentryRequestUrl.js';\nexport { handleCallbackErrors } from './utils/handleCallbackErrors.js';\nexport { parameterize } from './utils/parameterize.js';\nexport { spanIsSampled, spanToJSON, spanToTraceContext, spanToTraceHeader } from './utils/spanUtils.js';\nexport { getRootSpan } from './utils/getRootSpan.js';\nexport { applySdkMetadata } from './utils/sdkMetadata.js';\nexport { DEFAULT_ENVIRONMENT } from './constants.js';\nexport { ModuleMetadata, moduleMetadataIntegration } from './integrations/metadata.js';\nexport { RequestData, requestDataIntegration } from './integrations/requestdata.js';\nexport { InboundFilters, inboundFiltersIntegration } from './integrations/inboundfilters.js';\nexport { FunctionToString, functionToStringIntegration } from './integrations/functiontostring.js';\nexport { LinkedErrors, linkedErrorsIntegration } from './integrations/linkederrors.js';\nimport * as index from './integrations/index.js';\nexport { metrics } from './metrics/exports.js';\n\n/** @deprecated Import the integration function directly, e.g. `inboundFiltersIntegration()` instead of `new Integrations.InboundFilter(). */\nconst Integrations = index;\n\nexport { Integrations };\n//# sourceMappingURL=index.js.map\n","import '@sentry-internal/tracing';\nimport { withScope, captureException } from '@sentry/core';\nimport { GLOBAL_OBJ, getOriginalFunction, markFunctionWrapped, addNonEnumerableProperty, addExceptionTypeValue, addExceptionMechanism } from '@sentry/utils';\n\nconst WINDOW = GLOBAL_OBJ ;\n\nlet ignoreOnError = 0;\n\n/**\n * @hidden\n */\nfunction shouldIgnoreOnError() {\n return ignoreOnError > 0;\n}\n\n/**\n * @hidden\n */\nfunction ignoreNextOnError() {\n // onerror should trigger before setTimeout\n ignoreOnError++;\n setTimeout(() => {\n ignoreOnError--;\n });\n}\n\n/**\n * Instruments the given function and sends an event to Sentry every time the\n * function throws an exception.\n *\n * @param fn A function to wrap. It is generally safe to pass an unbound function, because the returned wrapper always\n * has a correct `this` context.\n * @returns The wrapped function.\n * @hidden\n */\nfunction wrap(\n fn,\n options\n\n = {},\n before,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n) {\n // for future readers what this does is wrap a function and then create\n // a bi-directional wrapping between them.\n //\n // example: wrapped = wrap(original);\n // original.__sentry_wrapped__ -> wrapped\n // wrapped.__sentry_original__ -> original\n\n if (typeof fn !== 'function') {\n return fn;\n }\n\n try {\n // if we're dealing with a function that was previously wrapped, return\n // the original wrapper.\n const wrapper = fn.__sentry_wrapped__;\n if (wrapper) {\n return wrapper;\n }\n\n // We don't wanna wrap it twice\n if (getOriginalFunction(fn)) {\n return fn;\n }\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n // Bail on wrapping and return the function as-is (defers to window.onerror).\n return fn;\n }\n\n /* eslint-disable prefer-rest-params */\n // It is important that `sentryWrapped` is not an arrow function to preserve the context of `this`\n const sentryWrapped = function () {\n const args = Array.prototype.slice.call(arguments);\n\n try {\n if (before && typeof before === 'function') {\n before.apply(this, arguments);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access\n const wrappedArguments = args.map((arg) => wrap(arg, options));\n\n // Attempt to invoke user-land function\n // NOTE: If you are a Sentry user, and you are seeing this stack frame, it\n // means the sentry.javascript SDK caught an error invoking your application code. This\n // is expected behavior and NOT indicative of a bug with sentry.javascript.\n return fn.apply(this, wrappedArguments);\n } catch (ex) {\n ignoreNextOnError();\n\n withScope(scope => {\n scope.addEventProcessor(event => {\n if (options.mechanism) {\n addExceptionTypeValue(event, undefined, undefined);\n addExceptionMechanism(event, options.mechanism);\n }\n\n event.extra = {\n ...event.extra,\n arguments: args,\n };\n\n return event;\n });\n\n captureException(ex);\n });\n\n throw ex;\n }\n };\n /* eslint-enable prefer-rest-params */\n\n // Accessing some objects may throw\n // ref: https://github.com/getsentry/sentry-javascript/issues/1168\n try {\n for (const property in fn) {\n if (Object.prototype.hasOwnProperty.call(fn, property)) {\n sentryWrapped[property] = fn[property];\n }\n }\n } catch (_oO) {} // eslint-disable-line no-empty\n\n // Signal that this function has been wrapped/filled already\n // for both debugging and to prevent it to being wrapped/filled twice\n markFunctionWrapped(sentryWrapped, fn);\n\n addNonEnumerableProperty(fn, '__sentry_wrapped__', sentryWrapped);\n\n // Restore original function name (not all browsers allow that)\n try {\n const descriptor = Object.getOwnPropertyDescriptor(sentryWrapped, 'name') ;\n if (descriptor.configurable) {\n Object.defineProperty(sentryWrapped, 'name', {\n get() {\n return fn.name;\n },\n });\n }\n // eslint-disable-next-line no-empty\n } catch (_oO) {}\n\n return sentryWrapped;\n}\n\nexport { WINDOW, ignoreNextOnError, shouldIgnoreOnError, wrap };\n//# sourceMappingURL=helpers.js.map\n","import { DEBUG_BUILD } from '../debug-build.js';\nimport { logger } from '../logger.js';\nimport { getFunctionName } from '../stacktrace.js';\n\n// We keep the handlers globally\nconst handlers = {};\nconst instrumented = {};\n\n/** Add a handler function. */\nfunction addHandler(type, handler) {\n handlers[type] = handlers[type] || [];\n (handlers[type] ).push(handler);\n}\n\n/**\n * Reset all instrumentation handlers.\n * This can be used by tests to ensure we have a clean slate of instrumentation handlers.\n */\nfunction resetInstrumentationHandlers() {\n Object.keys(handlers).forEach(key => {\n handlers[key ] = undefined;\n });\n}\n\n/** Maybe run an instrumentation function, unless it was already called. */\nfunction maybeInstrument(type, instrumentFn) {\n if (!instrumented[type]) {\n instrumentFn();\n instrumented[type] = true;\n }\n}\n\n/** Trigger handlers for a given instrumentation type. */\nfunction triggerHandlers(type, data) {\n const typeHandlers = type && handlers[type];\n if (!typeHandlers) {\n return;\n }\n\n for (const handler of typeHandlers) {\n try {\n handler(data);\n } catch (e) {\n DEBUG_BUILD &&\n logger.error(\n `Error while triggering instrumentation handler.\\nType: ${type}\\nName: ${getFunctionName(handler)}\\nError:`,\n e,\n );\n }\n }\n}\n\nexport { addHandler, maybeInstrument, resetInstrumentationHandlers, triggerHandlers };\n//# sourceMappingURL=_handlers.js.map\n","import { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\n\nlet _oldOnErrorHandler = null;\n\n/**\n * Add an instrumentation handler for when an error is captured by the global error handler.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addGlobalErrorInstrumentationHandler(handler) {\n const type = 'error';\n addHandler(type, handler);\n maybeInstrument(type, instrumentError);\n}\n\nfunction instrumentError() {\n _oldOnErrorHandler = GLOBAL_OBJ.onerror;\n\n GLOBAL_OBJ.onerror = function (\n msg,\n url,\n line,\n column,\n error,\n ) {\n const handlerData = {\n column,\n error,\n line,\n msg,\n url,\n };\n triggerHandlers('error', handlerData);\n\n if (_oldOnErrorHandler && !_oldOnErrorHandler.__SENTRY_LOADER__) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnErrorHandler.apply(this, arguments);\n }\n\n return false;\n };\n\n GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__ = true;\n}\n\nexport { addGlobalErrorInstrumentationHandler };\n//# sourceMappingURL=globalError.js.map\n","import { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\n\nlet _oldOnUnhandledRejectionHandler = null;\n\n/**\n * Add an instrumentation handler for when an unhandled promise rejection is captured.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addGlobalUnhandledRejectionInstrumentationHandler(\n handler,\n) {\n const type = 'unhandledrejection';\n addHandler(type, handler);\n maybeInstrument(type, instrumentUnhandledRejection);\n}\n\nfunction instrumentUnhandledRejection() {\n _oldOnUnhandledRejectionHandler = GLOBAL_OBJ.onunhandledrejection;\n\n GLOBAL_OBJ.onunhandledrejection = function (e) {\n const handlerData = e;\n triggerHandlers('unhandledrejection', handlerData);\n\n if (_oldOnUnhandledRejectionHandler && !_oldOnUnhandledRejectionHandler.__SENTRY_LOADER__) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnUnhandledRejectionHandler.apply(this, arguments);\n }\n\n return true;\n };\n\n GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__ = true;\n}\n\nexport { addGlobalUnhandledRejectionInstrumentationHandler };\n//# sourceMappingURL=globalUnhandledRejection.js.map\n","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nconst DEBUG_BUILD = (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__);\n\nexport { DEBUG_BUILD };\n//# sourceMappingURL=debug-build.js.map\n","import { getClient } from '@sentry/core';\nimport { addExceptionMechanism, resolvedSyncPromise, isErrorEvent, isDOMError, isDOMException, addExceptionTypeValue, isError, isPlainObject, isEvent, isParameterizedString, normalizeToSize, extractExceptionKeysForMessage } from '@sentry/utils';\n\n/**\n * This function creates an exception from a JavaScript Error\n */\nfunction exceptionFromError(stackParser, ex) {\n // Get the frames first since Opera can lose the stack if we touch anything else first\n const frames = parseStackFrames(stackParser, ex);\n\n const exception = {\n type: ex && ex.name,\n value: extractMessage(ex),\n };\n\n if (frames.length) {\n exception.stacktrace = { frames };\n }\n\n if (exception.type === undefined && exception.value === '') {\n exception.value = 'Unrecoverable error caught';\n }\n\n return exception;\n}\n\n/**\n * @hidden\n */\nfunction eventFromPlainObject(\n stackParser,\n exception,\n syntheticException,\n isUnhandledRejection,\n) {\n const client = getClient();\n const normalizeDepth = client && client.getOptions().normalizeDepth;\n\n const event = {\n exception: {\n values: [\n {\n type: isEvent(exception) ? exception.constructor.name : isUnhandledRejection ? 'UnhandledRejection' : 'Error',\n value: getNonErrorObjectExceptionValue(exception, { isUnhandledRejection }),\n },\n ],\n },\n extra: {\n __serialized__: normalizeToSize(exception, normalizeDepth),\n },\n };\n\n if (syntheticException) {\n const frames = parseStackFrames(stackParser, syntheticException);\n if (frames.length) {\n // event.exception.values[0] has been set above\n (event.exception ).values[0].stacktrace = { frames };\n }\n }\n\n return event;\n}\n\n/**\n * @hidden\n */\nfunction eventFromError(stackParser, ex) {\n return {\n exception: {\n values: [exceptionFromError(stackParser, ex)],\n },\n };\n}\n\n/** Parses stack frames from an error */\nfunction parseStackFrames(\n stackParser,\n ex,\n) {\n // Access and store the stacktrace property before doing ANYTHING\n // else to it because Opera is not very good at providing it\n // reliably in other circumstances.\n const stacktrace = ex.stacktrace || ex.stack || '';\n\n const popSize = getPopSize(ex);\n\n try {\n return stackParser(stacktrace, popSize);\n } catch (e) {\n // no-empty\n }\n\n return [];\n}\n\n// Based on our own mapping pattern - https://github.com/getsentry/sentry/blob/9f08305e09866c8bd6d0c24f5b0aabdd7dd6c59c/src/sentry/lang/javascript/errormapping.py#L83-L108\nconst reactMinifiedRegexp = /Minified React error #\\d+;/i;\n\nfunction getPopSize(ex) {\n if (ex) {\n if (typeof ex.framesToPop === 'number') {\n return ex.framesToPop;\n }\n\n if (reactMinifiedRegexp.test(ex.message)) {\n return 1;\n }\n }\n\n return 0;\n}\n\n/**\n * There are cases where stacktrace.message is an Event object\n * https://github.com/getsentry/sentry-javascript/issues/1949\n * In this specific case we try to extract stacktrace.message.error.message\n */\nfunction extractMessage(ex) {\n const message = ex && ex.message;\n if (!message) {\n return 'No error message';\n }\n if (message.error && typeof message.error.message === 'string') {\n return message.error.message;\n }\n return message;\n}\n\n/**\n * Creates an {@link Event} from all inputs to `captureException` and non-primitive inputs to `captureMessage`.\n * @hidden\n */\nfunction eventFromException(\n stackParser,\n exception,\n hint,\n attachStacktrace,\n) {\n const syntheticException = (hint && hint.syntheticException) || undefined;\n const event = eventFromUnknownInput(stackParser, exception, syntheticException, attachStacktrace);\n addExceptionMechanism(event); // defaults to { type: 'generic', handled: true }\n event.level = 'error';\n if (hint && hint.event_id) {\n event.event_id = hint.event_id;\n }\n return resolvedSyncPromise(event);\n}\n\n/**\n * Builds and Event from a Message\n * @hidden\n */\nfunction eventFromMessage(\n stackParser,\n message,\n // eslint-disable-next-line deprecation/deprecation\n level = 'info',\n hint,\n attachStacktrace,\n) {\n const syntheticException = (hint && hint.syntheticException) || undefined;\n const event = eventFromString(stackParser, message, syntheticException, attachStacktrace);\n event.level = level;\n if (hint && hint.event_id) {\n event.event_id = hint.event_id;\n }\n return resolvedSyncPromise(event);\n}\n\n/**\n * @hidden\n */\nfunction eventFromUnknownInput(\n stackParser,\n exception,\n syntheticException,\n attachStacktrace,\n isUnhandledRejection,\n) {\n let event;\n\n if (isErrorEvent(exception ) && (exception ).error) {\n // If it is an ErrorEvent with `error` property, extract it to get actual Error\n const errorEvent = exception ;\n return eventFromError(stackParser, errorEvent.error );\n }\n\n // If it is a `DOMError` (which is a legacy API, but still supported in some browsers) then we just extract the name\n // and message, as it doesn't provide anything else. According to the spec, all `DOMExceptions` should also be\n // `Error`s, but that's not the case in IE11, so in that case we treat it the same as we do a `DOMError`.\n //\n // https://developer.mozilla.org/en-US/docs/Web/API/DOMError\n // https://developer.mozilla.org/en-US/docs/Web/API/DOMException\n // https://webidl.spec.whatwg.org/#es-DOMException-specialness\n if (isDOMError(exception) || isDOMException(exception )) {\n const domException = exception ;\n\n if ('stack' in (exception )) {\n event = eventFromError(stackParser, exception );\n } else {\n const name = domException.name || (isDOMError(domException) ? 'DOMError' : 'DOMException');\n const message = domException.message ? `${name}: ${domException.message}` : name;\n event = eventFromString(stackParser, message, syntheticException, attachStacktrace);\n addExceptionTypeValue(event, message);\n }\n if ('code' in domException) {\n // eslint-disable-next-line deprecation/deprecation\n event.tags = { ...event.tags, 'DOMException.code': `${domException.code}` };\n }\n\n return event;\n }\n if (isError(exception)) {\n // we have a real Error object, do nothing\n return eventFromError(stackParser, exception);\n }\n if (isPlainObject(exception) || isEvent(exception)) {\n // If it's a plain object or an instance of `Event` (the built-in JS kind, not this SDK's `Event` type), serialize\n // it manually. This will allow us to group events based on top-level keys which is much better than creating a new\n // group on any key/value change.\n const objectException = exception ;\n event = eventFromPlainObject(stackParser, objectException, syntheticException, isUnhandledRejection);\n addExceptionMechanism(event, {\n synthetic: true,\n });\n return event;\n }\n\n // If none of previous checks were valid, then it means that it's not:\n // - an instance of DOMError\n // - an instance of DOMException\n // - an instance of Event\n // - an instance of Error\n // - a valid ErrorEvent (one with an error property)\n // - a plain Object\n //\n // So bail out and capture it as a simple message:\n event = eventFromString(stackParser, exception , syntheticException, attachStacktrace);\n addExceptionTypeValue(event, `${exception}`, undefined);\n addExceptionMechanism(event, {\n synthetic: true,\n });\n\n return event;\n}\n\n/**\n * @hidden\n */\nfunction eventFromString(\n stackParser,\n message,\n syntheticException,\n attachStacktrace,\n) {\n const event = {};\n\n if (attachStacktrace && syntheticException) {\n const frames = parseStackFrames(stackParser, syntheticException);\n if (frames.length) {\n event.exception = {\n values: [{ value: message, stacktrace: { frames } }],\n };\n }\n }\n\n if (isParameterizedString(message)) {\n const { __sentry_template_string__, __sentry_template_values__ } = message;\n\n event.logentry = {\n message: __sentry_template_string__,\n params: __sentry_template_values__,\n };\n return event;\n }\n\n event.message = message;\n return event;\n}\n\nfunction getNonErrorObjectExceptionValue(\n exception,\n { isUnhandledRejection },\n) {\n const keys = extractExceptionKeysForMessage(exception);\n const captureType = isUnhandledRejection ? 'promise rejection' : 'exception';\n\n // Some ErrorEvent instances do not have an `error` property, which is why they are not handled before\n // We still want to try to get a decent message for these cases\n if (isErrorEvent(exception)) {\n return `Event \\`ErrorEvent\\` captured as ${captureType} with message \\`${exception.message}\\``;\n }\n\n if (isEvent(exception)) {\n const className = getObjectClassName(exception);\n return `Event \\`${className}\\` (type=${exception.type}) captured as ${captureType}`;\n }\n\n return `Object captured as ${captureType} with keys: ${keys}`;\n}\n\nfunction getObjectClassName(obj) {\n try {\n const prototype = Object.getPrototypeOf(obj);\n return prototype ? prototype.constructor.name : undefined;\n } catch (e) {\n // ignore errors here\n }\n}\n\nexport { eventFromError, eventFromException, eventFromMessage, eventFromPlainObject, eventFromString, eventFromUnknownInput, exceptionFromError, parseStackFrames };\n//# sourceMappingURL=eventbuilder.js.map\n","import { defineIntegration, convertIntegrationFnToClass, getClient, captureEvent } from '@sentry/core';\nimport { addGlobalErrorInstrumentationHandler, isString, addGlobalUnhandledRejectionInstrumentationHandler, isPrimitive, isErrorEvent, getLocationHref, logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { eventFromUnknownInput } from '../eventbuilder.js';\nimport { shouldIgnoreOnError } from '../helpers.js';\n\n/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n\nconst INTEGRATION_NAME = 'GlobalHandlers';\n\nconst _globalHandlersIntegration = ((options = {}) => {\n const _options = {\n onerror: true,\n onunhandledrejection: true,\n ...options,\n };\n\n return {\n name: INTEGRATION_NAME,\n setupOnce() {\n Error.stackTraceLimit = 50;\n },\n setup(client) {\n if (_options.onerror) {\n _installGlobalOnErrorHandler(client);\n globalHandlerLog('onerror');\n }\n if (_options.onunhandledrejection) {\n _installGlobalOnUnhandledRejectionHandler(client);\n globalHandlerLog('onunhandledrejection');\n }\n },\n };\n}) ;\n\nconst globalHandlersIntegration = defineIntegration(_globalHandlersIntegration);\n\n/**\n * Global handlers.\n * @deprecated Use `globalHandlersIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst GlobalHandlers = convertIntegrationFnToClass(\n INTEGRATION_NAME,\n globalHandlersIntegration,\n)\n\n;\n\nfunction _installGlobalOnErrorHandler(client) {\n addGlobalErrorInstrumentationHandler(data => {\n const { stackParser, attachStacktrace } = getOptions();\n\n if (getClient() !== client || shouldIgnoreOnError()) {\n return;\n }\n\n const { msg, url, line, column, error } = data;\n\n const event =\n error === undefined && isString(msg)\n ? _eventFromIncompleteOnError(msg, url, line, column)\n : _enhanceEventWithInitialFrame(\n eventFromUnknownInput(stackParser, error || msg, undefined, attachStacktrace, false),\n url,\n line,\n column,\n );\n\n event.level = 'error';\n\n captureEvent(event, {\n originalException: error,\n mechanism: {\n handled: false,\n type: 'onerror',\n },\n });\n });\n}\n\nfunction _installGlobalOnUnhandledRejectionHandler(client) {\n addGlobalUnhandledRejectionInstrumentationHandler(e => {\n const { stackParser, attachStacktrace } = getOptions();\n\n if (getClient() !== client || shouldIgnoreOnError()) {\n return;\n }\n\n const error = _getUnhandledRejectionError(e );\n\n const event = isPrimitive(error)\n ? _eventFromRejectionWithPrimitive(error)\n : eventFromUnknownInput(stackParser, error, undefined, attachStacktrace, true);\n\n event.level = 'error';\n\n captureEvent(event, {\n originalException: error,\n mechanism: {\n handled: false,\n type: 'onunhandledrejection',\n },\n });\n });\n}\n\nfunction _getUnhandledRejectionError(error) {\n if (isPrimitive(error)) {\n return error;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const e = error ;\n\n // dig the object of the rejection out of known event types\n try {\n // PromiseRejectionEvents store the object of the rejection under 'reason'\n // see https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent\n if ('reason' in e) {\n return e.reason;\n }\n\n // something, somewhere, (likely a browser extension) effectively casts PromiseRejectionEvents\n // to CustomEvents, moving the `promise` and `reason` attributes of the PRE into\n // the CustomEvent's `detail` attribute, since they're not part of CustomEvent's spec\n // see https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent and\n // https://github.com/getsentry/sentry-javascript/issues/2380\n else if ('detail' in e && 'reason' in e.detail) {\n return e.detail.reason;\n }\n } catch (e2) {} // eslint-disable-line no-empty\n\n return error;\n}\n\n/**\n * Create an event from a promise rejection where the `reason` is a primitive.\n *\n * @param reason: The `reason` property of the promise rejection\n * @returns An Event object with an appropriate `exception` value\n */\nfunction _eventFromRejectionWithPrimitive(reason) {\n return {\n exception: {\n values: [\n {\n type: 'UnhandledRejection',\n // String() is needed because the Primitive type includes symbols (which can't be automatically stringified)\n value: `Non-Error promise rejection captured with value: ${String(reason)}`,\n },\n ],\n },\n };\n}\n\n/**\n * This function creates a stack from an old, error-less onerror handler.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _eventFromIncompleteOnError(msg, url, line, column) {\n const ERROR_TYPES_RE =\n /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;\n\n // If 'message' is ErrorEvent, get real message from inside\n let message = isErrorEvent(msg) ? msg.message : msg;\n let name = 'Error';\n\n const groups = message.match(ERROR_TYPES_RE);\n if (groups) {\n name = groups[1];\n message = groups[2];\n }\n\n const event = {\n exception: {\n values: [\n {\n type: name,\n value: message,\n },\n ],\n },\n };\n\n return _enhanceEventWithInitialFrame(event, url, line, column);\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _enhanceEventWithInitialFrame(event, url, line, column) {\n // event.exception\n const e = (event.exception = event.exception || {});\n // event.exception.values\n const ev = (e.values = e.values || []);\n // event.exception.values[0]\n const ev0 = (ev[0] = ev[0] || {});\n // event.exception.values[0].stacktrace\n const ev0s = (ev0.stacktrace = ev0.stacktrace || {});\n // event.exception.values[0].stacktrace.frames\n const ev0sf = (ev0s.frames = ev0s.frames || []);\n\n const colno = isNaN(parseInt(column, 10)) ? undefined : column;\n const lineno = isNaN(parseInt(line, 10)) ? undefined : line;\n const filename = isString(url) && url.length > 0 ? url : getLocationHref();\n\n // event.exception.values[0].stacktrace.frames\n if (ev0sf.length === 0) {\n ev0sf.push({\n colno,\n filename,\n function: '?',\n in_app: true,\n lineno,\n });\n }\n\n return event;\n}\n\nfunction globalHandlerLog(type) {\n DEBUG_BUILD && logger.log(`Global Handler attached: ${type}`);\n}\n\nfunction getOptions() {\n const client = getClient();\n const options = (client && client.getOptions()) || {\n stackParser: () => [],\n attachStacktrace: false,\n };\n return options;\n}\n\nexport { GlobalHandlers, globalHandlersIntegration };\n//# sourceMappingURL=globalhandlers.js.map\n","import { defineIntegration, convertIntegrationFnToClass } from '@sentry/core';\nimport { fill, getFunctionName, getOriginalFunction } from '@sentry/utils';\nimport { WINDOW, wrap } from '../helpers.js';\n\nconst DEFAULT_EVENT_TARGET = [\n 'EventTarget',\n 'Window',\n 'Node',\n 'ApplicationCache',\n 'AudioTrackList',\n 'BroadcastChannel',\n 'ChannelMergerNode',\n 'CryptoOperation',\n 'EventSource',\n 'FileReader',\n 'HTMLUnknownElement',\n 'IDBDatabase',\n 'IDBRequest',\n 'IDBTransaction',\n 'KeyOperation',\n 'MediaController',\n 'MessagePort',\n 'ModalWindow',\n 'Notification',\n 'SVGElementInstance',\n 'Screen',\n 'SharedWorker',\n 'TextTrack',\n 'TextTrackCue',\n 'TextTrackList',\n 'WebSocket',\n 'WebSocketWorker',\n 'Worker',\n 'XMLHttpRequest',\n 'XMLHttpRequestEventTarget',\n 'XMLHttpRequestUpload',\n];\n\nconst INTEGRATION_NAME = 'TryCatch';\n\nconst _browserApiErrorsIntegration = ((options = {}) => {\n const _options = {\n XMLHttpRequest: true,\n eventTarget: true,\n requestAnimationFrame: true,\n setInterval: true,\n setTimeout: true,\n ...options,\n };\n\n return {\n name: INTEGRATION_NAME,\n // TODO: This currently only works for the first client this is setup\n // We may want to adjust this to check for client etc.\n setupOnce() {\n if (_options.setTimeout) {\n fill(WINDOW, 'setTimeout', _wrapTimeFunction);\n }\n\n if (_options.setInterval) {\n fill(WINDOW, 'setInterval', _wrapTimeFunction);\n }\n\n if (_options.requestAnimationFrame) {\n fill(WINDOW, 'requestAnimationFrame', _wrapRAF);\n }\n\n if (_options.XMLHttpRequest && 'XMLHttpRequest' in WINDOW) {\n fill(XMLHttpRequest.prototype, 'send', _wrapXHR);\n }\n\n const eventTargetOption = _options.eventTarget;\n if (eventTargetOption) {\n const eventTarget = Array.isArray(eventTargetOption) ? eventTargetOption : DEFAULT_EVENT_TARGET;\n eventTarget.forEach(_wrapEventTarget);\n }\n },\n };\n}) ;\n\nconst browserApiErrorsIntegration = defineIntegration(_browserApiErrorsIntegration);\n\n/**\n * Wrap timer functions and event targets to catch errors and provide better meta data.\n * @deprecated Use `browserApiErrorsIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst TryCatch = convertIntegrationFnToClass(\n INTEGRATION_NAME,\n browserApiErrorsIntegration,\n)\n\n;\n\nfunction _wrapTimeFunction(original) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function ( ...args) {\n const originalCallback = args[0];\n args[0] = wrap(originalCallback, {\n mechanism: {\n data: { function: getFunctionName(original) },\n handled: false,\n type: 'instrument',\n },\n });\n return original.apply(this, args);\n };\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _wrapRAF(original) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function ( callback) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return original.apply(this, [\n wrap(callback, {\n mechanism: {\n data: {\n function: 'requestAnimationFrame',\n handler: getFunctionName(original),\n },\n handled: false,\n type: 'instrument',\n },\n }),\n ]);\n };\n}\n\nfunction _wrapXHR(originalSend) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function ( ...args) {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const xhr = this;\n const xmlHttpRequestProps = ['onload', 'onerror', 'onprogress', 'onreadystatechange'];\n\n xmlHttpRequestProps.forEach(prop => {\n if (prop in xhr && typeof xhr[prop] === 'function') {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n fill(xhr, prop, function (original) {\n const wrapOptions = {\n mechanism: {\n data: {\n function: prop,\n handler: getFunctionName(original),\n },\n handled: false,\n type: 'instrument',\n },\n };\n\n // If Instrument integration has been called before TryCatch, get the name of original function\n const originalFunction = getOriginalFunction(original);\n if (originalFunction) {\n wrapOptions.mechanism.data.handler = getFunctionName(originalFunction);\n }\n\n // Otherwise wrap directly\n return wrap(original, wrapOptions);\n });\n }\n });\n\n return originalSend.apply(this, args);\n };\n}\n\nfunction _wrapEventTarget(target) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const globalObject = WINDOW ;\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const proto = globalObject[target] && globalObject[target].prototype;\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (original,)\n\n {\n return function (\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n eventName,\n fn,\n options,\n ) {\n try {\n if (typeof fn.handleEvent === 'function') {\n // ESlint disable explanation:\n // First, it is generally safe to call `wrap` with an unbound function. Furthermore, using `.bind()` would\n // introduce a bug here, because bind returns a new function that doesn't have our\n // flags(like __sentry_original__) attached. `wrap` checks for those flags to avoid unnecessary wrapping.\n // Without those flags, every call to addEventListener wraps the function again, causing a memory leak.\n // eslint-disable-next-line @typescript-eslint/unbound-method\n fn.handleEvent = wrap(fn.handleEvent, {\n mechanism: {\n data: {\n function: 'handleEvent',\n handler: getFunctionName(fn),\n target,\n },\n handled: false,\n type: 'instrument',\n },\n });\n }\n } catch (err) {\n // can sometimes get 'Permission denied to access property \"handle Event'\n }\n\n return original.apply(this, [\n eventName,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n wrap(fn , {\n mechanism: {\n data: {\n function: 'addEventListener',\n handler: getFunctionName(fn),\n target,\n },\n handled: false,\n type: 'instrument',\n },\n }),\n options,\n ]);\n };\n });\n\n fill(\n proto,\n 'removeEventListener',\n function (\n originalRemoveEventListener,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ) {\n return function (\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n eventName,\n fn,\n options,\n ) {\n /**\n * There are 2 possible scenarios here:\n *\n * 1. Someone passes a callback, which was attached prior to Sentry initialization, or by using unmodified\n * method, eg. `document.addEventListener.call(el, name, handler). In this case, we treat this function\n * as a pass-through, and call original `removeEventListener` with it.\n *\n * 2. Someone passes a callback, which was attached after Sentry was initialized, which means that it was using\n * our wrapped version of `addEventListener`, which internally calls `wrap` helper.\n * This helper \"wraps\" whole callback inside a try/catch statement, and attached appropriate metadata to it,\n * in order for us to make a distinction between wrapped/non-wrapped functions possible.\n * If a function was wrapped, it has additional property of `__sentry_wrapped__`, holding the handler.\n *\n * When someone adds a handler prior to initialization, and then do it again, but after,\n * then we have to detach both of them. Otherwise, if we'd detach only wrapped one, it'd be impossible\n * to get rid of the initial handler and it'd stick there forever.\n */\n const wrappedEventHandler = fn ;\n try {\n const originalEventHandler = wrappedEventHandler && wrappedEventHandler.__sentry_wrapped__;\n if (originalEventHandler) {\n originalRemoveEventListener.call(this, eventName, originalEventHandler, options);\n }\n } catch (e) {\n // ignore, accessing __sentry_wrapped__ will throw in some Selenium environments\n }\n return originalRemoveEventListener.call(this, eventName, wrappedEventHandler, options);\n };\n },\n );\n}\n\nexport { TryCatch, browserApiErrorsIntegration };\n//# sourceMappingURL=trycatch.js.map\n","import { CONSOLE_LEVELS, originalConsoleMethods } from '../logger.js';\nimport { fill } from '../object.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\n\n/**\n * Add an instrumentation handler for when a console.xxx method is called.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addConsoleInstrumentationHandler(handler) {\n const type = 'console';\n addHandler(type, handler);\n maybeInstrument(type, instrumentConsole);\n}\n\nfunction instrumentConsole() {\n if (!('console' in GLOBAL_OBJ)) {\n return;\n }\n\n CONSOLE_LEVELS.forEach(function (level) {\n if (!(level in GLOBAL_OBJ.console)) {\n return;\n }\n\n fill(GLOBAL_OBJ.console, level, function (originalConsoleMethod) {\n originalConsoleMethods[level] = originalConsoleMethod;\n\n return function (...args) {\n const handlerData = { args, level };\n triggerHandlers('console', handlerData);\n\n const log = originalConsoleMethods[level];\n log && log.apply(GLOBAL_OBJ.console, args);\n };\n });\n });\n}\n\nexport { addConsoleInstrumentationHandler };\n//# sourceMappingURL=console.js.map\n","import { uuid4 } from '../misc.js';\nimport { fill, addNonEnumerableProperty } from '../object.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\n\nconst WINDOW = GLOBAL_OBJ ;\nconst DEBOUNCE_DURATION = 1000;\n\nlet debounceTimerID;\nlet lastCapturedEventType;\nlet lastCapturedEventTargetId;\n\n/**\n * Add an instrumentation handler for when a click or a keypress happens.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addClickKeypressInstrumentationHandler(handler) {\n const type = 'dom';\n addHandler(type, handler);\n maybeInstrument(type, instrumentDOM);\n}\n\n/** Exported for tests only. */\nfunction instrumentDOM() {\n if (!WINDOW.document) {\n return;\n }\n\n // Make it so that any click or keypress that is unhandled / bubbled up all the way to the document triggers our dom\n // handlers. (Normally we have only one, which captures a breadcrumb for each click or keypress.) Do this before\n // we instrument `addEventListener` so that we don't end up attaching this handler twice.\n const triggerDOMHandler = triggerHandlers.bind(null, 'dom');\n const globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true);\n WINDOW.document.addEventListener('click', globalDOMEventHandler, false);\n WINDOW.document.addEventListener('keypress', globalDOMEventHandler, false);\n\n // After hooking into click and keypress events bubbled up to `document`, we also hook into user-handled\n // clicks & keypresses, by adding an event listener of our own to any element to which they add a listener. That\n // way, whenever one of their handlers is triggered, ours will be, too. (This is needed because their handler\n // could potentially prevent the event from bubbling up to our global listeners. This way, our handler are still\n // guaranteed to fire at least once.)\n ['EventTarget', 'Node'].forEach((target) => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const proto = (WINDOW )[target] && (WINDOW )[target].prototype;\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (originalAddEventListener) {\n return function (\n\n type,\n listener,\n options,\n ) {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this ;\n const handlers = (el.__sentry_instrumentation_handlers__ = el.__sentry_instrumentation_handlers__ || {});\n const handlerForType = (handlers[type] = handlers[type] || { refCount: 0 });\n\n if (!handlerForType.handler) {\n const handler = makeDOMEventHandler(triggerDOMHandler);\n handlerForType.handler = handler;\n originalAddEventListener.call(this, type, handler, options);\n }\n\n handlerForType.refCount++;\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalAddEventListener.call(this, type, listener, options);\n };\n });\n\n fill(\n proto,\n 'removeEventListener',\n function (originalRemoveEventListener) {\n return function (\n\n type,\n listener,\n options,\n ) {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this ;\n const handlers = el.__sentry_instrumentation_handlers__ || {};\n const handlerForType = handlers[type];\n\n if (handlerForType) {\n handlerForType.refCount--;\n // If there are no longer any custom handlers of the current type on this element, we can remove ours, too.\n if (handlerForType.refCount <= 0) {\n originalRemoveEventListener.call(this, type, handlerForType.handler, options);\n handlerForType.handler = undefined;\n delete handlers[type]; // eslint-disable-line @typescript-eslint/no-dynamic-delete\n }\n\n // If there are no longer any custom handlers of any type on this element, cleanup everything.\n if (Object.keys(handlers).length === 0) {\n delete el.__sentry_instrumentation_handlers__;\n }\n }\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalRemoveEventListener.call(this, type, listener, options);\n };\n },\n );\n });\n}\n\n/**\n * Check whether the event is similar to the last captured one. For example, two click events on the same button.\n */\nfunction isSimilarToLastCapturedEvent(event) {\n // If both events have different type, then user definitely performed two separate actions. e.g. click + keypress.\n if (event.type !== lastCapturedEventType) {\n return false;\n }\n\n try {\n // If both events have the same type, it's still possible that actions were performed on different targets.\n // e.g. 2 clicks on different buttons.\n if (!event.target || (event.target )._sentryId !== lastCapturedEventTargetId) {\n return false;\n }\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n }\n\n // If both events have the same type _and_ same `target` (an element which triggered an event, _not necessarily_\n // to which an event listener was attached), we treat them as the same action, as we want to capture\n // only one breadcrumb. e.g. multiple clicks on the same button, or typing inside a user input box.\n return true;\n}\n\n/**\n * Decide whether an event should be captured.\n * @param event event to be captured\n */\nfunction shouldSkipDOMEvent(eventType, target) {\n // We are only interested in filtering `keypress` events for now.\n if (eventType !== 'keypress') {\n return false;\n }\n\n if (!target || !target.tagName) {\n return true;\n }\n\n // Only consider keypress events on actual input elements. This will disregard keypresses targeting body\n // e.g.tabbing through elements, hotkeys, etc.\n if (target.tagName === 'INPUT' || target.tagName === 'TEXTAREA' || target.isContentEditable) {\n return false;\n }\n\n return true;\n}\n\n/**\n * Wraps addEventListener to capture UI breadcrumbs\n */\nfunction makeDOMEventHandler(\n handler,\n globalListener = false,\n) {\n return (event) => {\n // It's possible this handler might trigger multiple times for the same\n // event (e.g. event propagation through node ancestors).\n // Ignore if we've already captured that event.\n if (!event || event['_sentryCaptured']) {\n return;\n }\n\n const target = getEventTarget(event);\n\n // We always want to skip _some_ events.\n if (shouldSkipDOMEvent(event.type, target)) {\n return;\n }\n\n // Mark event as \"seen\"\n addNonEnumerableProperty(event, '_sentryCaptured', true);\n\n if (target && !target._sentryId) {\n // Add UUID to event target so we can identify if\n addNonEnumerableProperty(target, '_sentryId', uuid4());\n }\n\n const name = event.type === 'keypress' ? 'input' : event.type;\n\n // If there is no last captured event, it means that we can safely capture the new event and store it for future comparisons.\n // If there is a last captured event, see if the new event is different enough to treat it as a unique one.\n // If that's the case, emit the previous event and store locally the newly-captured DOM event.\n if (!isSimilarToLastCapturedEvent(event)) {\n const handlerData = { event, name, global: globalListener };\n handler(handlerData);\n lastCapturedEventType = event.type;\n lastCapturedEventTargetId = target ? target._sentryId : undefined;\n }\n\n // Start a new debounce timer that will prevent us from capturing multiple events that should be grouped together.\n clearTimeout(debounceTimerID);\n debounceTimerID = WINDOW.setTimeout(() => {\n lastCapturedEventTargetId = undefined;\n lastCapturedEventType = undefined;\n }, DEBOUNCE_DURATION);\n };\n}\n\nfunction getEventTarget(event) {\n try {\n return event.target ;\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n return null;\n }\n}\n\nexport { addClickKeypressInstrumentationHandler, instrumentDOM };\n//# sourceMappingURL=dom.js.map\n","import { isString } from '../is.js';\nimport { fill } from '../object.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\n\nconst WINDOW = GLOBAL_OBJ ;\n\nconst SENTRY_XHR_DATA_KEY = '__sentry_xhr_v3__';\n\n/**\n * Add an instrumentation handler for when an XHR request happens.\n * The handler function is called once when the request starts and once when it ends,\n * which can be identified by checking if it has an `endTimestamp`.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addXhrInstrumentationHandler(handler) {\n const type = 'xhr';\n addHandler(type, handler);\n maybeInstrument(type, instrumentXHR);\n}\n\n/** Exported only for tests. */\nfunction instrumentXHR() {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (!(WINDOW ).XMLHttpRequest) {\n return;\n }\n\n const xhrproto = XMLHttpRequest.prototype;\n\n fill(xhrproto, 'open', function (originalOpen) {\n return function ( ...args) {\n const startTimestamp = Date.now();\n\n // open() should always be called with two or more arguments\n // But to be on the safe side, we actually validate this and bail out if we don't have a method & url\n const method = isString(args[0]) ? args[0].toUpperCase() : undefined;\n const url = parseUrl(args[1]);\n\n if (!method || !url) {\n return originalOpen.apply(this, args);\n }\n\n this[SENTRY_XHR_DATA_KEY] = {\n method,\n url,\n request_headers: {},\n };\n\n // if Sentry key appears in URL, don't capture it as a request\n if (method === 'POST' && url.match(/sentry_key/)) {\n this.__sentry_own_request__ = true;\n }\n\n const onreadystatechangeHandler = () => {\n // For whatever reason, this is not the same instance here as from the outer method\n const xhrInfo = this[SENTRY_XHR_DATA_KEY];\n\n if (!xhrInfo) {\n return;\n }\n\n if (this.readyState === 4) {\n try {\n // touching statusCode in some platforms throws\n // an exception\n xhrInfo.status_code = this.status;\n } catch (e) {\n /* do nothing */\n }\n\n const handlerData = {\n args: [method, url],\n endTimestamp: Date.now(),\n startTimestamp,\n xhr: this,\n };\n triggerHandlers('xhr', handlerData);\n }\n };\n\n if ('onreadystatechange' in this && typeof this.onreadystatechange === 'function') {\n fill(this, 'onreadystatechange', function (original) {\n return function ( ...readyStateArgs) {\n onreadystatechangeHandler();\n return original.apply(this, readyStateArgs);\n };\n });\n } else {\n this.addEventListener('readystatechange', onreadystatechangeHandler);\n }\n\n // Intercepting `setRequestHeader` to access the request headers of XHR instance.\n // This will only work for user/library defined headers, not for the default/browser-assigned headers.\n // Request cookies are also unavailable for XHR, as `Cookie` header can't be defined by `setRequestHeader`.\n fill(this, 'setRequestHeader', function (original) {\n return function ( ...setRequestHeaderArgs) {\n const [header, value] = setRequestHeaderArgs;\n\n const xhrInfo = this[SENTRY_XHR_DATA_KEY];\n\n if (xhrInfo && isString(header) && isString(value)) {\n xhrInfo.request_headers[header.toLowerCase()] = value;\n }\n\n return original.apply(this, setRequestHeaderArgs);\n };\n });\n\n return originalOpen.apply(this, args);\n };\n });\n\n fill(xhrproto, 'send', function (originalSend) {\n return function ( ...args) {\n const sentryXhrData = this[SENTRY_XHR_DATA_KEY];\n\n if (!sentryXhrData) {\n return originalSend.apply(this, args);\n }\n\n if (args[0] !== undefined) {\n sentryXhrData.body = args[0];\n }\n\n const handlerData = {\n args: [sentryXhrData.method, sentryXhrData.url],\n startTimestamp: Date.now(),\n xhr: this,\n };\n triggerHandlers('xhr', handlerData);\n\n return originalSend.apply(this, args);\n };\n });\n}\n\nfunction parseUrl(url) {\n if (isString(url)) {\n return url;\n }\n\n try {\n // url can be a string or URL\n // but since URL is not available in IE11, we do not check for it,\n // but simply assume it is an URL and return `toString()` from it (which returns the full URL)\n // If that fails, we just return undefined\n return (url ).toString();\n } catch (e2) {} // eslint-disable-line no-empty\n\n return undefined;\n}\n\nexport { SENTRY_XHR_DATA_KEY, addXhrInstrumentationHandler, instrumentXHR };\n//# sourceMappingURL=xhr.js.map\n","import { DEBUG_BUILD } from './debug-build.js';\nimport { logger } from './logger.js';\nimport { getGlobalObject } from './worldwide.js';\n\n// eslint-disable-next-line deprecation/deprecation\nconst WINDOW = getGlobalObject();\n\n/**\n * Tells whether current environment supports ErrorEvent objects\n * {@link supportsErrorEvent}.\n *\n * @returns Answer to the given question.\n */\nfunction supportsErrorEvent() {\n try {\n new ErrorEvent('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports DOMError objects\n * {@link supportsDOMError}.\n *\n * @returns Answer to the given question.\n */\nfunction supportsDOMError() {\n try {\n // Chrome: VM89:1 Uncaught TypeError: Failed to construct 'DOMError':\n // 1 argument required, but only 0 present.\n // @ts-expect-error It really needs 1 argument, not 0.\n new DOMError('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports DOMException objects\n * {@link supportsDOMException}.\n *\n * @returns Answer to the given question.\n */\nfunction supportsDOMException() {\n try {\n new DOMException('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports Fetch API\n * {@link supportsFetch}.\n *\n * @returns Answer to the given question.\n */\nfunction supportsFetch() {\n if (!('fetch' in WINDOW)) {\n return false;\n }\n\n try {\n new Headers();\n new Request('http://www.example.com');\n new Response();\n return true;\n } catch (e) {\n return false;\n }\n}\n/**\n * isNativeFetch checks if the given function is a native implementation of fetch()\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction isNativeFetch(func) {\n return func && /^function fetch\\(\\)\\s+\\{\\s+\\[native code\\]\\s+\\}$/.test(func.toString());\n}\n\n/**\n * Tells whether current environment supports Fetch API natively\n * {@link supportsNativeFetch}.\n *\n * @returns true if `window.fetch` is natively implemented, false otherwise\n */\nfunction supportsNativeFetch() {\n if (typeof EdgeRuntime === 'string') {\n return true;\n }\n\n if (!supportsFetch()) {\n return false;\n }\n\n // Fast path to avoid DOM I/O\n // eslint-disable-next-line @typescript-eslint/unbound-method\n if (isNativeFetch(WINDOW.fetch)) {\n return true;\n }\n\n // window.fetch is implemented, but is polyfilled or already wrapped (e.g: by a chrome extension)\n // so create a \"pure\" iframe to see if that has native fetch\n let result = false;\n const doc = WINDOW.document;\n // eslint-disable-next-line deprecation/deprecation\n if (doc && typeof (doc.createElement ) === 'function') {\n try {\n const sandbox = doc.createElement('iframe');\n sandbox.hidden = true;\n doc.head.appendChild(sandbox);\n if (sandbox.contentWindow && sandbox.contentWindow.fetch) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n result = isNativeFetch(sandbox.contentWindow.fetch);\n }\n doc.head.removeChild(sandbox);\n } catch (err) {\n DEBUG_BUILD &&\n logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', err);\n }\n }\n\n return result;\n}\n\n/**\n * Tells whether current environment supports ReportingObserver API\n * {@link supportsReportingObserver}.\n *\n * @returns Answer to the given question.\n */\nfunction supportsReportingObserver() {\n return 'ReportingObserver' in WINDOW;\n}\n\n/**\n * Tells whether current environment supports Referrer Policy API\n * {@link supportsReferrerPolicy}.\n *\n * @returns Answer to the given question.\n */\nfunction supportsReferrerPolicy() {\n // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default'\n // (see https://caniuse.com/#feat=referrer-policy),\n // it doesn't. And it throws an exception instead of ignoring this parameter...\n // REF: https://github.com/getsentry/raven-js/issues/1233\n\n if (!supportsFetch()) {\n return false;\n }\n\n try {\n new Request('_', {\n referrerPolicy: 'origin' ,\n });\n return true;\n } catch (e) {\n return false;\n }\n}\n\nexport { isNativeFetch, supportsDOMError, supportsDOMException, supportsErrorEvent, supportsFetch, supportsNativeFetch, supportsReferrerPolicy, supportsReportingObserver };\n//# sourceMappingURL=supports.js.map\n","import { fill } from '../object.js';\nimport { supportsNativeFetch } from '../supports.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\n\n/**\n * Add an instrumentation handler for when a fetch request happens.\n * The handler function is called once when the request starts and once when it ends,\n * which can be identified by checking if it has an `endTimestamp`.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addFetchInstrumentationHandler(handler) {\n const type = 'fetch';\n addHandler(type, handler);\n maybeInstrument(type, instrumentFetch);\n}\n\nfunction instrumentFetch() {\n if (!supportsNativeFetch()) {\n return;\n }\n\n fill(GLOBAL_OBJ, 'fetch', function (originalFetch) {\n return function (...args) {\n const { method, url } = parseFetchArgs(args);\n\n const handlerData = {\n args,\n fetchData: {\n method,\n url,\n },\n startTimestamp: Date.now(),\n };\n\n triggerHandlers('fetch', {\n ...handlerData,\n });\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return originalFetch.apply(GLOBAL_OBJ, args).then(\n (response) => {\n const finishedHandlerData = {\n ...handlerData,\n endTimestamp: Date.now(),\n response,\n };\n\n triggerHandlers('fetch', finishedHandlerData);\n return response;\n },\n (error) => {\n const erroredHandlerData = {\n ...handlerData,\n endTimestamp: Date.now(),\n error,\n };\n\n triggerHandlers('fetch', erroredHandlerData);\n // NOTE: If you are a Sentry user, and you are seeing this stack frame,\n // it means the sentry.javascript SDK caught an error invoking your application code.\n // This is expected behavior and NOT indicative of a bug with sentry.javascript.\n throw error;\n },\n );\n };\n });\n}\n\nfunction hasProp(obj, prop) {\n return !!obj && typeof obj === 'object' && !!(obj )[prop];\n}\n\nfunction getUrlFromResource(resource) {\n if (typeof resource === 'string') {\n return resource;\n }\n\n if (!resource) {\n return '';\n }\n\n if (hasProp(resource, 'url')) {\n return resource.url;\n }\n\n if (resource.toString) {\n return resource.toString();\n }\n\n return '';\n}\n\n/**\n * Parses the fetch arguments to find the used Http method and the url of the request.\n * Exported for tests only.\n */\nfunction parseFetchArgs(fetchArgs) {\n if (fetchArgs.length === 0) {\n return { method: 'GET', url: '' };\n }\n\n if (fetchArgs.length === 2) {\n const [url, options] = fetchArgs ;\n\n return {\n url: getUrlFromResource(url),\n method: hasProp(options, 'method') ? String(options.method).toUpperCase() : 'GET',\n };\n }\n\n const arg = fetchArgs[0];\n return {\n url: getUrlFromResource(arg ),\n method: hasProp(arg, 'method') ? String(arg.method).toUpperCase() : 'GET',\n };\n}\n\nexport { addFetchInstrumentationHandler, parseFetchArgs };\n//# sourceMappingURL=fetch.js.map\n","import { getGlobalObject } from '../worldwide.js';\n\n// Based on https://github.com/angular/angular.js/pull/13945/files\n\n// eslint-disable-next-line deprecation/deprecation\nconst WINDOW = getGlobalObject();\n\n/**\n * Tells whether current environment supports History API\n * {@link supportsHistory}.\n *\n * @returns Answer to the given question.\n */\nfunction supportsHistory() {\n // NOTE: in Chrome App environment, touching history.pushState, *even inside\n // a try/catch block*, will cause Chrome to output an error to console.error\n // borrowed from: https://github.com/angular/angular.js/pull/13945/files\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const chromeVar = (WINDOW ).chrome;\n const isChromePackagedApp = chromeVar && chromeVar.app && chromeVar.app.runtime;\n /* eslint-enable @typescript-eslint/no-unsafe-member-access */\n const hasHistoryApi = 'history' in WINDOW && !!WINDOW.history.pushState && !!WINDOW.history.replaceState;\n\n return !isChromePackagedApp && hasHistoryApi;\n}\n\nexport { supportsHistory };\n//# sourceMappingURL=supportsHistory.js.map\n","import { fill } from '../object.js';\nimport '../debug-build.js';\nimport '../logger.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { supportsHistory } from '../vendor/supportsHistory.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\n\nconst WINDOW = GLOBAL_OBJ ;\n\nlet lastHref;\n\n/**\n * Add an instrumentation handler for when a fetch request happens.\n * The handler function is called once when the request starts and once when it ends,\n * which can be identified by checking if it has an `endTimestamp`.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addHistoryInstrumentationHandler(handler) {\n const type = 'history';\n addHandler(type, handler);\n maybeInstrument(type, instrumentHistory);\n}\n\nfunction instrumentHistory() {\n if (!supportsHistory()) {\n return;\n }\n\n const oldOnPopState = WINDOW.onpopstate;\n WINDOW.onpopstate = function ( ...args) {\n const to = WINDOW.location.href;\n // keep track of the current URL state, as we always receive only the updated state\n const from = lastHref;\n lastHref = to;\n const handlerData = { from, to };\n triggerHandlers('history', handlerData);\n if (oldOnPopState) {\n // Apparently this can throw in Firefox when incorrectly implemented plugin is installed.\n // https://github.com/getsentry/sentry-javascript/issues/3344\n // https://github.com/bugsnag/bugsnag-js/issues/469\n try {\n return oldOnPopState.apply(this, args);\n } catch (_oO) {\n // no-empty\n }\n }\n };\n\n function historyReplacementFunction(originalHistoryFunction) {\n return function ( ...args) {\n const url = args.length > 2 ? args[2] : undefined;\n if (url) {\n // coerce to string (this is what pushState does)\n const from = lastHref;\n const to = String(url);\n // keep track of the current URL state, as we always receive only the updated state\n lastHref = to;\n const handlerData = { from, to };\n triggerHandlers('history', handlerData);\n }\n return originalHistoryFunction.apply(this, args);\n };\n }\n\n fill(WINDOW.history, 'pushState', historyReplacementFunction);\n fill(WINDOW.history, 'replaceState', historyReplacementFunction);\n}\n\nexport { addHistoryInstrumentationHandler };\n//# sourceMappingURL=history.js.map\n","// Note: Ideally the `SeverityLevel` type would be derived from `validSeverityLevels`, but that would mean either\n//\n// a) moving `validSeverityLevels` to `@sentry/types`,\n// b) moving the`SeverityLevel` type here, or\n// c) importing `validSeverityLevels` from here into `@sentry/types`.\n//\n// Option A would make `@sentry/types` a runtime dependency of `@sentry/utils` (not good), and options B and C would\n// create a circular dependency between `@sentry/types` and `@sentry/utils` (also not good). So a TODO accompanying the\n// type, reminding anyone who changes it to change this list also, will have to do.\n\nconst validSeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug'];\n\n/**\n * Converts a string-based level into a member of the deprecated {@link Severity} enum.\n *\n * @deprecated `severityFromString` is deprecated. Please use `severityLevelFromString` instead.\n *\n * @param level String representation of Severity\n * @returns Severity\n */\nfunction severityFromString(level) {\n return severityLevelFromString(level) ;\n}\n\n/**\n * Converts a string-based level into a `SeverityLevel`, normalizing it along the way.\n *\n * @param level String representation of desired `SeverityLevel`.\n * @returns The `SeverityLevel` corresponding to the given string, or 'log' if the string isn't a valid level.\n */\nfunction severityLevelFromString(level) {\n return (level === 'warn' ? 'warning' : validSeverityLevels.includes(level) ? level : 'log') ;\n}\n\nexport { severityFromString, severityLevelFromString, validSeverityLevels };\n//# sourceMappingURL=severity.js.map\n","/**\n * Parses string form of URL into an object\n * // borrowed from https://tools.ietf.org/html/rfc3986#appendix-B\n * // intentionally using regex and not
href parsing trick because React Native and other\n * // environments where DOM might not be available\n * @returns parsed URL object\n */\nfunction parseUrl(url) {\n if (!url) {\n return {};\n }\n\n const match = url.match(/^(([^:/?#]+):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/);\n\n if (!match) {\n return {};\n }\n\n // coerce to undefined values to empty string so we don't get 'undefined'\n const query = match[6] || '';\n const fragment = match[8] || '';\n return {\n host: match[4],\n path: match[5],\n protocol: match[2],\n search: query,\n hash: fragment,\n relative: match[5] + query + fragment, // everything minus origin\n };\n}\n\n/**\n * Strip the query string and fragment off of a given URL or path (if present)\n *\n * @param urlPath Full URL or path, including possible query string and/or fragment\n * @returns URL or path without query string or fragment\n */\nfunction stripUrlQueryAndFragment(urlPath) {\n // eslint-disable-next-line no-useless-escape\n return urlPath.split(/[\\?#]/, 1)[0];\n}\n\n/**\n * Returns number of URL segments of a passed string URL.\n */\nfunction getNumberOfUrlSegments(url) {\n // split at '/' or at '\\/' to split regex urls correctly\n return url.split(/\\\\?\\//).filter(s => s.length > 0 && s !== ',').length;\n}\n\n/**\n * Takes a URL object and returns a sanitized string which is safe to use as span description\n * see: https://develop.sentry.dev/sdk/data-handling/#structuring-data\n */\nfunction getSanitizedUrlString(url) {\n const { protocol, host, path } = url;\n\n const filteredHost =\n (host &&\n host\n // Always filter out authority\n .replace(/^.*@/, '[filtered]:[filtered]@')\n // Don't show standard :80 (http) and :443 (https) ports to reduce the noise\n // TODO: Use new URL global if it exists\n .replace(/(:80)$/, '')\n .replace(/(:443)$/, '')) ||\n '';\n\n return `${protocol ? `${protocol}://` : ''}${filteredHost}${path}`;\n}\n\nexport { getNumberOfUrlSegments, getSanitizedUrlString, parseUrl, stripUrlQueryAndFragment };\n//# sourceMappingURL=url.js.map\n","import { defineIntegration, convertIntegrationFnToClass, getClient, addBreadcrumb } from '@sentry/core';\nimport { addConsoleInstrumentationHandler, addClickKeypressInstrumentationHandler, addXhrInstrumentationHandler, addFetchInstrumentationHandler, addHistoryInstrumentationHandler, getEventDescription, logger, htmlTreeAsString, getComponentName, severityLevelFromString, safeJoin, SENTRY_XHR_DATA_KEY, parseUrl } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { WINDOW } from '../helpers.js';\n\n/* eslint-disable max-lines */\n\n/** maxStringLength gets capped to prevent 100 breadcrumbs exceeding 1MB event payload size */\nconst MAX_ALLOWED_STRING_LENGTH = 1024;\n\nconst INTEGRATION_NAME = 'Breadcrumbs';\n\nconst _breadcrumbsIntegration = ((options = {}) => {\n const _options = {\n console: true,\n dom: true,\n fetch: true,\n history: true,\n sentry: true,\n xhr: true,\n ...options,\n };\n\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function\n setup(client) {\n if (_options.console) {\n addConsoleInstrumentationHandler(_getConsoleBreadcrumbHandler(client));\n }\n if (_options.dom) {\n addClickKeypressInstrumentationHandler(_getDomBreadcrumbHandler(client, _options.dom));\n }\n if (_options.xhr) {\n addXhrInstrumentationHandler(_getXhrBreadcrumbHandler(client));\n }\n if (_options.fetch) {\n addFetchInstrumentationHandler(_getFetchBreadcrumbHandler(client));\n }\n if (_options.history) {\n addHistoryInstrumentationHandler(_getHistoryBreadcrumbHandler(client));\n }\n if (_options.sentry && client.on) {\n client.on('beforeSendEvent', _getSentryBreadcrumbHandler(client));\n }\n },\n };\n}) ;\n\nconst breadcrumbsIntegration = defineIntegration(_breadcrumbsIntegration);\n\n/**\n * Default Breadcrumbs instrumentations\n *\n * @deprecated Use `breadcrumbsIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst Breadcrumbs = convertIntegrationFnToClass(INTEGRATION_NAME, breadcrumbsIntegration)\n\n;\n\n/**\n * Adds a breadcrumb for Sentry events or transactions if this option is enabled.\n */\nfunction _getSentryBreadcrumbHandler(client) {\n return function addSentryBreadcrumb(event) {\n if (getClient() !== client) {\n return;\n }\n\n addBreadcrumb(\n {\n category: `sentry.${event.type === 'transaction' ? 'transaction' : 'event'}`,\n event_id: event.event_id,\n level: event.level,\n message: getEventDescription(event),\n },\n {\n event,\n },\n );\n };\n}\n\n/**\n * A HOC that creaes a function that creates breadcrumbs from DOM API calls.\n * This is a HOC so that we get access to dom options in the closure.\n */\nfunction _getDomBreadcrumbHandler(\n client,\n dom,\n) {\n return function _innerDomBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n let target;\n let componentName;\n let keyAttrs = typeof dom === 'object' ? dom.serializeAttribute : undefined;\n\n let maxStringLength =\n typeof dom === 'object' && typeof dom.maxStringLength === 'number' ? dom.maxStringLength : undefined;\n if (maxStringLength && maxStringLength > MAX_ALLOWED_STRING_LENGTH) {\n DEBUG_BUILD &&\n logger.warn(\n `\\`dom.maxStringLength\\` cannot exceed ${MAX_ALLOWED_STRING_LENGTH}, but a value of ${maxStringLength} was configured. Sentry will use ${MAX_ALLOWED_STRING_LENGTH} instead.`,\n );\n maxStringLength = MAX_ALLOWED_STRING_LENGTH;\n }\n\n if (typeof keyAttrs === 'string') {\n keyAttrs = [keyAttrs];\n }\n\n // Accessing event.target can throw (see getsentry/raven-js#838, #768)\n try {\n const event = handlerData.event ;\n const element = _isEvent(event) ? event.target : event;\n\n target = htmlTreeAsString(element, { keyAttrs, maxStringLength });\n componentName = getComponentName(element);\n } catch (e) {\n target = '';\n }\n\n if (target.length === 0) {\n return;\n }\n\n const breadcrumb = {\n category: `ui.${handlerData.name}`,\n message: target,\n };\n\n if (componentName) {\n breadcrumb.data = { 'ui.component_name': componentName };\n }\n\n addBreadcrumb(breadcrumb, {\n event: handlerData.event,\n name: handlerData.name,\n global: handlerData.global,\n });\n };\n}\n\n/**\n * Creates breadcrumbs from console API calls\n */\nfunction _getConsoleBreadcrumbHandler(client) {\n return function _consoleBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n const breadcrumb = {\n category: 'console',\n data: {\n arguments: handlerData.args,\n logger: 'console',\n },\n level: severityLevelFromString(handlerData.level),\n message: safeJoin(handlerData.args, ' '),\n };\n\n if (handlerData.level === 'assert') {\n if (handlerData.args[0] === false) {\n breadcrumb.message = `Assertion failed: ${safeJoin(handlerData.args.slice(1), ' ') || 'console.assert'}`;\n breadcrumb.data.arguments = handlerData.args.slice(1);\n } else {\n // Don't capture a breadcrumb for passed assertions\n return;\n }\n }\n\n addBreadcrumb(breadcrumb, {\n input: handlerData.args,\n level: handlerData.level,\n });\n };\n}\n\n/**\n * Creates breadcrumbs from XHR API calls\n */\nfunction _getXhrBreadcrumbHandler(client) {\n return function _xhrBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n const { startTimestamp, endTimestamp } = handlerData;\n\n const sentryXhrData = handlerData.xhr[SENTRY_XHR_DATA_KEY];\n\n // We only capture complete, non-sentry requests\n if (!startTimestamp || !endTimestamp || !sentryXhrData) {\n return;\n }\n\n const { method, url, status_code, body } = sentryXhrData;\n\n const data = {\n method,\n url,\n status_code,\n };\n\n const hint = {\n xhr: handlerData.xhr,\n input: body,\n startTimestamp,\n endTimestamp,\n };\n\n addBreadcrumb(\n {\n category: 'xhr',\n data,\n type: 'http',\n },\n hint,\n );\n };\n}\n\n/**\n * Creates breadcrumbs from fetch API calls\n */\nfunction _getFetchBreadcrumbHandler(client) {\n return function _fetchBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n const { startTimestamp, endTimestamp } = handlerData;\n\n // We only capture complete fetch requests\n if (!endTimestamp) {\n return;\n }\n\n if (handlerData.fetchData.url.match(/sentry_key/) && handlerData.fetchData.method === 'POST') {\n // We will not create breadcrumbs for fetch requests that contain `sentry_key` (internal sentry requests)\n return;\n }\n\n if (handlerData.error) {\n const data = handlerData.fetchData;\n const hint = {\n data: handlerData.error,\n input: handlerData.args,\n startTimestamp,\n endTimestamp,\n };\n\n addBreadcrumb(\n {\n category: 'fetch',\n data,\n level: 'error',\n type: 'http',\n },\n hint,\n );\n } else {\n const response = handlerData.response ;\n const data = {\n ...handlerData.fetchData,\n status_code: response && response.status,\n };\n const hint = {\n input: handlerData.args,\n response,\n startTimestamp,\n endTimestamp,\n };\n addBreadcrumb(\n {\n category: 'fetch',\n data,\n type: 'http',\n },\n hint,\n );\n }\n };\n}\n\n/**\n * Creates breadcrumbs from history API calls\n */\nfunction _getHistoryBreadcrumbHandler(client) {\n return function _historyBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n let from = handlerData.from;\n let to = handlerData.to;\n const parsedLoc = parseUrl(WINDOW.location.href);\n let parsedFrom = from ? parseUrl(from) : undefined;\n const parsedTo = parseUrl(to);\n\n // Initial pushState doesn't provide `from` information\n if (!parsedFrom || !parsedFrom.path) {\n parsedFrom = parsedLoc;\n }\n\n // Use only the path component of the URL if the URL matches the current\n // document (almost all the time when using pushState)\n if (parsedLoc.protocol === parsedTo.protocol && parsedLoc.host === parsedTo.host) {\n to = parsedTo.relative;\n }\n if (parsedLoc.protocol === parsedFrom.protocol && parsedLoc.host === parsedFrom.host) {\n from = parsedFrom.relative;\n }\n\n addBreadcrumb({\n category: 'navigation',\n data: {\n from,\n to,\n },\n });\n };\n}\n\nfunction _isEvent(event) {\n return !!event && !!(event ).target;\n}\n\nexport { Breadcrumbs, breadcrumbsIntegration };\n//# sourceMappingURL=breadcrumbs.js.map\n","import { defineIntegration, convertIntegrationFnToClass } from '@sentry/core';\nimport { applyAggregateErrorsToEvent } from '@sentry/utils';\nimport { exceptionFromError } from '../eventbuilder.js';\n\nconst DEFAULT_KEY = 'cause';\nconst DEFAULT_LIMIT = 5;\n\nconst INTEGRATION_NAME = 'LinkedErrors';\n\nconst _linkedErrorsIntegration = ((options = {}) => {\n const limit = options.limit || DEFAULT_LIMIT;\n const key = options.key || DEFAULT_KEY;\n\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function\n preprocessEvent(event, hint, client) {\n const options = client.getOptions();\n\n applyAggregateErrorsToEvent(\n // This differs from the LinkedErrors integration in core by using a different exceptionFromError function\n exceptionFromError,\n options.stackParser,\n options.maxValueLength,\n key,\n limit,\n event,\n hint,\n );\n },\n };\n}) ;\n\nconst linkedErrorsIntegration = defineIntegration(_linkedErrorsIntegration);\n\n/**\n * Aggregrate linked errors in an event.\n * @deprecated Use `linkedErrorsIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst LinkedErrors = convertIntegrationFnToClass(INTEGRATION_NAME, linkedErrorsIntegration)\n\n;\n\nexport { LinkedErrors, linkedErrorsIntegration };\n//# sourceMappingURL=linkederrors.js.map\n","import { defineIntegration, convertIntegrationFnToClass } from '@sentry/core';\nimport { WINDOW } from '../helpers.js';\n\nconst INTEGRATION_NAME = 'HttpContext';\n\nconst _httpContextIntegration = (() => {\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function\n preprocessEvent(event) {\n // if none of the information we want exists, don't bother\n if (!WINDOW.navigator && !WINDOW.location && !WINDOW.document) {\n return;\n }\n\n // grab as much info as exists and add it to the event\n const url = (event.request && event.request.url) || (WINDOW.location && WINDOW.location.href);\n const { referrer } = WINDOW.document || {};\n const { userAgent } = WINDOW.navigator || {};\n\n const headers = {\n ...(event.request && event.request.headers),\n ...(referrer && { Referer: referrer }),\n ...(userAgent && { 'User-Agent': userAgent }),\n };\n const request = { ...event.request, ...(url && { url }), headers };\n\n event.request = request;\n },\n };\n}) ;\n\nconst httpContextIntegration = defineIntegration(_httpContextIntegration);\n\n/**\n * HttpContext integration collects information about HTTP request headers.\n * @deprecated Use `httpContextIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst HttpContext = convertIntegrationFnToClass(INTEGRATION_NAME, httpContextIntegration)\n\n;\n\nexport { HttpContext, httpContextIntegration };\n//# sourceMappingURL=httpcontext.js.map\n","import { defineIntegration, convertIntegrationFnToClass } from '@sentry/core';\nimport { logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\n\nconst INTEGRATION_NAME = 'Dedupe';\n\nconst _dedupeIntegration = (() => {\n let previousEvent;\n\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function\n processEvent(currentEvent) {\n // We want to ignore any non-error type events, e.g. transactions or replays\n // These should never be deduped, and also not be compared against as _previousEvent.\n if (currentEvent.type) {\n return currentEvent;\n }\n\n // Juuust in case something goes wrong\n try {\n if (_shouldDropEvent(currentEvent, previousEvent)) {\n DEBUG_BUILD && logger.warn('Event dropped due to being a duplicate of previously captured event.');\n return null;\n }\n } catch (_oO) {} // eslint-disable-line no-empty\n\n return (previousEvent = currentEvent);\n },\n };\n}) ;\n\nconst dedupeIntegration = defineIntegration(_dedupeIntegration);\n\n/**\n * Deduplication filter.\n * @deprecated Use `dedupeIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst Dedupe = convertIntegrationFnToClass(INTEGRATION_NAME, dedupeIntegration)\n\n;\n\nfunction _shouldDropEvent(currentEvent, previousEvent) {\n if (!previousEvent) {\n return false;\n }\n\n if (_isSameMessageEvent(currentEvent, previousEvent)) {\n return true;\n }\n\n if (_isSameExceptionEvent(currentEvent, previousEvent)) {\n return true;\n }\n\n return false;\n}\n\nfunction _isSameMessageEvent(currentEvent, previousEvent) {\n const currentMessage = currentEvent.message;\n const previousMessage = previousEvent.message;\n\n // If neither event has a message property, they were both exceptions, so bail out\n if (!currentMessage && !previousMessage) {\n return false;\n }\n\n // If only one event has a stacktrace, but not the other one, they are not the same\n if ((currentMessage && !previousMessage) || (!currentMessage && previousMessage)) {\n return false;\n }\n\n if (currentMessage !== previousMessage) {\n return false;\n }\n\n if (!_isSameFingerprint(currentEvent, previousEvent)) {\n return false;\n }\n\n if (!_isSameStacktrace(currentEvent, previousEvent)) {\n return false;\n }\n\n return true;\n}\n\nfunction _isSameExceptionEvent(currentEvent, previousEvent) {\n const previousException = _getExceptionFromEvent(previousEvent);\n const currentException = _getExceptionFromEvent(currentEvent);\n\n if (!previousException || !currentException) {\n return false;\n }\n\n if (previousException.type !== currentException.type || previousException.value !== currentException.value) {\n return false;\n }\n\n if (!_isSameFingerprint(currentEvent, previousEvent)) {\n return false;\n }\n\n if (!_isSameStacktrace(currentEvent, previousEvent)) {\n return false;\n }\n\n return true;\n}\n\nfunction _isSameStacktrace(currentEvent, previousEvent) {\n let currentFrames = _getFramesFromEvent(currentEvent);\n let previousFrames = _getFramesFromEvent(previousEvent);\n\n // If neither event has a stacktrace, they are assumed to be the same\n if (!currentFrames && !previousFrames) {\n return true;\n }\n\n // If only one event has a stacktrace, but not the other one, they are not the same\n if ((currentFrames && !previousFrames) || (!currentFrames && previousFrames)) {\n return false;\n }\n\n currentFrames = currentFrames ;\n previousFrames = previousFrames ;\n\n // If number of frames differ, they are not the same\n if (previousFrames.length !== currentFrames.length) {\n return false;\n }\n\n // Otherwise, compare the two\n for (let i = 0; i < previousFrames.length; i++) {\n const frameA = previousFrames[i];\n const frameB = currentFrames[i];\n\n if (\n frameA.filename !== frameB.filename ||\n frameA.lineno !== frameB.lineno ||\n frameA.colno !== frameB.colno ||\n frameA.function !== frameB.function\n ) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction _isSameFingerprint(currentEvent, previousEvent) {\n let currentFingerprint = currentEvent.fingerprint;\n let previousFingerprint = previousEvent.fingerprint;\n\n // If neither event has a fingerprint, they are assumed to be the same\n if (!currentFingerprint && !previousFingerprint) {\n return true;\n }\n\n // If only one event has a fingerprint, but not the other one, they are not the same\n if ((currentFingerprint && !previousFingerprint) || (!currentFingerprint && previousFingerprint)) {\n return false;\n }\n\n currentFingerprint = currentFingerprint ;\n previousFingerprint = previousFingerprint ;\n\n // Otherwise, compare the two\n try {\n return !!(currentFingerprint.join('') === previousFingerprint.join(''));\n } catch (_oO) {\n return false;\n }\n}\n\nfunction _getExceptionFromEvent(event) {\n return event.exception && event.exception.values && event.exception.values[0];\n}\n\nfunction _getFramesFromEvent(event) {\n const exception = event.exception;\n\n if (exception) {\n try {\n // @ts-expect-error Object could be undefined\n return exception.values[0].stacktrace.frames;\n } catch (_oO) {\n return undefined;\n }\n }\n return undefined;\n}\n\nexport { Dedupe, dedupeIntegration };\n//# sourceMappingURL=dedupe.js.map\n","export { GlobalHandlers } from './globalhandlers.js';\nexport { TryCatch } from './trycatch.js';\nexport { Breadcrumbs } from './breadcrumbs.js';\nexport { LinkedErrors } from './linkederrors.js';\nexport { HttpContext } from './httpcontext.js';\nexport { Dedupe } from './dedupe.js';\n\n/* eslint-disable deprecation/deprecation */\n//# sourceMappingURL=index.js.map\n","import { Integrations } from '@sentry/core';\nexport { FunctionToString, Hub, InboundFilters, ModuleMetadata, SDK_VERSION, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, Scope, addBreadcrumb, addEventProcessor, addGlobalEventProcessor, addIntegration, addTracingExtensions, captureEvent, captureException, captureMessage, captureSession, close, configureScope, continueTrace, createTransport, endSession, extractTraceparentData, flush, functionToStringIntegration, getActiveSpan, getActiveTransaction, getClient, getCurrentHub, getCurrentScope, getHubFromCarrier, getSpanStatusFromHttpCode, inboundFiltersIntegration, isInitialized, lastEventId, makeMain, makeMultiplexedTransport, metrics, moduleMetadataIntegration, parameterize, setContext, setCurrentClient, setExtra, setExtras, setHttpStatus, setMeasurement, setTag, setTags, setUser, spanStatusfromHttpCode, startInactiveSpan, startSession, startSpan, startSpanManual, startTransaction, trace, withActiveSpan, withIsolationScope, withScope } from '@sentry/core';\nimport { WINDOW } from './helpers.js';\nexport { WINDOW } from './helpers.js';\nexport { BrowserClient } from './client.js';\nexport { makeFetchTransport } from './transports/fetch.js';\nexport { makeXHRTransport } from './transports/xhr.js';\nexport { chromeStackLineParser, defaultStackLineParsers, defaultStackParser, geckoStackLineParser, opera10StackLineParser, opera11StackLineParser, winjsStackLineParser } from './stack-parsers.js';\nexport { eventFromException, eventFromMessage, exceptionFromError } from './eventbuilder.js';\nexport { createUserFeedbackEnvelope } from './userfeedback.js';\nexport { captureUserFeedback, defaultIntegrations, forceLoad, getDefaultIntegrations, init, onLoad, showReportDialog, wrap } from './sdk.js';\nexport { Breadcrumbs, breadcrumbsIntegration } from './integrations/breadcrumbs.js';\nexport { Dedupe, dedupeIntegration } from './integrations/dedupe.js';\nexport { GlobalHandlers, globalHandlersIntegration } from './integrations/globalhandlers.js';\nexport { HttpContext, httpContextIntegration } from './integrations/httpcontext.js';\nexport { LinkedErrors, linkedErrorsIntegration } from './integrations/linkederrors.js';\nexport { TryCatch, browserApiErrorsIntegration } from './integrations/trycatch.js';\nimport * as index from './integrations/index.js';\nexport { InternalReplay as Replay, internalGetReplay as getReplay, internalReplayIntegration as replayIntegration } from '@sentry/replay';\nexport { ReplayCanvas, replayCanvasIntegration } from '@sentry-internal/replay-canvas';\nexport { Feedback, feedbackIntegration, sendFeedback } from '@sentry-internal/feedback';\nexport { BrowserTracing, browserTracingIntegration, defaultRequestInstrumentationOptions, instrumentOutgoingRequests, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan } from '@sentry-internal/tracing';\nexport { makeBrowserOfflineTransport } from './transports/offline.js';\nexport { onProfilingStartRouteTransaction } from './profiling/hubextensions.js';\nexport { BrowserProfilingIntegration, browserProfilingIntegration } from './profiling/integration.js';\n\nlet windowIntegrations = {};\n\n// This block is needed to add compatibility with the integrations packages when used with a CDN\nif (WINDOW.Sentry && WINDOW.Sentry.Integrations) {\n windowIntegrations = WINDOW.Sentry.Integrations;\n}\n\n/** @deprecated Import the integration function directly, e.g. `inboundFiltersIntegration()` instead of `new Integrations.InboundFilter(). */\nconst INTEGRATIONS = {\n ...windowIntegrations,\n // eslint-disable-next-line deprecation/deprecation\n ...Integrations,\n ...index,\n};\n\nexport { INTEGRATIONS as Integrations };\n//# sourceMappingURL=index.js.map\n","import { logger, consoleSandbox } from '@sentry/utils';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { getCurrentScope } from './exports.js';\nimport { getCurrentHub } from './hub.js';\n\n/** A class object that can instantiate Client objects. */\n\n/**\n * Internal function to create a new SDK client instance. The client is\n * installed and then bound to the current scope.\n *\n * @param clientClass The client class to instantiate.\n * @param options Options to pass to the client.\n */\nfunction initAndBind(\n clientClass,\n options,\n) {\n if (options.debug === true) {\n if (DEBUG_BUILD) {\n logger.enable();\n } else {\n // use `console.warn` rather than `logger.warn` since by non-debug bundles have all `logger.x` statements stripped\n consoleSandbox(() => {\n // eslint-disable-next-line no-console\n console.warn('[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.');\n });\n }\n }\n const scope = getCurrentScope();\n scope.update(options.initialScope);\n\n const client = new clientClass(options);\n setCurrentClient(client);\n initializeClient(client);\n}\n\n/**\n * Make the given client the current client.\n */\nfunction setCurrentClient(client) {\n // eslint-disable-next-line deprecation/deprecation\n const hub = getCurrentHub();\n // eslint-disable-next-line deprecation/deprecation\n const top = hub.getStackTop();\n top.client = client;\n top.scope.setClient(client);\n}\n\n/**\n * Initialize the client for the current scope.\n * Make sure to call this after `setCurrentClient()`.\n */\nfunction initializeClient(client) {\n if (client.init) {\n client.init();\n // TODO v8: Remove this fallback\n // eslint-disable-next-line deprecation/deprecation\n } else if (client.setupIntegrations) {\n // eslint-disable-next-line deprecation/deprecation\n client.setupIntegrations();\n }\n}\n\nexport { initAndBind, setCurrentClient };\n//# sourceMappingURL=sdk.js.map\n","import { DEBUG_BUILD } from './debug-build.js';\nimport { consoleSandbox, logger } from './logger.js';\n\n/** Regular expression used to parse a Dsn. */\nconst DSN_REGEX = /^(?:(\\w+):)\\/\\/(?:(\\w+)(?::(\\w+)?)?@)([\\w.-]+)(?::(\\d+))?\\/(.+)/;\n\nfunction isValidProtocol(protocol) {\n return protocol === 'http' || protocol === 'https';\n}\n\n/**\n * Renders the string representation of this Dsn.\n *\n * By default, this will render the public representation without the password\n * component. To get the deprecated private representation, set `withPassword`\n * to true.\n *\n * @param withPassword When set to true, the password will be included.\n */\nfunction dsnToString(dsn, withPassword = false) {\n const { host, path, pass, port, projectId, protocol, publicKey } = dsn;\n return (\n `${protocol}://${publicKey}${withPassword && pass ? `:${pass}` : ''}` +\n `@${host}${port ? `:${port}` : ''}/${path ? `${path}/` : path}${projectId}`\n );\n}\n\n/**\n * Parses a Dsn from a given string.\n *\n * @param str A Dsn as string\n * @returns Dsn as DsnComponents or undefined if @param str is not a valid DSN string\n */\nfunction dsnFromString(str) {\n const match = DSN_REGEX.exec(str);\n\n if (!match) {\n // This should be logged to the console\n consoleSandbox(() => {\n // eslint-disable-next-line no-console\n console.error(`Invalid Sentry Dsn: ${str}`);\n });\n return undefined;\n }\n\n const [protocol, publicKey, pass = '', host, port = '', lastPath] = match.slice(1);\n let path = '';\n let projectId = lastPath;\n\n const split = projectId.split('/');\n if (split.length > 1) {\n path = split.slice(0, -1).join('/');\n projectId = split.pop() ;\n }\n\n if (projectId) {\n const projectMatch = projectId.match(/^\\d+/);\n if (projectMatch) {\n projectId = projectMatch[0];\n }\n }\n\n return dsnFromComponents({ host, pass, path, projectId, port, protocol: protocol , publicKey });\n}\n\nfunction dsnFromComponents(components) {\n return {\n protocol: components.protocol,\n publicKey: components.publicKey || '',\n pass: components.pass || '',\n host: components.host,\n port: components.port || '',\n path: components.path || '',\n projectId: components.projectId,\n };\n}\n\nfunction validateDsn(dsn) {\n if (!DEBUG_BUILD) {\n return true;\n }\n\n const { port, projectId, protocol } = dsn;\n\n const requiredComponents = ['protocol', 'publicKey', 'host', 'projectId'];\n const hasMissingRequiredComponent = requiredComponents.find(component => {\n if (!dsn[component]) {\n logger.error(`Invalid Sentry Dsn: ${component} missing`);\n return true;\n }\n return false;\n });\n\n if (hasMissingRequiredComponent) {\n return false;\n }\n\n if (!projectId.match(/^\\d+$/)) {\n logger.error(`Invalid Sentry Dsn: Invalid projectId ${projectId}`);\n return false;\n }\n\n if (!isValidProtocol(protocol)) {\n logger.error(`Invalid Sentry Dsn: Invalid protocol ${protocol}`);\n return false;\n }\n\n if (port && isNaN(parseInt(port, 10))) {\n logger.error(`Invalid Sentry Dsn: Invalid port ${port}`);\n return false;\n }\n\n return true;\n}\n\n/**\n * Creates a valid Sentry Dsn object, identifying a Sentry instance and project.\n * @returns a valid DsnComponents object or `undefined` if @param from is an invalid DSN source\n */\nfunction makeDsn(from) {\n const components = typeof from === 'string' ? dsnFromString(from) : dsnFromComponents(from);\n if (!components || !validateDsn(components)) {\n return undefined;\n }\n return components;\n}\n\nexport { dsnFromString, dsnToString, makeDsn };\n//# sourceMappingURL=dsn.js.map\n","import { dsnToString } from './dsn.js';\nimport { normalize } from './normalize.js';\nimport { dropUndefinedKeys } from './object.js';\n\n/**\n * Creates an envelope.\n * Make sure to always explicitly provide the generic to this function\n * so that the envelope types resolve correctly.\n */\nfunction createEnvelope(headers, items = []) {\n return [headers, items] ;\n}\n\n/**\n * Add an item to an envelope.\n * Make sure to always explicitly provide the generic to this function\n * so that the envelope types resolve correctly.\n */\nfunction addItemToEnvelope(envelope, newItem) {\n const [headers, items] = envelope;\n return [headers, [...items, newItem]] ;\n}\n\n/**\n * Convenience function to loop through the items and item types of an envelope.\n * (This function was mostly created because working with envelope types is painful at the moment)\n *\n * If the callback returns true, the rest of the items will be skipped.\n */\nfunction forEachEnvelopeItem(\n envelope,\n callback,\n) {\n const envelopeItems = envelope[1];\n\n for (const envelopeItem of envelopeItems) {\n const envelopeItemType = envelopeItem[0].type;\n const result = callback(envelopeItem, envelopeItemType);\n\n if (result) {\n return true;\n }\n }\n\n return false;\n}\n\n/**\n * Returns true if the envelope contains any of the given envelope item types\n */\nfunction envelopeContainsItemType(envelope, types) {\n return forEachEnvelopeItem(envelope, (_, type) => types.includes(type));\n}\n\n/**\n * Encode a string to UTF8.\n */\nfunction encodeUTF8(input, textEncoder) {\n const utf8 = textEncoder || new TextEncoder();\n return utf8.encode(input);\n}\n\n/**\n * Serializes an envelope.\n */\nfunction serializeEnvelope(envelope, textEncoder) {\n const [envHeaders, items] = envelope;\n\n // Initially we construct our envelope as a string and only convert to binary chunks if we encounter binary data\n let parts = JSON.stringify(envHeaders);\n\n function append(next) {\n if (typeof parts === 'string') {\n parts = typeof next === 'string' ? parts + next : [encodeUTF8(parts, textEncoder), next];\n } else {\n parts.push(typeof next === 'string' ? encodeUTF8(next, textEncoder) : next);\n }\n }\n\n for (const item of items) {\n const [itemHeaders, payload] = item;\n\n append(`\\n${JSON.stringify(itemHeaders)}\\n`);\n\n if (typeof payload === 'string' || payload instanceof Uint8Array) {\n append(payload);\n } else {\n let stringifiedPayload;\n try {\n stringifiedPayload = JSON.stringify(payload);\n } catch (e) {\n // In case, despite all our efforts to keep `payload` circular-dependency-free, `JSON.strinify()` still\n // fails, we try again after normalizing it again with infinite normalization depth. This of course has a\n // performance impact but in this case a performance hit is better than throwing.\n stringifiedPayload = JSON.stringify(normalize(payload));\n }\n append(stringifiedPayload);\n }\n }\n\n return typeof parts === 'string' ? parts : concatBuffers(parts);\n}\n\nfunction concatBuffers(buffers) {\n const totalLength = buffers.reduce((acc, buf) => acc + buf.length, 0);\n\n const merged = new Uint8Array(totalLength);\n let offset = 0;\n for (const buffer of buffers) {\n merged.set(buffer, offset);\n offset += buffer.length;\n }\n\n return merged;\n}\n\n/**\n * Parses an envelope\n */\nfunction parseEnvelope(\n env,\n textEncoder,\n textDecoder,\n) {\n let buffer = typeof env === 'string' ? textEncoder.encode(env) : env;\n\n function readBinary(length) {\n const bin = buffer.subarray(0, length);\n // Replace the buffer with the remaining data excluding trailing newline\n buffer = buffer.subarray(length + 1);\n return bin;\n }\n\n function readJson() {\n let i = buffer.indexOf(0xa);\n // If we couldn't find a newline, we must have found the end of the buffer\n if (i < 0) {\n i = buffer.length;\n }\n\n return JSON.parse(textDecoder.decode(readBinary(i))) ;\n }\n\n const envelopeHeader = readJson();\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const items = [];\n\n while (buffer.length) {\n const itemHeader = readJson();\n const binaryLength = typeof itemHeader.length === 'number' ? itemHeader.length : undefined;\n\n items.push([itemHeader, binaryLength ? readBinary(binaryLength) : readJson()]);\n }\n\n return [envelopeHeader, items];\n}\n\n/**\n * Creates attachment envelope items\n */\nfunction createAttachmentEnvelopeItem(\n attachment,\n textEncoder,\n) {\n const buffer = typeof attachment.data === 'string' ? encodeUTF8(attachment.data, textEncoder) : attachment.data;\n\n return [\n dropUndefinedKeys({\n type: 'attachment',\n length: buffer.length,\n filename: attachment.filename,\n content_type: attachment.contentType,\n attachment_type: attachment.attachmentType,\n }),\n buffer,\n ];\n}\n\nconst ITEM_TYPE_TO_DATA_CATEGORY_MAP = {\n session: 'session',\n sessions: 'session',\n attachment: 'attachment',\n transaction: 'transaction',\n event: 'error',\n client_report: 'internal',\n user_report: 'default',\n profile: 'profile',\n replay_event: 'replay',\n replay_recording: 'replay',\n check_in: 'monitor',\n feedback: 'feedback',\n span: 'span',\n statsd: 'statsd',\n};\n\n/**\n * Maps the type of an envelope item to a data category.\n */\nfunction envelopeItemTypeToDataCategory(type) {\n return ITEM_TYPE_TO_DATA_CATEGORY_MAP[type];\n}\n\n/** Extracts the minimal SDK info from from the metadata or an events */\nfunction getSdkMetadataForEnvelopeHeader(metadataOrEvent) {\n if (!metadataOrEvent || !metadataOrEvent.sdk) {\n return;\n }\n const { name, version } = metadataOrEvent.sdk;\n return { name, version };\n}\n\n/**\n * Creates event envelope headers, based on event, sdk info and tunnel\n * Note: This function was extracted from the core package to make it available in Replay\n */\nfunction createEventEnvelopeHeaders(\n event,\n sdkInfo,\n tunnel,\n dsn,\n) {\n const dynamicSamplingContext = event.sdkProcessingMetadata && event.sdkProcessingMetadata.dynamicSamplingContext;\n return {\n event_id: event.event_id ,\n sent_at: new Date().toISOString(),\n ...(sdkInfo && { sdk: sdkInfo }),\n ...(!!tunnel && dsn && { dsn: dsnToString(dsn) }),\n ...(dynamicSamplingContext && {\n trace: dropUndefinedKeys({ ...dynamicSamplingContext }),\n }),\n };\n}\n\nexport { addItemToEnvelope, createAttachmentEnvelopeItem, createEnvelope, createEventEnvelopeHeaders, envelopeContainsItemType, envelopeItemTypeToDataCategory, forEachEnvelopeItem, getSdkMetadataForEnvelopeHeader, parseEnvelope, serializeEnvelope };\n//# sourceMappingURL=envelope.js.map\n","/** An error emitted by Sentry SDKs and related utilities. */\nclass SentryError extends Error {\n /** Display name of this error instance. */\n\n constructor( message, logLevel = 'warn') {\n super(message);this.message = message;\n this.name = new.target.prototype.constructor.name;\n // This sets the prototype to be `Error`, not `SentryError`. It's unclear why we do this, but commenting this line\n // out causes various (seemingly totally unrelated) playwright tests consistently time out. FYI, this makes\n // instances of `SentryError` fail `obj instanceof SentryError` checks.\n Object.setPrototypeOf(this, new.target.prototype);\n this.logLevel = logLevel;\n }\n}\n\nexport { SentryError };\n//# sourceMappingURL=error.js.map\n","import { makeDsn, dsnToString, urlEncode } from '@sentry/utils';\n\nconst SENTRY_API_VERSION = '7';\n\n/** Returns the prefix to construct Sentry ingestion API endpoints. */\nfunction getBaseApiEndpoint(dsn) {\n const protocol = dsn.protocol ? `${dsn.protocol}:` : '';\n const port = dsn.port ? `:${dsn.port}` : '';\n return `${protocol}//${dsn.host}${port}${dsn.path ? `/${dsn.path}` : ''}/api/`;\n}\n\n/** Returns the ingest API endpoint for target. */\nfunction _getIngestEndpoint(dsn) {\n return `${getBaseApiEndpoint(dsn)}${dsn.projectId}/envelope/`;\n}\n\n/** Returns a URL-encoded string with auth config suitable for a query string. */\nfunction _encodedAuth(dsn, sdkInfo) {\n return urlEncode({\n // We send only the minimum set of required information. See\n // https://github.com/getsentry/sentry-javascript/issues/2572.\n sentry_key: dsn.publicKey,\n sentry_version: SENTRY_API_VERSION,\n ...(sdkInfo && { sentry_client: `${sdkInfo.name}/${sdkInfo.version}` }),\n });\n}\n\n/**\n * Returns the envelope endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\nfunction getEnvelopeEndpointWithUrlEncodedAuth(\n dsn,\n // TODO (v8): Remove `tunnelOrOptions` in favor of `options`, and use the substitute code below\n // options: ClientOptions = {} as ClientOptions,\n tunnelOrOptions = {} ,\n) {\n // TODO (v8): Use this code instead\n // const { tunnel, _metadata = {} } = options;\n // return tunnel ? tunnel : `${_getIngestEndpoint(dsn)}?${_encodedAuth(dsn, _metadata.sdk)}`;\n\n const tunnel = typeof tunnelOrOptions === 'string' ? tunnelOrOptions : tunnelOrOptions.tunnel;\n const sdkInfo =\n typeof tunnelOrOptions === 'string' || !tunnelOrOptions._metadata ? undefined : tunnelOrOptions._metadata.sdk;\n\n return tunnel ? tunnel : `${_getIngestEndpoint(dsn)}?${_encodedAuth(dsn, sdkInfo)}`;\n}\n\n/** Returns the url to the report dialog endpoint. */\nfunction getReportDialogEndpoint(\n dsnLike,\n dialogOptions\n\n,\n) {\n const dsn = makeDsn(dsnLike);\n if (!dsn) {\n return '';\n }\n\n const endpoint = `${getBaseApiEndpoint(dsn)}embed/error-page/`;\n\n let encodedOptions = `dsn=${dsnToString(dsn)}`;\n for (const key in dialogOptions) {\n if (key === 'dsn') {\n continue;\n }\n\n if (key === 'onClose') {\n continue;\n }\n\n if (key === 'user') {\n const user = dialogOptions.user;\n if (!user) {\n continue;\n }\n if (user.name) {\n encodedOptions += `&name=${encodeURIComponent(user.name)}`;\n }\n if (user.email) {\n encodedOptions += `&email=${encodeURIComponent(user.email)}`;\n }\n } else {\n encodedOptions += `&${encodeURIComponent(key)}=${encodeURIComponent(dialogOptions[key] )}`;\n }\n }\n\n return `${endpoint}?${encodedOptions}`;\n}\n\nexport { getEnvelopeEndpointWithUrlEncodedAuth, getReportDialogEndpoint };\n//# sourceMappingURL=api.js.map\n","import { getSdkMetadataForEnvelopeHeader, dsnToString, createEnvelope, createEventEnvelopeHeaders } from '@sentry/utils';\n\n/**\n * Apply SdkInfo (name, version, packages, integrations) to the corresponding event key.\n * Merge with existing data if any.\n **/\nfunction enhanceEventWithSdkInfo(event, sdkInfo) {\n if (!sdkInfo) {\n return event;\n }\n event.sdk = event.sdk || {};\n event.sdk.name = event.sdk.name || sdkInfo.name;\n event.sdk.version = event.sdk.version || sdkInfo.version;\n event.sdk.integrations = [...(event.sdk.integrations || []), ...(sdkInfo.integrations || [])];\n event.sdk.packages = [...(event.sdk.packages || []), ...(sdkInfo.packages || [])];\n return event;\n}\n\n/** Creates an envelope from a Session */\nfunction createSessionEnvelope(\n session,\n dsn,\n metadata,\n tunnel,\n) {\n const sdkInfo = getSdkMetadataForEnvelopeHeader(metadata);\n const envelopeHeaders = {\n sent_at: new Date().toISOString(),\n ...(sdkInfo && { sdk: sdkInfo }),\n ...(!!tunnel && dsn && { dsn: dsnToString(dsn) }),\n };\n\n const envelopeItem =\n 'aggregates' in session ? [{ type: 'sessions' }, session] : [{ type: 'session' }, session.toJSON()];\n\n return createEnvelope(envelopeHeaders, [envelopeItem]);\n}\n\n/**\n * Create an Envelope from an event.\n */\nfunction createEventEnvelope(\n event,\n dsn,\n metadata,\n tunnel,\n) {\n const sdkInfo = getSdkMetadataForEnvelopeHeader(metadata);\n\n /*\n Note: Due to TS, event.type may be `replay_event`, theoretically.\n In practice, we never call `createEventEnvelope` with `replay_event` type,\n and we'd have to adjut a looot of types to make this work properly.\n We want to avoid casting this around, as that could lead to bugs (e.g. when we add another type)\n So the safe choice is to really guard against the replay_event type here.\n */\n const eventType = event.type && event.type !== 'replay_event' ? event.type : 'event';\n\n enhanceEventWithSdkInfo(event, metadata && metadata.sdk);\n\n const envelopeHeaders = createEventEnvelopeHeaders(event, sdkInfo, tunnel, dsn);\n\n // Prevent this data (which, if it exists, was used in earlier steps in the processing pipeline) from being sent to\n // sentry. (Note: Our use of this property comes and goes with whatever we might be debugging, whatever hacks we may\n // have temporarily added, etc. Even if we don't happen to be using it at some point in the future, let's not get rid\n // of this `delete`, lest we miss putting it back in the next time the property is in use.)\n delete event.sdkProcessingMetadata;\n\n const eventItem = [{ type: eventType }, event];\n return createEnvelope(envelopeHeaders, [eventItem]);\n}\n\nexport { createEventEnvelope, createSessionEnvelope };\n//# sourceMappingURL=envelope.js.map\n","import { dropUndefinedKeys } from '@sentry/utils';\nimport { NAME_AND_TAG_KEY_NORMALIZATION_REGEX, TAG_VALUE_NORMALIZATION_REGEX } from './constants.js';\n\n/**\n * Generate bucket key from metric properties.\n */\nfunction getBucketKey(\n metricType,\n name,\n unit,\n tags,\n) {\n const stringifiedTags = Object.entries(dropUndefinedKeys(tags)).sort((a, b) => a[0].localeCompare(b[0]));\n return `${metricType}${name}${unit}${stringifiedTags}`;\n}\n\n/* eslint-disable no-bitwise */\n/**\n * Simple hash function for strings.\n */\nfunction simpleHash(s) {\n let rv = 0;\n for (let i = 0; i < s.length; i++) {\n const c = s.charCodeAt(i);\n rv = (rv << 5) - rv + c;\n rv &= rv;\n }\n return rv >>> 0;\n}\n/* eslint-enable no-bitwise */\n\n/**\n * Serialize metrics buckets into a string based on statsd format.\n *\n * Example of format:\n * metric.name@second:1:1.2|d|#a:value,b:anothervalue|T12345677\n * Segments:\n * name: metric.name\n * unit: second\n * value: [1, 1.2]\n * type of metric: d (distribution)\n * tags: { a: value, b: anothervalue }\n * timestamp: 12345677\n */\nfunction serializeMetricBuckets(metricBucketItems) {\n let out = '';\n for (const item of metricBucketItems) {\n const tagEntries = Object.entries(item.tags);\n const maybeTags = tagEntries.length > 0 ? `|#${tagEntries.map(([key, value]) => `${key}:${value}`).join(',')}` : '';\n out += `${item.name}@${item.unit}:${item.metric}|${item.metricType}${maybeTags}|T${item.timestamp}\\n`;\n }\n return out;\n}\n\n/**\n * Sanitizes tags.\n */\nfunction sanitizeTags(unsanitizedTags) {\n const tags = {};\n for (const key in unsanitizedTags) {\n if (Object.prototype.hasOwnProperty.call(unsanitizedTags, key)) {\n const sanitizedKey = key.replace(NAME_AND_TAG_KEY_NORMALIZATION_REGEX, '_');\n tags[sanitizedKey] = String(unsanitizedTags[key]).replace(TAG_VALUE_NORMALIZATION_REGEX, '');\n }\n }\n return tags;\n}\n\nexport { getBucketKey, sanitizeTags, serializeMetricBuckets, simpleHash };\n//# sourceMappingURL=utils.js.map\n","import { dsnToString, createEnvelope } from '@sentry/utils';\nimport { serializeMetricBuckets } from './utils.js';\n\n/**\n * Create envelope from a metric aggregate.\n */\nfunction createMetricEnvelope(\n metricBucketItems,\n dsn,\n metadata,\n tunnel,\n) {\n const headers = {\n sent_at: new Date().toISOString(),\n };\n\n if (metadata && metadata.sdk) {\n headers.sdk = {\n name: metadata.sdk.name,\n version: metadata.sdk.version,\n };\n }\n\n if (!!tunnel && dsn) {\n headers.dsn = dsnToString(dsn);\n }\n\n const item = createMetricEnvelopeItem(metricBucketItems);\n return createEnvelope(headers, [item]);\n}\n\nfunction createMetricEnvelopeItem(metricBucketItems) {\n const payload = serializeMetricBuckets(metricBucketItems);\n const metricHeaders = {\n type: 'statsd',\n length: payload.length,\n };\n return [metricHeaders, payload];\n}\n\nexport { createMetricEnvelope };\n//# sourceMappingURL=envelope.js.map\n","import { makeDsn, logger, checkOrSetAlreadyCaught, isParameterizedString, isPrimitive, resolvedSyncPromise, addItemToEnvelope, createAttachmentEnvelopeItem, SyncPromise, rejectedSyncPromise, SentryError, isThenable, isPlainObject } from '@sentry/utils';\nimport { getEnvelopeEndpointWithUrlEncodedAuth } from './api.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { createEventEnvelope, createSessionEnvelope } from './envelope.js';\nimport { getClient } from './exports.js';\nimport { getIsolationScope } from './hub.js';\nimport { setupIntegration, afterSetupIntegrations, setupIntegrations } from './integration.js';\nimport { createMetricEnvelope } from './metrics/envelope.js';\nimport { updateSession } from './session.js';\nimport { getDynamicSamplingContextFromClient } from './tracing/dynamicSamplingContext.js';\nimport { prepareEvent } from './utils/prepareEvent.js';\n\nconst ALREADY_SEEN_ERROR = \"Not capturing exception because it's already been captured.\";\n\n/**\n * Base implementation for all JavaScript SDK clients.\n *\n * Call the constructor with the corresponding options\n * specific to the client subclass. To access these options later, use\n * {@link Client.getOptions}.\n *\n * If a Dsn is specified in the options, it will be parsed and stored. Use\n * {@link Client.getDsn} to retrieve the Dsn at any moment. In case the Dsn is\n * invalid, the constructor will throw a {@link SentryException}. Note that\n * without a valid Dsn, the SDK will not send any events to Sentry.\n *\n * Before sending an event, it is passed through\n * {@link BaseClient._prepareEvent} to add SDK information and scope data\n * (breadcrumbs and context). To add more custom information, override this\n * method and extend the resulting prepared event.\n *\n * To issue automatically created events (e.g. via instrumentation), use\n * {@link Client.captureEvent}. It will prepare the event and pass it through\n * the callback lifecycle. To issue auto-breadcrumbs, use\n * {@link Client.addBreadcrumb}.\n *\n * @example\n * class NodeClient extends BaseClient {\n * public constructor(options: NodeOptions) {\n * super(options);\n * }\n *\n * // ...\n * }\n */\nclass BaseClient {\n /**\n * A reference to a metrics aggregator\n *\n * @experimental Note this is alpha API. It may experience breaking changes in the future.\n */\n\n /** Options passed to the SDK. */\n\n /** The client Dsn, if specified in options. Without this Dsn, the SDK will be disabled. */\n\n /** Array of set up integrations. */\n\n /** Indicates whether this client's integrations have been set up. */\n\n /** Number of calls being processed */\n\n /** Holds flushable */\n\n // eslint-disable-next-line @typescript-eslint/ban-types\n\n /**\n * Initializes this client instance.\n *\n * @param options Options for the client.\n */\n constructor(options) {\n this._options = options;\n this._integrations = {};\n this._integrationsInitialized = false;\n this._numProcessing = 0;\n this._outcomes = {};\n this._hooks = {};\n this._eventProcessors = [];\n\n if (options.dsn) {\n this._dsn = makeDsn(options.dsn);\n } else {\n DEBUG_BUILD && logger.warn('No DSN provided, client will not send events.');\n }\n\n if (this._dsn) {\n const url = getEnvelopeEndpointWithUrlEncodedAuth(this._dsn, options);\n this._transport = options.transport({\n recordDroppedEvent: this.recordDroppedEvent.bind(this),\n ...options.transportOptions,\n url,\n });\n }\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n captureException(exception, hint, scope) {\n // ensure we haven't captured this very object before\n if (checkOrSetAlreadyCaught(exception)) {\n DEBUG_BUILD && logger.log(ALREADY_SEEN_ERROR);\n return;\n }\n\n let eventId = hint && hint.event_id;\n\n this._process(\n this.eventFromException(exception, hint)\n .then(event => this._captureEvent(event, hint, scope))\n .then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n captureMessage(\n message,\n // eslint-disable-next-line deprecation/deprecation\n level,\n hint,\n scope,\n ) {\n let eventId = hint && hint.event_id;\n\n const eventMessage = isParameterizedString(message) ? message : String(message);\n\n const promisedEvent = isPrimitive(message)\n ? this.eventFromMessage(eventMessage, level, hint)\n : this.eventFromException(message, hint);\n\n this._process(\n promisedEvent\n .then(event => this._captureEvent(event, hint, scope))\n .then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n captureEvent(event, hint, scope) {\n // ensure we haven't captured this very object before\n if (hint && hint.originalException && checkOrSetAlreadyCaught(hint.originalException)) {\n DEBUG_BUILD && logger.log(ALREADY_SEEN_ERROR);\n return;\n }\n\n let eventId = hint && hint.event_id;\n\n const sdkProcessingMetadata = event.sdkProcessingMetadata || {};\n const capturedSpanScope = sdkProcessingMetadata.capturedSpanScope;\n\n this._process(\n this._captureEvent(event, hint, capturedSpanScope || scope).then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n captureSession(session) {\n if (!(typeof session.release === 'string')) {\n DEBUG_BUILD && logger.warn('Discarded session because of missing or non-string release');\n } else {\n this.sendSession(session);\n // After sending, we set init false to indicate it's not the first occurrence\n updateSession(session, { init: false });\n }\n }\n\n /**\n * @inheritDoc\n */\n getDsn() {\n return this._dsn;\n }\n\n /**\n * @inheritDoc\n */\n getOptions() {\n return this._options;\n }\n\n /**\n * @see SdkMetadata in @sentry/types\n *\n * @return The metadata of the SDK\n */\n getSdkMetadata() {\n return this._options._metadata;\n }\n\n /**\n * @inheritDoc\n */\n getTransport() {\n return this._transport;\n }\n\n /**\n * @inheritDoc\n */\n flush(timeout) {\n const transport = this._transport;\n if (transport) {\n if (this.metricsAggregator) {\n this.metricsAggregator.flush();\n }\n return this._isClientDoneProcessing(timeout).then(clientFinished => {\n return transport.flush(timeout).then(transportFlushed => clientFinished && transportFlushed);\n });\n } else {\n return resolvedSyncPromise(true);\n }\n }\n\n /**\n * @inheritDoc\n */\n close(timeout) {\n return this.flush(timeout).then(result => {\n this.getOptions().enabled = false;\n if (this.metricsAggregator) {\n this.metricsAggregator.close();\n }\n return result;\n });\n }\n\n /** Get all installed event processors. */\n getEventProcessors() {\n return this._eventProcessors;\n }\n\n /** @inheritDoc */\n addEventProcessor(eventProcessor) {\n this._eventProcessors.push(eventProcessor);\n }\n\n /**\n * This is an internal function to setup all integrations that should run on the client.\n * @deprecated Use `client.init()` instead.\n */\n setupIntegrations(forceInitialize) {\n if ((forceInitialize && !this._integrationsInitialized) || (this._isEnabled() && !this._integrationsInitialized)) {\n this._setupIntegrations();\n }\n }\n\n /** @inheritdoc */\n init() {\n if (this._isEnabled()) {\n this._setupIntegrations();\n }\n }\n\n /**\n * Gets an installed integration by its `id`.\n *\n * @returns The installed integration or `undefined` if no integration with that `id` was installed.\n * @deprecated Use `getIntegrationByName()` instead.\n */\n getIntegrationById(integrationId) {\n return this.getIntegrationByName(integrationId);\n }\n\n /**\n * Gets an installed integration by its name.\n *\n * @returns The installed integration or `undefined` if no integration with that `name` was installed.\n */\n getIntegrationByName(integrationName) {\n return this._integrations[integrationName] ;\n }\n\n /**\n * Returns the client's instance of the given integration class, it any.\n * @deprecated Use `getIntegrationByName()` instead.\n */\n getIntegration(integration) {\n try {\n return (this._integrations[integration.id] ) || null;\n } catch (_oO) {\n DEBUG_BUILD && logger.warn(`Cannot retrieve integration ${integration.id} from the current Client`);\n return null;\n }\n }\n\n /**\n * @inheritDoc\n */\n addIntegration(integration) {\n const isAlreadyInstalled = this._integrations[integration.name];\n\n // This hook takes care of only installing if not already installed\n setupIntegration(this, integration, this._integrations);\n // Here we need to check manually to make sure to not run this multiple times\n if (!isAlreadyInstalled) {\n afterSetupIntegrations(this, [integration]);\n }\n }\n\n /**\n * @inheritDoc\n */\n sendEvent(event, hint = {}) {\n this.emit('beforeSendEvent', event, hint);\n\n let env = createEventEnvelope(event, this._dsn, this._options._metadata, this._options.tunnel);\n\n for (const attachment of hint.attachments || []) {\n env = addItemToEnvelope(\n env,\n createAttachmentEnvelopeItem(\n attachment,\n this._options.transportOptions && this._options.transportOptions.textEncoder,\n ),\n );\n }\n\n const promise = this._sendEnvelope(env);\n if (promise) {\n promise.then(sendResponse => this.emit('afterSendEvent', event, sendResponse), null);\n }\n }\n\n /**\n * @inheritDoc\n */\n sendSession(session) {\n const env = createSessionEnvelope(session, this._dsn, this._options._metadata, this._options.tunnel);\n\n // _sendEnvelope should not throw\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this._sendEnvelope(env);\n }\n\n /**\n * @inheritDoc\n */\n recordDroppedEvent(reason, category, _event) {\n // Note: we use `event` in replay, where we overwrite this hook.\n\n if (this._options.sendClientReports) {\n // We want to track each category (error, transaction, session, replay_event) separately\n // but still keep the distinction between different type of outcomes.\n // We could use nested maps, but it's much easier to read and type this way.\n // A correct type for map-based implementation if we want to go that route\n // would be `Partial>>>`\n // With typescript 4.1 we could even use template literal types\n const key = `${reason}:${category}`;\n DEBUG_BUILD && logger.log(`Adding outcome: \"${key}\"`);\n\n // The following works because undefined + 1 === NaN and NaN is falsy\n this._outcomes[key] = this._outcomes[key] + 1 || 1;\n }\n }\n\n /**\n * @inheritDoc\n */\n captureAggregateMetrics(metricBucketItems) {\n DEBUG_BUILD && logger.log(`Flushing aggregated metrics, number of metrics: ${metricBucketItems.length}`);\n const metricsEnvelope = createMetricEnvelope(\n metricBucketItems,\n this._dsn,\n this._options._metadata,\n this._options.tunnel,\n );\n\n // _sendEnvelope should not throw\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this._sendEnvelope(metricsEnvelope);\n }\n\n // Keep on() & emit() signatures in sync with types' client.ts interface\n /* eslint-disable @typescript-eslint/unified-signatures */\n\n /** @inheritdoc */\n\n /** @inheritdoc */\n on(hook, callback) {\n if (!this._hooks[hook]) {\n this._hooks[hook] = [];\n }\n\n // @ts-expect-error We assue the types are correct\n this._hooks[hook].push(callback);\n }\n\n /** @inheritdoc */\n\n /** @inheritdoc */\n emit(hook, ...rest) {\n if (this._hooks[hook]) {\n this._hooks[hook].forEach(callback => callback(...rest));\n }\n }\n\n /* eslint-enable @typescript-eslint/unified-signatures */\n\n /** Setup integrations for this client. */\n _setupIntegrations() {\n const { integrations } = this._options;\n this._integrations = setupIntegrations(this, integrations);\n afterSetupIntegrations(this, integrations);\n\n // TODO v8: We don't need this flag anymore\n this._integrationsInitialized = true;\n }\n\n /** Updates existing session based on the provided event */\n _updateSessionFromEvent(session, event) {\n let crashed = false;\n let errored = false;\n const exceptions = event.exception && event.exception.values;\n\n if (exceptions) {\n errored = true;\n\n for (const ex of exceptions) {\n const mechanism = ex.mechanism;\n if (mechanism && mechanism.handled === false) {\n crashed = true;\n break;\n }\n }\n }\n\n // A session is updated and that session update is sent in only one of the two following scenarios:\n // 1. Session with non terminal status and 0 errors + an error occurred -> Will set error count to 1 and send update\n // 2. Session with non terminal status and 1 error + a crash occurred -> Will set status crashed and send update\n const sessionNonTerminal = session.status === 'ok';\n const shouldUpdateAndSend = (sessionNonTerminal && session.errors === 0) || (sessionNonTerminal && crashed);\n\n if (shouldUpdateAndSend) {\n updateSession(session, {\n ...(crashed && { status: 'crashed' }),\n errors: session.errors || Number(errored || crashed),\n });\n this.captureSession(session);\n }\n }\n\n /**\n * Determine if the client is finished processing. Returns a promise because it will wait `timeout` ms before saying\n * \"no\" (resolving to `false`) in order to give the client a chance to potentially finish first.\n *\n * @param timeout The time, in ms, after which to resolve to `false` if the client is still busy. Passing `0` (or not\n * passing anything) will make the promise wait as long as it takes for processing to finish before resolving to\n * `true`.\n * @returns A promise which will resolve to `true` if processing is already done or finishes before the timeout, and\n * `false` otherwise\n */\n _isClientDoneProcessing(timeout) {\n return new SyncPromise(resolve => {\n let ticked = 0;\n const tick = 1;\n\n const interval = setInterval(() => {\n if (this._numProcessing == 0) {\n clearInterval(interval);\n resolve(true);\n } else {\n ticked += tick;\n if (timeout && ticked >= timeout) {\n clearInterval(interval);\n resolve(false);\n }\n }\n }, tick);\n });\n }\n\n /** Determines whether this SDK is enabled and a transport is present. */\n _isEnabled() {\n return this.getOptions().enabled !== false && this._transport !== undefined;\n }\n\n /**\n * Adds common information to events.\n *\n * The information includes release and environment from `options`,\n * breadcrumbs and context (extra, tags and user) from the scope.\n *\n * Information that is already present in the event is never overwritten. For\n * nested objects, such as the context, keys are merged.\n *\n * @param event The original event.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A new event with more information.\n */\n _prepareEvent(\n event,\n hint,\n scope,\n isolationScope = getIsolationScope(),\n ) {\n const options = this.getOptions();\n const integrations = Object.keys(this._integrations);\n if (!hint.integrations && integrations.length > 0) {\n hint.integrations = integrations;\n }\n\n this.emit('preprocessEvent', event, hint);\n\n return prepareEvent(options, event, hint, scope, this, isolationScope).then(evt => {\n if (evt === null) {\n return evt;\n }\n\n const propagationContext = {\n ...isolationScope.getPropagationContext(),\n ...(scope ? scope.getPropagationContext() : undefined),\n };\n\n const trace = evt.contexts && evt.contexts.trace;\n if (!trace && propagationContext) {\n const { traceId: trace_id, spanId, parentSpanId, dsc } = propagationContext;\n evt.contexts = {\n trace: {\n trace_id,\n span_id: spanId,\n parent_span_id: parentSpanId,\n },\n ...evt.contexts,\n };\n\n const dynamicSamplingContext = dsc ? dsc : getDynamicSamplingContextFromClient(trace_id, this, scope);\n\n evt.sdkProcessingMetadata = {\n dynamicSamplingContext,\n ...evt.sdkProcessingMetadata,\n };\n }\n return evt;\n });\n }\n\n /**\n * Processes the event and logs an error in case of rejection\n * @param event\n * @param hint\n * @param scope\n */\n _captureEvent(event, hint = {}, scope) {\n return this._processEvent(event, hint, scope).then(\n finalEvent => {\n return finalEvent.event_id;\n },\n reason => {\n if (DEBUG_BUILD) {\n // If something's gone wrong, log the error as a warning. If it's just us having used a `SentryError` for\n // control flow, log just the message (no stack) as a log-level log.\n const sentryError = reason ;\n if (sentryError.logLevel === 'log') {\n logger.log(sentryError.message);\n } else {\n logger.warn(sentryError);\n }\n }\n return undefined;\n },\n );\n }\n\n /**\n * Processes an event (either error or message) and sends it to Sentry.\n *\n * This also adds breadcrumbs and context information to the event. However,\n * platform specific meta data (such as the User's IP address) must be added\n * by the SDK implementor.\n *\n *\n * @param event The event to send to Sentry.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.\n */\n _processEvent(event, hint, scope) {\n const options = this.getOptions();\n const { sampleRate } = options;\n\n const isTransaction = isTransactionEvent(event);\n const isError = isErrorEvent(event);\n const eventType = event.type || 'error';\n const beforeSendLabel = `before send for type \\`${eventType}\\``;\n\n // 1.0 === 100% events are sent\n // 0.0 === 0% events are sent\n // Sampling for transaction happens somewhere else\n if (isError && typeof sampleRate === 'number' && Math.random() > sampleRate) {\n this.recordDroppedEvent('sample_rate', 'error', event);\n return rejectedSyncPromise(\n new SentryError(\n `Discarding event because it's not included in the random sample (sampling rate = ${sampleRate})`,\n 'log',\n ),\n );\n }\n\n const dataCategory = eventType === 'replay_event' ? 'replay' : eventType;\n\n const sdkProcessingMetadata = event.sdkProcessingMetadata || {};\n const capturedSpanIsolationScope = sdkProcessingMetadata.capturedSpanIsolationScope;\n\n return this._prepareEvent(event, hint, scope, capturedSpanIsolationScope)\n .then(prepared => {\n if (prepared === null) {\n this.recordDroppedEvent('event_processor', dataCategory, event);\n throw new SentryError('An event processor returned `null`, will not send event.', 'log');\n }\n\n const isInternalException = hint.data && (hint.data ).__sentry__ === true;\n if (isInternalException) {\n return prepared;\n }\n\n const result = processBeforeSend(options, prepared, hint);\n return _validateBeforeSendResult(result, beforeSendLabel);\n })\n .then(processedEvent => {\n if (processedEvent === null) {\n this.recordDroppedEvent('before_send', dataCategory, event);\n throw new SentryError(`${beforeSendLabel} returned \\`null\\`, will not send event.`, 'log');\n }\n\n const session = scope && scope.getSession();\n if (!isTransaction && session) {\n this._updateSessionFromEvent(session, processedEvent);\n }\n\n // None of the Sentry built event processor will update transaction name,\n // so if the transaction name has been changed by an event processor, we know\n // it has to come from custom event processor added by a user\n const transactionInfo = processedEvent.transaction_info;\n if (isTransaction && transactionInfo && processedEvent.transaction !== event.transaction) {\n const source = 'custom';\n processedEvent.transaction_info = {\n ...transactionInfo,\n source,\n };\n }\n\n this.sendEvent(processedEvent, hint);\n return processedEvent;\n })\n .then(null, reason => {\n if (reason instanceof SentryError) {\n throw reason;\n }\n\n this.captureException(reason, {\n data: {\n __sentry__: true,\n },\n originalException: reason,\n });\n throw new SentryError(\n `Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\\nReason: ${reason}`,\n );\n });\n }\n\n /**\n * Occupies the client with processing and event\n */\n _process(promise) {\n this._numProcessing++;\n void promise.then(\n value => {\n this._numProcessing--;\n return value;\n },\n reason => {\n this._numProcessing--;\n return reason;\n },\n );\n }\n\n /**\n * @inheritdoc\n */\n _sendEnvelope(envelope) {\n this.emit('beforeEnvelope', envelope);\n\n if (this._isEnabled() && this._transport) {\n return this._transport.send(envelope).then(null, reason => {\n DEBUG_BUILD && logger.error('Error while sending event:', reason);\n });\n } else {\n DEBUG_BUILD && logger.error('Transport disabled');\n }\n }\n\n /**\n * Clears outcomes on this client and returns them.\n */\n _clearOutcomes() {\n const outcomes = this._outcomes;\n this._outcomes = {};\n return Object.keys(outcomes).map(key => {\n const [reason, category] = key.split(':') ;\n return {\n reason,\n category,\n quantity: outcomes[key],\n };\n });\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n\n}\n\n/**\n * Verifies that return value of configured `beforeSend` or `beforeSendTransaction` is of expected type, and returns the value if so.\n */\nfunction _validateBeforeSendResult(\n beforeSendResult,\n beforeSendLabel,\n) {\n const invalidValueError = `${beforeSendLabel} must return \\`null\\` or a valid event.`;\n if (isThenable(beforeSendResult)) {\n return beforeSendResult.then(\n event => {\n if (!isPlainObject(event) && event !== null) {\n throw new SentryError(invalidValueError);\n }\n return event;\n },\n e => {\n throw new SentryError(`${beforeSendLabel} rejected with ${e}`);\n },\n );\n } else if (!isPlainObject(beforeSendResult) && beforeSendResult !== null) {\n throw new SentryError(invalidValueError);\n }\n return beforeSendResult;\n}\n\n/**\n * Process the matching `beforeSendXXX` callback.\n */\nfunction processBeforeSend(\n options,\n event,\n hint,\n) {\n const { beforeSend, beforeSendTransaction } = options;\n\n if (isErrorEvent(event) && beforeSend) {\n return beforeSend(event, hint);\n }\n\n if (isTransactionEvent(event) && beforeSendTransaction) {\n return beforeSendTransaction(event, hint);\n }\n\n return event;\n}\n\nfunction isErrorEvent(event) {\n return event.type === undefined;\n}\n\nfunction isTransactionEvent(event) {\n return event.type === 'transaction';\n}\n\n/**\n * Add an event processor to the current client.\n * This event processor will run for all events processed by this client.\n */\nfunction addEventProcessor(callback) {\n const client = getClient();\n\n if (!client || !client.addEventProcessor) {\n return;\n }\n\n client.addEventProcessor(callback);\n}\n\nexport { BaseClient, addEventProcessor };\n//# sourceMappingURL=baseclient.js.map\n","/*\n * This module exists for optimizations in the build process through rollup and terser. We define some global\n * constants, which can be overridden during build. By guarding certain pieces of code with functions that return these\n * constants, we can control whether or not they appear in the final bundle. (Any code guarded by a false condition will\n * never run, and will hence be dropped during treeshaking.) The two primary uses for this are stripping out calls to\n * `logger` and preventing node-related code from appearing in browser bundles.\n *\n * Attention:\n * This file should not be used to define constants/flags that are intended to be used for tree-shaking conducted by\n * users. These flags should live in their respective packages, as we identified user tooling (specifically webpack)\n * having issues tree-shaking these constants across package boundaries.\n * An example for this is the __SENTRY_DEBUG__ constant. It is declared in each package individually because we want\n * users to be able to shake away expressions that it guards.\n */\n\n/**\n * Figures out if we're building a browser bundle.\n *\n * @returns true if this is a browser bundle build.\n */\nfunction isBrowserBundle() {\n return typeof __SENTRY_BROWSER_BUNDLE__ !== 'undefined' && !!__SENTRY_BROWSER_BUNDLE__;\n}\n\n/**\n * Get source of SDK.\n */\nfunction getSDKSource() {\n // @ts-expect-error \"npm\" is injected by rollup during build process\n return \"npm\";\n}\n\nexport { getSDKSource, isBrowserBundle };\n//# sourceMappingURL=env.js.map\n","import { createEnvelope } from './envelope.js';\nimport { dateTimestampInSeconds } from './time.js';\n\n/**\n * Creates client report envelope\n * @param discarded_events An array of discard events\n * @param dsn A DSN that can be set on the header. Optional.\n */\nfunction createClientReportEnvelope(\n discarded_events,\n dsn,\n timestamp,\n) {\n const clientReportItem = [\n { type: 'client_report' },\n {\n timestamp: timestamp || dateTimestampInSeconds(),\n discarded_events,\n },\n ];\n return createEnvelope(dsn ? { dsn } : {}, [clientReportItem]);\n}\n\nexport { createClientReportEnvelope };\n//# sourceMappingURL=clientreport.js.map\n","import { dsnToString, createEnvelope } from '@sentry/utils';\n\n/**\n * Creates an envelope from a user feedback.\n */\nfunction createUserFeedbackEnvelope(\n feedback,\n {\n metadata,\n tunnel,\n dsn,\n }\n\n,\n) {\n const headers = {\n event_id: feedback.event_id,\n sent_at: new Date().toISOString(),\n ...(metadata &&\n metadata.sdk && {\n sdk: {\n name: metadata.sdk.name,\n version: metadata.sdk.version,\n },\n }),\n ...(!!tunnel && !!dsn && { dsn: dsnToString(dsn) }),\n };\n const item = createUserFeedbackEnvelopeItem(feedback);\n\n return createEnvelope(headers, [item]);\n}\n\nfunction createUserFeedbackEnvelopeItem(feedback) {\n const feedbackHeaders = {\n type: 'user_report',\n };\n return [feedbackHeaders, feedback];\n}\n\nexport { createUserFeedbackEnvelope };\n//# sourceMappingURL=userfeedback.js.map\n","import { BaseClient, applySdkMetadata } from '@sentry/core';\nimport { getSDKSource, logger, createClientReportEnvelope, dsnToString } from '@sentry/utils';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { eventFromException, eventFromMessage } from './eventbuilder.js';\nimport { WINDOW } from './helpers.js';\nimport { createUserFeedbackEnvelope } from './userfeedback.js';\n\n/**\n * Configuration options for the Sentry Browser SDK.\n * @see @sentry/types Options for more information.\n */\n\n/**\n * The Sentry Browser SDK Client.\n *\n * @see BrowserOptions for documentation on configuration options.\n * @see SentryClient for usage documentation.\n */\nclass BrowserClient extends BaseClient {\n /**\n * Creates a new Browser SDK instance.\n *\n * @param options Configuration options for this SDK.\n */\n constructor(options) {\n const sdkSource = WINDOW.SENTRY_SDK_SOURCE || getSDKSource();\n applySdkMetadata(options, 'browser', ['browser'], sdkSource);\n\n super(options);\n\n if (options.sendClientReports && WINDOW.document) {\n WINDOW.document.addEventListener('visibilitychange', () => {\n if (WINDOW.document.visibilityState === 'hidden') {\n this._flushOutcomes();\n }\n });\n }\n }\n\n /**\n * @inheritDoc\n */\n eventFromException(exception, hint) {\n return eventFromException(this._options.stackParser, exception, hint, this._options.attachStacktrace);\n }\n\n /**\n * @inheritDoc\n */\n eventFromMessage(\n message,\n // eslint-disable-next-line deprecation/deprecation\n level = 'info',\n hint,\n ) {\n return eventFromMessage(this._options.stackParser, message, level, hint, this._options.attachStacktrace);\n }\n\n /**\n * Sends user feedback to Sentry.\n */\n captureUserFeedback(feedback) {\n if (!this._isEnabled()) {\n DEBUG_BUILD && logger.warn('SDK not enabled, will not capture user feedback.');\n return;\n }\n\n const envelope = createUserFeedbackEnvelope(feedback, {\n metadata: this.getSdkMetadata(),\n dsn: this.getDsn(),\n tunnel: this.getOptions().tunnel,\n });\n\n // _sendEnvelope should not throw\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this._sendEnvelope(envelope);\n }\n\n /**\n * @inheritDoc\n */\n _prepareEvent(event, hint, scope) {\n event.platform = event.platform || 'javascript';\n return super._prepareEvent(event, hint, scope);\n }\n\n /**\n * Sends client reports as an envelope.\n */\n _flushOutcomes() {\n const outcomes = this._clearOutcomes();\n\n if (outcomes.length === 0) {\n DEBUG_BUILD && logger.log('No outcomes to send');\n return;\n }\n\n // This is really the only place where we want to check for a DSN and only send outcomes then\n if (!this._dsn) {\n DEBUG_BUILD && logger.log('No dsn provided, will not send outcomes');\n return;\n }\n\n DEBUG_BUILD && logger.log('Sending outcomes:', outcomes);\n\n const envelope = createClientReportEnvelope(outcomes, this._options.tunnel && dsnToString(this._dsn));\n\n // _sendEnvelope should not throw\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this._sendEnvelope(envelope);\n }\n}\n\nexport { BrowserClient };\n//# sourceMappingURL=client.js.map\n","import { createStackParser } from '@sentry/utils';\n\n// global reference to slice\nconst UNKNOWN_FUNCTION = '?';\n\nconst OPERA10_PRIORITY = 10;\nconst OPERA11_PRIORITY = 20;\nconst CHROME_PRIORITY = 30;\nconst WINJS_PRIORITY = 40;\nconst GECKO_PRIORITY = 50;\n\nfunction createFrame(filename, func, lineno, colno) {\n const frame = {\n filename,\n function: func,\n in_app: true, // All browser frames are considered in_app\n };\n\n if (lineno !== undefined) {\n frame.lineno = lineno;\n }\n\n if (colno !== undefined) {\n frame.colno = colno;\n }\n\n return frame;\n}\n\n// Chromium based browsers: Chrome, Brave, new Opera, new Edge\nconst chromeRegex =\n /^\\s*at (?:(.+?\\)(?: \\[.+\\])?|.*?) ?\\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\\/)?.*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;\nconst chromeEvalRegex = /\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;\n\n// We cannot call this variable `chrome` because it can conflict with global `chrome` variable in certain environments\n// See: https://github.com/getsentry/sentry-javascript/issues/6880\nconst chromeStackParserFn = line => {\n const parts = chromeRegex.exec(line);\n\n if (parts) {\n const isEval = parts[2] && parts[2].indexOf('eval') === 0; // start of line\n\n if (isEval) {\n const subMatch = chromeEvalRegex.exec(parts[2]);\n\n if (subMatch) {\n // throw out eval line/column and use top-most line/column number\n parts[2] = subMatch[1]; // url\n parts[3] = subMatch[2]; // line\n parts[4] = subMatch[3]; // column\n }\n }\n\n // Kamil: One more hack won't hurt us right? Understanding and adding more rules on top of these regexps right now\n // would be way too time consuming. (TODO: Rewrite whole RegExp to be more readable)\n const [func, filename] = extractSafariExtensionDetails(parts[1] || UNKNOWN_FUNCTION, parts[2]);\n\n return createFrame(filename, func, parts[3] ? +parts[3] : undefined, parts[4] ? +parts[4] : undefined);\n }\n\n return;\n};\n\nconst chromeStackLineParser = [CHROME_PRIORITY, chromeStackParserFn];\n\n// gecko regex: `(?:bundle|\\d+\\.js)`: `bundle` is for react native, `\\d+\\.js` also but specifically for ram bundles because it\n// generates filenames without a prefix like `file://` the filenames in the stacktrace are just 42.js\n// We need this specific case for now because we want no other regex to match.\nconst geckoREgex =\n /^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)?((?:[-a-z]+)?:\\/.*?|\\[native code\\]|[^@]*(?:bundle|\\d+\\.js)|\\/[\\w\\-. /=]+)(?::(\\d+))?(?::(\\d+))?\\s*$/i;\nconst geckoEvalRegex = /(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;\n\nconst gecko = line => {\n const parts = geckoREgex.exec(line);\n\n if (parts) {\n const isEval = parts[3] && parts[3].indexOf(' > eval') > -1;\n if (isEval) {\n const subMatch = geckoEvalRegex.exec(parts[3]);\n\n if (subMatch) {\n // throw out eval line/column and use top-most line number\n parts[1] = parts[1] || 'eval';\n parts[3] = subMatch[1];\n parts[4] = subMatch[2];\n parts[5] = ''; // no column when eval\n }\n }\n\n let filename = parts[3];\n let func = parts[1] || UNKNOWN_FUNCTION;\n [func, filename] = extractSafariExtensionDetails(func, filename);\n\n return createFrame(filename, func, parts[4] ? +parts[4] : undefined, parts[5] ? +parts[5] : undefined);\n }\n\n return;\n};\n\nconst geckoStackLineParser = [GECKO_PRIORITY, gecko];\n\nconst winjsRegex = /^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:[-a-z]+):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;\n\nconst winjs = line => {\n const parts = winjsRegex.exec(line);\n\n return parts\n ? createFrame(parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined)\n : undefined;\n};\n\nconst winjsStackLineParser = [WINJS_PRIORITY, winjs];\n\nconst opera10Regex = / line (\\d+).*script (?:in )?(\\S+)(?:: in function (\\S+))?$/i;\n\nconst opera10 = line => {\n const parts = opera10Regex.exec(line);\n return parts ? createFrame(parts[2], parts[3] || UNKNOWN_FUNCTION, +parts[1]) : undefined;\n};\n\nconst opera10StackLineParser = [OPERA10_PRIORITY, opera10];\n\nconst opera11Regex =\n / line (\\d+), column (\\d+)\\s*(?:in (?:]+)>|([^)]+))\\(.*\\))? in (.*):\\s*$/i;\n\nconst opera11 = line => {\n const parts = opera11Regex.exec(line);\n return parts ? createFrame(parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined;\n};\n\nconst opera11StackLineParser = [OPERA11_PRIORITY, opera11];\n\nconst defaultStackLineParsers = [chromeStackLineParser, geckoStackLineParser, winjsStackLineParser];\n\nconst defaultStackParser = createStackParser(...defaultStackLineParsers);\n\n/**\n * Safari web extensions, starting version unknown, can produce \"frames-only\" stacktraces.\n * What it means, is that instead of format like:\n *\n * Error: wat\n * at function@url:row:col\n * at function@url:row:col\n * at function@url:row:col\n *\n * it produces something like:\n *\n * function@url:row:col\n * function@url:row:col\n * function@url:row:col\n *\n * Because of that, it won't be captured by `chrome` RegExp and will fall into `Gecko` branch.\n * This function is extracted so that we can use it in both places without duplicating the logic.\n * Unfortunately \"just\" changing RegExp is too complicated now and making it pass all tests\n * and fix this case seems like an impossible, or at least way too time-consuming task.\n */\nconst extractSafariExtensionDetails = (func, filename) => {\n const isSafariExtension = func.indexOf('safari-extension') !== -1;\n const isSafariWebExtension = func.indexOf('safari-web-extension') !== -1;\n\n return isSafariExtension || isSafariWebExtension\n ? [\n func.indexOf('@') !== -1 ? func.split('@')[0] : UNKNOWN_FUNCTION,\n isSafariExtension ? `safari-extension:${filename}` : `safari-web-extension:${filename}`,\n ]\n : [func, filename];\n};\n\nexport { chromeStackLineParser, defaultStackLineParsers, defaultStackParser, geckoStackLineParser, opera10StackLineParser, opera11StackLineParser, winjsStackLineParser };\n//# sourceMappingURL=stack-parsers.js.map\n","import { SentryError } from './error.js';\nimport { rejectedSyncPromise, SyncPromise, resolvedSyncPromise } from './syncpromise.js';\n\n/**\n * Creates an new PromiseBuffer object with the specified limit\n * @param limit max number of promises that can be stored in the buffer\n */\nfunction makePromiseBuffer(limit) {\n const buffer = [];\n\n function isReady() {\n return limit === undefined || buffer.length < limit;\n }\n\n /**\n * Remove a promise from the queue.\n *\n * @param task Can be any PromiseLike\n * @returns Removed promise.\n */\n function remove(task) {\n return buffer.splice(buffer.indexOf(task), 1)[0];\n }\n\n /**\n * Add a promise (representing an in-flight action) to the queue, and set it to remove itself on fulfillment.\n *\n * @param taskProducer A function producing any PromiseLike; In previous versions this used to be `task:\n * PromiseLike`, but under that model, Promises were instantly created on the call-site and their executor\n * functions therefore ran immediately. Thus, even if the buffer was full, the action still happened. By\n * requiring the promise to be wrapped in a function, we can defer promise creation until after the buffer\n * limit check.\n * @returns The original promise.\n */\n function add(taskProducer) {\n if (!isReady()) {\n return rejectedSyncPromise(new SentryError('Not adding Promise because buffer limit was reached.'));\n }\n\n // start the task and add its promise to the queue\n const task = taskProducer();\n if (buffer.indexOf(task) === -1) {\n buffer.push(task);\n }\n void task\n .then(() => remove(task))\n // Use `then(null, rejectionHandler)` rather than `catch(rejectionHandler)` so that we can use `PromiseLike`\n // rather than `Promise`. `PromiseLike` doesn't have a `.catch` method, making its polyfill smaller. (ES5 didn't\n // have promises, so TS has to polyfill when down-compiling.)\n .then(null, () =>\n remove(task).then(null, () => {\n // We have to add another catch here because `remove()` starts a new promise chain.\n }),\n );\n return task;\n }\n\n /**\n * Wait for all promises in the queue to resolve or for timeout to expire, whichever comes first.\n *\n * @param timeout The time, in ms, after which to resolve to `false` if the queue is still non-empty. Passing `0` (or\n * not passing anything) will make the promise wait as long as it takes for the queue to drain before resolving to\n * `true`.\n * @returns A promise which will resolve to `true` if the queue is already empty or drains before the timeout, and\n * `false` otherwise\n */\n function drain(timeout) {\n return new SyncPromise((resolve, reject) => {\n let counter = buffer.length;\n\n if (!counter) {\n return resolve(true);\n }\n\n // wait for `timeout` ms and then resolve to `false` (if not cancelled first)\n const capturedSetTimeout = setTimeout(() => {\n if (timeout && timeout > 0) {\n resolve(false);\n }\n }, timeout);\n\n // if all promises resolve in time, cancel the timer and resolve to `true`\n buffer.forEach(item => {\n void resolvedSyncPromise(item).then(() => {\n if (!--counter) {\n clearTimeout(capturedSetTimeout);\n resolve(true);\n }\n }, reject);\n });\n });\n }\n\n return {\n $: buffer,\n add,\n drain,\n };\n}\n\nexport { makePromiseBuffer };\n//# sourceMappingURL=promisebuffer.js.map\n","// Intentionally keeping the key broad, as we don't know for sure what rate limit headers get returned from backend\n\nconst DEFAULT_RETRY_AFTER = 60 * 1000; // 60 seconds\n\n/**\n * Extracts Retry-After value from the request header or returns default value\n * @param header string representation of 'Retry-After' header\n * @param now current unix timestamp\n *\n */\nfunction parseRetryAfterHeader(header, now = Date.now()) {\n const headerDelay = parseInt(`${header}`, 10);\n if (!isNaN(headerDelay)) {\n return headerDelay * 1000;\n }\n\n const headerDate = Date.parse(`${header}`);\n if (!isNaN(headerDate)) {\n return headerDate - now;\n }\n\n return DEFAULT_RETRY_AFTER;\n}\n\n/**\n * Gets the time that the given category is disabled until for rate limiting.\n * In case no category-specific limit is set but a general rate limit across all categories is active,\n * that time is returned.\n *\n * @return the time in ms that the category is disabled until or 0 if there's no active rate limit.\n */\nfunction disabledUntil(limits, category) {\n return limits[category] || limits.all || 0;\n}\n\n/**\n * Checks if a category is rate limited\n */\nfunction isRateLimited(limits, category, now = Date.now()) {\n return disabledUntil(limits, category) > now;\n}\n\n/**\n * Update ratelimits from incoming headers.\n *\n * @return the updated RateLimits object.\n */\nfunction updateRateLimits(\n limits,\n { statusCode, headers },\n now = Date.now(),\n) {\n const updatedRateLimits = {\n ...limits,\n };\n\n // \"The name is case-insensitive.\"\n // https://developer.mozilla.org/en-US/docs/Web/API/Headers/get\n const rateLimitHeader = headers && headers['x-sentry-rate-limits'];\n const retryAfterHeader = headers && headers['retry-after'];\n\n if (rateLimitHeader) {\n /**\n * rate limit headers are of the form\n *
,
,..\n * where each
is of the form\n * : : : \n * where\n * is a delay in seconds\n * is the event type(s) (error, transaction, etc) being rate limited and is of the form\n * ;;...\n * is what's being limited (org, project, or key) - ignored by SDK\n * is an arbitrary string like \"org_quota\" - ignored by SDK\n */\n for (const limit of rateLimitHeader.trim().split(',')) {\n const [retryAfter, categories] = limit.split(':', 2);\n const headerDelay = parseInt(retryAfter, 10);\n const delay = (!isNaN(headerDelay) ? headerDelay : 60) * 1000; // 60sec default\n if (!categories) {\n updatedRateLimits.all = now + delay;\n } else {\n for (const category of categories.split(';')) {\n updatedRateLimits[category] = now + delay;\n }\n }\n }\n } else if (retryAfterHeader) {\n updatedRateLimits.all = now + parseRetryAfterHeader(retryAfterHeader, now);\n } else if (statusCode === 429) {\n updatedRateLimits.all = now + 60 * 1000;\n }\n\n return updatedRateLimits;\n}\n\nexport { DEFAULT_RETRY_AFTER, disabledUntil, isRateLimited, parseRetryAfterHeader, updateRateLimits };\n//# sourceMappingURL=ratelimit.js.map\n","import { makePromiseBuffer, forEachEnvelopeItem, envelopeItemTypeToDataCategory, isRateLimited, resolvedSyncPromise, createEnvelope, SentryError, logger, serializeEnvelope, updateRateLimits } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\n\nconst DEFAULT_TRANSPORT_BUFFER_SIZE = 30;\n\n/**\n * Creates an instance of a Sentry `Transport`\n *\n * @param options\n * @param makeRequest\n */\nfunction createTransport(\n options,\n makeRequest,\n buffer = makePromiseBuffer(\n options.bufferSize || DEFAULT_TRANSPORT_BUFFER_SIZE,\n ),\n) {\n let rateLimits = {};\n const flush = (timeout) => buffer.drain(timeout);\n\n function send(envelope) {\n const filteredEnvelopeItems = [];\n\n // Drop rate limited items from envelope\n forEachEnvelopeItem(envelope, (item, type) => {\n const envelopeItemDataCategory = envelopeItemTypeToDataCategory(type);\n if (isRateLimited(rateLimits, envelopeItemDataCategory)) {\n const event = getEventForEnvelopeItem(item, type);\n options.recordDroppedEvent('ratelimit_backoff', envelopeItemDataCategory, event);\n } else {\n filteredEnvelopeItems.push(item);\n }\n });\n\n // Skip sending if envelope is empty after filtering out rate limited events\n if (filteredEnvelopeItems.length === 0) {\n return resolvedSyncPromise();\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const filteredEnvelope = createEnvelope(envelope[0], filteredEnvelopeItems );\n\n // Creates client report for each item in an envelope\n const recordEnvelopeLoss = (reason) => {\n forEachEnvelopeItem(filteredEnvelope, (item, type) => {\n const event = getEventForEnvelopeItem(item, type);\n options.recordDroppedEvent(reason, envelopeItemTypeToDataCategory(type), event);\n });\n };\n\n const requestTask = () =>\n makeRequest({ body: serializeEnvelope(filteredEnvelope, options.textEncoder) }).then(\n response => {\n // We don't want to throw on NOK responses, but we want to at least log them\n if (response.statusCode !== undefined && (response.statusCode < 200 || response.statusCode >= 300)) {\n DEBUG_BUILD && logger.warn(`Sentry responded with status code ${response.statusCode} to sent event.`);\n }\n\n rateLimits = updateRateLimits(rateLimits, response);\n return response;\n },\n error => {\n recordEnvelopeLoss('network_error');\n throw error;\n },\n );\n\n return buffer.add(requestTask).then(\n result => result,\n error => {\n if (error instanceof SentryError) {\n DEBUG_BUILD && logger.error('Skipped sending event because buffer is full.');\n recordEnvelopeLoss('queue_overflow');\n return resolvedSyncPromise();\n } else {\n throw error;\n }\n },\n );\n }\n\n // We use this to identifify if the transport is the base transport\n // TODO (v8): Remove this again as we'll no longer need it\n send.__sentry__baseTransport__ = true;\n\n return {\n send,\n flush,\n };\n}\n\nfunction getEventForEnvelopeItem(item, type) {\n if (type !== 'event' && type !== 'transaction') {\n return undefined;\n }\n\n return Array.isArray(item) ? (item )[1] : undefined;\n}\n\nexport { DEFAULT_TRANSPORT_BUFFER_SIZE, createTransport };\n//# sourceMappingURL=base.js.map\n","import { isNativeFetch, logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { WINDOW } from '../helpers.js';\n\nlet cachedFetchImpl = undefined;\n\n/**\n * A special usecase for incorrectly wrapped Fetch APIs in conjunction with ad-blockers.\n * Whenever someone wraps the Fetch API and returns the wrong promise chain,\n * this chain becomes orphaned and there is no possible way to capture it's rejections\n * other than allowing it bubble up to this very handler. eg.\n *\n * const f = window.fetch;\n * window.fetch = function () {\n * const p = f.apply(this, arguments);\n *\n * p.then(function() {\n * console.log('hi.');\n * });\n *\n * return p;\n * }\n *\n * `p.then(function () { ... })` is producing a completely separate promise chain,\n * however, what's returned is `p` - the result of original `fetch` call.\n *\n * This mean, that whenever we use the Fetch API to send our own requests, _and_\n * some ad-blocker blocks it, this orphaned chain will _always_ reject,\n * effectively causing another event to be captured.\n * This makes a whole process become an infinite loop, which we need to somehow\n * deal with, and break it in one way or another.\n *\n * To deal with this issue, we are making sure that we _always_ use the real\n * browser Fetch API, instead of relying on what `window.fetch` exposes.\n * The only downside to this would be missing our own requests as breadcrumbs,\n * but because we are already not doing this, it should be just fine.\n *\n * Possible failed fetch error messages per-browser:\n *\n * Chrome: Failed to fetch\n * Edge: Failed to Fetch\n * Firefox: NetworkError when attempting to fetch resource\n * Safari: resource blocked by content blocker\n */\nfunction getNativeFetchImplementation() {\n if (cachedFetchImpl) {\n return cachedFetchImpl;\n }\n\n /* eslint-disable @typescript-eslint/unbound-method */\n\n // Fast path to avoid DOM I/O\n if (isNativeFetch(WINDOW.fetch)) {\n return (cachedFetchImpl = WINDOW.fetch.bind(WINDOW));\n }\n\n const document = WINDOW.document;\n let fetchImpl = WINDOW.fetch;\n // eslint-disable-next-line deprecation/deprecation\n if (document && typeof document.createElement === 'function') {\n try {\n const sandbox = document.createElement('iframe');\n sandbox.hidden = true;\n document.head.appendChild(sandbox);\n const contentWindow = sandbox.contentWindow;\n if (contentWindow && contentWindow.fetch) {\n fetchImpl = contentWindow.fetch;\n }\n document.head.removeChild(sandbox);\n } catch (e) {\n DEBUG_BUILD && logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', e);\n }\n }\n\n return (cachedFetchImpl = fetchImpl.bind(WINDOW));\n /* eslint-enable @typescript-eslint/unbound-method */\n}\n\n/** Clears cached fetch impl */\nfunction clearCachedFetchImplementation() {\n cachedFetchImpl = undefined;\n}\n\nexport { clearCachedFetchImplementation, getNativeFetchImplementation };\n//# sourceMappingURL=utils.js.map\n","import { createTransport } from '@sentry/core';\nimport { rejectedSyncPromise } from '@sentry/utils';\nimport { getNativeFetchImplementation, clearCachedFetchImplementation } from './utils.js';\n\n/**\n * Creates a Transport that uses the Fetch API to send events to Sentry.\n */\nfunction makeFetchTransport(\n options,\n nativeFetch = getNativeFetchImplementation(),\n) {\n let pendingBodySize = 0;\n let pendingCount = 0;\n\n function makeRequest(request) {\n const requestSize = request.body.length;\n pendingBodySize += requestSize;\n pendingCount++;\n\n const requestOptions = {\n body: request.body,\n method: 'POST',\n referrerPolicy: 'origin',\n headers: options.headers,\n // Outgoing requests are usually cancelled when navigating to a different page, causing a \"TypeError: Failed to\n // fetch\" error and sending a \"network_error\" client-outcome - in Chrome, the request status shows \"(cancelled)\".\n // The `keepalive` flag keeps outgoing requests alive, even when switching pages. We want this since we're\n // frequently sending events right before the user is switching pages (eg. whenfinishing navigation transactions).\n // Gotchas:\n // - `keepalive` isn't supported by Firefox\n // - As per spec (https://fetch.spec.whatwg.org/#http-network-or-cache-fetch):\n // If the sum of contentLength and inflightKeepaliveBytes is greater than 64 kibibytes, then return a network error.\n // We will therefore only activate the flag when we're below that limit.\n // There is also a limit of requests that can be open at the same time, so we also limit this to 15\n // See https://github.com/getsentry/sentry-javascript/pull/7553 for details\n keepalive: pendingBodySize <= 60000 && pendingCount < 15,\n ...options.fetchOptions,\n };\n\n try {\n return nativeFetch(options.url, requestOptions).then(response => {\n pendingBodySize -= requestSize;\n pendingCount--;\n return {\n statusCode: response.status,\n headers: {\n 'x-sentry-rate-limits': response.headers.get('X-Sentry-Rate-Limits'),\n 'retry-after': response.headers.get('Retry-After'),\n },\n };\n });\n } catch (e) {\n clearCachedFetchImplementation();\n pendingBodySize -= requestSize;\n pendingCount--;\n return rejectedSyncPromise(e);\n }\n }\n\n return createTransport(options, makeRequest);\n}\n\nexport { makeFetchTransport };\n//# sourceMappingURL=fetch.js.map\n","import { createTransport } from '@sentry/core';\nimport { SyncPromise } from '@sentry/utils';\n\n/**\n * The DONE ready state for XmlHttpRequest\n *\n * Defining it here as a constant b/c XMLHttpRequest.DONE is not always defined\n * (e.g. during testing, it is `undefined`)\n *\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/readyState}\n */\nconst XHR_READYSTATE_DONE = 4;\n\n/**\n * Creates a Transport that uses the XMLHttpRequest API to send events to Sentry.\n */\nfunction makeXHRTransport(options) {\n function makeRequest(request) {\n return new SyncPromise((resolve, reject) => {\n const xhr = new XMLHttpRequest();\n\n xhr.onerror = reject;\n\n xhr.onreadystatechange = () => {\n if (xhr.readyState === XHR_READYSTATE_DONE) {\n resolve({\n statusCode: xhr.status,\n headers: {\n 'x-sentry-rate-limits': xhr.getResponseHeader('X-Sentry-Rate-Limits'),\n 'retry-after': xhr.getResponseHeader('Retry-After'),\n },\n });\n }\n };\n\n xhr.open('POST', options.url);\n\n for (const header in options.headers) {\n if (Object.prototype.hasOwnProperty.call(options.headers, header)) {\n xhr.setRequestHeader(header, options.headers[header]);\n }\n }\n\n xhr.send(request.body);\n });\n }\n\n return createTransport(options, makeRequest);\n}\n\nexport { makeXHRTransport };\n//# sourceMappingURL=xhr.js.map\n","import { inboundFiltersIntegration, functionToStringIntegration, getIntegrationsToSetup, initAndBind, getReportDialogEndpoint, getCurrentHub, startSession, captureSession, getClient } from '@sentry/core';\nimport { stackParserFromStackParserOptions, supportsFetch, logger, addHistoryInstrumentationHandler } from '@sentry/utils';\nimport { BrowserClient } from './client.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { WINDOW, wrap as wrap$1 } from './helpers.js';\nimport { breadcrumbsIntegration } from './integrations/breadcrumbs.js';\nimport { dedupeIntegration } from './integrations/dedupe.js';\nimport { globalHandlersIntegration } from './integrations/globalhandlers.js';\nimport { httpContextIntegration } from './integrations/httpcontext.js';\nimport { linkedErrorsIntegration } from './integrations/linkederrors.js';\nimport { browserApiErrorsIntegration } from './integrations/trycatch.js';\nimport { defaultStackParser } from './stack-parsers.js';\nimport { makeFetchTransport } from './transports/fetch.js';\nimport { makeXHRTransport } from './transports/xhr.js';\n\n/** @deprecated Use `getDefaultIntegrations(options)` instead. */\nconst defaultIntegrations = [\n inboundFiltersIntegration(),\n functionToStringIntegration(),\n browserApiErrorsIntegration(),\n breadcrumbsIntegration(),\n globalHandlersIntegration(),\n linkedErrorsIntegration(),\n dedupeIntegration(),\n httpContextIntegration(),\n];\n\n/** Get the default integrations for the browser SDK. */\nfunction getDefaultIntegrations(_options) {\n // We return a copy of the defaultIntegrations here to avoid mutating this\n return [\n // eslint-disable-next-line deprecation/deprecation\n ...defaultIntegrations,\n ];\n}\n\n/**\n * A magic string that build tooling can leverage in order to inject a release value into the SDK.\n */\n\n/**\n * The Sentry Browser SDK Client.\n *\n * To use this SDK, call the {@link init} function as early as possible when\n * loading the web page. To set context information or send manual events, use\n * the provided methods.\n *\n * @example\n *\n * ```\n *\n * import { init } from '@sentry/browser';\n *\n * init({\n * dsn: '__DSN__',\n * // ...\n * });\n * ```\n *\n * @example\n * ```\n *\n * import { configureScope } from '@sentry/browser';\n * configureScope((scope: Scope) => {\n * scope.setExtra({ battery: 0.7 });\n * scope.setTag({ user_mode: 'admin' });\n * scope.setUser({ id: '4711' });\n * });\n * ```\n *\n * @example\n * ```\n *\n * import { addBreadcrumb } from '@sentry/browser';\n * addBreadcrumb({\n * message: 'My Breadcrumb',\n * // ...\n * });\n * ```\n *\n * @example\n *\n * ```\n *\n * import * as Sentry from '@sentry/browser';\n * Sentry.captureMessage('Hello, world!');\n * Sentry.captureException(new Error('Good bye'));\n * Sentry.captureEvent({\n * message: 'Manual',\n * stacktrace: [\n * // ...\n * ],\n * });\n * ```\n *\n * @see {@link BrowserOptions} for documentation on configuration options.\n */\nfunction init(options = {}) {\n if (options.defaultIntegrations === undefined) {\n options.defaultIntegrations = getDefaultIntegrations();\n }\n if (options.release === undefined) {\n // This allows build tooling to find-and-replace __SENTRY_RELEASE__ to inject a release value\n if (typeof __SENTRY_RELEASE__ === 'string') {\n options.release = __SENTRY_RELEASE__;\n }\n\n // This supports the variable that sentry-webpack-plugin injects\n if (WINDOW.SENTRY_RELEASE && WINDOW.SENTRY_RELEASE.id) {\n options.release = WINDOW.SENTRY_RELEASE.id;\n }\n }\n if (options.autoSessionTracking === undefined) {\n options.autoSessionTracking = true;\n }\n if (options.sendClientReports === undefined) {\n options.sendClientReports = true;\n }\n\n const clientOptions = {\n ...options,\n stackParser: stackParserFromStackParserOptions(options.stackParser || defaultStackParser),\n integrations: getIntegrationsToSetup(options),\n transport: options.transport || (supportsFetch() ? makeFetchTransport : makeXHRTransport),\n };\n\n initAndBind(BrowserClient, clientOptions);\n\n if (options.autoSessionTracking) {\n startSessionTracking();\n }\n}\n\nconst showReportDialog = (\n // eslint-disable-next-line deprecation/deprecation\n options = {},\n // eslint-disable-next-line deprecation/deprecation\n hub = getCurrentHub(),\n) => {\n // doesn't work without a document (React Native)\n if (!WINDOW.document) {\n DEBUG_BUILD && logger.error('Global document not defined in showReportDialog call');\n return;\n }\n\n // eslint-disable-next-line deprecation/deprecation\n const { client, scope } = hub.getStackTop();\n const dsn = options.dsn || (client && client.getDsn());\n if (!dsn) {\n DEBUG_BUILD && logger.error('DSN not configured for showReportDialog call');\n return;\n }\n\n if (scope) {\n options.user = {\n ...scope.getUser(),\n ...options.user,\n };\n }\n\n // TODO(v8): Remove this entire if statement. `eventId` will be a required option.\n // eslint-disable-next-line deprecation/deprecation\n if (!options.eventId) {\n // eslint-disable-next-line deprecation/deprecation\n options.eventId = hub.lastEventId();\n }\n\n const script = WINDOW.document.createElement('script');\n script.async = true;\n script.crossOrigin = 'anonymous';\n script.src = getReportDialogEndpoint(dsn, options);\n\n if (options.onLoad) {\n script.onload = options.onLoad;\n }\n\n const { onClose } = options;\n if (onClose) {\n const reportDialogClosedMessageHandler = (event) => {\n if (event.data === '__sentry_reportdialog_closed__') {\n try {\n onClose();\n } finally {\n WINDOW.removeEventListener('message', reportDialogClosedMessageHandler);\n }\n }\n };\n WINDOW.addEventListener('message', reportDialogClosedMessageHandler);\n }\n\n const injectionPoint = WINDOW.document.head || WINDOW.document.body;\n if (injectionPoint) {\n injectionPoint.appendChild(script);\n } else {\n DEBUG_BUILD && logger.error('Not injecting report dialog. No injection point found in HTML');\n }\n};\n\n/**\n * This function is here to be API compatible with the loader.\n * @hidden\n */\nfunction forceLoad() {\n // Noop\n}\n\n/**\n * This function is here to be API compatible with the loader.\n * @hidden\n */\nfunction onLoad(callback) {\n callback();\n}\n\n/**\n * Wrap code within a try/catch block so the SDK is able to capture errors.\n *\n * @deprecated This function will be removed in v8.\n * It is not part of Sentry's official API and it's easily replaceable by using a try/catch block\n * and calling Sentry.captureException.\n *\n * @param fn A function to wrap.\n *\n * @returns The result of wrapped function call.\n */\n// TODO(v8): Remove this function\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction wrap(fn) {\n return wrap$1(fn)();\n}\n\n/**\n * Enable automatic Session Tracking for the initial page load.\n */\nfunction startSessionTracking() {\n if (typeof WINDOW.document === 'undefined') {\n DEBUG_BUILD && logger.warn('Session tracking in non-browser environment with @sentry/browser is not supported.');\n return;\n }\n\n // The session duration for browser sessions does not track a meaningful\n // concept that can be used as a metric.\n // Automatically captured sessions are akin to page views, and thus we\n // discard their duration.\n startSession({ ignoreDuration: true });\n captureSession();\n\n // We want to create a session for every navigation as well\n addHistoryInstrumentationHandler(({ from, to }) => {\n // Don't create an additional session for the initial route or if the location did not change\n if (from !== undefined && from !== to) {\n startSession({ ignoreDuration: true });\n captureSession();\n }\n });\n}\n\n/**\n * Captures user feedback and sends it to Sentry.\n */\nfunction captureUserFeedback(feedback) {\n const client = getClient();\n if (client) {\n client.captureUserFeedback(feedback);\n }\n}\n\nexport { captureUserFeedback, defaultIntegrations, forceLoad, getDefaultIntegrations, init, onLoad, showReportDialog, wrap };\n//# sourceMappingURL=sdk.js.map\n","import { init as init$1 } from '@sentry/browser';\nimport { applySdkMetadata } from '@sentry/core';\n\n/**\n * Inits the React SDK\n */\nfunction init(options) {\n const opts = {\n ...options,\n };\n\n applySdkMetadata(opts, 'react');\n\n init$1(opts);\n}\n\nexport { init };\n//# sourceMappingURL=sdk.js.map\n","/**\n * Returns an environment setting value determined by Vercel's `VERCEL_ENV` environment variable.\n *\n * @param isClient Flag to indicate whether to use the `NEXT_PUBLIC_` prefixed version of the environment variable.\n */\nfunction getVercelEnv(isClient) {\n const vercelEnvVar = isClient ? process.env.NEXT_PUBLIC_VERCEL_ENV : process.env.VERCEL_ENV;\n return vercelEnvVar ? `vercel-${vercelEnvVar}` : undefined;\n}\n\nexport { getVercelEnv };\n//# sourceMappingURL=getVercelEnv.js.map\n","/**\n * Polyfill for the optional chain operator, `?.`, given previous conversion of the expression into an array of values,\n * descriptors, and functions.\n *\n * Adapted from Sucrase (https://github.com/alangpierce/sucrase)\n * See https://github.com/alangpierce/sucrase/blob/265887868966917f3b924ce38dfad01fbab1329f/src/transformers/OptionalChainingNullishTransformer.ts#L15\n *\n * @param ops Array result of expression conversion\n * @returns The value of the expression\n */\nfunction _optionalChain(ops) {\n let lastAccessLHS = undefined;\n let value = ops[0];\n let i = 1;\n while (i < ops.length) {\n const op = ops[i] ;\n const fn = ops[i + 1] ;\n i += 2;\n // by checking for loose equality to `null`, we catch both `null` and `undefined`\n if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n // really we're meaning to return `undefined` as an actual value here, but it saves bytes not to write it\n return;\n }\n if (op === 'access' || op === 'optionalAccess') {\n lastAccessLHS = value;\n value = fn(value);\n } else if (op === 'call' || op === 'optionalCall') {\n value = fn((...args) => (value ).call(lastAccessLHS, ...args));\n lastAccessLHS = undefined;\n }\n }\n return value;\n}\n\n// Sucrase version\n// function _optionalChain(ops) {\n// let lastAccessLHS = undefined;\n// let value = ops[0];\n// let i = 1;\n// while (i < ops.length) {\n// const op = ops[i];\n// const fn = ops[i + 1];\n// i += 2;\n// if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n// return undefined;\n// }\n// if (op === 'access' || op === 'optionalAccess') {\n// lastAccessLHS = value;\n// value = fn(value);\n// } else if (op === 'call' || op === 'optionalCall') {\n// value = fn((...args) => value.call(lastAccessLHS, ...args));\n// lastAccessLHS = undefined;\n// }\n// }\n// return value;\n// }\n\nexport { _optionalChain };\n//# sourceMappingURL=_optionalChain.js.map\n","import { dropUndefinedKeys } from '@sentry/utils';\nimport '../debug-build.js';\nimport '../tracing/errors.js';\nimport '../tracing/spanstatus.js';\nimport { getActiveSpan } from '../tracing/trace.js';\n\n/**\n * key: bucketKey\n * value: [exportKey, MetricSummary]\n */\n\nlet SPAN_METRIC_SUMMARY;\n\nfunction getMetricStorageForSpan(span) {\n return SPAN_METRIC_SUMMARY ? SPAN_METRIC_SUMMARY.get(span) : undefined;\n}\n\n/**\n * Fetches the metric summary if it exists for the passed span\n */\nfunction getMetricSummaryJsonForSpan(span) {\n const storage = getMetricStorageForSpan(span);\n\n if (!storage) {\n return undefined;\n }\n const output = {};\n\n for (const [, [exportKey, summary]] of storage) {\n if (!output[exportKey]) {\n output[exportKey] = [];\n }\n\n output[exportKey].push(dropUndefinedKeys(summary));\n }\n\n return output;\n}\n\n/**\n * Updates the metric summary on the currently active span\n */\nfunction updateMetricSummaryOnActiveSpan(\n metricType,\n sanitizedName,\n value,\n unit,\n tags,\n bucketKey,\n) {\n const span = getActiveSpan();\n if (span) {\n const storage = getMetricStorageForSpan(span) || new Map();\n\n const exportKey = `${metricType}:${sanitizedName}@${unit}`;\n const bucketItem = storage.get(bucketKey);\n\n if (bucketItem) {\n const [, summary] = bucketItem;\n storage.set(bucketKey, [\n exportKey,\n {\n min: Math.min(summary.min, value),\n max: Math.max(summary.max, value),\n count: (summary.count += 1),\n sum: (summary.sum += value),\n tags: summary.tags,\n },\n ]);\n } else {\n storage.set(bucketKey, [\n exportKey,\n {\n min: value,\n max: value,\n count: 1,\n sum: value,\n tags,\n },\n ]);\n }\n\n if (!SPAN_METRIC_SUMMARY) {\n SPAN_METRIC_SUMMARY = new WeakMap();\n }\n\n SPAN_METRIC_SUMMARY.set(span, storage);\n }\n}\n\nexport { getMetricSummaryJsonForSpan, updateMetricSummaryOnActiveSpan };\n//# sourceMappingURL=metric-summary.js.map\n","/**\n * Use this attribute to represent the source of a span.\n * Should be one of: custom, url, route, view, component, task, unknown\n *\n */\nconst SEMANTIC_ATTRIBUTE_SENTRY_SOURCE = 'sentry.source';\n\n/**\n * Use this attribute to represent the sample rate used for a span.\n */\nconst SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE = 'sentry.sample_rate';\n\n/**\n * Use this attribute to represent the operation of a span.\n */\nconst SEMANTIC_ATTRIBUTE_SENTRY_OP = 'sentry.op';\n\n/**\n * Use this attribute to represent the origin of a span.\n */\nconst SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN = 'sentry.origin';\n\n/**\n * The id of the profile that this span occured in.\n */\nconst SEMANTIC_ATTRIBUTE_PROFILE_ID = 'profile_id';\n\nexport { SEMANTIC_ATTRIBUTE_PROFILE_ID, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE };\n//# sourceMappingURL=semanticAttributes.js.map\n","/** The status of an Span.\n *\n * @deprecated Use string literals - if you require type casting, cast to SpanStatusType type\n */\nvar SpanStatus; (function (SpanStatus) {\n /** The operation completed successfully. */\n const Ok = 'ok'; SpanStatus[\"Ok\"] = Ok;\n /** Deadline expired before operation could complete. */\n const DeadlineExceeded = 'deadline_exceeded'; SpanStatus[\"DeadlineExceeded\"] = DeadlineExceeded;\n /** 401 Unauthorized (actually does mean unauthenticated according to RFC 7235) */\n const Unauthenticated = 'unauthenticated'; SpanStatus[\"Unauthenticated\"] = Unauthenticated;\n /** 403 Forbidden */\n const PermissionDenied = 'permission_denied'; SpanStatus[\"PermissionDenied\"] = PermissionDenied;\n /** 404 Not Found. Some requested entity (file or directory) was not found. */\n const NotFound = 'not_found'; SpanStatus[\"NotFound\"] = NotFound;\n /** 429 Too Many Requests */\n const ResourceExhausted = 'resource_exhausted'; SpanStatus[\"ResourceExhausted\"] = ResourceExhausted;\n /** Client specified an invalid argument. 4xx. */\n const InvalidArgument = 'invalid_argument'; SpanStatus[\"InvalidArgument\"] = InvalidArgument;\n /** 501 Not Implemented */\n const Unimplemented = 'unimplemented'; SpanStatus[\"Unimplemented\"] = Unimplemented;\n /** 503 Service Unavailable */\n const Unavailable = 'unavailable'; SpanStatus[\"Unavailable\"] = Unavailable;\n /** Other/generic 5xx. */\n const InternalError = 'internal_error'; SpanStatus[\"InternalError\"] = InternalError;\n /** Unknown. Any non-standard HTTP status code. */\n const UnknownError = 'unknown_error'; SpanStatus[\"UnknownError\"] = UnknownError;\n /** The operation was cancelled (typically by the user). */\n const Cancelled = 'cancelled'; SpanStatus[\"Cancelled\"] = Cancelled;\n /** Already exists (409) */\n const AlreadyExists = 'already_exists'; SpanStatus[\"AlreadyExists\"] = AlreadyExists;\n /** Operation was rejected because the system is not in a state required for the operation's */\n const FailedPrecondition = 'failed_precondition'; SpanStatus[\"FailedPrecondition\"] = FailedPrecondition;\n /** The operation was aborted, typically due to a concurrency issue. */\n const Aborted = 'aborted'; SpanStatus[\"Aborted\"] = Aborted;\n /** Operation was attempted past the valid range. */\n const OutOfRange = 'out_of_range'; SpanStatus[\"OutOfRange\"] = OutOfRange;\n /** Unrecoverable data loss or corruption */\n const DataLoss = 'data_loss'; SpanStatus[\"DataLoss\"] = DataLoss;\n})(SpanStatus || (SpanStatus = {}));\n\n/**\n * Converts a HTTP status code into a {@link SpanStatusType}.\n *\n * @param httpStatus The HTTP response status code.\n * @returns The span status or unknown_error.\n */\nfunction getSpanStatusFromHttpCode(httpStatus) {\n if (httpStatus < 400 && httpStatus >= 100) {\n return 'ok';\n }\n\n if (httpStatus >= 400 && httpStatus < 500) {\n switch (httpStatus) {\n case 401:\n return 'unauthenticated';\n case 403:\n return 'permission_denied';\n case 404:\n return 'not_found';\n case 409:\n return 'already_exists';\n case 413:\n return 'failed_precondition';\n case 429:\n return 'resource_exhausted';\n default:\n return 'invalid_argument';\n }\n }\n\n if (httpStatus >= 500 && httpStatus < 600) {\n switch (httpStatus) {\n case 501:\n return 'unimplemented';\n case 503:\n return 'unavailable';\n case 504:\n return 'deadline_exceeded';\n default:\n return 'internal_error';\n }\n }\n\n return 'unknown_error';\n}\n\n/**\n * Converts a HTTP status code into a {@link SpanStatusType}.\n *\n * @deprecated Use {@link spanStatusFromHttpCode} instead.\n * This export will be removed in v8 as the signature contains a typo.\n *\n * @param httpStatus The HTTP response status code.\n * @returns The span status or unknown_error.\n */\nconst spanStatusfromHttpCode = getSpanStatusFromHttpCode;\n\n/**\n * Sets the Http status attributes on the current span based on the http code.\n * Additionally, the span's status is updated, depending on the http code.\n */\nfunction setHttpStatus(span, httpStatus) {\n // TODO (v8): Remove these calls\n // Relay does not require us to send the status code as a tag\n // For now, just because users might expect it to land as a tag we keep sending it.\n // Same with data.\n // In v8, we replace both, simply with\n // span.setAttribute('http.response.status_code', httpStatus);\n\n // eslint-disable-next-line deprecation/deprecation\n span.setTag('http.status_code', String(httpStatus));\n // eslint-disable-next-line deprecation/deprecation\n span.setData('http.response.status_code', httpStatus);\n\n const spanStatus = getSpanStatusFromHttpCode(httpStatus);\n if (spanStatus !== 'unknown_error') {\n span.setStatus(spanStatus);\n }\n}\n\nexport { SpanStatus, getSpanStatusFromHttpCode, setHttpStatus, spanStatusfromHttpCode };\n//# sourceMappingURL=spanstatus.js.map\n","import { uuid4, timestampInSeconds, logger, dropUndefinedKeys } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { getMetricSummaryJsonForSpan } from '../metrics/metric-summary.js';\nimport { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_PROFILE_ID } from '../semanticAttributes.js';\nimport { getRootSpan } from '../utils/getRootSpan.js';\nimport { TRACE_FLAG_SAMPLED, TRACE_FLAG_NONE, spanToJSON, spanTimeInputToSeconds, spanToTraceHeader, spanToTraceContext } from '../utils/spanUtils.js';\nimport { setHttpStatus } from './spanstatus.js';\n\n/**\n * Keeps track of finished spans for a given transaction\n * @internal\n * @hideconstructor\n * @hidden\n */\nclass SpanRecorder {\n\n constructor(maxlen = 1000) {\n this._maxlen = maxlen;\n this.spans = [];\n }\n\n /**\n * This is just so that we don't run out of memory while recording a lot\n * of spans. At some point we just stop and flush out the start of the\n * trace tree (i.e.the first n spans with the smallest\n * start_timestamp).\n */\n add(span) {\n if (this.spans.length > this._maxlen) {\n // eslint-disable-next-line deprecation/deprecation\n span.spanRecorder = undefined;\n } else {\n this.spans.push(span);\n }\n }\n}\n\n/**\n * Span contains all data about a span\n */\nclass Span {\n /**\n * Tags for the span.\n * @deprecated Use `spanToJSON(span).atttributes` instead.\n */\n\n /**\n * Data for the span.\n * @deprecated Use `spanToJSON(span).atttributes` instead.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n /**\n * List of spans that were finalized\n *\n * @deprecated This property will no longer be public. Span recording will be handled internally.\n */\n\n /**\n * @inheritDoc\n * @deprecated Use top level `Sentry.getRootSpan()` instead\n */\n\n /**\n * The instrumenter that created this span.\n *\n * TODO (v8): This can probably be replaced by an `instanceOf` check of the span class.\n * the instrumenter can only be sentry or otel so we can check the span instance\n * to verify which one it is and remove this field entirely.\n *\n * @deprecated This field will be removed.\n */\n\n /** Epoch timestamp in seconds when the span started. */\n\n /** Epoch timestamp in seconds when the span ended. */\n\n /** Internal keeper of the status */\n\n /**\n * You should never call the constructor manually, always use `Sentry.startTransaction()`\n * or call `startChild()` on an existing span.\n * @internal\n * @hideconstructor\n * @hidden\n */\n constructor(spanContext = {}) {\n this._traceId = spanContext.traceId || uuid4();\n this._spanId = spanContext.spanId || uuid4().substring(16);\n this._startTime = spanContext.startTimestamp || timestampInSeconds();\n // eslint-disable-next-line deprecation/deprecation\n this.tags = spanContext.tags ? { ...spanContext.tags } : {};\n // eslint-disable-next-line deprecation/deprecation\n this.data = spanContext.data ? { ...spanContext.data } : {};\n // eslint-disable-next-line deprecation/deprecation\n this.instrumenter = spanContext.instrumenter || 'sentry';\n\n this._attributes = {};\n this.setAttributes({\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: spanContext.origin || 'manual',\n [SEMANTIC_ATTRIBUTE_SENTRY_OP]: spanContext.op,\n ...spanContext.attributes,\n });\n\n // eslint-disable-next-line deprecation/deprecation\n this._name = spanContext.name || spanContext.description;\n\n if (spanContext.parentSpanId) {\n this._parentSpanId = spanContext.parentSpanId;\n }\n // We want to include booleans as well here\n if ('sampled' in spanContext) {\n this._sampled = spanContext.sampled;\n }\n if (spanContext.status) {\n this._status = spanContext.status;\n }\n if (spanContext.endTimestamp) {\n this._endTime = spanContext.endTimestamp;\n }\n if (spanContext.exclusiveTime) {\n this._exclusiveTime = spanContext.exclusiveTime;\n }\n this._measurements = spanContext.measurements ? { ...spanContext.measurements } : {};\n }\n\n // This rule conflicts with another eslint rule :(\n /* eslint-disable @typescript-eslint/member-ordering */\n\n /**\n * An alias for `description` of the Span.\n * @deprecated Use `spanToJSON(span).description` instead.\n */\n get name() {\n return this._name || '';\n }\n\n /**\n * Update the name of the span.\n * @deprecated Use `spanToJSON(span).description` instead.\n */\n set name(name) {\n this.updateName(name);\n }\n\n /**\n * Get the description of the Span.\n * @deprecated Use `spanToJSON(span).description` instead.\n */\n get description() {\n return this._name;\n }\n\n /**\n * Get the description of the Span.\n * @deprecated Use `spanToJSON(span).description` instead.\n */\n set description(description) {\n this._name = description;\n }\n\n /**\n * The ID of the trace.\n * @deprecated Use `spanContext().traceId` instead.\n */\n get traceId() {\n return this._traceId;\n }\n\n /**\n * The ID of the trace.\n * @deprecated You cannot update the traceId of a span after span creation.\n */\n set traceId(traceId) {\n this._traceId = traceId;\n }\n\n /**\n * The ID of the span.\n * @deprecated Use `spanContext().spanId` instead.\n */\n get spanId() {\n return this._spanId;\n }\n\n /**\n * The ID of the span.\n * @deprecated You cannot update the spanId of a span after span creation.\n */\n set spanId(spanId) {\n this._spanId = spanId;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `startSpan` functions instead.\n */\n set parentSpanId(string) {\n this._parentSpanId = string;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `spanToJSON(span).parent_span_id` instead.\n */\n get parentSpanId() {\n return this._parentSpanId;\n }\n\n /**\n * Was this span chosen to be sent as part of the sample?\n * @deprecated Use `isRecording()` instead.\n */\n get sampled() {\n return this._sampled;\n }\n\n /**\n * Was this span chosen to be sent as part of the sample?\n * @deprecated You cannot update the sampling decision of a span after span creation.\n */\n set sampled(sampled) {\n this._sampled = sampled;\n }\n\n /**\n * Attributes for the span.\n * @deprecated Use `spanToJSON(span).atttributes` instead.\n */\n get attributes() {\n return this._attributes;\n }\n\n /**\n * Attributes for the span.\n * @deprecated Use `setAttributes()` instead.\n */\n set attributes(attributes) {\n this._attributes = attributes;\n }\n\n /**\n * Timestamp in seconds (epoch time) indicating when the span started.\n * @deprecated Use `spanToJSON()` instead.\n */\n get startTimestamp() {\n return this._startTime;\n }\n\n /**\n * Timestamp in seconds (epoch time) indicating when the span started.\n * @deprecated In v8, you will not be able to update the span start time after creation.\n */\n set startTimestamp(startTime) {\n this._startTime = startTime;\n }\n\n /**\n * Timestamp in seconds when the span ended.\n * @deprecated Use `spanToJSON()` instead.\n */\n get endTimestamp() {\n return this._endTime;\n }\n\n /**\n * Timestamp in seconds when the span ended.\n * @deprecated Set the end time via `span.end()` instead.\n */\n set endTimestamp(endTime) {\n this._endTime = endTime;\n }\n\n /**\n * The status of the span.\n *\n * @deprecated Use `spanToJSON().status` instead to get the status.\n */\n get status() {\n return this._status;\n }\n\n /**\n * The status of the span.\n *\n * @deprecated Use `.setStatus()` instead to set or update the status.\n */\n set status(status) {\n this._status = status;\n }\n\n /**\n * Operation of the span\n *\n * @deprecated Use `spanToJSON().op` to read the op instead.\n */\n get op() {\n return this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_OP] ;\n }\n\n /**\n * Operation of the span\n *\n * @deprecated Use `startSpan()` functions to set or `span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_OP, 'op')\n * to update the span instead.\n */\n set op(op) {\n this.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_OP, op);\n }\n\n /**\n * The origin of the span, giving context about what created the span.\n *\n * @deprecated Use `spanToJSON().origin` to read the origin instead.\n */\n get origin() {\n return this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN] ;\n }\n\n /**\n * The origin of the span, giving context about what created the span.\n *\n * @deprecated Use `startSpan()` functions to set the origin instead.\n */\n set origin(origin) {\n this.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, origin);\n }\n\n /* eslint-enable @typescript-eslint/member-ordering */\n\n /** @inheritdoc */\n spanContext() {\n const { _spanId: spanId, _traceId: traceId, _sampled: sampled } = this;\n return {\n spanId,\n traceId,\n traceFlags: sampled ? TRACE_FLAG_SAMPLED : TRACE_FLAG_NONE,\n };\n }\n\n /**\n * Creates a new `Span` while setting the current `Span.id` as `parentSpanId`.\n * Also the `sampled` decision will be inherited.\n *\n * @deprecated Use `startSpan()`, `startSpanManual()` or `startInactiveSpan()` instead.\n */\n startChild(\n spanContext,\n ) {\n const childSpan = new Span({\n ...spanContext,\n parentSpanId: this._spanId,\n sampled: this._sampled,\n traceId: this._traceId,\n });\n\n // eslint-disable-next-line deprecation/deprecation\n childSpan.spanRecorder = this.spanRecorder;\n // eslint-disable-next-line deprecation/deprecation\n if (childSpan.spanRecorder) {\n // eslint-disable-next-line deprecation/deprecation\n childSpan.spanRecorder.add(childSpan);\n }\n\n const rootSpan = getRootSpan(this);\n // TODO: still set span.transaction here until we have a more permanent solution\n // Probably similarly to the weakmap we hold in node-experimental\n // eslint-disable-next-line deprecation/deprecation\n childSpan.transaction = rootSpan ;\n\n if (DEBUG_BUILD && rootSpan) {\n const opStr = (spanContext && spanContext.op) || '< unknown op >';\n const nameStr = spanToJSON(childSpan).description || '< unknown name >';\n const idStr = rootSpan.spanContext().spanId;\n\n const logMessage = `[Tracing] Starting '${opStr}' span on transaction '${nameStr}' (${idStr}).`;\n logger.log(logMessage);\n this._logMessage = logMessage;\n }\n\n return childSpan;\n }\n\n /**\n * Sets the tag attribute on the current span.\n *\n * Can also be used to unset a tag, by passing `undefined`.\n *\n * @param key Tag key\n * @param value Tag value\n * @deprecated Use `setAttribute()` instead.\n */\n setTag(key, value) {\n // eslint-disable-next-line deprecation/deprecation\n this.tags = { ...this.tags, [key]: value };\n return this;\n }\n\n /**\n * Sets the data attribute on the current span\n * @param key Data key\n * @param value Data value\n * @deprecated Use `setAttribute()` instead.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n setData(key, value) {\n // eslint-disable-next-line deprecation/deprecation\n this.data = { ...this.data, [key]: value };\n return this;\n }\n\n /** @inheritdoc */\n setAttribute(key, value) {\n if (value === undefined) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._attributes[key];\n } else {\n this._attributes[key] = value;\n }\n }\n\n /** @inheritdoc */\n setAttributes(attributes) {\n Object.keys(attributes).forEach(key => this.setAttribute(key, attributes[key]));\n }\n\n /**\n * @inheritDoc\n */\n setStatus(value) {\n this._status = value;\n return this;\n }\n\n /**\n * @inheritDoc\n * @deprecated Use top-level `setHttpStatus()` instead.\n */\n setHttpStatus(httpStatus) {\n setHttpStatus(this, httpStatus);\n return this;\n }\n\n /**\n * @inheritdoc\n *\n * @deprecated Use `.updateName()` instead.\n */\n setName(name) {\n this.updateName(name);\n }\n\n /**\n * @inheritDoc\n */\n updateName(name) {\n this._name = name;\n return this;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `spanToJSON(span).status === 'ok'` instead.\n */\n isSuccess() {\n return this._status === 'ok';\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `.end()` instead.\n */\n finish(endTimestamp) {\n return this.end(endTimestamp);\n }\n\n /** @inheritdoc */\n end(endTimestamp) {\n // If already ended, skip\n if (this._endTime) {\n return;\n }\n const rootSpan = getRootSpan(this);\n if (\n DEBUG_BUILD &&\n // Don't call this for transactions\n rootSpan &&\n rootSpan.spanContext().spanId !== this._spanId\n ) {\n const logMessage = this._logMessage;\n if (logMessage) {\n logger.log((logMessage ).replace('Starting', 'Finishing'));\n }\n }\n\n this._endTime = spanTimeInputToSeconds(endTimestamp);\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `spanToTraceHeader()` instead.\n */\n toTraceparent() {\n return spanToTraceHeader(this);\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `spanToJSON()` or access the fields directly instead.\n */\n toContext() {\n return dropUndefinedKeys({\n data: this._getData(),\n description: this._name,\n endTimestamp: this._endTime,\n // eslint-disable-next-line deprecation/deprecation\n op: this.op,\n parentSpanId: this._parentSpanId,\n sampled: this._sampled,\n spanId: this._spanId,\n startTimestamp: this._startTime,\n status: this._status,\n // eslint-disable-next-line deprecation/deprecation\n tags: this.tags,\n traceId: this._traceId,\n });\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Update the fields directly instead.\n */\n updateWithContext(spanContext) {\n // eslint-disable-next-line deprecation/deprecation\n this.data = spanContext.data || {};\n // eslint-disable-next-line deprecation/deprecation\n this._name = spanContext.name || spanContext.description;\n this._endTime = spanContext.endTimestamp;\n // eslint-disable-next-line deprecation/deprecation\n this.op = spanContext.op;\n this._parentSpanId = spanContext.parentSpanId;\n this._sampled = spanContext.sampled;\n this._spanId = spanContext.spanId || this._spanId;\n this._startTime = spanContext.startTimestamp || this._startTime;\n this._status = spanContext.status;\n // eslint-disable-next-line deprecation/deprecation\n this.tags = spanContext.tags || {};\n this._traceId = spanContext.traceId || this._traceId;\n\n return this;\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use `spanToTraceContext()` util function instead.\n */\n getTraceContext() {\n return spanToTraceContext(this);\n }\n\n /**\n * Get JSON representation of this span.\n *\n * @hidden\n * @internal This method is purely for internal purposes and should not be used outside\n * of SDK code. If you need to get a JSON representation of a span,\n * use `spanToJSON(span)` instead.\n */\n getSpanJSON() {\n return dropUndefinedKeys({\n data: this._getData(),\n description: this._name,\n op: this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_OP] ,\n parent_span_id: this._parentSpanId,\n span_id: this._spanId,\n start_timestamp: this._startTime,\n status: this._status,\n // eslint-disable-next-line deprecation/deprecation\n tags: Object.keys(this.tags).length > 0 ? this.tags : undefined,\n timestamp: this._endTime,\n trace_id: this._traceId,\n origin: this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN] ,\n _metrics_summary: getMetricSummaryJsonForSpan(this),\n profile_id: this._attributes[SEMANTIC_ATTRIBUTE_PROFILE_ID] ,\n exclusive_time: this._exclusiveTime,\n measurements: Object.keys(this._measurements).length > 0 ? this._measurements : undefined,\n });\n }\n\n /** @inheritdoc */\n isRecording() {\n return !this._endTime && !!this._sampled;\n }\n\n /**\n * Convert the object to JSON.\n * @deprecated Use `spanToJSON(span)` instead.\n */\n toJSON() {\n return this.getSpanJSON();\n }\n\n /**\n * Get the merged data for this span.\n * For now, this combines `data` and `attributes` together,\n * until eventually we can ingest `attributes` directly.\n */\n _getData()\n\n {\n // eslint-disable-next-line deprecation/deprecation\n const { data, _attributes: attributes } = this;\n\n const hasData = Object.keys(data).length > 0;\n const hasAttributes = Object.keys(attributes).length > 0;\n\n if (!hasData && !hasAttributes) {\n return undefined;\n }\n\n if (hasData && hasAttributes) {\n return {\n ...data,\n ...attributes,\n };\n }\n\n return hasData ? data : attributes;\n }\n}\n\nexport { Span, SpanRecorder };\n//# sourceMappingURL=span.js.map\n","import { tracingContextFromHeaders, logger, dropUndefinedKeys, addNonEnumerableProperty } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { getCurrentHub, runWithAsyncContext, getIsolationScope } from '../hub.js';\nimport { spanToJSON, spanIsSampled, spanTimeInputToSeconds } from '../utils/spanUtils.js';\nimport './errors.js';\nimport './spanstatus.js';\nimport { getDynamicSamplingContextFromSpan } from './dynamicSamplingContext.js';\nimport { getCurrentScope, withScope } from '../exports.js';\nimport { handleCallbackErrors } from '../utils/handleCallbackErrors.js';\nimport { hasTracingEnabled } from '../utils/hasTracingEnabled.js';\n\n/**\n * Wraps a function with a transaction/span and finishes the span after the function is done.\n *\n * Note that if you have not enabled tracing extensions via `addTracingExtensions`\n * or you didn't set `tracesSampleRate`, this function will not generate spans\n * and the `span` returned from the callback will be undefined.\n *\n * This function is meant to be used internally and may break at any time. Use at your own risk.\n *\n * @internal\n * @private\n *\n * @deprecated Use `startSpan` instead.\n */\nfunction trace(\n context,\n callback,\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n onError = () => {},\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n afterFinish = () => {},\n) {\n // eslint-disable-next-line deprecation/deprecation\n const hub = getCurrentHub();\n const scope = getCurrentScope();\n // eslint-disable-next-line deprecation/deprecation\n const parentSpan = scope.getSpan();\n\n const spanContext = normalizeContext(context);\n const activeSpan = createChildSpanOrTransaction(hub, {\n parentSpan,\n spanContext,\n forceTransaction: false,\n scope,\n });\n\n // eslint-disable-next-line deprecation/deprecation\n scope.setSpan(activeSpan);\n\n return handleCallbackErrors(\n () => callback(activeSpan),\n error => {\n activeSpan && activeSpan.setStatus('internal_error');\n onError(error, activeSpan);\n },\n () => {\n activeSpan && activeSpan.end();\n // eslint-disable-next-line deprecation/deprecation\n scope.setSpan(parentSpan);\n afterFinish();\n },\n );\n}\n\n/**\n * Wraps a function with a transaction/span and finishes the span after the function is done.\n * The created span is the active span and will be used as parent by other spans created inside the function\n * and can be accessed via `Sentry.getSpan()`, as long as the function is executed while the scope is active.\n *\n * If you want to create a span that is not set as active, use {@link startInactiveSpan}.\n *\n * Note that if you have not enabled tracing extensions via `addTracingExtensions`\n * or you didn't set `tracesSampleRate`, this function will not generate spans\n * and the `span` returned from the callback will be undefined.\n */\nfunction startSpan(context, callback) {\n const spanContext = normalizeContext(context);\n\n return runWithAsyncContext(() => {\n return withScope(context.scope, scope => {\n // eslint-disable-next-line deprecation/deprecation\n const hub = getCurrentHub();\n // eslint-disable-next-line deprecation/deprecation\n const parentSpan = scope.getSpan();\n\n const shouldSkipSpan = context.onlyIfParent && !parentSpan;\n const activeSpan = shouldSkipSpan\n ? undefined\n : createChildSpanOrTransaction(hub, {\n parentSpan,\n spanContext,\n forceTransaction: context.forceTransaction,\n scope,\n });\n\n return handleCallbackErrors(\n () => callback(activeSpan),\n () => {\n // Only update the span status if it hasn't been changed yet\n if (activeSpan) {\n const { status } = spanToJSON(activeSpan);\n if (!status || status === 'ok') {\n activeSpan.setStatus('internal_error');\n }\n }\n },\n () => activeSpan && activeSpan.end(),\n );\n });\n });\n}\n\n/**\n * @deprecated Use {@link startSpan} instead.\n */\nconst startActiveSpan = startSpan;\n\n/**\n * Similar to `Sentry.startSpan`. Wraps a function with a transaction/span, but does not finish the span\n * after the function is done automatically. You'll have to call `span.end()` manually.\n *\n * The created span is the active span and will be used as parent by other spans created inside the function\n * and can be accessed via `Sentry.getActiveSpan()`, as long as the function is executed while the scope is active.\n *\n * Note that if you have not enabled tracing extensions via `addTracingExtensions`\n * or you didn't set `tracesSampleRate`, this function will not generate spans\n * and the `span` returned from the callback will be undefined.\n */\nfunction startSpanManual(\n context,\n callback,\n) {\n const spanContext = normalizeContext(context);\n\n return runWithAsyncContext(() => {\n return withScope(context.scope, scope => {\n // eslint-disable-next-line deprecation/deprecation\n const hub = getCurrentHub();\n // eslint-disable-next-line deprecation/deprecation\n const parentSpan = scope.getSpan();\n\n const shouldSkipSpan = context.onlyIfParent && !parentSpan;\n const activeSpan = shouldSkipSpan\n ? undefined\n : createChildSpanOrTransaction(hub, {\n parentSpan,\n spanContext,\n forceTransaction: context.forceTransaction,\n scope,\n });\n\n function finishAndSetSpan() {\n activeSpan && activeSpan.end();\n }\n\n return handleCallbackErrors(\n () => callback(activeSpan, finishAndSetSpan),\n () => {\n // Only update the span status if it hasn't been changed yet, and the span is not yet finished\n if (activeSpan && activeSpan.isRecording()) {\n const { status } = spanToJSON(activeSpan);\n if (!status || status === 'ok') {\n activeSpan.setStatus('internal_error');\n }\n }\n },\n );\n });\n });\n}\n\n/**\n * Creates a span. This span is not set as active, so will not get automatic instrumentation spans\n * as children or be able to be accessed via `Sentry.getSpan()`.\n *\n * If you want to create a span that is set as active, use {@link startSpan}.\n *\n * Note that if you have not enabled tracing extensions via `addTracingExtensions`\n * or you didn't set `tracesSampleRate` or `tracesSampler`, this function will not generate spans\n * and the `span` returned from the callback will be undefined.\n */\nfunction startInactiveSpan(context) {\n if (!hasTracingEnabled()) {\n return undefined;\n }\n\n const spanContext = normalizeContext(context);\n // eslint-disable-next-line deprecation/deprecation\n const hub = getCurrentHub();\n const parentSpan = context.scope\n ? // eslint-disable-next-line deprecation/deprecation\n context.scope.getSpan()\n : getActiveSpan();\n\n const shouldSkipSpan = context.onlyIfParent && !parentSpan;\n\n if (shouldSkipSpan) {\n return undefined;\n }\n\n const scope = context.scope || getCurrentScope();\n\n // Even though we don't actually want to make this span active on the current scope,\n // we need to make it active on a temporary scope that we use for event processing\n // as otherwise, it won't pick the correct span for the event when processing it\n const temporaryScope = (scope ).clone();\n\n return createChildSpanOrTransaction(hub, {\n parentSpan,\n spanContext,\n forceTransaction: context.forceTransaction,\n scope: temporaryScope,\n });\n}\n\n/**\n * Returns the currently active span.\n */\nfunction getActiveSpan() {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentScope().getSpan();\n}\n\nconst continueTrace = (\n {\n sentryTrace,\n baggage,\n }\n\n,\n callback,\n) => {\n // TODO(v8): Change this function so it doesn't do anything besides setting the propagation context on the current scope:\n /*\n return withScope((scope) => {\n const propagationContext = propagationContextFromHeaders(sentryTrace, baggage);\n scope.setPropagationContext(propagationContext);\n return callback();\n })\n */\n\n const currentScope = getCurrentScope();\n\n // eslint-disable-next-line deprecation/deprecation\n const { traceparentData, dynamicSamplingContext, propagationContext } = tracingContextFromHeaders(\n sentryTrace,\n baggage,\n );\n\n currentScope.setPropagationContext(propagationContext);\n\n if (DEBUG_BUILD && traceparentData) {\n logger.log(`[Tracing] Continuing trace ${traceparentData.traceId}.`);\n }\n\n const transactionContext = {\n ...traceparentData,\n metadata: dropUndefinedKeys({\n dynamicSamplingContext,\n }),\n };\n\n if (!callback) {\n return transactionContext;\n }\n\n return runWithAsyncContext(() => {\n return callback(transactionContext);\n });\n};\n\nfunction createChildSpanOrTransaction(\n hub,\n {\n parentSpan,\n spanContext,\n forceTransaction,\n scope,\n }\n\n,\n) {\n if (!hasTracingEnabled()) {\n return undefined;\n }\n\n const isolationScope = getIsolationScope();\n\n let span;\n if (parentSpan && !forceTransaction) {\n // eslint-disable-next-line deprecation/deprecation\n span = parentSpan.startChild(spanContext);\n } else if (parentSpan) {\n // If we forced a transaction but have a parent span, make sure to continue from the parent span, not the scope\n const dsc = getDynamicSamplingContextFromSpan(parentSpan);\n const { traceId, spanId: parentSpanId } = parentSpan.spanContext();\n const sampled = spanIsSampled(parentSpan);\n\n // eslint-disable-next-line deprecation/deprecation\n span = hub.startTransaction({\n traceId,\n parentSpanId,\n parentSampled: sampled,\n ...spanContext,\n metadata: {\n dynamicSamplingContext: dsc,\n // eslint-disable-next-line deprecation/deprecation\n ...spanContext.metadata,\n },\n });\n } else {\n const { traceId, dsc, parentSpanId, sampled } = {\n ...isolationScope.getPropagationContext(),\n ...scope.getPropagationContext(),\n };\n\n // eslint-disable-next-line deprecation/deprecation\n span = hub.startTransaction({\n traceId,\n parentSpanId,\n parentSampled: sampled,\n ...spanContext,\n metadata: {\n dynamicSamplingContext: dsc,\n // eslint-disable-next-line deprecation/deprecation\n ...spanContext.metadata,\n },\n });\n }\n\n // We always set this as active span on the scope\n // In the case of this being an inactive span, we ensure to pass a detached scope in here in the first place\n // But by having this here, we can ensure that the lookup through `getCapturedScopesOnSpan` results in the correct scope & span combo\n // eslint-disable-next-line deprecation/deprecation\n scope.setSpan(span);\n\n setCapturedScopesOnSpan(span, scope, isolationScope);\n\n return span;\n}\n\n/**\n * This converts StartSpanOptions to TransactionContext.\n * For the most part (for now) we accept the same options,\n * but some of them need to be transformed.\n *\n * Eventually the StartSpanOptions will be more aligned with OpenTelemetry.\n */\nfunction normalizeContext(context) {\n if (context.startTime) {\n const ctx = { ...context };\n ctx.startTimestamp = spanTimeInputToSeconds(context.startTime);\n delete ctx.startTime;\n return ctx;\n }\n\n return context;\n}\n\nconst SCOPE_ON_START_SPAN_FIELD = '_sentryScope';\nconst ISOLATION_SCOPE_ON_START_SPAN_FIELD = '_sentryIsolationScope';\n\nfunction setCapturedScopesOnSpan(span, scope, isolationScope) {\n if (span) {\n addNonEnumerableProperty(span, ISOLATION_SCOPE_ON_START_SPAN_FIELD, isolationScope);\n addNonEnumerableProperty(span, SCOPE_ON_START_SPAN_FIELD, scope);\n }\n}\n\n/**\n * Grabs the scope and isolation scope off a span that were active when the span was started.\n */\nfunction getCapturedScopesOnSpan(span) {\n return {\n scope: (span )[SCOPE_ON_START_SPAN_FIELD],\n isolationScope: (span )[ISOLATION_SCOPE_ON_START_SPAN_FIELD],\n };\n}\n\nexport { continueTrace, getActiveSpan, getCapturedScopesOnSpan, startActiveSpan, startInactiveSpan, startSpan, startSpanManual, trace };\n//# sourceMappingURL=trace.js.map\n","import { dropUndefinedKeys, logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { getCurrentHub } from '../hub.js';\nimport { getMetricSummaryJsonForSpan } from '../metrics/metric-summary.js';\nimport { SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE } from '../semanticAttributes.js';\nimport { spanTimeInputToSeconds, spanToJSON, spanToTraceContext } from '../utils/spanUtils.js';\nimport { getDynamicSamplingContextFromSpan } from './dynamicSamplingContext.js';\nimport { Span, SpanRecorder } from './span.js';\nimport { getCapturedScopesOnSpan } from './trace.js';\n\n/** JSDoc */\nclass Transaction extends Span {\n /**\n * The reference to the current hub.\n */\n\n // DO NOT yet remove this property, it is used in a hack for v7 backwards compatibility.\n\n /**\n * This constructor should never be called manually. Those instrumenting tracing should use\n * `Sentry.startTransaction()`, and internal methods should use `hub.startTransaction()`.\n * @internal\n * @hideconstructor\n * @hidden\n *\n * @deprecated Transactions will be removed in v8. Use spans instead.\n */\n constructor(transactionContext, hub) {\n super(transactionContext);\n this._contexts = {};\n\n // eslint-disable-next-line deprecation/deprecation\n this._hub = hub || getCurrentHub();\n\n this._name = transactionContext.name || '';\n\n this._metadata = {\n // eslint-disable-next-line deprecation/deprecation\n ...transactionContext.metadata,\n };\n\n this._trimEnd = transactionContext.trimEnd;\n\n // this is because transactions are also spans, and spans have a transaction pointer\n // TODO (v8): Replace this with another way to set the root span\n // eslint-disable-next-line deprecation/deprecation\n this.transaction = this;\n\n // If Dynamic Sampling Context is provided during the creation of the transaction, we freeze it as it usually means\n // there is incoming Dynamic Sampling Context. (Either through an incoming request, a baggage meta-tag, or other means)\n const incomingDynamicSamplingContext = this._metadata.dynamicSamplingContext;\n if (incomingDynamicSamplingContext) {\n // We shallow copy this in case anything writes to the original reference of the passed in `dynamicSamplingContext`\n this._frozenDynamicSamplingContext = { ...incomingDynamicSamplingContext };\n }\n }\n\n // This sadly conflicts with the getter/setter ordering :(\n /* eslint-disable @typescript-eslint/member-ordering */\n\n /**\n * Getter for `name` property.\n * @deprecated Use `spanToJSON(span).description` instead.\n */\n get name() {\n return this._name;\n }\n\n /**\n * Setter for `name` property, which also sets `source` as custom.\n * @deprecated Use `updateName()` and `setMetadata()` instead.\n */\n set name(newName) {\n // eslint-disable-next-line deprecation/deprecation\n this.setName(newName);\n }\n\n /**\n * Get the metadata for this transaction.\n * @deprecated Use `spanGetMetadata(transaction)` instead.\n */\n get metadata() {\n // We merge attributes in for backwards compatibility\n return {\n // Defaults\n // eslint-disable-next-line deprecation/deprecation\n source: 'custom',\n spanMetadata: {},\n\n // Legacy metadata\n ...this._metadata,\n\n // From attributes\n ...(this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE] && {\n source: this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE] ,\n }),\n ...(this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE] && {\n sampleRate: this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE] ,\n }),\n };\n }\n\n /**\n * Update the metadata for this transaction.\n * @deprecated Use `spanGetMetadata(transaction)` instead.\n */\n set metadata(metadata) {\n this._metadata = metadata;\n }\n\n /* eslint-enable @typescript-eslint/member-ordering */\n\n /**\n * Setter for `name` property, which also sets `source` on the metadata.\n *\n * @deprecated Use `.updateName()` and `.setAttribute()` instead.\n */\n setName(name, source = 'custom') {\n this._name = name;\n this.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, source);\n }\n\n /** @inheritdoc */\n updateName(name) {\n this._name = name;\n return this;\n }\n\n /**\n * Attaches SpanRecorder to the span itself\n * @param maxlen maximum number of spans that can be recorded\n */\n initSpanRecorder(maxlen = 1000) {\n // eslint-disable-next-line deprecation/deprecation\n if (!this.spanRecorder) {\n // eslint-disable-next-line deprecation/deprecation\n this.spanRecorder = new SpanRecorder(maxlen);\n }\n // eslint-disable-next-line deprecation/deprecation\n this.spanRecorder.add(this);\n }\n\n /**\n * Set the context of a transaction event.\n * @deprecated Use either `.setAttribute()`, or set the context on the scope before creating the transaction.\n */\n setContext(key, context) {\n if (context === null) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._contexts[key];\n } else {\n this._contexts[key] = context;\n }\n }\n\n /**\n * @inheritDoc\n *\n * @deprecated Use top-level `setMeasurement()` instead.\n */\n setMeasurement(name, value, unit = '') {\n this._measurements[name] = { value, unit };\n }\n\n /**\n * Store metadata on this transaction.\n * @deprecated Use attributes or store data on the scope instead.\n */\n setMetadata(newMetadata) {\n this._metadata = { ...this._metadata, ...newMetadata };\n }\n\n /**\n * @inheritDoc\n */\n end(endTimestamp) {\n const timestampInS = spanTimeInputToSeconds(endTimestamp);\n const transaction = this._finishTransaction(timestampInS);\n if (!transaction) {\n return undefined;\n }\n // eslint-disable-next-line deprecation/deprecation\n return this._hub.captureEvent(transaction);\n }\n\n /**\n * @inheritDoc\n */\n toContext() {\n // eslint-disable-next-line deprecation/deprecation\n const spanContext = super.toContext();\n\n return dropUndefinedKeys({\n ...spanContext,\n name: this._name,\n trimEnd: this._trimEnd,\n });\n }\n\n /**\n * @inheritDoc\n */\n updateWithContext(transactionContext) {\n // eslint-disable-next-line deprecation/deprecation\n super.updateWithContext(transactionContext);\n\n this._name = transactionContext.name || '';\n this._trimEnd = transactionContext.trimEnd;\n\n return this;\n }\n\n /**\n * @inheritdoc\n *\n * @experimental\n *\n * @deprecated Use top-level `getDynamicSamplingContextFromSpan` instead.\n */\n getDynamicSamplingContext() {\n return getDynamicSamplingContextFromSpan(this);\n }\n\n /**\n * Override the current hub with a new one.\n * Used if you want another hub to finish the transaction.\n *\n * @internal\n */\n setHub(hub) {\n this._hub = hub;\n }\n\n /**\n * Get the profile id of the transaction.\n */\n getProfileId() {\n if (this._contexts !== undefined && this._contexts['profile'] !== undefined) {\n return this._contexts['profile'].profile_id ;\n }\n return undefined;\n }\n\n /**\n * Finish the transaction & prepare the event to send to Sentry.\n */\n _finishTransaction(endTimestamp) {\n // This transaction is already finished, so we should not flush it again.\n if (this._endTime !== undefined) {\n return undefined;\n }\n\n if (!this._name) {\n DEBUG_BUILD && logger.warn('Transaction has no name, falling back to ``.');\n this._name = '';\n }\n\n // just sets the end timestamp\n super.end(endTimestamp);\n\n // eslint-disable-next-line deprecation/deprecation\n const client = this._hub.getClient();\n if (client && client.emit) {\n client.emit('finishTransaction', this);\n }\n\n if (this._sampled !== true) {\n // At this point if `sampled !== true` we want to discard the transaction.\n DEBUG_BUILD && logger.log('[Tracing] Discarding transaction because its trace was not chosen to be sampled.');\n\n if (client) {\n client.recordDroppedEvent('sample_rate', 'transaction');\n }\n\n return undefined;\n }\n\n // eslint-disable-next-line deprecation/deprecation\n const finishedSpans = this.spanRecorder\n ? // eslint-disable-next-line deprecation/deprecation\n this.spanRecorder.spans.filter(span => span !== this && spanToJSON(span).timestamp)\n : [];\n\n if (this._trimEnd && finishedSpans.length > 0) {\n const endTimes = finishedSpans.map(span => spanToJSON(span).timestamp).filter(Boolean) ;\n this._endTime = endTimes.reduce((prev, current) => {\n return prev > current ? prev : current;\n });\n }\n\n const { scope: capturedSpanScope, isolationScope: capturedSpanIsolationScope } = getCapturedScopesOnSpan(this);\n\n // eslint-disable-next-line deprecation/deprecation\n const { metadata } = this;\n // eslint-disable-next-line deprecation/deprecation\n const { source } = metadata;\n\n const transaction = {\n contexts: {\n ...this._contexts,\n // We don't want to override trace context\n trace: spanToTraceContext(this),\n },\n // TODO: Pass spans serialized via `spanToJSON()` here instead in v8.\n spans: finishedSpans,\n start_timestamp: this._startTime,\n // eslint-disable-next-line deprecation/deprecation\n tags: this.tags,\n timestamp: this._endTime,\n transaction: this._name,\n type: 'transaction',\n sdkProcessingMetadata: {\n ...metadata,\n capturedSpanScope,\n capturedSpanIsolationScope,\n ...dropUndefinedKeys({\n dynamicSamplingContext: getDynamicSamplingContextFromSpan(this),\n }),\n },\n _metrics_summary: getMetricSummaryJsonForSpan(this),\n ...(source && {\n transaction_info: {\n source,\n },\n }),\n };\n\n const hasMeasurements = Object.keys(this._measurements).length > 0;\n\n if (hasMeasurements) {\n DEBUG_BUILD &&\n logger.log(\n '[Measurements] Adding measurements to transaction',\n JSON.stringify(this._measurements, undefined, 2),\n );\n transaction.measurements = this._measurements;\n }\n\n // eslint-disable-next-line deprecation/deprecation\n DEBUG_BUILD && logger.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`);\n\n return transaction;\n }\n}\n\nexport { Transaction };\n//# sourceMappingURL=transaction.js.map\n","import { logger, timestampInSeconds } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { spanTimeInputToSeconds, spanToJSON } from '../utils/spanUtils.js';\nimport { SpanRecorder } from './span.js';\nimport { Transaction } from './transaction.js';\n\nconst TRACING_DEFAULTS = {\n idleTimeout: 1000,\n finalTimeout: 30000,\n heartbeatInterval: 5000,\n};\n\nconst FINISH_REASON_TAG = 'finishReason';\n\nconst IDLE_TRANSACTION_FINISH_REASONS = [\n 'heartbeatFailed',\n 'idleTimeout',\n 'documentHidden',\n 'finalTimeout',\n 'externalFinish',\n 'cancelled',\n];\n\n/**\n * @inheritDoc\n */\nclass IdleTransactionSpanRecorder extends SpanRecorder {\n constructor(\n _pushActivity,\n _popActivity,\n transactionSpanId,\n maxlen,\n ) {\n super(maxlen);this._pushActivity = _pushActivity;this._popActivity = _popActivity;this.transactionSpanId = transactionSpanId; }\n\n /**\n * @inheritDoc\n */\n add(span) {\n // We should make sure we do not push and pop activities for\n // the transaction that this span recorder belongs to.\n if (span.spanContext().spanId !== this.transactionSpanId) {\n // We patch span.end() to pop an activity after setting an endTimestamp.\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const originalEnd = span.end;\n span.end = (...rest) => {\n this._popActivity(span.spanContext().spanId);\n return originalEnd.apply(span, rest);\n };\n\n // We should only push new activities if the span does not have an end timestamp.\n if (spanToJSON(span).timestamp === undefined) {\n this._pushActivity(span.spanContext().spanId);\n }\n }\n\n super.add(span);\n }\n}\n\n/**\n * An IdleTransaction is a transaction that automatically finishes. It does this by tracking child spans as activities.\n * You can have multiple IdleTransactions active, but if the `onScope` option is specified, the idle transaction will\n * put itself on the scope on creation.\n */\nclass IdleTransaction extends Transaction {\n // Activities store a list of active spans\n\n // Track state of activities in previous heartbeat\n\n // Amount of times heartbeat has counted. Will cause transaction to finish after 3 beats.\n\n // We should not use heartbeat if we finished a transaction\n\n // Idle timeout was canceled and we should finish the transaction with the last span end.\n\n /**\n * Timer that tracks Transaction idleTimeout\n */\n\n /**\n * @deprecated Transactions will be removed in v8. Use spans instead.\n */\n constructor(\n transactionContext,\n _idleHub,\n /**\n * The time to wait in ms until the idle transaction will be finished. This timer is started each time\n * there are no active spans on this transaction.\n */\n _idleTimeout = TRACING_DEFAULTS.idleTimeout,\n /**\n * The final value in ms that a transaction cannot exceed\n */\n _finalTimeout = TRACING_DEFAULTS.finalTimeout,\n _heartbeatInterval = TRACING_DEFAULTS.heartbeatInterval,\n // Whether or not the transaction should put itself on the scope when it starts and pop itself off when it ends\n _onScope = false,\n /**\n * When set to `true`, will disable the idle timeout (`_idleTimeout` option) and heartbeat mechanisms (`_heartbeatInterval`\n * option) until the `sendAutoFinishSignal()` method is called. The final timeout mechanism (`_finalTimeout` option)\n * will not be affected by this option, meaning the transaction will definitely be finished when the final timeout is\n * reached, no matter what this option is configured to.\n *\n * Defaults to `false`.\n */\n delayAutoFinishUntilSignal = false,\n ) {\n super(transactionContext, _idleHub);this._idleHub = _idleHub;this._idleTimeout = _idleTimeout;this._finalTimeout = _finalTimeout;this._heartbeatInterval = _heartbeatInterval;this._onScope = _onScope;\n this.activities = {};\n this._heartbeatCounter = 0;\n this._finished = false;\n this._idleTimeoutCanceledPermanently = false;\n this._beforeFinishCallbacks = [];\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[4];\n this._autoFinishAllowed = !delayAutoFinishUntilSignal;\n\n if (_onScope) {\n // We set the transaction here on the scope so error events pick up the trace\n // context and attach it to the error.\n DEBUG_BUILD && logger.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`);\n // eslint-disable-next-line deprecation/deprecation\n _idleHub.getScope().setSpan(this);\n }\n\n if (!delayAutoFinishUntilSignal) {\n this._restartIdleTimeout();\n }\n\n setTimeout(() => {\n if (!this._finished) {\n this.setStatus('deadline_exceeded');\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[3];\n this.end();\n }\n }, this._finalTimeout);\n }\n\n /** {@inheritDoc} */\n end(endTimestamp) {\n const endTimestampInS = spanTimeInputToSeconds(endTimestamp);\n\n this._finished = true;\n this.activities = {};\n\n // eslint-disable-next-line deprecation/deprecation\n if (this.op === 'ui.action.click') {\n this.setAttribute(FINISH_REASON_TAG, this._finishReason);\n }\n\n // eslint-disable-next-line deprecation/deprecation\n if (this.spanRecorder) {\n DEBUG_BUILD &&\n // eslint-disable-next-line deprecation/deprecation\n logger.log('[Tracing] finishing IdleTransaction', new Date(endTimestampInS * 1000).toISOString(), this.op);\n\n for (const callback of this._beforeFinishCallbacks) {\n callback(this, endTimestampInS);\n }\n\n // eslint-disable-next-line deprecation/deprecation\n this.spanRecorder.spans = this.spanRecorder.spans.filter((span) => {\n // If we are dealing with the transaction itself, we just return it\n if (span.spanContext().spanId === this.spanContext().spanId) {\n return true;\n }\n\n // We cancel all pending spans with status \"cancelled\" to indicate the idle transaction was finished early\n if (!spanToJSON(span).timestamp) {\n span.setStatus('cancelled');\n span.end(endTimestampInS);\n DEBUG_BUILD &&\n logger.log('[Tracing] cancelling span since transaction ended early', JSON.stringify(span, undefined, 2));\n }\n\n const { start_timestamp: startTime, timestamp: endTime } = spanToJSON(span);\n const spanStartedBeforeTransactionFinish = startTime && startTime < endTimestampInS;\n\n // Add a delta with idle timeout so that we prevent false positives\n const timeoutWithMarginOfError = (this._finalTimeout + this._idleTimeout) / 1000;\n const spanEndedBeforeFinalTimeout = endTime && startTime && endTime - startTime < timeoutWithMarginOfError;\n\n if (DEBUG_BUILD) {\n const stringifiedSpan = JSON.stringify(span, undefined, 2);\n if (!spanStartedBeforeTransactionFinish) {\n logger.log('[Tracing] discarding Span since it happened after Transaction was finished', stringifiedSpan);\n } else if (!spanEndedBeforeFinalTimeout) {\n logger.log('[Tracing] discarding Span since it finished after Transaction final timeout', stringifiedSpan);\n }\n }\n\n return spanStartedBeforeTransactionFinish && spanEndedBeforeFinalTimeout;\n });\n\n DEBUG_BUILD && logger.log('[Tracing] flushing IdleTransaction');\n } else {\n DEBUG_BUILD && logger.log('[Tracing] No active IdleTransaction');\n }\n\n // if `this._onScope` is `true`, the transaction put itself on the scope when it started\n if (this._onScope) {\n // eslint-disable-next-line deprecation/deprecation\n const scope = this._idleHub.getScope();\n // eslint-disable-next-line deprecation/deprecation\n if (scope.getTransaction() === this) {\n // eslint-disable-next-line deprecation/deprecation\n scope.setSpan(undefined);\n }\n }\n\n return super.end(endTimestamp);\n }\n\n /**\n * Register a callback function that gets executed before the transaction finishes.\n * Useful for cleanup or if you want to add any additional spans based on current context.\n *\n * This is exposed because users have no other way of running something before an idle transaction\n * finishes.\n */\n registerBeforeFinishCallback(callback) {\n this._beforeFinishCallbacks.push(callback);\n }\n\n /**\n * @inheritDoc\n */\n initSpanRecorder(maxlen) {\n // eslint-disable-next-line deprecation/deprecation\n if (!this.spanRecorder) {\n const pushActivity = (id) => {\n if (this._finished) {\n return;\n }\n this._pushActivity(id);\n };\n const popActivity = (id) => {\n if (this._finished) {\n return;\n }\n this._popActivity(id);\n };\n\n // eslint-disable-next-line deprecation/deprecation\n this.spanRecorder = new IdleTransactionSpanRecorder(pushActivity, popActivity, this.spanContext().spanId, maxlen);\n\n // Start heartbeat so that transactions do not run forever.\n DEBUG_BUILD && logger.log('Starting heartbeat');\n this._pingHeartbeat();\n }\n // eslint-disable-next-line deprecation/deprecation\n this.spanRecorder.add(this);\n }\n\n /**\n * Cancels the existing idle timeout, if there is one.\n * @param restartOnChildSpanChange Default is `true`.\n * If set to false the transaction will end\n * with the last child span.\n */\n cancelIdleTimeout(\n endTimestamp,\n {\n restartOnChildSpanChange,\n }\n\n = {\n restartOnChildSpanChange: true,\n },\n ) {\n this._idleTimeoutCanceledPermanently = restartOnChildSpanChange === false;\n if (this._idleTimeoutID) {\n clearTimeout(this._idleTimeoutID);\n this._idleTimeoutID = undefined;\n\n if (Object.keys(this.activities).length === 0 && this._idleTimeoutCanceledPermanently) {\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[5];\n this.end(endTimestamp);\n }\n }\n }\n\n /**\n * Temporary method used to externally set the transaction's `finishReason`\n *\n * ** WARNING**\n * This is for the purpose of experimentation only and will be removed in the near future, do not use!\n *\n * @internal\n *\n */\n setFinishReason(reason) {\n this._finishReason = reason;\n }\n\n /**\n * Permits the IdleTransaction to automatically end itself via the idle timeout and heartbeat mechanisms when the `delayAutoFinishUntilSignal` option was set to `true`.\n */\n sendAutoFinishSignal() {\n if (!this._autoFinishAllowed) {\n DEBUG_BUILD && logger.log('[Tracing] Received finish signal for idle transaction.');\n this._restartIdleTimeout();\n this._autoFinishAllowed = true;\n }\n }\n\n /**\n * Restarts idle timeout, if there is no running idle timeout it will start one.\n */\n _restartIdleTimeout(endTimestamp) {\n this.cancelIdleTimeout();\n this._idleTimeoutID = setTimeout(() => {\n if (!this._finished && Object.keys(this.activities).length === 0) {\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[1];\n this.end(endTimestamp);\n }\n }, this._idleTimeout);\n }\n\n /**\n * Start tracking a specific activity.\n * @param spanId The span id that represents the activity\n */\n _pushActivity(spanId) {\n this.cancelIdleTimeout(undefined, { restartOnChildSpanChange: !this._idleTimeoutCanceledPermanently });\n DEBUG_BUILD && logger.log(`[Tracing] pushActivity: ${spanId}`);\n this.activities[spanId] = true;\n DEBUG_BUILD && logger.log('[Tracing] new activities count', Object.keys(this.activities).length);\n }\n\n /**\n * Remove an activity from usage\n * @param spanId The span id that represents the activity\n */\n _popActivity(spanId) {\n if (this.activities[spanId]) {\n DEBUG_BUILD && logger.log(`[Tracing] popActivity ${spanId}`);\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this.activities[spanId];\n DEBUG_BUILD && logger.log('[Tracing] new activities count', Object.keys(this.activities).length);\n }\n\n if (Object.keys(this.activities).length === 0) {\n const endTimestamp = timestampInSeconds();\n if (this._idleTimeoutCanceledPermanently) {\n if (this._autoFinishAllowed) {\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[5];\n this.end(endTimestamp);\n }\n } else {\n // We need to add the timeout here to have the real endtimestamp of the transaction\n // Remember timestampInSeconds is in seconds, timeout is in ms\n this._restartIdleTimeout(endTimestamp + this._idleTimeout / 1000);\n }\n }\n }\n\n /**\n * Checks when entries of this.activities are not changing for 3 beats.\n * If this occurs we finish the transaction.\n */\n _beat() {\n // We should not be running heartbeat if the idle transaction is finished.\n if (this._finished) {\n return;\n }\n\n const heartbeatString = Object.keys(this.activities).join('');\n\n if (heartbeatString === this._prevHeartbeatString) {\n this._heartbeatCounter++;\n } else {\n this._heartbeatCounter = 1;\n }\n\n this._prevHeartbeatString = heartbeatString;\n\n if (this._heartbeatCounter >= 3) {\n if (this._autoFinishAllowed) {\n DEBUG_BUILD && logger.log('[Tracing] Transaction finished because of no change for 3 heart beats');\n this.setStatus('deadline_exceeded');\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[0];\n this.end();\n }\n } else {\n this._pingHeartbeat();\n }\n }\n\n /**\n * Pings the heartbeat\n */\n _pingHeartbeat() {\n DEBUG_BUILD && logger.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`);\n setTimeout(() => {\n this._beat();\n }, this._heartbeatInterval);\n }\n}\n\nexport { IdleTransaction, IdleTransactionSpanRecorder, TRACING_DEFAULTS };\n//# sourceMappingURL=idletransaction.js.map\n","import { extractTraceparentData as extractTraceparentData$1 } from '@sentry/utils';\nexport { stripUrlQueryAndFragment } from '@sentry/utils';\nimport { getCurrentHub } from '../hub.js';\n\n/**\n * Grabs active transaction off scope.\n *\n * @deprecated You should not rely on the transaction, but just use `startSpan()` APIs instead.\n */\nfunction getActiveTransaction(maybeHub) {\n // eslint-disable-next-line deprecation/deprecation\n const hub = maybeHub || getCurrentHub();\n // eslint-disable-next-line deprecation/deprecation\n const scope = hub.getScope();\n // eslint-disable-next-line deprecation/deprecation\n return scope.getTransaction() ;\n}\n\n/**\n * The `extractTraceparentData` function and `TRACEPARENT_REGEXP` constant used\n * to be declared in this file. It was later moved into `@sentry/utils` as part of a\n * move to remove `@sentry/tracing` dependencies from `@sentry/node` (`extractTraceparentData`\n * is the only tracing function used by `@sentry/node`).\n *\n * These exports are kept here for backwards compatability's sake.\n *\n * See https://github.com/getsentry/sentry-javascript/issues/4642 for more details.\n *\n * @deprecated Import this function from `@sentry/utils` instead\n */\nconst extractTraceparentData = extractTraceparentData$1;\n\nexport { extractTraceparentData, getActiveTransaction };\n//# sourceMappingURL=utils.js.map\n","import { addGlobalErrorInstrumentationHandler, addGlobalUnhandledRejectionInstrumentationHandler, logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { getActiveTransaction } from './utils.js';\n\nlet errorsInstrumented = false;\n\n/**\n * Configures global error listeners\n */\nfunction registerErrorInstrumentation() {\n if (errorsInstrumented) {\n return;\n }\n\n errorsInstrumented = true;\n addGlobalErrorInstrumentationHandler(errorCallback);\n addGlobalUnhandledRejectionInstrumentationHandler(errorCallback);\n}\n\n/**\n * If an error or unhandled promise occurs, we mark the active transaction as failed\n */\nfunction errorCallback() {\n // eslint-disable-next-line deprecation/deprecation\n const activeTransaction = getActiveTransaction();\n if (activeTransaction) {\n const status = 'internal_error';\n DEBUG_BUILD && logger.log(`[Tracing] Transaction: ${status} -> Global error occured`);\n activeTransaction.setStatus(status);\n }\n}\n\n// The function name will be lost when bundling but we need to be able to identify this listener later to maintain the\n// node.js default exit behaviour\nerrorCallback.tag = 'sentry_tracingErrorCallback';\n\nexport { registerErrorInstrumentation };\n//# sourceMappingURL=errors.js.map\n","import { isNaN, logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE } from '../semanticAttributes.js';\nimport { hasTracingEnabled } from '../utils/hasTracingEnabled.js';\nimport { spanToJSON } from '../utils/spanUtils.js';\n\n/**\n * Makes a sampling decision for the given transaction and stores it on the transaction.\n *\n * Called every time a transaction is created. Only transactions which emerge with a `sampled` value of `true` will be\n * sent to Sentry.\n *\n * This method muttes the given `transaction` and will set the `sampled` value on it.\n * It returns the same transaction, for convenience.\n */\nfunction sampleTransaction(\n transaction,\n options,\n samplingContext,\n) {\n // nothing to do if tracing is not enabled\n if (!hasTracingEnabled(options)) {\n // eslint-disable-next-line deprecation/deprecation\n transaction.sampled = false;\n return transaction;\n }\n\n // if the user has forced a sampling decision by passing a `sampled` value in their transaction context, go with that\n // eslint-disable-next-line deprecation/deprecation\n if (transaction.sampled !== undefined) {\n // eslint-disable-next-line deprecation/deprecation\n transaction.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, Number(transaction.sampled));\n return transaction;\n }\n\n // we would have bailed already if neither `tracesSampler` nor `tracesSampleRate` nor `enableTracing` were defined, so one of these should\n // work; prefer the hook if so\n let sampleRate;\n if (typeof options.tracesSampler === 'function') {\n sampleRate = options.tracesSampler(samplingContext);\n transaction.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, Number(sampleRate));\n } else if (samplingContext.parentSampled !== undefined) {\n sampleRate = samplingContext.parentSampled;\n } else if (typeof options.tracesSampleRate !== 'undefined') {\n sampleRate = options.tracesSampleRate;\n transaction.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, Number(sampleRate));\n } else {\n // When `enableTracing === true`, we use a sample rate of 100%\n sampleRate = 1;\n transaction.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, sampleRate);\n }\n\n // Since this is coming from the user (or from a function provided by the user), who knows what we might get. (The\n // only valid values are booleans or numbers between 0 and 1.)\n if (!isValidSampleRate(sampleRate)) {\n DEBUG_BUILD && logger.warn('[Tracing] Discarding transaction because of invalid sample rate.');\n // eslint-disable-next-line deprecation/deprecation\n transaction.sampled = false;\n return transaction;\n }\n\n // if the function returned 0 (or false), or if `tracesSampleRate` is 0, it's a sign the transaction should be dropped\n if (!sampleRate) {\n DEBUG_BUILD &&\n logger.log(\n `[Tracing] Discarding transaction because ${\n typeof options.tracesSampler === 'function'\n ? 'tracesSampler returned 0 or false'\n : 'a negative sampling decision was inherited or tracesSampleRate is set to 0'\n }`,\n );\n // eslint-disable-next-line deprecation/deprecation\n transaction.sampled = false;\n return transaction;\n }\n\n // Now we roll the dice. Math.random is inclusive of 0, but not of 1, so strict < is safe here. In case sampleRate is\n // a boolean, the < comparison will cause it to be automatically cast to 1 if it's true and 0 if it's false.\n // eslint-disable-next-line deprecation/deprecation\n transaction.sampled = Math.random() < (sampleRate );\n\n // if we're not going to keep it, we're done\n // eslint-disable-next-line deprecation/deprecation\n if (!transaction.sampled) {\n DEBUG_BUILD &&\n logger.log(\n `[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(\n sampleRate,\n )})`,\n );\n return transaction;\n }\n\n DEBUG_BUILD &&\n // eslint-disable-next-line deprecation/deprecation\n logger.log(`[Tracing] starting ${transaction.op} transaction - ${spanToJSON(transaction).description}`);\n return transaction;\n}\n\n/**\n * Checks the given sample rate to make sure it is valid type and value (a boolean, or a number between 0 and 1).\n */\nfunction isValidSampleRate(rate) {\n // we need to check NaN explicitly because it's of type 'number' and therefore wouldn't get caught by this typecheck\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (isNaN(rate) || !(typeof rate === 'number' || typeof rate === 'boolean')) {\n DEBUG_BUILD &&\n logger.warn(\n `[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(\n rate,\n )} of type ${JSON.stringify(typeof rate)}.`,\n );\n return false;\n }\n\n // in case sampleRate is a boolean, it will get automatically cast to 1 if it's true and 0 if it's false\n if (rate < 0 || rate > 1) {\n DEBUG_BUILD &&\n logger.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${rate}.`);\n return false;\n }\n return true;\n}\n\nexport { isValidSampleRate, sampleTransaction };\n//# sourceMappingURL=sampling.js.map\n","import { logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { getMainCarrier } from '../hub.js';\nimport { spanToTraceHeader } from '../utils/spanUtils.js';\nimport { registerErrorInstrumentation } from './errors.js';\nimport { IdleTransaction } from './idletransaction.js';\nimport { sampleTransaction } from './sampling.js';\nimport { Transaction } from './transaction.js';\n\n/** Returns all trace headers that are currently on the top scope. */\nfunction traceHeaders() {\n // eslint-disable-next-line deprecation/deprecation\n const scope = this.getScope();\n // eslint-disable-next-line deprecation/deprecation\n const span = scope.getSpan();\n\n return span\n ? {\n 'sentry-trace': spanToTraceHeader(span),\n }\n : {};\n}\n\n/**\n * Creates a new transaction and adds a sampling decision if it doesn't yet have one.\n *\n * The Hub.startTransaction method delegates to this method to do its work, passing the Hub instance in as `this`, as if\n * it had been called on the hub directly. Exists as a separate function so that it can be injected into the class as an\n * \"extension method.\"\n *\n * @param this: The Hub starting the transaction\n * @param transactionContext: Data used to configure the transaction\n * @param CustomSamplingContext: Optional data to be provided to the `tracesSampler` function (if any)\n *\n * @returns The new transaction\n *\n * @see {@link Hub.startTransaction}\n */\nfunction _startTransaction(\n\n transactionContext,\n customSamplingContext,\n) {\n // eslint-disable-next-line deprecation/deprecation\n const client = this.getClient();\n const options = (client && client.getOptions()) || {};\n\n const configInstrumenter = options.instrumenter || 'sentry';\n const transactionInstrumenter = transactionContext.instrumenter || 'sentry';\n\n if (configInstrumenter !== transactionInstrumenter) {\n DEBUG_BUILD &&\n logger.error(\n `A transaction was started with instrumenter=\\`${transactionInstrumenter}\\`, but the SDK is configured with the \\`${configInstrumenter}\\` instrumenter.\nThe transaction will not be sampled. Please use the ${configInstrumenter} instrumentation to start transactions.`,\n );\n\n // eslint-disable-next-line deprecation/deprecation\n transactionContext.sampled = false;\n }\n\n // eslint-disable-next-line deprecation/deprecation\n let transaction = new Transaction(transactionContext, this);\n transaction = sampleTransaction(transaction, options, {\n name: transactionContext.name,\n parentSampled: transactionContext.parentSampled,\n transactionContext,\n attributes: {\n // eslint-disable-next-line deprecation/deprecation\n ...transactionContext.data,\n ...transactionContext.attributes,\n },\n ...customSamplingContext,\n });\n if (transaction.isRecording()) {\n transaction.initSpanRecorder(options._experiments && (options._experiments.maxSpans ));\n }\n if (client && client.emit) {\n client.emit('startTransaction', transaction);\n }\n return transaction;\n}\n\n/**\n * Create new idle transaction.\n */\nfunction startIdleTransaction(\n hub,\n transactionContext,\n idleTimeout,\n finalTimeout,\n onScope,\n customSamplingContext,\n heartbeatInterval,\n delayAutoFinishUntilSignal = false,\n) {\n // eslint-disable-next-line deprecation/deprecation\n const client = hub.getClient();\n const options = (client && client.getOptions()) || {};\n\n // eslint-disable-next-line deprecation/deprecation\n let transaction = new IdleTransaction(\n transactionContext,\n hub,\n idleTimeout,\n finalTimeout,\n heartbeatInterval,\n onScope,\n delayAutoFinishUntilSignal,\n );\n transaction = sampleTransaction(transaction, options, {\n name: transactionContext.name,\n parentSampled: transactionContext.parentSampled,\n transactionContext,\n attributes: {\n // eslint-disable-next-line deprecation/deprecation\n ...transactionContext.data,\n ...transactionContext.attributes,\n },\n ...customSamplingContext,\n });\n if (transaction.isRecording()) {\n transaction.initSpanRecorder(options._experiments && (options._experiments.maxSpans ));\n }\n if (client && client.emit) {\n client.emit('startTransaction', transaction);\n }\n return transaction;\n}\n\n/**\n * Adds tracing extensions to the global hub.\n */\nfunction addTracingExtensions() {\n const carrier = getMainCarrier();\n if (!carrier.__SENTRY__) {\n return;\n }\n carrier.__SENTRY__.extensions = carrier.__SENTRY__.extensions || {};\n if (!carrier.__SENTRY__.extensions.startTransaction) {\n carrier.__SENTRY__.extensions.startTransaction = _startTransaction;\n }\n if (!carrier.__SENTRY__.extensions.traceHeaders) {\n carrier.__SENTRY__.extensions.traceHeaders = traceHeaders;\n }\n\n registerErrorInstrumentation();\n}\n\nexport { addTracingExtensions, startIdleTransaction };\n//# sourceMappingURL=hubextensions.js.map\n","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nconst DEBUG_BUILD = (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__);\n\nexport { DEBUG_BUILD };\n//# sourceMappingURL=debug-build.js.map\n","import { GLOBAL_OBJ } from '@sentry/utils';\n\nconst WINDOW = GLOBAL_OBJ ;\n\nexport { WINDOW };\n//# sourceMappingURL=types.js.map\n","import { getActiveTransaction, spanToJSON } from '@sentry/core';\nimport { logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../common/debug-build.js';\nimport { WINDOW } from './types.js';\n\n/**\n * Add a listener that cancels and finishes a transaction when the global\n * document is hidden.\n */\nfunction registerBackgroundTabDetection() {\n if (WINDOW && WINDOW.document) {\n WINDOW.document.addEventListener('visibilitychange', () => {\n // eslint-disable-next-line deprecation/deprecation\n const activeTransaction = getActiveTransaction() ;\n if (WINDOW.document.hidden && activeTransaction) {\n const statusType = 'cancelled';\n\n const { op, status } = spanToJSON(activeTransaction);\n\n DEBUG_BUILD &&\n logger.log(`[Tracing] Transaction: ${statusType} -> since tab moved to the background, op: ${op}`);\n // We should not set status if it is already set, this prevent important statuses like\n // error or data loss from being overwritten on transaction.\n if (!status) {\n activeTransaction.setStatus(statusType);\n }\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n activeTransaction.setTag('visibilitychange', 'document.hidden');\n activeTransaction.end();\n }\n });\n } else {\n DEBUG_BUILD && logger.warn('[Tracing] Could not set up background tab detection due to lack of global document');\n }\n}\n\nexport { registerBackgroundTabDetection };\n//# sourceMappingURL=backgroundtab.js.map\n","const bindReporter = (\n callback,\n metric,\n reportAllChanges,\n) => {\n let prevValue;\n let delta;\n return (forceReport) => {\n if (metric.value >= 0) {\n if (forceReport || reportAllChanges) {\n delta = metric.value - (prevValue || 0);\n\n // Report the metric if there's a non-zero delta or if no previous\n // value exists (which can happen in the case of the document becoming\n // hidden when the metric value is 0).\n // See: https://github.com/GoogleChrome/web-vitals/issues/14\n if (delta || prevValue === undefined) {\n prevValue = metric.value;\n metric.delta = delta;\n callback(metric);\n }\n }\n }\n };\n};\n\nexport { bindReporter };\n//# sourceMappingURL=bindReporter.js.map\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Performantly generate a unique, 30-char string by combining a version\n * number, the current timestamp with a 13-digit number integer.\n * @return {string}\n */\nconst generateUniqueID = () => {\n return `v3-${Date.now()}-${Math.floor(Math.random() * (9e12 - 1)) + 1e12}`;\n};\n\nexport { generateUniqueID };\n//# sourceMappingURL=generateUniqueID.js.map\n","import { WINDOW } from '../../types.js';\n\n/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst getNavigationEntryFromPerformanceTiming = () => {\n // eslint-disable-next-line deprecation/deprecation\n const timing = WINDOW.performance.timing;\n // eslint-disable-next-line deprecation/deprecation\n const type = WINDOW.performance.navigation.type;\n\n const navigationEntry = {\n entryType: 'navigation',\n startTime: 0,\n type: type == 2 ? 'back_forward' : type === 1 ? 'reload' : 'navigate',\n };\n\n for (const key in timing) {\n if (key !== 'navigationStart' && key !== 'toJSON') {\n // eslint-disable-next-line deprecation/deprecation\n navigationEntry[key] = Math.max((timing[key ] ) - timing.navigationStart, 0);\n }\n }\n return navigationEntry ;\n};\n\nconst getNavigationEntry = () => {\n if (WINDOW.__WEB_VITALS_POLYFILL__) {\n return (\n WINDOW.performance &&\n ((performance.getEntriesByType && performance.getEntriesByType('navigation')[0]) ||\n getNavigationEntryFromPerformanceTiming())\n );\n } else {\n return WINDOW.performance && performance.getEntriesByType && performance.getEntriesByType('navigation')[0];\n }\n};\n\nexport { getNavigationEntry };\n//# sourceMappingURL=getNavigationEntry.js.map\n","import { getNavigationEntry } from './getNavigationEntry.js';\n\n/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst getActivationStart = () => {\n const navEntry = getNavigationEntry();\n return (navEntry && navEntry.activationStart) || 0;\n};\n\nexport { getActivationStart };\n//# sourceMappingURL=getActivationStart.js.map\n","import { WINDOW } from '../../types.js';\nimport { generateUniqueID } from './generateUniqueID.js';\nimport { getActivationStart } from './getActivationStart.js';\nimport { getNavigationEntry } from './getNavigationEntry.js';\n\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst initMetric = (name, value) => {\n const navEntry = getNavigationEntry();\n let navigationType = 'navigate';\n\n if (navEntry) {\n if (WINDOW.document.prerendering || getActivationStart() > 0) {\n navigationType = 'prerender';\n } else {\n navigationType = navEntry.type.replace(/_/g, '-') ;\n }\n }\n\n return {\n name,\n value: typeof value === 'undefined' ? -1 : value,\n rating: 'good', // Will be updated if the value changes.\n delta: 0,\n entries: [],\n id: generateUniqueID(),\n navigationType,\n };\n};\n\nexport { initMetric };\n//# sourceMappingURL=initMetric.js.map\n","/**\n * Takes a performance entry type and a callback function, and creates a\n * `PerformanceObserver` instance that will observe the specified entry type\n * with buffering enabled and call the callback _for each entry_.\n *\n * This function also feature-detects entry support and wraps the logic in a\n * try/catch to avoid errors in unsupporting browsers.\n */\nconst observe = (\n type,\n callback,\n opts,\n) => {\n try {\n if (PerformanceObserver.supportedEntryTypes.includes(type)) {\n const po = new PerformanceObserver(list => {\n callback(list.getEntries() );\n });\n po.observe(\n Object.assign(\n {\n type,\n buffered: true,\n },\n opts || {},\n ) ,\n );\n return po;\n }\n } catch (e) {\n // Do nothing.\n }\n return;\n};\n\nexport { observe };\n//# sourceMappingURL=observe.js.map\n","import { WINDOW } from '../../types.js';\n\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst onHidden = (cb, once) => {\n const onHiddenOrPageHide = (event) => {\n if (event.type === 'pagehide' || WINDOW.document.visibilityState === 'hidden') {\n cb(event);\n if (once) {\n removeEventListener('visibilitychange', onHiddenOrPageHide, true);\n removeEventListener('pagehide', onHiddenOrPageHide, true);\n }\n }\n };\n addEventListener('visibilitychange', onHiddenOrPageHide, true);\n // Some browsers have buggy implementations of visibilitychange,\n // so we use pagehide in addition, just to be safe.\n addEventListener('pagehide', onHiddenOrPageHide, true);\n};\n\nexport { onHidden };\n//# sourceMappingURL=onHidden.js.map\n","import { bindReporter } from './lib/bindReporter.js';\nimport { initMetric } from './lib/initMetric.js';\nimport { observe } from './lib/observe.js';\nimport { onHidden } from './lib/onHidden.js';\n\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Calculates the [CLS](https://web.dev/cls/) value for the current page and\n * calls the `callback` function once the value is ready to be reported, along\n * with all `layout-shift` performance entries that were used in the metric\n * value calculation. The reported value is a `double` (corresponding to a\n * [layout shift score](https://web.dev/cls/#layout-shift-score)).\n *\n * If the `reportAllChanges` configuration option is set to `true`, the\n * `callback` function will be called as soon as the value is initially\n * determined as well as any time the value changes throughout the page\n * lifespan.\n *\n * _**Important:** CLS should be continually monitored for changes throughout\n * the entire lifespan of a page—including if the user returns to the page after\n * it's been hidden/backgrounded. However, since browsers often [will not fire\n * additional callbacks once the user has backgrounded a\n * page](https://developer.chrome.com/blog/page-lifecycle-api/#advice-hidden),\n * `callback` is always called when the page's visibility state changes to\n * hidden. As a result, the `callback` function might be called multiple times\n * during the same page load._\n */\nconst onCLS = (onReport) => {\n const metric = initMetric('CLS', 0);\n let report;\n\n let sessionValue = 0;\n let sessionEntries = [];\n\n // const handleEntries = (entries: Metric['entries']) => {\n const handleEntries = (entries) => {\n entries.forEach(entry => {\n // Only count layout shifts without recent user input.\n if (!entry.hadRecentInput) {\n const firstSessionEntry = sessionEntries[0];\n const lastSessionEntry = sessionEntries[sessionEntries.length - 1];\n\n // If the entry occurred less than 1 second after the previous entry and\n // less than 5 seconds after the first entry in the session, include the\n // entry in the current session. Otherwise, start a new session.\n if (\n sessionValue &&\n sessionEntries.length !== 0 &&\n entry.startTime - lastSessionEntry.startTime < 1000 &&\n entry.startTime - firstSessionEntry.startTime < 5000\n ) {\n sessionValue += entry.value;\n sessionEntries.push(entry);\n } else {\n sessionValue = entry.value;\n sessionEntries = [entry];\n }\n\n // If the current session value is larger than the current CLS value,\n // update CLS and the entries contributing to it.\n if (sessionValue > metric.value) {\n metric.value = sessionValue;\n metric.entries = sessionEntries;\n if (report) {\n report();\n }\n }\n }\n });\n };\n\n const po = observe('layout-shift', handleEntries);\n if (po) {\n report = bindReporter(onReport, metric);\n\n const stopListening = () => {\n handleEntries(po.takeRecords() );\n report(true);\n };\n\n onHidden(stopListening);\n\n return stopListening;\n }\n\n return;\n};\n\nexport { onCLS };\n//# sourceMappingURL=getCLS.js.map\n","import { WINDOW } from '../../types.js';\nimport { onHidden } from './onHidden.js';\n\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nlet firstHiddenTime = -1;\n\nconst initHiddenTime = () => {\n // If the document is hidden and not prerendering, assume it was always\n // hidden and the page was loaded in the background.\n return WINDOW.document.visibilityState === 'hidden' && !WINDOW.document.prerendering ? 0 : Infinity;\n};\n\nconst trackChanges = () => {\n // Update the time if/when the document becomes hidden.\n onHidden(({ timeStamp }) => {\n firstHiddenTime = timeStamp;\n }, true);\n};\n\nconst getVisibilityWatcher = (\n\n) => {\n if (firstHiddenTime < 0) {\n // If the document is hidden when this code runs, assume it was hidden\n // since navigation start. This isn't a perfect heuristic, but it's the\n // best we can do until an API is available to support querying past\n // visibilityState.\n firstHiddenTime = initHiddenTime();\n trackChanges();\n }\n return {\n get firstHiddenTime() {\n return firstHiddenTime;\n },\n };\n};\n\nexport { getVisibilityWatcher };\n//# sourceMappingURL=getVisibilityWatcher.js.map\n","import { bindReporter } from './lib/bindReporter.js';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher.js';\nimport { initMetric } from './lib/initMetric.js';\nimport { observe } from './lib/observe.js';\nimport { onHidden } from './lib/onHidden.js';\n\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Calculates the [FID](https://web.dev/fid/) value for the current page and\n * calls the `callback` function once the value is ready, along with the\n * relevant `first-input` performance entry used to determine the value. The\n * reported value is a `DOMHighResTimeStamp`.\n *\n * _**Important:** since FID is only reported after the user interacts with the\n * page, it's possible that it will not be reported for some page loads._\n */\nconst onFID = (onReport) => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('FID');\n // eslint-disable-next-line prefer-const\n let report;\n\n const handleEntry = (entry) => {\n // Only report if the page wasn't hidden prior to the first input.\n if (entry.startTime < visibilityWatcher.firstHiddenTime) {\n metric.value = entry.processingStart - entry.startTime;\n metric.entries.push(entry);\n report(true);\n }\n };\n\n const handleEntries = (entries) => {\n (entries ).forEach(handleEntry);\n };\n\n const po = observe('first-input', handleEntries);\n report = bindReporter(onReport, metric);\n\n if (po) {\n onHidden(() => {\n handleEntries(po.takeRecords() );\n po.disconnect();\n }, true);\n }\n};\n\nexport { onFID };\n//# sourceMappingURL=getFID.js.map\n","import { observe } from '../observe.js';\n\nlet interactionCountEstimate = 0;\nlet minKnownInteractionId = Infinity;\nlet maxKnownInteractionId = 0;\n\nconst updateEstimate = (entries) => {\n (entries ).forEach(e => {\n if (e.interactionId) {\n minKnownInteractionId = Math.min(minKnownInteractionId, e.interactionId);\n maxKnownInteractionId = Math.max(maxKnownInteractionId, e.interactionId);\n\n interactionCountEstimate = maxKnownInteractionId ? (maxKnownInteractionId - minKnownInteractionId) / 7 + 1 : 0;\n }\n });\n};\n\nlet po;\n\n/**\n * Returns the `interactionCount` value using the native API (if available)\n * or the polyfill estimate in this module.\n */\nconst getInteractionCount = () => {\n return po ? interactionCountEstimate : performance.interactionCount || 0;\n};\n\n/**\n * Feature detects native support or initializes the polyfill if needed.\n */\nconst initInteractionCountPolyfill = () => {\n if ('interactionCount' in performance || po) return;\n\n po = observe('event', updateEstimate, {\n type: 'event',\n buffered: true,\n durationThreshold: 0,\n } );\n};\n\nexport { getInteractionCount, initInteractionCountPolyfill };\n//# sourceMappingURL=interactionCountPolyfill.js.map\n","import { bindReporter } from './lib/bindReporter.js';\nimport { initMetric } from './lib/initMetric.js';\nimport { observe } from './lib/observe.js';\nimport { onHidden } from './lib/onHidden.js';\nimport { initInteractionCountPolyfill, getInteractionCount } from './lib/polyfills/interactionCountPolyfill.js';\n\n/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Returns the interaction count since the last bfcache restore (or for the\n * full page lifecycle if there were no bfcache restores).\n */\nconst getInteractionCountForNavigation = () => {\n return getInteractionCount();\n};\n\n// To prevent unnecessary memory usage on pages with lots of interactions,\n// store at most 10 of the longest interactions to consider as INP candidates.\nconst MAX_INTERACTIONS_TO_CONSIDER = 10;\n\n// A list of longest interactions on the page (by latency) sorted so the\n// longest one is first. The list is as most MAX_INTERACTIONS_TO_CONSIDER long.\nconst longestInteractionList = [];\n\n// A mapping of longest interactions by their interaction ID.\n// This is used for faster lookup.\nconst longestInteractionMap = {};\n\n/**\n * Takes a performance entry and adds it to the list of worst interactions\n * if its duration is long enough to make it among the worst. If the\n * entry is part of an existing interaction, it is merged and the latency\n * and entries list is updated as needed.\n */\nconst processEntry = (entry) => {\n // The least-long of the 10 longest interactions.\n const minLongestInteraction = longestInteractionList[longestInteractionList.length - 1];\n\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const existingInteraction = longestInteractionMap[entry.interactionId];\n\n // Only process the entry if it's possibly one of the ten longest,\n // or if it's part of an existing interaction.\n if (\n existingInteraction ||\n longestInteractionList.length < MAX_INTERACTIONS_TO_CONSIDER ||\n entry.duration > minLongestInteraction.latency\n ) {\n // If the interaction already exists, update it. Otherwise create one.\n if (existingInteraction) {\n existingInteraction.entries.push(entry);\n existingInteraction.latency = Math.max(existingInteraction.latency, entry.duration);\n } else {\n const interaction = {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n id: entry.interactionId,\n latency: entry.duration,\n entries: [entry],\n };\n longestInteractionMap[interaction.id] = interaction;\n longestInteractionList.push(interaction);\n }\n\n // Sort the entries by latency (descending) and keep only the top ten.\n longestInteractionList.sort((a, b) => b.latency - a.latency);\n longestInteractionList.splice(MAX_INTERACTIONS_TO_CONSIDER).forEach(i => {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete longestInteractionMap[i.id];\n });\n }\n};\n\n/**\n * Returns the estimated p98 longest interaction based on the stored\n * interaction candidates and the interaction count for the current page.\n */\nconst estimateP98LongestInteraction = () => {\n const candidateInteractionIndex = Math.min(\n longestInteractionList.length - 1,\n Math.floor(getInteractionCountForNavigation() / 50),\n );\n\n return longestInteractionList[candidateInteractionIndex];\n};\n\n/**\n * Calculates the [INP](https://web.dev/responsiveness/) value for the current\n * page and calls the `callback` function once the value is ready, along with\n * the `event` performance entries reported for that interaction. The reported\n * value is a `DOMHighResTimeStamp`.\n *\n * A custom `durationThreshold` configuration option can optionally be passed to\n * control what `event-timing` entries are considered for INP reporting. The\n * default threshold is `40`, which means INP scores of less than 40 are\n * reported as 0. Note that this will not affect your 75th percentile INP value\n * unless that value is also less than 40 (well below the recommended\n * [good](https://web.dev/inp/#what-is-a-good-inp-score) threshold).\n *\n * If the `reportAllChanges` configuration option is set to `true`, the\n * `callback` function will be called as soon as the value is initially\n * determined as well as any time the value changes throughout the page\n * lifespan.\n *\n * _**Important:** INP should be continually monitored for changes throughout\n * the entire lifespan of a page—including if the user returns to the page after\n * it's been hidden/backgrounded. However, since browsers often [will not fire\n * additional callbacks once the user has backgrounded a\n * page](https://developer.chrome.com/blog/page-lifecycle-api/#advice-hidden),\n * `callback` is always called when the page's visibility state changes to\n * hidden. As a result, the `callback` function might be called multiple times\n * during the same page load._\n */\nconst onINP = (onReport, opts) => {\n // Set defaults\n // eslint-disable-next-line no-param-reassign\n opts = opts || {};\n\n // https://web.dev/inp/#what's-a-%22good%22-inp-value\n // const thresholds = [200, 500];\n\n // TODO(philipwalton): remove once the polyfill is no longer needed.\n initInteractionCountPolyfill();\n\n const metric = initMetric('INP');\n // eslint-disable-next-line prefer-const\n let report;\n\n const handleEntries = (entries) => {\n entries.forEach(entry => {\n if (entry.interactionId) {\n processEntry(entry);\n }\n\n // Entries of type `first-input` don't currently have an `interactionId`,\n // so to consider them in INP we have to first check that an existing\n // entry doesn't match the `duration` and `startTime`.\n // Note that this logic assumes that `event` entries are dispatched\n // before `first-input` entries. This is true in Chrome but it is not\n // true in Firefox; however, Firefox doesn't support interactionId, so\n // it's not an issue at the moment.\n // TODO(philipwalton): remove once crbug.com/1325826 is fixed.\n if (entry.entryType === 'first-input') {\n const noMatchingEntry = !longestInteractionList.some(interaction => {\n return interaction.entries.some(prevEntry => {\n return entry.duration === prevEntry.duration && entry.startTime === prevEntry.startTime;\n });\n });\n if (noMatchingEntry) {\n processEntry(entry);\n }\n }\n });\n\n const inp = estimateP98LongestInteraction();\n\n if (inp && inp.latency !== metric.value) {\n metric.value = inp.latency;\n metric.entries = inp.entries;\n report();\n }\n };\n\n const po = observe('event', handleEntries, {\n // Event Timing entries have their durations rounded to the nearest 8ms,\n // so a duration of 40ms would be any event that spans 2.5 or more frames\n // at 60Hz. This threshold is chosen to strike a balance between usefulness\n // and performance. Running this callback for any interaction that spans\n // just one or two frames is likely not worth the insight that could be\n // gained.\n durationThreshold: opts.durationThreshold || 40,\n } );\n\n report = bindReporter(onReport, metric, opts.reportAllChanges);\n\n if (po) {\n // Also observe entries of type `first-input`. This is useful in cases\n // where the first interaction is less than the `durationThreshold`.\n po.observe({ type: 'first-input', buffered: true });\n\n onHidden(() => {\n handleEntries(po.takeRecords() );\n\n // If the interaction count shows that there were interactions but\n // none were captured by the PerformanceObserver, report a latency of 0.\n if (metric.value < 0 && getInteractionCountForNavigation() > 0) {\n metric.value = 0;\n metric.entries = [];\n }\n\n report(true);\n });\n }\n};\n\nexport { onINP };\n//# sourceMappingURL=getINP.js.map\n","import { bindReporter } from './lib/bindReporter.js';\nimport { getActivationStart } from './lib/getActivationStart.js';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher.js';\nimport { initMetric } from './lib/initMetric.js';\nimport { observe } from './lib/observe.js';\nimport { onHidden } from './lib/onHidden.js';\n\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst reportedMetricIDs = {};\n\n/**\n * Calculates the [LCP](https://web.dev/lcp/) value for the current page and\n * calls the `callback` function once the value is ready (along with the\n * relevant `largest-contentful-paint` performance entry used to determine the\n * value). The reported value is a `DOMHighResTimeStamp`.\n */\nconst onLCP = (onReport) => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('LCP');\n let report;\n\n const handleEntries = (entries) => {\n const lastEntry = entries[entries.length - 1] ;\n if (lastEntry) {\n // The startTime attribute returns the value of the renderTime if it is\n // not 0, and the value of the loadTime otherwise. The activationStart\n // reference is used because LCP should be relative to page activation\n // rather than navigation start if the page was prerendered.\n const value = Math.max(lastEntry.startTime - getActivationStart(), 0);\n\n // Only report if the page wasn't hidden prior to LCP.\n if (value < visibilityWatcher.firstHiddenTime) {\n metric.value = value;\n metric.entries = [lastEntry];\n report();\n }\n }\n };\n\n const po = observe('largest-contentful-paint', handleEntries);\n\n if (po) {\n report = bindReporter(onReport, metric);\n\n const stopListening = () => {\n if (!reportedMetricIDs[metric.id]) {\n handleEntries(po.takeRecords() );\n po.disconnect();\n reportedMetricIDs[metric.id] = true;\n report(true);\n }\n };\n\n // Stop listening after input. Note: while scrolling is an input that\n // stop LCP observation, it's unreliable since it can be programmatically\n // generated. See: https://github.com/GoogleChrome/web-vitals/issues/75\n ['keydown', 'click'].forEach(type => {\n addEventListener(type, stopListening, { once: true, capture: true });\n });\n\n onHidden(stopListening, true);\n\n return stopListening;\n }\n\n return;\n};\n\nexport { onLCP };\n//# sourceMappingURL=getLCP.js.map\n","import { WINDOW } from '../types.js';\nimport { bindReporter } from './lib/bindReporter.js';\nimport { getActivationStart } from './lib/getActivationStart.js';\nimport { getNavigationEntry } from './lib/getNavigationEntry.js';\nimport { initMetric } from './lib/initMetric.js';\n\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Runs in the next task after the page is done loading and/or prerendering.\n * @param callback\n */\nconst whenReady = (callback) => {\n if (!WINDOW.document) {\n return;\n }\n\n if (WINDOW.document.prerendering) {\n addEventListener('prerenderingchange', () => whenReady(callback), true);\n } else if (WINDOW.document.readyState !== 'complete') {\n addEventListener('load', () => whenReady(callback), true);\n } else {\n // Queue a task so the callback runs after `loadEventEnd`.\n setTimeout(callback, 0);\n }\n};\n\n/**\n * Calculates the [TTFB](https://web.dev/time-to-first-byte/) value for the\n * current page and calls the `callback` function once the page has loaded,\n * along with the relevant `navigation` performance entry used to determine the\n * value. The reported value is a `DOMHighResTimeStamp`.\n *\n * Note, this function waits until after the page is loaded to call `callback`\n * in order to ensure all properties of the `navigation` entry are populated.\n * This is useful if you want to report on other metrics exposed by the\n * [Navigation Timing API](https://w3c.github.io/navigation-timing/). For\n * example, the TTFB metric starts from the page's [time\n * origin](https://www.w3.org/TR/hr-time-2/#sec-time-origin), which means it\n * includes time spent on DNS lookup, connection negotiation, network latency,\n * and server processing time.\n */\nconst onTTFB = (onReport, opts) => {\n // Set defaults\n // eslint-disable-next-line no-param-reassign\n opts = opts || {};\n\n // https://web.dev/ttfb/#what-is-a-good-ttfb-score\n // const thresholds = [800, 1800];\n\n const metric = initMetric('TTFB');\n const report = bindReporter(onReport, metric, opts.reportAllChanges);\n\n whenReady(() => {\n const navEntry = getNavigationEntry() ;\n\n if (navEntry) {\n // The activationStart reference is used because TTFB should be\n // relative to page activation rather than navigation start if the\n // page was prerendered. But in cases where `activationStart` occurs\n // after the first byte is received, this time should be clamped at 0.\n metric.value = Math.max(navEntry.responseStart - getActivationStart(), 0);\n\n // In some cases the value reported is negative or is larger\n // than the current page time. Ignore these cases:\n // https://github.com/GoogleChrome/web-vitals/issues/137\n // https://github.com/GoogleChrome/web-vitals/issues/162\n if (metric.value < 0 || metric.value > performance.now()) return;\n\n metric.entries = [navEntry];\n\n report(true);\n }\n });\n};\n\nexport { onTTFB };\n//# sourceMappingURL=onTTFB.js.map\n","import { logger, getFunctionName } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../common/debug-build.js';\nimport { onCLS } from './web-vitals/getCLS.js';\nimport { onFID } from './web-vitals/getFID.js';\nimport { onINP } from './web-vitals/getINP.js';\nimport { onLCP } from './web-vitals/getLCP.js';\nimport { observe } from './web-vitals/lib/observe.js';\nimport { onTTFB } from './web-vitals/onTTFB.js';\n\nconst handlers = {};\nconst instrumented = {};\n\nlet _previousCls;\nlet _previousFid;\nlet _previousLcp;\nlet _previousTtfb;\nlet _previousInp;\n\n/**\n * Add a callback that will be triggered when a CLS metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n *\n * Pass `stopOnCallback = true` to stop listening for CLS when the cleanup callback is called.\n * This will lead to the CLS being finalized and frozen.\n */\nfunction addClsInstrumentationHandler(\n callback,\n stopOnCallback = false,\n) {\n return addMetricObserver('cls', callback, instrumentCls, _previousCls, stopOnCallback);\n}\n\n/**\n * Add a callback that will be triggered when a LCP metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n *\n * Pass `stopOnCallback = true` to stop listening for LCP when the cleanup callback is called.\n * This will lead to the LCP being finalized and frozen.\n */\nfunction addLcpInstrumentationHandler(\n callback,\n stopOnCallback = false,\n) {\n return addMetricObserver('lcp', callback, instrumentLcp, _previousLcp, stopOnCallback);\n}\n\n/**\n * Add a callback that will be triggered when a FID metric is available.\n */\nfunction addTtfbInstrumentationHandler(callback) {\n return addMetricObserver('ttfb', callback, instrumentTtfb, _previousTtfb);\n}\n\n/**\n * Add a callback that will be triggered when a FID metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n */\nfunction addFidInstrumentationHandler(callback) {\n return addMetricObserver('fid', callback, instrumentFid, _previousFid);\n}\n\n/**\n * Add a callback that will be triggered when a INP metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n */\nfunction addInpInstrumentationHandler(\n callback,\n) {\n return addMetricObserver('inp', callback, instrumentInp, _previousInp);\n}\n\n/**\n * Add a callback that will be triggered when a performance observer is triggered,\n * and receives the entries of the observer.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n */\nfunction addPerformanceInstrumentationHandler(\n type,\n callback,\n) {\n addHandler(type, callback);\n\n if (!instrumented[type]) {\n instrumentPerformanceObserver(type);\n instrumented[type] = true;\n }\n\n return getCleanupCallback(type, callback);\n}\n\n/** Trigger all handlers of a given type. */\nfunction triggerHandlers(type, data) {\n const typeHandlers = handlers[type];\n\n if (!typeHandlers || !typeHandlers.length) {\n return;\n }\n\n for (const handler of typeHandlers) {\n try {\n handler(data);\n } catch (e) {\n DEBUG_BUILD &&\n logger.error(\n `Error while triggering instrumentation handler.\\nType: ${type}\\nName: ${getFunctionName(handler)}\\nError:`,\n e,\n );\n }\n }\n}\n\nfunction instrumentCls() {\n return onCLS(metric => {\n triggerHandlers('cls', {\n metric,\n });\n _previousCls = metric;\n });\n}\n\nfunction instrumentFid() {\n return onFID(metric => {\n triggerHandlers('fid', {\n metric,\n });\n _previousFid = metric;\n });\n}\n\nfunction instrumentLcp() {\n return onLCP(metric => {\n triggerHandlers('lcp', {\n metric,\n });\n _previousLcp = metric;\n });\n}\n\nfunction instrumentTtfb() {\n return onTTFB(metric => {\n triggerHandlers('ttfb', {\n metric,\n });\n _previousTtfb = metric;\n });\n}\n\nfunction instrumentInp() {\n return onINP(metric => {\n triggerHandlers('inp', {\n metric,\n });\n _previousInp = metric;\n });\n}\n\nfunction addMetricObserver(\n type,\n callback,\n instrumentFn,\n previousValue,\n stopOnCallback = false,\n) {\n addHandler(type, callback);\n\n let stopListening;\n\n if (!instrumented[type]) {\n stopListening = instrumentFn();\n instrumented[type] = true;\n }\n\n if (previousValue) {\n callback({ metric: previousValue });\n }\n\n return getCleanupCallback(type, callback, stopOnCallback ? stopListening : undefined);\n}\n\nfunction instrumentPerformanceObserver(type) {\n const options = {};\n\n // Special per-type options we want to use\n if (type === 'event') {\n options.durationThreshold = 0;\n }\n\n observe(\n type,\n entries => {\n triggerHandlers(type, { entries });\n },\n options,\n );\n}\n\nfunction addHandler(type, handler) {\n handlers[type] = handlers[type] || [];\n (handlers[type] ).push(handler);\n}\n\n// Get a callback which can be called to remove the instrumentation handler\nfunction getCleanupCallback(\n type,\n callback,\n stopListening,\n) {\n return () => {\n if (stopListening) {\n stopListening();\n }\n\n const typeHandlers = handlers[type];\n\n if (!typeHandlers) {\n return;\n }\n\n const index = typeHandlers.indexOf(callback);\n if (index !== -1) {\n typeHandlers.splice(index, 1);\n }\n };\n}\n\nexport { addClsInstrumentationHandler, addFidInstrumentationHandler, addInpInstrumentationHandler, addLcpInstrumentationHandler, addPerformanceInstrumentationHandler, addTtfbInstrumentationHandler };\n//# sourceMappingURL=instrument.js.map\n","import { dsnToString, createEnvelope } from '@sentry/utils';\n\n/**\n * Create envelope from Span item.\n */\nfunction createSpanEnvelope(spans, dsn) {\n const headers = {\n sent_at: new Date().toISOString(),\n };\n\n if (dsn) {\n headers.dsn = dsnToString(dsn);\n }\n\n const items = spans.map(createSpanItem);\n return createEnvelope(headers, items);\n}\n\nfunction createSpanItem(span) {\n const spanHeaders = {\n type: 'span',\n };\n return [spanHeaders, span];\n}\n\nexport { createSpanEnvelope };\n//# sourceMappingURL=span.js.map\n","import { getActiveTransaction } from './utils.js';\n\n/**\n * Adds a measurement to the current active transaction.\n */\nfunction setMeasurement(name, value, unit) {\n // eslint-disable-next-line deprecation/deprecation\n const transaction = getActiveTransaction();\n if (transaction) {\n // eslint-disable-next-line deprecation/deprecation\n transaction.setMeasurement(name, value, unit);\n }\n}\n\nexport { setMeasurement };\n//# sourceMappingURL=measurement.js.map\n","/**\n * Checks if a given value is a valid measurement value.\n */\nfunction isMeasurementValue(value) {\n return typeof value === 'number' && isFinite(value);\n}\n\n/**\n * Helper function to start child on transactions. This function will make sure that the transaction will\n * use the start timestamp of the created child span if it is earlier than the transactions actual\n * start timestamp.\n *\n * Note: this will not be possible anymore in v8,\n * unless we do some special handling for browser here...\n */\nfunction _startChild(transaction, { startTimestamp, ...ctx }) {\n // eslint-disable-next-line deprecation/deprecation\n if (startTimestamp && transaction.startTimestamp > startTimestamp) {\n // eslint-disable-next-line deprecation/deprecation\n transaction.startTimestamp = startTimestamp;\n }\n\n // eslint-disable-next-line deprecation/deprecation\n return transaction.startChild({\n startTimestamp,\n ...ctx,\n });\n}\n\nexport { _startChild, isMeasurementValue };\n//# sourceMappingURL=utils.js.map\n","import { getActiveTransaction, spanToJSON, setMeasurement, getClient, Span, createSpanEnvelope, hasTracingEnabled, isValidSampleRate } from '@sentry/core';\nimport { browserPerformanceTimeOrigin, htmlTreeAsString, getComponentName, logger, parseUrl } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../../common/debug-build.js';\nimport { addPerformanceInstrumentationHandler, addClsInstrumentationHandler, addLcpInstrumentationHandler, addFidInstrumentationHandler, addTtfbInstrumentationHandler, addInpInstrumentationHandler } from '../instrument.js';\nimport { WINDOW } from '../types.js';\nimport { getVisibilityWatcher } from '../web-vitals/lib/getVisibilityWatcher.js';\nimport { _startChild, isMeasurementValue } from './utils.js';\nimport { getNavigationEntry } from '../web-vitals/lib/getNavigationEntry.js';\n\nconst MAX_INT_AS_BYTES = 2147483647;\n\n/**\n * Converts from milliseconds to seconds\n * @param time time in ms\n */\nfunction msToSec(time) {\n return time / 1000;\n}\n\nfunction getBrowserPerformanceAPI() {\n // @ts-expect-error we want to make sure all of these are available, even if TS is sure they are\n return WINDOW && WINDOW.addEventListener && WINDOW.performance;\n}\n\nlet _performanceCursor = 0;\n\nlet _measurements = {};\nlet _lcpEntry;\nlet _clsEntry;\n\n/**\n * Start tracking web vitals.\n * The callback returned by this function can be used to stop tracking & ensure all measurements are final & captured.\n *\n * @returns A function that forces web vitals collection\n */\nfunction startTrackingWebVitals() {\n const performance = getBrowserPerformanceAPI();\n if (performance && browserPerformanceTimeOrigin) {\n // @ts-expect-error we want to make sure all of these are available, even if TS is sure they are\n if (performance.mark) {\n WINDOW.performance.mark('sentry-tracing-init');\n }\n const fidCallback = _trackFID();\n const clsCallback = _trackCLS();\n const lcpCallback = _trackLCP();\n const ttfbCallback = _trackTtfb();\n\n return () => {\n fidCallback();\n clsCallback();\n lcpCallback();\n ttfbCallback();\n };\n }\n\n return () => undefined;\n}\n\n/**\n * Start tracking long tasks.\n */\nfunction startTrackingLongTasks() {\n addPerformanceInstrumentationHandler('longtask', ({ entries }) => {\n for (const entry of entries) {\n // eslint-disable-next-line deprecation/deprecation\n const transaction = getActiveTransaction() ;\n if (!transaction) {\n return;\n }\n const startTime = msToSec((browserPerformanceTimeOrigin ) + entry.startTime);\n const duration = msToSec(entry.duration);\n\n // eslint-disable-next-line deprecation/deprecation\n transaction.startChild({\n description: 'Main UI thread blocked',\n op: 'ui.long-task',\n origin: 'auto.ui.browser.metrics',\n startTimestamp: startTime,\n endTimestamp: startTime + duration,\n });\n }\n });\n}\n\n/**\n * Start tracking interaction events.\n */\nfunction startTrackingInteractions() {\n addPerformanceInstrumentationHandler('event', ({ entries }) => {\n for (const entry of entries) {\n // eslint-disable-next-line deprecation/deprecation\n const transaction = getActiveTransaction() ;\n if (!transaction) {\n return;\n }\n\n if (entry.name === 'click') {\n const startTime = msToSec((browserPerformanceTimeOrigin ) + entry.startTime);\n const duration = msToSec(entry.duration);\n\n const span = {\n description: htmlTreeAsString(entry.target),\n op: `ui.interaction.${entry.name}`,\n origin: 'auto.ui.browser.metrics',\n startTimestamp: startTime,\n endTimestamp: startTime + duration,\n };\n\n const componentName = getComponentName(entry.target);\n if (componentName) {\n span.attributes = { 'ui.component_name': componentName };\n }\n\n // eslint-disable-next-line deprecation/deprecation\n transaction.startChild(span);\n }\n }\n });\n}\n\n/**\n * Start tracking INP webvital events.\n */\nfunction startTrackingINP(interactionIdtoRouteNameMapping) {\n const performance = getBrowserPerformanceAPI();\n if (performance && browserPerformanceTimeOrigin) {\n const inpCallback = _trackINP(interactionIdtoRouteNameMapping);\n\n return () => {\n inpCallback();\n };\n }\n\n return () => undefined;\n}\n\n/** Starts tracking the Cumulative Layout Shift on the current page. */\nfunction _trackCLS() {\n return addClsInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1];\n if (!entry) {\n return;\n }\n\n DEBUG_BUILD && logger.log('[Measurements] Adding CLS');\n _measurements['cls'] = { value: metric.value, unit: '' };\n _clsEntry = entry ;\n }, true);\n}\n\n/** Starts tracking the Largest Contentful Paint on the current page. */\nfunction _trackLCP() {\n return addLcpInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1];\n if (!entry) {\n return;\n }\n\n DEBUG_BUILD && logger.log('[Measurements] Adding LCP');\n _measurements['lcp'] = { value: metric.value, unit: 'millisecond' };\n _lcpEntry = entry ;\n }, true);\n}\n\n/** Starts tracking the First Input Delay on the current page. */\nfunction _trackFID() {\n return addFidInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1];\n if (!entry) {\n return;\n }\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin );\n const startTime = msToSec(entry.startTime);\n DEBUG_BUILD && logger.log('[Measurements] Adding FID');\n _measurements['fid'] = { value: metric.value, unit: 'millisecond' };\n _measurements['mark.fid'] = { value: timeOrigin + startTime, unit: 'second' };\n });\n}\n\nfunction _trackTtfb() {\n return addTtfbInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1];\n if (!entry) {\n return;\n }\n\n DEBUG_BUILD && logger.log('[Measurements] Adding TTFB');\n _measurements['ttfb'] = { value: metric.value, unit: 'millisecond' };\n });\n}\n\nconst INP_ENTRY_MAP = {\n click: 'click',\n pointerdown: 'click',\n pointerup: 'click',\n mousedown: 'click',\n mouseup: 'click',\n touchstart: 'click',\n touchend: 'click',\n mouseover: 'hover',\n mouseout: 'hover',\n mouseenter: 'hover',\n mouseleave: 'hover',\n pointerover: 'hover',\n pointerout: 'hover',\n pointerenter: 'hover',\n pointerleave: 'hover',\n dragstart: 'drag',\n dragend: 'drag',\n drag: 'drag',\n dragenter: 'drag',\n dragleave: 'drag',\n dragover: 'drag',\n drop: 'drag',\n keydown: 'press',\n keyup: 'press',\n keypress: 'press',\n input: 'press',\n};\n\n/** Starts tracking the Interaction to Next Paint on the current page. */\nfunction _trackINP(interactionIdToRouteNameMapping) {\n return addInpInstrumentationHandler(({ metric }) => {\n if (metric.value === undefined) {\n return;\n }\n const entry = metric.entries.find(\n entry => entry.duration === metric.value && INP_ENTRY_MAP[entry.name] !== undefined,\n );\n const client = getClient();\n if (!entry || !client) {\n return;\n }\n const interactionType = INP_ENTRY_MAP[entry.name];\n const options = client.getOptions();\n /** Build the INP span, create an envelope from the span, and then send the envelope */\n const startTime = msToSec((browserPerformanceTimeOrigin ) + entry.startTime);\n const duration = msToSec(metric.value);\n const interaction =\n entry.interactionId !== undefined ? interactionIdToRouteNameMapping[entry.interactionId] : undefined;\n if (interaction === undefined) {\n return;\n }\n const { routeName, parentContext, activeTransaction, user, replayId } = interaction;\n const userDisplay = user !== undefined ? user.email || user.id || user.ip_address : undefined;\n // eslint-disable-next-line deprecation/deprecation\n const profileId = activeTransaction !== undefined ? activeTransaction.getProfileId() : undefined;\n const span = new Span({\n startTimestamp: startTime,\n endTimestamp: startTime + duration,\n op: `ui.interaction.${interactionType}`,\n name: htmlTreeAsString(entry.target),\n attributes: {\n release: options.release,\n environment: options.environment,\n transaction: routeName,\n ...(userDisplay !== undefined && userDisplay !== '' ? { user: userDisplay } : {}),\n ...(profileId !== undefined ? { profile_id: profileId } : {}),\n ...(replayId !== undefined ? { replay_id: replayId } : {}),\n },\n exclusiveTime: metric.value,\n measurements: {\n inp: { value: metric.value, unit: 'millisecond' },\n },\n });\n\n /** Check to see if the span should be sampled */\n const sampleRate = getSampleRate(parentContext, options);\n if (!sampleRate) {\n return;\n }\n\n if (Math.random() < (sampleRate )) {\n const envelope = span ? createSpanEnvelope([span], client.getDsn()) : undefined;\n const transport = client && client.getTransport();\n if (transport && envelope) {\n transport.send(envelope).then(null, reason => {\n DEBUG_BUILD && logger.error('Error while sending interaction:', reason);\n });\n }\n return;\n }\n });\n}\n\n/** Add performance related spans to a transaction */\nfunction addPerformanceEntries(transaction) {\n const performance = getBrowserPerformanceAPI();\n if (!performance || !WINDOW.performance.getEntries || !browserPerformanceTimeOrigin) {\n // Gatekeeper if performance API not available\n return;\n }\n\n DEBUG_BUILD && logger.log('[Tracing] Adding & adjusting spans using Performance API');\n const timeOrigin = msToSec(browserPerformanceTimeOrigin);\n\n const performanceEntries = performance.getEntries();\n\n const { op, start_timestamp: transactionStartTime } = spanToJSON(transaction);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n performanceEntries.slice(_performanceCursor).forEach((entry) => {\n const startTime = msToSec(entry.startTime);\n const duration = msToSec(entry.duration);\n\n // eslint-disable-next-line deprecation/deprecation\n if (transaction.op === 'navigation' && transactionStartTime && timeOrigin + startTime < transactionStartTime) {\n return;\n }\n\n switch (entry.entryType) {\n case 'navigation': {\n _addNavigationSpans(transaction, entry, timeOrigin);\n break;\n }\n case 'mark':\n case 'paint':\n case 'measure': {\n _addMeasureSpans(transaction, entry, startTime, duration, timeOrigin);\n\n // capture web vitals\n const firstHidden = getVisibilityWatcher();\n // Only report if the page wasn't hidden prior to the web vital.\n const shouldRecord = entry.startTime < firstHidden.firstHiddenTime;\n\n if (entry.name === 'first-paint' && shouldRecord) {\n DEBUG_BUILD && logger.log('[Measurements] Adding FP');\n _measurements['fp'] = { value: entry.startTime, unit: 'millisecond' };\n }\n if (entry.name === 'first-contentful-paint' && shouldRecord) {\n DEBUG_BUILD && logger.log('[Measurements] Adding FCP');\n _measurements['fcp'] = { value: entry.startTime, unit: 'millisecond' };\n }\n break;\n }\n case 'resource': {\n _addResourceSpans(transaction, entry, entry.name , startTime, duration, timeOrigin);\n break;\n }\n // Ignore other entry types.\n }\n });\n\n _performanceCursor = Math.max(performanceEntries.length - 1, 0);\n\n _trackNavigator(transaction);\n\n // Measurements are only available for pageload transactions\n if (op === 'pageload') {\n _addTtfbRequestTimeToMeasurements(_measurements);\n\n ['fcp', 'fp', 'lcp'].forEach(name => {\n if (!_measurements[name] || !transactionStartTime || timeOrigin >= transactionStartTime) {\n return;\n }\n // The web vitals, fcp, fp, lcp, and ttfb, all measure relative to timeOrigin.\n // Unfortunately, timeOrigin is not captured within the transaction span data, so these web vitals will need\n // to be adjusted to be relative to transaction.startTimestamp.\n const oldValue = _measurements[name].value;\n const measurementTimestamp = timeOrigin + msToSec(oldValue);\n\n // normalizedValue should be in milliseconds\n const normalizedValue = Math.abs((measurementTimestamp - transactionStartTime) * 1000);\n const delta = normalizedValue - oldValue;\n\n DEBUG_BUILD && logger.log(`[Measurements] Normalized ${name} from ${oldValue} to ${normalizedValue} (${delta})`);\n _measurements[name].value = normalizedValue;\n });\n\n const fidMark = _measurements['mark.fid'];\n if (fidMark && _measurements['fid']) {\n // create span for FID\n _startChild(transaction, {\n description: 'first input delay',\n endTimestamp: fidMark.value + msToSec(_measurements['fid'].value),\n op: 'ui.action',\n origin: 'auto.ui.browser.metrics',\n startTimestamp: fidMark.value,\n });\n\n // Delete mark.fid as we don't want it to be part of final payload\n delete _measurements['mark.fid'];\n }\n\n // If FCP is not recorded we should not record the cls value\n // according to the new definition of CLS.\n if (!('fcp' in _measurements)) {\n delete _measurements.cls;\n }\n\n Object.keys(_measurements).forEach(measurementName => {\n setMeasurement(measurementName, _measurements[measurementName].value, _measurements[measurementName].unit);\n });\n\n _tagMetricInfo(transaction);\n }\n\n _lcpEntry = undefined;\n _clsEntry = undefined;\n _measurements = {};\n}\n\n/** Create measure related spans */\nfunction _addMeasureSpans(\n transaction,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n entry,\n startTime,\n duration,\n timeOrigin,\n) {\n const measureStartTimestamp = timeOrigin + startTime;\n const measureEndTimestamp = measureStartTimestamp + duration;\n\n _startChild(transaction, {\n description: entry.name ,\n endTimestamp: measureEndTimestamp,\n op: entry.entryType ,\n origin: 'auto.resource.browser.metrics',\n startTimestamp: measureStartTimestamp,\n });\n\n return measureStartTimestamp;\n}\n\n/** Instrument navigation entries */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _addNavigationSpans(transaction, entry, timeOrigin) {\n ['unloadEvent', 'redirect', 'domContentLoadedEvent', 'loadEvent', 'connect'].forEach(event => {\n _addPerformanceNavigationTiming(transaction, entry, event, timeOrigin);\n });\n _addPerformanceNavigationTiming(transaction, entry, 'secureConnection', timeOrigin, 'TLS/SSL', 'connectEnd');\n _addPerformanceNavigationTiming(transaction, entry, 'fetch', timeOrigin, 'cache', 'domainLookupStart');\n _addPerformanceNavigationTiming(transaction, entry, 'domainLookup', timeOrigin, 'DNS');\n _addRequest(transaction, entry, timeOrigin);\n}\n\n/** Create performance navigation related spans */\nfunction _addPerformanceNavigationTiming(\n transaction,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n entry,\n event,\n timeOrigin,\n description,\n eventEnd,\n) {\n const end = eventEnd ? (entry[eventEnd] ) : (entry[`${event}End`] );\n const start = entry[`${event}Start`] ;\n if (!start || !end) {\n return;\n }\n _startChild(transaction, {\n op: 'browser',\n origin: 'auto.browser.browser.metrics',\n description: description || event,\n startTimestamp: timeOrigin + msToSec(start),\n endTimestamp: timeOrigin + msToSec(end),\n });\n}\n\n/** Create request and response related spans */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _addRequest(transaction, entry, timeOrigin) {\n if (entry.responseEnd) {\n // It is possible that we are collecting these metrics when the page hasn't finished loading yet, for example when the HTML slowly streams in.\n // In this case, ie. when the document request hasn't finished yet, `entry.responseEnd` will be 0.\n // In order not to produce faulty spans, where the end timestamp is before the start timestamp, we will only collect\n // these spans when the responseEnd value is available. The backend (Relay) would drop the entire transaction if it contained faulty spans.\n _startChild(transaction, {\n op: 'browser',\n origin: 'auto.browser.browser.metrics',\n description: 'request',\n startTimestamp: timeOrigin + msToSec(entry.requestStart ),\n endTimestamp: timeOrigin + msToSec(entry.responseEnd ),\n });\n\n _startChild(transaction, {\n op: 'browser',\n origin: 'auto.browser.browser.metrics',\n description: 'response',\n startTimestamp: timeOrigin + msToSec(entry.responseStart ),\n endTimestamp: timeOrigin + msToSec(entry.responseEnd ),\n });\n }\n}\n\n/** Create resource-related spans */\nfunction _addResourceSpans(\n transaction,\n entry,\n resourceUrl,\n startTime,\n duration,\n timeOrigin,\n) {\n // we already instrument based on fetch and xhr, so we don't need to\n // duplicate spans here.\n if (entry.initiatorType === 'xmlhttprequest' || entry.initiatorType === 'fetch') {\n return;\n }\n\n const parsedUrl = parseUrl(resourceUrl);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const data = {};\n setResourceEntrySizeData(data, entry, 'transferSize', 'http.response_transfer_size');\n setResourceEntrySizeData(data, entry, 'encodedBodySize', 'http.response_content_length');\n setResourceEntrySizeData(data, entry, 'decodedBodySize', 'http.decoded_response_content_length');\n\n if ('renderBlockingStatus' in entry) {\n data['resource.render_blocking_status'] = entry.renderBlockingStatus;\n }\n if (parsedUrl.protocol) {\n data['url.scheme'] = parsedUrl.protocol.split(':').pop(); // the protocol returned by parseUrl includes a :, but OTEL spec does not, so we remove it.\n }\n\n if (parsedUrl.host) {\n data['server.address'] = parsedUrl.host;\n }\n\n data['url.same_origin'] = resourceUrl.includes(WINDOW.location.origin);\n\n const startTimestamp = timeOrigin + startTime;\n const endTimestamp = startTimestamp + duration;\n\n _startChild(transaction, {\n description: resourceUrl.replace(WINDOW.location.origin, ''),\n endTimestamp,\n op: entry.initiatorType ? `resource.${entry.initiatorType}` : 'resource.other',\n origin: 'auto.resource.browser.metrics',\n startTimestamp,\n data,\n });\n}\n\n/**\n * Capture the information of the user agent.\n */\nfunction _trackNavigator(transaction) {\n const navigator = WINDOW.navigator ;\n if (!navigator) {\n return;\n }\n\n // track network connectivity\n const connection = navigator.connection;\n if (connection) {\n if (connection.effectiveType) {\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag('effectiveConnectionType', connection.effectiveType);\n }\n\n if (connection.type) {\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag('connectionType', connection.type);\n }\n\n if (isMeasurementValue(connection.rtt)) {\n _measurements['connection.rtt'] = { value: connection.rtt, unit: 'millisecond' };\n }\n }\n\n if (isMeasurementValue(navigator.deviceMemory)) {\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag('deviceMemory', `${navigator.deviceMemory} GB`);\n }\n\n if (isMeasurementValue(navigator.hardwareConcurrency)) {\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag('hardwareConcurrency', String(navigator.hardwareConcurrency));\n }\n}\n\n/** Add LCP / CLS data to transaction to allow debugging */\nfunction _tagMetricInfo(transaction) {\n if (_lcpEntry) {\n DEBUG_BUILD && logger.log('[Measurements] Adding LCP Data');\n\n // Capture Properties of the LCP element that contributes to the LCP.\n\n if (_lcpEntry.element) {\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag('lcp.element', htmlTreeAsString(_lcpEntry.element));\n }\n\n if (_lcpEntry.id) {\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag('lcp.id', _lcpEntry.id);\n }\n\n if (_lcpEntry.url) {\n // Trim URL to the first 200 characters.\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag('lcp.url', _lcpEntry.url.trim().slice(0, 200));\n }\n\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag('lcp.size', _lcpEntry.size);\n }\n\n // See: https://developer.mozilla.org/en-US/docs/Web/API/LayoutShift\n if (_clsEntry && _clsEntry.sources) {\n DEBUG_BUILD && logger.log('[Measurements] Adding CLS Data');\n _clsEntry.sources.forEach((source, index) =>\n // TODO: Can we rewrite this to an attribute?\n // eslint-disable-next-line deprecation/deprecation\n transaction.setTag(`cls.source.${index + 1}`, htmlTreeAsString(source.node)),\n );\n }\n}\n\nfunction setResourceEntrySizeData(\n data,\n entry,\n key,\n dataKey,\n) {\n const entryVal = entry[key];\n if (entryVal != null && entryVal < MAX_INT_AS_BYTES) {\n data[dataKey] = entryVal;\n }\n}\n\n/**\n * Add ttfb request time information to measurements.\n *\n * ttfb information is added via vendored web vitals library.\n */\nfunction _addTtfbRequestTimeToMeasurements(_measurements) {\n const navEntry = getNavigationEntry();\n if (!navEntry) {\n return;\n }\n\n const { responseStart, requestStart } = navEntry;\n\n if (requestStart <= responseStart) {\n DEBUG_BUILD && logger.log('[Measurements] Adding TTFB Request Time');\n _measurements['ttfb.requestTime'] = {\n value: responseStart - requestStart,\n unit: 'millisecond',\n };\n }\n}\n\n/** Taken from @sentry/core sampling.ts */\nfunction getSampleRate(transactionContext, options) {\n if (!hasTracingEnabled(options)) {\n return false;\n }\n let sampleRate;\n if (transactionContext !== undefined && typeof options.tracesSampler === 'function') {\n sampleRate = options.tracesSampler({\n transactionContext,\n name: transactionContext.name,\n parentSampled: transactionContext.parentSampled,\n attributes: {\n // eslint-disable-next-line deprecation/deprecation\n ...transactionContext.data,\n ...transactionContext.attributes,\n },\n location: WINDOW.location,\n });\n } else if (transactionContext !== undefined && transactionContext.sampled !== undefined) {\n sampleRate = transactionContext.sampled;\n } else if (typeof options.tracesSampleRate !== 'undefined') {\n sampleRate = options.tracesSampleRate;\n } else {\n sampleRate = 1;\n }\n if (!isValidSampleRate(sampleRate)) {\n DEBUG_BUILD && logger.warn('[Tracing] Discarding transaction because of invalid sample rate.');\n return false;\n }\n return sampleRate;\n}\n\nexport { _addMeasureSpans, _addResourceSpans, addPerformanceEntries, startTrackingINP, startTrackingInteractions, startTrackingLongTasks, startTrackingWebVitals };\n//# sourceMappingURL=index.js.map\n","import { hasTracingEnabled, setHttpStatus, getCurrentScope, getClient, startInactiveSpan, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, getIsolationScope, spanToTraceHeader, getDynamicSamplingContextFromSpan, getDynamicSamplingContextFromClient } from '@sentry/core';\nimport { generateSentryTraceHeader, dynamicSamplingContextToSentryBaggageHeader, isInstanceOf, BAGGAGE_HEADER_NAME } from '@sentry/utils';\n\n/**\n * Create and track fetch request spans for usage in combination with `addInstrumentationHandler`.\n *\n * @returns Span if a span was created, otherwise void.\n */\nfunction instrumentFetchRequest(\n handlerData,\n shouldCreateSpan,\n shouldAttachHeaders,\n spans,\n spanOrigin = 'auto.http.browser',\n) {\n if (!hasTracingEnabled() || !handlerData.fetchData) {\n return undefined;\n }\n\n const shouldCreateSpanResult = shouldCreateSpan(handlerData.fetchData.url);\n\n if (handlerData.endTimestamp && shouldCreateSpanResult) {\n const spanId = handlerData.fetchData.__span;\n if (!spanId) return;\n\n const span = spans[spanId];\n if (span) {\n if (handlerData.response) {\n setHttpStatus(span, handlerData.response.status);\n\n const contentLength =\n handlerData.response && handlerData.response.headers && handlerData.response.headers.get('content-length');\n\n if (contentLength) {\n const contentLengthNum = parseInt(contentLength);\n if (contentLengthNum > 0) {\n span.setAttribute('http.response_content_length', contentLengthNum);\n }\n }\n } else if (handlerData.error) {\n span.setStatus('internal_error');\n }\n span.end();\n\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete spans[spanId];\n }\n return undefined;\n }\n\n const scope = getCurrentScope();\n const client = getClient();\n\n const { method, url } = handlerData.fetchData;\n\n const span = shouldCreateSpanResult\n ? startInactiveSpan({\n name: `${method} ${url}`,\n onlyIfParent: true,\n attributes: {\n url,\n type: 'fetch',\n 'http.method': method,\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: spanOrigin,\n },\n op: 'http.client',\n })\n : undefined;\n\n if (span) {\n handlerData.fetchData.__span = span.spanContext().spanId;\n spans[span.spanContext().spanId] = span;\n }\n\n if (shouldAttachHeaders(handlerData.fetchData.url) && client) {\n const request = handlerData.args[0];\n\n // In case the user hasn't set the second argument of a fetch call we default it to `{}`.\n handlerData.args[1] = handlerData.args[1] || {};\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const options = handlerData.args[1];\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access\n options.headers = addTracingHeadersToFetchRequest(request, client, scope, options, span);\n }\n\n return span;\n}\n\n/**\n * Adds sentry-trace and baggage headers to the various forms of fetch headers\n */\nfunction addTracingHeadersToFetchRequest(\n request, // unknown is actually type Request but we can't export DOM types from this package,\n client,\n scope,\n options\n\n,\n requestSpan,\n) {\n // eslint-disable-next-line deprecation/deprecation\n const span = requestSpan || scope.getSpan();\n\n const isolationScope = getIsolationScope();\n\n const { traceId, spanId, sampled, dsc } = {\n ...isolationScope.getPropagationContext(),\n ...scope.getPropagationContext(),\n };\n\n const sentryTraceHeader = span ? spanToTraceHeader(span) : generateSentryTraceHeader(traceId, spanId, sampled);\n\n const sentryBaggageHeader = dynamicSamplingContextToSentryBaggageHeader(\n dsc ||\n (span ? getDynamicSamplingContextFromSpan(span) : getDynamicSamplingContextFromClient(traceId, client, scope)),\n );\n\n const headers =\n options.headers ||\n (typeof Request !== 'undefined' && isInstanceOf(request, Request) ? (request ).headers : undefined);\n\n if (!headers) {\n return { 'sentry-trace': sentryTraceHeader, baggage: sentryBaggageHeader };\n } else if (typeof Headers !== 'undefined' && isInstanceOf(headers, Headers)) {\n const newHeaders = new Headers(headers );\n\n newHeaders.append('sentry-trace', sentryTraceHeader);\n\n if (sentryBaggageHeader) {\n // If the same header is appended multiple times the browser will merge the values into a single request header.\n // Its therefore safe to simply push a \"baggage\" entry, even though there might already be another baggage header.\n newHeaders.append(BAGGAGE_HEADER_NAME, sentryBaggageHeader);\n }\n\n return newHeaders ;\n } else if (Array.isArray(headers)) {\n const newHeaders = [...headers, ['sentry-trace', sentryTraceHeader]];\n\n if (sentryBaggageHeader) {\n // If there are multiple entries with the same key, the browser will merge the values into a single request header.\n // Its therefore safe to simply push a \"baggage\" entry, even though there might already be another baggage header.\n newHeaders.push([BAGGAGE_HEADER_NAME, sentryBaggageHeader]);\n }\n\n return newHeaders ;\n } else {\n const existingBaggageHeader = 'baggage' in headers ? headers.baggage : undefined;\n const newBaggageHeaders = [];\n\n if (Array.isArray(existingBaggageHeader)) {\n newBaggageHeaders.push(...existingBaggageHeader);\n } else if (existingBaggageHeader) {\n newBaggageHeaders.push(existingBaggageHeader);\n }\n\n if (sentryBaggageHeader) {\n newBaggageHeaders.push(sentryBaggageHeader);\n }\n\n return {\n ...(headers ),\n 'sentry-trace': sentryTraceHeader,\n baggage: newBaggageHeaders.length > 0 ? newBaggageHeaders.join(',') : undefined,\n };\n }\n}\n\nexport { addTracingHeadersToFetchRequest, instrumentFetchRequest };\n//# sourceMappingURL=fetch.js.map\n","import { spanToJSON, hasTracingEnabled, setHttpStatus, getCurrentScope, getIsolationScope, startInactiveSpan, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, getClient, spanToTraceHeader, getDynamicSamplingContextFromSpan, getDynamicSamplingContextFromClient } from '@sentry/core';\nimport { addFetchInstrumentationHandler, addXhrInstrumentationHandler, SENTRY_XHR_DATA_KEY, generateSentryTraceHeader, dynamicSamplingContextToSentryBaggageHeader, BAGGAGE_HEADER_NAME, browserPerformanceTimeOrigin, stringMatchesSomePattern } from '@sentry/utils';\nimport { instrumentFetchRequest } from '../common/fetch.js';\nimport { addPerformanceInstrumentationHandler } from './instrument.js';\n\n/* eslint-disable max-lines */\n\nconst DEFAULT_TRACE_PROPAGATION_TARGETS = ['localhost', /^\\/(?!\\/)/];\n\n/** Options for Request Instrumentation */\n\nconst defaultRequestInstrumentationOptions = {\n traceFetch: true,\n traceXHR: true,\n enableHTTPTimings: true,\n // TODO (v8): Remove this property\n tracingOrigins: DEFAULT_TRACE_PROPAGATION_TARGETS,\n tracePropagationTargets: DEFAULT_TRACE_PROPAGATION_TARGETS,\n};\n\n/** Registers span creators for xhr and fetch requests */\nfunction instrumentOutgoingRequests(_options) {\n const {\n traceFetch,\n traceXHR,\n // eslint-disable-next-line deprecation/deprecation\n tracePropagationTargets,\n // eslint-disable-next-line deprecation/deprecation\n tracingOrigins,\n shouldCreateSpanForRequest,\n enableHTTPTimings,\n } = {\n traceFetch: defaultRequestInstrumentationOptions.traceFetch,\n traceXHR: defaultRequestInstrumentationOptions.traceXHR,\n ..._options,\n };\n\n const shouldCreateSpan =\n typeof shouldCreateSpanForRequest === 'function' ? shouldCreateSpanForRequest : (_) => true;\n\n // TODO(v8) Remove tracingOrigins here\n // The only reason we're passing it in here is because this instrumentOutgoingRequests function is publicly exported\n // and we don't want to break the API. We can remove it in v8.\n const shouldAttachHeadersWithTargets = (url) =>\n shouldAttachHeaders(url, tracePropagationTargets || tracingOrigins);\n\n const spans = {};\n\n if (traceFetch) {\n addFetchInstrumentationHandler(handlerData => {\n const createdSpan = instrumentFetchRequest(handlerData, shouldCreateSpan, shouldAttachHeadersWithTargets, spans);\n if (enableHTTPTimings && createdSpan) {\n addHTTPTimings(createdSpan);\n }\n });\n }\n\n if (traceXHR) {\n addXhrInstrumentationHandler(handlerData => {\n const createdSpan = xhrCallback(handlerData, shouldCreateSpan, shouldAttachHeadersWithTargets, spans);\n if (enableHTTPTimings && createdSpan) {\n addHTTPTimings(createdSpan);\n }\n });\n }\n}\n\nfunction isPerformanceResourceTiming(entry) {\n return (\n entry.entryType === 'resource' &&\n 'initiatorType' in entry &&\n typeof (entry ).nextHopProtocol === 'string' &&\n (entry.initiatorType === 'fetch' || entry.initiatorType === 'xmlhttprequest')\n );\n}\n\n/**\n * Creates a temporary observer to listen to the next fetch/xhr resourcing timings,\n * so that when timings hit their per-browser limit they don't need to be removed.\n *\n * @param span A span that has yet to be finished, must contain `url` on data.\n */\nfunction addHTTPTimings(span) {\n const { url } = spanToJSON(span).data || {};\n\n if (!url || typeof url !== 'string') {\n return;\n }\n\n const cleanup = addPerformanceInstrumentationHandler('resource', ({ entries }) => {\n entries.forEach(entry => {\n if (isPerformanceResourceTiming(entry) && entry.name.endsWith(url)) {\n const spanData = resourceTimingEntryToSpanData(entry);\n spanData.forEach(data => span.setAttribute(...data));\n // In the next tick, clean this handler up\n // We have to wait here because otherwise this cleans itself up before it is fully done\n setTimeout(cleanup);\n }\n });\n });\n}\n\n/**\n * Converts ALPN protocol ids to name and version.\n *\n * (https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids)\n * @param nextHopProtocol PerformanceResourceTiming.nextHopProtocol\n */\nfunction extractNetworkProtocol(nextHopProtocol) {\n let name = 'unknown';\n let version = 'unknown';\n let _name = '';\n for (const char of nextHopProtocol) {\n // http/1.1 etc.\n if (char === '/') {\n [name, version] = nextHopProtocol.split('/');\n break;\n }\n // h2, h3 etc.\n if (!isNaN(Number(char))) {\n name = _name === 'h' ? 'http' : _name;\n version = nextHopProtocol.split(_name)[1];\n break;\n }\n _name += char;\n }\n if (_name === nextHopProtocol) {\n // webrtc, ftp, etc.\n name = _name;\n }\n return { name, version };\n}\n\nfunction getAbsoluteTime(time = 0) {\n return ((browserPerformanceTimeOrigin || performance.timeOrigin) + time) / 1000;\n}\n\nfunction resourceTimingEntryToSpanData(resourceTiming) {\n const { name, version } = extractNetworkProtocol(resourceTiming.nextHopProtocol);\n\n const timingSpanData = [];\n\n timingSpanData.push(['network.protocol.version', version], ['network.protocol.name', name]);\n\n if (!browserPerformanceTimeOrigin) {\n return timingSpanData;\n }\n return [\n ...timingSpanData,\n ['http.request.redirect_start', getAbsoluteTime(resourceTiming.redirectStart)],\n ['http.request.fetch_start', getAbsoluteTime(resourceTiming.fetchStart)],\n ['http.request.domain_lookup_start', getAbsoluteTime(resourceTiming.domainLookupStart)],\n ['http.request.domain_lookup_end', getAbsoluteTime(resourceTiming.domainLookupEnd)],\n ['http.request.connect_start', getAbsoluteTime(resourceTiming.connectStart)],\n ['http.request.secure_connection_start', getAbsoluteTime(resourceTiming.secureConnectionStart)],\n ['http.request.connection_end', getAbsoluteTime(resourceTiming.connectEnd)],\n ['http.request.request_start', getAbsoluteTime(resourceTiming.requestStart)],\n ['http.request.response_start', getAbsoluteTime(resourceTiming.responseStart)],\n ['http.request.response_end', getAbsoluteTime(resourceTiming.responseEnd)],\n ];\n}\n\n/**\n * A function that determines whether to attach tracing headers to a request.\n * This was extracted from `instrumentOutgoingRequests` to make it easier to test shouldAttachHeaders.\n * We only export this fuction for testing purposes.\n */\nfunction shouldAttachHeaders(url, tracePropagationTargets) {\n return stringMatchesSomePattern(url, tracePropagationTargets || DEFAULT_TRACE_PROPAGATION_TARGETS);\n}\n\n/**\n * Create and track xhr request spans\n *\n * @returns Span if a span was created, otherwise void.\n */\n// eslint-disable-next-line complexity\nfunction xhrCallback(\n handlerData,\n shouldCreateSpan,\n shouldAttachHeaders,\n spans,\n) {\n const xhr = handlerData.xhr;\n const sentryXhrData = xhr && xhr[SENTRY_XHR_DATA_KEY];\n\n if (!hasTracingEnabled() || !xhr || xhr.__sentry_own_request__ || !sentryXhrData) {\n return undefined;\n }\n\n const shouldCreateSpanResult = shouldCreateSpan(sentryXhrData.url);\n\n // check first if the request has finished and is tracked by an existing span which should now end\n if (handlerData.endTimestamp && shouldCreateSpanResult) {\n const spanId = xhr.__sentry_xhr_span_id__;\n if (!spanId) return;\n\n const span = spans[spanId];\n if (span && sentryXhrData.status_code !== undefined) {\n setHttpStatus(span, sentryXhrData.status_code);\n span.end();\n\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete spans[spanId];\n }\n return undefined;\n }\n\n const scope = getCurrentScope();\n const isolationScope = getIsolationScope();\n\n const span = shouldCreateSpanResult\n ? startInactiveSpan({\n name: `${sentryXhrData.method} ${sentryXhrData.url}`,\n onlyIfParent: true,\n attributes: {\n type: 'xhr',\n 'http.method': sentryXhrData.method,\n url: sentryXhrData.url,\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.http.browser',\n },\n op: 'http.client',\n })\n : undefined;\n\n if (span) {\n xhr.__sentry_xhr_span_id__ = span.spanContext().spanId;\n spans[xhr.__sentry_xhr_span_id__] = span;\n }\n\n const client = getClient();\n\n if (xhr.setRequestHeader && shouldAttachHeaders(sentryXhrData.url) && client) {\n const { traceId, spanId, sampled, dsc } = {\n ...isolationScope.getPropagationContext(),\n ...scope.getPropagationContext(),\n };\n\n const sentryTraceHeader = span ? spanToTraceHeader(span) : generateSentryTraceHeader(traceId, spanId, sampled);\n\n const sentryBaggageHeader = dynamicSamplingContextToSentryBaggageHeader(\n dsc ||\n (span ? getDynamicSamplingContextFromSpan(span) : getDynamicSamplingContextFromClient(traceId, client, scope)),\n );\n\n setHeaderOnXhr(xhr, sentryTraceHeader, sentryBaggageHeader);\n }\n\n return span;\n}\n\nfunction setHeaderOnXhr(\n xhr,\n sentryTraceHeader,\n sentryBaggageHeader,\n) {\n try {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n xhr.setRequestHeader('sentry-trace', sentryTraceHeader);\n if (sentryBaggageHeader) {\n // From MDN: \"If this method is called several times with the same header, the values are merged into one single request header.\"\n // We can therefore simply set a baggage header without checking what was there before\n // https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/setRequestHeader\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n xhr.setRequestHeader(BAGGAGE_HEADER_NAME, sentryBaggageHeader);\n }\n } catch (_) {\n // Error: InvalidStateError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED.\n }\n}\n\nexport { DEFAULT_TRACE_PROPAGATION_TARGETS, defaultRequestInstrumentationOptions, extractNetworkProtocol, instrumentOutgoingRequests, shouldAttachHeaders, xhrCallback };\n//# sourceMappingURL=request.js.map\n","import { logger, browserPerformanceTimeOrigin, addHistoryInstrumentationHandler } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../common/debug-build.js';\nimport { WINDOW } from './types.js';\n\n/**\n * Default function implementing pageload and navigation transactions\n */\nfunction instrumentRoutingWithDefaults(\n customStartTransaction,\n startTransactionOnPageLoad = true,\n startTransactionOnLocationChange = true,\n) {\n if (!WINDOW || !WINDOW.location) {\n DEBUG_BUILD && logger.warn('Could not initialize routing instrumentation due to invalid location');\n return;\n }\n\n let startingUrl = WINDOW.location.href;\n\n let activeTransaction;\n if (startTransactionOnPageLoad) {\n activeTransaction = customStartTransaction({\n name: WINDOW.location.pathname,\n // pageload should always start at timeOrigin (and needs to be in s, not ms)\n startTimestamp: browserPerformanceTimeOrigin ? browserPerformanceTimeOrigin / 1000 : undefined,\n op: 'pageload',\n origin: 'auto.pageload.browser',\n metadata: { source: 'url' },\n });\n }\n\n if (startTransactionOnLocationChange) {\n addHistoryInstrumentationHandler(({ to, from }) => {\n /**\n * This early return is there to account for some cases where a navigation transaction starts right after\n * long-running pageload. We make sure that if `from` is undefined and a valid `startingURL` exists, we don't\n * create an uneccessary navigation transaction.\n *\n * This was hard to duplicate, but this behavior stopped as soon as this fix was applied. This issue might also\n * only be caused in certain development environments where the usage of a hot module reloader is causing\n * errors.\n */\n if (from === undefined && startingUrl && startingUrl.indexOf(to) !== -1) {\n startingUrl = undefined;\n return;\n }\n\n if (from !== to) {\n startingUrl = undefined;\n if (activeTransaction) {\n DEBUG_BUILD && logger.log(`[Tracing] Finishing current transaction with op: ${activeTransaction.op}`);\n // If there's an open transaction on the scope, we need to finish it before creating an new one.\n activeTransaction.end();\n }\n activeTransaction = customStartTransaction({\n name: WINDOW.location.pathname,\n op: 'navigation',\n origin: 'auto.navigation.browser',\n metadata: { source: 'url' },\n });\n }\n });\n }\n}\n\nexport { instrumentRoutingWithDefaults };\n//# sourceMappingURL=router.js.map\n","import { TRACING_DEFAULTS, addTracingExtensions, startIdleTransaction, getActiveTransaction, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, getClient, getCurrentScope } from '@sentry/core';\nimport { logger, propagationContextFromHeaders, getDomElement } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../common/debug-build.js';\nimport { registerBackgroundTabDetection } from './backgroundtab.js';\nimport { addPerformanceInstrumentationHandler } from './instrument.js';\nimport { startTrackingWebVitals, startTrackingINP, startTrackingLongTasks, startTrackingInteractions, addPerformanceEntries } from './metrics/index.js';\nimport { defaultRequestInstrumentationOptions, instrumentOutgoingRequests } from './request.js';\nimport { instrumentRoutingWithDefaults } from './router.js';\nimport { WINDOW } from './types.js';\n\nconst BROWSER_TRACING_INTEGRATION_ID = 'BrowserTracing';\n\n/** Options for Browser Tracing integration */\n\nconst DEFAULT_BROWSER_TRACING_OPTIONS = {\n ...TRACING_DEFAULTS,\n markBackgroundTransactions: true,\n routingInstrumentation: instrumentRoutingWithDefaults,\n startTransactionOnLocationChange: true,\n startTransactionOnPageLoad: true,\n enableLongTask: true,\n enableInp: false,\n _experiments: {},\n ...defaultRequestInstrumentationOptions,\n};\n\n/** We store up to 10 interaction candidates max to cap memory usage. This is the same cap as getINP from web-vitals */\nconst MAX_INTERACTIONS = 10;\n\n/**\n * The Browser Tracing integration automatically instruments browser pageload/navigation\n * actions as transactions, and captures requests, metrics and errors as spans.\n *\n * The integration can be configured with a variety of options, and can be extended to use\n * any routing library. This integration uses {@see IdleTransaction} to create transactions.\n *\n * @deprecated Use `browserTracingIntegration()` instead.\n */\nclass BrowserTracing {\n // This class currently doesn't have a static `id` field like the other integration classes, because it prevented\n // @sentry/tracing from being treeshaken. Tree shakers do not like static fields, because they behave like side effects.\n // TODO: Come up with a better plan, than using static fields on integration classes, and use that plan on all\n // integrations.\n\n /** Browser Tracing integration options */\n\n /**\n * @inheritDoc\n */\n\n constructor(_options) {\n this.name = BROWSER_TRACING_INTEGRATION_ID;\n this._hasSetTracePropagationTargets = false;\n\n addTracingExtensions();\n\n if (DEBUG_BUILD) {\n this._hasSetTracePropagationTargets = !!(\n _options &&\n // eslint-disable-next-line deprecation/deprecation\n (_options.tracePropagationTargets || _options.tracingOrigins)\n );\n }\n\n this.options = {\n ...DEFAULT_BROWSER_TRACING_OPTIONS,\n ..._options,\n };\n\n // Special case: enableLongTask can be set in _experiments\n // TODO (v8): Remove this in v8\n if (this.options._experiments.enableLongTask !== undefined) {\n this.options.enableLongTask = this.options._experiments.enableLongTask;\n }\n\n // TODO (v8): remove this block after tracingOrigins is removed\n // Set tracePropagationTargets to tracingOrigins if specified by the user\n // In case both are specified, tracePropagationTargets takes precedence\n // eslint-disable-next-line deprecation/deprecation\n if (_options && !_options.tracePropagationTargets && _options.tracingOrigins) {\n // eslint-disable-next-line deprecation/deprecation\n this.options.tracePropagationTargets = _options.tracingOrigins;\n }\n\n this._collectWebVitals = startTrackingWebVitals();\n /** Stores a mapping of interactionIds from PerformanceEventTimings to the origin interaction path */\n this._interactionIdToRouteNameMapping = {};\n\n if (this.options.enableInp) {\n startTrackingINP(this._interactionIdToRouteNameMapping);\n }\n if (this.options.enableLongTask) {\n startTrackingLongTasks();\n }\n if (this.options._experiments.enableInteractions) {\n startTrackingInteractions();\n }\n\n this._latestRoute = {\n name: undefined,\n context: undefined,\n };\n }\n\n /**\n * @inheritDoc\n */\n setupOnce(_, getCurrentHub) {\n this._getCurrentHub = getCurrentHub;\n const hub = getCurrentHub();\n // eslint-disable-next-line deprecation/deprecation\n const client = hub.getClient();\n const clientOptions = client && client.getOptions();\n\n const {\n routingInstrumentation: instrumentRouting,\n startTransactionOnLocationChange,\n startTransactionOnPageLoad,\n markBackgroundTransactions,\n traceFetch,\n traceXHR,\n shouldCreateSpanForRequest,\n enableHTTPTimings,\n _experiments,\n } = this.options;\n\n const clientOptionsTracePropagationTargets = clientOptions && clientOptions.tracePropagationTargets;\n // There are three ways to configure tracePropagationTargets:\n // 1. via top level client option `tracePropagationTargets`\n // 2. via BrowserTracing option `tracePropagationTargets`\n // 3. via BrowserTracing option `tracingOrigins` (deprecated)\n //\n // To avoid confusion, favour top level client option `tracePropagationTargets`, and fallback to\n // BrowserTracing option `tracePropagationTargets` and then `tracingOrigins` (deprecated).\n // This is done as it minimizes bundle size (we don't have to have undefined checks).\n //\n // If both 1 and either one of 2 or 3 are set (from above), we log out a warning.\n // eslint-disable-next-line deprecation/deprecation\n const tracePropagationTargets = clientOptionsTracePropagationTargets || this.options.tracePropagationTargets;\n if (DEBUG_BUILD && this._hasSetTracePropagationTargets && clientOptionsTracePropagationTargets) {\n logger.warn(\n '[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.',\n );\n }\n\n instrumentRouting(\n (context) => {\n const transaction = this._createRouteTransaction(context);\n\n this.options._experiments.onStartRouteTransaction &&\n this.options._experiments.onStartRouteTransaction(transaction, context, getCurrentHub);\n\n return transaction;\n },\n startTransactionOnPageLoad,\n startTransactionOnLocationChange,\n );\n\n if (markBackgroundTransactions) {\n registerBackgroundTabDetection();\n }\n\n if (_experiments.enableInteractions) {\n this._registerInteractionListener();\n }\n\n if (this.options.enableInp) {\n this._registerInpInteractionListener();\n }\n\n instrumentOutgoingRequests({\n traceFetch,\n traceXHR,\n tracePropagationTargets,\n shouldCreateSpanForRequest,\n enableHTTPTimings,\n });\n }\n\n /** Create routing idle transaction. */\n _createRouteTransaction(context) {\n if (!this._getCurrentHub) {\n DEBUG_BUILD &&\n logger.warn(`[Tracing] Did not create ${context.op} transaction because _getCurrentHub is invalid.`);\n return undefined;\n }\n\n const hub = this._getCurrentHub();\n\n const { beforeNavigate, idleTimeout, finalTimeout, heartbeatInterval } = this.options;\n\n const isPageloadTransaction = context.op === 'pageload';\n\n let expandedContext;\n if (isPageloadTransaction) {\n const sentryTrace = isPageloadTransaction ? getMetaContent('sentry-trace') : '';\n const baggage = isPageloadTransaction ? getMetaContent('baggage') : undefined;\n const { traceId, dsc, parentSpanId, sampled } = propagationContextFromHeaders(sentryTrace, baggage);\n expandedContext = {\n traceId,\n parentSpanId,\n parentSampled: sampled,\n ...context,\n metadata: {\n // eslint-disable-next-line deprecation/deprecation\n ...context.metadata,\n dynamicSamplingContext: dsc,\n },\n trimEnd: true,\n };\n } else {\n expandedContext = {\n trimEnd: true,\n ...context,\n };\n }\n\n const modifiedContext = typeof beforeNavigate === 'function' ? beforeNavigate(expandedContext) : expandedContext;\n\n // For backwards compatibility reasons, beforeNavigate can return undefined to \"drop\" the transaction (prevent it\n // from being sent to Sentry).\n const finalContext = modifiedContext === undefined ? { ...expandedContext, sampled: false } : modifiedContext;\n\n // If `beforeNavigate` set a custom name, record that fact\n // eslint-disable-next-line deprecation/deprecation\n finalContext.metadata =\n finalContext.name !== expandedContext.name\n ? // eslint-disable-next-line deprecation/deprecation\n { ...finalContext.metadata, source: 'custom' }\n : // eslint-disable-next-line deprecation/deprecation\n finalContext.metadata;\n\n this._latestRoute.name = finalContext.name;\n this._latestRoute.context = finalContext;\n\n // eslint-disable-next-line deprecation/deprecation\n if (finalContext.sampled === false) {\n DEBUG_BUILD && logger.log(`[Tracing] Will not send ${finalContext.op} transaction because of beforeNavigate.`);\n }\n\n DEBUG_BUILD && logger.log(`[Tracing] Starting ${finalContext.op} transaction on scope`);\n\n const { location } = WINDOW;\n\n const idleTransaction = startIdleTransaction(\n hub,\n finalContext,\n idleTimeout,\n finalTimeout,\n true,\n { location }, // for use in the tracesSampler\n heartbeatInterval,\n isPageloadTransaction, // should wait for finish signal if it's a pageload transaction\n );\n\n if (isPageloadTransaction) {\n WINDOW.document.addEventListener('readystatechange', () => {\n if (['interactive', 'complete'].includes(WINDOW.document.readyState)) {\n idleTransaction.sendAutoFinishSignal();\n }\n });\n\n if (['interactive', 'complete'].includes(WINDOW.document.readyState)) {\n idleTransaction.sendAutoFinishSignal();\n }\n }\n\n idleTransaction.registerBeforeFinishCallback(transaction => {\n this._collectWebVitals();\n addPerformanceEntries(transaction);\n });\n\n return idleTransaction ;\n }\n\n /** Start listener for interaction transactions */\n _registerInteractionListener() {\n let inflightInteractionTransaction;\n const registerInteractionTransaction = () => {\n const { idleTimeout, finalTimeout, heartbeatInterval } = this.options;\n const op = 'ui.action.click';\n\n // eslint-disable-next-line deprecation/deprecation\n const currentTransaction = getActiveTransaction();\n if (currentTransaction && currentTransaction.op && ['navigation', 'pageload'].includes(currentTransaction.op)) {\n DEBUG_BUILD &&\n logger.warn(\n `[Tracing] Did not create ${op} transaction because a pageload or navigation transaction is in progress.`,\n );\n return undefined;\n }\n\n if (inflightInteractionTransaction) {\n inflightInteractionTransaction.setFinishReason('interactionInterrupted');\n inflightInteractionTransaction.end();\n inflightInteractionTransaction = undefined;\n }\n\n if (!this._getCurrentHub) {\n DEBUG_BUILD && logger.warn(`[Tracing] Did not create ${op} transaction because _getCurrentHub is invalid.`);\n return undefined;\n }\n\n if (!this._latestRoute.name) {\n DEBUG_BUILD && logger.warn(`[Tracing] Did not create ${op} transaction because _latestRouteName is missing.`);\n return undefined;\n }\n\n const hub = this._getCurrentHub();\n const { location } = WINDOW;\n\n const context = {\n name: this._latestRoute.name,\n op,\n trimEnd: true,\n data: {\n [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: this._latestRoute.context\n ? getSource(this._latestRoute.context)\n : 'url',\n },\n };\n\n inflightInteractionTransaction = startIdleTransaction(\n hub,\n context,\n idleTimeout,\n finalTimeout,\n true,\n { location }, // for use in the tracesSampler\n heartbeatInterval,\n );\n };\n\n ['click'].forEach(type => {\n addEventListener(type, registerInteractionTransaction, { once: false, capture: true });\n });\n }\n\n /** Creates a listener on interaction entries, and maps interactionIds to the origin path of the interaction */\n _registerInpInteractionListener() {\n const handleEntries = ({ entries }) => {\n const client = getClient();\n // We need to get the replay, user, and activeTransaction from the current scope\n // so that we can associate replay id, profile id, and a user display to the span\n const replay =\n client !== undefined && client.getIntegrationByName !== undefined\n ? (client.getIntegrationByName('Replay') )\n : undefined;\n const replayId = replay !== undefined ? replay.getReplayId() : undefined;\n // eslint-disable-next-line deprecation/deprecation\n const activeTransaction = getActiveTransaction();\n const currentScope = getCurrentScope();\n const user = currentScope !== undefined ? currentScope.getUser() : undefined;\n entries.forEach(entry => {\n if (isPerformanceEventTiming(entry)) {\n const interactionId = entry.interactionId;\n if (interactionId === undefined) {\n return;\n }\n const existingInteraction = this._interactionIdToRouteNameMapping[interactionId];\n const duration = entry.duration;\n const startTime = entry.startTime;\n const keys = Object.keys(this._interactionIdToRouteNameMapping);\n const minInteractionId =\n keys.length > 0\n ? keys.reduce((a, b) => {\n return this._interactionIdToRouteNameMapping[a].duration <\n this._interactionIdToRouteNameMapping[b].duration\n ? a\n : b;\n })\n : undefined;\n // For a first input event to be considered, we must check that an interaction event does not already exist with the same duration and start time.\n // This is also checked in the web-vitals library.\n if (entry.entryType === 'first-input') {\n const matchingEntry = keys\n .map(key => this._interactionIdToRouteNameMapping[key])\n .some(interaction => {\n return interaction.duration === duration && interaction.startTime === startTime;\n });\n if (matchingEntry) {\n return;\n }\n }\n // Interactions with an id of 0 and are not first-input are not valid.\n if (!interactionId) {\n return;\n }\n // If the interaction already exists, we want to use the duration of the longest entry, since that is what the INP metric uses.\n if (existingInteraction) {\n existingInteraction.duration = Math.max(existingInteraction.duration, duration);\n } else if (\n keys.length < MAX_INTERACTIONS ||\n minInteractionId === undefined ||\n duration > this._interactionIdToRouteNameMapping[minInteractionId].duration\n ) {\n // If the interaction does not exist, we want to add it to the mapping if there is space, or if the duration is longer than the shortest entry.\n const routeName = this._latestRoute.name;\n const parentContext = this._latestRoute.context;\n if (routeName && parentContext) {\n if (minInteractionId && Object.keys(this._interactionIdToRouteNameMapping).length >= MAX_INTERACTIONS) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._interactionIdToRouteNameMapping[minInteractionId];\n }\n this._interactionIdToRouteNameMapping[interactionId] = {\n routeName,\n duration,\n parentContext,\n user,\n activeTransaction,\n replayId,\n startTime,\n };\n }\n }\n }\n });\n };\n addPerformanceInstrumentationHandler('event', handleEntries);\n addPerformanceInstrumentationHandler('first-input', handleEntries);\n }\n}\n\n/** Returns the value of a meta tag */\nfunction getMetaContent(metaName) {\n // Can't specify generic to `getDomElement` because tracing can be used\n // in a variety of environments, have to disable `no-unsafe-member-access`\n // as a result.\n const metaTag = getDomElement(`meta[name=${metaName}]`);\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return metaTag ? metaTag.getAttribute('content') : undefined;\n}\n\nfunction getSource(context) {\n const sourceFromAttributes = context.attributes && context.attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n // eslint-disable-next-line deprecation/deprecation\n const sourceFromData = context.data && context.data[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n // eslint-disable-next-line deprecation/deprecation\n const sourceFromMetadata = context.metadata && context.metadata.source;\n\n return sourceFromAttributes || sourceFromData || sourceFromMetadata;\n}\n\nfunction isPerformanceEventTiming(entry) {\n return 'duration' in entry;\n}\n\nexport { BROWSER_TRACING_INTEGRATION_ID, BrowserTracing, getMetaContent };\n//# sourceMappingURL=browsertracing.js.map\n","import { TRACING_DEFAULTS, addTracingExtensions, spanToJSON, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, getActiveSpan, getCurrentHub, startIdleTransaction, getActiveTransaction, getClient, getCurrentScope } from '@sentry/core';\nimport { logger, browserPerformanceTimeOrigin, addHistoryInstrumentationHandler, propagationContextFromHeaders, getDomElement } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../common/debug-build.js';\nimport { registerBackgroundTabDetection } from './backgroundtab.js';\nimport { addPerformanceInstrumentationHandler } from './instrument.js';\nimport { startTrackingWebVitals, startTrackingINP, startTrackingLongTasks, startTrackingInteractions, addPerformanceEntries } from './metrics/index.js';\nimport { defaultRequestInstrumentationOptions, instrumentOutgoingRequests } from './request.js';\nimport { WINDOW } from './types.js';\n\nconst BROWSER_TRACING_INTEGRATION_ID = 'BrowserTracing';\n\n/** Options for Browser Tracing integration */\n\nconst DEFAULT_BROWSER_TRACING_OPTIONS = {\n ...TRACING_DEFAULTS,\n instrumentNavigation: true,\n instrumentPageLoad: true,\n markBackgroundSpan: true,\n enableLongTask: true,\n enableInp: false,\n _experiments: {},\n ...defaultRequestInstrumentationOptions,\n};\n\n/**\n * The Browser Tracing integration automatically instruments browser pageload/navigation\n * actions as transactions, and captures requests, metrics and errors as spans.\n *\n * The integration can be configured with a variety of options, and can be extended to use\n * any routing library. This integration uses {@see IdleTransaction} to create transactions.\n *\n * We explicitly export the proper type here, as this has to be extended in some cases.\n */\nconst browserTracingIntegration = ((_options = {}) => {\n const _hasSetTracePropagationTargets = DEBUG_BUILD\n ? !!(\n // eslint-disable-next-line deprecation/deprecation\n (_options.tracePropagationTargets || _options.tracingOrigins)\n )\n : false;\n\n addTracingExtensions();\n\n // TODO (v8): remove this block after tracingOrigins is removed\n // Set tracePropagationTargets to tracingOrigins if specified by the user\n // In case both are specified, tracePropagationTargets takes precedence\n // eslint-disable-next-line deprecation/deprecation\n if (!_options.tracePropagationTargets && _options.tracingOrigins) {\n // eslint-disable-next-line deprecation/deprecation\n _options.tracePropagationTargets = _options.tracingOrigins;\n }\n\n const options = {\n ...DEFAULT_BROWSER_TRACING_OPTIONS,\n ..._options,\n };\n\n const _collectWebVitals = startTrackingWebVitals();\n\n /** Stores a mapping of interactionIds from PerformanceEventTimings to the origin interaction path */\n const interactionIdToRouteNameMapping = {};\n if (options.enableInp) {\n startTrackingINP(interactionIdToRouteNameMapping);\n }\n\n if (options.enableLongTask) {\n startTrackingLongTasks();\n }\n if (options._experiments.enableInteractions) {\n startTrackingInteractions();\n }\n\n const latestRoute\n\n = {\n name: undefined,\n context: undefined,\n };\n\n /** Create routing idle transaction. */\n function _createRouteTransaction(context) {\n // eslint-disable-next-line deprecation/deprecation\n const hub = getCurrentHub();\n\n const { beforeStartSpan, idleTimeout, finalTimeout, heartbeatInterval } = options;\n\n const isPageloadTransaction = context.op === 'pageload';\n\n let expandedContext;\n if (isPageloadTransaction) {\n const sentryTrace = isPageloadTransaction ? getMetaContent('sentry-trace') : '';\n const baggage = isPageloadTransaction ? getMetaContent('baggage') : undefined;\n const { traceId, dsc, parentSpanId, sampled } = propagationContextFromHeaders(sentryTrace, baggage);\n expandedContext = {\n traceId,\n parentSpanId,\n parentSampled: sampled,\n ...context,\n metadata: {\n // eslint-disable-next-line deprecation/deprecation\n ...context.metadata,\n dynamicSamplingContext: dsc,\n },\n trimEnd: true,\n };\n } else {\n expandedContext = {\n trimEnd: true,\n ...context,\n };\n }\n\n const finalContext = beforeStartSpan ? beforeStartSpan(expandedContext) : expandedContext;\n\n // If `beforeStartSpan` set a custom name, record that fact\n // eslint-disable-next-line deprecation/deprecation\n finalContext.metadata =\n finalContext.name !== expandedContext.name\n ? // eslint-disable-next-line deprecation/deprecation\n { ...finalContext.metadata, source: 'custom' }\n : // eslint-disable-next-line deprecation/deprecation\n finalContext.metadata;\n\n latestRoute.name = finalContext.name;\n latestRoute.context = finalContext;\n\n if (finalContext.sampled === false) {\n DEBUG_BUILD && logger.log(`[Tracing] Will not send ${finalContext.op} transaction because of beforeNavigate.`);\n }\n\n DEBUG_BUILD && logger.log(`[Tracing] Starting ${finalContext.op} transaction on scope`);\n\n const { location } = WINDOW;\n\n const idleTransaction = startIdleTransaction(\n hub,\n finalContext,\n idleTimeout,\n finalTimeout,\n true,\n { location }, // for use in the tracesSampler\n heartbeatInterval,\n isPageloadTransaction, // should wait for finish signal if it's a pageload transaction\n );\n\n if (isPageloadTransaction && WINDOW.document) {\n WINDOW.document.addEventListener('readystatechange', () => {\n if (['interactive', 'complete'].includes(WINDOW.document.readyState)) {\n idleTransaction.sendAutoFinishSignal();\n }\n });\n\n if (['interactive', 'complete'].includes(WINDOW.document.readyState)) {\n idleTransaction.sendAutoFinishSignal();\n }\n }\n\n idleTransaction.registerBeforeFinishCallback(transaction => {\n _collectWebVitals();\n addPerformanceEntries(transaction);\n });\n\n return idleTransaction ;\n }\n\n return {\n name: BROWSER_TRACING_INTEGRATION_ID,\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n setupOnce: () => {},\n afterAllSetup(client) {\n const clientOptions = client.getOptions();\n\n const { markBackgroundSpan, traceFetch, traceXHR, shouldCreateSpanForRequest, enableHTTPTimings, _experiments } =\n options;\n\n const clientOptionsTracePropagationTargets = clientOptions && clientOptions.tracePropagationTargets;\n // There are three ways to configure tracePropagationTargets:\n // 1. via top level client option `tracePropagationTargets`\n // 2. via BrowserTracing option `tracePropagationTargets`\n // 3. via BrowserTracing option `tracingOrigins` (deprecated)\n //\n // To avoid confusion, favour top level client option `tracePropagationTargets`, and fallback to\n // BrowserTracing option `tracePropagationTargets` and then `tracingOrigins` (deprecated).\n // This is done as it minimizes bundle size (we don't have to have undefined checks).\n //\n // If both 1 and either one of 2 or 3 are set (from above), we log out a warning.\n // eslint-disable-next-line deprecation/deprecation\n const tracePropagationTargets = clientOptionsTracePropagationTargets || options.tracePropagationTargets;\n if (DEBUG_BUILD && _hasSetTracePropagationTargets && clientOptionsTracePropagationTargets) {\n logger.warn(\n '[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.',\n );\n }\n\n let activeSpan;\n let startingUrl = WINDOW.location && WINDOW.location.href;\n\n if (client.on) {\n client.on('startNavigationSpan', (context) => {\n if (activeSpan) {\n DEBUG_BUILD && logger.log(`[Tracing] Finishing current transaction with op: ${spanToJSON(activeSpan).op}`);\n // If there's an open transaction on the scope, we need to finish it before creating an new one.\n activeSpan.end();\n }\n activeSpan = _createRouteTransaction({\n op: 'navigation',\n ...context,\n });\n });\n\n client.on('startPageLoadSpan', (context) => {\n if (activeSpan) {\n DEBUG_BUILD && logger.log(`[Tracing] Finishing current transaction with op: ${spanToJSON(activeSpan).op}`);\n // If there's an open transaction on the scope, we need to finish it before creating an new one.\n activeSpan.end();\n }\n activeSpan = _createRouteTransaction({\n op: 'pageload',\n ...context,\n });\n });\n }\n\n if (options.instrumentPageLoad && client.emit && WINDOW.location) {\n const context = {\n name: WINDOW.location.pathname,\n // pageload should always start at timeOrigin (and needs to be in s, not ms)\n startTimestamp: browserPerformanceTimeOrigin ? browserPerformanceTimeOrigin / 1000 : undefined,\n origin: 'auto.pageload.browser',\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: 'url',\n },\n };\n startBrowserTracingPageLoadSpan(client, context);\n }\n\n if (options.instrumentNavigation && client.emit && WINDOW.location) {\n addHistoryInstrumentationHandler(({ to, from }) => {\n /**\n * This early return is there to account for some cases where a navigation transaction starts right after\n * long-running pageload. We make sure that if `from` is undefined and a valid `startingURL` exists, we don't\n * create an uneccessary navigation transaction.\n *\n * This was hard to duplicate, but this behavior stopped as soon as this fix was applied. This issue might also\n * only be caused in certain development environments where the usage of a hot module reloader is causing\n * errors.\n */\n if (from === undefined && startingUrl && startingUrl.indexOf(to) !== -1) {\n startingUrl = undefined;\n return;\n }\n\n if (from !== to) {\n startingUrl = undefined;\n const context = {\n name: WINDOW.location.pathname,\n origin: 'auto.navigation.browser',\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: 'url',\n },\n };\n\n startBrowserTracingNavigationSpan(client, context);\n }\n });\n }\n\n if (markBackgroundSpan) {\n registerBackgroundTabDetection();\n }\n\n if (_experiments.enableInteractions) {\n registerInteractionListener(options, latestRoute);\n }\n\n if (options.enableInp) {\n registerInpInteractionListener(interactionIdToRouteNameMapping, latestRoute);\n }\n\n instrumentOutgoingRequests({\n traceFetch,\n traceXHR,\n tracePropagationTargets,\n shouldCreateSpanForRequest,\n enableHTTPTimings,\n });\n },\n // TODO v8: Remove this again\n // This is private API that we use to fix converted BrowserTracing integrations in Next.js & SvelteKit\n options,\n };\n}) ;\n\n/**\n * Manually start a page load span.\n * This will only do something if the BrowserTracing integration has been setup.\n */\nfunction startBrowserTracingPageLoadSpan(client, spanOptions) {\n if (!client.emit) {\n return;\n }\n\n client.emit('startPageLoadSpan', spanOptions);\n\n const span = getActiveSpan();\n const op = span && spanToJSON(span).op;\n return op === 'pageload' ? span : undefined;\n}\n\n/**\n * Manually start a navigation span.\n * This will only do something if the BrowserTracing integration has been setup.\n */\nfunction startBrowserTracingNavigationSpan(client, spanOptions) {\n if (!client.emit) {\n return;\n }\n\n client.emit('startNavigationSpan', spanOptions);\n\n const span = getActiveSpan();\n const op = span && spanToJSON(span).op;\n return op === 'navigation' ? span : undefined;\n}\n\n/** Returns the value of a meta tag */\nfunction getMetaContent(metaName) {\n // Can't specify generic to `getDomElement` because tracing can be used\n // in a variety of environments, have to disable `no-unsafe-member-access`\n // as a result.\n const metaTag = getDomElement(`meta[name=${metaName}]`);\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return metaTag ? metaTag.getAttribute('content') : undefined;\n}\n\n/** Start listener for interaction transactions */\nfunction registerInteractionListener(\n options,\n latestRoute\n\n,\n) {\n let inflightInteractionTransaction;\n const registerInteractionTransaction = () => {\n const { idleTimeout, finalTimeout, heartbeatInterval } = options;\n const op = 'ui.action.click';\n\n // eslint-disable-next-line deprecation/deprecation\n const currentTransaction = getActiveTransaction();\n if (currentTransaction && currentTransaction.op && ['navigation', 'pageload'].includes(currentTransaction.op)) {\n DEBUG_BUILD &&\n logger.warn(\n `[Tracing] Did not create ${op} transaction because a pageload or navigation transaction is in progress.`,\n );\n return undefined;\n }\n\n if (inflightInteractionTransaction) {\n inflightInteractionTransaction.setFinishReason('interactionInterrupted');\n inflightInteractionTransaction.end();\n inflightInteractionTransaction = undefined;\n }\n\n if (!latestRoute.name) {\n DEBUG_BUILD && logger.warn(`[Tracing] Did not create ${op} transaction because _latestRouteName is missing.`);\n return undefined;\n }\n\n const { location } = WINDOW;\n\n const context = {\n name: latestRoute.name,\n op,\n trimEnd: true,\n data: {\n [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: latestRoute.context ? getSource(latestRoute.context) : 'url',\n },\n };\n\n inflightInteractionTransaction = startIdleTransaction(\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub(),\n context,\n idleTimeout,\n finalTimeout,\n true,\n { location }, // for use in the tracesSampler\n heartbeatInterval,\n );\n };\n\n ['click'].forEach(type => {\n addEventListener(type, registerInteractionTransaction, { once: false, capture: true });\n });\n}\n\nfunction isPerformanceEventTiming(entry) {\n return 'duration' in entry;\n}\n\n/** We store up to 10 interaction candidates max to cap memory usage. This is the same cap as getINP from web-vitals */\nconst MAX_INTERACTIONS = 10;\n\n/** Creates a listener on interaction entries, and maps interactionIds to the origin path of the interaction */\nfunction registerInpInteractionListener(\n interactionIdToRouteNameMapping,\n latestRoute\n\n,\n) {\n const handleEntries = ({ entries }) => {\n const client = getClient();\n // We need to get the replay, user, and activeTransaction from the current scope\n // so that we can associate replay id, profile id, and a user display to the span\n const replay =\n client !== undefined && client.getIntegrationByName !== undefined\n ? (client.getIntegrationByName('Replay') )\n : undefined;\n const replayId = replay !== undefined ? replay.getReplayId() : undefined;\n // eslint-disable-next-line deprecation/deprecation\n const activeTransaction = getActiveTransaction();\n const currentScope = getCurrentScope();\n const user = currentScope !== undefined ? currentScope.getUser() : undefined;\n entries.forEach(entry => {\n if (isPerformanceEventTiming(entry)) {\n const interactionId = entry.interactionId;\n if (interactionId === undefined) {\n return;\n }\n const existingInteraction = interactionIdToRouteNameMapping[interactionId];\n const duration = entry.duration;\n const startTime = entry.startTime;\n const keys = Object.keys(interactionIdToRouteNameMapping);\n const minInteractionId =\n keys.length > 0\n ? keys.reduce((a, b) => {\n return interactionIdToRouteNameMapping[a].duration < interactionIdToRouteNameMapping[b].duration\n ? a\n : b;\n })\n : undefined;\n // For a first input event to be considered, we must check that an interaction event does not already exist with the same duration and start time.\n // This is also checked in the web-vitals library.\n if (entry.entryType === 'first-input') {\n const matchingEntry = keys\n .map(key => interactionIdToRouteNameMapping[key])\n .some(interaction => {\n return interaction.duration === duration && interaction.startTime === startTime;\n });\n if (matchingEntry) {\n return;\n }\n }\n // Interactions with an id of 0 and are not first-input are not valid.\n if (!interactionId) {\n return;\n }\n // If the interaction already exists, we want to use the duration of the longest entry, since that is what the INP metric uses.\n if (existingInteraction) {\n existingInteraction.duration = Math.max(existingInteraction.duration, duration);\n } else if (\n keys.length < MAX_INTERACTIONS ||\n minInteractionId === undefined ||\n duration > interactionIdToRouteNameMapping[minInteractionId].duration\n ) {\n // If the interaction does not exist, we want to add it to the mapping if there is space, or if the duration is longer than the shortest entry.\n const routeName = latestRoute.name;\n const parentContext = latestRoute.context;\n if (routeName && parentContext) {\n if (minInteractionId && Object.keys(interactionIdToRouteNameMapping).length >= MAX_INTERACTIONS) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete interactionIdToRouteNameMapping[minInteractionId];\n }\n interactionIdToRouteNameMapping[interactionId] = {\n routeName,\n duration,\n parentContext,\n user,\n activeTransaction,\n replayId,\n startTime,\n };\n }\n }\n }\n });\n };\n addPerformanceInstrumentationHandler('event', handleEntries);\n addPerformanceInstrumentationHandler('first-input', handleEntries);\n}\n\nfunction getSource(context) {\n const sourceFromAttributes = context.attributes && context.attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n // eslint-disable-next-line deprecation/deprecation\n const sourceFromData = context.data && context.data[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n // eslint-disable-next-line deprecation/deprecation\n const sourceFromMetadata = context.metadata && context.metadata.source;\n\n return sourceFromAttributes || sourceFromData || sourceFromMetadata;\n}\n\nexport { BROWSER_TRACING_INTEGRATION_ID, browserTracingIntegration, getMetaContent, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan };\n//# sourceMappingURL=browserTracingIntegration.js.map\n","import { WINDOW } from '@sentry/react';\nimport { addFetchInstrumentationHandler, browserPerformanceTimeOrigin } from '@sentry/utils';\n\nconst DEFAULT_TAGS = {\n 'routing.instrumentation': 'next-app-router',\n} ;\n\n/**\n * Instruments the Next.js Client App Router.\n */\n// TODO(v8): Clean this function up by splitting into pageload and navigation instrumentation respectively. Also remove startTransactionCb in the process.\nfunction appRouterInstrumentation(\n startTransactionCb,\n startTransactionOnPageLoad = true,\n startTransactionOnLocationChange = true,\n startPageloadSpanCallback,\n startNavigationSpanCallback,\n) {\n // We keep track of the active transaction so we can finish it when we start a navigation transaction.\n let activeTransaction = undefined;\n\n // We keep track of the previous location name so we can set the `from` field on navigation transactions.\n // This is either a route or a pathname.\n let prevLocationName = WINDOW.location.pathname;\n\n if (startTransactionOnPageLoad) {\n const transactionContext = {\n name: prevLocationName,\n op: 'pageload',\n origin: 'auto.pageload.nextjs.app_router_instrumentation',\n tags: DEFAULT_TAGS,\n // pageload should always start at timeOrigin (and needs to be in s, not ms)\n startTimestamp: browserPerformanceTimeOrigin ? browserPerformanceTimeOrigin / 1000 : undefined,\n metadata: { source: 'url' },\n } ;\n activeTransaction = startTransactionCb(transactionContext);\n startPageloadSpanCallback(transactionContext);\n }\n\n if (startTransactionOnLocationChange) {\n addFetchInstrumentationHandler(handlerData => {\n // The instrumentation handler is invoked twice - once for starting a request and once when the req finishes\n // We can use the existence of the end-timestamp to filter out \"finishing\"-events.\n if (handlerData.endTimestamp !== undefined) {\n return;\n }\n\n // Only GET requests can be navigating RSC requests\n if (handlerData.fetchData.method !== 'GET') {\n return;\n }\n\n const parsedNavigatingRscFetchArgs = parseNavigatingRscFetchArgs(handlerData.args);\n\n if (parsedNavigatingRscFetchArgs === null) {\n return;\n }\n\n const transactionName = parsedNavigatingRscFetchArgs.targetPathname;\n const tags = {\n ...DEFAULT_TAGS,\n from: prevLocationName,\n };\n\n prevLocationName = transactionName;\n\n if (activeTransaction) {\n activeTransaction.end();\n }\n\n const transactionContext = {\n name: transactionName,\n op: 'navigation',\n origin: 'auto.navigation.nextjs.app_router_instrumentation',\n tags,\n metadata: { source: 'url' },\n } ;\n\n startTransactionCb(transactionContext);\n startNavigationSpanCallback(transactionContext);\n });\n }\n}\n\nfunction parseNavigatingRscFetchArgs(fetchArgs)\n\n {\n // Make sure the first arg is a URL object\n if (!fetchArgs[0] || typeof fetchArgs[0] !== 'object' || (fetchArgs[0] ).searchParams === undefined) {\n return null;\n }\n\n // Make sure the second argument is some kind of fetch config obj that contains headers\n if (!fetchArgs[1] || typeof fetchArgs[1] !== 'object' || !('headers' in fetchArgs[1])) {\n return null;\n }\n\n try {\n const url = fetchArgs[0] ;\n const headers = fetchArgs[1].headers ;\n\n // Not an RSC request\n if (headers['RSC'] !== '1') {\n return null;\n }\n\n // Prefetch requests are not navigating RSC requests\n if (headers['Next-Router-Prefetch'] === '1') {\n return null;\n }\n\n return {\n targetPathname: url.pathname,\n };\n } catch (e) {\n return null;\n }\n}\n\nexport { appRouterInstrumentation };\n//# sourceMappingURL=appRouterRoutingInstrumentation.js.map\n","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nconst DEBUG_BUILD = (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__);\n\nexport { DEBUG_BUILD };\n//# sourceMappingURL=debug-build.js.map\n","import { getClient, getCurrentScope } from '@sentry/core';\nimport { WINDOW } from '@sentry/react';\nimport { tracingContextFromHeaders, browserPerformanceTimeOrigin, stripUrlQueryAndFragment, logger } from '@sentry/utils';\nimport Router from 'next/router';\nimport { DEBUG_BUILD } from '../../common/debug-build.js';\n\nconst globalObject = WINDOW\n\n;\n\n/**\n * Every Next.js page (static and dynamic ones) comes with a script tag with the id \"__NEXT_DATA__\". This script tag\n * contains a JSON object with data that was either generated at build time for static pages (`getStaticProps`), or at\n * runtime with data fetchers like `getServerSideProps.`.\n *\n * We can use this information to:\n * - Always get the parameterized route we're in when loading a page.\n * - Send trace information (trace-id, baggage) from the server to the client.\n *\n * This function extracts this information.\n */\nfunction extractNextDataTagInformation() {\n let nextData;\n // Let's be on the safe side and actually check first if there is really a __NEXT_DATA__ script tag on the page.\n // Theoretically this should always be the case though.\n const nextDataTag = globalObject.document.getElementById('__NEXT_DATA__');\n if (nextDataTag && nextDataTag.innerHTML) {\n try {\n nextData = JSON.parse(nextDataTag.innerHTML);\n } catch (e) {\n DEBUG_BUILD && logger.warn('Could not extract __NEXT_DATA__');\n }\n }\n\n if (!nextData) {\n return {};\n }\n\n const nextDataTagInfo = {};\n\n const { page, query, props } = nextData;\n\n // `nextData.page` always contains the parameterized route - except for when an error occurs in a data fetching\n // function, then it is \"/_error\", but that isn't a problem since users know which route threw by looking at the\n // parent transaction\n // TODO: Actually this is a problem (even though it is not that big), because the DSC and the transaction payload will contain\n // a different transaction name. Maybe we can fix this. Idea: Also send transaction name via pageProps when available.\n nextDataTagInfo.route = page;\n nextDataTagInfo.params = query;\n\n if (props && props.pageProps) {\n nextDataTagInfo.sentryTrace = props.pageProps._sentryTraceData;\n nextDataTagInfo.baggage = props.pageProps._sentryBaggage;\n }\n\n return nextDataTagInfo;\n}\n\nconst DEFAULT_TAGS = {\n 'routing.instrumentation': 'next-pages-router',\n} ;\n\n// We keep track of the active transaction so we can finish it when we start a navigation transaction.\nlet activeTransaction = undefined;\n\n// We keep track of the previous location name so we can set the `from` field on navigation transactions.\n// This is either a route or a pathname.\nlet prevLocationName = undefined;\n\nconst client = getClient();\n\n/**\n * Instruments the Next.js pages router. Only supported for\n * client side routing. Works for Next >= 10.\n *\n * Leverages the SingletonRouter from the `next/router` to\n * generate pageload/navigation transactions and parameterize\n * transaction names.\n */\nfunction pagesRouterInstrumentation(\n startTransactionCb,\n startTransactionOnPageLoad = true,\n startTransactionOnLocationChange = true,\n startPageloadSpanCallback,\n startNavigationSpanCallback,\n) {\n const { route, params, sentryTrace, baggage } = extractNextDataTagInformation();\n // eslint-disable-next-line deprecation/deprecation\n const { traceparentData, dynamicSamplingContext, propagationContext } = tracingContextFromHeaders(\n sentryTrace,\n baggage,\n );\n\n getCurrentScope().setPropagationContext(propagationContext);\n prevLocationName = route || globalObject.location.pathname;\n\n if (startTransactionOnPageLoad) {\n const source = route ? 'route' : 'url';\n const transactionContext = {\n name: prevLocationName,\n op: 'pageload',\n origin: 'auto.pageload.nextjs.pages_router_instrumentation',\n tags: DEFAULT_TAGS,\n // pageload should always start at timeOrigin (and needs to be in s, not ms)\n startTimestamp: browserPerformanceTimeOrigin ? browserPerformanceTimeOrigin / 1000 : undefined,\n ...(params && client && client.getOptions().sendDefaultPii && { data: params }),\n ...traceparentData,\n metadata: {\n source,\n dynamicSamplingContext: traceparentData && !dynamicSamplingContext ? {} : dynamicSamplingContext,\n },\n } ;\n activeTransaction = startTransactionCb(transactionContext);\n startPageloadSpanCallback(transactionContext);\n }\n\n if (startTransactionOnLocationChange) {\n Router.events.on('routeChangeStart', (navigationTarget) => {\n const strippedNavigationTarget = stripUrlQueryAndFragment(navigationTarget);\n const matchedRoute = getNextRouteFromPathname(strippedNavigationTarget);\n\n let transactionName;\n let transactionSource;\n\n if (matchedRoute) {\n transactionName = matchedRoute;\n transactionSource = 'route';\n } else {\n transactionName = strippedNavigationTarget;\n transactionSource = 'url';\n }\n\n const tags = {\n ...DEFAULT_TAGS,\n from: prevLocationName,\n };\n\n prevLocationName = transactionName;\n\n if (activeTransaction) {\n activeTransaction.end();\n }\n\n const transactionContext = {\n name: transactionName,\n op: 'navigation',\n origin: 'auto.navigation.nextjs.pages_router_instrumentation',\n tags,\n metadata: { source: transactionSource },\n } ;\n const navigationTransaction = startTransactionCb(transactionContext);\n startNavigationSpanCallback(transactionContext);\n\n if (navigationTransaction) {\n // In addition to the navigation transaction we're also starting a span to mark Next.js's `routeChangeStart`\n // and `routeChangeComplete` events.\n // We don't want to finish the navigation transaction on `routeChangeComplete`, since users might want to attach\n // spans to that transaction even after `routeChangeComplete` is fired (eg. HTTP requests in some useEffect\n // hooks). Instead, we'll simply let the navigation transaction finish itself (it's an `IdleTransaction`).\n // eslint-disable-next-line deprecation/deprecation\n const nextRouteChangeSpan = navigationTransaction.startChild({\n op: 'ui.nextjs.route-change',\n origin: 'auto.ui.nextjs.pages_router_instrumentation',\n description: 'Next.js Route Change',\n });\n\n const finishRouteChangeSpan = () => {\n nextRouteChangeSpan.end();\n Router.events.off('routeChangeComplete', finishRouteChangeSpan);\n };\n\n Router.events.on('routeChangeComplete', finishRouteChangeSpan);\n }\n });\n }\n}\n\nfunction getNextRouteFromPathname(pathname) {\n const pageRoutes = (globalObject.__BUILD_MANIFEST || {}).sortedPages;\n\n // Page route should in 99.999% of the cases be defined by now but just to be sure we make a check here\n if (!pageRoutes) {\n return;\n }\n\n return pageRoutes.find(route => {\n const routeRegExp = convertNextRouteToRegExp(route);\n return pathname.match(routeRegExp);\n });\n}\n\n/**\n * Converts a Next.js style route to a regular expression that matches on pathnames (no query params or URL fragments).\n *\n * In general this involves replacing any instances of square brackets in a route with a wildcard:\n * e.g. \"/users/[id]/info\" becomes /\\/users\\/([^/]+?)\\/info/\n *\n * Some additional edgecases need to be considered:\n * - All routes have an optional slash at the end, meaning users can navigate to \"/users/[id]/info\" or\n * \"/users/[id]/info/\" - both will be resolved to \"/users/[id]/info\".\n * - Non-optional \"catchall\"s at the end of a route must be considered when matching (e.g. \"/users/[...params]\").\n * - Optional \"catchall\"s at the end of a route must be considered when matching (e.g. \"/users/[[...params]]\").\n *\n * @param route A Next.js style route as it is found in `global.__BUILD_MANIFEST.sortedPages`\n */\nfunction convertNextRouteToRegExp(route) {\n // We can assume a route is at least \"/\".\n const routeParts = route.split('/');\n\n let optionalCatchallWildcardRegex = '';\n if (routeParts[routeParts.length - 1].match(/^\\[\\[\\.\\.\\..+\\]\\]$/)) {\n // If last route part has pattern \"[[...xyz]]\" we pop the latest route part to get rid of the required trailing\n // slash that would come before it if we didn't pop it.\n routeParts.pop();\n optionalCatchallWildcardRegex = '(?:/(.+?))?';\n }\n\n const rejoinedRouteParts = routeParts\n .map(\n routePart =>\n routePart\n .replace(/^\\[\\.\\.\\..+\\]$/, '(.+?)') // Replace catch all wildcard with regex wildcard\n .replace(/^\\[.*\\]$/, '([^/]+?)'), // Replace route wildcards with lazy regex wildcards\n )\n .join('/');\n\n // eslint-disable-next-line @sentry-internal/sdk/no-regexp-constructor -- routeParts are from the build manifest, so no raw user input\n return new RegExp(\n `^${rejoinedRouteParts}${optionalCatchallWildcardRegex}(?:/)?$`, // optional slash at the end\n );\n}\n\nexport { pagesRouterInstrumentation };\n//# sourceMappingURL=pagesRouterRoutingInstrumentation.js.map\n","import { WINDOW } from '@sentry/react';\nimport { appRouterInstrumentation } from './appRouterRoutingInstrumentation.js';\nimport { pagesRouterInstrumentation } from './pagesRouterRoutingInstrumentation.js';\n\n/**\n * Instruments the Next.js Client Router.\n *\n * @deprecated Use `browserTracingIntegration()` as exported from `@sentry/nextjs` instead.\n */\nfunction nextRouterInstrumentation(\n startTransactionCb,\n startTransactionOnPageLoad = true,\n startTransactionOnLocationChange = true,\n startPageloadSpanCallback,\n startNavigationSpanCallback,\n) {\n const isAppRouter = !WINDOW.document.getElementById('__NEXT_DATA__');\n if (isAppRouter) {\n appRouterInstrumentation(\n startTransactionCb,\n startTransactionOnPageLoad,\n startTransactionOnLocationChange,\n startPageloadSpanCallback || (() => undefined),\n startNavigationSpanCallback || (() => undefined),\n );\n } else {\n pagesRouterInstrumentation(\n startTransactionCb,\n startTransactionOnPageLoad,\n startTransactionOnLocationChange,\n startPageloadSpanCallback || (() => undefined),\n startNavigationSpanCallback || (() => undefined),\n );\n }\n}\n\nexport { nextRouterInstrumentation };\n//# sourceMappingURL=nextRoutingInstrumentation.js.map\n","import { _optionalChain } from '@sentry/utils';\nimport { BrowserTracing as BrowserTracing$1, defaultRequestInstrumentationOptions, browserTracingIntegration as browserTracingIntegration$1, startBrowserTracingPageLoadSpan, startBrowserTracingNavigationSpan } from '@sentry/react';\nimport { nextRouterInstrumentation } from './routing/nextRoutingInstrumentation.js';\n\n/**\n * A custom BrowserTracing integration for Next.js.\n *\n * @deprecated Use `browserTracingIntegration` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nclass BrowserTracing extends BrowserTracing$1 {\n // eslint-disable-next-line deprecation/deprecation\n constructor(options) {\n super({\n // eslint-disable-next-line deprecation/deprecation\n tracingOrigins:\n process.env.NODE_ENV === 'development'\n ? [\n // Will match any URL that contains \"localhost\" but not \"webpack.hot-update.json\" - The webpack dev-server\n // has cors and it doesn't like extra headers when it's accessed from a different URL.\n // TODO(v8): Ideally we rework our tracePropagationTargets logic so this hack won't be necessary anymore (see issue #9764)\n /^(?=.*localhost)(?!.*webpack\\.hot-update\\.json).*/,\n /^\\/(?!\\/)/,\n ]\n : // eslint-disable-next-line deprecation/deprecation\n [...defaultRequestInstrumentationOptions.tracingOrigins, /^(api\\/)/],\n // eslint-disable-next-line deprecation/deprecation\n routingInstrumentation: nextRouterInstrumentation,\n ...options,\n });\n }\n}\n\n/**\n * A custom BrowserTracing integration for Next.js.\n */\nfunction browserTracingIntegration(\n options,\n) {\n const browserTracingIntegrationInstance = browserTracingIntegration$1({\n // eslint-disable-next-line deprecation/deprecation\n tracingOrigins:\n process.env.NODE_ENV === 'development'\n ? [\n // Will match any URL that contains \"localhost\" but not \"webpack.hot-update.json\" - The webpack dev-server\n // has cors and it doesn't like extra headers when it's accessed from a different URL.\n // TODO(v8): Ideally we rework our tracePropagationTargets logic so this hack won't be necessary anymore (see issue #9764)\n /^(?=.*localhost)(?!.*webpack\\.hot-update\\.json).*/,\n /^\\/(?!\\/)/,\n ]\n : // eslint-disable-next-line deprecation/deprecation\n [...defaultRequestInstrumentationOptions.tracingOrigins, /^(api\\/)/],\n ...options,\n instrumentNavigation: false,\n instrumentPageLoad: false,\n });\n\n return {\n ...browserTracingIntegrationInstance,\n afterAllSetup(client) {\n const startPageloadCallback = (startSpanOptions) => {\n startBrowserTracingPageLoadSpan(client, startSpanOptions);\n };\n\n const startNavigationCallback = (startSpanOptions) => {\n startBrowserTracingNavigationSpan(client, startSpanOptions);\n };\n\n // We need to run the navigation span instrumentation before the `afterAllSetup` hook on the normal browser\n // tracing integration because we need to ensure the order of execution is as follows:\n // Instrumentation to start span on RSC fetch request runs -> Instrumentation to put tracing headers from active span on fetch runs\n // If it were the other way around, the RSC fetch request would not receive the tracing headers from the navigation transaction.\n // eslint-disable-next-line deprecation/deprecation\n nextRouterInstrumentation(\n () => undefined,\n false,\n _optionalChain([options, 'optionalAccess', _ => _.instrumentNavigation]),\n startPageloadCallback,\n startNavigationCallback,\n );\n\n browserTracingIntegrationInstance.afterAllSetup(client);\n\n // eslint-disable-next-line deprecation/deprecation\n nextRouterInstrumentation(\n () => undefined,\n _optionalChain([options, 'optionalAccess', _2 => _2.instrumentPageLoad]),\n false,\n startPageloadCallback,\n startNavigationCallback,\n );\n },\n };\n}\n\nexport { BrowserTracing, browserTracingIntegration };\n//# sourceMappingURL=browserTracingIntegration.js.map\n","// Slightly modified (no IE8 support, ES6) and transcribed to TypeScript\n// https://github.com/calvinmetcalf/rollup-plugin-node-builtins/blob/63ab8aacd013767445ca299e468d9a60a95328d7/src/es6/path.js\n//\n// Copyright Joyent, Inc.and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n/** JSDoc */\nfunction normalizeArray(parts, allowAboveRoot) {\n // if the path tries to go above the root, `up` ends up > 0\n let up = 0;\n for (let i = parts.length - 1; i >= 0; i--) {\n const last = parts[i];\n if (last === '.') {\n parts.splice(i, 1);\n } else if (last === '..') {\n parts.splice(i, 1);\n up++;\n } else if (up) {\n parts.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (allowAboveRoot) {\n for (; up--; up) {\n parts.unshift('..');\n }\n }\n\n return parts;\n}\n\n// Split a filename into [root, dir, basename, ext], unix version\n// 'root' is just a slash, or nothing.\nconst splitPathRe = /^(\\S+:\\\\|\\/?)([\\s\\S]*?)((?:\\.{1,2}|[^/\\\\]+?|)(\\.[^./\\\\]*|))(?:[/\\\\]*)$/;\n/** JSDoc */\nfunction splitPath(filename) {\n // Truncate files names greater than 1024 characters to avoid regex dos\n // https://github.com/getsentry/sentry-javascript/pull/8737#discussion_r1285719172\n const truncated = filename.length > 1024 ? `${filename.slice(-1024)}` : filename;\n const parts = splitPathRe.exec(truncated);\n return parts ? parts.slice(1) : [];\n}\n\n// path.resolve([from ...], to)\n// posix version\n/** JSDoc */\nfunction resolve(...args) {\n let resolvedPath = '';\n let resolvedAbsolute = false;\n\n for (let i = args.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n const path = i >= 0 ? args[i] : '/';\n\n // Skip empty entries\n if (!path) {\n continue;\n }\n\n resolvedPath = `${path}/${resolvedPath}`;\n resolvedAbsolute = path.charAt(0) === '/';\n }\n\n // At this point the path should be resolved to a full absolute path, but\n // handle relative paths to be safe (might happen when process.cwd() fails)\n\n // Normalize the path\n resolvedPath = normalizeArray(\n resolvedPath.split('/').filter(p => !!p),\n !resolvedAbsolute,\n ).join('/');\n\n return (resolvedAbsolute ? '/' : '') + resolvedPath || '.';\n}\n\n/** JSDoc */\nfunction trim(arr) {\n let start = 0;\n for (; start < arr.length; start++) {\n if (arr[start] !== '') {\n break;\n }\n }\n\n let end = arr.length - 1;\n for (; end >= 0; end--) {\n if (arr[end] !== '') {\n break;\n }\n }\n\n if (start > end) {\n return [];\n }\n return arr.slice(start, end - start + 1);\n}\n\n// path.relative(from, to)\n// posix version\n/** JSDoc */\nfunction relative(from, to) {\n /* eslint-disable no-param-reassign */\n from = resolve(from).slice(1);\n to = resolve(to).slice(1);\n /* eslint-enable no-param-reassign */\n\n const fromParts = trim(from.split('/'));\n const toParts = trim(to.split('/'));\n\n const length = Math.min(fromParts.length, toParts.length);\n let samePartsLength = length;\n for (let i = 0; i < length; i++) {\n if (fromParts[i] !== toParts[i]) {\n samePartsLength = i;\n break;\n }\n }\n\n let outputParts = [];\n for (let i = samePartsLength; i < fromParts.length; i++) {\n outputParts.push('..');\n }\n\n outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n return outputParts.join('/');\n}\n\n// path.normalize(path)\n// posix version\n/** JSDoc */\nfunction normalizePath(path) {\n const isPathAbsolute = isAbsolute(path);\n const trailingSlash = path.slice(-1) === '/';\n\n // Normalize the path\n let normalizedPath = normalizeArray(\n path.split('/').filter(p => !!p),\n !isPathAbsolute,\n ).join('/');\n\n if (!normalizedPath && !isPathAbsolute) {\n normalizedPath = '.';\n }\n if (normalizedPath && trailingSlash) {\n normalizedPath += '/';\n }\n\n return (isPathAbsolute ? '/' : '') + normalizedPath;\n}\n\n// posix version\n/** JSDoc */\nfunction isAbsolute(path) {\n return path.charAt(0) === '/';\n}\n\n// posix version\n/** JSDoc */\nfunction join(...args) {\n return normalizePath(args.join('/'));\n}\n\n/** JSDoc */\nfunction dirname(path) {\n const result = splitPath(path);\n const root = result[0];\n let dir = result[1];\n\n if (!root && !dir) {\n // No dirname whatsoever\n return '.';\n }\n\n if (dir) {\n // It has a dirname, strip trailing slash\n dir = dir.slice(0, dir.length - 1);\n }\n\n return root + dir;\n}\n\n/** JSDoc */\nfunction basename(path, ext) {\n let f = splitPath(path)[2];\n if (ext && f.slice(ext.length * -1) === ext) {\n f = f.slice(0, f.length - ext.length);\n }\n return f;\n}\n\nexport { basename, dirname, isAbsolute, join, normalizePath, relative, resolve };\n//# sourceMappingURL=path.js.map\n","import { defineIntegration, convertIntegrationFnToClass } from '@sentry/core';\nimport { relative, basename } from '@sentry/utils';\n\nconst INTEGRATION_NAME = 'RewriteFrames';\n\nconst _rewriteFramesIntegration = ((options = {}) => {\n const root = options.root;\n const prefix = options.prefix || 'app:///';\n\n const iteratee =\n options.iteratee ||\n ((frame) => {\n if (!frame.filename) {\n return frame;\n }\n // Determine if this is a Windows frame by checking for a Windows-style prefix such as `C:\\`\n const isWindowsFrame =\n /^[a-zA-Z]:\\\\/.test(frame.filename) ||\n // or the presence of a backslash without a forward slash (which are not allowed on Windows)\n (frame.filename.includes('\\\\') && !frame.filename.includes('/'));\n // Check if the frame filename begins with `/`\n const startsWithSlash = /^\\//.test(frame.filename);\n if (isWindowsFrame || startsWithSlash) {\n const filename = isWindowsFrame\n ? frame.filename\n .replace(/^[a-zA-Z]:/, '') // remove Windows-style prefix\n .replace(/\\\\/g, '/') // replace all `\\\\` instances with `/`\n : frame.filename;\n const base = root ? relative(root, filename) : basename(filename);\n frame.filename = `${prefix}${base}`;\n }\n return frame;\n });\n\n /** Process an exception event. */\n function _processExceptionsEvent(event) {\n try {\n return {\n ...event,\n exception: {\n ...event.exception,\n // The check for this is performed inside `process` call itself, safe to skip here\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n values: event.exception.values.map(value => ({\n ...value,\n ...(value.stacktrace && { stacktrace: _processStacktrace(value.stacktrace) }),\n })),\n },\n };\n } catch (_oO) {\n return event;\n }\n }\n\n /** Process a stack trace. */\n function _processStacktrace(stacktrace) {\n return {\n ...stacktrace,\n frames: stacktrace && stacktrace.frames && stacktrace.frames.map(f => iteratee(f)),\n };\n }\n\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function\n processEvent(originalEvent) {\n let processedEvent = originalEvent;\n\n if (originalEvent.exception && Array.isArray(originalEvent.exception.values)) {\n processedEvent = _processExceptionsEvent(processedEvent);\n }\n\n return processedEvent;\n },\n };\n}) ;\n\nconst rewriteFramesIntegration = defineIntegration(_rewriteFramesIntegration);\n\n/**\n * Rewrite event frames paths.\n * @deprecated Use `rewriteFramesIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nconst RewriteFrames = convertIntegrationFnToClass(\n INTEGRATION_NAME,\n rewriteFramesIntegration,\n)\n\n;\n\nexport { RewriteFrames, rewriteFramesIntegration };\n//# sourceMappingURL=rewriteframes.js.map\n","import { _optionalChain } from '@sentry/utils';\nimport { defineIntegration } from '@sentry/core';\nimport { rewriteFramesIntegration as rewriteFramesIntegration$1 } from '@sentry/integrations';\nimport { GLOBAL_OBJ } from '@sentry/utils';\n\nconst globalWithInjectedValues = GLOBAL_OBJ\n\n;\n\nconst customRewriteFramesIntegration = ((options) => {\n // This value is injected at build time, based on the output directory specified in the build config. Though a default\n // is set there, we set it here as well, just in case something has gone wrong with the injection.\n const assetPrefixPath = globalWithInjectedValues.__rewriteFramesAssetPrefixPath__ || '';\n\n return rewriteFramesIntegration$1({\n // Turn `//_next/static/...` into `app:///_next/static/...`\n iteratee: frame => {\n try {\n const { origin } = new URL(frame.filename );\n frame.filename = _optionalChain([frame, 'access', _ => _.filename, 'optionalAccess', _2 => _2.replace, 'call', _3 => _3(origin, 'app://'), 'access', _4 => _4.replace, 'call', _5 => _5(assetPrefixPath, '')]);\n } catch (err) {\n // Filename wasn't a properly formed URL, so there's nothing we can do\n }\n\n // We need to URI-decode the filename because Next.js has wildcard routes like \"/users/[id].js\" which show up as \"/users/%5id%5.js\" in Error stacktraces.\n // The corresponding sources that Next.js generates have proper brackets so we also need proper brackets in the frame so that source map resolving works.\n if (frame.filename && frame.filename.startsWith('app:///_next')) {\n frame.filename = decodeURI(frame.filename);\n }\n\n if (\n frame.filename &&\n frame.filename.match(\n /^app:\\/\\/\\/_next\\/static\\/chunks\\/(main-|main-app-|polyfills-|webpack-|framework-|framework\\.)[0-9a-f]+\\.js$/,\n )\n ) {\n // We don't care about these frames. It's Next.js internal code.\n frame.in_app = false;\n }\n\n return frame;\n },\n ...options,\n });\n}) ;\n\nconst rewriteFramesIntegration = defineIntegration(customRewriteFramesIntegration);\n\nexport { customRewriteFramesIntegration, rewriteFramesIntegration };\n//# sourceMappingURL=rewriteFramesIntegration.js.map\n","import { dsnFromString, logger, GLOBAL_OBJ } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../common/debug-build.js';\n\nconst globalWithInjectedValues = GLOBAL_OBJ\n\n;\n\n/**\n * Applies the `tunnel` option to the Next.js SDK options based on `withSentryConfig`'s `tunnelRoute` option.\n */\nfunction applyTunnelRouteOption(options) {\n const tunnelRouteOption = globalWithInjectedValues.__sentryRewritesTunnelPath__;\n if (tunnelRouteOption && options.dsn) {\n const dsnComponents = dsnFromString(options.dsn);\n if (!dsnComponents) {\n return;\n }\n const sentrySaasDsnMatch = dsnComponents.host.match(/^o(\\d+)\\.ingest(?:\\.([a-z]{2}))?\\.sentry\\.io$/);\n if (sentrySaasDsnMatch) {\n const orgId = sentrySaasDsnMatch[1];\n const regionCode = sentrySaasDsnMatch[2];\n let tunnelPath = `${tunnelRouteOption}?o=${orgId}&p=${dsnComponents.projectId}`;\n if (regionCode) {\n tunnelPath += `&r=${regionCode}`;\n }\n options.tunnel = tunnelPath;\n DEBUG_BUILD && logger.info(`Tunneling events to \"${tunnelPath}\"`);\n } else {\n DEBUG_BUILD && logger.warn('Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.');\n }\n }\n}\n\nexport { applyTunnelRouteOption };\n//# sourceMappingURL=tunnelRoute.js.map\n","import { applySdkMetadata, hasTracingEnabled } from '@sentry/core';\nimport { Integrations as Integrations$1, init as init$1, getCurrentScope, getDefaultIntegrations as getDefaultIntegrations$1 } from '@sentry/react';\nexport * from '@sentry/react';\nimport { devErrorSymbolicationEventProcessor } from '../common/devErrorSymbolicationEventProcessor.js';\nimport { getVercelEnv } from '../common/getVercelEnv.js';\nimport { BrowserTracing, browserTracingIntegration } from './browserTracingIntegration.js';\nexport { BrowserTracing, browserTracingIntegration } from './browserTracingIntegration.js';\nimport { rewriteFramesIntegration } from './rewriteFramesIntegration.js';\nexport { rewriteFramesIntegration } from './rewriteFramesIntegration.js';\nimport { applyTunnelRouteOption } from './tunnelRoute.js';\nexport { nextRouterInstrumentation } from './routing/nextRoutingInstrumentation.js';\nexport { captureUnderscoreErrorException } from '../common/_error.js';\nexport { withSentryGetStaticProps, wrapGetStaticPropsWithSentry } from '../common/wrapGetStaticPropsWithSentry.js';\nexport { withSentryServerSideGetInitialProps, wrapGetInitialPropsWithSentry } from '../common/wrapGetInitialPropsWithSentry.js';\nexport { withSentryServerSideAppGetInitialProps, wrapAppGetInitialPropsWithSentry } from '../common/wrapAppGetInitialPropsWithSentry.js';\nexport { withSentryServerSideDocumentGetInitialProps, wrapDocumentGetInitialPropsWithSentry } from '../common/wrapDocumentGetInitialPropsWithSentry.js';\nexport { withSentryServerSideErrorGetInitialProps, wrapErrorGetInitialPropsWithSentry } from '../common/wrapErrorGetInitialPropsWithSentry.js';\nexport { withSentryGetServerSideProps, wrapGetServerSidePropsWithSentry } from '../common/wrapGetServerSidePropsWithSentry.js';\nexport { wrapServerComponentWithSentry } from '../common/wrapServerComponentWithSentry.js';\nexport { wrapRouteHandlerWithSentry } from '../common/wrapRouteHandlerWithSentry.js';\nexport { wrapApiHandlerWithSentryVercelCrons } from '../common/wrapApiHandlerWithSentryVercelCrons.js';\nexport { wrapMiddlewareWithSentry } from '../common/wrapMiddlewareWithSentry.js';\nexport { wrapPageComponentWithSentry } from '../common/wrapPageComponentWithSentry.js';\nexport { wrapGenerationFunctionWithSentry } from '../common/wrapGenerationFunctionWithSentry.js';\nexport { withServerActionInstrumentation } from '../common/withServerActionInstrumentation.js';\n\n/** @deprecated Import the integration function directly, e.g. `inboundFiltersIntegration()` instead of `new Integrations.InboundFilter(). */\nconst Integrations = {\n // eslint-disable-next-line deprecation/deprecation\n ...Integrations$1,\n BrowserTracing,\n};\n\n// Treeshakable guard to remove all code related to tracing\n\n/** Inits the Sentry NextJS SDK on the browser with the React SDK. */\nfunction init(options) {\n const opts = {\n environment: getVercelEnv(true) || process.env.NODE_ENV,\n defaultIntegrations: getDefaultIntegrations(options),\n ...options,\n };\n\n fixBrowserTracingIntegration(opts);\n\n applyTunnelRouteOption(opts);\n applySdkMetadata(opts, 'nextjs', ['nextjs', 'react']);\n\n init$1(opts);\n\n const scope = getCurrentScope();\n scope.setTag('runtime', 'browser');\n const filterTransactions = event =>\n event.type === 'transaction' && event.transaction === '/404' ? null : event;\n filterTransactions.id = 'NextClient404Filter';\n scope.addEventProcessor(filterTransactions);\n\n if (process.env.NODE_ENV === 'development') {\n scope.addEventProcessor(devErrorSymbolicationEventProcessor);\n }\n}\n\n// TODO v8: Remove this again\n// We need to handle BrowserTracing passed to `integrations` that comes from `@sentry/tracing`, not `@sentry/nextjs` :(\nfunction fixBrowserTracingIntegration(options) {\n const { integrations } = options;\n if (!integrations) {\n return;\n }\n\n if (Array.isArray(integrations)) {\n options.integrations = maybeUpdateBrowserTracingIntegration(integrations);\n } else {\n options.integrations = defaultIntegrations => {\n const userFinalIntegrations = integrations(defaultIntegrations);\n\n return maybeUpdateBrowserTracingIntegration(userFinalIntegrations);\n };\n }\n}\n\nfunction isNewBrowserTracingIntegration(\n integration,\n) {\n // eslint-disable-next-line deprecation/deprecation\n return !!integration.afterAllSetup && !!(integration ).options;\n}\n\nfunction maybeUpdateBrowserTracingIntegration(integrations) {\n const browserTracing = integrations.find(integration => integration.name === 'BrowserTracing');\n\n if (!browserTracing) {\n return integrations;\n }\n\n // If `browserTracingIntegration()` was added, we need to force-convert it to our custom one\n if (isNewBrowserTracingIntegration(browserTracing)) {\n const { options } = browserTracing;\n // eslint-disable-next-line deprecation/deprecation\n integrations[integrations.indexOf(browserTracing)] = new BrowserTracing(options);\n }\n\n // If BrowserTracing was added, but it is not our forked version,\n // replace it with our forked version with the same options\n // eslint-disable-next-line deprecation/deprecation\n if (!(browserTracing instanceof BrowserTracing)) {\n // eslint-disable-next-line deprecation/deprecation\n const options = (browserTracing ).options;\n // This option is overwritten by the custom integration\n delete options.routingInstrumentation;\n // eslint-disable-next-line deprecation/deprecation\n delete options.tracingOrigins;\n // eslint-disable-next-line deprecation/deprecation\n integrations[integrations.indexOf(browserTracing)] = new BrowserTracing(options);\n }\n\n return integrations;\n}\n\nfunction getDefaultIntegrations(options) {\n const customDefaultIntegrations = [...getDefaultIntegrations$1(options), rewriteFramesIntegration()];\n\n // This evaluates to true unless __SENTRY_TRACING__ is text-replaced with \"false\", in which case everything inside\n // will get treeshaken away\n if (typeof __SENTRY_TRACING__ === 'undefined' || __SENTRY_TRACING__) {\n if (hasTracingEnabled(options)) {\n customDefaultIntegrations.push(browserTracingIntegration());\n }\n }\n\n return customDefaultIntegrations;\n}\n\n/**\n * Just a passthrough in case this is imported from the client.\n */\nfunction withSentryConfig(exportedUserNextConfig) {\n return exportedUserNextConfig;\n}\n\nexport { Integrations, init, withSentryConfig };\n//# sourceMappingURL=index.js.map\n","var _sentryCollisionFreeGlobalObject = typeof window != \"undefined\" ? window : typeof global != \"undefined\" ? global : typeof self != \"undefined\" ? self : {};\n_sentryCollisionFreeGlobalObject[\"__sentryRewritesTunnelPath__\"] = undefined;\n_sentryCollisionFreeGlobalObject[\"SENTRY_RELEASE\"] = {\"id\":\"8a8dff1da87ff1912eadde3f681203e91cee7b7a\"};\n_sentryCollisionFreeGlobalObject[\"__sentryBasePath\"] = undefined;\n_sentryCollisionFreeGlobalObject[\"__rewriteFramesAssetPrefixPath__\"] = \"/template-nextjs\";\n\n// This file configures the initialization of Sentry on the browser.\n// The config you add here will be used whenever a page is visited.\n// https://docs.sentry.io/platforms/javascript/guides/nextjs/\n\nimport * as Sentry from \"@sentry/nextjs\";\n\nconst SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN;\nconst SENTRY_ENV = process.env.SENTRY_ENV || process.env.NEXT_PUBLIC_SENTRY_ENV;\n\nSentry.init({\n dsn: SENTRY_DSN ?? \"\",\n environment: SENTRY_ENV ?? \"development\",\n // Adjust this value in production, or use tracesSampler for greater control\n tracesSampleRate: 0.1,\n // ...\n // Note: if you want to override the automatic release value, do not set a\n // `release` value here - use the environment variable `SENTRY_RELEASE`, so\n // that it will also get attached to your source maps\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"actionAsyncStorage\", {\n enumerable: true,\n get: function() {\n return actionAsyncStorage;\n }\n});\nconst _asynclocalstorage = require(\"./async-local-storage\");\nconst actionAsyncStorage = (0, _asynclocalstorage.createAsyncLocalStorage)();\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=action-async-storage.external.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"createAsyncLocalStorage\", {\n enumerable: true,\n get: function() {\n return createAsyncLocalStorage;\n }\n});\nconst sharedAsyncLocalStorageNotAvailableError = new Error(\"Invariant: AsyncLocalStorage accessed in runtime where it is not available\");\nclass FakeAsyncLocalStorage {\n disable() {\n throw sharedAsyncLocalStorageNotAvailableError;\n }\n getStore() {\n // This fake implementation of AsyncLocalStorage always returns `undefined`.\n return undefined;\n }\n run() {\n throw sharedAsyncLocalStorageNotAvailableError;\n }\n exit() {\n throw sharedAsyncLocalStorageNotAvailableError;\n }\n enterWith() {\n throw sharedAsyncLocalStorageNotAvailableError;\n }\n}\nconst maybeGlobalAsyncLocalStorage = globalThis.AsyncLocalStorage;\nfunction createAsyncLocalStorage() {\n if (maybeGlobalAsyncLocalStorage) {\n return new maybeGlobalAsyncLocalStorage();\n }\n return new FakeAsyncLocalStorage();\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=async-local-storage.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"clientHookInServerComponentError\", {\n enumerable: true,\n get: function() {\n return clientHookInServerComponentError;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _react = /*#__PURE__*/ _interop_require_default._(require(\"react\"));\nfunction clientHookInServerComponentError(hookName) {\n if (process.env.NODE_ENV !== \"production\") {\n // If useState is undefined we're in a server component\n if (!_react.default.useState) {\n throw new Error(\"\" + hookName + ' only works in Client Components. Add the \"use client\" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/react-client-hook-in-server-component');\n }\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=client-hook-in-server-component-error.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n ReadonlyURLSearchParams: null,\n useSearchParams: null,\n usePathname: null,\n ServerInsertedHTMLContext: null,\n useServerInsertedHTML: null,\n useRouter: null,\n useParams: null,\n useSelectedLayoutSegments: null,\n useSelectedLayoutSegment: null,\n redirect: null,\n permanentRedirect: null,\n RedirectType: null,\n notFound: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n ReadonlyURLSearchParams: function() {\n return ReadonlyURLSearchParams;\n },\n useSearchParams: function() {\n return useSearchParams;\n },\n usePathname: function() {\n return usePathname;\n },\n ServerInsertedHTMLContext: function() {\n return _serverinsertedhtmlsharedruntime.ServerInsertedHTMLContext;\n },\n useServerInsertedHTML: function() {\n return _serverinsertedhtmlsharedruntime.useServerInsertedHTML;\n },\n useRouter: function() {\n return useRouter;\n },\n useParams: function() {\n return useParams;\n },\n useSelectedLayoutSegments: function() {\n return useSelectedLayoutSegments;\n },\n useSelectedLayoutSegment: function() {\n return useSelectedLayoutSegment;\n },\n redirect: function() {\n return _redirect.redirect;\n },\n permanentRedirect: function() {\n return _redirect.permanentRedirect;\n },\n RedirectType: function() {\n return _redirect.RedirectType;\n },\n notFound: function() {\n return _notfound.notFound;\n }\n});\nconst _react = require(\"react\");\nconst _approutercontextsharedruntime = require(\"../../shared/lib/app-router-context.shared-runtime\");\nconst _hooksclientcontextsharedruntime = require(\"../../shared/lib/hooks-client-context.shared-runtime\");\nconst _clienthookinservercomponenterror = require(\"./client-hook-in-server-component-error\");\nconst _getsegmentvalue = require(\"./router-reducer/reducers/get-segment-value\");\nconst _segment = require(\"../../shared/lib/segment\");\nconst _serverinsertedhtmlsharedruntime = require(\"../../shared/lib/server-inserted-html.shared-runtime\");\nconst _redirect = require(\"./redirect\");\nconst _notfound = require(\"./not-found\");\nconst INTERNAL_URLSEARCHPARAMS_INSTANCE = Symbol(\"internal for urlsearchparams readonly\");\nfunction readonlyURLSearchParamsError() {\n return new Error(\"ReadonlyURLSearchParams cannot be modified\");\n}\nclass ReadonlyURLSearchParams {\n [Symbol.iterator]() {\n return this[INTERNAL_URLSEARCHPARAMS_INSTANCE][Symbol.iterator]();\n }\n append() {\n throw readonlyURLSearchParamsError();\n }\n delete() {\n throw readonlyURLSearchParamsError();\n }\n set() {\n throw readonlyURLSearchParamsError();\n }\n sort() {\n throw readonlyURLSearchParamsError();\n }\n constructor(urlSearchParams){\n this[INTERNAL_URLSEARCHPARAMS_INSTANCE] = urlSearchParams;\n this.entries = urlSearchParams.entries.bind(urlSearchParams);\n this.forEach = urlSearchParams.forEach.bind(urlSearchParams);\n this.get = urlSearchParams.get.bind(urlSearchParams);\n this.getAll = urlSearchParams.getAll.bind(urlSearchParams);\n this.has = urlSearchParams.has.bind(urlSearchParams);\n this.keys = urlSearchParams.keys.bind(urlSearchParams);\n this.values = urlSearchParams.values.bind(urlSearchParams);\n this.toString = urlSearchParams.toString.bind(urlSearchParams);\n this.size = urlSearchParams.size;\n }\n}\nfunction useSearchParams() {\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"useSearchParams\");\n const searchParams = (0, _react.useContext)(_hooksclientcontextsharedruntime.SearchParamsContext);\n // In the case where this is `null`, the compat types added in\n // `next-env.d.ts` will add a new overload that changes the return type to\n // include `null`.\n const readonlySearchParams = (0, _react.useMemo)(()=>{\n if (!searchParams) {\n // When the router is not ready in pages, we won't have the search params\n // available.\n return null;\n }\n return new ReadonlyURLSearchParams(searchParams);\n }, [\n searchParams\n ]);\n if (typeof window === \"undefined\") {\n // AsyncLocalStorage should not be included in the client bundle.\n const { bailoutToClientRendering } = require(\"./bailout-to-client-rendering\");\n // TODO-APP: handle dynamic = 'force-static' here and on the client\n bailoutToClientRendering(\"useSearchParams()\");\n }\n return readonlySearchParams;\n}\nfunction usePathname() {\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"usePathname\");\n // In the case where this is `null`, the compat types added in `next-env.d.ts`\n // will add a new overload that changes the return type to include `null`.\n return (0, _react.useContext)(_hooksclientcontextsharedruntime.PathnameContext);\n}\nfunction useRouter() {\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"useRouter\");\n const router = (0, _react.useContext)(_approutercontextsharedruntime.AppRouterContext);\n if (router === null) {\n throw new Error(\"invariant expected app router to be mounted\");\n }\n return router;\n}\n// this function performs a depth-first search of the tree to find the selected\n// params\nfunction getSelectedParams(tree, params) {\n if (params === void 0) params = {};\n const parallelRoutes = tree[1];\n for (const parallelRoute of Object.values(parallelRoutes)){\n const segment = parallelRoute[0];\n const isDynamicParameter = Array.isArray(segment);\n const segmentValue = isDynamicParameter ? segment[1] : segment;\n if (!segmentValue || segmentValue.startsWith(_segment.PAGE_SEGMENT_KEY)) continue;\n // Ensure catchAll and optional catchall are turned into an array\n const isCatchAll = isDynamicParameter && (segment[2] === \"c\" || segment[2] === \"oc\");\n if (isCatchAll) {\n params[segment[0]] = segment[1].split(\"/\");\n } else if (isDynamicParameter) {\n params[segment[0]] = segment[1];\n }\n params = getSelectedParams(parallelRoute, params);\n }\n return params;\n}\nfunction useParams() {\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"useParams\");\n const globalLayoutRouter = (0, _react.useContext)(_approutercontextsharedruntime.GlobalLayoutRouterContext);\n const pathParams = (0, _react.useContext)(_hooksclientcontextsharedruntime.PathParamsContext);\n return (0, _react.useMemo)(()=>{\n // When it's under app router\n if (globalLayoutRouter == null ? void 0 : globalLayoutRouter.tree) {\n return getSelectedParams(globalLayoutRouter.tree);\n }\n // When it's under client side pages router\n return pathParams;\n }, [\n globalLayoutRouter == null ? void 0 : globalLayoutRouter.tree,\n pathParams\n ]);\n}\n// TODO-APP: handle parallel routes\n/**\n * Get the canonical parameters from the current level to the leaf node.\n */ function getSelectedLayoutSegmentPath(tree, parallelRouteKey, first, segmentPath) {\n if (first === void 0) first = true;\n if (segmentPath === void 0) segmentPath = [];\n let node;\n if (first) {\n // Use the provided parallel route key on the first parallel route\n node = tree[1][parallelRouteKey];\n } else {\n // After first parallel route prefer children, if there's no children pick the first parallel route.\n const parallelRoutes = tree[1];\n var _parallelRoutes_children;\n node = (_parallelRoutes_children = parallelRoutes.children) != null ? _parallelRoutes_children : Object.values(parallelRoutes)[0];\n }\n if (!node) return segmentPath;\n const segment = node[0];\n const segmentValue = (0, _getsegmentvalue.getSegmentValue)(segment);\n if (!segmentValue || segmentValue.startsWith(_segment.PAGE_SEGMENT_KEY)) {\n return segmentPath;\n }\n segmentPath.push(segmentValue);\n return getSelectedLayoutSegmentPath(node, parallelRouteKey, false, segmentPath);\n}\nfunction useSelectedLayoutSegments(parallelRouteKey) {\n if (parallelRouteKey === void 0) parallelRouteKey = \"children\";\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"useSelectedLayoutSegments\");\n const { tree } = (0, _react.useContext)(_approutercontextsharedruntime.LayoutRouterContext);\n return getSelectedLayoutSegmentPath(tree, parallelRouteKey);\n}\nfunction useSelectedLayoutSegment(parallelRouteKey) {\n if (parallelRouteKey === void 0) parallelRouteKey = \"children\";\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"useSelectedLayoutSegment\");\n const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey);\n if (selectedLayoutSegments.length === 0) {\n return null;\n }\n return selectedLayoutSegments[0];\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=navigation.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n notFound: null,\n isNotFoundError: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n notFound: function() {\n return notFound;\n },\n isNotFoundError: function() {\n return isNotFoundError;\n }\n});\nconst NOT_FOUND_ERROR_CODE = \"NEXT_NOT_FOUND\";\nfunction notFound() {\n // eslint-disable-next-line no-throw-literal\n const error = new Error(NOT_FOUND_ERROR_CODE);\n error.digest = NOT_FOUND_ERROR_CODE;\n throw error;\n}\nfunction isNotFoundError(error) {\n if (typeof error !== \"object\" || error === null || !(\"digest\" in error)) {\n return false;\n }\n return error.digest === NOT_FOUND_ERROR_CODE;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=not-found.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"RedirectStatusCode\", {\n enumerable: true,\n get: function() {\n return RedirectStatusCode;\n }\n});\nvar RedirectStatusCode;\n(function(RedirectStatusCode) {\n RedirectStatusCode[RedirectStatusCode[\"SeeOther\"] = 303] = \"SeeOther\";\n RedirectStatusCode[RedirectStatusCode[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n RedirectStatusCode[RedirectStatusCode[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n})(RedirectStatusCode || (RedirectStatusCode = {}));\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=redirect-status-code.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n RedirectType: null,\n getRedirectError: null,\n redirect: null,\n permanentRedirect: null,\n isRedirectError: null,\n getURLFromRedirectError: null,\n getRedirectTypeFromError: null,\n getRedirectStatusCodeFromError: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n RedirectType: function() {\n return RedirectType;\n },\n getRedirectError: function() {\n return getRedirectError;\n },\n redirect: function() {\n return redirect;\n },\n permanentRedirect: function() {\n return permanentRedirect;\n },\n isRedirectError: function() {\n return isRedirectError;\n },\n getURLFromRedirectError: function() {\n return getURLFromRedirectError;\n },\n getRedirectTypeFromError: function() {\n return getRedirectTypeFromError;\n },\n getRedirectStatusCodeFromError: function() {\n return getRedirectStatusCodeFromError;\n }\n});\nconst _requestasyncstorageexternal = require(\"./request-async-storage.external\");\nconst _actionasyncstorageexternal = require(\"./action-async-storage.external\");\nconst _redirectstatuscode = require(\"./redirect-status-code\");\nconst REDIRECT_ERROR_CODE = \"NEXT_REDIRECT\";\nvar RedirectType;\n(function(RedirectType) {\n RedirectType[\"push\"] = \"push\";\n RedirectType[\"replace\"] = \"replace\";\n})(RedirectType || (RedirectType = {}));\nfunction getRedirectError(url, type, statusCode) {\n if (statusCode === void 0) statusCode = _redirectstatuscode.RedirectStatusCode.TemporaryRedirect;\n const error = new Error(REDIRECT_ERROR_CODE);\n error.digest = REDIRECT_ERROR_CODE + \";\" + type + \";\" + url + \";\" + statusCode + \";\";\n const requestStore = _requestasyncstorageexternal.requestAsyncStorage.getStore();\n if (requestStore) {\n error.mutableCookies = requestStore.mutableCookies;\n }\n return error;\n}\nfunction redirect(url, type) {\n if (type === void 0) type = \"replace\";\n const actionStore = _actionasyncstorageexternal.actionAsyncStorage.getStore();\n throw getRedirectError(url, type, // If we're in an action, we want to use a 303 redirect\n // as we don't want the POST request to follow the redirect,\n // as it could result in erroneous re-submissions.\n (actionStore == null ? void 0 : actionStore.isAction) ? _redirectstatuscode.RedirectStatusCode.SeeOther : _redirectstatuscode.RedirectStatusCode.TemporaryRedirect);\n}\nfunction permanentRedirect(url, type) {\n if (type === void 0) type = \"replace\";\n const actionStore = _actionasyncstorageexternal.actionAsyncStorage.getStore();\n throw getRedirectError(url, type, // If we're in an action, we want to use a 303 redirect\n // as we don't want the POST request to follow the redirect,\n // as it could result in erroneous re-submissions.\n (actionStore == null ? void 0 : actionStore.isAction) ? _redirectstatuscode.RedirectStatusCode.SeeOther : _redirectstatuscode.RedirectStatusCode.PermanentRedirect);\n}\nfunction isRedirectError(error) {\n if (typeof error !== \"object\" || error === null || !(\"digest\" in error) || typeof error.digest !== \"string\") {\n return false;\n }\n const [errorCode, type, destination, status] = error.digest.split(\";\", 4);\n const statusCode = Number(status);\n return errorCode === REDIRECT_ERROR_CODE && (type === \"replace\" || type === \"push\") && typeof destination === \"string\" && !isNaN(statusCode) && statusCode in _redirectstatuscode.RedirectStatusCode;\n}\nfunction getURLFromRedirectError(error) {\n if (!isRedirectError(error)) return null;\n // Slices off the beginning of the digest that contains the code and the\n // separating ';'.\n return error.digest.split(\";\", 3)[2];\n}\nfunction getRedirectTypeFromError(error) {\n if (!isRedirectError(error)) {\n throw new Error(\"Not a redirect error\");\n }\n return error.digest.split(\";\", 2)[1];\n}\nfunction getRedirectStatusCodeFromError(error) {\n if (!isRedirectError(error)) {\n throw new Error(\"Not a redirect error\");\n }\n return Number(error.digest.split(\";\", 4)[3]);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=redirect.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"requestAsyncStorage\", {\n enumerable: true,\n get: function() {\n return requestAsyncStorage;\n }\n});\nconst _asynclocalstorage = require(\"./async-local-storage\");\nconst requestAsyncStorage = (0, _asynclocalstorage.createAsyncLocalStorage)();\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=request-async-storage.external.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"getSegmentValue\", {\n enumerable: true,\n get: function() {\n return getSegmentValue;\n }\n});\nfunction getSegmentValue(segment) {\n return Array.isArray(segment) ? segment[1] : segment;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=get-segment-value.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n PrefetchKind: null,\n ACTION_REFRESH: null,\n ACTION_NAVIGATE: null,\n ACTION_RESTORE: null,\n ACTION_SERVER_PATCH: null,\n ACTION_PREFETCH: null,\n ACTION_FAST_REFRESH: null,\n ACTION_SERVER_ACTION: null,\n isThenable: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n PrefetchKind: function() {\n return PrefetchKind;\n },\n ACTION_REFRESH: function() {\n return ACTION_REFRESH;\n },\n ACTION_NAVIGATE: function() {\n return ACTION_NAVIGATE;\n },\n ACTION_RESTORE: function() {\n return ACTION_RESTORE;\n },\n ACTION_SERVER_PATCH: function() {\n return ACTION_SERVER_PATCH;\n },\n ACTION_PREFETCH: function() {\n return ACTION_PREFETCH;\n },\n ACTION_FAST_REFRESH: function() {\n return ACTION_FAST_REFRESH;\n },\n ACTION_SERVER_ACTION: function() {\n return ACTION_SERVER_ACTION;\n },\n isThenable: function() {\n return isThenable;\n }\n});\nconst ACTION_REFRESH = \"refresh\";\nconst ACTION_NAVIGATE = \"navigate\";\nconst ACTION_RESTORE = \"restore\";\nconst ACTION_SERVER_PATCH = \"server-patch\";\nconst ACTION_PREFETCH = \"prefetch\";\nconst ACTION_FAST_REFRESH = \"fast-refresh\";\nconst ACTION_SERVER_ACTION = \"server-action\";\nvar PrefetchKind;\n(function(PrefetchKind) {\n PrefetchKind[\"AUTO\"] = \"auto\";\n PrefetchKind[\"FULL\"] = \"full\";\n PrefetchKind[\"TEMPORARY\"] = \"temporary\";\n})(PrefetchKind || (PrefetchKind = {}));\nfunction isThenable(value) {\n // TODO: We don't gain anything from this abstraction. It's unsound, and only\n // makes sense in the specific places where we use it. So it's better to keep\n // the type coercion inline, instead of leaking this to other places in\n // the codebase.\n return value && (typeof value === \"object\" || typeof value === \"function\") && typeof value.then === \"function\";\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=router-reducer-types.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"getDomainLocale\", {\n enumerable: true,\n get: function() {\n return getDomainLocale;\n }\n});\nconst _normalizetrailingslash = require(\"./normalize-trailing-slash\");\nconst basePath = process.env.__NEXT_ROUTER_BASEPATH || \"\";\nfunction getDomainLocale(path, locale, locales, domainLocales) {\n if (process.env.__NEXT_I18N_SUPPORT) {\n const normalizeLocalePath = require(\"./normalize-locale-path\").normalizeLocalePath;\n const detectDomainLocale = require(\"./detect-domain-locale\").detectDomainLocale;\n const target = locale || normalizeLocalePath(path, locales).detectedLocale;\n const domain = detectDomainLocale(domainLocales, undefined, target);\n if (domain) {\n const proto = \"http\" + (domain.http ? \"\" : \"s\") + \"://\";\n const finalLocale = target === domain.defaultLocale ? \"\" : \"/\" + target;\n return \"\" + proto + domain.domain + (0, _normalizetrailingslash.normalizePathTrailingSlash)(\"\" + basePath + finalLocale + path);\n }\n return false;\n } else {\n return false;\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=get-domain-locale.js.map","\"use client\";\n\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _jsxruntime = require(\"react/jsx-runtime\");\nconst _react = /*#__PURE__*/ _interop_require_default._(require(\"react\"));\nconst _resolvehref = require(\"./resolve-href\");\nconst _islocalurl = require(\"../shared/lib/router/utils/is-local-url\");\nconst _formaturl = require(\"../shared/lib/router/utils/format-url\");\nconst _utils = require(\"../shared/lib/utils\");\nconst _addlocale = require(\"./add-locale\");\nconst _routercontextsharedruntime = require(\"../shared/lib/router-context.shared-runtime\");\nconst _approutercontextsharedruntime = require(\"../shared/lib/app-router-context.shared-runtime\");\nconst _useintersection = require(\"./use-intersection\");\nconst _getdomainlocale = require(\"./get-domain-locale\");\nconst _addbasepath = require(\"./add-base-path\");\nconst _routerreducertypes = require(\"./components/router-reducer/router-reducer-types\");\nconst prefetched = new Set();\nfunction prefetch(router, href, as, options, appOptions, isAppRouter) {\n if (typeof window === \"undefined\") {\n return;\n }\n // app-router supports external urls out of the box so it shouldn't short-circuit here as support for e.g. `replace` is added in the app-router.\n if (!isAppRouter && !(0, _islocalurl.isLocalURL)(href)) {\n return;\n }\n // We should only dedupe requests when experimental.optimisticClientCache is\n // disabled.\n if (!options.bypassPrefetchedCheck) {\n const locale = // Let the link's locale prop override the default router locale.\n typeof options.locale !== \"undefined\" ? options.locale : \"locale\" in router ? router.locale : undefined;\n const prefetchedKey = href + \"%\" + as + \"%\" + locale;\n // If we've already fetched the key, then don't prefetch it again!\n if (prefetched.has(prefetchedKey)) {\n return;\n }\n // Mark this URL as prefetched.\n prefetched.add(prefetchedKey);\n }\n const prefetchPromise = isAppRouter ? router.prefetch(href, appOptions) : router.prefetch(href, as, options);\n // Prefetch the JSON page if asked (only in the client)\n // We need to handle a prefetch error here since we may be\n // loading with priority which can reject but we don't\n // want to force navigation since this is only a prefetch\n Promise.resolve(prefetchPromise).catch((err)=>{\n if (process.env.NODE_ENV !== \"production\") {\n // rethrow to show invalid URL errors\n throw err;\n }\n });\n}\nfunction isModifiedEvent(event) {\n const eventTarget = event.currentTarget;\n const target = eventTarget.getAttribute(\"target\");\n return target && target !== \"_self\" || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || // triggers resource download\n event.nativeEvent && event.nativeEvent.which === 2;\n}\nfunction linkClicked(e, router, href, as, replace, shallow, scroll, locale, isAppRouter) {\n const { nodeName } = e.currentTarget;\n // anchors inside an svg have a lowercase nodeName\n const isAnchorNodeName = nodeName.toUpperCase() === \"A\";\n if (isAnchorNodeName && (isModifiedEvent(e) || // app-router supports external urls out of the box so it shouldn't short-circuit here as support for e.g. `replace` is added in the app-router.\n !isAppRouter && !(0, _islocalurl.isLocalURL)(href))) {\n // ignore click for browser’s default behavior\n return;\n }\n e.preventDefault();\n const navigate = ()=>{\n // If the router is an NextRouter instance it will have `beforePopState`\n const routerScroll = scroll != null ? scroll : true;\n if (\"beforePopState\" in router) {\n router[replace ? \"replace\" : \"push\"](href, as, {\n shallow,\n locale,\n scroll: routerScroll\n });\n } else {\n router[replace ? \"replace\" : \"push\"](as || href, {\n scroll: routerScroll\n });\n }\n };\n if (isAppRouter) {\n _react.default.startTransition(navigate);\n } else {\n navigate();\n }\n}\nfunction formatStringOrUrl(urlObjOrString) {\n if (typeof urlObjOrString === \"string\") {\n return urlObjOrString;\n }\n return (0, _formaturl.formatUrl)(urlObjOrString);\n}\n/**\n * React Component that enables client-side transitions between routes.\n */ const Link = /*#__PURE__*/ _react.default.forwardRef(function LinkComponent(props, forwardedRef) {\n let children;\n const { href: hrefProp, as: asProp, children: childrenProp, prefetch: prefetchProp = null, passHref, replace, shallow, scroll, locale, onClick, onMouseEnter: onMouseEnterProp, onTouchStart: onTouchStartProp, legacyBehavior = false, ...restProps } = props;\n children = childrenProp;\n if (legacyBehavior && (typeof children === \"string\" || typeof children === \"number\")) {\n children = /*#__PURE__*/ (0, _jsxruntime.jsx)(\"a\", {\n children: children\n });\n }\n const pagesRouter = _react.default.useContext(_routercontextsharedruntime.RouterContext);\n const appRouter = _react.default.useContext(_approutercontextsharedruntime.AppRouterContext);\n const router = pagesRouter != null ? pagesRouter : appRouter;\n // We're in the app directory if there is no pages router.\n const isAppRouter = !pagesRouter;\n const prefetchEnabled = prefetchProp !== false;\n /**\n * The possible states for prefetch are:\n * - null: this is the default \"auto\" mode, where we will prefetch partially if the link is in the viewport\n * - true: we will prefetch if the link is visible and prefetch the full page, not just partially\n * - false: we will not prefetch if in the viewport at all\n */ const appPrefetchKind = prefetchProp === null ? _routerreducertypes.PrefetchKind.AUTO : _routerreducertypes.PrefetchKind.FULL;\n if (process.env.NODE_ENV !== \"production\") {\n function createPropError(args) {\n return new Error(\"Failed prop type: The prop `\" + args.key + \"` expects a \" + args.expected + \" in ``, but got `\" + args.actual + \"` instead.\" + (typeof window !== \"undefined\" ? \"\\nOpen your browser's console to view the Component stack trace.\" : \"\"));\n }\n // TypeScript trick for type-guarding:\n const requiredPropsGuard = {\n href: true\n };\n const requiredProps = Object.keys(requiredPropsGuard);\n requiredProps.forEach((key)=>{\n if (key === \"href\") {\n if (props[key] == null || typeof props[key] !== \"string\" && typeof props[key] !== \"object\") {\n throw createPropError({\n key,\n expected: \"`string` or `object`\",\n actual: props[key] === null ? \"null\" : typeof props[key]\n });\n }\n } else {\n // TypeScript trick for type-guarding:\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const _ = key;\n }\n });\n // TypeScript trick for type-guarding:\n const optionalPropsGuard = {\n as: true,\n replace: true,\n scroll: true,\n shallow: true,\n passHref: true,\n prefetch: true,\n locale: true,\n onClick: true,\n onMouseEnter: true,\n onTouchStart: true,\n legacyBehavior: true\n };\n const optionalProps = Object.keys(optionalPropsGuard);\n optionalProps.forEach((key)=>{\n const valType = typeof props[key];\n if (key === \"as\") {\n if (props[key] && valType !== \"string\" && valType !== \"object\") {\n throw createPropError({\n key,\n expected: \"`string` or `object`\",\n actual: valType\n });\n }\n } else if (key === \"locale\") {\n if (props[key] && valType !== \"string\") {\n throw createPropError({\n key,\n expected: \"`string`\",\n actual: valType\n });\n }\n } else if (key === \"onClick\" || key === \"onMouseEnter\" || key === \"onTouchStart\") {\n if (props[key] && valType !== \"function\") {\n throw createPropError({\n key,\n expected: \"`function`\",\n actual: valType\n });\n }\n } else if (key === \"replace\" || key === \"scroll\" || key === \"shallow\" || key === \"passHref\" || key === \"prefetch\" || key === \"legacyBehavior\") {\n if (props[key] != null && valType !== \"boolean\") {\n throw createPropError({\n key,\n expected: \"`boolean`\",\n actual: valType\n });\n }\n } else {\n // TypeScript trick for type-guarding:\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const _ = key;\n }\n });\n // This hook is in a conditional but that is ok because `process.env.NODE_ENV` never changes\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const hasWarned = _react.default.useRef(false);\n if (props.prefetch && !hasWarned.current && !isAppRouter) {\n hasWarned.current = true;\n console.warn(\"Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://nextjs.org/docs/messages/prefetch-true-deprecated\");\n }\n }\n if (process.env.NODE_ENV !== \"production\") {\n if (isAppRouter && !asProp) {\n let href;\n if (typeof hrefProp === \"string\") {\n href = hrefProp;\n } else if (typeof hrefProp === \"object\" && typeof hrefProp.pathname === \"string\") {\n href = hrefProp.pathname;\n }\n if (href) {\n const hasDynamicSegment = href.split(\"/\").some((segment)=>segment.startsWith(\"[\") && segment.endsWith(\"]\"));\n if (hasDynamicSegment) {\n throw new Error(\"Dynamic href `\" + href + \"` found in while using the `/app` router, this is not supported. Read more: https://nextjs.org/docs/messages/app-dir-dynamic-href\");\n }\n }\n }\n }\n const { href, as } = _react.default.useMemo(()=>{\n if (!pagesRouter) {\n const resolvedHref = formatStringOrUrl(hrefProp);\n return {\n href: resolvedHref,\n as: asProp ? formatStringOrUrl(asProp) : resolvedHref\n };\n }\n const [resolvedHref, resolvedAs] = (0, _resolvehref.resolveHref)(pagesRouter, hrefProp, true);\n return {\n href: resolvedHref,\n as: asProp ? (0, _resolvehref.resolveHref)(pagesRouter, asProp) : resolvedAs || resolvedHref\n };\n }, [\n pagesRouter,\n hrefProp,\n asProp\n ]);\n const previousHref = _react.default.useRef(href);\n const previousAs = _react.default.useRef(as);\n // This will return the first child, if multiple are provided it will throw an error\n let child;\n if (legacyBehavior) {\n if (process.env.NODE_ENV === \"development\") {\n if (onClick) {\n console.warn('\"onClick\" was passed to with `href` of `' + hrefProp + '` but \"legacyBehavior\" was set. The legacy behavior requires onClick be set on the child of next/link');\n }\n if (onMouseEnterProp) {\n console.warn('\"onMouseEnter\" was passed to with `href` of `' + hrefProp + '` but \"legacyBehavior\" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');\n }\n try {\n child = _react.default.Children.only(children);\n } catch (err) {\n if (!children) {\n throw new Error(\"No children were passed to with `href` of `\" + hrefProp + \"` but one child is required https://nextjs.org/docs/messages/link-no-children\");\n }\n throw new Error(\"Multiple children were passed to with `href` of `\" + hrefProp + \"` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children\" + (typeof window !== \"undefined\" ? \" \\nOpen your browser's console to view the Component stack trace.\" : \"\"));\n }\n } else {\n child = _react.default.Children.only(children);\n }\n } else {\n if (process.env.NODE_ENV === \"development\") {\n if ((children == null ? void 0 : children.type) === \"a\") {\n throw new Error(\"Invalid with child. Please remove or use .\\nLearn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor\");\n }\n }\n }\n const childRef = legacyBehavior ? child && typeof child === \"object\" && child.ref : forwardedRef;\n const [setIntersectionRef, isVisible, resetVisible] = (0, _useintersection.useIntersection)({\n rootMargin: \"200px\"\n });\n const setRef = _react.default.useCallback((el)=>{\n // Before the link getting observed, check if visible state need to be reset\n if (previousAs.current !== as || previousHref.current !== href) {\n resetVisible();\n previousAs.current = as;\n previousHref.current = href;\n }\n setIntersectionRef(el);\n if (childRef) {\n if (typeof childRef === \"function\") childRef(el);\n else if (typeof childRef === \"object\") {\n childRef.current = el;\n }\n }\n }, [\n as,\n childRef,\n href,\n resetVisible,\n setIntersectionRef\n ]);\n // Prefetch the URL if we haven't already and it's visible.\n _react.default.useEffect(()=>{\n // in dev, we only prefetch on hover to avoid wasting resources as the prefetch will trigger compiling the page.\n if (process.env.NODE_ENV !== \"production\") {\n return;\n }\n if (!router) {\n return;\n }\n // If we don't need to prefetch the URL, don't do prefetch.\n if (!isVisible || !prefetchEnabled) {\n return;\n }\n // Prefetch the URL.\n prefetch(router, href, as, {\n locale\n }, {\n kind: appPrefetchKind\n }, isAppRouter);\n }, [\n as,\n href,\n isVisible,\n locale,\n prefetchEnabled,\n pagesRouter == null ? void 0 : pagesRouter.locale,\n router,\n isAppRouter,\n appPrefetchKind\n ]);\n const childProps = {\n ref: setRef,\n onClick (e) {\n if (process.env.NODE_ENV !== \"production\") {\n if (!e) {\n throw new Error('Component rendered inside next/link has to pass click event to \"onClick\" prop.');\n }\n }\n if (!legacyBehavior && typeof onClick === \"function\") {\n onClick(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onClick === \"function\") {\n child.props.onClick(e);\n }\n if (!router) {\n return;\n }\n if (e.defaultPrevented) {\n return;\n }\n linkClicked(e, router, href, as, replace, shallow, scroll, locale, isAppRouter);\n },\n onMouseEnter (e) {\n if (!legacyBehavior && typeof onMouseEnterProp === \"function\") {\n onMouseEnterProp(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onMouseEnter === \"function\") {\n child.props.onMouseEnter(e);\n }\n if (!router) {\n return;\n }\n if ((!prefetchEnabled || process.env.NODE_ENV === \"development\") && isAppRouter) {\n return;\n }\n prefetch(router, href, as, {\n locale,\n priority: true,\n // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}\n bypassPrefetchedCheck: true\n }, {\n kind: appPrefetchKind\n }, isAppRouter);\n },\n onTouchStart (e) {\n if (!legacyBehavior && typeof onTouchStartProp === \"function\") {\n onTouchStartProp(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onTouchStart === \"function\") {\n child.props.onTouchStart(e);\n }\n if (!router) {\n return;\n }\n if (!prefetchEnabled && isAppRouter) {\n return;\n }\n prefetch(router, href, as, {\n locale,\n priority: true,\n // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}\n bypassPrefetchedCheck: true\n }, {\n kind: appPrefetchKind\n }, isAppRouter);\n }\n };\n // If child is an tag and doesn't have a href attribute, or if the 'passHref' property is\n // defined, we specify the current 'href', so that repetition is not needed by the user.\n // If the url is absolute, we can bypass the logic to prepend the domain and locale.\n if ((0, _utils.isAbsoluteUrl)(as)) {\n childProps.href = as;\n } else if (!legacyBehavior || passHref || child.type === \"a\" && !(\"href\" in child.props)) {\n const curLocale = typeof locale !== \"undefined\" ? locale : pagesRouter == null ? void 0 : pagesRouter.locale;\n // we only render domain locales if we are currently on a domain locale\n // so that locale links are still visitable in development/preview envs\n const localeDomain = (pagesRouter == null ? void 0 : pagesRouter.isLocaleDomain) && (0, _getdomainlocale.getDomainLocale)(as, curLocale, pagesRouter == null ? void 0 : pagesRouter.locales, pagesRouter == null ? void 0 : pagesRouter.domainLocales);\n childProps.href = localeDomain || (0, _addbasepath.addBasePath)((0, _addlocale.addLocale)(as, curLocale, pagesRouter == null ? void 0 : pagesRouter.defaultLocale));\n }\n return legacyBehavior ? /*#__PURE__*/ _react.default.cloneElement(child, childProps) : /*#__PURE__*/ (0, _jsxruntime.jsx)(\"a\", {\n ...restProps,\n ...childProps,\n children: children\n });\n});\nconst _default = Link;\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=link.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"useIntersection\", {\n enumerable: true,\n get: function() {\n return useIntersection;\n }\n});\nconst _react = require(\"react\");\nconst _requestidlecallback = require(\"./request-idle-callback\");\nconst hasIntersectionObserver = typeof IntersectionObserver === \"function\";\nconst observers = new Map();\nconst idList = [];\nfunction createObserver(options) {\n const id = {\n root: options.root || null,\n margin: options.rootMargin || \"\"\n };\n const existing = idList.find((obj)=>obj.root === id.root && obj.margin === id.margin);\n let instance;\n if (existing) {\n instance = observers.get(existing);\n if (instance) {\n return instance;\n }\n }\n const elements = new Map();\n const observer = new IntersectionObserver((entries)=>{\n entries.forEach((entry)=>{\n const callback = elements.get(entry.target);\n const isVisible = entry.isIntersecting || entry.intersectionRatio > 0;\n if (callback && isVisible) {\n callback(isVisible);\n }\n });\n }, options);\n instance = {\n id,\n observer,\n elements\n };\n idList.push(id);\n observers.set(id, instance);\n return instance;\n}\nfunction observe(element, callback, options) {\n const { id, observer, elements } = createObserver(options);\n elements.set(element, callback);\n observer.observe(element);\n return function unobserve() {\n elements.delete(element);\n observer.unobserve(element);\n // Destroy observer when there's nothing left to watch:\n if (elements.size === 0) {\n observer.disconnect();\n observers.delete(id);\n const index = idList.findIndex((obj)=>obj.root === id.root && obj.margin === id.margin);\n if (index > -1) {\n idList.splice(index, 1);\n }\n }\n };\n}\nfunction useIntersection(param) {\n let { rootRef, rootMargin, disabled } = param;\n const isDisabled = disabled || !hasIntersectionObserver;\n const [visible, setVisible] = (0, _react.useState)(false);\n const elementRef = (0, _react.useRef)(null);\n const setElement = (0, _react.useCallback)((element)=>{\n elementRef.current = element;\n }, []);\n (0, _react.useEffect)(()=>{\n if (hasIntersectionObserver) {\n if (isDisabled || visible) return;\n const element = elementRef.current;\n if (element && element.tagName) {\n const unobserve = observe(element, (isVisible)=>isVisible && setVisible(isVisible), {\n root: rootRef == null ? void 0 : rootRef.current,\n rootMargin\n });\n return unobserve;\n }\n } else {\n if (!visible) {\n const idleCallback = (0, _requestidlecallback.requestIdleCallback)(()=>setVisible(true));\n return ()=>(0, _requestidlecallback.cancelIdleCallback)(idleCallback);\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isDisabled,\n rootMargin,\n rootRef,\n visible,\n elementRef.current\n ]);\n const resetVisible = (0, _react.useCallback)(()=>{\n setVisible(false);\n }, []);\n return [\n setElement,\n visible,\n resetVisible\n ];\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=use-intersection.js.map","\"use client\";\n\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n ServerInsertedHTMLContext: null,\n useServerInsertedHTML: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n ServerInsertedHTMLContext: function() {\n return ServerInsertedHTMLContext;\n },\n useServerInsertedHTML: function() {\n return useServerInsertedHTML;\n }\n});\nconst _interop_require_wildcard = require(\"@swc/helpers/_/_interop_require_wildcard\");\nconst _react = /*#__PURE__*/ _interop_require_wildcard._(require(\"react\"));\nconst ServerInsertedHTMLContext = /*#__PURE__*/ _react.default.createContext(null);\nfunction useServerInsertedHTML(callback) {\n const addInsertedServerHTMLCallback = (0, _react.useContext)(ServerInsertedHTMLContext);\n // Should have no effects on client where there's no flush effects provider\n if (addInsertedServerHTMLCallback) {\n addInsertedServerHTMLCallback(callback);\n }\n}\n\n//# sourceMappingURL=server-inserted-html.shared-runtime.js.map","\"use client\";\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React from \"react\";\nimport createCache from \"@emotion/cache\";\nimport { useServerInsertedHTML } from \"next/navigation\";\nimport { useState } from \"react\";\nimport { CacheProvider as DefaultCacheProvider } from \"@emotion/react\";\nexport function NextAppDirEmotionCacheProvider(props) {\n const { options: optionsWithPrepend, CacheProvider = DefaultCacheProvider, children } = props;\n const { prepend = false } = optionsWithPrepend, options = __rest(optionsWithPrepend, [\"prepend\"]);\n const [{ cache, flush }] = useState(() => {\n const cache = createCache(options);\n cache.compat = true;\n const prevInsert = cache.insert;\n let inserted = [];\n cache.insert = (...args) => {\n const [selector, serialized] = args;\n if (cache.inserted[serialized.name] === undefined) {\n inserted.push({\n \"name\": serialized.name,\n \"isGlobal\": selector === \"\"\n });\n }\n return prevInsert(...args);\n };\n const flush = () => {\n const prevInserted = inserted;\n inserted = [];\n return prevInserted;\n };\n return { cache, flush };\n });\n useServerInsertedHTML(() => {\n const inserted = flush();\n if (inserted.length === 0) {\n return null;\n }\n let styles = \"\";\n let dataEmotionAttribute = cache.key;\n const globals = [];\n for (const { name, isGlobal } of inserted) {\n const style = cache.inserted[name];\n if (typeof style === \"boolean\") {\n continue;\n }\n if (isGlobal) {\n globals.push({ name, style });\n }\n else {\n styles += style;\n dataEmotionAttribute += ` ${name}`;\n }\n }\n const get__Html = (style) => prepend ? `@layer emotion {${style}}` : style;\n return (React.createElement(React.Fragment, null,\n globals.map(({ name, style }) => (React.createElement(\"style\", { nonce: options.nonce, key: name, \"data-emotion\": `${cache.key}-global ${name}`, dangerouslySetInnerHTML: { \"__html\": get__Html(style) } }))),\n styles !== \"\" && (React.createElement(\"style\", { nonce: options.nonce, \"data-emotion\": dataEmotionAttribute, dangerouslySetInnerHTML: {\n \"__html\": get__Html(styles)\n } }))));\n });\n return React.createElement(CacheProvider, { value: cache }, children);\n}\nexport default NextAppDirEmotionCacheProvider;\n","/** https://docs.tsafe.dev/assert */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function assert(condition, msg) {\n if (!condition) {\n throw new Error(msg);\n }\n}\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from \"react\";\nimport { CacheProvider as DefaultCacheProvider } from \"@emotion/react\";\nimport createCache from \"@emotion/cache\";\nimport { assert } from \"../tools/assert\";\n/**\n * @see \n * This utility implements https://emotion.sh/docs/ssr#advanced-approach\n * */\nexport function createEmotionSsrAdvancedApproach(\n/** This is the options passed to createCache() from 'import createCache from \"@emotion/cache\"' */\noptions, \n/** By default from 'import { CacheProvider } from \"@emotion/react\"' */\nCacheProvider = DefaultCacheProvider) {\n const { prepend } = options, optionsWithoutPrependProp = __rest(options, [\"prepend\"]);\n const appPropName = `${options.key}EmotionCache`;\n const insertionPointId = `${options.key}-emotion-cache-insertion-point`;\n function augmentDocumentWithEmotionCache(Document) {\n var _a;\n let super_getInitialProps = (_a = Document.getInitialProps) === null || _a === void 0 ? void 0 : _a.bind(Document);\n if (super_getInitialProps === undefined) {\n import(\"next/document\").then(({ default: DefaultDocument }) => (super_getInitialProps =\n DefaultDocument.getInitialProps.bind(DefaultDocument)));\n }\n const createEmotionServerOrPr = import(\"@emotion/server/create-instance\").then(({ default: createEmotionServer }) => createEmotionServer);\n Document.getInitialProps = (documentContext) => __awaiter(this, void 0, void 0, function* () {\n const cache = createCache(optionsWithoutPrependProp);\n const createEmotionServer = createEmotionServerOrPr instanceof Promise\n ? yield createEmotionServerOrPr\n : createEmotionServerOrPr;\n const emotionServer = createEmotionServer(cache);\n const originalRenderPage = documentContext.renderPage;\n documentContext.renderPage = (_a) => {\n var { enhanceApp } = _a, params = __rest(_a, [\"enhanceApp\"]);\n return originalRenderPage(Object.assign(Object.assign({}, params), { \"enhanceApp\": (App) => {\n var _a;\n const EnhancedApp = (_a = enhanceApp === null || enhanceApp === void 0 ? void 0 : enhanceApp(App)) !== null && _a !== void 0 ? _a : App;\n return function EnhanceApp(props) {\n return (React.createElement(EnhancedApp, Object.assign({}, Object.assign(Object.assign({}, props), { [appPropName]: cache }))));\n };\n } }));\n };\n assert(super_getInitialProps !== undefined, \"Default document not yet loaded. Please submit an issue to the tss-react repo\");\n const initialProps = yield super_getInitialProps(documentContext);\n const emotionStyles = [\n React.createElement(\"style\", { id: insertionPointId, key: insertionPointId }),\n ...emotionServer\n .extractCriticalToChunks(initialProps.html)\n .styles.filter(({ css }) => css !== \"\")\n .map(style => (React.createElement(\"style\", { nonce: options.nonce, \"data-emotion\": `${style.key} ${style.ids.join(\" \")}`, key: style.key, dangerouslySetInnerHTML: { \"__html\": style.css } })))\n ];\n const otherStyles = React.Children.toArray(initialProps.styles);\n return Object.assign(Object.assign({}, initialProps), { \"styles\": prepend\n ? [...emotionStyles, ...otherStyles]\n : [...otherStyles, ...emotionStyles] });\n });\n }\n function withAppEmotionCache(App) {\n const createClientSideCache = (() => {\n let cache = undefined;\n return () => {\n if (cache !== undefined) {\n return cache;\n }\n return (cache = createCache(Object.assign(Object.assign({}, optionsWithoutPrependProp), { \"insertionPoint\": (() => {\n // NOTE: Under normal circumstances we are on the client.\n // It might not be the case though, see: https://github.com/garronej/tss-react/issues/124\n const isBrowser = typeof document === \"object\" &&\n typeof (document === null || document === void 0 ? void 0 : document.getElementById) === \"function\";\n if (!isBrowser) {\n return undefined;\n }\n const htmlElement = document.getElementById(insertionPointId);\n assert(htmlElement !== null);\n return htmlElement;\n })() })));\n };\n })();\n function AppWithEmotionCache(props) {\n const _a = props, _b = appPropName, cache = _a[_b], rest = __rest(_a, [typeof _b === \"symbol\" ? _b : _b + \"\"]);\n return (React.createElement(CacheProvider, { value: cache !== null && cache !== void 0 ? cache : createClientSideCache() },\n React.createElement(App, Object.assign({}, rest))));\n }\n Object.keys(App).forEach(staticMethod => (AppWithEmotionCache[staticMethod] = App[staticMethod]));\n AppWithEmotionCache.displayName = AppWithEmotionCache.name;\n return AppWithEmotionCache;\n }\n return { withAppEmotionCache, augmentDocumentWithEmotionCache };\n}\n","\"use client\";\nexport * from \"./appDir\";\nexport * from \"./pagesDir\";\n","import { data_fr_scheme, data_fr_theme, rootColorSchemeStyleTagId } from \"./constants\";\nimport { fr } from \"../fr\";\n// TODO enhance to use DOMPurify with trustedTypes\nexport const getScriptToRunAsap = ({ defaultColorScheme, nonce = \"\", trustedTypesPolicyName }) => `\n{\n\n window.ssrWasPerformedWithIsDark = \"${defaultColorScheme}\" === \"dark\";\n\tconst sanitizer = typeof trustedTypes !== \"undefined\" ? trustedTypes.createPolicy(\"${trustedTypesPolicyName}-asap\", { createHTML: s => s }) : {\n\t\tcreateHTML: s => s,\n\t};\n \n const isDark = (() => {\n \n \tconst isDarkExplicitlyProvidedAsParameter = (() => {\n \t\tif (\"${defaultColorScheme}\" === \"system\") {\n \t\t\treturn undefined;\n \t\t}\n \n \t\tswitch (\"${defaultColorScheme}\") {\n \t\t\tcase \"dark\": return true;\n \t\t\tcase \"light\": return false;\n \t\t}\n \t})();\n \n \tconst isDarkFromLocalStorage = (() => {\n \t\tconst colorSchemeReadFromLocalStorage = localStorage.getItem(\"scheme\");\n \n \t\tif (colorSchemeReadFromLocalStorage === null) {\n \t\t\treturn undefined;\n \t\t}\n \n \t\tif (colorSchemeReadFromLocalStorage === \"system\") {\n \t\t\treturn undefined;\n \t\t}\n \n \t\tswitch (colorSchemeReadFromLocalStorage) {\n \t\t\tcase \"dark\":\n \t\t\t\treturn true;\n \t\t\tcase \"light\":\n \t\t\t\treturn false;\n \t\t}\n \t})();\n \n \tconst isDarkFromOsPreference = (() => {\n \t\tif (!window.matchMedia) {\n \t\t\treturn undefined;\n \t\t}\n \n \t\treturn window.matchMedia(\"(prefers-color-scheme: dark)\").matches;\n \t})();\n \n \tconst isDarkFallback = false;\n \n \treturn (\n \t\tisDarkFromLocalStorage ??\n \t\tisDarkExplicitlyProvidedAsParameter ??\n \t\tisDarkFromOsPreference ??\n \t\tisDarkFallback\n \t);\n \n })();\n \n [\"${data_fr_scheme}\", \"${data_fr_theme}\"].forEach(attr => document.documentElement.setAttribute(attr, isDark ? \"dark\" : \"light\"));\n\n {\n\n let element= document.getElementById(\"${rootColorSchemeStyleTagId}\");\n\n\t\tif( element !== null ){\n\t\t\telement.remove()\n\t\t}\n\n element = document.createElement(\"style\");\n\n\t\tif (\"${nonce}\" !== \"\") {\n\t\t\telement.setAttribute(\"nonce\", \"${nonce}\");\n\t\t}\n\n element.id = \"${rootColorSchemeStyleTagId}\";\n\n element.innerHTML = sanitizer.createHTML(\\`:root { color-scheme: \\${isDark ? \"dark\" : \"light\"}; }\\`);\n\n document.head.appendChild(element);\n\n }\n\n {\n\n const name = \"theme-color\";\n\n let element = document.querySelector(\\`meta[name=\\${name}]\\`);\n\t\t\n\t\tif( element !== null ){\n\t\t\telement.remove();\n\t\t}\n\n element = document.createElement(\"meta\");\n\n element.name = name;\n\n element.content = isDark ? \"${fr.colors.getHex({ \"isDark\": true }).decisions.background.default.grey.default}\" : \"${fr.colors.getHex({ \"isDark\": false }).decisions.background.default.grey.default}\";\n\n document.head.appendChild(element);\n\n }\n\n}\n`;\n//# sourceMappingURL=scriptToRunAsap.js.map","import marianneLightWoff2Url from \"../../dsfr/fonts/Marianne-Light.woff2\";\nimport marianneItalicWoff2Url from \"../../dsfr/fonts/Marianne-Light_Italic.woff2\";\nimport marianneRegularWoff2Url from \"../../dsfr/fonts/Marianne-Regular.woff2\";\nimport marianneRegularItalicWoff2Url from \"../../dsfr/fonts/Marianne-Regular_Italic.woff2\";\nimport marianneMediumWoff2Url from \"../../dsfr/fonts/Marianne-Medium.woff2\";\nimport marianneMediumItalicWoff2Url from \"../../dsfr/fonts/Marianne-Medium_Italic.woff2\";\nimport marianneBoldWoff2Url from \"../../dsfr/fonts/Marianne-Bold.woff2\";\nimport marianneBoldItalicWoff2Url from \"../../dsfr/fonts/Marianne-Bold_Italic.woff2\";\nimport spectralRegularWoff2Url from \"../../dsfr/fonts/Spectral-Regular.woff2\";\nimport spectralExtraBoldWoff2Url from \"../../dsfr/fonts/Spectral-ExtraBold.woff2\";\nexport const fontUrlByFileBasename = {\n \"Marianne-Light\": marianneLightWoff2Url,\n \"Marianne-Light_Italic\": marianneItalicWoff2Url,\n \"Marianne-Regular\": marianneRegularWoff2Url,\n \"Marianne-Regular_Italic\": marianneRegularItalicWoff2Url,\n \"Marianne-Medium\": marianneMediumWoff2Url,\n \"Marianne-Medium_Italic\": marianneMediumItalicWoff2Url,\n \"Marianne-Bold\": marianneBoldWoff2Url,\n \"Marianne-Bold_Italic\": marianneBoldItalicWoff2Url,\n \"Spectral-Regular\": spectralRegularWoff2Url,\n \"Spectral-ExtraBold\": spectralExtraBoldWoff2Url\n};\n//# sourceMappingURL=fontUrlByFileBasename.js.map","export default {\"src\":\"/template-nextjs/_next/static/media/apple-touch-icon.1db30588.png\",\"height\":180,\"width\":180,\"blurDataURL\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAS1BMVEX////ygIM0NKfs7Pfd3fHmHSIcHJ3iAwX9+vsAAI+0tN9oaL/00tTzmJv87u87O6rrVFj84eJBQa6EhMukpNjR0OpKSrLmKi7orK1P482tAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAPUlEQVR4nBXKxxHAMAwEsVU8UpJz7L9Sj/EG7ktiPMJrxgjCI8Ar4p7BRuE8EsYm7t6wsIraL+Yi0f5rkz5A/AHPT3zajwAAAABJRU5ErkJggg==\",\"blurWidth\":8,\"blurHeight\":8};","export default {\"src\":\"/template-nextjs/_next/static/media/favicon.f453a8cf.svg\",\"height\":1080,\"width\":1080,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/template-nextjs/_next/static/media/favicon.8c087985.ico\",\"height\":48,\"width\":48,\"blurWidth\":0,\"blurHeight\":0};","export function getAssetUrl(componentOrUrl) {\n return typeof componentOrUrl === \"string\" ? componentOrUrl : componentOrUrl.src;\n}\n//# sourceMappingURL=getAssetUrl.js.map","import { overwriteReadonlyProp } from \"tsafe/lab/overwriteReadonlyProp\";\nexport class Deferred {\n constructor() {\n this.isPending = true;\n let resolve;\n let reject;\n this.pr = new Promise((resolve_, reject_) => {\n resolve = value => {\n overwriteReadonlyProp(this, \"isPending\", false);\n resolve_(value);\n };\n reject = error => {\n overwriteReadonlyProp(this, \"isPending\", false);\n reject_(error);\n };\n });\n this.resolve = resolve;\n this.reject = reject;\n }\n}\nexport class VoidDeferred extends Deferred {\n}\n//# sourceMappingURL=Deferred.js.map","import { isBrowser } from \"./tools/isBrowser\";\nimport { assert } from \"tsafe/assert\";\nimport { startClientSideIsDarkLogic } from \"./useIsDark/client\";\nimport { Deferred } from \"./tools/Deferred\";\nlet isStarted = false;\nexport async function start(params) {\n const { defaultColorScheme, verbose, nextParams, doCheckNonce, trustedTypesPolicyName } = params;\n assert(isBrowser);\n if (isStarted) {\n return;\n }\n isStarted = true;\n const registerEffectAction = nextParams === undefined ? action => action() : nextParams.registerEffectAction;\n startClientSideIsDarkLogic({\n \"colorSchemeExplicitlyProvidedAsParameter\": defaultColorScheme,\n \"doPersistDarkModePreferenceWithCookie\": nextParams === undefined ? false : nextParams.doPersistDarkModePreferenceWithCookie,\n registerEffectAction,\n doCheckNonce,\n trustedTypesPolicyName\n });\n // @ts-expect-error\n window.dsfr = {\n verbose,\n \"mode\": \"react\"\n };\n // @ts-expect-error\n await import(\"./dsfr/dsfr.module.min\");\n dDsfrLoaded.resolve();\n registerEffectAction(() => {\n // @ts-expect-error\n window.dsfr.start();\n });\n}\nconst dDsfrLoaded = new Deferred();\nexport const prDsfrLoaded = dDsfrLoaded.pr;\n//# sourceMappingURL=start.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { useEffect } from \"react\";\nimport Head from \"next/head\";\nimport DefaultApp from \"next/app\";\nimport { rootColorSchemeStyleTagId, data_fr_scheme, data_fr_theme } from \"./useIsDark/constants\";\nimport { getScriptToRunAsap } from \"./useIsDark/scriptToRunAsap\";\nimport { SsrIsDarkProvider } from \"./useIsDark/server\";\nimport { isBrowser } from \"./tools/isBrowser\";\nimport { objectKeys } from \"tsafe/objectKeys\";\nimport { fontUrlByFileBasename } from \"./next-appdir/zz_internal/fontUrlByFileBasename\";\nimport AppleTouchIcon from \"./dsfr/favicon/apple-touch-icon.png\";\nimport FaviconSvg from \"./dsfr/favicon/favicon.svg\";\nimport FaviconIco from \"./dsfr/favicon/favicon.ico\";\nimport { getAssetUrl } from \"./tools/getAssetUrl\";\nimport { fr } from \"./fr\";\nimport { start } from \"./start\";\nimport { setLink } from \"./link\";\nimport { setUseLang } from \"./i18n\";\nimport { assert } from \"tsafe/assert\";\nimport \"./assets/dsfr_plus_icons.css\";\nconst isProduction = process.env.NODE_ENV !== \"development\";\nfunction readIsDarkInCookie(cookie) {\n const parsedCookies = Object.fromEntries(cookie\n .split(/; */)\n .map(line => line.split(\"=\"))\n .map(([key, value]) => [key, decodeURIComponent(value)]));\n if (!(data_fr_theme in parsedCookies)) {\n return undefined;\n }\n switch (parsedCookies[data_fr_theme]) {\n case \"light\":\n return false;\n case \"dark\":\n return true;\n default:\n return undefined;\n }\n}\nexport function createNextDsfrIntegrationApi(params) {\n const { defaultColorScheme, verbose = false, Link, preloadFonts = [], doPersistDarkModePreferenceWithCookie = false, useLang, trustedTypesPolicyName = \"react-dsfr\", doDisableFavicon = false } = params;\n let isAfterFirstEffect = false;\n const actions = [];\n if (Link !== undefined) {\n setLink({ Link });\n }\n if (useLang !== undefined) {\n setUseLang({ useLang });\n }\n if (isBrowser) {\n start({\n defaultColorScheme,\n verbose,\n \"doCheckNonce\": false,\n trustedTypesPolicyName,\n \"nextParams\": {\n doPersistDarkModePreferenceWithCookie,\n \"registerEffectAction\": action => {\n if (isAfterFirstEffect) {\n action();\n }\n else {\n actions.push(action);\n }\n }\n }\n });\n }\n const isDarkPropKey = \"dsfrIsDark\";\n function withDsfr(App) {\n var _a, _b;\n function AppWithDsfr(_a) {\n var _b = isDarkPropKey, isDark = _a[_b], props = __rest(_a, [typeof _b === \"symbol\" ? _b : _b + \"\"]);\n if (isDark === undefined) {\n isDark = isBrowser ? /*we do not use it*/ null : false;\n }\n useEffect(() => {\n if (isAfterFirstEffect) {\n return;\n }\n isAfterFirstEffect = true;\n actions.forEach(action => action());\n }, []);\n return (React.createElement(React.Fragment, null,\n React.createElement(Head, null,\n process.env.NODE_ENV !== \"development\" &&\n objectKeys(fontUrlByFileBasename)\n .filter(fileBasename => preloadFonts.includes(fileBasename))\n .map(fileBasename => fontUrlByFileBasename[fileBasename])\n .map(url => (React.createElement(\"link\", { key: url, rel: \"preload\", href: url, as: \"font\", crossOrigin: \"anonymous\" }))),\n !doDisableFavicon && (React.createElement(React.Fragment, null,\n React.createElement(\"link\", { rel: \"apple-touch-icon\", href: getAssetUrl(AppleTouchIcon) }),\n React.createElement(\"link\", { rel: \"icon\", href: getAssetUrl(FaviconSvg), type: \"image/svg+xml\" }),\n React.createElement(\"link\", { rel: \"shortcut icon\", href: getAssetUrl(FaviconIco), type: \"image/x-icon\" }))),\n !isBrowser && ( //NOTE: On browser we handle this manually\n React.createElement(React.Fragment, null,\n React.createElement(\"style\", { id: rootColorSchemeStyleTagId }, `:root { color-scheme: ${isDark ? \"dark\" : \"light\"}; }`),\n React.createElement(\"meta\", { name: \"theme-color\", content: fr.colors.getHex({ isDark }).decisions.background.default\n .grey.default }))),\n isProduction && !isBrowser && (React.createElement(\"script\", { dangerouslySetInnerHTML: {\n \"__html\": getScriptToRunAsap({\n defaultColorScheme,\n trustedTypesPolicyName,\n \"nonce\": undefined\n })\n } }))),\n isBrowser ? (React.createElement(App, Object.assign({}, props))) : (React.createElement(SsrIsDarkProvider, { value: isDark },\n React.createElement(App, Object.assign({}, props))))));\n }\n Object.keys(App).forEach(key => (AppWithDsfr[key] = App[key]));\n if (doPersistDarkModePreferenceWithCookie) {\n const super_getInitialProps = (_b = (_a = App.getInitialProps) === null || _a === void 0 ? void 0 : _a.bind(App)) !== null && _b !== void 0 ? _b : DefaultApp.getInitialProps.bind(DefaultApp);\n AppWithDsfr.getInitialProps = async (appContext) => {\n var _a;\n const initialProps = await super_getInitialProps(appContext);\n let isDark = undefined;\n if (!isBrowser) {\n isDark =\n (_a = (() => {\n var _a;\n const cookie = (_a = appContext.ctx.req) === null || _a === void 0 ? void 0 : _a.headers.cookie;\n return cookie === undefined ? undefined : readIsDarkInCookie(cookie);\n })()) !== null && _a !== void 0 ? _a : (() => {\n switch (defaultColorScheme) {\n case \"dark\":\n return true;\n case \"light\":\n return false;\n case \"system\":\n return undefined;\n }\n })();\n }\n return Object.assign(Object.assign({}, initialProps), { [isDarkPropKey]: isDark });\n };\n }\n AppWithDsfr.displayName = AppWithDsfr.name;\n return AppWithDsfr;\n }\n function augmentDocumentForDsfr(Document) {\n var _a;\n let super_getInitialProps = (_a = Document.getInitialProps) === null || _a === void 0 ? void 0 : _a.bind(Document);\n if (super_getInitialProps === undefined) {\n import(\"next/document\").then(({ default: DefaultDocument }) => (super_getInitialProps = DefaultDocument.getInitialProps.bind(DefaultDocument)));\n }\n Document.getInitialProps = async (documentContext) => {\n const { isDark } = (() => {\n var _a, _b;\n const cookie = !readIsDarkInCookie\n ? undefined\n : (_a = documentContext.req) === null || _a === void 0 ? void 0 : _a.headers.cookie;\n const isDark = (_b = (cookie === undefined ? undefined : readIsDarkInCookie(cookie))) !== null && _b !== void 0 ? _b : (() => {\n switch (defaultColorScheme) {\n case \"light\":\n return false;\n case \"dark\":\n return true;\n case \"system\":\n return undefined;\n }\n })();\n return { isDark };\n })();\n {\n const originalRenderPage = documentContext.renderPage;\n documentContext.renderPage = (_a) => {\n var { enhanceApp } = _a, params = __rest(_a, [\"enhanceApp\"]);\n return originalRenderPage(Object.assign(Object.assign({}, params), { \"enhanceApp\": (App) => {\n var _a;\n const EnhancedApp = (_a = enhanceApp === null || enhanceApp === void 0 ? void 0 : enhanceApp(App)) !== null && _a !== void 0 ? _a : App;\n return function EnhanceApp(props) {\n return React.createElement(EnhancedApp, Object.assign({}, Object.assign(Object.assign({}, props), { [isDarkPropKey]: isDark })));\n };\n } }));\n };\n }\n assert(super_getInitialProps !== undefined, \"Default document not yet loaded. Please submit an issue to the tss-react repo\");\n const initialProps = await super_getInitialProps(documentContext);\n return Object.assign(Object.assign({}, initialProps), { [isDarkPropKey]: isDark });\n };\n }\n function getColorSchemeHtmlAttributes(props) {\n const { [isDarkPropKey]: isDark } = props;\n if (isDark === undefined) {\n return {};\n }\n const colorScheme = isDark ? \"dark\" : \"light\";\n return {\n [data_fr_scheme]: colorScheme,\n [data_fr_theme]: colorScheme\n };\n }\n return {\n withDsfr,\n \"dsfrDocumentApi\": {\n augmentDocumentForDsfr,\n getColorSchemeHtmlAttributes\n }\n };\n}\n//# sourceMappingURL=next-pagesdir.js.map","let wrap = undefined;\nexport function setBrandTopAndHomeLinkProps(params) {\n wrap = params;\n}\nexport function getBrandTopAndHomeLinkProps() {\n return wrap;\n}\n//# sourceMappingURL=brandTopAndHomeLinkProps.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef } from \"react\";\nimport { getLink } from \"./link\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { fr } from \"./fr\";\nimport { cx } from \"./tools/cx\";\nimport { assert } from \"tsafe/assert\";\nimport { createComponentI18nApi } from \"./i18n\";\nimport { getBrandTopAndHomeLinkProps } from \"./zz_internal/brandTopAndHomeLinkProps\";\nimport { typeGuard } from \"tsafe/typeGuard\";\nimport { id } from \"tsafe/id\";\n/** @see */\nexport const Footer = memo(forwardRef((props, ref) => {\n const { id: id_props, className, classes = {}, contentDescription, websiteMapLinkProps, accessibilityLinkProps, accessibility, termsLinkProps, bottomItems = [], partnersLogos, operatorLogo, license, brandTop: brandTop_prop, homeLinkProps: homeLinkProps_prop, style, linkList, domains = [\n \"legifrance.gouv.fr\",\n \"gouvernement.fr\",\n \"service-public.fr\",\n \"data.gouv.fr\"\n ] } = props, rest = __rest(props, [\"id\", \"className\", \"classes\", \"contentDescription\", \"websiteMapLinkProps\", \"accessibilityLinkProps\", \"accessibility\", \"termsLinkProps\", \"bottomItems\", \"partnersLogos\", \"operatorLogo\", \"license\", \"brandTop\", \"homeLinkProps\", \"style\", \"linkList\", \"domains\"]);\n assert();\n const rootId = id_props !== null && id_props !== void 0 ? id_props : \"fr-footer\";\n const { brandTop, homeLinkProps } = (() => {\n const wrap = getBrandTopAndHomeLinkProps();\n const brandTop = brandTop_prop !== null && brandTop_prop !== void 0 ? brandTop_prop : wrap === null || wrap === void 0 ? void 0 : wrap.brandTop;\n const homeLinkProps = homeLinkProps_prop !== null && homeLinkProps_prop !== void 0 ? homeLinkProps_prop : wrap === null || wrap === void 0 ? void 0 : wrap.homeLinkProps;\n const exceptionMessage = \" hasn't been provided to the Footer and we cannot retrieve it from the Header (it's probably client side)\";\n if (brandTop === undefined) {\n throw new Error(symToStr({ brandTop }) + exceptionMessage);\n }\n if (homeLinkProps === undefined) {\n throw new Error(symToStr({ homeLinkProps }) + exceptionMessage);\n }\n return { brandTop, homeLinkProps };\n })();\n const { Link } = getLink();\n const { t } = useTranslation();\n const { main: mainPartnersLogo, sub: subPartnersLogos = [] } = partnersLogos !== null && partnersLogos !== void 0 ? partnersLogos : {};\n return (React.createElement(\"footer\", Object.assign({ id: rootId, className: cx(fr.cx(\"fr-footer\"), classes.root, className), role: \"contentinfo\", ref: ref, style: style }, rest),\n linkList !== undefined && (React.createElement(\"div\", { className: fr.cx(\"fr-footer__top\") },\n React.createElement(\"div\", { className: fr.cx(\"fr-container\") },\n React.createElement(\"div\", { className: fr.cx(\"fr-grid-row\", \n // \"fr-grid-row--start\", // why is this class used in dsfr doc?\n \"fr-grid-row--gutters\") }, linkList.map((column, columnIndex) => column !== undefined && (React.createElement(\"div\", { key: `fr-footer__top-cat-${columnIndex}`, className: fr.cx(\"fr-col-12\", \"fr-col-sm-3\", \"fr-col-md-2\") },\n (column === null || column === void 0 ? void 0 : column.categoryName) && (React.createElement(\"h3\", { className: fr.cx(\"fr-footer__top-cat\") }, column === null || column === void 0 ? void 0 : column.categoryName)),\n React.createElement(\"ul\", { className: fr.cx(\"fr-footer__top-list\") }, column === null || column === void 0 ? void 0 : column.links.map((linkItem, linkItemIndex) => (React.createElement(\"li\", { key: `fr-footer__top-link-${linkItemIndex}` },\n React.createElement(Link, Object.assign({}, linkItem === null || linkItem === void 0 ? void 0 : linkItem.linkProps, { className: fr.cx(\"fr-footer__top-link\") }), linkItem === null || linkItem === void 0 ? void 0 : linkItem.text)))))))))))),\n React.createElement(\"div\", { className: fr.cx(\"fr-container\") },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__body\"), classes.body) },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__brand\", \"fr-enlarge-link\"), classes.brand) },\n (() => {\n const children = (React.createElement(\"p\", { className: cx(fr.cx(\"fr-logo\"), classes.logo) }, brandTop));\n return operatorLogo !== undefined ? (children) : (React.createElement(Link, Object.assign({}, homeLinkProps), children));\n })(),\n operatorLogo !== undefined && (React.createElement(Link, Object.assign({}, homeLinkProps, { className: cx(fr.cx(\"fr-footer__brand-link\"), classes.brandLink, homeLinkProps.className) }),\n React.createElement(\"img\", { className: cx(fr.cx(\"fr-footer__logo\"), classes.operatorLogo), style: (() => {\n switch (operatorLogo.orientation) {\n case \"vertical\":\n return { \"width\": \"3.5rem\" };\n case \"horizontal\":\n return { \"maxWidth\": \"9.0625rem\" };\n }\n })(), src: operatorLogo.imgUrl, alt: operatorLogo.alt })))),\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__content\"), classes.content) },\n contentDescription !== undefined && (React.createElement(\"p\", { className: cx(fr.cx(\"fr-footer__content-desc\"), classes.contentDesc) }, contentDescription)),\n React.createElement(\"ul\", { className: cx(fr.cx(\"fr-footer__content-list\"), classes.contentList) }, domains.map((domain, i) => (React.createElement(\"li\", { className: cx(fr.cx(\"fr-footer__content-item\"), classes.contentItem), key: i },\n React.createElement(\"a\", { className: cx(fr.cx(\"fr-footer__content-link\"), classes.contentLink), target: \"_blank\", href: `https://${domain}`, title: `${domain} - ${t(\"open new window\")}` }, domain))))))),\n partnersLogos !== undefined && (React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__partners\"), classes.partners) },\n React.createElement(\"h4\", { className: cx(fr.cx(\"fr-footer__partners-title\"), classes.partnersTitle) }, t(\"our partners\")),\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__partners-logos\"), classes.partnersLogos) },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__partners-main\"), classes.partnersMain) }, mainPartnersLogo !== undefined &&\n (() => {\n var _a, _b;\n const children = (React.createElement(\"img\", { alt: mainPartnersLogo.alt, style: { height: \"5.625rem\" }, src: mainPartnersLogo.imgUrl, className: cx(fr.cx(\"fr-footer__logo\"), classes.logo) }));\n const hasLinkProps = mainPartnersLogo.linkProps !== undefined ||\n mainPartnersLogo.href !== undefined;\n return hasLinkProps ? (React.createElement(Link, Object.assign({}, mainPartnersLogo.linkProps, { href: (_a = mainPartnersLogo.href) !== null && _a !== void 0 ? _a : (_b = mainPartnersLogo.linkProps) === null || _b === void 0 ? void 0 : _b.href, className: cx(fr.cx(\"fr-footer__partners-link\", \"fr-raw-link\"), classes.partnersLink) }), children)) : (children);\n })()),\n subPartnersLogos.length !== 0 && (React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__partners-sub\"), classes.partnersSub) },\n React.createElement(\"ul\", null, subPartnersLogos.map((logo, i) => {\n var _a, _b;\n const children = (React.createElement(\"img\", { alt: logo.alt, src: logo.imgUrl, style: { \"height\": \"5.625rem\" }, className: cx(fr.cx(\"fr-footer__logo\"), classes.logo) }));\n const hasLinkProps = logo.linkProps !== undefined ||\n logo.href !== undefined;\n return (React.createElement(\"li\", { key: i }, hasLinkProps ? (React.createElement(Link, Object.assign({}, logo.linkProps, { href: (_a = logo.href) !== null && _a !== void 0 ? _a : (_b = logo.linkProps) === null || _b === void 0 ? void 0 : _b.href, className: cx(fr.cx(\"fr-footer__partners-link\", \"fr-raw-link\"), classes.partnersLink) }), children)) : (children)));\n }))))))),\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__bottom\"), classes.bottom) },\n React.createElement(\"ul\", { className: cx(fr.cx(\"fr-footer__bottom-list\"), classes.bottomList) }, [\n ...(websiteMapLinkProps === undefined\n ? []\n : [\n id({\n \"text\": t(\"website map\"),\n \"linkProps\": websiteMapLinkProps\n })\n ]),\n id({\n \"text\": `${t(\"accessibility\")}: ${t(accessibility)}`,\n \"linkProps\": accessibilityLinkProps !== null && accessibilityLinkProps !== void 0 ? accessibilityLinkProps : {}\n }),\n ...(termsLinkProps === undefined\n ? []\n : [\n id({\n \"text\": t(\"terms\"),\n \"linkProps\": termsLinkProps\n })\n ]),\n ...bottomItems\n ].map((bottomItem, i) => (React.createElement(\"li\", { className: cx(fr.cx(\"fr-footer__bottom-item\"), classes.bottomItem, className), key: i }, !typeGuard(bottomItem, bottomItem instanceof Object && \"text\" in bottomItem) ? (bottomItem) : (React.createElement(FooterBottomItem, { classes: {\n \"bottomLink\": classes.bottomLink\n }, bottomItem: bottomItem })))))),\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-footer__bottom-copy\"), classes.bottomCopy) },\n React.createElement(\"p\", null, license === undefined\n ? t(\"license mention\", {\n \"licenseUrl\": \"https://github.com/etalab/licence-ouverte/blob/master/LO.md\"\n })\n : license))))));\n}));\nFooter.displayName = symToStr({ Footer });\nexport default Footer;\nconst { useTranslation, addFooterTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ Footer }),\n \"frMessages\": {\n /* spell-checker: disable */\n \"hide message\": \"Masquer le message\",\n \"website map\": \"Plan du site\",\n \"accessibility\": \"Accessibilité\",\n \"non compliant\": \"non conforme\",\n \"partially compliant\": \"partiellement conforme\",\n \"fully compliant\": \"totalement conforme\",\n \"terms\": \"Mentions légales\",\n \"cookies management\": \"Gestion des cookies\",\n \"license mention\": (p) => (React.createElement(React.Fragment, null,\n \"Sauf mention explicite de propri\\u00E9t\\u00E9 intellectuelle d\\u00E9tenue par des tiers, les contenus de ce site sont propos\\u00E9s sous\",\n \" \",\n React.createElement(\"a\", { href: p.licenseUrl, target: \"_blank\", title: \"licence etalab-2.0 - ouvre une nouvelle fen\\u00EAtre\" }, \"licence etalab-2.0\"))),\n \"our partners\": \"Nos partenaires\",\n \"open new window\": \"ouvre une nouvelle fenêtre\"\n /* spell-checker: enable */\n }\n});\naddFooterTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"hide message\": \"Hide the message\",\n \"website map\": \"Website map\",\n \"accessibility\": \"Accessibility\",\n \"non compliant\": \"non compliant\",\n \"partially compliant\": \"partially compliant\",\n \"fully compliant\": \"fully compliant\",\n \"license mention\": p => (React.createElement(React.Fragment, null,\n \"Unless stated otherwise, all content of this website is under the\",\n \" \",\n React.createElement(\"a\", { href: p.licenseUrl, target: \"_blank\", title: \"etalab-2.0 license - open a new window\" }, \"etalab-2.0 license\"))),\n \"open new window\": \"open new window\"\n }\n});\naddFooterTranslations({\n \"lang\": \"es\",\n \"messages\": {\n /* spell-checker: disable */\n \"hide message\": \"Occultar el mesage\"\n /* spell-checker: enable */\n }\n});\nexport { addFooterTranslations };\nexport function FooterBottomItem(props) {\n const { className: className_props, bottomItem, classes = {} } = props;\n const { Link } = getLink();\n const className = cx(fr.cx(\"fr-footer__bottom-link\", ...(bottomItem.iconId !== undefined\n ? [bottomItem.iconId, \"fr-link--icon-left\"]\n : [])), classes.bottomLink, classes.root, className_props);\n return bottomItem.linkProps !== undefined ? (Object.keys(bottomItem.linkProps).length === 0 ? (React.createElement(\"span\", { className: className }, bottomItem.text)) : (React.createElement(Link, Object.assign({}, bottomItem.linkProps, { className: cx(className, bottomItem.linkProps.className) }), bottomItem.text))) : (React.createElement(\"button\", Object.assign({}, bottomItem.buttonProps, { className: cx(className, bottomItem.buttonProps.className) }), bottomItem.text));\n}\n//# sourceMappingURL=Footer.js.map","export function generateValidHtmlId(params) {\n const { text, fallback } = params;\n if (typeof text !== \"string\" || text === \"\") {\n return fallback !== undefined ? `-${fallback}` : \"\";\n }\n // Remove any space characters\n let result = text.replace(/\\s+/g, \"\");\n // Replace any non-alphanumeric characters with underscores\n result = result.replace(/[^a-zA-Z0-9]/g, \"_\");\n return `-${result}`;\n}\n//# sourceMappingURL=generateValidHtmlId.js.map","\"use client\";\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef } from \"react\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { fr } from \"../fr\";\nimport { cx } from \"../tools/cx\";\nimport { assert } from \"tsafe/assert\";\nimport { getLink } from \"../link\";\nimport { generateValidHtmlId } from \"../tools/generateValidHtmlId\";\nexport const Menu = memo(forwardRef((props, ref) => {\n const { id, classes = {}, style, links } = props, rest = __rest(props, [\"id\", \"classes\", \"style\", \"links\"]);\n assert();\n const { Link } = getLink();\n return (React.createElement(\"div\", Object.assign({ className: cx(fr.cx(\"fr-menu\"), classes.root), style: style, id: id, ref: ref }, rest),\n React.createElement(\"ul\", { className: cx(fr.cx(\"fr-menu__list\"), classes.list) }, links.map(({ text, linkProps, isActive = false }, i) => {\n var _a;\n return (React.createElement(\"li\", { key: i },\n React.createElement(Link, Object.assign({}, linkProps, { id: (_a = linkProps.id) !== null && _a !== void 0 ? _a : `${id}-link${generateValidHtmlId({\n text\n })}-${i}`, className: cx(fr.cx(\"fr-nav__link\"), linkProps.className) }, (isActive && { [\"aria-current\"]: \"page\" })), text)));\n }))));\n}));\nMenu.displayName = symToStr({ Menu });\nexport default Menu;\n//# sourceMappingURL=Menu.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef } from \"react\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { createComponentI18nApi } from \"../i18n\";\nimport { fr } from \"../fr\";\nimport { cx } from \"../tools/cx\";\nimport { assert } from \"tsafe/assert\";\nimport { getLink } from \"../link\";\nimport { generateValidHtmlId } from \"../tools/generateValidHtmlId\";\nexport const MegaMenu = memo(forwardRef((props, ref) => {\n var _a;\n const { id, classes = {}, style, leader, categories } = props, rest = __rest(props, [\"id\", \"classes\", \"style\", \"leader\", \"categories\"]);\n assert();\n const { t } = useTranslation();\n const { Link } = getLink();\n return (React.createElement(\"div\", Object.assign({ className: cx(fr.cx(\"fr-mega-menu\"), classes.root), style: style, tabIndex: -1, id: id, ref: ref }, rest),\n React.createElement(\"div\", { className: fr.cx(\"fr-container\", \"fr-container--fluid\", \"fr-container-lg\") },\n React.createElement(\"button\", { className: fr.cx(\"fr-link--close\", \"fr-link\"), \"aria-controls\": \"mega-menu-775\" }, t(\"close\")),\n React.createElement(\"div\", { className: fr.cx(\"fr-grid-row\", \"fr-grid-row-lg--gutters\") },\n leader !== undefined && (React.createElement(\"div\", { className: fr.cx(\"fr-col-12\", \"fr-col-lg-8\", \"fr-col-offset-lg-4--right\", \"fr-mb-4v\") },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-mega-menu__leader\"), classes.leader) },\n React.createElement(\"h4\", { className: fr.cx(\"fr-h4\", \"fr-mb-2v\") }, leader.title),\n React.createElement(\"p\", { className: fr.cx(\"fr-hidden\", \"fr-displayed-lg\") }, leader.paragraph),\n leader.link !== undefined && (React.createElement(Link, Object.assign({}, leader.link.linkProps, { id: (_a = leader.link.linkProps.id) !== null && _a !== void 0 ? _a : `${id}-leader-link${generateValidHtmlId({\n \"text\": leader.link.text\n })}`, className: cx(fr.cx(\"fr-link\", \"fr-icon-arrow-right-line\", \"fr-link--icon-right\", \"fr-link--align-on-content\"), leader.link.linkProps.className) }), leader.link.text))))),\n categories.map(({ categoryMainLink, links }, i) => {\n var _a;\n return (React.createElement(\"div\", { className: fr.cx(\"fr-col-12\", \"fr-col-lg-3\"), key: i },\n React.createElement(\"h5\", { className: cx(fr.cx(\"fr-mega-menu__category\"), classes.category) },\n React.createElement(Link, Object.assign({}, categoryMainLink.linkProps, { id: (_a = categoryMainLink.linkProps.id) !== null && _a !== void 0 ? _a : `${id}-category-link${generateValidHtmlId({\n \"text\": categoryMainLink.text\n })}-${i}`, className: cx(fr.cx(\"fr-nav__link\"), categoryMainLink.linkProps.className) }), categoryMainLink.text)),\n React.createElement(\"ul\", { className: cx(fr.cx(\"fr-mega-menu__list\"), classes.list) }, links.map(({ linkProps, text, isActive }, j) => {\n var _a;\n return (React.createElement(\"li\", { key: j },\n React.createElement(Link, Object.assign({}, linkProps, { id: (_a = linkProps.id) !== null && _a !== void 0 ? _a : `${id}-link${generateValidHtmlId({\n \"text\": text\n })}-${i}-${j}`, className: cx(fr.cx(\"fr-nav__link\"), linkProps.className) }, (!isActive ? {} : { \"aria-current\": \"page\" })), text)));\n }))));\n })))));\n}));\nMegaMenu.displayName = symToStr({ MegaMenu });\nconst { useTranslation, addMegaMenuTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ MegaMenu }),\n \"frMessages\": {\n /* spell-checker: disable */\n \"close\": \"Fermer\"\n /* spell-checker: enable */\n }\n});\naddMegaMenuTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"close\": \"Close\"\n }\n});\nexport { addMegaMenuTranslations };\nexport default MegaMenu;\n//# sourceMappingURL=MegaMenu.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef } from \"react\";\nimport { createComponentI18nApi } from \"../i18n\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { assert } from \"tsafe/assert\";\nimport { getLink } from \"../link\";\nimport { fr } from \"../fr\";\nimport { cx } from \"../tools/cx\";\nimport { Menu } from \"./Menu\";\nimport { MegaMenu } from \"./MegaMenu\";\nimport { useAnalyticsId } from \"../tools/useAnalyticsId\";\nexport const MainNavigation = memo(forwardRef((props, ref) => {\n const { className, items, classes = {}, style, id: id_props } = props, rest = __rest(props, [\"className\", \"items\", \"classes\", \"style\", \"id\"]);\n assert();\n const { t } = useTranslation();\n const { Link } = getLink();\n const id = useAnalyticsId({\n \"explicitlyProvidedId\": id_props,\n \"defaultIdPrefix\": \"main-navigation\"\n });\n const getMenuId = (i) => `${id}-menu-${i}`;\n return (React.createElement(\"nav\", Object.assign({ id: id, className: cx(fr.cx(\"fr-nav\"), classes.root, className), style: style, role: \"navigation\", \"aria-label\": t(\"main menu\"), ref: ref }, rest),\n React.createElement(\"ul\", { className: cx(fr.cx(\"fr-nav__list\"), classes.list) }, items.map(({ className, text, isActive = false, linkProps, menuLinks = [], megaMenu, buttonProps = {} }, i) => {\n var _a, _b;\n return (React.createElement(\"li\", { key: i, className: cx(fr.cx(\"fr-nav__item\"), classes.item, className) }, linkProps !== undefined ? (React.createElement(Link, Object.assign({}, linkProps, { id: (_a = linkProps.id) !== null && _a !== void 0 ? _a : `${id}-link-${i}`, className: cx(fr.cx(\"fr-nav__link\"), classes.link, linkProps.className) }, (isActive && { [\"aria-current\"]: \"page\" })), text)) : (React.createElement(React.Fragment, null,\n React.createElement(\"button\", Object.assign({}, buttonProps, { id: (_b = buttonProps.id) !== null && _b !== void 0 ? _b : `${id}-button-${i}`, className: cx(fr.cx(\"fr-nav__btn\"), buttonProps.className, classes.btn), \"aria-expanded\": false, \"aria-controls\": getMenuId(i) }, (isActive && { [\"aria-current\"]: true })), text),\n menuLinks.length !== 0 && (React.createElement(Menu, { classes: {\n \"root\": cx(fr.cx(\"fr-collapse\"), classes.root),\n \"list\": classes.menuList\n }, links: menuLinks, id: getMenuId(i) })),\n megaMenu !== undefined && (React.createElement(MegaMenu, { classes: {\n \"root\": cx(fr.cx(\"fr-collapse\"), classes.megaMenu),\n \"leader\": classes.megaMenuLeader,\n \"category\": classes.megaMenuCategory,\n \"list\": classes.menuList\n }, id: getMenuId(i), leader: megaMenu.leader, categories: megaMenu.categories }))))));\n }))));\n}));\nMainNavigation.displayName = symToStr({ MainNavigation });\nexport default MainNavigation;\nconst { useTranslation, addMainNavigationTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ MainNavigation }),\n \"frMessages\": {\n /* spell-checker: disable */\n \"main menu\": \"Menu principal\"\n /* spell-checker: enable */\n }\n});\naddMainNavigationTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"main menu\": \"Main menu\"\n }\n});\nexport { addMainNavigationTranslations };\n//# sourceMappingURL=MainNavigation.js.map","export * from \"./MainNavigation\";\nexport { addMegaMenuTranslations } from \"./MegaMenu\";\nimport { MainNavigation } from \"./MainNavigation\";\nexport default MainNavigation;\n//# sourceMappingURL=index.js.map","export default {\"src\":\"/template-nextjs/_next/static/media/light.f5239a67.svg\",\"height\":80,\"width\":80,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/template-nextjs/_next/static/media/dark.d3c138d0.svg\",\"height\":80,\"width\":80,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/template-nextjs/_next/static/media/system.0b703235.svg\",\"height\":80,\"width\":80,\"blurWidth\":0,\"blurHeight\":0};","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef } from \"react\";\nimport { fr } from \"../fr\";\nimport { cx } from \"../tools/cx\";\nimport { assert } from \"tsafe/assert\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { createComponentI18nApi } from \"../i18n\";\nimport Button from \"../Button\";\nimport { overwriteReadonlyProp } from \"tsafe/lab/overwriteReadonlyProp\";\nconst Modal = memo(forwardRef((props, ref) => {\n const { className, id, title, children, concealingBackdrop = true, topAnchor = false, iconId, buttons: buttons_props, size = \"medium\", style } = props, rest = __rest(props, [\"className\", \"id\", \"title\", \"children\", \"concealingBackdrop\", \"topAnchor\", \"iconId\", \"buttons\", \"size\", \"style\"]);\n assert();\n const buttons = buttons_props === undefined\n ? undefined\n : buttons_props instanceof Array\n ? buttons_props\n : [buttons_props];\n const { t } = useTranslation();\n const titleId = `fr-modal-title-${id}`;\n return (React.createElement(\"dialog\", { \"aria-labelledby\": titleId, role: \"dialog\", id: id, className: cx(fr.cx(\"fr-modal\", topAnchor && \"fr-modal--top\"), className), style: style, ref: ref, \"data-fr-concealing-backdrop\": concealingBackdrop },\n React.createElement(\"div\", { className: fr.cx(\"fr-container\", \"fr-container--fluid\", \"fr-container-md\") },\n React.createElement(\"div\", { className: fr.cx(\"fr-grid-row\", \"fr-grid-row--center\") },\n React.createElement(\"div\", { className: (() => {\n switch (size) {\n case \"large\":\n return fr.cx(\"fr-col-12\", \"fr-col-md-10\", \"fr-col-lg-8\");\n case \"small\":\n return fr.cx(\"fr-col-12\", \"fr-col-md-6\", \"fr-col-lg-4\");\n case \"medium\":\n return fr.cx(\"fr-col-12\", \"fr-col-md-8\", \"fr-col-lg-6\");\n }\n })() },\n React.createElement(\"div\", { className: fr.cx(\"fr-modal__body\") },\n React.createElement(\"div\", { className: fr.cx(\"fr-modal__header\") },\n React.createElement(\"button\", { className: fr.cx(\"fr-btn--close\", \"fr-btn\"), title: t(\"close\"), \"aria-controls\": id, type: \"button\" }, t(\"close\"))),\n React.createElement(\"div\", { className: fr.cx(\"fr-modal__content\") },\n React.createElement(\"h1\", { id: titleId, className: fr.cx(\"fr-modal__title\") },\n iconId !== undefined && (React.createElement(\"span\", { className: fr.cx(iconId, \"fr-fi--lg\") })),\n title),\n children),\n buttons !== undefined && (React.createElement(\"div\", { className: \"fr-modal__footer\" },\n React.createElement(\"ul\", { className: fr.cx(\"fr-btns-group\", \"fr-btns-group--right\", \"fr-btns-group--inline-reverse\", \"fr-btns-group--inline-lg\", \"fr-btns-group--icon-left\") }, [...buttons]\n .reverse()\n .map((_a, i) => {\n var _b;\n var { doClosesModal = true } = _a, buttonProps = __rest(_a, [\"doClosesModal\"]);\n return (React.createElement(\"li\", { key: i },\n React.createElement(Button, Object.assign({}, buttonProps, { priority: (_b = buttonProps.priority) !== null && _b !== void 0 ? _b : (i === 0\n ? \"primary\"\n : \"secondary\") }, (!doClosesModal\n ? {}\n : \"linkProps\" in buttonProps\n ? {\n \"linkProps\": Object.assign(Object.assign({}, buttonProps.linkProps), { \"aria-controls\": id })\n }\n : {\n \"nativeButtonProps\": Object.assign(Object.assign({}, buttonProps.nativeButtonProps), { \"aria-controls\": id })\n })))));\n }))))))))));\n}));\nModal.displayName = symToStr({ Modal });\nconst { useTranslation, addModalTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ Modal }),\n \"frMessages\": {\n \"close\": \"Fermer\"\n }\n});\naddModalTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"close\": \"Close\"\n }\n});\naddModalTranslations({\n \"lang\": \"es\",\n \"messages\": {\n /* spell-checker: disable */\n \"close\": \"Cerrar\"\n /* spell-checker: enable */\n }\n});\nexport { addModalTranslations };\n/** @see */\nexport function createModal(params) {\n const { isOpenedByDefault, id } = params;\n const buttonProps = {\n \"id\": `${id}-control-button`,\n \"aria-controls\": id,\n \"data-fr-opened\": isOpenedByDefault\n };\n const hiddenControlButtonId = `${id}-hidden-control-button`;\n function Component(props) {\n return (React.createElement(React.Fragment, null,\n React.createElement(Button, { nativeButtonProps: Object.assign(Object.assign({}, buttonProps), { \"id\": hiddenControlButtonId, \"type\": \"button\", \"tabIndex\": -1, \"aria-hidden\": true }), className: fr.cx(\"fr-hidden\") }, \" \"),\n React.createElement(Modal, Object.assign({}, props, { id: id }))));\n }\n Component.displayName = `${id}-modal`;\n overwriteReadonlyProp(Component, \"name\", Component.displayName);\n function open() {\n const modalElement = document.getElementById(id);\n // @ts-expect-error: Property 'dsfr' does not exist on type 'Window & typeof globalThis'.ts(2339)\n window.dsfr(modalElement).modal.disclose();\n }\n function close() {\n const modalElement = document.getElementById(id);\n // @ts-expect-error: Property 'dsfr' does not exist on type 'Window & typeof globalThis'.ts(2339)\n window.dsfr(modalElement).modal.conceal();\n }\n return {\n Component,\n buttonProps,\n open,\n close,\n isOpenedByDefault,\n id\n };\n}\n//# sourceMappingURL=Modal.js.map","export * from \"./Modal\";\n//# sourceMappingURL=index.js.map","import React, { useId } from \"react\";\nimport { fr } from \"../fr\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { createComponentI18nApi } from \"../i18n\";\nimport ArtworkLightSvg from \"../dsfr/artwork/light.svg\";\nimport ArtworkDarkSvg from \"../dsfr/artwork/dark.svg\";\nimport ArtworkSystemSvg from \"../dsfr/artwork/system.svg\";\nimport { getAssetUrl } from \"../tools/getAssetUrl\";\nimport { createModal } from \"../Modal\";\nconst modal = createModal({\n \"isOpenedByDefault\": false,\n \"id\": \"fr-theme-modal\"\n});\nexport const headerFooterDisplayItem = {\n \"buttonProps\": modal.buttonProps,\n \"iconId\": \"fr-icon-theme-fill\",\n \"text\": (() => {\n function Text() {\n const { t } = useTranslation();\n return React.createElement(React.Fragment, null, t(\"display settings\"));\n }\n return React.createElement(Text, null);\n })()\n};\n/** @see */\nexport function Display() {\n const { t } = useTranslation();\n const { getInputId } = (function useClosure() {\n const id = useId();\n function getInputId(theme) {\n return `${id}-${theme}`;\n }\n return { getInputId };\n })();\n return (React.createElement(modal.Component, { title: t(\"display settings\"), size: \"small\" },\n React.createElement(\"div\", { className: \"fr-display\" },\n React.createElement(\"div\", { className: fr.cx(\"fr-form-group\") },\n React.createElement(\"fieldset\", { className: fr.cx(\"fr-fieldset\") },\n React.createElement(\"legend\", { className: fr.cx(\"fr-fieldset__legend\", \"fr-text--regular\") }, t(\"pick a theme\")),\n React.createElement(\"div\", { className: fr.cx(\"fr-fieldset__content\") }, [\"light\", \"dark\", \"system\"].map(theme => (React.createElement(\"div\", { key: theme, className: fr.cx(\"fr-radio-group\", \"fr-radio-rich\") },\n React.createElement(\"input\", { value: theme, type: \"radio\", id: getInputId(theme), name: \"fr-radios-theme\" }),\n React.createElement(\"label\", { className: \"fr-label\", htmlFor: getInputId(theme) },\n t(`${theme} theme`),\n theme === \"system\" && (React.createElement(\"span\", { className: fr.cx(\"fr-hint-text\") }, t(\"system theme hint\")))),\n React.createElement(\"div\", { className: fr.cx(\"fr-radio-rich__img\") },\n React.createElement(\"svg\", { \"aria-hidden\": \"true\", xmlns: \"http://www.w3.org/2000/svg\", \n //className={fr.cx(\"fr-artwork\")}\n width: \"80px\", height: \"80px\", viewBox: \"0 0 80 80\" }, [\n \"artwork-decorative\",\n \"artwork-minor\",\n \"artwork-major\"\n ].map(label => (React.createElement(\"use\", { key: label, className: fr.cx(`fr-${label}`), xlinkHref: `${getAssetUrl((() => {\n switch (theme) {\n case \"dark\":\n return ArtworkDarkSvg;\n case \"light\":\n return ArtworkLightSvg;\n case \"system\":\n return ArtworkSystemSvg;\n }\n })())}#${label}` }))))))))))))));\n}\nDisplay.displayName = symToStr({ Display });\nexport default Display;\nconst { useTranslation, addDisplayTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ Display }),\n \"frMessages\": {\n /* spell-checker: disable */\n \"display settings\": \"Paramètres d'affichage\",\n \"close\": \"Fermer\",\n \"pick a theme\": `Choisissez un thème pour personnaliser l'apparence du site.`,\n \"light theme\": `Thème clair`,\n \"dark theme\": `Thème sombre`,\n \"system theme\": `Système.`,\n \"system theme hint\": `Utilise les paramètres système.`\n /* spell-checker: enable */\n }\n});\naddDisplayTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"display settings\": \"Display settings\",\n \"close\": \"Close\",\n \"pick a theme\": `Pick a theme to customize the website's look.`,\n \"light theme\": `Light theme`,\n \"dark theme\": \"Dark theme\",\n \"system theme\": `System.`,\n \"system theme hint\": \"Use system preference\"\n }\n});\naddDisplayTranslations({\n \"lang\": \"es\",\n \"messages\": {\n /* spell-checker: disable */\n \"display settings\": \"Parámetro de visualización\",\n \"close\": \"Cerrar\",\n \"pick a theme\": `Elija un tema para personalizar el aspecto del sitio.`\n /* spell-checker: enable */\n }\n});\nexport { addDisplayTranslations };\n//# sourceMappingURL=Display.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef } from \"react\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { assert } from \"tsafe/assert\";\nimport { createComponentI18nApi } from \"../i18n\";\nimport { cx } from \"../tools/cx\";\nimport { fr } from \"../fr\";\nimport { SearchButton } from \"./SearchButton\";\nimport { useAnalyticsId } from \"../tools/useAnalyticsId\";\nimport \"../assets/search-bar.css\";\n/**\n * @see \n * */\nexport const SearchBar = memo(forwardRef((props, ref) => {\n const { className, id: id_props, label: label_props, big = false, classes = {}, style, renderInput = ({ className, id, placeholder, type }) => (React.createElement(\"input\", { className: className, id: id, placeholder: placeholder, type: type })), clearInputOnSearch = false, allowEmptySearch = false, onButtonClick } = props, rest = __rest(props, [\"className\", \"id\", \"label\", \"big\", \"classes\", \"style\", \"renderInput\", \"clearInputOnSearch\", \"allowEmptySearch\", \"onButtonClick\"]);\n assert();\n const { t } = useTranslation();\n const label = label_props !== null && label_props !== void 0 ? label_props : t(\"label\");\n const id = useAnalyticsId({\n \"defaultIdPrefix\": \"fr-search-bar\",\n \"explicitlyProvidedId\": id_props\n });\n const inputId = `search-${id}-input`;\n return (React.createElement(\"div\", Object.assign({ id: id, className: cx(fr.cx(\"fr-search-bar\", big && \"fr-search-bar--lg\"), classes.root, className), role: \"search\", ref: ref, style: style }, rest),\n React.createElement(\"label\", { className: cx(fr.cx(\"fr-label\"), classes.label), htmlFor: inputId }, label),\n renderInput({\n \"className\": fr.cx(\"fr-input\"),\n \"placeholder\": label,\n \"type\": \"search\",\n \"id\": inputId\n }),\n React.createElement(SearchButton, { clearInputOnSearch: clearInputOnSearch, id: `${id}-button`, searchInputId: inputId, allowEmptySearch: allowEmptySearch, onClick: onButtonClick })));\n}));\nSearchBar.displayName = symToStr({ SearchBar });\nexport default SearchBar;\nexport const { useTranslation, addSearchBarTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ SearchBar }),\n \"frMessages\": {\n /* spell-checker: disable */\n \"label\": \"Rechercher\"\n /* spell-checker: enable */\n }\n});\naddSearchBarTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"label\": \"Search\"\n }\n});\n//# sourceMappingURL=SearchBar.js.map","import { assert } from \"tsafe/assert\";\n// NOTE: The callback is called way too often, it can be called multiple times\n// for the same input value. Futhermore the callback is not guaranteed to be called\n// as soon as the input value changes.\nexport function observeInputValue(params) {\n const { inputElement, callback: callback_params } = params;\n const cleanups = [];\n {\n const descriptorToRestore = Object.getOwnPropertyDescriptor(inputElement, \"value\");\n cleanups.push(() => {\n assert(descriptorToRestore !== undefined);\n Object.defineProperty(inputElement, \"value\", descriptorToRestore);\n });\n const inputElementPrototype = Object.getPrototypeOf(inputElement);\n const descriptor = Object.getOwnPropertyDescriptor(inputElementPrototype, \"value\");\n Object.defineProperty(inputElement, \"value\", {\n \"get\": function (...args) {\n // @ts-expect-error\n return descriptor.get.apply(this, args);\n },\n \"set\": function (...args) {\n // @ts-expect-error\n descriptor.set.apply(this, args);\n const newValue = this.value;\n callback_params();\n return newValue;\n }\n });\n }\n inputElement.addEventListener(\"input\", (() => {\n const callback = () => {\n callback_params();\n };\n cleanups.push(() => inputElement.removeEventListener(\"input\", callback));\n return callback;\n })());\n inputElement.addEventListener(\"keydown\", (() => {\n const callback = (event) => {\n if (event.key === \"Escape\") {\n const timer = setTimeout(() => {\n cleanups.splice(cleanups.indexOf(cleanup), 1);\n callback_params();\n }, 50);\n const cleanup = () => {\n clearTimeout(timer);\n };\n cleanups.push(cleanup);\n }\n };\n cleanups.push(() => inputElement.removeEventListener(\"keyup\", callback));\n return callback;\n })());\n function cleanup() {\n cleanups.forEach(cleanup => cleanup());\n }\n return { cleanup };\n}\n//# sourceMappingURL=observeInputValue.js.map","\"use client\";\nimport React, { useEffect, useState, useReducer } from \"react\";\nimport { useTranslation } from \"./SearchBar\";\nimport { fr } from \"../fr\";\nimport { assert } from \"tsafe/assert\";\nimport { is } from \"tsafe/is\";\nimport { useConstCallback } from \"../tools/powerhooks/useConstCallback\";\nimport { observeInputValue } from \"../tools/observeInputValue\";\nimport { id } from \"tsafe/id\";\nexport function SearchButton(props) {\n const { searchInputId, clearInputOnSearch, allowEmptySearch, onClick: onClick_props, id: id_props } = props;\n const { t } = useTranslation();\n const [, forceUpdate] = useReducer(x => x + 1, 0);\n const [{ focusInputElement, getInputValue, resetInputValue, getIsInputFocused }, setInputApi] = useState(() => ({\n \"getInputValue\": id(() => \"\"),\n \"resetInputValue\": id(() => {\n /* do nothing */\n }),\n \"focusInputElement\": id(() => {\n /* do nothing */\n }),\n \"getIsInputFocused\": id(() => false)\n }));\n const onClick = useConstCallback(() => {\n const inputValue = getInputValue();\n if (!allowEmptySearch && inputValue === \"\") {\n focusInputElement();\n return;\n }\n onClick_props === null || onClick_props === void 0 ? void 0 : onClick_props(inputValue);\n if (clearInputOnSearch) {\n resetInputValue();\n }\n });\n const isControlledByUser = onClick_props === undefined;\n useEffect(() => {\n const inputElement = document.getElementById(searchInputId);\n assert(inputElement !== null, `${searchInputId} should be mounted`);\n assert(\"value\" in inputElement && typeof inputElement.value === \"string\", `${searchInputId} is not an HTML input`);\n assert(is(inputElement));\n setInputApi({\n \"focusInputElement\": () => inputElement.focus(),\n \"getInputValue\": () => inputElement.value,\n \"resetInputValue\": () => (inputElement.value = \"\"),\n \"getIsInputFocused\": () => document.activeElement === inputElement\n });\n const cleanups = [];\n {\n const { cleanup } = observeInputValue({\n inputElement,\n \"callback\": () => forceUpdate()\n });\n cleanups.push(cleanup);\n }\n if (isControlledByUser) {\n inputElement.addEventListener(\"focus\", (() => {\n const callback = () => forceUpdate();\n cleanups.push(() => inputElement.removeEventListener(\"focus\", callback));\n return callback;\n })());\n inputElement.addEventListener(\"blur\", (() => {\n const callback = () => forceUpdate();\n cleanups.push(() => inputElement.removeEventListener(\"blur\", callback));\n return callback;\n })());\n }\n if (!isControlledByUser) {\n inputElement.addEventListener(\"keydown\", (() => {\n const callback = (event) => {\n if (event.key !== \"Enter\") {\n return;\n }\n onClick();\n inputElement.blur();\n };\n cleanups.push(() => inputElement.removeEventListener(\"keydown\", callback));\n return callback;\n })());\n inputElement.addEventListener(\"keydown\", (() => {\n const callback = (event) => {\n if (event.key !== \"Escape\") {\n return;\n }\n inputElement.blur();\n };\n cleanups.push(() => inputElement.removeEventListener(\"keydown\", callback));\n return callback;\n })());\n }\n return () => {\n cleanups.forEach(cleanup => cleanup());\n };\n }, [searchInputId, isControlledByUser]);\n if (onClick_props === undefined && (getIsInputFocused() || getInputValue() !== \"\")) {\n return null;\n }\n return (React.createElement(\"button\", { id: id_props, className: fr.cx(\"fr-btn\"), title: t(\"label\"), onClick: onClick, style: onClick_props !== undefined\n ? undefined\n : {\n \"position\": \"absolute\",\n \"right\": 0\n } }, t(\"label\")));\n}\n//# sourceMappingURL=SearchButton.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef, useId } from \"react\";\nimport { fr } from \"../fr\";\nimport { createComponentI18nApi } from \"../i18n\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { cx } from \"../tools/cx\";\nimport { getLink } from \"../link\";\nimport { assert } from \"tsafe/assert\";\nimport { MainNavigation } from \"../MainNavigation\";\nimport { Display } from \"../Display/Display\";\nimport { setBrandTopAndHomeLinkProps } from \"../zz_internal/brandTopAndHomeLinkProps\";\nimport { typeGuard } from \"tsafe/typeGuard\";\nimport { SearchButton } from \"../SearchBar/SearchButton\";\nimport { useTranslation as useSearchBarTranslation } from \"../SearchBar/SearchBar\";\nimport { generateValidHtmlId } from \"../tools/generateValidHtmlId\";\nexport const headerMenuModalIdPrefix = \"header-menu-modal\";\n/** @see */\nexport const Header = memo(forwardRef((props, ref) => {\n const { className, id: id_props, brandTop, serviceTitle, serviceTagline, homeLinkProps, navigation = undefined, quickAccessItems = [], operatorLogo, renderSearchInput, clearSearchInputOnSearch = false, allowEmptySearch = false, onSearchButtonClick, classes = {}, style } = props, rest = __rest(props, [\"className\", \"id\", \"brandTop\", \"serviceTitle\", \"serviceTagline\", \"homeLinkProps\", \"navigation\", \"quickAccessItems\", \"operatorLogo\", \"renderSearchInput\", \"clearSearchInputOnSearch\", \"allowEmptySearch\", \"onSearchButtonClick\", \"classes\", \"style\"]);\n assert();\n const id = id_props !== null && id_props !== void 0 ? id_props : \"fr-header\";\n const menuModalId = `${headerMenuModalIdPrefix}-${id}`;\n const menuButtonId = `${id}-menu-button`;\n const searchModalId = `${id}-search-modal`;\n const searchInputId = `${id}-search-input`;\n const isSearchBarEnabled = renderSearchInput !== undefined || onSearchButtonClick !== undefined;\n setBrandTopAndHomeLinkProps({ brandTop, homeLinkProps });\n const { t } = useTranslation();\n const { t: tSearchBar } = useSearchBarTranslation();\n const { Link } = getLink();\n const getQuickAccessNode = (suffix = null) => (React.createElement(\"ul\", { className: fr.cx(\"fr-btns-group\") }, quickAccessItems.map((quickAccessItem, i) => (React.createElement(\"li\", { key: i }, !typeGuard(quickAccessItem, quickAccessItem instanceof Object && \"text\" in quickAccessItem) ? (quickAccessItem) : (React.createElement(HeaderQuickAccessItem, { id: `${id}-quick-access-item-${generateValidHtmlId({\n \"fallback\": \"\",\n \"text\": `${quickAccessItem.text}${suffix ? `-${suffix}` : \"\"}`\n })}-${i}`, quickAccessItem: quickAccessItem })))))));\n const hasOperatorLink = (operatorLogo === null || operatorLogo === void 0 ? void 0 : operatorLogo.linkProps) !== undefined;\n return (React.createElement(React.Fragment, null,\n React.createElement(Display, null),\n React.createElement(\"header\", Object.assign({ role: \"banner\", id: id, className: cx(fr.cx(\"fr-header\"), classes.root, className), ref: ref, style: style }, rest),\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__body\"), classes.body) },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-container\"), classes.container) },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__body-row\"), classes.bodyRow) },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__brand\", !hasOperatorLink && \"fr-enlarge-link\"), classes.brand) },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__brand-top\"), classes.brandTop) },\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__logo\"), classes.logo) }, (() => {\n const children = (React.createElement(\"p\", { className: fr.cx(\"fr-logo\") }, brandTop));\n return serviceTitle !== undefined ? (children) : (React.createElement(Link, Object.assign({}, homeLinkProps), children));\n })()),\n operatorLogo !== undefined && (React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__operator\", hasOperatorLink && \"fr-enlarge-link\"), classes.operator) }, (() => {\n const children = (React.createElement(\"img\", { className: cx(fr.cx(\"fr-responsive-img\"), classes.operator), style: (() => {\n switch (operatorLogo.orientation) {\n case \"vertical\":\n return {\n \"width\": \"3.5rem\"\n };\n case \"horizontal\":\n return {\n \"maxWidth\": \"9.0625rem\"\n };\n }\n })(), src: operatorLogo.imgUrl, alt: operatorLogo.alt }));\n return hasOperatorLink ? (React.createElement(Link, Object.assign({}, operatorLogo.linkProps), children)) : (children);\n })())),\n (quickAccessItems.length > 0 ||\n navigation !== undefined ||\n isSearchBarEnabled) && (React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__navbar\"), classes.navbar) },\n isSearchBarEnabled && (React.createElement(\"button\", { id: `${id}-search-button`, className: fr.cx(\"fr-btn--search\", \"fr-btn\"), \"data-fr-opened\": false, \"aria-controls\": searchModalId, title: tSearchBar(\"label\") }, tSearchBar(\"label\"))),\n React.createElement(\"button\", { className: fr.cx(\"fr-btn--menu\", \"fr-btn\"), \"data-fr-opened\": \"false\", \"aria-controls\": menuModalId, \"aria-haspopup\": \"menu\", id: menuButtonId, title: t(\"menu\") }, t(\"menu\"))))),\n serviceTitle !== undefined && (React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__service\", hasOperatorLink && \"fr-enlarge-link\"), classes.service) },\n React.createElement(Link, Object.assign({}, homeLinkProps),\n React.createElement(\"p\", { className: cx(fr.cx(\"fr-header__service-title\"), classes.serviceTitle) }, serviceTitle)),\n serviceTagline !== undefined && (React.createElement(\"p\", { className: cx(fr.cx(\"fr-header__service-tagline\"), classes.serviceTagline) }, serviceTagline))))),\n (quickAccessItems.length > 0 || isSearchBarEnabled) && (React.createElement(\"div\", { className: fr.cx(\"fr-header__tools\") },\n quickAccessItems.length > 0 && (React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__tools-links\"), classes.toolsLinks) }, getQuickAccessNode())),\n isSearchBarEnabled && (React.createElement(\"div\", { className: fr.cx(\"fr-header__search\", \"fr-modal\"), id: searchModalId },\n React.createElement(\"div\", { className: fr.cx(\"fr-container\", \"fr-container-lg--fluid\") },\n React.createElement(\"button\", { id: `${id}-search-button`, className: fr.cx(\"fr-btn--close\", \"fr-btn\"), \"aria-controls\": searchModalId, title: t(\"close\") }, t(\"close\")),\n React.createElement(\"div\", { className: fr.cx(\"fr-search-bar\"), role: \"search\" },\n React.createElement(\"label\", { className: fr.cx(\"fr-label\"), htmlFor: searchInputId }, tSearchBar(\"label\")),\n (renderSearchInput !== null && renderSearchInput !== void 0 ? renderSearchInput : (({ className, id, placeholder, type }) => (React.createElement(\"input\", { className: className, id: id, placeholder: placeholder, type: type }))))({\n \"className\": fr.cx(\"fr-input\"),\n \"id\": searchInputId,\n \"placeholder\": tSearchBar(\"label\"),\n \"type\": \"search\"\n }),\n React.createElement(SearchButton, { id: `${id}-search-bar-button`, searchInputId: searchInputId, onClick: onSearchButtonClick, clearInputOnSearch: clearSearchInputOnSearch, allowEmptySearch: allowEmptySearch })))))))))),\n (navigation !== undefined || quickAccessItems.length !== 0) && (React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__menu\", \"fr-modal\"), classes.menu), id: menuModalId, \"aria-labelledby\": menuButtonId },\n React.createElement(\"div\", { className: fr.cx(\"fr-container\") },\n React.createElement(\"button\", { id: `${id}-mobile-overlay-button-close`, className: fr.cx(\"fr-btn--close\", \"fr-btn\"), \"aria-controls\": menuModalId, title: t(\"close\") }, t(\"close\")),\n React.createElement(\"div\", { className: cx(fr.cx(\"fr-header__menu-links\"), classes.menuLinks) }, getQuickAccessNode(\"mobile\")),\n navigation !== undefined &&\n (navigation instanceof Array ? (React.createElement(MainNavigation, { id: `${id}-main-navigation`, items: navigation })) : (navigation))))))));\n}));\nHeader.displayName = symToStr({ Header });\nexport default Header;\nexport const { useTranslation, addHeaderTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ Header }),\n \"frMessages\": {\n /* spell-checker: disable */\n \"menu\": \"Menu\",\n \"close\": \"Fermer\"\n /* spell-checker: enable */\n }\n});\naddHeaderTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"close\": \"Close\"\n }\n});\nexport function HeaderQuickAccessItem(props) {\n const { id: id_props, className, quickAccessItem } = props;\n const { Link } = getLink();\n const id = (function useClosure() {\n var _a;\n const id = useId();\n return ((_a = id_props !== null && id_props !== void 0 ? id_props : (quickAccessItem.linkProps !== undefined\n ? quickAccessItem.linkProps.id\n : quickAccessItem.buttonProps.id)) !== null && _a !== void 0 ? _a : `fr-header-quick-access-item${generateValidHtmlId({\n \"text\": quickAccessItem.text,\n \"fallback\": id\n })}`);\n })();\n return quickAccessItem.linkProps !== undefined ? (React.createElement(Link, Object.assign({}, quickAccessItem.linkProps, { id: id, className: cx(fr.cx(\"fr-btn\", quickAccessItem.iconId), quickAccessItem.linkProps.className, className) }), quickAccessItem.text)) : (React.createElement(\"button\", Object.assign({}, quickAccessItem.buttonProps, { id: id, className: cx(fr.cx(\"fr-btn\", quickAccessItem.iconId), quickAccessItem.buttonProps.className, className) }), quickAccessItem.text));\n}\n//# sourceMappingURL=Header.js.map","export { default } from \"./Header\";\nexport { Header, HeaderQuickAccessItem, addHeaderTranslations, useTranslation } from \"./Header\";\n//# sourceMappingURL=index.js.map","export { headerFooterDisplayItem, addDisplayTranslations } from \"./Display\";\n/**\n * @deprecated: It's no longer needed to manually mount this component.\n * @see: https://components.react-dsfr.codegouv.studio/?path=/docs/components-display\n */\nexport function Display() {\n return null;\n}\n//# sourceMappingURL=index.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { forwardRef, memo } from \"react\";\nimport { assert } from \"tsafe/assert\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { fr } from \"./fr\";\nimport { createComponentI18nApi } from \"./i18n\";\nimport { cx } from \"./tools/cx\";\nimport { useAnalyticsId } from \"./tools/useAnalyticsId\";\n/** @see */\nexport const SkipLinks = memo(forwardRef((props, ref) => {\n const { className, classes = {}, links, style, id: id_props } = props, rest = __rest(props, [\"className\", \"classes\", \"links\", \"style\", \"id\"]);\n const { t } = useTranslation();\n assert();\n const id = useAnalyticsId({\n \"defaultIdPrefix\": \"fr-skiplinks\",\n \"explicitlyProvidedId\": id_props\n });\n return (React.createElement(\"div\", Object.assign({ id: id, className: cx(fr.cx(\"fr-skiplinks\"), classes.root, className), ref: ref, style: style }, rest),\n React.createElement(\"nav\", { className: fr.cx(\"fr-container\"), role: \"navigation\", \"aria-label\": t(\"label\") },\n React.createElement(\"ul\", { className: cx(fr.cx(\"fr-skiplinks__list\"), classes.list) }, links &&\n links.map(link => (React.createElement(\"li\", { key: link.anchor },\n React.createElement(\"a\", { className: cx(fr.cx(\"fr-link\"), classes.link), href: link.anchor }, link.label))))))));\n}));\nSkipLinks.displayName = symToStr({ SkipLinks });\nconst { useTranslation, addSkipLinksTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ SkipLinks }),\n \"frMessages\": {\n /* spell-checker: disable */\n \"label\": \"Accès rapide\"\n /* spell-checker: enable */\n }\n});\naddSkipLinksTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"label\": \"Quick access\"\n }\n});\naddSkipLinksTranslations({\n \"lang\": \"es\",\n \"messages\": {\n \"label\": \"Acceso rapido\"\n }\n});\naddSkipLinksTranslations({\n \"lang\": \"de\",\n \"messages\": {\n \"label\": \"Schneller Zugang\"\n }\n});\nexport default SkipLinks;\n//# sourceMappingURL=SkipLinks.js.map","import { ReactNode, useEffect } from \"react\";\nimport type { AppProps } from \"next/app\";\nimport Head from \"next/head\";\nimport Link from \"next/link\";\nimport { useRouter } from \"next/router\";\n\nimport { createEmotionSsrAdvancedApproach } from \"tss-react/next\";\nimport { createNextDsfrIntegrationApi } from \"@codegouvfr/react-dsfr/next-pagesdir\";\nimport { Footer } from \"@codegouvfr/react-dsfr/Footer\";\nimport { fr } from \"@codegouvfr/react-dsfr\";\nimport { Header } from \"@codegouvfr/react-dsfr/Header\";\nimport { headerFooterDisplayItem } from \"@codegouvfr/react-dsfr/Display\";\nimport { SkipLinks } from \"@codegouvfr/react-dsfr/SkipLinks\";\nimport { MuiDsfrThemeProvider } from \"@codegouvfr/react-dsfr/mui\";\n\nimport { init } from \"@socialgouv/matomo-next\";\n\nimport pkg from \"../../package.json\";\n\ndeclare module \"@codegouvfr/react-dsfr/next-pagesdir\" {\n interface RegisterLink {\n Link: typeof Link;\n }\n}\n\ndeclare module \"@codegouvfr/react-dsfr\" {\n interface RegisterLink {\n Link: typeof Link;\n }\n}\n\nconst { withDsfr, dsfrDocumentApi } = createNextDsfrIntegrationApi({\n defaultColorScheme: \"system\",\n Link,\n useLang: () => {\n const { locale = \"fr\" } = useRouter();\n return locale;\n },\n\n //doPersistDarkModePreferenceWithCookie: true,\n //Link,\n preloadFonts: [\n //\"Marianne-Light\",\n //\"Marianne-Light_Italic\",\n \"Marianne-Regular\",\n //\"Marianne-Regular_Italic\",\n \"Marianne-Medium\",\n //\"Marianne-Medium_Italic\",\n \"Marianne-Bold\",\n //\"Marianne-Bold_Italic\",\n //\"Spectral-Regular\",\n //\"Spectral-ExtraBold\"\n ],\n});\n\nexport { dsfrDocumentApi };\n\nconst { withAppEmotionCache, augmentDocumentWithEmotionCache } =\n createEmotionSsrAdvancedApproach({\n key: \"css\",\n });\n\nexport { augmentDocumentWithEmotionCache };\n\nconst brandTop = (\n <>\n République\n
\n Française\n \n);\n\nconst homeLinkPops = {\n href: \"/\",\n title:\n \"Accueil - Nom de l’entité (ministère, secrétariat d'état, gouvernement)\",\n};\n\nconst bottomLinks = [\n {\n text: \"Conditions d'utilisation\",\n linkProps: {\n href: \"/cgu\",\n },\n },\n {\n text: \"Statistiques\",\n linkProps: {\n href: \"/stats\",\n },\n },\n {\n text: \"Budget\",\n linkProps: {\n href: \"/budget\",\n },\n },\n {\n text: \"Politique de confidentialité\",\n linkProps: {\n href: \"/politique-confidentialite\",\n },\n },\n {\n text: \"Aide\",\n linkProps: {\n href: \"/aide\",\n },\n },\n {\n text: \"Contribuer sur GitHub\",\n linkProps: {\n href: `${process.env.NEXT_PUBLIC_APP_REPOSITORY_URL}${\n process.env.NEXT_PUBLIC_APP_VERSION\n ? `/releases/tag/v${process.env.NEXT_PUBLIC_APP_VERSION}`\n : process.env.NEXT_PUBLIC_APP_VERSION_COMMIT\n ? `/commit/${process.env.NEXT_PUBLIC_APP_VERSION}`\n : \"\"\n }`,\n },\n },\n];\n\nconst Layout = ({ children }: { children: ReactNode }) => {\n const router = useRouter();\n\n const contentSecurityPolicy = process.env.CONTENT_SECURITY_POLICY;\n return (\n \n \n Template | beta.gouv.fr\n {contentSecurityPolicy && (\n \n )}\n \n \n \n \n \n \n {children}\n \n \n \n );\n};\n\nfunction App({ Component, pageProps }: AppProps) {\n useEffect(() => {\n init({\n url: process.env.NEXT_PUBLIC_MATOMO_URL ?? \"\",\n siteId: process.env.NEXT_PUBLIC_MATOMO_SITE_ID ?? \"\",\n });\n }, []);\n\n return (\n \n \n {/*@ts-ignore*/}\n \n \n \n );\n}\n\nexport default withDsfr(withAppEmotionCache(App));\n","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","module.exports = require('./dist/shared/lib/head')\n","module.exports = require('./dist/client/link')\n","module.exports = require('./dist/client/components/navigation')\n","module.exports = require('./dist/client/router')\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assert = exports.AssertionError = void 0;\n/* eslint-disable @typescript-eslint/no-unused-vars */\nvar overwriteReadonlyProp_1 = require(\"./lab/overwriteReadonlyProp\");\nvar assertIsRefWrapper_1 = require(\"./zz_internal/assertIsRefWrapper\");\n/** @see */\nvar AssertionError = /** @class */ (function (_super) {\n __extends(AssertionError, _super);\n function AssertionError(msg) {\n var _newTarget = this.constructor;\n var _this = _super.call(this, \"Wrong assertion encountered\" + (!msg ? \"\" : \": \\\"\".concat(msg, \"\\\"\"))) || this;\n Object.setPrototypeOf(_this, _newTarget.prototype);\n if (!_this.stack) {\n return _this;\n }\n try {\n (0, overwriteReadonlyProp_1.overwriteReadonlyProp)(_this, \"stack\", _this.stack\n .split(\"\\n\")\n .filter(function () {\n var _a = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n _a[_i] = arguments[_i];\n }\n var _b = __read(_a, 2), i = _b[1];\n return i !== 1 && i !== 2;\n })\n .join(\"\\n\"));\n // eslint-disable-next-line no-empty\n }\n catch (_a) { }\n return _this;\n }\n return AssertionError;\n}(Error));\nexports.AssertionError = AssertionError;\n/** https://docs.tsafe.dev/assert */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction assert(condition, msg) {\n if (arguments.length === 0) {\n condition = true;\n }\n if (assertIsRefWrapper_1.assertIsRefWrapper.ref !== undefined) {\n assertIsRefWrapper_1.assertIsRefWrapper.ref = undefined;\n return;\n }\n if (!condition) {\n throw new AssertionError(msg);\n }\n}\nexports.assert = assert;\n//# sourceMappingURL=assert.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.capitalize = void 0;\n/** @see */\nfunction capitalize(str) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (str.charAt(0).toUpperCase() + str.slice(1));\n}\nexports.capitalize = capitalize;\n//# sourceMappingURL=capitalize.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.id = void 0;\n/** https://docs.tsafe.dev/id */\nvar id = function (x) { return x; };\nexports.id = id;\n//# sourceMappingURL=id.js.map","\"use strict\";\n/* eslint-disable @typescript-eslint/no-namespace */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.is = void 0;\nvar assertIsRefWrapper_1 = require(\"./zz_internal/assertIsRefWrapper\");\nvar errorMessage = [\n \"Wrong usage of the \".concat(is.name, \" function refer to\"),\n \"https://docs.tsafe.dev/\".concat(is.name.toLowerCase()),\n].join(\" \");\nfunction is(_value) {\n var ref = {};\n if (assertIsRefWrapper_1.assertIsRefWrapper.ref !== undefined) {\n assertIsRefWrapper_1.assertIsRefWrapper.ref = undefined;\n throw new Error(errorMessage);\n }\n assertIsRefWrapper_1.assertIsRefWrapper.ref = ref;\n Promise.resolve().then(function () {\n if (assertIsRefWrapper_1.assertIsRefWrapper.ref === ref) {\n throw new Error(errorMessage);\n }\n });\n return null;\n}\nexports.is = is;\n//# sourceMappingURL=is.js.map","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.overwriteReadonlyProp = void 0;\n/* eslint-disable no-empty */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nvar assert_1 = require(\"../assert\");\nvar is_1 = require(\"../is\");\n/**\n * Assign a value to a property even if the object is freezed or if the property is not writable\n * Throw if the assignation fail ( for example if the property is non configurable write: false )\n * */\nvar overwriteReadonlyProp = function (obj, propertyName, value) {\n try {\n obj[propertyName] = value;\n }\n catch (_a) { }\n if (obj[propertyName] === value) {\n return value;\n }\n var errorDefineProperty = undefined;\n var propertyDescriptor = Object.getOwnPropertyDescriptor(obj, propertyName) || {\n \"enumerable\": true,\n \"configurable\": true,\n };\n if (!!propertyDescriptor.get) {\n throw new Error(\"Probably a wrong ides to overwrite \".concat(String(propertyName), \" getter\"));\n }\n try {\n Object.defineProperty(obj, propertyName, __assign(__assign({}, propertyDescriptor), { value: value }));\n }\n catch (error) {\n (0, assert_1.assert)((0, is_1.is)(error));\n errorDefineProperty = error;\n }\n if (obj[propertyName] !== value) {\n throw errorDefineProperty || new Error(\"Can't assign\");\n }\n return value;\n};\nexports.overwriteReadonlyProp = overwriteReadonlyProp;\n//# sourceMappingURL=overwriteReadonlyProp.js.map","\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.objectKeys = void 0;\n/** https://docs.tsafe.dev/objectKeys */\nfunction objectKeys(o) {\n return Object.keys(o);\n}\nexports.objectKeys = objectKeys;\n//# sourceMappingURL=objectKeys.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.symToStr = void 0;\n/** @see */\nfunction symToStr(wrap) {\n // @ts-expect-error: We know better\n return Object.keys(wrap)[0];\n}\nexports.symToStr = symToStr;\n//# sourceMappingURL=symToStr.js.map","\"use strict\";\n/* eslint-disable @typescript-eslint/no-namespace */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.typeGuard = void 0;\n/** https://docs.tsafe.dev/typeguard */\nfunction typeGuard(_value, isMatched) {\n return isMatched;\n}\nexports.typeGuard = typeGuard;\n//# sourceMappingURL=typeGuard.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assertIsRefWrapper = void 0;\nvar id_1 = require(\"../id\");\nexports.assertIsRefWrapper = {\n \"ref\": (0, id_1.id)(undefined),\n};\n//# sourceMappingURL=assertIsRefWrapper.js.map","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nmodule.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}"],"names":["StyleSheet","options","_this","_insertTag","tag","before","tags","length","insertionPoint","nextSibling","prepend","container","firstChild","insertBefore","push","isSpeedy","undefined","speedy","ctr","nonce","key","_proto","prototype","hydrate","nodes","forEach","insert","rule","document","createElement","setAttribute","appendChild","createTextNode","sheet","sheetForTag","i","styleSheets","ownerNode","insertRule","cssRules","e","flush","parentNode","removeChild","abs","Math","Utility_from","String","fromCharCode","Utility_assign","Object","assign","Utility_replace","value","pattern","replacement","replace","indexof","search","indexOf","Utility_charat","index","charCodeAt","Utility_substr","begin","end","slice","Utility_strlen","Utility_append","array","line","column","Tokenizer_length","position","character","characters","node","root","parent","type","props","children","return","Tokenizer_copy","next","peek","token","alloc","delimit","delimiter","trim","Enum_MS","Enum_MOZ","Enum_WEBKIT","COMMENT","Enum_RULESET","Enum_DECLARATION","Enum_KEYFRAMES","Serializer_serialize","callback","output","stringify","element","join","ruleset","offset","rules","points","post","size","j","k","x","y","z","declaration","identifierWithPointTracking","previous","toRules","parsed","getRules","fixedElements","WeakMap","compat","isImplicitRule","get","set","parentRules","removeLabel","defaultStylisPlugins","emotion_cache_browser_esm_prefix","map","exec","createCache","collection","currentSheet","ssrStyles","querySelectorAll","Array","call","dataEmotionAttribute","getAttribute","head","stylisPlugins","inserted","nodesToHydrate","attrib","split","serializer","omnipresentPlugins","concat","stylis","styles","parse","rulesets","pseudo","declarations","atrule","property","variable","scanning","ampersand","reference","whitespace","escaping","count","caret","commenter","prev","identifier","cache","registered","selector","serialized","shouldCache","name","murmur2","str","h","len","toString","memoize","fn","create","arg","isBrowser","EmotionCacheContext","react__WEBPACK_IMPORTED_MODULE_0__","createContext","HTMLElement","_emotion_cache__WEBPACK_IMPORTED_MODULE_1__","Z","CacheProvider","Provider","withEmotionCache","func","forwardRef","ref","useContext","ThemeContext","cursor","hyphenateRegex","animationRegex","isCustomProperty","isProcessableValue","processStyleName","_emotion_memoize__WEBPACK_IMPORTED_MODULE_1__","styleName","toLowerCase","processStyleValue","match","p1","p2","_emotion_unitless__WEBPACK_IMPORTED_MODULE_0__","handleInterpolation","mergedProps","interpolation","__emotion_styles","anim","createStringFromObject","obj","string","isArray","_key","_i","interpolated","previousCursor","result","cached","labelPattern","serializeStyles","args","stringMode","strings","raw","lastIndex","identifierName","_emotion_hash__WEBPACK_IMPORTED_MODULE_2__","unitlessKeys","animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","msGridRow","msGridRowSpan","msGridColumn","msGridColumnSpan","fontWeight","lineHeight","opacity","order","orphans","tabSize","widows","zIndex","zoom","WebkitLineClamp","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","useInsertionEffect","react__WEBPACK_IMPORTED_MODULE_0___namespace_cache","__webpack_require__","t","useInsertionEffectAlwaysWithSyncFallback","useInsertionEffectWithLayoutFallback","useLayoutEffect","__webpack_exports__","A100","A200","A400","A700","react","useTheme","nested","hasSymbol","Symbol","for","ThemeProvider_ThemeProvider","theme","localTheme","outerTheme","useMemo","esm_extends","jsx_runtime","jsx","useTheme_ThemeContext","EMPTY_THEME","useThemeScoping","themeId","upperTheme","isPrivate","resolvedTheme","mergedTheme","esm_ThemeProvider_ThemeProvider","useThemeWithoutDefault","upperPrivateTheme","engineTheme","privateTheme","rtlValue","direction","emotion_element_43c6fea0_browser_esm","T","RtlProvider","_excluded","styles_ThemeProvider_ThemeProvider","_ref","themeInput","objectWithoutPropertiesLoose","scopedTheme","colors_common","black","white","colors_grey","colors_purple","colors_orange","colors_blue","colors_lightBlue","colors_green","light","text","primary","secondary","disabled","divider","background","paper","default","action","active","hover","hoverOpacity","selected","selectedOpacity","disabledBackground","disabledOpacity","focus","focusOpacity","activatedOpacity","dark","icon","addLightOrDark","intent","shade","tonalOffset","tonalOffsetLight","tonalOffsetDark","hasOwnProperty","colorManipulator","$n","main","_j","createTypography_excluded","caseAllCaps","textTransform","defaultFontFamily","createShadow","px","shadows","styles_zIndex","mobileStepper","fab","speedDial","appBar","drawer","modal","snackbar","tooltip","createTheme_excluded","styles_createTheme","breakpoints","mixins","mixinsInput","palette","paletteInput","transitions","transitionsInput","typography","typographyInput","other","vars","formatMuiErrorMessage","createPalette","mode","contrastThreshold","getDefaultPrimary","getDefaultSecondary","error","getDefaultError","red","info","getDefaultInfo","success","getDefaultSuccess","warning","getDefaultWarning","getContrastText","mi","augmentColor","color","mainShade","lightShade","darkShade","JSON","contrastText","deepmerge","common","grey","modes","systemTheme","createTheme","muiTheme","toolbar","minHeight","up","styles_shadows","createTypography","fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem","pxToRem2","coef","buildVariant","letterSpacing","casing","round","variants","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","button","caption","overline","inherit","clone","createTransitions","ZP","reduce","acc","argument","unstable_sxConfig","defaultSxConfig","unstable_sx","styleFunctionSx","sx","easing","easeInOut","easeOut","easeIn","sharp","duration","shortest","shorter","short","standard","complex","enteringScreen","leavingScreen","formatMs","milliseconds","getAutoHeightDuration","height","constant","inputTransitions","mergedEasing","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__","mergedDuration","durationOption","easingOption","delay","_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__","animatedProp","_interopRequireDefault","exports","Fq","decomposeColor","clampWrapper","values","recomposeColor","coefficient","foreground","lumA","getLuminance","lumB","max","min","_formatMuiErrorMessage2","_clamp","colorSpace","charAt","hexToRgb","re","colors","n","parseInt","marker","substring","shift","parseFloat","rgb","hslToRgb","s","l","a","f","Number","val","toFixed","RtlContext","useRtl","_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_2__","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__","xs","sm","md","lg","xl","defaultBreakpoints","keys","handleBreakpoints","propValue","styleFromPropValue","themeBreakpoints","item","breakpoint","createEmptyBreakpointObject","breakpointsInput","_breakpointsInput$key","breakpointsInOrder","removeUnusedBreakpoints","breakpointKeys","style","breakpointOutput","mergeBreakpointsInOrder","emptyBreakpoints","mergedOutput","_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__","resolveBreakpointValues","breakpointValues","base","customBase","computeBreakpointsBase","breakpointsKeys","applyStyles","getColorSchemeSelector","sortBreakpointsValues","breakpointsAsArray","sort","breakpoint1","breakpoint2","createBreakpoints","unit","step","sortedValues","down","between","start","endIndex","only","not","keyIndex","createTheme_shape","borderRadius","createTheme_createTheme","spacing","spacingInput","shape","shapeInput","createSpacing","mui","transform","esm_spacing","hB","argsInput","components","properties","m","p","directions","r","b","aliases","marginX","marginY","paddingX","paddingY","getCssProperties","prop","dir","marginKeys","paddingKeys","spacingKeys","createUnaryUnit","themeKey","defaultValue","propName","_getPath","themeSpacing","DW","createUnarySpacing","getValue","transformer","transformed","spacing_style","resolveCssProperty","cssProperties","cssProperty","k9","merge","margin","padding","propTypes","filterProps","getPath","path","checkVars","getStyleValue","themeMapping","propValueFinal","userValue","_breakpoints__WEBPACK_IMPORTED_MODULE_1__","_mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_0__","esm_compose","handlers","borderTransform","createBorderStyle","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outline","outlineColor","eI","NA","gap","columnGap","rowGap","gridAutoFlow","gridAutoColumns","gridAutoRows","gridTemplateColumns","paletteTransform","sizingTransform","width","maxWidth","_props$theme","_props$theme2","VO","minWidth","maxHeight","styleFunctionSx_defaultSxConfig","bgcolor","backgroundColor","o3","pt","pr","pb","pl","py","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd","e6","mt","mr","mb","ml","mx","my","marginTop","marginRight","marginBottom","marginLeft","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd","displayPrint","display","overflow","textOverflow","visibility","whiteSpace","flexBasis","flexDirection","flexWrap","justifyContent","alignItems","alignContent","alignSelf","justifyItems","justifySelf","gridTemplateRows","gridTemplateAreas","gridArea","top","right","bottom","left","boxShadow","boxSizing","fontStyle","textAlign","unstable_createStyleFunctionSx","getThemeValue","config","_style__WEBPACK_IMPORTED_MODULE_0__","_breakpoints__WEBPACK_IMPORTED_MODULE_2__","Jq","_mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_1__","_theme$unstable_sxCon","_defaultSxConfig__WEBPACK_IMPORTED_MODULE_3__","traverse","sxInput","sxObject","W8","css","styleKey","maybeFn","_merge__WEBPACK_IMPORTED_MODULE_4__","breakpointsValues","objectsHaveSameKeys","objects","allKeys","object","union","Set","every","L7","defaultTheme","contextTheme","_mui_styled_engine__WEBPACK_IMPORTED_MODULE_1__","capitalize","_mui_utils_formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_0__","toUpperCase","MIN_SAFE_INTEGER","MAX_SAFE_INTEGER","target","source","isPlainObject","deepClone","getPrototypeOf","toStringTag","iterator","code","url","arguments","encodeURIComponent","DEFAULT_ENVIRONMENT","DEBUG_BUILD","__SENTRY_DEBUG__","notifyEventProcessors","processors","event","hint","_sentry_utils__WEBPACK_IMPORTED_MODULE_1__","cW","resolve","reject","processor","_debug_build_js__WEBPACK_IMPORTED_MODULE_2__","X","id","_sentry_utils__WEBPACK_IMPORTED_MODULE_3__","kg","log","_sentry_utils__WEBPACK_IMPORTED_MODULE_4__","J8","then","final","getGlobalEventProcessors","_sentry_utils__WEBPACK_IMPORTED_MODULE_0__","Y","addGlobalEventProcessor","captureException","exception","_hub_js__WEBPACK_IMPORTED_MODULE_0__","Gd","_utils_prepareEvent_js__WEBPACK_IMPORTED_MODULE_1__","U0","captureMessage","message","captureContext","level","context","captureEvent","addBreadcrumb","breadcrumb","withScope","rest","hub","scope","getStackTop","timeout","client","getClient","warn","Promise","getCurrentScope","getScope","startSession","isolationScope","aF","currentScope","release","environment","_constants_js__WEBPACK_IMPORTED_MODULE_4__","J","getOptions","userAgent","_sentry_utils__WEBPACK_IMPORTED_MODULE_5__","GLOBAL_OBJ","navigator","session","_session_js__WEBPACK_IMPORTED_MODULE_6__","Hv","user","getUser","currentSession","getSession","status","CT","endSession","setSession","RJ","_sendSessionUpdate","captureSession","API_VERSION","_version_js__WEBPACK_IMPORTED_MODULE_0__","Hub","constructor","_version","assignedScope","assignedIsolationScope","_scope_js__WEBPACK_IMPORTED_MODULE_1__","sX","setClient","_stack","bindClient","_isolationScope","isOlderThan","version","setupIntegrations","pushScope","getStack","popScope","pop","maybePromiseResult","_sentry_utils__WEBPACK_IMPORTED_MODULE_2__","res","getIsolationScope","eventId","_lastEventId","event_id","DM","syntheticException","originalException","lastEventId","beforeBreadcrumb","maxBreadcrumbs","mergedBreadcrumb","timestamp","yW","finalBreadcrumb","Cf","emit","setUser","setTags","setExtras","extras","setTag","setExtra","extra","setContext","configureScope","run","oldHub","makeMain","getIntegration","integration","_oO","_debug_build_js__WEBPACK_IMPORTED_MODULE_6__","startTransaction","customSamplingContext","_callExtensionMethod","traceHeaders","layer","_session_js__WEBPACK_IMPORTED_MODULE_7__","_constants_js__WEBPACK_IMPORTED_MODULE_8__","_sentry_utils__WEBPACK_IMPORTED_MODULE_9__","shouldSendDefaultPii","Boolean","sendDefaultPii","method","sentry","carrier","__SENTRY__","extensions","apply","getMainCarrier","registry","getHubFromCarrier","setHubOnCarrier","getCurrentHub","acs","getGlobalHub","globalScope","Scope","_notifyingListeners","_scopeListeners","_eventProcessors","_breadcrumbs","_attachments","_user","_tags","_extra","_contexts","_sdkProcessingMetadata","_propagationContext","generatePropagationContext","newScope","_level","_span","_session","_transactionName","_fingerprint","_requestSession","_client","addScopeListener","addEventProcessor","email","ip_address","segment","username","_session_js__WEBPACK_IMPORTED_MODULE_0__","_notifyScopeListeners","getRequestSession","setRequestSession","requestSession","setFingerprint","fingerprint","setLevel","setTransactionName","setSpan","span","getSpan","getTransaction","transaction","update","scopeToMerge","scopeData","getScopeData","contexts","propagationContext","PO","scopeContext","clear","maxCrumbs","breadcrumbs","getLastBreadcrumb","clearBreadcrumbs","addAttachment","attachment","getAttachments","data","attachments","clearAttachments","eventProcessors","sdkProcessingMetadata","transactionName","applyToEvent","additionalEventProcessors","_utils_applyScopeDataToEvent_js__WEBPACK_IMPORTED_MODULE_3__","gi","_eventProcessors_js__WEBPACK_IMPORTED_MODULE_4__","fH","RP","setSDKProcessingMetadata","newData","setPropagationContext","getPropagationContext","_sentry_utils__WEBPACK_IMPORTED_MODULE_6__","getGlobalScope","traceId","spanId","makeSession","startingTime","ph","sid","init","started","errors","ignoreDuration","toJSON","Jr","Date","toISOString","did","abnormal_mechanism","attrs","ipAddress","user_agent","updateSession","closeSession","getDynamicSamplingContextFromClient","trace_id","publicKey","public_key","getDsn","user_segment","dsc","_constants_js__WEBPACK_IMPORTED_MODULE_1__","getDynamicSamplingContextFromSpan","_exports_js__WEBPACK_IMPORTED_MODULE_2__","s3","_utils_spanUtils_js__WEBPACK_IMPORTED_MODULE_3__","XU","nZ","txn","_utils_getRootSpan_js__WEBPACK_IMPORTED_MODULE_4__","G","v7FrozenDsc","_frozenDynamicSamplingContext","sampleRate","maybeSampleRate","metadata","sample_rate","jsonSpan","description","sampled","Tt","applyScopeDataToEvent","applyDataToEvent","cleanedExtra","cleanedTags","cleanedUser","cleanedContexts","applySpanToEvent","trace","_spanUtils_js__WEBPACK_IMPORTED_MODULE_1__","wy","rootSpan","_getRootSpan_js__WEBPACK_IMPORTED_MODULE_2__","dynamicSamplingContext","_tracing_dynamicSamplingContext_js__WEBPACK_IMPORTED_MODULE_3__","lE","applyBreadcrumbsToEvent","mergedBreadcrumbs","mergeScopeData","mergeData","mergeAndOverwriteScopeData","mergeVal","getRootSpan","prepareEvent","normalizeDepth","normalizeMaxBreadth","prepared","integrations","applyClientOptions","dist","maxValueLength","_constants_js__WEBPACK_IMPORTED_MODULE_5__","$G","request","integrationNames","sdk","applyDebugIds","stackParser","debugIdStackFramesCache","debugIdMap","_sentry_utils__WEBPACK_IMPORTED_MODULE_7__","_sentryDebugIds","cachedDebugIdStackFrameCache","debugIdStackParserCache","Map","filenameDebugIdMap","debugIdStackTrace","parsedStack","cachedParsedStack","stackFrame","filename","stacktrace","frames","frame","debug_id","finalScope","getFinalScope","_scope_js__WEBPACK_IMPORTED_MODULE_2__","mechanism","EG","clientEventProcessors","getEventProcessors","lW","isolationData","_applyScopeDataToEvent_js__WEBPACK_IMPORTED_MODULE_3__","yo","finalScopeData","evt","applyDebugMeta","abs_path","debug_meta","images","code_file","normalizeEvent","depth","maxBreadth","normalized","_sentry_utils__WEBPACK_IMPORTED_MODULE_8__","Fv","spans","_spanUtils_js__WEBPACK_IMPORTED_MODULE_9__","parseEventHintOrCaptureContext","some","captureContextKeys","includes","TRACE_FLAG_NONE","TRACE_FLAG_SAMPLED","spanToTraceContext","span_id","spanContext","op","parent_span_id","origin","spanToJSON","spanToTraceHeader","spanIsSampled","$p","spanTimeInputToSeconds","input","ensureTimestampInSeconds","getTime","isMs","getSpanJSON","traceFlags","SDK_VERSION","BAGGAGE_HEADER_NAME","SENTRY_BAGGAGE_KEY_PREFIX","SENTRY_BAGGAGE_KEY_PREFIX_REGEX","baggageHeaderToDynamicSamplingContext","baggageHeader","_is_js__WEBPACK_IMPORTED_MODULE_0__","HD","baggageObject","curr","currBaggageObject","baggageHeaderToObject","entries","dynamicSamplingContextToSentryBaggageHeader","objectToBaggageHeader","objectKey","objectValue","currentIndex","baggageEntry","newBaggageHeader","_debug_build_js__WEBPACK_IMPORTED_MODULE_1__","_logger_js__WEBPACK_IMPORTED_MODULE_2__","dscKey","dscValue","keyOrValue","decodeURIComponent","WINDOW","_worldwide_js__WEBPACK_IMPORTED_MODULE_0__","R","htmlTreeAsString","elem","nextStr","currentElem","out","keyAttrs","maxStringLength","_htmlElementAsString","el","className","classes","attr","tagName","dataset","keyAttrPairs","filter","keyAttr","keyAttrPair","_is_js__WEBPACK_IMPORTED_MODULE_1__","allowedAttrs","reverse","getLocationHref","location","href","oO","getDomElement","querySelector","getComponentName","objectToString","isError","wat","isInstanceOf","Error","isBuiltin","isErrorEvent","isDOMError","isDOMException","isString","isParameterizedString","isPrimitive","isEvent","Event","isElement","Element","isRegExp","isThenable","isSyntheticEvent","isNaN","_e","isVueViewModel","__isVue","_isVue","CONSOLE_LEVELS","originalConsoleMethods","consoleSandbox","console","wrappedFuncs","wrappedLevels","originalConsoleMethod","logger","makeLogger","enabled","enable","disable","isEnabled","uuid4","gbl","crypto","msCrypto","getRandomByte","random","randomUUID","getRandomValues","typedArray","Uint8Array","_","c","getFirstException","getEventDescription","firstException","addExceptionTypeValue","addExceptionMechanism","newMechanism","currentMechanism","handled","mergedData","checkOrSetAlreadyCaught","__sentry_captured__","_object_js__WEBPACK_IMPORTED_MODULE_1__","xp","err","arrayify","maybeArray","normalizeToSize","maxSize","normalize","encodeURI","maxProperties","visit","memo","memoBuilder","hasWeakSet","WeakSet","inner","has","add","delete","splice","unmemoize","is","i2","stringified","stringifyValue","_events","g","window","y1","Cy","$P","objName","getConstructorName","test","startsWith","remainingDepth","valueWithToJSON","jsonValue","numAdded","visitable","Sh","visitKey","visitValue","ERROR","fill","replacementFactory","original","wrapped","markFunctionWrapped","addNonEnumerableProperty","defineProperty","writable","configurable","o_O","_debug_build_js__WEBPACK_IMPORTED_MODULE_0__","_logger_js__WEBPACK_IMPORTED_MODULE_1__","proto","getOriginalFunction","__sentry_original__","urlEncode","convertToPlainObject","_is_js__WEBPACK_IMPORTED_MODULE_2__","VZ","stack","getOwnProperties","cO","newObj","serializeEventTarget","currentTarget","CustomEvent","V9","detail","kK","_browser_js__WEBPACK_IMPORTED_MODULE_3__","Rt","extractedProps","extractExceptionKeysForMessage","maxLength","_string_js__WEBPACK_IMPORTED_MODULE_4__","includedKeys","dropUndefinedKeys","inputValue","_dropUndefinedKeys","memoizationMap","isPojo","memoVal","returnValue","WEBPACK_ERROR_REGEXP","STRIP_FRAME_REGEXP","createStackParser","parsers","sortedParsers","skipFirst","lines","cleanedLine","parser","stripSentryFramesAndReverse","localStack","from","function","stackParserFromStackParserOptions","defaultFunctionName","getFunctionName","truncate","safeJoin","stringMatchesSomePattern","testString","patterns","requireExactStringMatch","isMatchingPattern","Kj","States","resolvedSyncPromise","SyncPromise","rejectedSyncPromise","reason","executor","__init","__init2","__init3","__init4","_state","PENDING","_handlers","_resolve","_reject","onfulfilled","onrejected","_executeHandlers","catch","finally","onfinally","isRejected","_setResult","RESOLVED","REJECTED","state","_value","cachedHandlers","handler","dateTimestampInSeconds","now","timestampInSeconds","createUnixTimestampInSecondsFunc","performance","approxStartingTimeOrigin","timeOrigin","browserPerformanceTimeOrigin","performanceNow","dateNow","timeOriginDelta","navigationStart","timing","navigationStartDelta","hasNavigationStart","TRACEPARENT_REGEXP","extractTraceparentData","traceparent","parentSampled","matches","parentSpanId","tracingContextFromHeaders","sentryTrace","baggage","traceparentData","_baggage_js__WEBPACK_IMPORTED_MODULE_0__","EN","_misc_js__WEBPACK_IMPORTED_MODULE_1__","propagationContextFromHeaders","generateSentryTraceHeader","sampledString","isGlobalObj","globalThis","self","getGlobalObject","getGlobalSingleton","creator","__importDefault","mod","__esModule","router_1","isExcludedUrl","excluded","_paq","needle","trustedPolicyHooks","createScript","createScriptURL","_a","_b","_c","_d","siteId","_f","jsTrackerFile","_g","phpTrackerFile","_h","excludeUrlsPatterns","disableCookies","_k","onRouteChangeStart","_l","onRouteChangeComplete","_m","onInitialization","_o","trustedPolicyName","_p","logExcludedTracks","sanitizer","trustedTypes","createPolicy","previousPath","excludedUrl","pathname","scriptElement","refElement","getElementsByTagName","async","defer","fullUrl","src","events","on","setTimeout","q","query","title","module","__NEXT_P","__rest","getOwnPropertySymbols","propertyIsEnumerable","Button","props_id","prop_className","iconId","iconPosition","priority","linkProps","onClick","nativeButtonProps","assert","useAnalyticsId","Link","getLink","cx","fr","React","displayName","symToStr","factor","getBaseFontSizePx","htmlElement","computedStyle","getComputedStyle","getPropertyValue","fromEntries","param","getPxValues","spacingTokenByValue","getHex","isDark","getColorOptionsHex","params","decisions","getColorDecisionsHex","colorOptions","_1000_50","_975_75","blueFrance","redMarianne","greenTilleulVerveine","greenBourgeon","greenEmeraude","greenMenthe","greenArchipel","blueEcume","blueCumulus","purpleGlycine","pinkMacaron","pinkTuile","yellowTournesol","yellowMoutarde","orangeTerreBattue","brownCafeCreme","brownCaramel","brownOpera","beigeGrisGalet","_950_100","_200_850","sun113_625","_425_625","sun418moon817","sun425moon759","sun425moon753","sun373moon652","sun391moon716","sun247moon675","sun368moon732","sun319moon630","sun406moon833","sun425moon750","sun407moon922","sun348moon860","sun370moon672","sun383moon885","sun425moon901","sun395moon820","sun407moon821","_925_125","_1000_75","_1000_100","_975_100","_975_125","_950_125","_950_150","_50_1000","_975sun113","_625_425","_0_1000","_900_175","main525","main472","main707","main640","main632","main548","main557","main400","main526","main494","main689","main556","main731","main679","main645","main782","main648","main680","main702","_850_200","genericCx","kindOrToken","paramsWithOnlyDirection","rightLeft","topBottom","v","useLang_glob","setUseLang","useLang","createComponentI18nApi","componentName","frMessages","messagesByLang","useTranslation","lang","bestMatchLang","bestApproxLang","getLanguageBestApprox","languages","languageLike","find","iso2LanguageLike","messageKey","messageOrFn","messages","setLink","to","external_links","rel","anchor","regex","useBreakpointsValues","breakpointsValuesDependency","triggerRefresh","useReducer","useEffect","observer","MutationObserver","mutationsList","mutation","attributeName","oldValue","observe","disconnect","MuiDsfrThemeProvider","createMuiDsfrThemeProvider","augmentMuiTheme","useIsDark","useIsDark_props","nonAugmentedMuiTheme","createMuiDsfrTheme","_len","getMuiDsfrThemeOptions","getBySelector","variant","objectKeys","endsWith","open","borderNone","ownerState","getRowClassName","originalGetRowClassName","indexRelativeToCurrentPage","parityClassName","contrast","plain","hoveredAndSelected","alt","MuiThemeProvider","cls","toAdd","typeGuard","useConstCallback","callbackRef","useRef","current","useState","explicitlyProvidedId","defaultIdPrefix","useId","ssrWasPerformedWithIsDark","createStatefulObservable","getInitialValue","nextFunctions","wrappedState","useRerenderOnChange","$","effect","setCurrent","registerSubscription","subscribe","subscriptions","subscription","unsubscribe","$clientSideIsDark","process","env","JEST_WORKER_ID","$isAfterFirstEffect","useIsDarkClientSide","setIsDark","newIsDarkOrDeduceNewIsDarkFromCurrentIsDark","data_fr_js_value","documentElement","newColorScheme","matchMedia","data_fr_scheme","data_fr_theme","localStorage","setItem","getCurrentIsDarkFromHtmlAttribute","colorSchemeFromHtmlAttribute","startClientSideIsDarkLogic","doPersistDarkModePreferenceWithCookie","registerEffectAction","colorSchemeExplicitlyProvidedAsParameter","doCheckNonce","trustedTypesPolicyName","clientSideIsDark","ssrWasPerformedWithIsDark_","isDarkFromHtmlAttribute","isDarkExplicitlyProvidedAsParameter","isDarkFromLocalStorage","colorSchemeReadFromLocalStorage","getItem","isDarkFromOsPreference","createHTML","setColorSchemeCookie","newCookie","colorScheme","set_domain","hostname","cookie","setRootColorScheme","ssrNonce","getElementById","rootColorSchemeStyleTagId","remove","innerHTML","setThemeColor","content","useIsDarkServerSide","ssrIsDarkContext","SsrIsDarkProvider","originalFunctionToString","debounceTimerID","lastCapturedEventType","lastCapturedEventTargetId","lastHref","SPAN_METRIC_SUMMARY","po","_previousCls","_previousFid","_previousLcp","_previousTtfb","_previousInp","_lcpEntry","_clsEntry","cachedFetchImpl","activeTransaction","prevLocationName","SpanStatus","applySdkMetadata","names","_metadata","packages","hasTracingEnabled","maybeOptions","__SENTRY_TRACING__","esm_exports","enableTracing","installedIntegrations","afterSetupIntegrations","afterAllSetup","setupIntegration","integrationIndex","debug_build","esm_logger","setupOnce","cc","esm_hub","setup","preprocessEvent","bind","processEvent","convertIntegrationFnToClass","INTEGRATION_NAME","SETUP_CLIENTS","functionToStringIntegration","Function","originalFunction","HK","FunctionToString","DEFAULT_IGNORE_ERRORS","DEFAULT_IGNORE_TRANSACTIONS","inboundfilters_INTEGRATION_NAME","inboundFiltersIntegration","_hint","ignoreErrors","_shouldDropEvent","_mergeOptions","internalOptions","clientOptions","allowUrls","denyUrls","disableErrorDefaults","ignoreTransactions","disableTransactionDefaults","ignoreInternal","_isSentryError","misc","jH","_getPossibleEventMessages","lastException","possibleMessages","_isIgnoredTransaction","_isDeniedUrl","_getEventFilterUrl","_isAllowedUrl","InboundFilters","_getLastValidUrl","applyAggregateErrorsToEvent","exceptionFromErrorImplementation","maxValueLimit","limit","exceptions","aggregateExceptionsFromError","prevExceptions","exceptionId","newExceptions","applyExceptionGroupFieldsForParentException","newException","newExceptionId","applyExceptionGroupFieldsForChildException","childError","is_exception_group","exception_id","parentId","parent_id","exceptionFromError","linkederrors_INTEGRATION_NAME","LinkedErrors","helpers_WINDOW","worldwide","ignoreOnError","wrap","wrapper","__sentry_wrapped__","sentryWrapped","wrappedArguments","ex","$e","Db","Tb","$Q","descriptor","getOwnPropertyDescriptor","instrumented","addHandler","maybeInstrument","instrumentFn","triggerHandlers","typeHandlers","esm_debug_build","_oldOnErrorHandler","addGlobalErrorInstrumentationHandler","instrumentError","onerror","msg","__SENTRY_LOADER__","__SENTRY_INSTRUMENTED__","_oldOnUnhandledRejectionHandler","addGlobalUnhandledRejectionInstrumentationHandler","instrumentUnhandledRejection","onunhandledrejection","debug_build_DEBUG_BUILD","eventbuilder_exceptionFromError","eventbuilder_parseStackFrames","extractMessage","eventFromError","popSize","getPopSize","framesToPop","reactMinifiedRegexp","eventbuilder_eventFromUnknownInput","attachStacktrace","isUnhandledRejection","VW","errorEvent","TX","fm","domException","eventFromString","eventFromPlainObject","getNonErrorObjectExceptionValue","zf","captureType","getObjectClassName","__serialized__","Qy","synthetic","Le","__sentry_template_string__","__sentry_template_values__","logentry","globalhandlers_INTEGRATION_NAME","globalHandlersIntegration","_options","stackTraceLimit","_eventFromIncompleteOnError","groups","_enhanceEventWithInitialFrame","eN","globalHandlerLog","_getUnhandledRejectionError","e2","GlobalHandlers","ev","ev0","ev0s","ev0sf","colno","lineno","browser","l4","in_app","DEFAULT_EVENT_TARGET","trycatch_INTEGRATION_NAME","browserApiErrorsIntegration","XMLHttpRequest","eventTarget","requestAnimationFrame","setInterval","hl","_wrapTimeFunction","_wrapRAF","_wrapXHR","eventTargetOption","_wrapEventTarget","TryCatch","originalCallback","originalSend","xhr","xmlHttpRequestProps","wrapOptions","globalObject","eventName","handleEvent","originalRemoveEventListener","originalEventHandler","wrappedEventHandler","instrumentConsole","RU","LD","dom_WINDOW","instrumentDOM","triggerDOMHandler","globalDOMEventHandler","makeDOMEventHandler","addEventListener","originalAddEventListener","listener","__sentry_instrumentation_handlers__","handlerForType","refCount","globalListener","getEventTarget","isContentEditable","_sentryId","isSimilarToLastCapturedEvent","global","clearTimeout","xhr_WINDOW","SENTRY_XHR_DATA_KEY","addXhrInstrumentationHandler","instrumentXHR","xhrproto","originalOpen","startTimestamp","parseUrl","request_headers","__sentry_own_request__","onreadystatechangeHandler","xhrInfo","readyState","status_code","endTimestamp","onreadystatechange","readyStateArgs","setRequestHeaderArgs","header","sentryXhrData","body","supports_WINDOW","supportsFetch","Headers","Request","Response","isNativeFetch","addFetchInstrumentationHandler","instrumentFetch","supportsNativeFetch","EdgeRuntime","fetch","doc","sandbox","hidden","contentWindow","originalFetch","parseFetchArgs","fetchArgs","getUrlFromResource","hasProp","handlerData","fetchData","response","resource","supportsHistory_WINDOW","history_WINDOW","addHistoryInstrumentationHandler","instrumentHistory","supportsHistory","chromeVar","chrome","isChromePackagedApp","app","runtime","hasHistoryApi","history","pushState","replaceState","oldOnPopState","onpopstate","historyReplacementFunction","originalHistoryFunction","validSeverityLevels","url_parseUrl","fragment","host","protocol","hash","relative","breadcrumbs_INTEGRATION_NAME","breadcrumbsIntegration","dom","addConsoleInstrumentationHandler","category","nK","n_","serializeAttribute","_isEvent","iY","parsedLoc","parsedFrom","parsedTo","Breadcrumbs","integrations_linkederrors_INTEGRATION_NAME","integrations_linkederrors_linkedErrorsIntegration","linkederrors_LinkedErrors","httpcontext_INTEGRATION_NAME","httpContextIntegration","referrer","headers","Referer","HttpContext","dedupe_INTEGRATION_NAME","dedupeIntegration","previousEvent","currentEvent","_isSameMessageEvent","currentMessage","previousMessage","_isSameFingerprint","_isSameStacktrace","_isSameExceptionEvent","previousException","_getExceptionFromEvent","currentException","Dedupe","currentFrames","_getFramesFromEvent","previousFrames","frameA","frameB","currentFingerprint","previousFingerprint","windowIntegrations","Sentry","Integrations","INTEGRATIONS","integrations_namespaceObject","esm_integrations_namespaceObject","DSN_REGEX","dsn_dsnToString","dsn","withPassword","pass","port","projectId","dsnFromString","lastPath","projectMatch","dsnFromComponents","createEnvelope","items","forEachEnvelopeItem","envelope","envelopeItem","envelopeItemType","encodeUTF8","textEncoder","utf8","TextEncoder","encode","ITEM_TYPE_TO_DATA_CATEGORY_MAP","sessions","client_report","user_report","profile","replay_event","replay_recording","check_in","feedback","statsd","getSdkMetadataForEnvelopeHeader","metadataOrEvent","SentryError","logLevel","setPrototypeOf","ALREADY_SEEN_ERROR","BaseClient","_integrations","_integrationsInitialized","_numProcessing","_outcomes","_hooks","_dsn","dsn_makeDsn","validateDsn","requiredComponents","component","getEnvelopeEndpointWithUrlEncodedAuth","tunnelOrOptions","tunnel","sdkInfo","getBaseApiEndpoint","sentry_key","sentry_version","sentry_client","_transport","transport","recordDroppedEvent","transportOptions","YO","_process","eventFromException","_captureEvent","eventMessage","promisedEvent","eventFromMessage","capturedSpanScope","sendSession","esm_session","getSdkMetadata","getTransport","metricsAggregator","_isClientDoneProcessing","clientFinished","transportFlushed","syncpromise","WD","close","eventProcessor","forceInitialize","_isEnabled","_setupIntegrations","getIntegrationById","integrationId","getIntegrationByName","integrationName","addIntegration","isAlreadyInstalled","sendEvent","createEventEnvelope","eventType","envelopeHeaders","createEventEnvelopeHeaders","sent_at","addItemToEnvelope","newItem","createAttachmentEnvelopeItem","buffer","content_type","contentType","attachment_type","attachmentType","promise","_sendEnvelope","sendResponse","createSessionEnvelope","_event","sendClientReports","captureAggregateMetrics","metricBucketItems","metricsEnvelope","createMetricEnvelope","createMetricEnvelopeItem","payload","serializeMetricBuckets","tagEntries","maybeTags","metric","metricType","hook","_updateSessionFromEvent","crashed","errored","sessionNonTerminal","ticked","interval","clearInterval","_prepareEvent","tracing_dynamicSamplingContext","_processEvent","finalEvent","sentryError","isTransaction","isTransactionEvent","beforeSendLabel","$2","dataCategory","capturedSpanIsolationScope","__sentry__","_validateBeforeSendResult","beforeSendResult","invalidValueError","processBeforeSend","beforeSend","beforeSendTransaction","processedEvent","transactionInfo","transaction_info","send","_clearOutcomes","outcomes","quantity","BrowserClient","SENTRY_SDK_SOURCE","visibilityState","_flushOutcomes","eventbuilder_eventFromMessage","captureUserFeedback","createUserFeedbackEnvelope","platform","esm_time","discarded_events","createFrame","chromeRegex","chromeEvalRegex","chromeStackLineParser","parts","subMatch","extractSafariExtensionDetails","geckoREgex","geckoEvalRegex","geckoStackLineParser","winjsRegex","defaultStackParser","pE","isSafariExtension","isSafariWebExtension","createTransport","makeRequest","makePromiseBuffer","task","taskProducer","drain","counter","capturedSetTimeout","bufferSize","rateLimits","filteredEnvelopeItems","envelopeItemDataCategory","isRateLimited","limits","disabledUntil","all","getEventForEnvelopeItem","filteredEnvelope","recordEnvelopeLoss","serializeEnvelope","envHeaders","append","itemHeaders","stringifiedPayload","concatBuffers","buffers","totalLength","buf","merged","statusCode","updateRateLimits","updatedRateLimits","rateLimitHeader","retryAfterHeader","retryAfter","categories","headerDelay","parseRetryAfterHeader","headerDate","__sentry__baseTransport__","makeFetchTransport","nativeFetch","getNativeFetchImplementation","fetchImpl","pendingBodySize","pendingCount","requestSize","requestOptions","referrerPolicy","keepalive","fetchOptions","makeXHRTransport","getResponseHeader","setRequestHeader","defaultIntegrations","_optionalChain","ops","lastAccessLHS","getMetricSummaryJsonForSpan","storage","exportKey","summary","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE","SEMANTIC_ATTRIBUTE_SENTRY_OP","SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN","setHttpStatus","httpStatus","setData","spanStatus","getSpanStatusFromHttpCode","setStatus","SpanRecorder","maxlen","_maxlen","spanRecorder","Span","_traceId","_spanId","_startTime","instrumenter","_attributes","setAttributes","attributes","_name","_parentSpanId","_sampled","_status","_endTime","exclusiveTime","_exclusiveTime","_measurements","measurements","updateName","startTime","endTime","spanUtils","i0","ve","startChild","childSpan","opStr","nameStr","idStr","logMessage","_logMessage","setName","isSuccess","finish","$k","toTraceparent","Hb","toContext","_getData","updateWithContext","getTraceContext","start_timestamp","_metrics_summary","profile_id","exclusive_time","isRecording","hasData","hasAttributes","startInactiveSpan","normalizeContext","ctx","parentSpan","trace_getActiveSpan","onlyIfParent","temporaryScope","createChildSpanOrTransaction","forceTransaction","ISOLATION_SCOPE_ON_START_SPAN_FIELD","SCOPE_ON_START_SPAN_FIELD","Transaction","transactionContext","_hub","_trimEnd","trimEnd","incomingDynamicSamplingContext","newName","spanMetadata","initSpanRecorder","setMeasurement","setMetadata","newMetadata","timestampInS","_finishTransaction","getDynamicSamplingContext","setHub","getProfileId","finishedSpans","endTimes","TRACING_DEFAULTS","idleTimeout","finalTimeout","heartbeatInterval","IdleTransactionSpanRecorder","_pushActivity","_popActivity","transactionSpanId","originalEnd","IdleTransaction","_idleHub","_idleTimeout","_finalTimeout","_heartbeatInterval","_onScope","delayAutoFinishUntilSignal","activities","_heartbeatCounter","_finished","_idleTimeoutCanceledPermanently","_beforeFinishCallbacks","_finishReason","_autoFinishAllowed","_restartIdleTimeout","endTimestampInS","spanStartedBeforeTransactionFinish","timeoutWithMarginOfError","spanEndedBeforeFinalTimeout","stringifiedSpan","registerBeforeFinishCallback","_pingHeartbeat","cancelIdleTimeout","restartOnChildSpanChange","_idleTimeoutID","setFinishReason","sendAutoFinishSignal","_beat","heartbeatString","_prevHeartbeatString","getActiveTransaction","maybeHub","errorsInstrumented","errorCallback","sampleTransaction","samplingContext","tracesSampler","tracesSampleRate","isValidSampleRate","rate","_startTransaction","configInstrumenter","transactionInstrumenter","_experiments","maxSpans","startIdleTransaction","onScope","addTracingExtensions","cu","common_debug_build_DEBUG_BUILD","types_WINDOW","registerBackgroundTabDetection","statusType","bindReporter","reportAllChanges","prevValue","delta","forceReport","generateUniqueID","floor","getNavigationEntryFromPerformanceTiming","navigation","navigationEntry","entryType","getNavigationEntry","__WEB_VITALS_POLYFILL__","getEntriesByType","getActivationStart","navEntry","activationStart","initMetric","navigationType","prerendering","rating","opts","PerformanceObserver","supportedEntryTypes","list","getEntries","buffered","onHidden","cb","once","onHiddenOrPageHide","removeEventListener","onCLS","report","sessionValue","sessionEntries","handleEntries","entry","hadRecentInput","firstSessionEntry","lastSessionEntry","onReport","stopListening","takeRecords","firstHiddenTime","initHiddenTime","Infinity","trackChanges","timeStamp","getVisibilityWatcher","onFID","visibilityWatcher","handleEntry","processingStart","interactionCountEstimate","minKnownInteractionId","maxKnownInteractionId","updateEstimate","interactionId","getInteractionCount","interactionCount","initInteractionCountPolyfill","durationThreshold","getInteractionCountForNavigation","longestInteractionList","longestInteractionMap","processEntry","minLongestInteraction","existingInteraction","latency","interaction","estimateP98LongestInteraction","candidateInteractionIndex","onINP","prevEntry","inp","reportedMetricIDs","onLCP","lastEntry","capture","whenReady","onTTFB","responseStart","instrument_handlers","instrument_instrumented","addPerformanceInstrumentationHandler","instrument_addHandler","instrumentPerformanceObserver","instrument_triggerHandlers","getCleanupCallback","instrumentCls","instrumentFid","instrumentLcp","instrumentTtfb","instrumentInp","addMetricObserver","previousValue","stopOnCallback","createSpanItem","isMeasurementValue","isFinite","_startChild","msToSec","time","getBrowserPerformanceAPI","_performanceCursor","startTrackingWebVitals","Z1","mark","fidCallback","clsCallback","addClsInstrumentationHandler","lcpCallback","addLcpInstrumentationHandler","ttfbCallback","startTrackingLongTasks","startTrackingInteractions","startTrackingINP","interactionIdtoRouteNameMapping","inpCallback","INP_ENTRY_MAP","interactionType","interactionIdToRouteNameMapping","routeName","parentContext","replayId","userDisplay","profileId","replay_id","createSpanEnvelope","click","pointerdown","pointerup","mousedown","mouseup","touchstart","touchend","mouseover","mouseout","mouseenter","mouseleave","pointerover","pointerout","pointerenter","pointerleave","dragstart","dragend","drag","dragenter","dragleave","dragover","drop","keydown","keyup","keypress","addPerformanceEntries","performanceEntries","transactionStartTime","_addPerformanceNavigationTiming","responseEnd","requestStart","_addMeasureSpans","measureStartTimestamp","firstHidden","shouldRecord","_addResourceSpans","resourceUrl","initiatorType","parsedUrl","setResourceEntrySizeData","renderBlockingStatus","_trackNavigator","connection","effectiveType","rtt","deviceMemory","hardwareConcurrency","_addTtfbRequestTimeToMeasurements","normalizedValue","measurementTimestamp","fidMark","measurementName","sources","eventEnd","dataKey","entryVal","DEFAULT_TRACE_PROPAGATION_TARGETS","defaultRequestInstrumentationOptions","traceFetch","traceXHR","enableHTTPTimings","tracingOrigins","tracePropagationTargets","instrumentOutgoingRequests","shouldCreateSpanForRequest","shouldCreateSpan","shouldAttachHeadersWithTargets","createdSpan","instrumentFetchRequest","shouldAttachHeaders","spanOrigin","shouldCreateSpanResult","__span","contentLength","contentLengthNum","addTracingHeadersToFetchRequest","requestSpan","sentryTraceHeader","tracing","sentryBaggageHeader","IQ","newHeaders","bU","existingBaggageHeader","newBaggageHeaders","addHTTPTimings","xhrCallback","__sentry_xhr_span_id__","setHeaderOnXhr","cleanup","nextHopProtocol","spanData","resourceTiming","extractNetworkProtocol","char","timingSpanData","getAbsoluteTime","redirectStart","fetchStart","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","DEFAULT_BROWSER_TRACING_OPTIONS","markBackgroundTransactions","routingInstrumentation","customStartTransaction","startTransactionOnPageLoad","startTransactionOnLocationChange","startingUrl","enableLongTask","enableInp","browsertracing_BrowserTracing","_hasSetTracePropagationTargets","_collectWebVitals","_interactionIdToRouteNameMapping","enableInteractions","_latestRoute","_getCurrentHub","instrumentRouting","clientOptionsTracePropagationTargets","_createRouteTransaction","onStartRouteTransaction","_registerInteractionListener","_registerInpInteractionListener","expandedContext","beforeNavigate","isPageloadTransaction","getMetaContent","pT","modifiedContext","finalContext","idleTransaction","inflightInteractionTransaction","registerInteractionTransaction","currentTransaction","getSource","sourceFromAttributes","sourceFromData","sourceFromMetadata","replay","getReplayId","minInteractionId","metaName","metaTag","qT","browserTracingIntegration_DEFAULT_BROWSER_TRACING_OPTIONS","instrumentNavigation","instrumentPageLoad","markBackgroundSpan","browserTracingIntegration","latestRoute","beforeStartSpan","browserTracingIntegration_getMetaContent","activeSpan","startBrowserTracingPageLoadSpan","startBrowserTracingNavigationSpan","registerInteractionListener","browserTracingIntegration_getSource","registerInpInteractionListener","spanOptions","DEFAULT_TAGS","esm_common_debug_build_DEBUG_BUILD","pagesRouterRoutingInstrumentation_DEFAULT_TAGS","nextRouterInstrumentation","startTransactionCb","startPageloadSpanCallback","startNavigationSpanCallback","pagesRouterInstrumentation","route","extractNextDataTagInformation","nextData","nextDataTag","nextDataTagInfo","page","pageProps","_sentryTraceData","_sentryBaggage","KA","router_default","transactionSource","strippedNavigationTarget","urlPath","matchedRoute","getNextRouteFromPathname","pageRoutes","__BUILD_MANIFEST","sortedPages","routeRegExp","convertNextRouteToRegExp","routeParts","optionalCatchallWildcardRegex","rejoinedRouteParts","routePart","navigationTransaction","nextRouteChangeSpan","finishRouteChangeSpan","off","appRouterInstrumentation","parsedNavigatingRscFetchArgs","parseNavigatingRscFetchArgs","searchParams","targetPathname","BrowserTracing","splitPathRe","resolvedPath","resolvedAbsolute","normalizeArray","allowAboveRoot","last","unshift","arr","rewriteframes_INTEGRATION_NAME","rewriteFramesIntegration","prefix","iteratee","isWindowsFrame","startsWithSlash","ext","fromParts","toParts","samePartsLength","outputParts","splitPath","truncated","originalEvent","_processExceptionsEvent","globalWithInjectedValues","rewriteFramesIntegration_rewriteFramesIntegration","assetPrefixPath","__rewriteFramesAssetPrefixPath__","URL","_2","_3","_4","_5","decodeURI","tunnelRoute_globalWithInjectedValues","maybeUpdateBrowserTracingIntegration","browserTracing","_sentryCollisionFreeGlobalObject","SENTRY_DSN","SENTRY_ENV","getVercelEnv","isClient","vercelEnvVar","NEXT_PUBLIC_VERCEL_ENV","VERCEL_ENV","client_getDefaultIntegrations","customDefaultIntegrations","browserTracingIntegration_browserTracingIntegration","browserTracingIntegrationInstance","startPageloadCallback","startSpanOptions","startNavigationCallback","fixBrowserTracingIntegration","applyTunnelRouteOption","tunnelRouteOption","__sentryRewritesTunnelPath__","dsnComponents","sentrySaasDsnMatch","orgId","regionCode","tunnelPath","sdk_init","__SENTRY_RELEASE__","SENTRY_RELEASE","autoSessionTracking","initAndBind","clientClass","debug","initialScope","setCurrentClient","Sq","getIntegrationsToSetup","userIntegrations","isDefaultInstance","finalIntegrations","filterDuplicates","integrationsByName","currentInstance","existingInstance","debugIndex","findIndex","debugInstance","startSessionTracking","yj","cg","filterTransactions","enumerable","actionAsyncStorage","_asynclocalstorage","createAsyncLocalStorage","sharedAsyncLocalStorageNotAvailableError","FakeAsyncLocalStorage","getStore","exit","enterWith","maybeGlobalAsyncLocalStorage","AsyncLocalStorage","clientHookInServerComponentError","hookName","require","_export","ReadonlyURLSearchParams","useSearchParams","usePathname","ServerInsertedHTMLContext","_serverinsertedhtmlsharedruntime","useServerInsertedHTML","useRouter","useParams","useSelectedLayoutSegments","useSelectedLayoutSegment","redirect","_redirect","permanentRedirect","RedirectType","notFound","_notfound","_react","_approutercontextsharedruntime","_hooksclientcontextsharedruntime","_clienthookinservercomponenterror","_getsegmentvalue","_segment","INTERNAL_URLSEARCHPARAMS_INSTANCE","readonlyURLSearchParamsError","urlSearchParams","getAll","SearchParamsContext","PathnameContext","router","AppRouterContext","globalLayoutRouter","GlobalLayoutRouterContext","pathParams","PathParamsContext","tree","getSelectedParams","parallelRoute","isDynamicParameter","segmentValue","PAGE_SEGMENT_KEY","parallelRouteKey","LayoutRouterContext","getSelectedLayoutSegmentPath","first","segmentPath","_parallelRoutes_children","parallelRoutes","getSegmentValue","selectedLayoutSegments","isNotFoundError","NOT_FOUND_ERROR_CODE","digest","RedirectStatusCode","getRedirectError","isRedirectError","getURLFromRedirectError","getRedirectTypeFromError","getRedirectStatusCodeFromError","_requestasyncstorageexternal","_actionasyncstorageexternal","_redirectstatuscode","REDIRECT_ERROR_CODE","TemporaryRedirect","requestStore","requestAsyncStorage","mutableCookies","actionStore","isAction","SeeOther","PermanentRedirect","errorCode","destination","PrefetchKind","ACTION_REFRESH","ACTION_NAVIGATE","ACTION_RESTORE","ACTION_SERVER_PATCH","ACTION_PREFETCH","ACTION_FAST_REFRESH","ACTION_SERVER_ACTION","getDomainLocale","locale","locales","domainLocales","_default","_interop_require_default","_jsxruntime","_resolvehref","_islocalurl","_formaturl","_utils","_addlocale","_routercontextsharedruntime","_useintersection","_getdomainlocale","_addbasepath","_routerreducertypes","prefetched","prefetch","as","appOptions","isAppRouter","isLocalURL","bypassPrefetchedCheck","prefetchedKey","formatStringOrUrl","urlObjOrString","formatUrl","forwardedRef","child","hrefProp","asProp","childrenProp","prefetchProp","passHref","shallow","scroll","onMouseEnter","onMouseEnterProp","onTouchStart","onTouchStartProp","legacyBehavior","restProps","pagesRouter","RouterContext","appRouter","prefetchEnabled","appPrefetchKind","AUTO","FULL","resolvedHref","resolvedAs","resolveHref","previousHref","previousAs","Children","childRef","setIntersectionRef","isVisible","resetVisible","useIntersection","rootMargin","setRef","useCallback","kind","childProps","defaultPrevented","linkClicked","nodeName","isAnchorNodeName","isModifiedEvent","metaKey","ctrlKey","shiftKey","altKey","nativeEvent","which","preventDefault","navigate","routerScroll","startTransition","isAbsoluteUrl","curLocale","localeDomain","isLocaleDomain","addBasePath","addLocale","defaultLocale","cloneElement","_requestidlecallback","hasIntersectionObserver","IntersectionObserver","observers","idList","rootRef","isDisabled","visible","setVisible","elementRef","setElement","elements","createObserver","instance","existing","isIntersecting","intersectionRatio","unobserve","idleCallback","requestIdleCallback","cancelIdleCallback","_interop_require_wildcard","addInsertedServerHTMLCallback","condition","getScriptToRunAsap","defaultColorScheme","fontUrlByFileBasename","apple_touch_icon","favicon","favicon_favicon","getAssetUrl","componentOrUrl","Deferred","isPending","resolve_","reject_","overwriteReadonlyProp","isStarted","verbose","nextParams","dsfr","dDsfrLoaded","readIsDarkInCookie","parsedCookies","Footer","id_props","contentDescription","websiteMapLinkProps","accessibilityLinkProps","accessibility","termsLinkProps","bottomItems","partnersLogos","operatorLogo","license","brandTop","brandTop_prop","homeLinkProps","homeLinkProps_prop","linkList","domains","exceptionMessage","mainPartnersLogo","sub","subPartnersLogos","role","columnIndex","categoryName","links","linkItem","linkItemIndex","brand","logo","brandLink","orientation","imgUrl","contentDesc","contentList","domain","contentItem","contentLink","partners","partnersTitle","partnersMain","hasLinkProps","partnersLink","partnersSub","bottomList","bottomItem","FooterBottomItem","bottomLink","bottomCopy","addFooterTranslations","licenseUrl","className_props","buttonProps","generateValidHtmlId","fallback","Menu","isActive","MegaMenu","leader","tabIndex","paragraph","link","categoryMainLink","MegaMenu_useTranslation","addMegaMenuTranslations","MainNavigation","getMenuId","menuLinks","megaMenu","btn","menuList","megaMenuLeader","megaMenuCategory","MainNavigation_useTranslation","addMainNavigationTranslations","system","Modal","concealingBackdrop","topAnchor","buttons","buttons_props","titleId","doClosesModal","Modal_useTranslation","addModalTranslations","createModal","isOpenedByDefault","hiddenControlButtonId","Component","modalElement","disclose","conceal","headerFooterDisplayItem","Display","getInputId","htmlFor","xmlns","viewBox","label","xlinkHref","ArtworkDarkSvg","ArtworkLightSvg","ArtworkSystemSvg","Display_useTranslation","addDisplayTranslations","SearchBar","label_props","big","renderInput","placeholder","clearInputOnSearch","allowEmptySearch","onButtonClick","inputId","SearchButton","searchInputId","SearchBar_useTranslation","addSearchBarTranslations","onClick_props","forceUpdate","focusInputElement","getInputValue","resetInputValue","getIsInputFocused","setInputApi","isControlledByUser","inputElement","activeElement","cleanups","observeInputValue","callback_params","descriptorToRestore","newValue","timer","blur","Header","serviceTitle","serviceTagline","quickAccessItems","renderSearchInput","clearSearchInputOnSearch","onSearchButtonClick","menuModalId","menuButtonId","searchModalId","isSearchBarEnabled","tSearchBar","useSearchBarTranslation","getQuickAccessNode","suffix","quickAccessItem","HeaderQuickAccessItem","hasOperatorLink","bodyRow","operator","navbar","service","toolsLinks","menu","Header_useTranslation","addHeaderTranslations","SkipLinks","SkipLinks_useTranslation","addSkipLinksTranslations","withDsfr","dsfrDocumentApi","createNextDsfrIntegrationApi","preloadFonts","doDisableFavicon","isAfterFirstEffect","actions","isDarkPropKey","App","AppWithDsfr","Head","fileBasename","crossOrigin","AppleTouchIcon","FaviconSvg","FaviconIco","isProduction","dangerouslySetInnerHTML","super_getInitialProps","getInitialProps","DefaultApp","appContext","initialProps","req","augmentDocumentForDsfr","Document","DefaultDocument","documentContext","originalRenderPage","renderPage","enhanceApp","EnhancedApp","getColorSchemeHtmlAttributes","withAppEmotionCache","augmentDocumentWithEmotionCache","createEmotionSsrAdvancedApproach","DefaultCacheProvider","optionsWithoutPrependProp","appPropName","insertionPointId","createClientSideCache","AppWithEmotionCache","staticMethod","createEmotionServerOrPr","createEmotionServer","thisArg","_arguments","P","generator","emotionServer","emotionStyles","extractCriticalToChunks","html","ids","otherStyles","toArray","fulfilled","rejected","done","adopt","jsxs","Fragment","br","homeLinkPops","bottomLinks","Layout","contentSecurityPolicy","meta","httpEquiv","asPath","div","_app","cachedSetTimeout","cachedClearTimeout","currentQueue","defaultSetTimout","defaultClearTimeout","runTimeout","fun","queue","draining","queueIndex","cleanUpNextTick","drainQueue","runClearTimeout","Item","noop","nextTick","argv","versions","addListener","removeListener","removeAllListeners","prependListener","prependOnceListener","listeners","binding","cwd","chdir","umask","extendStatics","__extends","d","__proto__","__","__read","o","ar","AssertionError","overwriteReadonlyProp_1","assertIsRefWrapper_1","_super","_newTarget","assertIsRefWrapper","errorMessage","__assign","assert_1","is_1","propertyName","errorDefineProperty","propertyDescriptor","isMatched","id_1","_extends","_objectWithoutPropertiesLoose","sourceKeys"],"sourceRoot":""} \ No newline at end of file diff --git a/_next/static/chunks/pages/budget-798a7078c7590d6f.js b/_next/static/chunks/pages/budget-798a7078c7590d6f.js deleted file mode 100644 index a416b9eb..00000000 --- a/_next/static/chunks/pages/budget-798a7078c7590d6f.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[852],{14014:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/budget",function(){return r(17699)}])},17699:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return a}});var l=r(85893),n=r(28014),s=r(9008),i=r.n(s),c=r(50242);function d(e){let t={a:"a",blockquote:"blockquote",h1:"h1",h2:"h2",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.a)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i(),{children:(0,l.jsx)("title",{children:"Budget | template"})}),"\n",(0,l.jsx)(c.ZP,{description:(0,l.jsx)(l.Fragment,{}),style:{marginBottom:20},title:(0,l.jsx)(l.Fragment,{children:"Cette page doit \xeatre mise \xe0 jour"}),severity:"info"}),"\n",(0,l.jsx)(t.h1,{children:"Budget"}),"\n",(0,l.jsx)(t.p,{children:"[xxx] est un service public num\xe9rique, c’est pourquoi nous sommes transparents sur les ressources allou\xe9es et la mani\xe8re dont elles sont employ\xe9es."}),"\n",(0,l.jsx)(t.h2,{children:"Principes"}),"\n",(0,l.jsxs)(t.p,{children:["Nous suivons ",(0,l.jsx)(t.a,{href:"https://beta.gouv.fr/manifeste",children:"le manifeste beta.gouv"})," dont nous rappelons les principes ici :"]}),"\n",(0,l.jsxs)(t.ul,{children:["\n",(0,l.jsx)(t.li,{children:"Les besoins des utilisateurs sont prioritaires sur les besoins de l’administration"}),"\n",(0,l.jsx)(t.li,{children:"Le mode de gestion de l’\xe9quipe repose sur la confiance"}),"\n",(0,l.jsx)(t.li,{children:"L’\xe9quipe adopte une approche it\xe9rative et d’am\xe9lioration en continu"}),"\n"]}),"\n",(0,l.jsx)(t.h2,{children:"Financements"}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{children:"Source"}),(0,l.jsx)(t.th,{children:"2021"}),(0,l.jsx)(t.th,{children:"2022"}),(0,l.jsx)(t.th,{children:"2023"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"xxxx"}),(0,l.jsx)(t.td,{children:"x €"}),(0,l.jsx)(t.td,{children:"x €"}),(0,l.jsx)(t.td,{children:"x €"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"yyyy"}),(0,l.jsx)(t.td,{children:"x €"}),(0,l.jsx)(t.td,{children:"x €"}),(0,l.jsx)(t.td,{children:"x €"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"TOTAL"}),(0,l.jsx)(t.td,{children:"x €"}),(0,l.jsx)(t.td,{children:"x €"}),(0,l.jsx)(t.td,{children:"x €"})]})]})]}),"\n",(0,l.jsx)(t.h2,{children:"D\xe9penses"}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{children:"Poste"}),(0,l.jsx)(t.th,{children:"2021"}),(0,l.jsx)(t.th,{children:"2022"}),(0,l.jsx)(t.th,{children:"2023"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"D\xe9veloppement"}),(0,l.jsx)(t.td,{children:"165 000 €"}),(0,l.jsx)(t.td,{children:"213 000 €"}),(0,l.jsx)(t.td,{children:"375 000 €"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"D\xe9ploiement"}),(0,l.jsx)(t.td,{children:"5 000 €"}),(0,l.jsx)(t.td,{children:"98 000 €"}),(0,l.jsx)(t.td,{children:"157 000 €"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"Design"}),(0,l.jsx)(t.td,{children:"25 000 €"}),(0,l.jsx)(t.td,{children:"25 000 €"}),(0,l.jsx)(t.td,{children:"43 000 €"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"Logiciels"}),(0,l.jsx)(t.td,{children:"-"}),(0,l.jsx)(t.td,{children:"12 000 €"}),(0,l.jsx)(t.td,{children:"12 000 €"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"H\xe9bergement"}),(0,l.jsx)(t.td,{children:"1000 €"}),(0,l.jsx)(t.td,{children:"3000 €"}),(0,l.jsx)(t.td,{children:"3000 €"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"TOTAL"}),(0,l.jsx)(t.td,{children:"XXX 000 €"}),(0,l.jsx)(t.td,{children:"XXX 000 €"}),(0,l.jsx)(t.td,{children:"XXX 000 €"})]})]})]}),"\n",(0,l.jsx)(t.h2,{children:"Co\xfbt rapport\xe9 \xe0 l'impact"}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{children:"Impact"}),(0,l.jsx)(t.th,{children:"2021"}),(0,l.jsx)(t.th,{children:"2022"}),(0,l.jsx)(t.th,{children:"2023"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"Co\xfbt d'un dossier"}),(0,l.jsx)(t.td,{children:"x €"}),(0,l.jsx)(t.td,{children:"x €"}),(0,l.jsx)(t.td,{children:"x €"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"Economies sur le papier"}),(0,l.jsx)(t.td,{children:"x €"}),(0,l.jsx)(t.td,{children:"x €"}),(0,l.jsx)(t.td,{children:"x €"})]})]})]}),"\n",(0,l.jsxs)(t.blockquote,{children:["\n",(0,l.jsxs)(t.p,{children:[(0,l.jsx)(t.strong,{children:"\xc0 propos de la TVA"})," : Contrairement aux entreprises du secteur priv\xe9, les administrations ne peuvent pas r\xe9cup\xe9rer la TVA support\xe9e sur leurs achats dans le cadre de leur activit\xe9. Le montant TTC inclut la TVA au taux de 20%. La TVA est collect\xe9e et revers\xe9e \xe0 l’\xc9tat et diminue donc le montant du budget utilisable sur le projet."]}),"\n"]})]})}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,l.jsx)(t,{...e,children:(0,l.jsx)(d,{...e})}):d(e)}},28014:function(e,t,r){"use strict";r.d(t,{a:function(){return m}});var l=r(85893),n=r(41664),s=r.n(n),i=r(67294),c=r(80405),d=r(62613),a=r(78570),o=r(60129),h=r(77458),x=r(59272),u=function(e,t){var r={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(r[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,l=Object.getOwnPropertySymbols(e);nt.indexOf(l[n])&&Object.prototype.propertyIsEnumerable.call(e,l[n])&&(r[l[n]]=e[l[n]]);return r};let j=(0,i.memo)((0,i.forwardRef)((e,t)=>{let{id:r,className:l,iconId:n,title:s,titleAs:c="h3",buttonProps:j,colorVariant:p,classes:f={},children:m,style:b}=e,y=u(e,["id","className","iconId","title","titleAs","buttonProps","colorVariant","classes","children","style"]);(0,d.assert)();let v=(0,x.t)({defaultIdPrefix:"fr-callout",explicitlyProvidedId:r});return i.createElement("div",Object.assign({id:v,className:(0,o.cx)(h.fr.cx("fr-callout",n,void 0!==p&&"fr-callout--".concat(p)),f.root,l),ref:t,style:b},y),void 0!==s&&i.createElement(c,{className:(0,o.cx)(h.fr.cx("fr-card__title"),f.title)},s),i.createElement("p",{className:(0,o.cx)(h.fr.cx("fr-callout__text"),f.text)}," ",m," "),void 0!==j&&i.createElement(a.z,Object.assign({},j,{className:(0,o.cx)(f.button,j.className)})))}));j.displayName=(0,c.r)({CallOut:j});var p=function(e,t){var r={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(r[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,l=Object.getOwnPropertySymbols(e);nt.indexOf(l[n])&&Object.prototype.propertyIsEnumerable.call(e,l[n])&&(r[l[n]]=e[l[n]]);return r};let f=(0,i.memo)((0,i.forwardRef)((e,t)=>{let{id:r,data:l,headers:n,caption:s,bordered:c=!1,noScroll:a=!1,fixed:u=!1,noCaption:j=!1,bottomCaption:f=!1,colorVariant:m,className:b,style:y}=e;p(e,["id","data","headers","caption","bordered","noScroll","fixed","noCaption","bottomCaption","colorVariant","className","style"]),(0,d.assert)();let v=(0,x.t)({defaultIdPrefix:"fr-table",explicitlyProvidedId:r});return i.createElement("div",{id:v,ref:t,style:y,className:(0,o.cx)(h.fr.cx("fr-table",{"fr-table--bordered":c,"fr-table--no-scroll":a,"fr-table--layout-fixed":u,"fr-table--no-caption":j,"fr-table--caption-bottom":f},void 0!==m&&"fr-table--".concat(m)),b)},i.createElement("table",null,void 0!==s&&i.createElement("caption",null,s),void 0!==n&&i.createElement("thead",null,i.createElement("tr",null,n.map((e,t)=>i.createElement("th",{key:t,scope:"col"},e)))),i.createElement("tbody",null,l.map((e,t)=>i.createElement("tr",{key:t},e.map((e,t)=>i.createElement("td",{key:t},e)))))))}));function m(e){return{h1:e=>{let{children:t}=e;return(0,l.jsx)("h1",{className:h.fr.cx("fr-h1"),children:t})},h2:e=>{let{children:t}=e;return(0,l.jsx)("h2",{className:h.fr.cx("fr-mt-3w","fr-h2"),children:t})},h3:e=>{let{children:t}=e;return(0,l.jsx)("h3",{className:h.fr.cx("fr-mt-3w","fr-h3"),children:t})},h4:e=>{let{children:t}=e;return(0,l.jsx)("h4",{className:h.fr.cx("fr-mt-3w","fr-h4"),children:t})},table:e=>{if(e.children&&Array.isArray(e.children)&&2===e.children.length){let[t,r]=e.children,n=t.props.children.props.children.map(e=>e.props.children),s=r.props.children.map(e=>e.props.children.map(e=>e.props.children));return(0,l.jsx)(f,{headers:n,data:s})}return(0,l.jsx)("div",{})},a:e=>{var t,r;return e.href&&((null===(t=e.href)||void 0===t?void 0:t.startsWith("http"))||(null===(r=e.href)||void 0===r?void 0:r.startsWith("//")))?(0,l.jsx)(s(),{...e,target:"_blank",rel:"noopener noreferrer"}):(0,l.jsx)(s(),{...e})},blockquote:e=>e.children&&Array.isArray(e.children)&&3===e.children.length?(0,l.jsx)(j,{children:e.children[1].props.children}):(0,l.jsx)(j,{children:e.children}),...e}}f.displayName=(0,c.r)({Table:f})},50242:function(e,t,r){"use strict";r.d(t,{bZ:function(){return x}});var l=r(67294),n=r(80405),s=r(77458),i=r(60129),c=r(62613),d=r(26463),a=r(16094),o=r(59272),h=function(e,t){var r={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(r[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,l=Object.getOwnPropertySymbols(e);nt.indexOf(l[n])&&Object.prototype.propertyIsEnumerable.call(e,l[n])&&(r[l[n]]=e[l[n]]);return r};let x=(0,l.memo)((0,l.forwardRef)((e,t)=>{let{className:r,id:n,severity:a,as:x="h3",classes:j={},style:p,small:f,title:m,description:b,closable:y=!1,isClosed:v,onClose:g}=e,O=h(e,["className","id","severity","as","classes","style","small","title","description","closable","isClosed","onClose"]);(0,c.assert)();let E=(0,o.t)({explicitlyProvidedId:n,defaultIdPrefix:"fr-alert"}),[N,w]=(0,l.useState)(null!=v&&v),[P,_]=(0,l.useState)(null),k=(0,l.useRef)(!1),C=(0,l.useRef)(!1);(0,l.useEffect)(()=>{void 0!==v&&w(e=>(e&&!v&&(k.current=!0,C.current=!0),v))},[v]),(0,l.useEffect)(()=>{k.current&&null!==P&&(k.current=!1,P.focus())},[P]);let A=(0,d.O)(()=>{void 0===v?(w(!0),null==g||g()):g()}),{t:T}=u();return N?null:l.createElement("div",Object.assign({id:E,className:(0,i.cx)(s.fr.cx("fr-alert","fr-alert--".concat(a),{"fr-alert--sm":f}),j.root,r),style:p},C.current&&{role:"alert"},{ref:t},O),void 0!==m&&l.createElement(x,{className:(0,i.cx)(s.fr.cx("fr-alert__title"),j.title)},m),l.createElement("string"==typeof b?"p":"div",{className:j.description},b),y&&l.createElement("button",{ref:_,className:(0,i.cx)(s.fr.cx("fr-link--close","fr-link"),j.close),onClick:A},T("hide message")))}));x.displayName=(0,n.r)({Alert:x}),t.ZP=x;let{useTranslation:u,addAlertTranslations:j}=(0,a.Lf)({componentName:(0,n.r)({Alert:x}),frMessages:{"hide message":"Masquer le message"}});j({lang:"en",messages:{"hide message":"Hide the message"}}),j({lang:"es",messages:{"hide message":"Occultar el mesage"}})}},function(e){e.O(0,[888,774,179],function(){return e(e.s=14014)}),_N_E=e.O()}]); -//# sourceMappingURL=budget-798a7078c7590d6f.js.map \ No newline at end of file diff --git a/_next/static/chunks/pages/budget-b47c32087b56127d.js b/_next/static/chunks/pages/budget-b47c32087b56127d.js new file mode 100644 index 00000000..067ff734 --- /dev/null +++ b/_next/static/chunks/pages/budget-b47c32087b56127d.js @@ -0,0 +1,2 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[852],{14014:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/budget",function(){return r(17699)}])},17699:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return a}});var l=r(85893),n=r(28014),s=r(9008),i=r.n(s),c=r(50242);function d(e){let t={a:"a",blockquote:"blockquote",h1:"h1",h2:"h2",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.a)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i(),{children:(0,l.jsx)("title",{children:"Budget | template"})}),"\n",(0,l.jsx)(c.ZP,{description:(0,l.jsx)(l.Fragment,{}),style:{marginBottom:20},title:(0,l.jsx)(l.Fragment,{children:"Cette page doit \xeatre mise \xe0 jour"}),severity:"info"}),"\n",(0,l.jsx)(t.h1,{children:"Budget"}),"\n",(0,l.jsx)(t.p,{children:"[xxx] est un service public num\xe9rique, c’est pourquoi nous sommes transparents sur les ressources allou\xe9es et la mani\xe8re dont elles sont employ\xe9es."}),"\n",(0,l.jsx)(t.h2,{children:"Principes"}),"\n",(0,l.jsxs)(t.p,{children:["Nous suivons ",(0,l.jsx)(t.a,{href:"https://beta.gouv.fr/manifeste",children:"le manifeste beta.gouv"})," dont nous rappelons les principes ici :"]}),"\n",(0,l.jsxs)(t.ul,{children:["\n",(0,l.jsx)(t.li,{children:"Les besoins des utilisateurs sont prioritaires sur les besoins de l’administration"}),"\n",(0,l.jsx)(t.li,{children:"Le mode de gestion de l’\xe9quipe repose sur la confiance"}),"\n",(0,l.jsx)(t.li,{children:"L’\xe9quipe adopte une approche it\xe9rative et d’am\xe9lioration en continu"}),"\n"]}),"\n",(0,l.jsx)(t.h2,{children:"Financements"}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{children:"Source"}),(0,l.jsx)(t.th,{style:{textAlign:"right"},children:"2021"}),(0,l.jsx)(t.th,{style:{textAlign:"right"},children:"2022"}),(0,l.jsx)(t.th,{style:{textAlign:"right"},children:"2023"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"xxxx"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"x €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"x €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"x €"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"yyyy"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"x €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"x €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"x €"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"TOTAL"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"x €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"x €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"x €"})]})]})]}),"\n",(0,l.jsx)(t.h2,{children:"D\xe9penses"}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{children:"Poste"}),(0,l.jsx)(t.th,{style:{textAlign:"right"},children:"2021"}),(0,l.jsx)(t.th,{style:{textAlign:"right"},children:"2022"}),(0,l.jsx)(t.th,{style:{textAlign:"right"},children:"2023"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"D\xe9veloppement"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"165 000 €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"213 000 €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"375 000 €"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"D\xe9ploiement"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"5 000 €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"98 000 €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"157 000 €"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"Design"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"25 000 €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"25 000 €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"43 000 €"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"Logiciels"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"-"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"12 000 €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"12 000 €"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"H\xe9bergement"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"1 000 €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"3 000 €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"3 000 €"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"TOTAL"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"XXX 000 €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"XXX 000 €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"XXX 000 €"})]})]})]}),"\n",(0,l.jsx)(t.h2,{children:"Co\xfbt rapport\xe9 \xe0 l'impact"}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{children:"Impact"}),(0,l.jsx)(t.th,{style:{textAlign:"right"},children:"2021"}),(0,l.jsx)(t.th,{style:{textAlign:"right"},children:"2022"}),(0,l.jsx)(t.th,{style:{textAlign:"right"},children:"2023"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"Co\xfbt d'un dossier"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"x €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"x €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"x €"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{children:"Economies sur le papier"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"x €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"x €"}),(0,l.jsx)(t.td,{style:{textAlign:"right"},children:"x €"})]})]})]}),"\n",(0,l.jsxs)(t.blockquote,{children:["\n",(0,l.jsxs)(t.p,{children:[(0,l.jsx)(t.strong,{children:"\xc0 propos de la TVA"})," : Contrairement aux entreprises du secteur priv\xe9, les administrations ne peuvent pas r\xe9cup\xe9rer la TVA support\xe9e sur leurs achats dans le cadre de leur activit\xe9. Le montant TTC inclut la TVA au taux de 20%. La TVA est collect\xe9e et revers\xe9e \xe0 l’\xc9tat et diminue donc le montant du budget utilisable sur le projet."]}),"\n"]})]})}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,l.jsx)(t,{...e,children:(0,l.jsx)(d,{...e})}):d(e)}},28014:function(e,t,r){"use strict";r.d(t,{a:function(){return f}});var l=r(85893),n=r(41664),s=r.n(n),i=r(67294),c=r(80405),d=r(62613),a=r(78570),h=r(60129),o=r(77458),x=r(59272),u=function(e,t){var r={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(r[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,l=Object.getOwnPropertySymbols(e);nt.indexOf(l[n])&&Object.prototype.propertyIsEnumerable.call(e,l[n])&&(r[l[n]]=e[l[n]]);return r};let g=(0,i.memo)((0,i.forwardRef)((e,t)=>{let{id:r,className:l,iconId:n,title:s,titleAs:c="h3",buttonProps:g,colorVariant:j,classes:p={},children:f,style:m}=e,y=u(e,["id","className","iconId","title","titleAs","buttonProps","colorVariant","classes","children","style"]);(0,d.assert)();let b=(0,x.t)({defaultIdPrefix:"fr-callout",explicitlyProvidedId:r});return i.createElement("div",Object.assign({id:b,className:(0,h.cx)(o.fr.cx("fr-callout",n,void 0!==j&&"fr-callout--".concat(j)),p.root,l),ref:t,style:m},y),void 0!==s&&i.createElement(c,{className:(0,h.cx)(o.fr.cx("fr-card__title"),p.title)},s),i.createElement("p",{className:(0,h.cx)(o.fr.cx("fr-callout__text"),p.text)}," ",f," "),void 0!==g&&i.createElement(a.z,Object.assign({},g,{className:(0,h.cx)(p.button,g.className)})))}));g.displayName=(0,c.r)({CallOut:g});var j=function(e,t){var r={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(r[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,l=Object.getOwnPropertySymbols(e);nt.indexOf(l[n])&&Object.prototype.propertyIsEnumerable.call(e,l[n])&&(r[l[n]]=e[l[n]]);return r};let p=(0,i.memo)((0,i.forwardRef)((e,t)=>{let{id:r,data:l,headers:n,caption:s,bordered:c=!1,noScroll:a=!1,fixed:u=!1,noCaption:g=!1,bottomCaption:p=!1,colorVariant:f,className:m,style:y}=e;j(e,["id","data","headers","caption","bordered","noScroll","fixed","noCaption","bottomCaption","colorVariant","className","style"]),(0,d.assert)();let b=(0,x.t)({defaultIdPrefix:"fr-table",explicitlyProvidedId:r});return i.createElement("div",{id:b,ref:t,style:y,className:(0,h.cx)(o.fr.cx("fr-table",{"fr-table--bordered":c,"fr-table--no-scroll":a,"fr-table--layout-fixed":u,"fr-table--no-caption":g,"fr-table--caption-bottom":p},void 0!==f&&"fr-table--".concat(f)),m)},i.createElement("table",null,void 0!==s&&i.createElement("caption",null,s),void 0!==n&&i.createElement("thead",null,i.createElement("tr",null,n.map((e,t)=>i.createElement("th",{key:t,scope:"col"},e)))),i.createElement("tbody",null,l.map((e,t)=>i.createElement("tr",{key:t},e.map((e,t)=>i.createElement("td",{key:t},e)))))))}));function f(e){return{h1:e=>{let{children:t}=e;return(0,l.jsx)("h1",{className:o.fr.cx("fr-h1"),children:t})},h2:e=>{let{children:t}=e;return(0,l.jsx)("h2",{className:o.fr.cx("fr-mt-3w","fr-h2"),children:t})},h3:e=>{let{children:t}=e;return(0,l.jsx)("h3",{className:o.fr.cx("fr-mt-3w","fr-h3"),children:t})},h4:e=>{let{children:t}=e;return(0,l.jsx)("h4",{className:o.fr.cx("fr-mt-3w","fr-h4"),children:t})},table:e=>{if(e.children&&Array.isArray(e.children)&&2===e.children.length){let[t,r]=e.children,n=t.props.children.props.children.map(e=>e.props.children),s=r.props.children.map(e=>e.props.children.map(e=>e.props.children));return(0,l.jsx)(p,{headers:n,data:s})}return(0,l.jsx)("div",{})},a:e=>{var t,r;return e.href&&((null===(t=e.href)||void 0===t?void 0:t.startsWith("http"))||(null===(r=e.href)||void 0===r?void 0:r.startsWith("//")))?(0,l.jsx)(s(),{...e,target:"_blank",rel:"noopener noreferrer"}):(0,l.jsx)(s(),{...e})},blockquote:e=>e.children&&Array.isArray(e.children)&&3===e.children.length?(0,l.jsx)(g,{children:e.children[1].props.children}):(0,l.jsx)(g,{children:e.children}),...e}}p.displayName=(0,c.r)({Table:p})},50242:function(e,t,r){"use strict";r.d(t,{bZ:function(){return x}});var l=r(67294),n=r(80405),s=r(77458),i=r(60129),c=r(62613),d=r(26463),a=r(16094),h=r(59272),o=function(e,t){var r={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(r[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,l=Object.getOwnPropertySymbols(e);nt.indexOf(l[n])&&Object.prototype.propertyIsEnumerable.call(e,l[n])&&(r[l[n]]=e[l[n]]);return r};let x=(0,l.memo)((0,l.forwardRef)((e,t)=>{let{className:r,id:n,severity:a,as:x="h3",classes:g={},style:j,small:p,title:f,description:m,closable:y=!1,isClosed:b,onClose:A}=e,v=o(e,["className","id","severity","as","classes","style","small","title","description","closable","isClosed","onClose"]);(0,c.assert)();let O=(0,h.t)({explicitlyProvidedId:n,defaultIdPrefix:"fr-alert"}),[E,N]=(0,l.useState)(null!=b&&b),[w,P]=(0,l.useState)(null),_=(0,l.useRef)(!1),k=(0,l.useRef)(!1);(0,l.useEffect)(()=>{void 0!==b&&N(e=>(e&&!b&&(_.current=!0,k.current=!0),b))},[b]),(0,l.useEffect)(()=>{_.current&&null!==w&&(_.current=!1,w.focus())},[w]);let C=(0,d.O)(()=>{void 0===b?(N(!0),null==A||A()):A()}),{t:T}=u();return E?null:l.createElement("div",Object.assign({id:O,className:(0,i.cx)(s.fr.cx("fr-alert","fr-alert--".concat(a),{"fr-alert--sm":p}),g.root,r),style:j},k.current&&{role:"alert"},{ref:t},v),void 0!==f&&l.createElement(x,{className:(0,i.cx)(s.fr.cx("fr-alert__title"),g.title)},f),l.createElement("string"==typeof m?"p":"div",{className:g.description},m),y&&l.createElement("button",{ref:P,className:(0,i.cx)(s.fr.cx("fr-link--close","fr-link"),g.close),onClick:C},T("hide message")))}));x.displayName=(0,n.r)({Alert:x}),t.ZP=x;let{useTranslation:u,addAlertTranslations:g}=(0,a.Lf)({componentName:(0,n.r)({Alert:x}),frMessages:{"hide message":"Masquer le message"}});g({lang:"en",messages:{"hide message":"Hide the message"}}),g({lang:"es",messages:{"hide message":"Occultar el mesage"}})}},function(e){e.O(0,[888,774,179],function(){return e(e.s=14014)}),_N_E=e.O()}]); +//# sourceMappingURL=budget-b47c32087b56127d.js.map \ No newline at end of file diff --git a/_next/static/chunks/pages/budget-798a7078c7590d6f.js.map b/_next/static/chunks/pages/budget-b47c32087b56127d.js.map similarity index 97% rename from _next/static/chunks/pages/budget-798a7078c7590d6f.js.map rename to _next/static/chunks/pages/budget-b47c32087b56127d.js.map index e61a9ef6..7d5f86ec 100644 --- a/_next/static/chunks/pages/budget-798a7078c7590d6f.js.map +++ b/_next/static/chunks/pages/budget-b47c32087b56127d.js.map @@ -1 +1 @@ -{"version":3,"file":"static/chunks/pages/budget-798a7078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AW,EAAIA,GACxEE,GAAe3D,EAAAA,aAAmB,CAAC,SAAU,CAAEhB,IAAKkF,EAAkB/E,UAAWe,CAAAA,EAAAA,EAAAA,EAAAA,EAAGC,EAAAA,EAAEA,CAACD,EAAE,CAAC,iBAAkB,WAAYR,EAAQkF,KAAK,EAAGC,QAASJ,CAAmB,EAAGxG,EAAE,iBACjL,GACAmF,CAAAA,EAAM1C,WAAW,CAAGC,CAAAA,EAAAA,EAAAA,CAAAA,EAAS,CAAEyC,MAAAA,CAAM,GACrC0B,EAAAC,EAAA,CAAe3B,EACf,GAAM,CAAEuB,eAAAA,CAAc,CAAEK,qBAAAA,CAAoB,CAAE,CAAGC,CAAAA,EAAAA,EAAAA,EAAAA,EAAuB,CACpE,cAAiBtE,CAAAA,EAAAA,EAAAA,CAAAA,EAAS,CAAEyC,MAAAA,CAAM,GAClC,WAAc,CAEV,eAAgB,oBAEpB,CACJ,GACA4B,EAAqB,CACjB,KAAQ,KACR,SAAY,CACR,eAAgB,kBACpB,CACJ,GACAA,EAAqB,CACjB,KAAQ,KACR,SAAY,CAER,eAAgB,oBAEpB,CACJ","sources":["webpack://_N_E/?120f","webpack://_N_E/./src/pages/budget.mdx","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/CallOut.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Table.js","webpack://_N_E/./mdx-components.tsx","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Alert.js","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/budget\",\n function () {\n return require(\"private-next-pages/budget.mdx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/budget\"])\n });\n }\n ",null,"var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef } from \"react\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { assert } from \"tsafe/assert\";\nimport { Button } from \"./Button\";\nimport { cx } from \"./tools/cx\";\nimport { fr } from \"./fr\";\nimport { useAnalyticsId } from \"./tools/useAnalyticsId\";\n/** @see */\nexport const CallOut = memo(forwardRef((props, ref) => {\n const { id: props_id, className, iconId, title, titleAs: HtmlTitleTag = \"h3\", buttonProps, colorVariant, classes = {}, children, style } = props, rest = __rest(props, [\"id\", \"className\", \"iconId\", \"title\", \"titleAs\", \"buttonProps\", \"colorVariant\", \"classes\", \"children\", \"style\"]);\n assert();\n const id = useAnalyticsId({\n \"defaultIdPrefix\": \"fr-callout\",\n \"explicitlyProvidedId\": props_id\n });\n return (React.createElement(\"div\", Object.assign({ id: id, className: cx(fr.cx(\"fr-callout\", iconId, colorVariant !== undefined && `fr-callout--${colorVariant}`), classes.root, className), ref: ref, style: style }, rest),\n title !== undefined && (React.createElement(HtmlTitleTag, { className: cx(fr.cx(\"fr-card__title\"), classes.title) }, title)),\n React.createElement(\"p\", { className: cx(fr.cx(\"fr-callout__text\"), classes.text) },\n \" \",\n children,\n \" \"),\n buttonProps !== undefined && (React.createElement(Button, Object.assign({}, buttonProps, { className: cx(classes.button, buttonProps.className) })))));\n}));\nCallOut.displayName = symToStr({ CallOut });\nexport default CallOut;\n//# sourceMappingURL=CallOut.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { forwardRef, memo } from \"react\";\nimport { assert } from \"tsafe/assert\";\nimport { fr } from \"./fr\";\nimport { cx } from \"./tools/cx\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { useAnalyticsId } from \"./tools/useAnalyticsId\";\n/** @see */\nexport const Table = memo(forwardRef((props, ref) => {\n const { id: id_props, data, headers, caption, bordered = false, noScroll = false, fixed = false, noCaption = false, bottomCaption = false, colorVariant, className, style } = props, rest = __rest(props, [\"id\", \"data\", \"headers\", \"caption\", \"bordered\", \"noScroll\", \"fixed\", \"noCaption\", \"bottomCaption\", \"colorVariant\", \"className\", \"style\"]);\n assert();\n const id = useAnalyticsId({\n \"defaultIdPrefix\": \"fr-table\",\n \"explicitlyProvidedId\": id_props\n });\n return (React.createElement(\"div\", { id: id, ref: ref, style: style, className: cx(fr.cx(\"fr-table\", {\n \"fr-table--bordered\": bordered,\n \"fr-table--no-scroll\": noScroll,\n \"fr-table--layout-fixed\": fixed,\n \"fr-table--no-caption\": noCaption,\n \"fr-table--caption-bottom\": bottomCaption\n }, colorVariant !== undefined && `fr-table--${colorVariant}`), className) },\n React.createElement(\"table\", null,\n caption !== undefined && React.createElement(\"caption\", null, caption),\n headers !== undefined && (React.createElement(\"thead\", null,\n React.createElement(\"tr\", null, headers.map((header, i) => (React.createElement(\"th\", { key: i, scope: \"col\" }, header)))))),\n React.createElement(\"tbody\", null, data.map((row, i) => (React.createElement(\"tr\", { key: i }, row.map((col, j) => (React.createElement(\"td\", { key: j }, col))))))))));\n}));\nTable.displayName = symToStr({ Table });\nexport default Table;\n//# sourceMappingURL=Table.js.map","import type { MDXComponents } from \"mdx/types\";\nimport Image, { ImageProps } from \"next/image\";\nimport Link from \"next/link\";\n\nimport { CallOut } from \"@codegouvfr/react-dsfr/CallOut\";\nimport { Table } from \"@codegouvfr/react-dsfr/Table\";\nimport { fr } from \"@codegouvfr/react-dsfr\";\n\n// customize how MDX components are rendered - use DSFR components when possible\nexport function useMDXComponents(components: MDXComponents): MDXComponents {\n return {\n h1: ({ children }) =>

{children}

,\n h2: ({ children }) => (\n

{children}

\n ),\n h3: ({ children }) => (\n

{children}

\n ),\n h4: ({ children }) => (\n

{children}

\n ),\n // @ts-ignore\n table: (props) => {\n if (\n props.children &&\n Array.isArray(props.children) &&\n props.children.length === 2\n ) {\n const [head, body] = props.children;\n const headers = head.props.children.props.children.map(\n (child: any) => child.props.children\n );\n const data = body.props.children.map((row: any) =>\n row.props.children.map((cell: any) => cell.props.children)\n );\n return ;\n }\n return
;\n },\n a: (props) => {\n if (\n props.href &&\n (props.href?.startsWith(\"http\") || props.href?.startsWith(\"//\"))\n ) {\n //@ts-ignore\n return ;\n }\n //@ts-ignore\n return ;\n },\n blockquote: (props) => {\n if (\n props.children &&\n Array.isArray(props.children) &&\n props.children.length === 3\n ) {\n return {props.children[1].props.children};\n }\n return {props.children};\n },\n ...components,\n };\n}\n","\"use client\";\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef, useState, useEffect, useRef } from \"react\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { fr } from \"./fr\";\nimport { cx } from \"./tools/cx\";\nimport { assert } from \"tsafe/assert\";\nimport { useConstCallback } from \"./tools/powerhooks/useConstCallback\";\nimport { createComponentI18nApi } from \"./i18n\";\nimport { useAnalyticsId } from \"./tools/useAnalyticsId\";\n/** @see */\nexport const Alert = memo(forwardRef((props, ref) => {\n const { className, id: id_props, severity, as: HtmlTitleTag = \"h3\", classes = {}, style, small: isSmall, title, description, closable: isClosable = false, isClosed: props_isClosed, onClose } = props, rest = __rest(props, [\"className\", \"id\", \"severity\", \"as\", \"classes\", \"style\", \"small\", \"title\", \"description\", \"closable\", \"isClosed\", \"onClose\"]);\n assert();\n const id = useAnalyticsId({\n \"explicitlyProvidedId\": id_props,\n \"defaultIdPrefix\": \"fr-alert\"\n });\n const [isClosed, setIsClosed] = useState(props_isClosed !== null && props_isClosed !== void 0 ? props_isClosed : false);\n const [buttonElement, setButtonElement] = useState(null);\n const refShouldButtonGetFocus = useRef(false);\n const refShouldSetRole = useRef(false);\n const DescriptionTag = typeof description === \"string\" ? \"p\" : \"div\";\n useEffect(() => {\n if (props_isClosed === undefined) {\n return;\n }\n setIsClosed(isClosed => {\n if (isClosed && !props_isClosed) {\n refShouldButtonGetFocus.current = true;\n refShouldSetRole.current = true;\n }\n return props_isClosed;\n });\n }, [props_isClosed]);\n useEffect(() => {\n if (!refShouldButtonGetFocus.current) {\n return;\n }\n if (buttonElement === null) {\n //NOTE: This should not be reachable\n return;\n }\n refShouldButtonGetFocus.current = false;\n buttonElement.focus();\n }, [buttonElement]);\n const onCloseButtonClick = useConstCallback(() => {\n if (props_isClosed === undefined) {\n //Uncontrolled\n setIsClosed(true);\n onClose === null || onClose === void 0 ? void 0 : onClose();\n }\n else {\n //Controlled\n onClose();\n }\n });\n const { t } = useTranslation();\n if (isClosed) {\n return null;\n }\n return (React.createElement(\"div\", Object.assign({ id: id, className: cx(fr.cx(\"fr-alert\", `fr-alert--${severity}`, { \"fr-alert--sm\": isSmall }), classes.root, className), style: style }, (refShouldSetRole.current && { \"role\": \"alert\" }), { ref: ref }, rest),\n title !== undefined && (React.createElement(HtmlTitleTag, { className: cx(fr.cx(\"fr-alert__title\"), classes.title) }, title)),\n React.createElement(DescriptionTag, { className: classes.description }, description),\n isClosable && (React.createElement(\"button\", { ref: setButtonElement, className: cx(fr.cx(\"fr-link--close\", \"fr-link\"), classes.close), onClick: onCloseButtonClick }, t(\"hide message\")))));\n}));\nAlert.displayName = symToStr({ Alert });\nexport default Alert;\nconst { useTranslation, addAlertTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ Alert }),\n \"frMessages\": {\n /* spell-checker: disable */\n \"hide message\": \"Masquer le message\"\n /* spell-checker: enable */\n }\n});\naddAlertTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"hide message\": \"Hide the message\"\n }\n});\naddAlertTranslations({\n \"lang\": \"es\",\n \"messages\": {\n /* spell-checker: disable */\n \"hide message\": \"Occultar el mesage\"\n /* spell-checker: enable */\n }\n});\nexport { addAlertTranslations };\n//# sourceMappingURL=Alert.js.map"],"names":["window","__NEXT_P","push","__webpack_require__","marginBottom","_jsx","_components","a","__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","CallOut","memo","forwardRef","props","ref","id","props_id","className","iconId","title","titleAs","HtmlTitleTag","buttonProps","colorVariant","classes","children","style","rest","assert","useAnalyticsId","React","assign","cx","fr","undefined","concat","root","text","Button","button","displayName","symToStr","Table","id_props","data","headers","caption","bordered","noScroll","fixed","noCaption","bottomCaption","map","header","key","scope","row","col","j","useMDXComponents","components","h1","param","jsx_runtime","jsx","h2","h3","h4","table","Array","isArray","head","body","child","cell","div","href","startsWith","Link","target","rel","blockquote","Alert","severity","as","small","isSmall","description","closable","isClosable","isClosed","props_isClosed","onClose","setIsClosed","useState","buttonElement","setButtonElement","refShouldButtonGetFocus","useRef","refShouldSetRole","useEffect","current","focus","onCloseButtonClick","useConstCallback","useTranslation","close","onClick","__webpack_exports__","ZP","addAlertTranslations","createComponentI18nApi"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/chunks/pages/budget-b47c32087b56127d.js","mappings":"qFACA,CAAAA,OAAAC,QAAA,CAAAD,OAAAC,QAAA,MAAAC,IAAA,EACA,UACA,WACA,OAAeC,EAAQ,MACvB,EACA,+aCFS,yFAKEC,aAAc,yCACd,2FAIT,wCAEF,kMAEG,6CAEH,gBAAAC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AAK,EAAGC,QAASJ,CAAmB,EAAGxG,EAAE,iBACjL,GACAmF,CAAAA,EAAM1C,WAAW,CAAGC,CAAAA,EAAAA,EAAAA,CAAAA,EAAS,CAAEyC,MAAAA,CAAM,GACrC0B,EAAAC,EAAA,CAAe3B,EACf,GAAM,CAAEuB,eAAAA,CAAc,CAAEK,qBAAAA,CAAoB,CAAE,CAAGC,CAAAA,EAAAA,EAAAA,EAAAA,EAAuB,CACpE,cAAiBtE,CAAAA,EAAAA,EAAAA,CAAAA,EAAS,CAAEyC,MAAAA,CAAM,GAClC,WAAc,CAEV,eAAgB,oBAEpB,CACJ,GACA4B,EAAqB,CACjB,KAAQ,KACR,SAAY,CACR,eAAgB,kBACpB,CACJ,GACAA,EAAqB,CACjB,KAAQ,KACR,SAAY,CAER,eAAgB,oBAEpB,CACJ","sources":["webpack://_N_E/?120f","webpack://_N_E/./src/pages/budget.mdx","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/CallOut.js","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Table.js","webpack://_N_E/./mdx-components.tsx","webpack://_N_E/./node_modules/@codegouvfr/react-dsfr/Alert.js","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/budget\",\n function () {\n return require(\"private-next-pages/budget.mdx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/budget\"])\n });\n }\n ",null,"var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef } from \"react\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { assert } from \"tsafe/assert\";\nimport { Button } from \"./Button\";\nimport { cx } from \"./tools/cx\";\nimport { fr } from \"./fr\";\nimport { useAnalyticsId } from \"./tools/useAnalyticsId\";\n/** @see */\nexport const CallOut = memo(forwardRef((props, ref) => {\n const { id: props_id, className, iconId, title, titleAs: HtmlTitleTag = \"h3\", buttonProps, colorVariant, classes = {}, children, style } = props, rest = __rest(props, [\"id\", \"className\", \"iconId\", \"title\", \"titleAs\", \"buttonProps\", \"colorVariant\", \"classes\", \"children\", \"style\"]);\n assert();\n const id = useAnalyticsId({\n \"defaultIdPrefix\": \"fr-callout\",\n \"explicitlyProvidedId\": props_id\n });\n return (React.createElement(\"div\", Object.assign({ id: id, className: cx(fr.cx(\"fr-callout\", iconId, colorVariant !== undefined && `fr-callout--${colorVariant}`), classes.root, className), ref: ref, style: style }, rest),\n title !== undefined && (React.createElement(HtmlTitleTag, { className: cx(fr.cx(\"fr-card__title\"), classes.title) }, title)),\n React.createElement(\"p\", { className: cx(fr.cx(\"fr-callout__text\"), classes.text) },\n \" \",\n children,\n \" \"),\n buttonProps !== undefined && (React.createElement(Button, Object.assign({}, buttonProps, { className: cx(classes.button, buttonProps.className) })))));\n}));\nCallOut.displayName = symToStr({ CallOut });\nexport default CallOut;\n//# sourceMappingURL=CallOut.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { forwardRef, memo } from \"react\";\nimport { assert } from \"tsafe/assert\";\nimport { fr } from \"./fr\";\nimport { cx } from \"./tools/cx\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { useAnalyticsId } from \"./tools/useAnalyticsId\";\n/** @see */\nexport const Table = memo(forwardRef((props, ref) => {\n const { id: id_props, data, headers, caption, bordered = false, noScroll = false, fixed = false, noCaption = false, bottomCaption = false, colorVariant, className, style } = props, rest = __rest(props, [\"id\", \"data\", \"headers\", \"caption\", \"bordered\", \"noScroll\", \"fixed\", \"noCaption\", \"bottomCaption\", \"colorVariant\", \"className\", \"style\"]);\n assert();\n const id = useAnalyticsId({\n \"defaultIdPrefix\": \"fr-table\",\n \"explicitlyProvidedId\": id_props\n });\n return (React.createElement(\"div\", { id: id, ref: ref, style: style, className: cx(fr.cx(\"fr-table\", {\n \"fr-table--bordered\": bordered,\n \"fr-table--no-scroll\": noScroll,\n \"fr-table--layout-fixed\": fixed,\n \"fr-table--no-caption\": noCaption,\n \"fr-table--caption-bottom\": bottomCaption\n }, colorVariant !== undefined && `fr-table--${colorVariant}`), className) },\n React.createElement(\"table\", null,\n caption !== undefined && React.createElement(\"caption\", null, caption),\n headers !== undefined && (React.createElement(\"thead\", null,\n React.createElement(\"tr\", null, headers.map((header, i) => (React.createElement(\"th\", { key: i, scope: \"col\" }, header)))))),\n React.createElement(\"tbody\", null, data.map((row, i) => (React.createElement(\"tr\", { key: i }, row.map((col, j) => (React.createElement(\"td\", { key: j }, col))))))))));\n}));\nTable.displayName = symToStr({ Table });\nexport default Table;\n//# sourceMappingURL=Table.js.map","import type { MDXComponents } from \"mdx/types\";\nimport Image, { ImageProps } from \"next/image\";\nimport Link from \"next/link\";\n\nimport { CallOut } from \"@codegouvfr/react-dsfr/CallOut\";\nimport { Table } from \"@codegouvfr/react-dsfr/Table\";\nimport { fr } from \"@codegouvfr/react-dsfr\";\n\n// customize how MDX components are rendered - use DSFR components when possible\nexport function useMDXComponents(components: MDXComponents): MDXComponents {\n return {\n h1: ({ children }) =>

{children}

,\n h2: ({ children }) => (\n

{children}

\n ),\n h3: ({ children }) => (\n

{children}

\n ),\n h4: ({ children }) => (\n

{children}

\n ),\n // @ts-ignore\n table: (props) => {\n if (\n props.children &&\n Array.isArray(props.children) &&\n props.children.length === 2\n ) {\n const [head, body] = props.children;\n const headers = head.props.children.props.children.map(\n (child: any) => child.props.children\n );\n const data = body.props.children.map((row: any) =>\n row.props.children.map((cell: any) => cell.props.children)\n );\n return
;\n }\n return
;\n },\n a: (props) => {\n if (\n props.href &&\n (props.href?.startsWith(\"http\") || props.href?.startsWith(\"//\"))\n ) {\n //@ts-ignore\n return ;\n }\n //@ts-ignore\n return ;\n },\n blockquote: (props) => {\n if (\n props.children &&\n Array.isArray(props.children) &&\n props.children.length === 3\n ) {\n return {props.children[1].props.children};\n }\n return {props.children};\n },\n ...components,\n };\n}\n","\"use client\";\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { memo, forwardRef, useState, useEffect, useRef } from \"react\";\nimport { symToStr } from \"tsafe/symToStr\";\nimport { fr } from \"./fr\";\nimport { cx } from \"./tools/cx\";\nimport { assert } from \"tsafe/assert\";\nimport { useConstCallback } from \"./tools/powerhooks/useConstCallback\";\nimport { createComponentI18nApi } from \"./i18n\";\nimport { useAnalyticsId } from \"./tools/useAnalyticsId\";\n/** @see */\nexport const Alert = memo(forwardRef((props, ref) => {\n const { className, id: id_props, severity, as: HtmlTitleTag = \"h3\", classes = {}, style, small: isSmall, title, description, closable: isClosable = false, isClosed: props_isClosed, onClose } = props, rest = __rest(props, [\"className\", \"id\", \"severity\", \"as\", \"classes\", \"style\", \"small\", \"title\", \"description\", \"closable\", \"isClosed\", \"onClose\"]);\n assert();\n const id = useAnalyticsId({\n \"explicitlyProvidedId\": id_props,\n \"defaultIdPrefix\": \"fr-alert\"\n });\n const [isClosed, setIsClosed] = useState(props_isClosed !== null && props_isClosed !== void 0 ? props_isClosed : false);\n const [buttonElement, setButtonElement] = useState(null);\n const refShouldButtonGetFocus = useRef(false);\n const refShouldSetRole = useRef(false);\n const DescriptionTag = typeof description === \"string\" ? \"p\" : \"div\";\n useEffect(() => {\n if (props_isClosed === undefined) {\n return;\n }\n setIsClosed(isClosed => {\n if (isClosed && !props_isClosed) {\n refShouldButtonGetFocus.current = true;\n refShouldSetRole.current = true;\n }\n return props_isClosed;\n });\n }, [props_isClosed]);\n useEffect(() => {\n if (!refShouldButtonGetFocus.current) {\n return;\n }\n if (buttonElement === null) {\n //NOTE: This should not be reachable\n return;\n }\n refShouldButtonGetFocus.current = false;\n buttonElement.focus();\n }, [buttonElement]);\n const onCloseButtonClick = useConstCallback(() => {\n if (props_isClosed === undefined) {\n //Uncontrolled\n setIsClosed(true);\n onClose === null || onClose === void 0 ? void 0 : onClose();\n }\n else {\n //Controlled\n onClose();\n }\n });\n const { t } = useTranslation();\n if (isClosed) {\n return null;\n }\n return (React.createElement(\"div\", Object.assign({ id: id, className: cx(fr.cx(\"fr-alert\", `fr-alert--${severity}`, { \"fr-alert--sm\": isSmall }), classes.root, className), style: style }, (refShouldSetRole.current && { \"role\": \"alert\" }), { ref: ref }, rest),\n title !== undefined && (React.createElement(HtmlTitleTag, { className: cx(fr.cx(\"fr-alert__title\"), classes.title) }, title)),\n React.createElement(DescriptionTag, { className: classes.description }, description),\n isClosable && (React.createElement(\"button\", { ref: setButtonElement, className: cx(fr.cx(\"fr-link--close\", \"fr-link\"), classes.close), onClick: onCloseButtonClick }, t(\"hide message\")))));\n}));\nAlert.displayName = symToStr({ Alert });\nexport default Alert;\nconst { useTranslation, addAlertTranslations } = createComponentI18nApi({\n \"componentName\": symToStr({ Alert }),\n \"frMessages\": {\n /* spell-checker: disable */\n \"hide message\": \"Masquer le message\"\n /* spell-checker: enable */\n }\n});\naddAlertTranslations({\n \"lang\": \"en\",\n \"messages\": {\n \"hide message\": \"Hide the message\"\n }\n});\naddAlertTranslations({\n \"lang\": \"es\",\n \"messages\": {\n /* spell-checker: disable */\n \"hide message\": \"Occultar el mesage\"\n /* spell-checker: enable */\n }\n});\nexport { addAlertTranslations };\n//# sourceMappingURL=Alert.js.map"],"names":["window","__NEXT_P","push","__webpack_require__","marginBottom","_jsx","_components","a","__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","CallOut","memo","forwardRef","props","ref","id","props_id","className","iconId","title","titleAs","HtmlTitleTag","buttonProps","colorVariant","classes","children","style","rest","assert","useAnalyticsId","React","assign","cx","fr","undefined","concat","root","text","Button","button","displayName","symToStr","Table","id_props","data","headers","caption","bordered","noScroll","fixed","noCaption","bottomCaption","map","header","key","scope","row","col","j","useMDXComponents","components","h1","param","jsx_runtime","jsx","h2","h3","h4","table","Array","isArray","head","body","child","cell","div","href","startsWith","Link","target","rel","blockquote","Alert","severity","as","small","isSmall","description","closable","isClosable","isClosed","props_isClosed","onClose","setIsClosed","useState","buttonElement","setButtonElement","refShouldButtonGetFocus","useRef","refShouldSetRole","useEffect","current","focus","onCloseButtonClick","useConstCallback","useTranslation","close","onClick","__webpack_exports__","ZP","addAlertTranslations","createComponentI18nApi"],"sourceRoot":""} \ No newline at end of file diff --git a/accessibilite.html b/accessibilite.html index 9b949f60..51bc21c0 100644 --- a/accessibilite.html +++ b/accessibilite.html @@ -110,7 +110,7 @@ frame-src 'self' *.gouv.fr; style-src 'self' 'unsafe-inline'; font-src 'self' data: blob:; -"/>Déclaration d’accessibilité | template

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.
+"/>Déclaration d’accessibilité | template

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.

Cette page doit être mise à jour

Déclaration d’accessibilité

[SPONSOR] s’engage à rendre son service accessible conformément à l’article 47 de la loi n° 2005-102 du 11 février 2005.

@@ -158,4 +158,4 @@

En savoir plus sur l’accessibilité

Comme exemple de contenu, vous pouvez indiquer les informations suivantes : Le site officiel d’information administrative pour les entreprises. -

\ No newline at end of file +

\ No newline at end of file diff --git a/aide.html b/aide.html index 6ef2f319..163c5bd8 100644 --- a/aide.html +++ b/aide.html @@ -110,7 +110,7 @@ frame-src 'self' *.gouv.fr; style-src 'self' 'unsafe-inline'; font-src 'self' data: blob:; -"/>Aide | template

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.
+"/>Aide | template

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.

Cette page doit être mise à jour

Page d'aide

Comment nous contacter

@@ -124,4 +124,4 @@

Question 2

Comme exemple de contenu, vous pouvez indiquer les informations suivantes : Le site officiel d’information administrative pour les entreprises. -

\ No newline at end of file +

\ No newline at end of file diff --git a/article.html b/article.html index ef1ce035..6a9ae6dc 100644 --- a/article.html +++ b/article.html @@ -110,7 +110,7 @@ frame-src 'self' *.gouv.fr; style-src 'self' 'unsafe-inline'; font-src 'self' data: blob:; -"/>Titre article | template

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.
+"/>Titre article | template

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.

Page au format Markdown(X)

C'est du texte, que l'on peut éditer facilement et enrichir avec des composants. voir la source de cette page

Du texte

@@ -133,4 +133,4 @@

Liens

Comme exemple de contenu, vous pouvez indiquer les informations suivantes : Le site officiel d’information administrative pour les entreprises. -

\ No newline at end of file +

\ No newline at end of file diff --git a/budget.html b/budget.html index be1eb530..debbd8e5 100644 --- a/budget.html +++ b/budget.html @@ -110,7 +110,7 @@ frame-src 'self' *.gouv.fr; style-src 'self' 'unsafe-inline'; font-src 'self' data: blob:; -"/>Budget | template

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.
+"/>Budget | template

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.

Cette page doit être mise à jour

Budget

[xxx] est un service public numérique, c’est pourquoi nous sommes transparents sur les ressources allouées et la manière dont elles sont employées.

@@ -124,7 +124,7 @@

Principes

Financements

Source202120222023
xxxxx €x €x €
yyyyx €x €x €
TOTALx €x €x €

Dépenses

-
Poste202120222023
Développement165 000 €213 000 €375 000 €
Déploiement5 000 €98 000 €157 000 €
Design25 000 €25 000 €43 000 €
Logiciels-12 000 €12 000 €
Hébergement1000 €3000 €3000 €
TOTALXXX 000 €XXX 000 €XXX 000 €
+
Poste202120222023
Développement165 000 €213 000 €375 000 €
Déploiement5 000 €98 000 €157 000 €
Design25 000 €25 000 €43 000 €
Logiciels-12 000 €12 000 €
Hébergement1 000 €3 000 €3 000 €
TOTALXXX 000 €XXX 000 €XXX 000 €

Coût rapporté à l'impact

Impact202120222023
Coût d'un dossierx €x €x €
Economies sur le papierx €x €x €

À propos de la TVA : Contrairement aux entreprises du secteur privé, les administrations ne peuvent pas récupérer la TVA supportée sur leurs achats dans le cadre de leur activité. Le montant TTC inclut la TVA au taux de 20%. La TVA est collectée et reversée à l’État et diminue donc le montant du budget utilisable sur le projet.

\ No newline at end of file +

\ No newline at end of file diff --git a/cgu.html b/cgu.html index 0ee613db..98cb4805 100644 --- a/cgu.html +++ b/cgu.html @@ -110,7 +110,7 @@ frame-src 'self' *.gouv.fr; style-src 'self' 'unsafe-inline'; font-src 'self' data: blob:; -"/>Conditions générales d'utilisation | Template

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.
+"/>Conditions générales d'utilisation | Template

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.

Cette page doit être mise à jour

Conditions générales d'utilisation

Présentation

@@ -133,4 +133,4 @@

Utilisation

Comme exemple de contenu, vous pouvez indiquer les informations suivantes : Le site officiel d’information administrative pour les entreprises. -

\ No newline at end of file +

\ No newline at end of file diff --git a/dsfr.html b/dsfr.html index 20a443c0..84159c0d 100644 --- a/dsfr.html +++ b/dsfr.html @@ -110,9 +110,9 @@ frame-src 'self' *.gouv.fr; style-src 'self' 'unsafe-inline'; font-src 'self' data: blob:; -"/>Template | Fabrique numérique des ministères sociaux

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.

Message successfully sent

Everything went well


Message NOT successfully sent

Everything went bad


Content of tab1

Content of tab2

Content of tab3


Titre de la carte

Cette carte permet d'indiquer au lecteur des informations sur le lien à présenetr


Content of the Accordion 1

Content of the Accordion 2

\ No newline at end of file diff --git a/healthz.html b/healthz.html index fe188776..0748cbe8 100644 --- a/healthz.html +++ b/healthz.html @@ -110,9 +110,9 @@ frame-src 'self' *.gouv.fr; style-src 'self' 'unsafe-inline'; font-src 'self' data: blob:; -"/>

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.

App is up and running

\ No newline at end of file diff --git a/index.html b/index.html index c9ad0cd5..f098ccbc 100644 --- a/index.html +++ b/index.html @@ -110,9 +110,9 @@ frame-src 'self' *.gouv.fr; style-src 'self' 'unsafe-inline'; font-src 'self' data: blob:; -"/>Template | beta.gouv.fr

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.

Template

Ce template minimal en Next.js met en oeuvre les pratiques recommandées chez betagouv et peut vous faire gagner du temps.

Il permet de déployer rapidement une application web qui respecte nos standards de conformité, accessibilité et sécurité.

Vous pouvez vous en servir comme base de départ ou comme référence d'implémentation. Les contributions sont bienvenues.

Intègre la dernière version du kit @codegouvfr/react-dsfr. Compatible avec la librairie MUI.

Intègre le tracker matomo pour analyser l'usage du service.

Le lien de désinscription réglementaire est intégré dans la politique de confidentialité.

Intègre une sonde sentry pour être alerté en temps réel des erreurs applicatives et monitorer les performances de votre service.

  • Gestion des headers CSP
  • Image docker root-less
  • Pre-commit hooks anti fuite de secrets

  • Testing de bout-en-bout avec Playwright
  • Tests unitaires avec vitest
  • Storybook pour tester/review les composants en isolation
  • CI de lint, test et scan statique

  • Workflows de release automatisés (semantic-release)
  • Compatible scalingo, clever cloud avec des reviews-branches

Exemples d'intégrations

\ No newline at end of file diff --git a/mentions-legales.html b/mentions-legales.html index 87aacdc1..0fbdf64c 100644 --- a/mentions-legales.html +++ b/mentions-legales.html @@ -110,7 +110,7 @@ frame-src 'self' *.gouv.fr; style-src 'self' 'unsafe-inline'; font-src 'self' data: blob:; -"/>Mentions légales | template

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.
+"/>Mentions légales | template

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.

Cette page doit être mise à jour

Mentions légales

Directeur(rice) de la publication

@@ -135,4 +135,4 @@

Sécurité

Comme exemple de contenu, vous pouvez indiquer les informations suivantes : Le site officiel d’information administrative pour les entreprises. -

\ No newline at end of file +

\ No newline at end of file diff --git a/mui.html b/mui.html index 67d9b54d..bd16f944 100644 --- a/mui.html +++ b/mui.html @@ -110,9 +110,9 @@ frame-src 'self' *.gouv.fr; style-src 'self' 'unsafe-inline'; font-src 'self' data: blob:; -"/>

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.

This is a place for testing MUI components

Chip Filled
Chip Outlined
1
Select campaign settings
Create an ad groupOptional
Create an ad

Step 1

R
Shrimp and Chorizo PaellaSeptember 14, 2016
Paella dish

This impressive paella is a perfect party dish and a fun meal to cook together with your guests. Add 1 cup of frozen peas along with the mussels, if you like.

\ No newline at end of file diff --git a/politique-confidentialite.html b/politique-confidentialite.html index e173ede7..76e1ef6c 100644 --- a/politique-confidentialite.html +++ b/politique-confidentialite.html @@ -110,7 +110,7 @@ frame-src 'self' *.gouv.fr; style-src 'self' 'unsafe-inline'; font-src 'self' data: blob:; -"/>Politique de confidentialité | template

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.
+"/>Politique de confidentialité | template

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.

Cette page doit être mise à jour

Politique de confidentialité

Traitement des données à caractère personnel

@@ -137,4 +137,4 @@

Cookies

Comme exemple de contenu, vous pouvez indiquer les informations suivantes : Le site officiel d’information administrative pour les entreprises. -

\ No newline at end of file +

\ No newline at end of file diff --git a/stats.html b/stats.html index bb5ddf31..3513ec00 100644 --- a/stats.html +++ b/stats.html @@ -110,9 +110,9 @@ frame-src 'self' *.gouv.fr; style-src 'self' 'unsafe-inline'; font-src 'self' data: blob:; -"/>Statistiques d'utilisation | template

Paramètres d'affichage

Choisissez un thème pour personnaliser l'apparence du site.

Usage web

0

Nombre de visites

C'est le nombre de visites total du site sur les 12 derniers mois

0

Nombre de pages vues (total)

C'est le nombre de pages vues au total sur le site sur les 12 derniers mois

0

Nombre de pages vues (uniques)

C'est le nombre de pages vues uniques sur le site sur les 12 derniers mois



Statistiques d'impact





\ No newline at end of file