PageSourceSearch

https://www.challenges.fr/assets/_nuxt/BrdfCcAi.js

js challenges.fr collected 2026-09-24 08:41:59 UTC 348,693 bytes, 38 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DnAAg-uJ.js","./DsGwc1os.js","./uYumTSM8.js","./BLKFqx7m.js","./XkwEEkUh.js","./Czs2tQ7Y.js","./CbTwiFIw.js","./DiNRThtw.js","./hfwEWxNg.js","./BX4mBoJ1.js","./CYLDxljy.js","./Cp2CR22i.js","./78pp9Xf9.js","./CDbAB8Pg.js","./CxfFE5v8.js","./CGQvfKyn.js","./BC3HbQXc.js","./SimplePagination.DoRgn8Uo.css","./BLvCC2Z5.js","./RankingsTable.CEw3bnsh.css","./CSdSLMtw.js","./DfHXFPi3.js","./DFyB78Px.js","./DzGx2BXz.js","./DTWy7VLz.js","./C_B5ASwt.js","./BcIn2eoF.js","./L59uFDIb.js","./NodeCarousel.DkFbUBgG.css","./DKMtAuzS.js","./C9gdVC50.js","./ThumbnailLink.B7qNAw1y.css","./D0D9D9lT.js","./CtefDev0.js","./VJs4mM9z.js","./pL1ZBalh.js","./ButtonNavigation.BM3Gq47p.css","./DDsnG_JQ.js","./B4YyeDNn.js","./AUhyDrLV.js","./fgcBMliS.js","./lE9HOv2X.js","./CeyNhwVe.js","./CAPR69pv.js","./PasswordField.CfbTtmrv.css","./D19pxQim.js","./V2aMKDQj.js","./HelpBlock.TlQryF4w.css","./_token_.B0RJV3eS.css","./mDj9hdM3.js","./CJMB-z1F.js","./DVtu0RJM.js","./BSbH9DAr.js","./FeedItemCarousel.CiTghIlP.css","./D2jKLDRx.js","./CCvRSxMC.js","./FortunesTable.C-KERdT_.css","./D2Ih1cBG.js","./CugBI-Ob.js","./BQra6FFX.js","./eH76IChB.js","./request-withdrawal.CEmkbC52.css","./CJg3ny4q.js","./IcI2SQ3O.js","./activate-account.gzGq7yfU.css","./DB4AMk1Y.js","./delete-account.D8eWvVw0.css","./D1zmtnZe.js","./DZuHyIwV.js","./CIzzy4qM.js","./Select.BbOJlxph.css","./BkdWYCRg.js","./DJmGTTl4.js","./BWVIzeuO.js","./sign-up.E07HZCWw.css","./ryBcNEwq.js","./CAo4G5e_.js","./DR-4MyKK.js","./vMFk3qGS.js","./confidentials.CCHDlKzS.css","./BLivRjla.js","./BLceCzLm.js","./Ex0NmaUU.js","./Uepc1Aau.js","./InputSwitch.CXLpM-gY.css","./C0wj0jbi.js","./DVrvbXLv.js","./goW09Gbf.js","./RankingItem.BsVUFLI7.css","./DeCZ2-f9.js","./D1UE6HjV.js","./real-estate.DSyzdeNP.css","./DQvL6rwZ.js","./index.QfE196Of.css","./y03CuSGX.js","./D6Hokeew.js","./C06KkaHf.js","./c9eFCyLN.js","./xEKPRYuS.js","./DO6kG0fR.js","./DvJBpaDV.js","./Pagination.Dity0zM2.css","./C6m8K5D8.js","./CA76U5uJ.js","./BArWsbme.js","./umAx5vb3.js","./B57tNH1v.js","./CkWF-tli.js","./CallToActionCard.URqgcIZv.css","./B2bIcwUT.js","./VideosPage.BVCRlTFb.css","./page-_page_.C1I1T4iT.css","./ADp6fZkD.js","./CE9cu0zL.js","./BGIoCMnN.js","./NodeList.CNzxpZcK.css","./Dc8aY50A.js","./C_DEKLT9.js","./BthwxTJ3.js","./BO5pIJs5.js","./CQWvr3Hp.js","./ChRiIZD4.js","./B4RZScAO.js","./index.BJJQaDa-.css","./BntT30IK.js","./index.BMilCPbQ.css","./DpwIZuBR.js","./sitemap.B6jfhA8c.css","./BTORAYf9.js","./X3BNqRJs.js","./index.DMKiiYxv.css","./CpvOUABM.js","./index.Csa25Y1c.css","./DbQDZgTu.js","./B2PnXAQ0.js","./ChfmT-PX.js","./B82fgRHx.js","./Bjemlx_K.js","./DOytrrPi.js","./D4Gr3z6-.js","./DefaultCategory.CPMGp2DX.css","./CerZfdXv.js","./DefaultTemplate.tn0RQdqM.css","./D6IRZAMN.js","./C7rJgEmq.js","./HomepageV2.B3gaBiOa.css","./sFJ5WRRn.js","./Dy57m_QT.js","./C73Mapax.js","./CjTsGPUN.js","./Dropdown.BIY1RE6e.css","./BABGiHcc.js","./DHH-sejt.js","./default.CH-g8ofa.css","./CFLzaBNy.js","./CtBdlgDg.js","./D-_IS3Y0.js","./Ciy6Ovsn.js","./footer-only.hRKYyc1u.css","./C4GC9TVr.js","./FttVS59K.js","./header-only.DSTU_UkG.css","./BWbaUXAQ.js","./B-9uXMK8.js","./BVGXHoqE.js","./TagCategory.0-538VNF.css","./C8tfr7S8.js","./CqBadWzY.js","./NavigationLabel.BiEJh_Q9.css","./yT4e8ESC.js","./BLidtbzZ.js","./Author.DYbOhglL.css","./BO7vFAV9.js","./Category.RH8uoOwh.css","./DyWJtJIz.js","./DisqEIqm.js","./Page.DGlDhHSD.css","./Bd-4tjeY.js","./CnpGM0d_.js","./DeYVBx_Q.js","./CyQWNv9P.js","./2e-kV-XV.js","./LogoraEmbed.DN5_Xj5M.css","./C63kZuIU.js","./SqJaaAsx.js","./XA0Noztw.js","./Article.DHPHJ-vr.css","./DwaL9W-q.js","./Slideshow.CA7rCvfD.css","./BG2II3_y.js","./C5rGskxH.js","./Video.CrZJWP_x.css"])))=>i.map(i=>d[i]);
2import{ac as ae,a5 as ie,aa as Nr,a3 as ki,z as re,K as Xf,q as Qf,k as ep,H as tp,S as yo,ah as We,J as np,av as Pe,u as M,Z as Rt,W as El,ae as vo,s as rp,p as Re,aA as _o,e as x,w as Rr,N as Ct,n as sp,F as tn,T as Tl,t as j,x as Ol,_ as ip,I as Il,ab as op,aw as Cl,a4 as ap,$ as xi,a1 as Pn,R as lp,C as et,a as Ei,an as $l,aj as F,M as ne,a0 as O,h as V,P as Ls,y as Ms,ak as cp,j as X,a9 as gt,O as se,ad as tt,i as ue,a7 as he,af as Dt,ay as ge,g as Se,o as Ps,a6 as _r,aB as os,Q as up,b as dp,m as fp,Y as pp,l as mp,f as hp,ax as cr}from"./XkwEEkUh.js";import{$ as gp,J as yp,a3 as H,a5 as vp,ad as qe,ar as _p,X as oe,bP as Ee,aG as bp,H as bo,aT as wp,a2 as Sp,az as kp,Z as xp,ca as Ep,p as b,a4 as pe,aR as sn,a1 as Tp,av as Al,ax as Ti,b$ as yt,b7 as it,Q as Nl,aK as Rl,bc as xt,aJ as Oi,bB as Ii,ce as wo,cb as Op,c5 as Dr,b_ as Fe,aQ as So,aV as Lr,ai as Dl,aW as ko,N as Ip,aO as Ll,b6 as Cp,a6 as Fn,bH as Ci,aB as Ml,c1 as xo,aZ as Eo,aY as To,cd as $i,ay as $p,am as Ap,b9 as Oo,v as Hx,bY as Np,q as Rp,c6 as $t,w as _e,W as Dp,bn as Lt,d as Lp,f as Oe,C as Mp,e as Pp,l as Fp,b as zp,m as Vp,i as jp,g as Up,S as Wp,T as qp,n as Hp,V as Bp,I as Gp,ah as as,bZ as Mt,bl as Zp,bz as Yp,P as At,L as Pl,z as Io,r as Fl,x as Jp,t as zl,y as Co,s as Kp,ba as Xp,aE as $o,o as Vl,bm as Qp,c0 as em,bL as tm,bK as nm,aU as Ao,Y as rm,B as No,E as sm,c9 as im,bX as om,c2 as am,bo as lm,bp as cm,a as $e,aF as um,ac as dm,ab as fm,aC as jl,u as on,aN as pm}from"./BLKFqx7m.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"d210c48b75ce1823600e30878a558f237a2d4016"}}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"d210c48b75ce1823600e30878a558f237a2d4016"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c6978771-de78-4fac-afc0-d5dfd13b0cb5",e._sentryDebugIdIdentifier="sentry-dbid-c6978771-de78-4fac-afc0-d5dfd13b0cb5")}catch{}})();(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();globalThis.$fetch||(globalThis.$fetch=gp.create({baseURL:yp()}));"global"in globalThis||(globalThis.global=globalThis);function Ro(e){try{return JSON.parse(e)}catch{return e}}const Ul=[["NuxtError",e=>oe(e)],["EmptyShallowRef",e=>ae(e==="_"?void 0:e==="0n"?BigInt(0):Ro(e))],["EmptyRef",e=>ie(e==="_"?void 0:e==="0n"?BigInt(0):Ro(e))],["ShallowRef",e=>ae(e)],["ShallowReactive",e=>Nr(e)],["Ref",e=>ie(e)],["Reactive",e=>ki(e)]];Ul.push(["Island",({key:e,params:t,result:n})=>{const r=Ee();return r.isHydrating||(r.payload.data[e]||=$fetch(`/__nuxt_island/${e}.json`,{responseType:"json",...t?{params:t}:{}}).then(s=>(r.payload.data[e]=s,s))),{html:"",...n}}]);const mm=H({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of Ul)vp(r,s);Object.assign(e.payload,([t,n]=qe(()=>e.runWithContext(_p)),t=await t,n(),t)),delete window.__NUXT__}});async function Ai(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const i=new Map,o=new Promise(f=>{e.resolveTags().then(m=>{f(m.map(h=>{const g=i.get(h._d)||0,y={tag:h,id:(g?`${h._d}:${g}`:h._d)||h._h,shouldRender:!0};return h._d&&bp(h._d)&&i.set(h._d,g+1),y}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const f of["body","head"]){const m=n[f]?.children;for(const h of m){const g=h.tagName.toLowerCase();if(!bo.has(g))continue;const y=wp({tag:g,props:{}},{innerHTML:h.innerHTML,...h.getAttributeNames().reduce((w,E)=>(w[E]=h.getAttribute(E),w),{})||{}});if(y.key=h.getAttribute("data-hid")||void 0,y._d=Sp(y)||kp(y),a.elMap.has(y._d)){let w=1,E=y._d;for(;a.elMap.has(E);)E=`${y._d}:${w++}`;a.elMap.set(E,h)}else a.elMap.set(y._d,h)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(f,m,h){const g=`${f}:${m}`;a.sideEffects[g]=h,delete a.pendingSideEffects[g]}function c({id:f,$el:m,tag:h}){const g=h.tag.endsWith("Attrs");a.elMap.set(f,m),g||(h.textContent&&h.textContent!==m.textContent&&(m.textContent=h.textContent),h.innerHTML&&h.innerHTML!==m.innerHTML&&(m.innerHTML=h.innerHTML),l(f,"el",()=>{m?.remove(),a.elMap.delete(f)}));for(const y in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,y))continue;const w=h.props[y];if(y.startsWith("on")&&typeof w=="function"){const k=m?.dataset;if(k&&k[`${y}fired`]){const N=y.slice(0,-5);w.call(m,new Event(N.substring(2)))}m.getAttribute(`data-${y}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:m).addEventListener(y.substring(2),w.bind(m)),m.setAttribute(`data-${y}`,""));continue}const E=`attr:${y}`;if(y==="class"){if(!w)continue;for(const k of w)g&&l(f,`${E}:${k}`,()=>m.classList.remove(k)),!m.classList.contains(k)&&m.classList.add(k)}else if(y==="style"){if(!w)continue;for(const[k,N]of w)l(f,`${E}:${k}`,()=>{m.style.removeProperty(k)}),m.style.setProperty(k,N)}else w!==!1&&w!==null&&(m.getAttribute(y)!==w&&m.setAttribute(y,w===!0?"":String(w)),g&&l(f,E,()=>m.removeAttribute(y)))}}const u=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},p=await o;for(const f of p){const{tag:m,shouldRender:h,id:g}=f;if(h){if(m.tag==="title"){n.title=m.textContent,l("title","",()=>n.title=a.title);continue}f.$el=f.$el||a.elMap.get(g),f.$el?c(f):bo.has(m.tag)&&u.push(f)}}for(const f of u){const m=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),c(f),d[m]=d[m]||n.createDocumentFragment(),d[m].appendChild(f.$el)}for(const f of p)await e.hooks.callHook("dom:renderTag",f,n,l);d.head&&n.head.appendChild(d.head),d.bodyOpen&&n.body.insertBefore(d.bodyOpen,n.body.firstChild),d.bodyClose&&n.body.appendChild(d.bodyClose);for(const f in a.pendingSideEffects)a.pendingSideEffects[f]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:p}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function hm(e={}){const t=e.domOptions?.render||Ai;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return xp({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function gm(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function ym(e={}){const t=hm({domOptions:{render:gm(()=>Ai(t),n=>setTimeout(n,0))},...e});return t.install=Ep(t),t}const vm={disableDefaults:!0},_m=H({name:"nuxt:head",enforce:"pre",setup(e){const t=ym(vm);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Ai(t)};t.hooks.hook("dom:beforeRender",i=>{i.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r);const s=t.push.bind(t);t.push=((i,o)=>{const a=s(i,o),l=a.dispose.bind(a);return a.dispose=()=>{const c=e["~transitionPromise"];c?c.then(l):l()},a})}}}),bm=/(:\w+)\([^)]+\)/g,wm=/(:\w+)[?+*]/g,Sm=/:\w+/g,km=(e,t)=>t.path.replace(bm,"$1").replace(wm,"$1").replace(Sm,n=>e.params[n.slice(1)]?.toString()||""),Fs=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&km(e.route,n));return typeof r=="function"?r(e.route):r},xm=(e,t)=>({default:()=>e?re(Xf,e===!0?{}:e,t):t});function Wl(e){return Array.isArray(e)?e:[e]}const Em={validate:e=>
2!!(e.params.option&&typeof e.params.option=="string"&&["ecg","ect","bl"].includes(e.params.option))},Tm={validate:e=>!!(e.params.option&&typeof e.params.option=="string"&&["mp","pc","mpi","pt","psi"].includes(e.params.option))},Om={validate:async e=>{let t,n;try{return[t,n]=qe(()=>$fetch("/api/auth/reset-password/validate",{query:{token:e.params.token}})),await t,n(),!0}catch{return!1}}},Im={layout:!1},Cm={layout:!1},$m={layout:"footer-only"},Am={layout:"header-only"},Nm={layout:!1},Rm={},Dm={},Lm={},Mm={},Do=null,Lo={},ls=[{name:"rankings-preparation-schools-agro-year",path:"/classements/prepas/agro-bcpst/:year?",meta:{middleware:["validate-year-param","enforce-route-trailing-slash"]},component:()=>b(()=>import("./DnAAg-uJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33]),import.meta.url)},{name:"rankings-preparation-schools-ens-year",path:"/classements/prepas/ens/:year?",meta:{middleware:["validate-year-param","enforce-route-trailing-slash"]},component:()=>b(()=>import("./VJs4mM9z.js").then(e=>e.a),__vite__mapDeps([34,1,2,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19,20,35,36,21,22,23,24,25,26,27,28,29,30,31,32,33]),import.meta.url)},{name:"rankings-schools-bachelors",path:"/classements/grandes-ecoles/bachelors/",meta:{middleware:["enforce-route-trailing-slash"]},component:()=>b(()=>import("./DDsnG_JQ.js").then(e=>e.b),__vite__mapDeps([37,5,4,6,7,3,38,9,10,11,2,12,13,14,15,16,17,18,1,19,20,21,22,23,24,25,26,27,28,32,33,35,36,30,31,8]),import.meta.url)},{name:"rankings-schools-business-schools",path:"/classements/grandes-ecoles/ecoles-commerce/",meta:{middleware:["enforce-route-trailing-slash"]},component:()=>b(()=>import("./DDsnG_JQ.js").then(e=>e.a),__vite__mapDeps([37,5,4,6,7,3,38,9,10,11,2,12,13,14,15,16,17,18,1,19,20,21,22,23,24,25,26,27,28,32,33,35,36,30,31,8]),import.meta.url)},{name:"rankings-schools-business-schools-post-bac",path:"/classements/grandes-ecoles/ecoles-commerce-post-bac/",meta:{middleware:["enforce-route-trailing-slash"]},component:()=>b(()=>import("./B4YyeDNn.js").then(e=>e.c),__vite__mapDeps([38,5,4,6,7,3,9,10,11,2,12,13,14,15,16,17,18,1,19,20,21,22,23,24,25,26,27,28,32,33,35,36,30,31]),import.meta.url)},{name:"rankings-schools-ep",path:"/classements/grandes-ecoles/iep/",meta:{middleware:["enforce-route-trailing-slash"]},component:()=>b(()=>import("./B4YyeDNn.js").then(e=>e.e),__vite__mapDeps([38,5,4,6,7,3,9,10,11,2,12,13,14,15,16,17,18,1,19,20,21,22,23,24,25,26,27,28,32,33,35,36,30,31]),import.meta.url)},{name:"rankings-preparation-schools-business-school-option-year",path:"/classements/prepas/ecoles-de-commerce-:option/:year?",meta:{...Em||{},middleware:["validate-year-param","enforce-route-trailing-slash"]},component:()=>b(()=>import("./AUhyDrLV.js").then(e=>e._),__vite__mapDeps([39,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,34,35,36,21,22,23,24,25,26,27,28,29,30,31,32,33]),import.meta.url)},{name:"rankings-preparation-schools-engineers-option-year",path:"/classements/prepas/ecoles-ingenieurs-:option/:year?",meta:{...Tm||{},middleware:["validate-year-param","enforce-route-trailing-slash"]},component:()=>b(()=>import("./AUhyDrLV.js").then(e=>e.a),__vite__mapDeps([39,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,34,35,36,21,22,23,24,25,26,27,28,29,30,31,32,33]),import.meta.url)},{name:"auth-reset-password-token",path:"/auth/reset-password/:token()",meta:Om||{},component:()=>b(()=>import("./fgcBMliS.js"),__vite__mapDeps([40,41,42,10,3,4,43,44,45,46,47,48]),import.meta.url)},{name:"rankings-fortunes-fortune_fortuneId",path:"/classements/fortune/:fortune([a-z0-9-]+)_:fortuneId(\\d+)",meta:{...Im||{},middleware:["enforce-no-route-trailing-slash"]},component:()=>b(()=>import("./mDj9hdM3.js"),__vite__mapDeps([49,3,4,50,1,2,22,6,7,20,24,51,52,23,25,26,27,53]),import.meta.url)},{name:"rankings-fortunes-year",path:"/classements/fortune/:year(\\d+)?",meta:{...Cm||{},middleware:["validate-year-param","enforce-route-trailing-slash"]},component:()=>b(()=>import("./D2jKLDRx.js"),__vite__mapDeps([54,50,1,2,3,4,5,55,22,10,15,11,12,13,14,16,17,56,35,36,20]),import.meta.url)},{name:"rankings-startup-year",path:"/classements/start-up/:year?",meta:{middleware:["validate-year-param","enforce-route-trailing-slash"]}
2,component:()=>b(()=>import("./D2Ih1cBG.js"),__vite__mapDeps([57,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,35,36,21,22,23,24,25,26,27,28,30,31,32,33]),import.meta.url)},{name:"auth-activate-account",path:"/auth/activationcompte",meta:{middleware:"enforce-no-route-trailing-slash"},component:()=>b(()=>import("./CugBI-Ob.js"),__vite__mapDeps([58,45,4,3,59,10,43,42,51,60,6,7,46,47,61,41,44,62,63,64]),import.meta.url)},{name:"auth-delete-account",path:"/auth/resiliation",meta:{middleware:"enforce-no-route-trailing-slash"},component:()=>b(()=>import("./DB4AMk1Y.js"),__vite__mapDeps([65,60,6,7,3,4,10,43,46,47,61,66]),import.meta.url)},{name:"auth-login",path:"/auth/connexion",meta:{middleware:["redirect-if-already-authenticated","enforce-no-route-trailing-slash"]},component:()=>b(()=>import("./D1zmtnZe.js"),__vite__mapDeps([67,59,10,3,4,43,42,51,45,46,47]),import.meta.url)},{name:"auth-request-withdrawal",path:"/auth/retractation",meta:{middleware:"enforce-no-route-trailing-slash"},component:()=>b(()=>import("./eH76IChB.js").then(e=>e.r),__vite__mapDeps([60,6,7,3,4,10,43,46,47,61]),import.meta.url)},{name:"auth-sign-up",path:"/auth/creationcompte",meta:{middleware:"enforce-no-route-trailing-slash"},component:()=>b(()=>import("./DZuHyIwV.js"),__vite__mapDeps([68,45,4,3,10,43,69,70,41,42,44,62,63,46,47,71,51,72,73,74]),import.meta.url)},{name:"mobile-apps-footer",path:"/partners/footer",meta:$m||{},component:()=>b(()=>Promise.resolve().then(()=>Fk),void 0,import.meta.url)},{name:"mobile-apps-header",path:"/partners/header",meta:Am||{},component:()=>b(()=>Promise.resolve().then(()=>jk),void 0,import.meta.url)},{name:"my-account-confidentials",path:"/mon-compte/confidentiels",meta:{middleware:"enforce-no-route-trailing-slash"},component:()=>b(()=>import("./ryBcNEwq.js").then(e=>e.c),__vite__mapDeps([75,3,4,24,1,2,10,5,76,77,13,12,11,14,18,78,79]),import.meta.url)},{name:"my-account-newsletters",path:"/mon-compte/newsletters",meta:{middleware:["auth-required"]},component:()=>b(()=>import("./BLivRjla.js"),__vite__mapDeps([80,81,4,82,1,2,3,24,51,83,84]),import.meta.url)},{name:"rankings-fortunes-100-live",path:"/classements/fortunes-100-live",meta:{...Nm||{},middleware:["enforce-route-trailing-slash"]},component:()=>b(()=>import("./C0wj0jbi.js"),__vite__mapDeps([85,50,1,2,3,4,5,55,22,10,15,11,12,13,14,16,17,56,20]),import.meta.url)},{name:"rankings-preparation-schools",path:"/classements/prepas/",meta:{middleware:["enforce-route-trailing-slash"]},component:()=>b(()=>import("./DVrvbXLv.js"),__vite__mapDeps([86,1,2,3,4,51,87,24,88,21,22,23,25,26,27,28,32,33]),import.meta.url)},{name:Rm?.name,path:"/classements/prix-immobilier-m2",component:()=>b(()=>import("./DeCZ2-f9.js"),__vite__mapDeps([89,3,4,33,1,2,90,35,36,21,22,23,24,25,26,27,28,30,31,91]),import.meta.url),children:[{name:"rankings-real-estate-period",path:"/classements/prix-immobilier-m2/:period",meta:{middleware:"enforce-route-trailing-slash"},component:()=>b(()=>import("./DQvL6rwZ.js").then(e=>e._),__vite__mapDeps([92,4,5,6,7,3,8,9,10,11,2,12,13,14,15,16,17,18,1,19,20,93]),import.meta.url)},{name:"rankings-real-estate",path:"/classements/prix-immobilier-m2",meta:{middleware:"enforce-route-trailing-slash"},component:()=>b(()=>import("./DQvL6rwZ.js").then(e=>e.i),__vite__mapDeps([92,4,5,6,7,3,8,9,10,11,2,12,13,14,15,16,17,18,1,19,20,93]),import.meta.url)}]},{name:"rankings-schools",path:"/classements/grandes-ecoles/",meta:{middleware:["enforce-route-trailing-slash"]},component:()=>b(()=>import("./y03CuSGX.js"),__vite__mapDeps([94,1,2,3,4,51,87,24,88,21,22,23,25,26,27,28,30,31,32,33]),import.meta.url)},{name:"start-up-register",path:"/start-up/enregistrement",component:()=>b(()=>import("./D6Hokeew.js"),__vite__mapDeps([95,3,4,45,6,7,10,43,69,70,11,14]),import.meta.url)},{name:"newsletters-slug",path:"/newsletters/:slug()",component:()=>b(()=>import("./C06KkaHf.js"),__vite__mapDeps([96,97,3,4,51,23,1,2,24,98,10,43,42,7,63,45,62,82]),import.meta.url)},{name:"videos-page-page",path:"/videos/page-:page()",component:()=>b(()=>import("./DO6kG0fR.js"),__vite__mapDeps([99,100,16,3,4,101,102,103,104,105,51,106,1,2,107,108,109,110,111]),import.meta.url)},{name:Dm?.name,path:"/index",component:()=>b(()=>Promise.resolve().then(()=>Wk),void 0,import.meta.url),children:[{name:"archive-year-month-day-page-page",path:"/index/:year?/:month?/:day?/page-:page?",meta:{middleware:["enforce-no-route-trailing-slash","validate-year-and-month","validate-day","validate-archives-full-date","redirect-first-page"]},component:()=>b(()=>import("./ADp6fZkD.js"),__vite__mapDeps([112,103,104,3,4,51,113,22,1,2,23,24,5,114,25,115,100,16,101]),import.meta.url)},{name:"archive-year-month-day",path:":year()/:month()/:day()",meta:{middleware:["enforce-route-trailing-slash","validate-year-and-month","validate-day","validate-archives-full-date"]},component:()=>b(()=>import("./Dc8aY50A.js"),__vite__mapDeps([116,103,104,3,4,51,113,22,1,2,23,24,5,114,25,115,109,100,16,101]),import.meta.url)},{name:"archive-year-month",path:":year()/:month()",meta:{middleware:["enforce-route-trailing-slash","validate-year-and-month","validate-archives-partial-date"]},component:()=>b(()=>import("./C_DEKLT9.js").then(e=>e.i),__vite__mapDeps([117,103,104,3,4,51]),import.meta.url)},{name:"archive",path:"",meta:{middleware:"enforce-route-trailing-slash"},component:()=>b(()=>import("./C_DEKLT9.js").then(e=>e.a),__vite__mapDeps([117,103,104,3,4,51]),import.meta.url)}]},{name:"confidentials",path:"/confidentiels",meta:{middleware:"enforce-no-route-trailing-slash"},component:()=>b(()=>
2import("./ryBcNEwq.js").then(e=>e.a),__vite__mapDeps([75,3,4,24,1,2,10,5,76,77,13,12,11,14,18,78,79]),import.meta.url)},{name:"debate",path:"/espace-debat/:catchAll(.*)*",component:()=>b(()=>import("./BthwxTJ3.js"),__vite__mapDeps([118,3,4]),import.meta.url)},{name:"external-articles",path:"/en-continu",meta:{middleware:"enforce-route-trailing-slash"},component:()=>b(()=>import("./BO5pIJs5.js"),__vite__mapDeps([119,103,104,3,4,51,120,23,1,2,24]),import.meta.url)},{name:"my-account",path:"/mon-compte",meta:{middleware:["auth-required"]},component:()=>b(()=>Promise.resolve().then(()=>Hk),void 0,import.meta.url)},{name:"newsletters",path:"/newsletters",meta:{middleware:"enforce-route-trailing-slash"},component:()=>b(()=>import("./ChRiIZD4.js"),__vite__mapDeps([121,3,4,81,82,1,2,24,51,62,43,10,73]),import.meta.url)},{name:"newswire",path:"/partenaires/prnewswire",component:()=>b(()=>import("./B4RZScAO.js"),__vite__mapDeps([122,3,4,123]),import.meta.url)},{name:"rankings",path:"/classements",meta:{middleware:"enforce-route-trailing-slash"},component:()=>b(()=>import("./BntT30IK.js"),__vite__mapDeps([124,3,4,1,2,26,51,87,24,88,125]),import.meta.url)},{name:"sitemap",path:"/plan-du-site",component:()=>b(()=>import("./DpwIZuBR.js"),__vite__mapDeps([126,107,4,51,3,127]),import.meta.url)},{name:Lm?.name,path:"/tags",meta:{middleware:"enforce-route-trailing-slash"},component:()=>b(()=>import("./BTORAYf9.js"),__vite__mapDeps([128,103,104,3,4,105,51]),import.meta.url),children:[{name:"tags-page-page",path:"page-:page()",meta:{middleware:["enforce-no-route-trailing-slash","validate-page-number"]},component:()=>b(()=>import("./X3BNqRJs.js").then(e=>e.p),__vite__mapDeps([129,100,16,3,4,101,130]),import.meta.url)},{name:"tags",path:"",component:()=>b(()=>import("./X3BNqRJs.js").then(e=>e.i),__vite__mapDeps([129,100,16,3,4,101,130]),import.meta.url)}]},{name:"videos",path:"/videos",meta:{middleware:"enforce-route-trailing-slash"},component:()=>b(()=>import("./CpvOUABM.js"),__vite__mapDeps([131,100,16,3,4,101,102,103,104,105,51,106,1,2,107,108,109,110,132]),import.meta.url)},{name:Mm?.name,path:"/:layout(.*)*",meta:{middleware:["410-paths","whitelist-layout-paths"]},component:()=>b(()=>Promise.resolve().then(()=>Gk),void 0,import.meta.url),children:[{name:"layout-page-page",path:"page-:page()",meta:{middleware:["enforce-no-route-trailing-slash","validate-page-number"]},component:()=>b(()=>Promise.resolve().then(()=>Qk),void 0,import.meta.url)},{name:"layout",path:"",component:()=>b(()=>Promise.resolve().then(()=>ux),void 0,import.meta.url)}]},{name:"index",path:"/",component:()=>b(()=>import("./DbQDZgTu.js"),__vite__mapDeps([133,134,135,3,4,136,20]),import.meta.url)},{name:Do?.name,path:"/confidentiel",component:Lo},{name:Do?.name,path:"/depeches-automatiques/:pathMatch(.*)",component:Lo}],Pm=pe(async(e,t)=>{let n,r;if(!e.meta?.validate)return;const s=([n,r]=qe(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(s===!0)return;const i=oe({fatal:!0,status:s&&(s.status||s.statusCode)||404,statusText:s&&(s.statusText||s.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),i}),Fm=pe(e=>{try{const t=decodeURIComponent(e.path);if(/[\u00C0-\u00FF]/g.test(t))return sn(Tp(t),{redirectCode:301,replace:!0})}catch{return oe({statusCode:404,statusMessage:"Page Not Found"})}}),zm=pe(e=>{const t=Al({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return Ti(n,{acceptRelative:!0})?(window.location.href=n,!1):n}}),Vm=[Pm,Fm,zm],zs={"410-paths":()=>b(()=>Promise.resolve().then(()=>px),void 0,import.meta.url),"auth-required":()=>b(()=>Promise.resolve().then(()=>hx),void 0,import.meta.url),"enforce-no-route-trailing-slash":()=>b(()=>Promise.resolve().then(()=>yx),void 0,import.meta.url),"enforce-route-trailing-slash":()=>b(()=>Promise.resolve().then(()=>_x),void 0,import.meta.url),"redirect-first-page":()=>b(()=>Promise.resolve().then(()=>wx),void 0,import.meta.url),"redirect-if-already-authenticated":()=>b(()=>Promise.resolve().then(()=>kx),void 0,import.meta.url),"validate-archives-full-date":()=>b(()=>Promise.resolve().then(()=>Ex),void 0,import.meta.url),"validate-archives-partial-date":()=>b(()=>Promise.resolve().then(()=>Ox),void 0,import.meta.url),"validate-day":()=>b(()=>Promise.resolve().then(()=>Cx),void 0,import.meta.url),"validate-page-number":()=>b(()=>Promise.resolve().then(()=>Ax),void 0,import.meta.url),"validate-year-and-month":()=>b(()=>Promise.resolve().then(()=>Rx),void 0,import.meta.url),"validate-year-param":()=>b(()=>Promise.resolve().then(()=>Lx),void 0,import.meta.url),"whitelist-layout-paths":()=>b(()=>Promise.resolve().then(()=>Px),void 0,import.meta.url)};function jm(e,t,n){const{pathname:r,search:s,hash:i}=t,o=e.indexOf("#");if(o>-1){const c=i.includes(e.slice(o))?e.slice(o).length:1;let u=i.slice(c);return u[0]!=="/"&&(u="/"+u),wo(u,"")}const a=wo(r,e),l=!n||Rl(a,n)?a:n;
2return l+(l.includes("?")?"":s)+i}const Um=H({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=yt().app.baseURL;const s=it.history?.(r)??Qf(r),i=it.routes?([t,n]=qe(()=>it.routes(ls)),t=await t,n(),t??ls):ls;let o;const a=ep({...it,scrollBehavior:(y,w,E)=>{if(w===yo){o=E;return}if(it.scrollBehavior){if(a.options.scrollBehavior=it.scrollBehavior,"scrollRestoration"in window.history){const k=a.beforeEach(()=>{k(),window.history.scrollRestoration="manual"})}return it.scrollBehavior(y,yo,o||E)}},history:s,routes:i});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=ae(a.currentRoute.value);a.afterEach((y,w)=>{l.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const c=jm(r,window.location,e.payload.path),u=ae(a.currentRoute.value),d=()=>{u.value=a.currentRoute.value};a.afterEach((y,w)=>{const E=y.matched.at(-1)?.components?.default,k=w.matched.at(-1)?.components?.default;if(E===k){d();return}y.matched.length<w.matched.length&&y.matched.every((N,C)=>N.components?.default===w.matched[C]?.components?.default)&&d()});const p={sync:d};for(const y in u.value)Object.defineProperty(p,y,{get:()=>u.value[y],enumerable:!0});e._route=Nr(p),e._middleware||={global:[],named:{}};const f=Ii();a.afterEach(async(y,w,E)=>{delete e._processingMiddleware,!e.isHydrating&&f.value&&await e.runWithContext(Nl),E&&await e.callHook("page:loading:end")});try{[t,n]=qe(()=>a.isReady()),await t,n()}catch(y){[t,n]=qe(()=>e.runWithContext(()=>xt(y))),await t,n()}const m=c!==a.currentRoute.value.fullPath?a.resolve(c):a.currentRoute.value,h=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&c!==e.payload.path&&Rl(a.currentRoute.value.path,e.payload.path);d();const g=e.payload.state._layout;return a.beforeEach(async(y,w)=>{await e.callHook("page:loading:start"),y.meta=ki(y.meta),e.isHydrating&&g&&!tp(y.meta.layout)&&(y.meta.layout=g),e._processingMiddleware=!0;{const E=new Set([...Vm,...e._middleware.global]);for(const N of y.matched){const C=N.meta.middleware;if(C)for(const A of Wl(C))E.add(A)}const k=Al({path:y.path});if(k.appMiddleware)for(const N in k.appMiddleware)k.appMiddleware[N]?E.add(N):E.delete(N);for(const N of E){const C=typeof N=="string"?e._middleware.named[N]||await zs[N]?.().then(A=>A.default||A):N;if(!C)throw new Error(`Unknown route middleware: '${N}'.`);try{const A=await e.runWithContext(()=>C(y,w));if(!e.payload.serverRendered&&e.isHydrating&&(A===!1||A instanceof Error)){const W=A||oe({status:404,statusText:`Page Not Found: ${c}`});return await e.runWithContext(()=>xt(W)),!1}if(A===!0)continue;if(A===!1)return A;if(A)return Oi(A)&&A.fatal&&await e.runWithContext(()=>xt(A)),A}catch(A){const W=oe(A);return W.fatal&&await e.runWithContext(()=>xt(W)),W}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(y=>{if(y.matched.length===0&&!f.value)return e.runWithContext(()=>xt(oe({status:404,fatal:!1,statusText:`Page not found: ${y.fullPath}`,data:{path:y.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{if("name"in m&&(m.name=void 0),h){const y=a.resolve(e.payload.path);"name"in y&&(y.name=void 0),await a.replace({...y,force:!0}),e.hooks.hookOnce("app:suspense:resolve",async()=>{await a.replace({...m,force:!0})})}else await a.replace({...m,force:!0});a.options.scrollBehavior=it.scrollBehavior}catch(y){await e.runWithContext(()=>xt(y))}}),{provide:{router:a}}}});function Wm(e){typeof e.indexable<"u"&&(e.indexable=String(e.indexable)!=="false"),typeof e.trailingSlash<"u"&&!e.trailingSlash&&(e.trailingSlash=String(e.trailingSlash)!=="false"),e.url&&!Ti(String(e.url),{acceptRelative:!0,strict:!1})&&(e.url=Op(String(e.url)));const t=Object.keys(e).sort((r,s)=>r.localeCompare(s)),n={};for(const r of t)n[r]=e[r];return n}function qm(e){const n=[];function r(i){if(!i||typeof i!="object"||Object.keys(i).length===0)return()=>{};i._context;const o={};for(const a in i){const l=i[a];typeof l<"u"&&l!==""&&(o[a]=l)}return Object.keys(o).filter(a=>!a.startsWith("_")).length===0?()=>{}:(n.push(o),()=>{const a=n.indexOf(o);a!==-1&&n.splice(a,1)})}function s(i){const o={};i?.debug&&(o._context={}),o._priority={};for(const a in n.sort((l,c)=>(l._priority||0)-(c._priority||0)))for(const l in n[a]){const c=l,u=i?.resolveRefs?We(n[a][l]):n[a][l];!l.startsWith("_")&&typeof u<"u"&&u!==""&&(o[l]=u,typeof n[a]._priority<"u"&&n[a]._priority!==-1&&(o._priority[c]=n[a]._priority),i?.debug&&(o._context[c]=n[a]._context?.[c]||n[a]._context||"anonymous"))}return i?.skipNormalize?o:Wm(o)}return{stack:n,push:r,get:s}}const Hm=H({name:"nuxt-site-config:init",enforce:"pre",async setup(e){const t=qm(),n=Dr("site-config");{const r=n.value||window.__NUXT_SITE_CONFIG__||{};for(const s in r)s[0]!=="_"&&t.push({[s]:r[s],_priority:r._priority?.[s]||-1})}return{provide:{nuxtSiteConfig:t}}}}),Bm=H({name:"nuxt:payload",setup(e){const t=new Set;
2Fe().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await So(n.path);if(s){for(const i of t)delete e.static.data[i];for(const i in s.data)i in e.static.data||t.add(i),e.static.data[i]=s.data[i]}}),Lr(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await So().catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(Dl,1e3)})}}),Gm=H(()=>{const e=Fe();Lr(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),Zm=H(e=>{let t;async function n(){let r;try{r=await Dl()}catch(s){const i=s;if(!("status"in i&&(i.status===404||i.status===403)))throw i}t&&clearTimeout(t),t=setTimeout(n,ko);try{const s=await $fetch(Ip("builds/latest.json")+`?${Date.now()}`);s.id!==r?.id&&(e.hooks.callHook("app:manifest:update",s),t&&clearTimeout(t))}catch{}}Lr(()=>{t=setTimeout(n,ko)})}),Ym=H({name:"nuxt:chunk-reload",setup(e){const t=Fe(),n=yt(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function s(i){const o=Ll(n.app.baseURL,i.fullPath);Cp({path:o,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((i,o)=>{r.has(i)&&s(o)})}});function Jm(e){return null}const we={fatal:0,error:0,warn:1,log:2,info:3,success:3,fail:3,debug:4,trace:5,verbose
2:Number.POSITIVE_INFINITY},Mo={silent:{level:-1},fatal:{level:we.fatal},error:{level:we.error},warn:{level:we.warn},log:{level:we.log},info:{level:we.info},success:{level:we.success},fail:{level:we.fail},ready:{level:we.info},start:{level:we.info},box:{level:we.info},debug:{level:we.debug},trace:{level:we.trace},verbose:{level:we.verbose}};function cs(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Vs(e,t,n=".",r){if(!cs(t))return Vs(e,{},n);const s=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const o=e[i];o!=null&&(Array.isArray(o)&&Array.isArray(s[i])?s[i]=[...o,...s[i]]:cs(o)&&cs(s[i])?s[i]=Vs(o,s[i],(n?`${n}.`:"")+i.toString()):s[i]=o)}return s}function Km(e){return(...t)=>t.reduce((n,r)=>Vs(n,r,""),{})}const Xm=Km();function Qm(e){return Object.prototype.toString.call(e)==="[object Object]"}function eh(e){return!(!Qm(e)||!e.message&&!e.args||e.stack)}let us=!1;const Po=[];class le{options;_lastLog;_mockFn;constructor(t={}){const n=t.types||Mo;this.options=Xm({...t,defaults:{...t.defaults},level:ds(t.level,n),reporters:[...t.reporters||[]]},{types:Mo,throttle:1e3,throttleMin:5,formatOptions:{date:!0,colors:!1,compact:!0}});for(const r in n){const s={type:r,...this.options.defaults,...n[r]};this[r]=this._wrapLogFn(s),this[r].raw=this._wrapLogFn(s,!0)}this.options.mockFn&&this.mockTypes(),this._lastLog={}}get level(){return this.options.level}set level(t){this.options.level=ds(t,this.options.types,this.options.level)}prompt(t,n){if(!this.options.prompt)throw new Error("prompt is not supported!");return this.options.prompt(t,n)}create(t){const n=new le({...this.options,...t});return this._mockFn&&n.mockTypes(this._mockFn),n}withDefaults(t){return this.create({...this.options,defaults:{...this.options.defaults,...t}})}withTag(t){return this.withDefaults({tag:this.options.defaults.tag?this.options.defaults.tag+":"+t:t})}addReporter(t){return this.options.reporters.push(t),this}removeReporter(t){if(t){const n=this.options.reporters.indexOf(t);if(n!==-1)return this.options.reporters.splice(n,1)}else this.options.reporters.splice(0);return this}setReporters(t){return this.options.reporters=Array.isArray(t)?t:[t],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(const t in this.options.types)console["__"+t]||(console["__"+t]=console[t]),console[t]=this[t].raw}restoreConsole(){for(const t in this.options.types)console["__"+t]&&(console[t]=console["__"+t],delete console["__"+t])}wrapStd(){this._wrapStream(this.options.stdout,"log"),this._wrapStream(this.options.stderr,"log")}_wrapStream(t,n){t&&(t.__write||(t.__write=t.write),t.write=r=>{this[n].raw(String(r).trim())})}restoreStd(){this._restoreStream(this.options.stdout),this._restoreStream(this.options.stderr)}_restoreStream(t){t&&t.__write&&(t.write=t.__write,delete t.__write)}pauseLogs(){us=!0}resumeLogs(){us=!1;const t=Po.splice(0);for(const n of t)n[0]._logFn(n[1],n[2])}mockTypes(t){const n=t||this.options.mockFn;if(this._mockFn=n,typeof n=="function")for(const r in this.options.types)this[r]=n(r,this.options.types[r])||this[r],this[r].raw=this[r]}_wrapLogFn(t,n){return(...r)=>{if(us){Po.push([this,t,r,n]);return}return this._logFn(t,r,n)}}_logFn(t,n,r){if((t.level||0)>this.level)return!1;const s={date:new Date,args:[],...t,level:ds(t.level,this.options.types)};!r&&n.length===1&&eh(n[0])?Object.assign(s,n[0]):s.args=[...n],s.message&&(s.args.unshift(s.message),delete s.message),s.additional&&(Array.isArray(s.additional)||(s.additional=s.additional.split(`
3`)),s.args.push(`
4`+s.additional.join(`
5`)),delete s.additional),s.type=typeof s.type=="string"?s.type.toLowerCase():"log",s.tag=typeof s.tag=="string"?s.tag:"";const i=(a=!1)=>{const l=(this._lastLog.count||0)-this.options.throttleMin;if(this._lastLog.object&&l>0){const c=[...this._lastLog.object.args];l>1&&c.push(`(repeated ${l} times)`),this._log({...this._lastLog.object,args:c}),this._lastLog.count=1}a&&(this._lastLog.object=s,this._log(s))};clearTimeout(this._lastLog.timeout);const o=this._lastLog.time&&s.date?s.date.getTime()-this._lastLog.time.getTime():0;if(this._lastLog.time=s.date,o<this.options.throttle)try{const a=JSON.stringify([s.type,s.tag,s.args]),l=this._lastLog.serialized===a;if(this._lastLog.serialized=a,l&&(this._lastLog.count=(this._lastLog.count||0)+1,this._lastLog.count>this.options.throttleMin)){this._lastLog.timeout=setTimeout(i,this.options.throttle);return}}catch{}i(!0)}_log(t){for(const n of this.options.reporters)n.log(t,{options:this.options})}}function ds(e,t={},n=3){return e===void 0?n:typeof e=="number"?e:t[e]&&t[e].level!==void 0?t[e].level:n}le.prototype.add=le.prototype.addReporter;le.prototype.remove=le.prototype.removeReporter;le.prototype.clear=le.prototype.removeReporter;le.prototype.withScope=le.prototype.withTag;le.prototype.mock=le.prototype.mockTypes;le.prototype.pause=le.prototype.pauseLogs;le.prototype.resume=le.prototype.resumeLogs;function th(e={}){return new le(e)}class nh{options;defaultColor;levelColorMap;typeColorMap;constructor(t){this.options={...t},this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}_getLogFn(t){return t<1?console.__error||console.error:t===1?console.__warn||console.warn:console.__log||console.log}log(t){const n=this._getLogFn(t.level),r=t.type==="log"?"":t.type,s=t.tag||"",o=`
6      background: ${this.typeColorMap[t.type]||this.levelColorMap[t.level]||this.defaultColor};
7      border-radius: 0.5em;
8      color: white;
9      font-weight: bold;
10      padding: 2px 0.5em;
11    `,a=`%c${[s,r].filter(Boolean).join(":")}`;typeof t.args[0]=="string"?n(`${a}%c ${t.args[0]}`,o,"",...t.args.slice(1)):n(a,o,...t.args)}}function ql(e={}){return th({reporters:e.reporters||[new nh({})],prompt(n,r={}){return r.type==="confirm"?Promise.resolve(confirm(n)):Promise.resolve(prompt(n))},...e})}ql();const js=ql({level:3,defaults:{tag:"nuxt-scripts"}});function Fo(e){e.$scripts||(e.$scripts={})}function rh(){return yt().public["nuxt-scripts"]}function sh(e){return e.key||e.src||(typeof e.innerHTML=="string"?e.innerHTML:"")}function Hl(e,t){if(e=typeof e=="string"?{src:e}:e,t=Fn(t,rh()?.defaultScriptOptions),t.partytown){const g=e.src;if(!g)throw new Error("useScript with partytown requires a src");Ci({script:[{src:g,type:"text/partytown"}]});const y=Ee();Fo(y);const w=y.$scripts[g];if(w)return w;const E=ie("loaded");let k=()=>{},N=!1,C;const A=()=>{N||(N=!0,k(),y.$scripts[g]===C&&delete y.$scripts[g])};return C={id:g,status:E,load:()=>Promise.resolve({}),remove:()=>(A(),!1),entry:void 0},y.$scripts[g]=C,k=y.hooks.hook("app:unmount",A),C}t.trigger&&typeof t.trigger=="object"&&!("then"in t.trigger)&&Jm(t.trigger);const n=Ee(),r=String(sh(e));if(t.head=t.head||Ml(),!t.head)throw new Error("useScript() has been called without Nuxt context.");t.head.hooks,Fo(n);const s=!!n.$scripts?.[r],i=t._validate?.();(t.trigger==="onNuxtReady"||t.trigger==="client")&&(t.warmupStrategy===void 0&&(t.warmupStrategy="preload"),t.trigger==="onNuxtReady"&&(t.trigger=Lr));const o={...t},a=xo(e,o);if(delete o.eventContext,s)return a;np(a),a.toJSON=()=>({id:a.id,status:a.status.value});const l=new Set;let c=!1;const u=a.status;let d=()=>{};const p=g=>{c?g():l.add(g)},f=()=>{if(!c){c=!0;for(const g of l)g();l.clear(),n.$scripts[r]===a&&delete n.$scripts[r]}};let m=a.remove,h=a.load;return p(()=>d()),a.remove=()=>{const g=m();return f(),g},a.load=async()=>i?Promise.reject(i):h(),a.reload=async()=>{if(i)return Promise.reject(i);m();const g=typeof e=="string"?{src:e,key:`${r}-${Date.now()}`}:{...e,key:`${r}-${Date.now()}`},y={...t,trigger:"client"},w=xo(g,y);return delete y.eventContext,m=w.remove,h=w.load,d(),d=Pe(w.status,E=>u.value=E,{flush:"sync",immediate:!0}),a.entry=w.entry,h()},n.$scripts[r]=a,p(n.hooks.hook("app:unmount",()=>{a.remove()})),a}let Gt;const ih={lang:void 0,message:void 0,abortEarly:void 0,abortPipeEarly:void 0};function oh(e){Gt={...Gt,...e}}function Bl(e){return Gt?{lang:e?.lang??Gt?.lang,message:e?.message,abortEarly:e?.abortEarly??Gt?.abortEarly,abortPipeEarly:e?.abortPipeEarly??Gt?.abortPipeEarly}:ih}let ur;function ah(e,t){ur||(ur=new Map),ur.set(t,e)}function lh(e){return ur?.get(e)}let dr;function Gl(e,t){dr||(dr=new Map),dr.set(t,e)}function ch(e){return dr?.get(e)}let Bt;function _(e,t,n){Bt||(Bt=new Map),Bt.get(e)||Bt.set(e,new Map),Bt.get(e).set(n,t)}function uh(e,t){return Bt?.get(e)?.get(t)}function J(e){const t=typeof e;return t==="string"?`"${e}"`:t==="number"||t==="bigint"||t==="boolean"?`${e}`:t==="object"||t==="function"?(e&&Object.getPrototypeOf(e)?.constructor?.name)??"null":t}function v(e,t,n,r,s){const i=s&&"input"in s?s.input:n.value,o=s?.expected??e.expects??null,a=s?.received??J(i),l={kind:e.kind,type:e.type,input:i,expected:o,received:a,message:`Invalid ${t}: ${o?`Expected ${o} but r`:"R"}eceived ${a}`,requirement:e.requirement,path:s?.path,issues:s?.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},c=e.kind==="schema",u=s?.message??e.message??uh(e.reference,l.lang)??(c?ch(l.lang):null)??r.message??lh(l.lang);u!==void 0&&(l.message=typeof u=="function"?u(l):u),c&&(n.typed=!1),n.issues?n.issues.push(l):n.issues=[l]}let fs;function Mr(e){return fs||(fs=new TextEncoder),fs.encode(e).length}let ps;function Pr(e){ps||(ps=new Intl.Segmenter);const t=ps.segment(e);let n=0;for(const r of t)n++;return n}const zo=new WeakMap;function Te(e){let t=zo.get(e);return t||(t={version:1,vendor:"valibot",validate(n){return e["~run"]({value:n},Bl())}},zo.set(e,t)),t}let er;function Fr(e,t){er||(er=new Map);const n=String(e);let r=er.get(n);r||(r=new Intl.Segmenter(e,{granularity:"word"}),er.set(n,r));const s=r.segment(t);let i=0;for(const o of s)o.isWordLike&&i++;return i}const dh=/\D/gu;function Zl(e){const t=e.replace(dh,"");let n=t.length,r=1,s=0;for(;n;){const i=+t[--n];r^=1,s+=r?[0,2,4,6,8,1,3,5,7,9][i]:i}return s%10===0}function Pt(e,t){const n=[...new Set(e)];return n.length>1?`(${n.join(` ${t} `)})`:n[0]??"never"}const fh=/^(?:[\da-z+/]{4}
11)*(?:[\da-z+/]{2}==|[\da-z+/]{3}=)?$/iu,ph=/^[A-Z]{6}(?!00)[\dA-Z]{2}(?:[\dA-Z]{3})?$/u,mh=/^[a-z][\da-z]*$/u,hh=/^[+-]?(?:\d*\.)?\d+$/u,gh=/^\d+$/u,yh=/^(?=.{1,253}$)(?:(?![Xx][Nn]--)[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?\.)+[A-Za-z]{2,63}$/u,vh=/^[\w+-]+(?:\.[\w+-]+)*@[\da-z]+(?:[.-][\da-z]+)*\.[a-z]{2,}$/iu,_h=new RegExp("^(?:[\\u{1F1E6}-\\u{1F1FF}]{2}|\\u{1F3F4}[\\u{E0061}-\\u{E007A}]{2}[\\u{E0030}-\\u{E0039}\\u{E0061}-\\u{E007A}]{1,3}\\u{E007F}|(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|(?![\\p{Emoji_Modifier_Base}\\u{1F1E6}-\\u{1F1FF}])\\p{Emoji_Presentation})(?:\\u200D(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|(?![\\p{Emoji_Modifier_Base}\\u{1F1E6}-\\u{1F1FF}])\\p{Emoji_Presentation}))*)+$","u"),bh=/^(?:0[hx])?[\da-fA-F]+$/u,wh=/^#(?:[\da-fA-F]{3,4}|[\da-fA-F]{6}|[\da-fA-F]{8})$/u,Sh=/^\d{15}$|^\d{2}-\d{6}-\d{6}-\d$/u,kh=/^(?:(?:[1-9]|1\d|2[0-4])?\d|25[0-5])(?:\.(?:(?:[1-9]|1\d|2[0-4])?\d|25[0-5])){3}$/u,xh=/^(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:|(?:[\da-f]{1,4}:){1,6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,5}(?::[\da-f]{1,4}){1,2}|(?:[\da-f]{1,4}:){1,4}(?::[\da-f]{1,4}){1,3}|(?:[\da-f]{1,4}:){1,3}(?::[\da-f]{1,4}){1,4}|(?:[\da-f]{1,4}:){1,2}(?::[\da-f]{1,4}){1,5}|[\da-f]{1,4}:(?::[\da-f]{1,4}){1,6}|:(?:(?::[\da-f]{1,4}){1,7}|:)|fe80:(?::[\da-f]{0,4}){0,4}%[\da-z]+|::(?:f{4}(?::0{1,4})?:)?(?:(?:25[0-5]|(?:2[0-4]|1?\d)?\d)\.){3}(?:25[0-5]|(?:2[0-4]|1?\d)?\d)|(?:[\da-f]{1,4}:){1,4}:(?:(?:25[0-5]|(?:2[0-4]|1?\d)?\d)\.){3}(?:25[0-5]|(?:2[0-4]|1?\d)?\d))$/iu,Eh=/^(?:(?:[1-9]|1\d|2[0-4])?\d|25[0-5])(?:\.(?:(?:[1-9]|1\d|2[0-4])?\d|25[0-5])){3}$|^(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:|(?:[\da-f]{1,4}:){1,6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,5}(?::[\da-f]{1,4}){1,2}|(?:[\da-f]{1,4}:){1,4}(?::[\da-f]{1,4}){1,3}|(?:[\da-f]{1,4}:){1,3}(?::[\da-f]{1,4}){1,4}|(?:[\da-f]{1,4}:){1,2}(?::[\da-f]{1,4}){1,5}|[\da-f]{1,4}:(?::[\da-f]{1,4}){1,6}|:(?:(?::[\da-f]{1,4}){1,7}|:)|fe80:(?::[\da-f]{0,4}){0,4}%[\da-z]+|::(?:f{4}(?::0{1,4})?:)?(?:(?:25[0-5]|(?:2[0-4]|1?\d)?\d)\.){3}(?:25[0-5]|(?:2[0-4]|1?\d)?\d)|(?:[\da-f]{1,4}:){1,4}:(?:(?:25[0-5]|(?:2[0-4]|1?\d)?\d)\.){3}(?:25[0-5]|(?:2[0-4]|1?\d)?\d))$/iu,Th=/^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])$/u,Oh=/^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])[T ](?:0\d|1\d|2[0-3]):[0-5]\d$/u,Ih=/^(?:0\d|1\d|2[0-3]):[0-5]\d$/u,Ch=/^(?:0\d|1\d|2[0-3])(?::[0-5]\d){2}$/u,$h=/^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])[T ](?:0\d|1\d|2[0-3])(?::[0-5]\d){2}(?:\.\d{1,9})?(?:Z| ?[+-](?:0\d|1\d|2[0-3])(?::?[0-5]\d)?)$/u,Ah=/^\d{4}-W(?:0[1-9]|[1-4]\d|5[0-3])$/u,Nh=/^(?:[\w-]{2,3}|(?:[\w-]{4})+(?:[\w-]{2,3})?)\.(?:[\w-]{2,3}|(?:[\w-]{4})+(?:[\w-]{2,3})?)?\.(?:[\w-]{2,3}|(?:[\w-]{4})+(?:[\w-]{2,3})?)?$/u,Rh=/^(?:[A-Z]{2}[A-Z\d]{3}\d{7}|[A-Z]{2}-[A-Z\d]{3}-\d{2}-\d{5})$/u,Dh=/^(?:[\da-fA-F]{2}:){5}[\da-fA-F]{2}$|^(?:[\da-fA-F]{2}-){5}[\da-fA-F]{2}$|^(?:[\da-fA-F]{4}\.){2}[\da-fA-F]{4}$/u,Lh=/^(?:[\da-fA-F]{2}:){7}[\da-fA-F]{2}$|^(?:[\da-fA-F]{2}-){7}[\da-fA-F]{2}$|^(?:[\da-fA-F]{4}\.){3}[\da-fA-F]{4}$|^(?:[\da-fA-F]{4}:){3}[\da-fA-F]{4}$/u,Mh=/^(?:[\da-fA-F]{2}:){5}[\da-fA-F]{2}$|^(?:[\da-fA-F]{2}-){5}[\da-fA-F]{2}$|^(?:[\da-fA-F]{4}\.){2}[\da-fA-F]{4}$|^(?:[\da-fA-F]{2}:){7}[\da-fA-F]{2}$|^(?:[\da-fA-F]{2}-){7}[\da-fA-F]{2}$|^(?:[\da-fA-F]{4}\.){3}[\da-fA-F]{4}$|^(?:[\da-fA-F]{4}:){3}[\da-fA-F]{4}$/u,Ph=/^[\w-]+$/u,Fh=/^(?:0o)?[0-7]+$/u,zh=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Vh=/^[\da-z]+(?:[-_][\da-z]+)*$/u,jh=/^[\da-hjkmnp-tv-zA-HJKMNP-TV-Z]{26}$/u,Uh=/^[\da-f]{8}(?:-[\da-f]{4}){3}-[\da-f]{12}$/iu;function Yl(e){return{kind:"validation",type:"base64",reference:Yl,async:!1,expects:null,requirement:fh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"Base64",t,n),t}}}function Jl(e){return{kind:"validation",type:"bic",reference:Jl,async:!1,expects:null,requirement:ph,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"BIC",t,n),t}}}
11function Kl(e,t){return{kind:"validation",type:"bytes",reference:Kl,async:!1,expects:`${e}`,requirement:e,message:t,"~run"(n,r){if(n.typed){const s=Mr(n.value);s!==this.requirement&&v(this,"bytes",n,r,{received:`${s}`})}return n}}}function zr(e,t){return{kind:"validation",type:"check",reference:zr,async:!1,expects:null,requirement:e,message:t,"~run"(n,r){return n.typed&&!this.requirement(n.value)&&v(this,"input",n,r),n}}}function Xl(e,t){return{kind:"validation",type:"check",reference:Xl,async:!0,expects:null,requirement:e,message:t,async"~run"(n,r){return n.typed&&!await this.requirement(n.value)&&v(this,"input",n,r),n}}}function Ql(e,t){return{kind:"validation",type:"check_items",reference:Ql,async:!1,expects:null,requirement:e,message:t,"~run"(n,r){if(n.typed)for(let s=0;s<n.value.length;s++){const i=n.value[s];this.requirement(i,s,n.value)||v(this,"item",n,r,{input:i,path:[{type:"array",origin:"value",input:n.value,key:s,value:i}]})}return n}}}function ec(e,t){return{kind:"validation",type:"check_items",reference:ec,async:!0,expects:null,requirement:e,message:t,async"~run"(n,r){if(n.typed){const s=await Promise.all(n.value.map(this.requirement));for(let i=0;i<n.value.length;i++)if(!s[i]){const o=n.value[i];v(this,"item",n,r,{input:o,path:[{type:"array",origin:"value",input:n.value,key:i,value:o}]})}}return n}}}const Wh=/^(?:\d{13,19}|\d{4}(?: \d{3,6}){2,4}|\d{4}(?:-\d{3,6}){2,4})$/u,qh=/[- ]/gu,Hh=[/^3[47]\d{13}$/u,/^3(?:0[0-5]|[68]\d)\d{11,13}$/u,/^6(?:011|5\d{2})\d{12,15}$/u,/^(?:2131|1800|35\d{3})\d{11}$/u,/^(?:5[1-5]\d{2}|222\d|22[3-9]\d|2[3-6]\d{2}|27[01]\d|2720)\d{12}$/u,/^(?:6[27]\d{14,17}|81\d{14,17})$/u,/^4\d{12}(?:\d{3,6})?$/u];function tc(e){return{kind:"validation",type:"credit_card",reference:tc,async:!1,expects:null,requirement(t){let n;return Wh.test(t)&&(n=t.replace(qh,""))&&Hh.some(r=>r.test(n))&&Zl(n)},message:e,"~run"(t,n){return t.typed&&!this.requirement(t.value)&&v(this,"credit card",t,n),t}}}function nc(e){return{kind:"validation",type:"cuid2",reference:nc,async:!1,expects:null,requirement:mh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"Cuid2",t,n),t}}}function rc(e){return{kind:"validation",type:"decimal",reference:rc,async:!1,expects:null,requirement:hh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"decimal",t,n),t}}}function sc(e){return{kind:"validation",type:"digits",reference:sc,async:!1,expects:null,requirement:gh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"digits",t,n),t}}}function ic(e){return{kind:"validation",type:"domain",reference:ic,expects:null,async:!1,requirement:yh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"domain",t,n),t}}}function Vr(e){return{kind:"validation",type:"email",reference:Vr,expects:null,async:!1,requirement:vh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"email",t,n),t}}}function oc(e){return{kind:"validation",type:"emoji",reference:oc,async:!1,expects:null,requirement:_h,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"emoji",t,n),t}}}function ac(e){return{kind:"validation",type:"empty",reference:ac,async:!1,expects:"0",message:e,"~run"(t,n){return t.typed&&t.value.length>0&&v(this,"length",t,n,{received:`${t.value.length}`}),t}}}function lc(e,t){return{kind:"validation",type:"ends_with",reference:lc,async:!1,expects:`"${e}"`,requirement:e,message:t,"~run"(n,r){return n.typed&&!n.value.endsWith(this.requirement)&&v(this,"end",n,r,{received:`"${n.value.slice(-this.requirement.length)}"`}),n}}}function cc(e,t){return{kind:"validation",type:"entries",reference:cc,async:!1,expects:`${e}`,requirement:e,message:t,"~run"(n,r){if(!n.typed)return n;const s=Object.keys(n.value).length;return n.typed&&s!==this.requirement&&v(this,"entries",n,r,{received:`${s}`}),n}}}function uc(e,t){return{kind:"validation",type:"every_item",reference:uc,async:!1,expects:null,requirement:e,message:t,"~run"(n,r){return n.typed&&!n.value.every(this.requirement)&&v(this,"item",n,r),n}}}function dc(e,t){const n=J(e);
11return{kind:"validation",type:"excludes",reference:dc,async:!1,expects:`!${n}`,requirement:e,message:t,"~run"(r,s){return r.typed&&r.value.includes(this.requirement)&&v(this,"content",r,s,{received:n}),r}}}function fc(e){return{kind:"validation",type:"finite",reference:fc,async:!1,expects:null,requirement:Number.isFinite,message:e,"~run"(t,n){return t.typed&&!this.requirement(t.value)&&v(this,"finite",t,n),t}}}function pc(e,t){return{kind:"validation",type:"graphemes",reference:pc,async:!1,expects:`${e}`,requirement:e,message:t,"~run"(n,r){if(n.typed){const s=Pr(n.value);s!==this.requirement&&v(this,"graphemes",n,r,{received:`${s}`})}return n}}}function mc(e,t){return{kind:"validation",type:"gt_value",reference:mc,async:!1,expects:`>${e instanceof Date?e.toJSON():J(e)}`,requirement:e,message:t,"~run"(n,r){return n.typed&&!(n.value>this.requirement)&&v(this,"value",n,r,{received:n.value instanceof Date?n.value.toJSON():J(n.value)}),n}}}function hc(e,t){return{kind:"transformation",type:"guard",reference:hc,async:!1,requirement:e,message:t,"~run"(n,r){return n.typed&&!this.requirement(n.value)&&(v(this,"input",n,r),n.typed=!1),n}}}const Bh={md4:32,md5:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8,adler32:8};function gc(e,t){return{kind:"validation",type:"hash",reference:gc,expects:null,async:!1,requirement:RegExp(e.map(n=>`^[a-fA-F0-9]{${Bh[n]}}$`).join("|"),"u"),message:t,"~run"(n,r){return n.typed&&!this.requirement.test(n.value)&&v(this,"hash",n,r),n}}}function yc(e){return{kind:"validation",type:"hexadecimal",reference:yc,async:!1,expects:null,requirement:bh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"hexadecimal",t,n),t}}}function vc(e){return{kind:"validation",type:"hex_color",reference:vc,async:!1,expects:null,requirement:wh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"hex color",t,n),t}}}function _c(e){return{kind:"validation",type:"imei",reference:_c,async:!1,expects:null,requirement(t){return Sh.test(t)&&Zl(t)},message:e,"~run"(t,n){return t.typed&&!this.requirement(t.value)&&v(this,"IMEI",t,n),t}}}function bc(e,t){const n=J(e);return{kind:"validation",type:"includes",reference:bc,async:!1,expects:n,requirement:e,message:t,"~run"(r,s){return r.typed&&!r.value.includes(this.requirement)&&v(this,"content",r,s,{received:`!${n}`}),r}}}function wc(e){return{kind:"validation",type:"integer",reference:wc,async:!1,expects:null,requirement:Number.isInteger,message:e,"~run"(t,n){return t.typed&&!this.requirement(t.value)&&v(this,"integer",t,n),t}}}function Sc(e){return{kind:"validation",type:"ip",reference:Sc,async:!1,expects:null,requirement:Eh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"IP",t,n),t}}}function kc(e){return{kind:"validation",type:"ipv4",reference:kc,async:!1,expects:null,requirement:kh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"IPv4",t,n
11),t}}}function xc(e){return{kind:"validation",type:"ipv6",reference:xc,async:!1,expects:null,requirement:xh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"IPv6",t,n),t}}}function Gh(e){const t=e.split("").map(r=>r==="X"?10:parseInt(r));let n=0;for(let r=0;r<10;r++)n+=t[r]*(10-r);return n%11===0}function Zh(e){const t=e.split("").map(r=>parseInt(r));let n=0;for(let r=0;r<13;r++)n+=t[r]*(r%2===0?1:3);return n%10===0}const Yh=/[- ]/gu,Jh=/^\d{9}[\dX]$/u,Kh=/^\d{13}$/u;function Ec(e){return{kind:"validation",type:"isbn",reference:Ec,async:!1,expects:null,requirement(t){const n=t.replace(Yh,"");return Jh.test(n)?Gh(n):Kh.test(n)?Zh(n):!1},message:e,"~run"(t,n){return t.typed&&!this.requirement(t.value)&&v(this,"ISBN",t,n),t}}}function Tc(e){return{kind:"validation",type:"isrc",reference:Tc,async:!1,expects:null,requirement:Rh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"ISRC",t,n),t}}}function Ni(e){return{kind:"validation",type:"iso_date",reference:Ni,async:!1,expects:null,requirement:Th,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"date",t,n),t}}}function Oc(e){return{kind:"validation",type:"iso_date_time",reference:Oc,async:!1,expects:null,requirement:Oh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"date-time",t,n),t}}}function Ic(e){return{kind:"validation",type:"iso_time",reference:Ic,async:!1,expects:null,requirement:Ih,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"time",t,n),t}}}function Cc(e){return{kind:"validation",type:"iso_time_second",reference:Cc,async:!1,expects:null,requirement:Ch,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"time-second",t,n),t}}}function $c(e){return{kind:"validation",type:"iso_timestamp",reference:$c,async:!1,expects:null,requirement:$h,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"timestamp",t,n),t}}}function Ac(e){return{kind:"validation",type:"iso_week",reference:Ac,async:!1,expects:null,requirement:Ah,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"week",t,n),t}}
11}function Nc(e){return{kind:"validation",type:"jws_compact",reference:Nc,async:!1,expects:null,requirement:Nh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"JWS compact",t,n),t}}}function Rc(e,t){return{kind:"validation",type:"length",reference:Rc,async:!1,expects:`${e}`,requirement:e,message:t,"~run"(n,r){return n.typed&&n.value.length!==this.requirement&&v(this,"length",n,r,{received:`${n.value.length}`}),n}}}function Dc(e,t){return{kind:"validation",type:"lt_value",reference:Dc,async:!1,expects:`<${e instanceof Date?e.toJSON():J(e)}`,requirement:e,message:t,"~run"(n,r){return n.typed&&!(n.value<this.requirement)&&v(this,"value",n,r,{received:n.value instanceof Date?n.value.toJSON():J(n.value)}),n}}}function Lc(e){return{kind:"validation",type:"mac",reference:Lc,async:!1,expects:null,requirement:Mh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"MAC",t,n),t}}}function Mc(e){return{kind:"validation",type:"mac48",reference:Mc,async:!1,expects:null,requirement:Dh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"48-bit MAC",t,n),t}}}function Pc(e){return{kind:"validation",type:"mac64",reference:Pc,async:!1,expects:null,requirement:Lh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"64-bit MAC",t,n),t}}}function Fc(e,t){return{kind:"validation",type:"max_bytes",reference:Fc,async:!1,expects:`<=${e}`,requirement:e,message:t,"~run"(n,r){if(n.typed){const s=Mr(n.value);s>this.requirement&&v(this,"bytes",n,r,{received:`${s}`})}return n}}}function zc(e,t){return{kind:"validation",type:"max_entries",reference:zc,async:!1,expects:`<=${e}`,requirement:e,message:t,"~run"(n,r){if(!n.typed)return n;const s=Object.keys(n.value).length;return n.typed&&s>this.requirement&&v(this,"entries",n,r,{received:`${s}`}),n}}}function Vc(e,t){return{kind:"validation",type:"max_graphemes",reference:Vc,async:!1,expects:`<=${e}`,requirement:e,message:t,"~run"(n,r){if(n.typed){const s=Pr(n.value);s>this.requirement&&v(this,"graphemes",n,r,{received:`${s}`})}return n}}}function jr(e,t){return{kind:"validation",type:"max_length",reference:jr,async:!1,expects:`<=${e}`,requirement:e,message:t,"~run"(n,r){return n.typed&&n.value.length>this.requirement&&v(this,"length",n,r,{received:`${n.value.length}`}),n}}}function Ri(e,t){return{kind:"validation",type:"max_size",reference:Ri,async:!1,expects:`<=${e}`,requirement:e,message:t,"~run"(n,r){return n.typed&&n.value.size>this.requirement&&v(this,"size",n,r,{received:`${n.value.size}`}),n}}}function Di(e,t){return{kind:"validation",type:"max_value",reference:Di,async:!1,expects:`<=${e instanceof Date?e.toJSON():J(e)}`,requirement:e,message:t,"~run"(n,r){return n.typed&&!(n.value<=this.requirement)&&v(this,"value",n,r,{received:n.value instanceof Date?n.value.toJSON():J(n.value)}),n}}}function jc(e,t,n){return{kind:"validation",type:"max_words",reference:jc,async:!1,expects:`<=${t}`,locales:e,requirement:t,message:n,"~run"(r,s){if(r.typed){const i=Fr(this.locales,r.value);i>this.requirement&&v(this,"words",r,s,{received:`${i}`})}return r}}}function Uc(e,t){return{kind:"validation",type:"mime_type",reference:Uc,async:!1,expects:Pt(e.map(n=>`"${n}"`),"|"),requirement:e,message:t,"~run"(n,r){return n.typed&&!this.requirement.includes(n.value.type)&&v(this,"MIME type",n,r,{received:`"${n.value.type}"`}),n}}}function Wc(e,t){return{kind:"validation",type:"min_bytes",reference:Wc,async:!1,expects:`>=${e}`,requirement:e,message:t,"~run"(n,r){if(n.typed){const s=Mr(n.value);s<this.requirement&&v(this,"bytes",n,r,{received:`${s}`})}return n}}}function qc(e,t){return{kind:"validation",type:"min_entries",reference:qc,async:!1,expects:`>=${e}`,requirement:e,message:t,"~run"(n,r){if(!n.typed)return n;const s=Object.keys(n.value).length;return n.typed&&s<this.requirement&&v(this,"entries",n,r,{received:`${s}`}),n}}}function Hc(e,t){return{kind:"validation",type:"min_graphemes",reference:Hc,async:!1,expects:`>=${e}`,requirement:e,message:t,"~run"(n,r){if(n.typed){const s=Pr(n.value);s<this.requirement&&v(this,"graphemes",n,r,{received:`${s}`})}return n}}}
11function It(e,t){return{kind:"validation",type:"min_length",reference:It,async:!1,expects:`>=${e}`,requirement:e,message:t,"~run"(n,r){return n.typed&&n.value.length<this.requirement&&v(this,"length",n,r,{received:`${n.value.length}`}),n}}}function Li(e,t){return{kind:"validation",type:"min_size",reference:Li,async:!1,expects:`>=${e}`,requirement:e,message:t,"~run"(n,r){return n.typed&&n.value.size<this.requirement&&v(this,"size",n,r,{received:`${n.value.size}`}),n}}}function Mi(e,t){return{kind:"validation",type:"min_value",reference:Mi,async:!1,expects:`>=${e instanceof Date?e.toJSON():J(e)}`,requirement:e,message:t,"~run"(n,r){return n.typed&&!(n.value>=this.requirement)&&v(this,"value",n,r,{received:n.value instanceof Date?n.value.toJSON():J(n.value)}),n}}}function Bc(e,t,n){return{kind:"validation",type:"min_words",reference:Bc,async:!1,expects:`>=${t}`,locales:e,requirement:t,message:n,"~run"(r,s){if(r.typed){const i=Fr(this.locales,r.value);i<this.requirement&&v(this,"words",r,s,{received:`${i}`})}return r}}}function Gc(e,t){return{kind:"validation",type:"multiple_of",reference:Gc,async:!1,expects:`%${e}`,requirement:e,message:t,"~run"(n,r){return n.typed&&n.value%this.requirement!=0&&v(this,"multiple",n,r),n}}}function Zc(e){return{kind:"validation",type:"nanoid",reference:Zc,async:!1,expects:null,requirement:Ph,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"Nano ID",t,n),t}}}function Yc(e){return{kind:"validation",type:"non_empty",reference:Yc,async:!1,expects:"!0",message:e,"~run"(t,n){return t.typed&&t.value.length===0&&v(this,"length",t,n,{received:"0"}),t}}}function Jc(e,t){return{kind:"validation",type:"not_bytes",reference:Jc,async:!1,expects:`!${e}`,requirement:e,message:t,"~run"(n,r){if(n.typed){const s=Mr(n.value);s===this.requirement&&v(this,"bytes",n,r,{received:`${s}`})}return n}}}function Kc(e,t){return{kind:"validation",type:"not_entries",reference:Kc,async:!1,expects:`!${e}`,requirement:e,message:t,"~run"(n,r){if(!n.typed)return n;const s=Object.keys(n.value).length;return n.typed&&s===this.requirement&&v(this,"entries",n,r,{received:`${s}`}),n}}}function Xc(e,t){return{kind:"validation",type:"not_graphemes",reference:Xc,async:!1,expects:`!${e}`,requirement:e,message:t,"~run"(n,r){if(n.typed){const s=Pr(n.value);s===this.requirement&&v(this,"graphemes",n,r,{received:`${s}`})}return n}}}function Qc(e,t){return{kind:"validation",type:"not_length",reference:Qc,async:!1,expects:`!${e}`,requirement:e,message:t,"~run"(n,r){return n.typed&&n.value.length===this.requirement&&v(this,"length",n,r,{received:`${n.value.length}`}),n}}}function eu(e,t){return{kind:"validation",type:"not_size",reference:eu,async:!1,expects:`!${e}`,requirement:e,message:t,"~run"(n,r){return n.typed&&n.value.size===this.requirement&&v(this,"size",n,r,{received:`${n.value.size}`}),n}}}function tu(e,t){return{kind:"validation",type:"not_value",reference:tu,async:!1,expects:e instanceof Date?`!${e.toJSON()}`:`!${J(e)}`,requirement:e,message:t,"~run"(n,r){return n.typed&&this.requirement<=n.value&&this.requirement>=n.value&&v(this,"value",n,r,{received:n.value instanceof Date?n.value.toJSON():J(n.value)}),n}}}function nu(e,t){return{kind:"validation",type:"not_values",reference:nu,async:!1,expects:`!${Pt(e.map(n=>n instanceof Date?n.toJSON():J(n)),"|")}`,requirement:e,message:t,"~run"(n,r){return n.typed&&this.requirement.some(s=>s<=n.value&&s>=n.value)&&v(this,"value",n,r,{received:n.value instanceof Date?n.value.toJSON():J(n.value)}),n}}}function ru(e,t,n){return{kind:"validation",type:"not_words",reference:ru,async:!1,expects:`!${t}`,locales:e,requirement:t,message:n,"~run"(r,s){if(r.typed){const i=Fr(this.locales,r.value);i===this.requirement&&v(this,"words",r,s,{received:`${i}`})}return r}}}function su(e){return{kind:"validation",type:"octal",reference:su,async:!1,expects:null,requirement:Fh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"octal",t,n),t}}}const Vo=[!0,1,"true","1","yes","y","on","enabled"],jo=[!1,0,"false","0","no","n","off","disabled"];function iu(e,t){const n=a=>
11typeof a=="string"?a.toLowerCase():a,r=e?.truthy??Vo,s=e?.falsy??jo,i=e?.truthy?e.truthy.map(n):Vo,o=e?.falsy?e.falsy.map(n):jo;return{kind:"transformation",type:"parse_boolean",reference:iu,expects:Pt([...r,...s].map(J),"|"),config:e,message:t,async:!1,"~run"(a,l){const c=n(a.value);return i.includes(c)?a.value=!0:o.includes(c)?a.value=!1:(v(this,"boolean",a,l),a.typed=!1),a}}}function ou(e,t){return{kind:"transformation",type:"parse_json",reference:ou,config:e,message:t,async:!1,"~run"(n,r){try{n.value=JSON.parse(n.value,this.config?.reviver)}catch(s){if(s instanceof Error)v(this,"JSON",n,r,{received:`"${s.message}"`}),n.typed=!1;else throw s}return n}}}function Xh(e,t){if(e.issues)for(const n of t)for(const r of e.issues){let s=!1;const i=Math.min(n.length,r.path?.length??0);for(let o=0;o<i;o++)if(n[o]!==r.path[o].key&&(n[o]!=="$"||r.path[o].type!=="array")){s=!0;break}if(!s)return!1}return!0}function au(e,t,n){return{kind:"validation",type:"partial_check",reference:au,async:!1,expects:null,paths:e,requirement:t,message:n,"~run"(r,s){return(r.typed||Xh(r,e))&&!this.requirement(r.value)&&v(this,"input",r,s),r}}}function lu(e){return{kind:"validation",type:"raw_check",reference:lu,async:!1,expects:null,"~run"(t,n){return e({dataset:t,config:n,addIssue:r=>v(this,r?.label??"input",t,n,r)}),t}}}function cu(e){return{kind:"transformation",type:"raw_transform",reference:cu,async:!1,"~run"(t,n){const r=e({dataset:t,config:n,addIssue:s=>v(this,s?.label??"input",t,n,s),NEVER:null});return t.issues?t.typed=!1:t.value=r,t}}}function Zt(e,t){return{kind:"validation",type:"regex",reference:Zt,async:!1,expects:`${e}`,requirement:e,message:t,"~run"(n,r){return n.typed&&!this.requirement.test(n.value)&&v(this,"format",n,r),n}}}function uu(e){return{kind:"validation",type:"rfc_email",reference:uu,expects:null,async:!1,requirement:zh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"email",t,n),t}}}function du(e){return{kind:"validation",type:"safe_integer",reference:du,async:!1,expects:null,requirement:Number.isSafeInteger,message:e,"~run"(t,n){return t.typed&&!this.requirement(t.value)&&v(this,"safe integer",t,n),t}}}function fu(e,t){return{kind:"validation",type:"size",reference:fu,async:!1,expects:`${e}`,requirement:e,message:t,"~run"(n,r){return n.typed&&n.value.size!==this.requirement&&v(this,"size",n,r,{received:`${n.value.size}`}),n}}}function pu(e){return{kind:"validation",type:"slug",reference:pu,async:!1,expects:null,requirement:Vh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"slug",t,n),t}}}function mu(e,t){return{kind:"validation",type:"some_item",reference:mu,async:!1,expects:null,requirement:e,message:t,"~run"(n,r){return n.typed&&!n.value.some(this.requirement)&&v(this,"item",n,r),n}}}function hu(e,t){return{kind:"validation",type:"starts_with",reference:hu,async:!1,expects:`"${e}"`,requirement:e,message:t,"~run"(n,r){return n.typed&&!n.value.startsWith(this.requirement)&&v(this,"start",n,r,{received:`"${n.value.slice(0,this.requirement.length)}"`}),n}}}function gu(e,t){return{kind:"transformation",type:"stringify_json",reference:gu,message:t,config:e,async:!1,"~run"(n,r){try{const s=JSON.stringify(n.value,this.config?.replacer,this.config?.space);s===void 0&&(v(this,"JSON",n,r),n.typed=!1),n.value=s}catch(s){if(s instanceof Error)v(this,"JSON",n,r,{received:`"${s.message}"`}),n.typed=!1;else throw s}return n}}}function yu(e){return{kind:"transformation",type:"to_bigint",reference:yu,async:!1,message:e,"~run"(t,n){try{t.value=BigInt(t.value)}catch{v(this,"bigint",t,n),t.typed=!1}return t}}}function vu(e){return{kind:"transformation",type:"to_date",reference:vu,async:!1,message:e,"~run"(t,n){try{t.value=new Date(t.value),isNaN(t.value)&&(v(this,"date",t,n,{received:'"Invalid Date"'}),t.typed=!1)}catch{v(this,"date",t,n),t.typed=!1}return t}}}function _u(e){return{kind:"transformation",type:"to_number",reference:_u,async:!1,message:e,"~run"(t,n){try{t.value=Number(t.value),isNaN(t.value)&&(v(this,"number",t,n
11),t.typed=!1)}catch{v(this,"number",t,n),t.typed=!1}return t}}}function bu(e){return{kind:"transformation",type:"to_string",reference:bu,async:!1,message:e,"~run"(t,n){try{t.value=String(t.value)}catch{v(this,"string",t,n),t.typed=!1}return t}}}function Qh(e){return{kind:"transformation",type:"transform",reference:Qh,async:!1,operation:e,"~run"(t){return t.value=this.operation(t.value),t}}}function wu(e){return{kind:"validation",type:"ulid",reference:wu,async:!1,expects:null,requirement:jh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"ULID",t,n),t}}}function Pi(e){return{kind:"validation",type:"url",reference:Pi,async:!1,expects:null,requirement(t){try{return new URL(t),!0}catch{return!1}},message:e,"~run"(t,n){return t.typed&&!this.requirement(t.value)&&v(this,"URL",t,n),t}}}function Su(e){return{kind:"validation",type:"uuid",reference:Su,async:!1,expects:null,requirement:Uh,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&v(this,"UUID",t,n),t}}}function ku(e,t){return{kind:"validation",type:"value",reference:ku,async:!1,expects:e instanceof Date?e.toJSON():J(e),requirement:e,message:t,"~run"(n,r){return n.typed&&!(this.requirement<=n.value&&this.requirement>=n.value)&&v(this,"value",n,r,{received:n.value instanceof Date?n.value.toJSON():J(n.value)}),n}}}function xu(e,t){return{kind:"validation",type:"values",reference:xu,async:!1,expects:`${Pt(e.map(n=>n instanceof Date?n.toJSON():J(n)),"|")}`,requirement:e,message:t,"~run"(n,r){return n.typed&&!this.requirement.some(s=>s<=n.value&&s>=n.value)&&v(this,"value",n,r,{received:n.value instanceof Date?n.value.toJSON():J(n.value)}),n}}}function Eu(e,t,n){return{kind:"validation",type:"words",reference:Eu,async:!1,expects:`${t}`,locales:e,requirement:t,message:n,"~run"(r,s){if(r.typed){const i=Fr(this.locales,r.value);i!==this.requirement&&v(this,"words",r,s,{received:`${i}`})}return r}}}function Tu(e,t,n){return typeof e.fallback=="function"?e.fallback(t,n):e.fallback}function eg(e,t){return{...e,"~run"(n,r){const s=n.issues&&[...n.issues];if(n=e["~run"](n,r),n.issues){for(const i of n.issues)if(!s?.includes(i)){let o=n.value;for(const a of t){const l=o[a],c={type:"unknown",origin:"value",input:o,key:a,value:l};if(i.path?i.path.push(c):i.path=[c],!l)break;o=l}}}return n}}}function Fi(e,t,n){return typeof e.default=="function"?e.default(t,n):e.default}function Ou(e,t){return{kind:"schema",type:"array",reference:Ou,expects:"Array",async:!1,item:e,message:t,get"~standard"(){return Te(this)},"~run"(n,r){const s=n.value;if(Array.isArray(s)){n.typed=!0,n.value=[];for(let i=0;i<s.length;i++){const o=s[i],a=this.item["~run"]({value:o},r);if(a.issues){const l={type:"array",origin:"value",input:s,key:i,value:o};for(const c of a.issues)c.path?c.path.unshift(l):c.path=[l],n.issues?.push(c);if(n.issues||(n.issues=a.issues),r.abortEarly){n.typed=!1;break}}a.typed||(n.typed=!1),n.value.push(a.value)}}else v(this,"type",n,r);return n}}}function zi(e){return{kind:"schema",type:"boolean",reference:zi,expects:"boolean",async:!1,message:e,get"~standard"(){return Te(this)},"~run"(t,n){return typeof t.value=="boolean"?t.typed=!0:v(this,"type",t,n),t}}}function Us(e,t){if(typeof e==typeof t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{value:e};if(e&&t&&e.constructor===Object&&t.constructor===Object){const n={...e};for(const r in t)if(Object.prototype.hasOwnProperty.call(e,r)){const s=Us(e[r],t[r]);if(s.issue)return s;n[r]=s.value}else n[r]=t[r];return{value:n}}if(Array.isArray(e)&&Array.isArray(t)&&e.length===t.length){const n=[...e];for(let r=0;r<e.length;r++){const s=Us(e[r],t[r]);if(s.issue)return s;n[r]=s.value}return{value:n}}}return{issue:!0}}function tg(e,t){return{kind:"schema",type:"intersect",reference:tg,expects:Pt(e.map(n=>n.expects),"&"),async:!1,options:e,message:t,get"~standard"(){return Te(this)},"~run"(n,r){if(this.options.length){const s=n.value;let i;n.typed=!0;for(const o of this.options){const a=o["~run"]({value:s},r);if(a.issues){if(n.issues)for(const l of a.issues)n.issues.push(l);else n.issues=a.issues;if(r.abortEarly){n.typed=!1;break}}a.typed||(n.typed=!1),n.typed&&(i?i.push(a.value):i=[a.value])}if(n.typed){n.value=i[0];for(let o=1;o<i.length;o++){const a=Us(n.value,i[o]);if(a.issue){v(this,"type",n,r,{received:"unknown"});break}n.value=a.value}}}else v(this,"type",n,r);return n}}}function Ws(e,t){return{kind:"schema",type:"literal",reference:Ws,expects:J(e),async:!1,literal:e,message:t,get"~standard"(){return Te(this)},"~run"(n,r){return n.value===this.literal?n.typed=!0:v(this,"type",n,r),n}}}function Iu(e){return{kind:"schema",type:"number",reference:Iu,expects:"number",async:!1,message:e,get"~standard"(){return Te(this)},"~run"(t,n){return typeof t.value=="number"&&!isNaN(t.value)?t.typed=!0:v(this,"type",t,n),t}}
11}function vt(e,t){return{kind:"schema",type:"object",reference:vt,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return Te(this)},"~run"(n,r){const s=n.value;if(s&&typeof s=="object"){n.typed=!0,n.value={};for(const i in this.entries){const o=this.entries[i];if(i in s||(o.type==="exact_optional"||o.type==="optional"||o.type==="nullish")&&o.default!==void 0){const a=i in s?s[i]:Fi(o),l=o["~run"]({value:a},r);if(l.issues){const c={type:"object",origin:"value",input:s,key:i,value:a};for(const u of l.issues)u.path?u.path.unshift(c):u.path=[c],n.issues?.push(u);if(n.issues||(n.issues=l.issues),r.abortEarly){n.typed=!1;break}}l.typed||(n.typed=!1),n.value[i]=l.value}else if(o.fallback!==void 0)n.value[i]=Tu(o);else if(o.type!=="exact_optional"&&o.type!=="optional"&&o.type!=="nullish"&&(v(this,"key",n,r,{input:void 0,expected:`"${i}"`,path:[{type:"object",origin:"key",input:s,key:i,value:s[i]}]}),r.abortEarly))break}}else v(this,"type",n,r);return n}}}function G(e,t){return{kind:"schema",type:"optional",reference:G,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return Te(this)},"~run"(n,r){return n.value===void 0&&(this.default!==void 0&&(n.value=Fi(this,n,r)),n.value===void 0)?(n.typed=!0,n):this.wrapped["~run"](n,r)}}}function ng(e,t){return{kind:"schema",type:"picklist",reference:ng,expects:Pt(e.map(J),"|"),async:!1,options:e,message:t,get"~standard"(){return Te(this)},"~run"(n,r){return this.options.includes(n.value)?n.typed=!0:v(this,"type",n,r),n}}}function Cu(e,t){return{kind:"schema",type:"strict_object",reference:Cu,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return Te(this)},"~run"(n,r){const s=n.value;if(s&&typeof s=="object"){n.typed=!0,n.value={};for(const i in this.entries){const o=this.entries[i];if(i in s||(o.type==="exact_optional"||o.type==="optional"||o.type==="nullish")&&o.default!==void 0){const a=i in s?s[i]:Fi(o),l=o["~run"]({value:a},r);if(l.issues){const c={type:"object",origin:"value",input:s,key:i,value:a};for(const u of l.issues)u.path?u.path.unshift(c):u.path=[c],n.issues?.push(u);if(n.issues||(n.issues=l.issues),r.abortEarly){n.typed=!1;break}}l.typed||(n.typed=!1),n.value[i]=l.value}else if(o.fallback!==void 0)n.value[i]=Tu(o);else if(o.type!=="exact_optional"&&o.type!=="optional"&&o.type!=="nullish"&&(v(this,"key",n,r,{input
11:void 0,expected:`"${i}"`,path:[{type:"object",origin:"key",input:s,key:i,value:s[i]}]}),r.abortEarly))break}if(!n.issues||!r.abortEarly){for(const i in s)if(!(i in this.entries)){v(this,"key",n,r,{input:i,expected:"never",path:[{type:"object",origin:"key",input:s,key:i,value:s[i]}]});break}}}else v(this,"type",n,r);return n}}}function Z(e){return{kind:"schema",type:"string",reference:Z,expects:"string",async:!1,message:e,get"~standard"(){return Te(this)},"~run"(t,n){return typeof t.value=="string"?t.typed=!0:v(this,"type",t,n),t}}}function Uo(e){let t;if(e)for(const n of e)if(t)for(const r of n.issues)t.push(r);else t=n.issues;return t}function $u(e,t){return{kind:"schema",type:"union",reference:$u,expects:Pt(e.map(n=>n.expects),"|"),async:!1,options:e,message:t,get"~standard"(){return Te(this)},"~run"(n,r){let s,i,o;for(const a of this.options){const l=a["~run"]({value:n.value},r);if(l.typed)if(l.issues)i?i.push(l):i=[l];else{s=l;break}else o?o.push(l):o=[l]}if(s)return s;if(i){if(i.length===1)return i[0];v(this,"type",n,r,{issues:Uo(i)}),n.typed=!0}else{if(o?.length===1)return o[0];v(this,"type",n,r,{issues:Uo(o)})}return n}}}function rg(){return{kind:"schema",type:"unknown",reference:rg,expects:"unknown",async:!1,get"~standard"(){return Te(this)},"~run"(e){return e.typed=!0,e}}}function Et(...e){return{...e[0],pipe:e,get"~standard"(){return Te(this)},"~run"(t,n){for(const r of e)if(r.kind!=="metadata"){if(t.issues&&(r.kind==="schema"||r.kind==="transformation")){t.typed=!1;break}(!t.issues||!n.abortEarly&&!n.abortPipeEarly)&&(t=r["~run"](t,n))}return t}}}function sg(e,t,n){const r=e["~run"]({value:t},Bl(n));return{typed:r.typed,success:!r.issues,output:r.value,issues:r.issues}}function ig(e){const t=ie("awaitingLoad"),n=[];let r=!1;const s=e.use?.()||{},i={status:t,proxy:s,async load(){if(!(r||t.value!=="awaitingLoad")){r=!0,t.value="loading";try{e.clientInit&&(console.log(`[NpmScriptStub] Initializing ${e.key}...`),await e.clientInit(),console.log(`[NpmScriptStub] ${e.key} initialized successfully`)),t.value="loaded",n.splice(0).forEach(o=>{try{o(s)}catch(a){js.error(`[NpmScriptStub] Error in onLoaded callback for ${e.key}:`,a)}})}catch(o){n.splice(0),js.error(`[NpmScriptStub] Failed to initialize ${e.key}:`,o),t.value="error"}}},onLoaded(o){t.value==="loaded"?o(s):t.value!=="error"&&n.push(o)},get $script(){return{status:t.value,load:i.load}}};if(e.trigger)if(typeof e.trigger=="function"){const o=e.trigger(()=>i.load());o&&typeof o=="object"&&"then"in o&&o.then(()=>i.load())}else e.trigger==="manual"||(e.trigger==="onNuxtReady"?b(async()=>{const{onNuxtReady:o}=await import("./BLKFqx7m.js").then(a=>a.aA);return{onNuxtReady:o}},__vite__mapDeps([3,4]),import.meta.url).then(({onNuxtReady:o})=>{o(()=>i.load())}):e.trigger==="client"&&i.load());else i.load();return i}const _t=$u([Ws("granted"),Ws("denied")]),og=vt({ad_storage:G(_t),ad_user_data:G(_t),ad_personalization:G(_t),analytics_storage:G(_t),functionality_storage:G(_t),personalization_storage:G(_t),security_storage:G(_t),wait_for_update:G(Iu()),region:G(Ou(Z()))}),ag=vt({user_email:G(Z()),ip_address:G(Z()),user_phone_number:G(Z()),user_hashed_email:G(Z()),user_hashed_phone_number:G(Z()),firstname:G(Z()),lastname:G(Z()),geo_city:G(Z()),geo_region:G(Z()),geo_postal_code:G(Z()),geo_country:G(Z()),age:G(Z())});({...ag?.entries||{}});const lg=Cu(og.entries);function cg(e,t,n){const r=sg(lg,t);if(!r.success)for(const s of r.issues)e.warn(`${n}: ${s.message} (path: ${s.path?.map(i=>i.key).join(".")||"<root>"})`)}function ug(e,t,n){if(e.consent)return;const r=js.withTag(n),s=(i,o)=>{cg(r,o,`consent.${i}()`),t.push(e.proxy,i,o)};e.consent={default:i=>s("default",i),update:i=>s("update",i)}}function dg(e){return(yt().public.scripts||{})[e]}function fg(e,t,n){const r=dg(e),s=Fn(n||{},typeof r=="object"?r:{}),i=t(s,{scriptInput:s.scriptInput});if(i.scriptMode==="npm")return ig({key:String(e),use:i.scriptOptions?.use,clientInit:i.clientInit,trigger:s.scriptOptions?.trigger});let o=i.scriptInput;const a=s.scriptInput?.src,l=i.scriptInput?.src;
11if(a&&l&&typeof l=="string"&&typeof a=="string"){const f=Eo(l),m=Eo(a),h=To(f.search||""),g=To(m.search||""),y={...h,...g},w=m.href?.split("?")[0]||a;o={...i.scriptInput||{},src:$i(w,y)}}const c=Fn(o,s.scriptInput,{key:e}),u={...s?.scriptOptions,...i.scriptOptions};u.use&&(u.use=u.use);const d=u.beforeInit;u.beforeInit=()=>{d?.(),i.clientInit?.()};const p=Hl(c,u);return i.gcmConsent&&ug(p,i.gcmConsent,String(e)),p}function Vi(e){return fg(e?.key||"googleTagManager",t=>{const n=t?.l??t?.dataLayer??"dataLayer";return{scriptInput:{src:$i("https://www.googletagmanager.com/gtm.js",{id:t.id,l:t.l,gtm_auth:t.auth,gtm_preview:t.preview,gtm_cookies_win:t.cookiesWin?"x":void 0,gtm_debug:t.debug?"x":void 0,gtm_npa:t.npa?"1":void 0,gtm_data_layer:t.dataLayer,gtm_env:t.envName,gtm_auth_referrer_policy:t.authReferrerPolicy})},schema:void 0,scriptOptions:{use:()=>({dataLayer:window[n],google_tag_manager:window.google_tag_manager})},gcmConsent:{push:(r,s,i)=>{const o=window[n]=window[n]||[];(function(...a){o.push(arguments)})("consent",s,i)}},clientInit:()=>{window[n]=window[n]||[];function r(...s){window[n].push(arguments)}if(window.gtag=r,t.defaultConsent){const s=Array.isArray(t.defaultConsent)?t.defaultConsent:[t.defaultConsent];for(const i of s)r("consent","default",i)}e?.onBeforeGtmStart?.(r),window[n].push({"gtm.start":Date.now(),event:"gtm.js"})}}},e)}const pg=H({name:"scripts:init",env:{islands:!1},parallel:!0,setup(){return{provide:{scripts:{googleTagManager:Vi({scriptOptions:{trigger:"onNuxtReady",bundle:!1}})}}}}});function mg(e){if(!e)return{};const t={};for(const n in e)n.startsWith("data-v-")||(t[n]=e[n]);return t}function hg(e,t,n,r){return $p([e,t,n,r]).replace(/[-_]/g,"")}const tr="_islandPromises",Wo=/data-island-uid="([^"]*)"/,gg=/data-island-uid(="")?(?!="[^"])/g,yg=/data-island-slot="([^"]*)"/g,vg=/ data-island-slot="([^"]*)"[^>]*>/g,_g=/^<[^> ]*/;let bg=1;const wg=()=>(bg++).toString();const Sg=M({name:"NuxtIsland",inheritAttrs:!1,props:{name:{type:String,required:!0},lazy:Boolean,props:{type:Object,default:()=>{}},context:{type:Object,default:()=>({})},scopeId:{type:String,default:()=>{}},source:{type:String,default:()=>{}},dangerouslyLoadClientComponents:{type:Boolean,default:!1}},emits:["error"],async setup(e,{slots:t,expose:n,emit:r}){let s=!1;const i=ae(0),o=ae(0),a=x(()=>Oo),l=ie(null),c=yt(),u=Ee(),d=x(()=>mg(e.props)),p=x(()=>hg(e.name,d.value,e.context,e.source)),f=Rr(),m=Np();let h;const g=globalThis.fetch,y=ae(!1);Rt(()=>{y.value=!0,i.value++}),El(()=>{h&&h.dispose()});function w(I,D){const K={};D.props&&(K.props=D.props),D.slots&&(K.slots=D.slots),D.components&&(K.components=D.components),D.head&&(K.head=D.head),u.payload.data[I]={__nuxt_island:{key:I,params:{...e.context,props:e.props?JSON.stringify(e.props):void 0},result:K},...D}}const E={};if(f.vnode.el){const I=vo(u.payload.data[`${e.name}_${p.value}`])?.slots;I&&(E.slots=I)}const k=ie("");if(f.vnode?.el){k.value=Ap(f.vnode.el,!0)?.join("")||"";const I=`${e.name}_${p.value}`;u.payload.data[I]||={},u.payload.data[I].html=k.value.replaceAll(new RegExp(`data-island-uid="${k.value.match(Wo)?.[1]||""}"`,"g"),'data-island-uid=""')}const N=ie(k.value.match(Wo)?.[1]||wg()),C=new Set(Object.keys(t)),A=x(()=>new Set([...k.value.matchAll(yg)].map(I=>I[1]))),W=x(()=>{let I=k.value;if(e.scopeId&&(I=I.replace(_g,D=>D+" "+e.scopeId)),!a.value)for(const[D,K]of Object.entries(E.components||{}))I=I.replace(new RegExp(` data-island-uid="${N.value}" data-island-component="${D}"[^>]*>`),be=>be+K.html);return E.slots?I.replaceAll(vg,(D,K)=>C.has(K)?D:D+(E.slots?.[K]?.fallback||"")):I}),Q=Ml();async function q(I=!1){const D=`${e.name}_${p.value}`;if(!I&&u.payload.data[D]?.html)return u.payload.data[D];const K=`/__nuxt_island/${D}.json`,be=await g($i(e.source?K:Ll(c.app.baseURL??"",K),{...e.context,props:e.props?JSON.stringify(e.props):void 0}));if(!be.ok)throw oe({status:be.status,statusText:be.statusText});try{const ce=await be.json();return w(D,ce),ce}catch(ce){throw be.status!==200?new Error(ce.toString(),{cause:be}):ce}}async function Ue(I=!1){u[tr]||={},u[tr][N.value]||=q(I).finally(()=>{delete u[tr][N.value]});try{const D=await u[tr][N.value];k.value=D.html.replaceAll(gg,`data-island-uid="${N.value}"`),o.value++,l.value=null,E.slots=D.slots||{}
11,E.components=D.components||{},D?.head&&(h?h.patch(D.head):h=Q.push(D.head)),Ct(()=>{s=!0,i.value++})}catch(D){l.value=D,r("error",D)}}if(n({refresh:()=>Ue(!0)}),Pe(e,rp(()=>Ue(),100),{deep:!0}),f.vnode.el){const I=vo(u.payload.data[`${e.name}_${p.value}`])?.head;I&&(h=Q.push(I))}return!f.vnode.el&&e.lazy?Ue():(!f.vnode.el||!u.payload.serverRendered)&&await Ue(),(I,D)=>!W.value||l.value?[t.fallback?.({error:l.value})??Re("div")]:[_o([o.value],()=>Re(tn,{key:o.value},[re(sp(W.value||"<div></div>",1))]),D,0),_o([i.value],()=>{const K=[],be=i.value===0||!!(i.value&&!(i.value%2));if(N.value&&W.value&&(e.lazy?s:y.value||f.vnode?.el))for(const ce in t)A.value.has(ce)&&K.push(Re(Tl,{to:`${be?"div":""}[data-island-uid="${N.value}"][data-island-slot="${ce}"]`},{default:()=>(E.slots?.[ce]?.props?.length?E.slots[ce].props:[{}]).map(Qn=>t[ce]?.(Qn))}));return re(tn,K)},D,1)]}}),kg=e=>M({name:e,inheritAttrs:!1,props:{lazy:Boolean},emits:["error"],setup(t,{attrs:n,slots:r,expose:s,emit:i}){const o=Rr(),a=ie(null);return s({refresh:()=>a.value?.refresh()}),()=>re(Sg,{name:e,lazy:t.lazy,props:n,scopeId:o?.vnode.scopeId,ref:a,onError:l=>{i("error",l)}},r)}}),xg=kg("CoreRenderEngine"),Eg=j(()=>b(()=>import("./CQWvr3Hp.js"),__vite__mapDeps([120,23,1,2,3,4,24,51]),import.meta.url).then(e=>e.default||e.default||e)),Tg=j(()=>b(()=>import("./umAx5vb3.js"),__vite__mapDeps([105,51,4,3]),import.meta.url).then(e=>e.default||e.default||e)),Og=j(()=>b(()=>import("./Bjemlx_K.js"),__vite__mapDeps([137,104,3,4,109]),import.meta.url).then(e=>e.default||e.default||e)),Ig=j(()=>b(()=>import("./DOytrrPi.js"),__vite__mapDeps([138,104,3,4,109]),import.meta.url).then(e=>e.default||e.default||e)),Cg=j(()=>b(()=>import("./D4Gr3z6-.js"),__vite__mapDeps([139,4,3,140]),import.meta.url).then(e=>e.default||e.default||e)),$g=j(()=>b(()=>import("./CerZfdXv.js"),__vite__mapDeps([141,4,3,142]),import.meta.url).then(e=>e.default||e.default||e)),Ag=j(()=>b(()=>import("./D6IRZAMN.js"),__vite__mapDeps([143,103,104,3,4,109]),import.meta.url).then(e=>e.default||e.default||e)),Ng=j(()=>b(()=>import("./C7rJgEmq.js"),__vite__mapDeps([144,4,3,145]),import.meta.url).then(e=>e.default||e.default||e)),Rg=j(()=>b(()=>Promise.resolve().then(()=>M1),void 0,import.meta.url).then(e=>e.default||e.default||e)),Dg=[["CoreRenderEngine",xg],["DomainUiExternalArticlesList",Eg],["DomainUiPageMeta",Tg],["TemplatesCategoryV2",Og],["TemplatesCategory",Ig],["TemplatesDefaultCategory",Cg],["TemplatesDefaultTemplate",$g],["TemplatesHomepageV1",Ag],["TemplatesHomepageV2",Ng],["Icon",Rg]],Lg=H({name:"nuxt:global-components",setup(e){for(const[t,n]of Dg)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),ft={"app-page-only":j(()=>b(()=>Promise.resolve().then(()=>Ux),void 0,import.meta.url).then(e=>e.default||e)),default:j(()=>b(()=>import("./sFJ5WRRn.js"),__vite__mapDeps([146,3,4,147,1,2,73,148,149,77,13,12,11,14,150,90,151,152,24,51,83,84,153]),import.meta.url).then(e=>e.default||e)),"footer-only":j(()=>b(()=>import("./CFLzaBNy.js"),__vite__mapDeps([154,155,3,4,51,156,78,11,13,2,1,157,158]),import.meta.url).then(e=>e.default||e)),fortunes:j(()=>b(()=>import("./C4GC9TVr.js"),__vite__mapDeps([159,3,4,147,1,2,73,152,24,157]),import.meta.url).then(e=>e.default||e)),"header-only":j(()=>b(()=>import("./FttVS59K.js"),__vite__mapDeps([160,148,3,4,149,77,13,12,11,14,150,90,1,2,151,73,152,24,157,161]),import.meta.url).then(e=>e.default||e))},Mg=H({name:"nuxt:prefetch",setup(e){const t=Fe();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof ft[r]=="function"&&await ft[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Ti(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let i=Wl(r.meta.middleware);i=i.filter(o=>typeof o=="string");for(const o of i)typeof zs[o]=="function"&&zs[o]();typeof s=="string"&&s in ft&&Rp(ft[s])})}}),Pg=H({name:"sentry-client-config",async setup(){let e,t;[e,t]=qe(()=>b(()=>import("./BWbaUXAQ.js"),__vite__mapDeps([162,3,4]),import.meta.url)),await e,t()}});Gl(e=>`Typage invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Yl,e=>`Base64 invalide: reçu ${e.received}`,"fr");_(Jl,e=>
11`BIC invalide: reçu ${e.received}`,"fr");_(Kl,e=>`Octet invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(zr,e=>`Valeur invalide: reçu ${e.received}`,"fr");_(Xl,e=>`Valeur invalide: reçu ${e.received}`,"fr");_(Ql,e=>`Élément invalide: reçu ${e.received}`,"fr");_(ec,e=>`Élément invalide: reçu ${e.received}`,"fr");_(tc,e=>`Carte de crédit invalide: reçu ${e.received}`,"fr");_(nc,e=>`Cuid2 invalide: reçu ${e.received}`,"fr");_(rc,e=>`Décimale invalide: reçu ${e.received}`,"fr");_(sc,e=>`Chiffres invalide: reçu ${e.received}`,"fr");_(ic,e=>`Domaine invalide: reçu ${e.received}`,"fr");_(Vr,e=>`Email invalide: reçu ${e.received}`,"fr");_(oc,e=>`Émoji invalide: reçu ${e.received}`,"fr");_(ac,e=>`Longueur invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(lc,e=>`Fin invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(cc,e=>`Entrées invalides: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(uc,e=>`Élément invalide: reçu ${e.received}`,"fr");_(dc,e=>`Contenu invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(fc,e=>`Entier invalide: reçu ${e.received}`,"fr");_(pc,e=>`Graphèmes invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(mc,e=>`Valeur invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(hc,e=>`Entrée invalide: reçu ${e.received}`,"fr");_(gc,e=>`Hash invalide: reçu ${e.received}`,"fr");_(yc,e=>`Hexadécimal invalide: reçu ${e.received}`,"fr");_(vc,e=>`Couleur hexa invalide: reçu ${e.received}`,"fr");_(_c,e=>`IMEI invalide: reçu ${e.received}`,"fr");_(bc,e=>`Contenu invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(wc,e=>`Entier invalide: reçu ${e.received}`,"fr");_(Sc,e=>`IP invalide: reçu ${e.received}`,"fr");_(kc,e=>`IPv4 invalide: reçu ${e.received}`,"fr");_(xc,e=>`IPv6 invalide: reçu ${e.received}`,"fr");_(Ec,e=>`ISBN invalide: reçu ${e.received}`,"fr");_(Ni,e=>`Date invalide: reçu ${e.received}`,"fr");_(Oc,e=>`Date et heure invalide: reçu ${e.received}`,"fr");_(Ic,e=>`Temps invalide: reçu ${e.received}`,"fr");_(Cc,e=>`Temps invalide (secondes): reçu ${e.received}`,"fr");_($c,e=>`Timestamp invalide: reçu ${e.received}`,"fr");_(Ac,e=>`Semaine invalide: reçu ${e.received}`,"fr");_(Tc,e=>`ISRC invalide: reçu ${e.received}`,"fr");_(Nc,e=>`JWS compact invalide: reçu ${e.received}`,"fr");_(Rc,e=>`Longueur invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Dc,e=>`Valeur invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Lc,e=>`MAC invalide: reçu ${e.received}`,"fr");_(Mc,e=>`MAC 48-bit invalide: reçu ${e.received}`,"fr");_(Pc,e=>`MAC 64-bit invalide: reçu ${e.received}`,"fr");_(Fc,e=>`Octet invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(zc,e=>`Entrées invalides: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Vc,e=>`Graphèmes invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(jr,e=>`Longueur invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Ri,e=>`Taille invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Di,e=>`Valeur invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(jc,e=>`Mots invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Uc,e=>`Type MIME invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Wc,e=>`Octet invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(qc,e=>`Entrées invalides: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Hc,e=>`Graphèmes invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(It,e=>`Longueur invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Li,e=>`Taille invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Mi,e=>`Valeur invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Bc,e=>`Mots invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Gc,e=>`Multiple invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Zc,e=>`Nano ID invalide: reçu ${e.received}`,"fr");_(Yc,e=>`Longueur invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Jc,e=>`Octet invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Kc,e=>`Entrées invalides: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Xc,e=>`Graphèmes invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Qc,e=>`Longueur invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(eu,e=>`Taille invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(tu,e=>`Valeur invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(nu,e=>`Valeur invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(ru,e=>`Mots invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(su,e=>`Octet invalide: reçu ${e.received}`,"fr");_(iu,e=>`Booléen invalide: reçu ${e.received}`,"fr");_(ou,e=>`JSON invalide: reçu ${e.received}`,"fr");_(au,e=>`Valeur invalide: reçu ${e.received}`,"fr");_(lu,e=>`Entrée invalide: reçu ${e.received}`,"fr");_(cu,e=>`Entrée invalide: reçu ${e.received}`,"fr");_(Zt,e=>`Format invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(uu,e=>`Email invalide: reçu ${e.received}`,"fr");_(du,e=>`Entier sûr invalide: reçu ${e.received}`,"fr");_(fu,e=>`Taille invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(pu,e=>`Slug invalide: reçu ${e.received}`,"fr");_(mu,e=>`Élément invalide: reçu ${e.received}`,"fr");_(hu,e=>`Début invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(gu,e=>`JSON invalide: reçu ${e.received}`,"fr");_(yu,e=>`BigInt invalide: reçu ${e.received}`,"fr");_(vu,e=>`Date invalide: reçu ${e.received}`,"fr");_(_u,e=>`Nombre invalide: reçu ${e.received}`,"fr");_(bu,e=>`Chaîne invalide: reçu ${e.received}`,"fr");_(wu,e=>`ULID invalide: reçu ${e.received}`,"fr");_(Pi,e=>
11`URL invalide: reçu ${e.received}`,"fr");_(Su,e=>`UUID invalide: reçu ${e.received}`,"fr");_(ku,e=>`Valeur invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(xu,e=>`Valeur invalide: attendu ${e.expected}, mais reçu ${e.received}`,"fr");_(Eu,e=>`Mots invalide: reçu ${e.received}`,"fr");class Ft extends Error{}class Fg extends Ft{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class zg extends Ft{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Vg extends Ft{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Yt extends Ft{}class Au extends Ft{constructor(t){super(`Invalid unit ${t}`)}}class de extends Ft{}class ot extends Ft{constructor(){super("Zone is an abstract class")}}const S="numeric",ze="short",xe="long",br={year:S,month:S,day:S},Nu={year:S,month:ze,day:S},jg={year:S,month:ze,day:S,weekday:ze},Ru={year:S,month:xe,day:S},Du={year:S,month:xe,day:S,weekday:xe},Lu={hour:S,minute:S},Mu={hour:S,minute:S,second:S},Pu={hour:S,minute:S,second:S,timeZoneName:ze},Fu={hour:S,minute:S,second:S,timeZoneName:xe},zu={hour:S,minute:S,hourCycle:"h23"},Vu={hour:S,minute:S,second:S,hourCycle:"h23"},ju={hour:S,minute:S,second:S,hourCycle:"h23",timeZoneName:ze},Uu={hour:S,minute:S,second:S,hourCycle:"h23",timeZoneName:xe},Wu={year:S,month:S,day:S,hour:S,minute:S},qu={year:S,month:S,day:S,hour:S,minute:S,second:S},Hu={year:S,month:ze,day:S,hour:S,minute:S},Bu={year:S,month:ze,day:S,hour:S,minute:S,second:S},Ug={year:S,month:ze,day:S,weekday:ze,hour:S,minute:S},Gu={year:S,month:xe,day:S,hour:S,minute:S,timeZoneName:ze},Zu={year:S,month:xe,day:S,hour:S,minute:S,second:S,timeZoneName:ze},Yu={year:S,month:xe,day:S,weekday:xe,hour:S,minute:S,timeZoneName:xe},Ju={year:S,month:xe,day:S,weekday:xe,hour:S,minute:S,second:S,timeZoneName:xe};class Hn{get type(){throw new ot}get name(){throw new ot}get ianaName(){return this.name}get isUniversal(){throw new ot}offsetName(t,n){throw new ot}formatOffset(t,n){throw new ot}offset(t){throw new ot}equals(t){throw new ot}get isValid(){throw new ot}}let ms=null;class Ur extends Hn{static get instance(){return ms===null&&(ms=new Ur),ms}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return ad(t,n,r)}formatOffset(t,n){return An(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}const qs=new Map;function Wg(e){let t=qs.get(e);return t===void 0&&(t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),qs.set(e,t)),t}const qg={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Hg(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,i,o,a,l,c,u]=r;return[o,s,i,a,l,c,u]}function Bg(e,t){const n=e.formatToParts(t),r=[];for(let s=0;s<n.length;s++){const{type:i,value:o}=n[s],a=qg[i];i==="era"?r[a]=o:$(a)||(r[a]=parseInt(o,10))}return r}const hs=new Map;class rt extends Hn{static create(t){let n=hs.get(t);return n===void 0&&hs.set(t,n=new rt(t)),n}static resetCache(){hs.clear(),qs.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=rt.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return ad(t,n,r,this.name)}formatOffset(t,n){return An(this.offset(t),n)}offset(t){if(!this.valid)return NaN;const n=new Date(t);if(isNaN(n))return NaN;const r=Wg(this.name);let[s,i,o,a,l,c,u]=r.formatToParts?Bg(r,n):Hg(r,n);a==="BC"&&(s=-Math.abs(s)+1);const p=qr({year:s,month:i,day:o,hour:l===24?0:l,minute:c,second:u,millisecond:0});let f=+n;const m=f%1e3;return f-=m>=0?m:1e3+m,(p-f)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let qo={};function Gg(e,t={}){const n=JSON.stringify([e,t]);let r=qo[n];return r||(r=new Intl.ListFormat(e,t),qo[n]=r),r}const Hs=new Map;function Bs(e,t={}){const n=JSON.stringify([e,t]);let r=Hs.get(n);return r===void 0&&(r=new Intl.DateTimeFormat(e,t),Hs.set(n,r)),r}const Gs=new Map;function Zg(e,t={}){const n=JSON.stringify([e,t]);let r=Gs.get(n);return r===void 0&&(r=new Intl.NumberFormat(e,t),Gs.set(n,r)),r}const Zs=new Map;function Yg(e,t={}){const{base:n,...r}=t,s=JSON.stringify([e,r]);let i=Zs.get(s);return i===void 0&&(i=new Intl.RelativeTimeFormat(e,t),Zs.set(s,i)),i}let Tn=null;function Jg(){return Tn||(Tn=new Intl.DateTimeFormat().resolvedOptions().locale,Tn)}const Ys=new Map;function Ku(e){let t=Ys.get(e);return t===void 0&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),Ys.set(e,t)),t}const Js=new Map;function Kg(e){let t=Js.get(e);if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in t||(t={...Xu,...t}),Js.set(e,t)}return t}function Xg(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let r,s;try{r=Bs(e).resolvedOptions(),s=e}catch{const l=e.substring(0,n);r=Bs(l).resolvedOptions(),s=l}const{numberingSystem:i,calendar:o}=r;return[s,i,o]}}function Qg(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function ey(e){const t=[];for(let n=1;n<=12;n++){const r=T.utc(2009,n,1);t.push(e(r))}return t}function ty(e){const t=[];for(let n=1;n<=7;n++){const r=T.utc(2016,11,13+n);t.push(e(r))}return t}function nr(e,t,n,r){const s=e.listingMode();return s==="error"?null:s==="en"?n(t):r(t)}function ny(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||Ku(e.locale).numberingSystem==="latn"}class ry{constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:s,floor:i,...o}=r;if(!n||Object.keys(o).length>0){const a={useGrouping:!1,...r};r.padTo>0&&(a.minimumIntegerDigits=r.padTo),this.inf=Zg(t,a)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}else{const n=this.floor?Math.floor(t):Hi(t,3);return te(n,this.padTo)}}}class sy{constructor(t,n,r){this.opts=r,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const o=-1*(t.offset/60),a=o>=0?`Etc/GMT+${o}`:`Etc/GMT${o}`;t.offset!==0&&rt.create(a).valid?(s=a,this.dt=t):(s="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const i={...this.opts};i.timeZone=i.timeZone||s,this.dtf=Bs(n,i)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(n=>{if(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class iy{constructor(t,n,r){this.opts={style:"long",...r},!n&&id()&&(this.rtf=Yg(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):Oy(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const Xu={firstDay:1,minimalDays:4,weekend:[6,7]};class z{static fromOpts(t){return z.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,s,i=!1){const o=t||Y.defaultLocale,a=o||(i?"en-US":Jg()),l=n||Y.defaultNumberingSystem,c=r||Y.defaultOutputCalendar,u=Xs(s)||Y.defaultWeekSettings;return new z(a,l,c,u,o)}static resetCache(){Tn=null,Hs.clear(),Gs.clear(),Zs.clear(),Ys.clear(),Js.clear()}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:s}={}){return z.create(t,n,r,s)}constructor(t,n,r,s,i){const[o,a,l]=Xg(t);this.locale=o,this.numberingSystem=n||a||null,this.outputCalendar=r||l||null,this.weekSettings=s,this.intl=Qg(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=ny(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&n?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:z.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Xs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1){return nr(this,t,ud,()=>{const r=this.intl==="ja"||this.intl.startsWith("ja-");n&=!r;const s=n?{month:t,day:"numeric"}:{month:t},i=n?"format":"standalone";if(!this.monthsCache[i][t]){const o=r?a=>this.dtFormatter(a,s).format():a=>this.extract(a,s,"month");this.monthsCache[i][t]=ey(o)}return this.monthsCache[i][t]})}weekdays(t,n=!1){return nr(this,t,pd,()=>{const r=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=n?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=ty(i=>this.extract(i,r,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return nr(this,void 0,()=>md,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[T.utc(2016,11,13,9),T.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return nr(this,t,hd,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[T.utc(-40,1,1),T.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[t]}
11)}extract(t,n,r){const s=this.dtFormatter(t,n),i=s.formatToParts(),o=i.find(a=>a.type.toLowerCase()===r);return o?o.value:null}numberFormatter(t={}){return new ry(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new sy(t,this.intl,n)}relFormatter(t={}){return new iy(this.intl,this.isEnglish(),t)}listFormatter(t={}){return Gg(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||Ku(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:od()?Kg(this.locale):Xu}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let gs=null;class me extends Hn{static get utcInstance(){return gs===null&&(gs=new me(0)),gs}static instance(t){return t===0?me.utcInstance:new me(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new me(Hr(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${An(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${An(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return An(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class oy extends Hn{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function dt(e,t){if($(e)||e===null)return t;if(e instanceof Hn)return e;if(fy(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?Ur.instance:n==="utc"||n==="gmt"?me.utcInstance:me.parseSpecifier(n)||rt.create(e)}else return pt(e)?me.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new oy(e)}const ji={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Ho={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},ay=ji.hanidec.replace(/[\[|\]]/g,"").split("");function ly(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);if(e[n].search(ji.hanidec)!==-1)t+=ay.indexOf(e[n]);else for(const s in Ho){const[i,o]=Ho[s];r>=i&&r<=o&&(t+=r-i)}}return parseInt(t,10)}else return t}const Ks=new Map;function cy(){Ks.clear()}function De({numberingSystem:e},t=""){const n=e||"latn";let r=Ks.get(n);r===void 0&&(r=new Map,Ks.set(n,r));let s=r.get(t);return s===void 0&&(s=new RegExp(`${ji[n]}${t}`),r.set(t,s)),s}let Bo=()=>Date.now(),Go="system",Zo=null,Yo=null,Jo=null,Ko=60,Xo,Qo=null;class Y{static get now(){return Bo}static set now(t){Bo=t}static set defaultZone(t){Go=t}static get defaultZone(){return dt(Go,Ur.instance)}static get defaultLocale(){return Zo}static set defaultLocale(t){Zo=t}static get defaultNumberingSystem(){return Yo}static set defaultNumberingSystem(t){Yo=t}
11static get defaultOutputCalendar(){return Jo}static set defaultOutputCalendar(t){Jo=t}static get defaultWeekSettings(){return Qo}static set defaultWeekSettings(t){Qo=Xs(t)}static get twoDigitCutoffYear(){return Ko}static set twoDigitCutoffYear(t){Ko=t%100}static get throwOnInvalid(){return Xo}static set throwOnInvalid(t){Xo=t}static resetCaches(){z.resetCache(),rt.resetCache(),T.resetCache(),cy()}}class Me{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Qu=[0,31,59,90,120,151,181,212,243,273,304,334],ed=[0,31,60,91,121,152,182,213,244,274,305,335];function Ae(e,t){return new Me("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Ui(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return s===0?7:s}function td(e,t,n){return n+(Bn(e)?ed:Qu)[t-1]}function nd(e,t){const n=Bn(e)?ed:Qu,r=n.findIndex(i=>i<t),s=t-n[r];return{month:r+1,day:s}}function Wi(e,t){return(e-t+7)%7+1}function wr(e,t=4,n=1){const{year:r,month:s,day:i}=e,o=td(r,s,i),a=Wi(Ui(r,s,i),n);let l=Math.floor((o-a+14-t)/7),c;return l<1?(c=r-1,l=zn(c,t,n)):l>zn(r,t,n)?(c=r+1,l=1):c=r,{weekYear:c,weekNumber:l,weekday:a,...Br(e)}}function ea(e,t=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=e,o=Wi(Ui(r,1,t),n),a=Jt(r);let l=s*7+i-o-7+t,c;l<1?(c=r-1,l+=Jt(c)):l>a?(c=r+1,l-=Jt(r)):c=r;const{month:u,day:d}=nd(c,l);return{year:c,month:u,day:d,...Br(e)}}function ys(e){const{year:t,month:n,day:r}=e,s=td(t,n,r);return{year:t,ordinal:s,...Br(e)}}function ta(e){const{year:t,ordinal:n}=e,{month:r,day:s}=nd(t,n);return{year:t,month:r,day:s,...Br(e)}}function na(e,t){if(!$(e.localWeekday)||!$(e.localWeekNumber)||!$(e.localWeekYear)){if(!$(e.weekday)||!$(e.weekNumber)||!$(e.weekYear))throw new Yt("Cannot mix locale-based week fields with ISO-based week fields");return $(e.localWeekday)||(e.weekday=e.localWeekday),$(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),$(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function uy(e,t=4,n=1){const r=Wr(e.weekYear),s=Ne(e.weekNumber,1,zn(e.weekYear,t,n)),i=Ne(e.weekday,1,7);return r?s?i?!1:Ae("weekday",e.weekday):Ae("week",e.weekNumber):Ae("weekYear",e.weekYear)}function dy(e){const t=Wr(e.year),n=Ne(e.ordinal,1,Jt(e.year));return t?n?!1:Ae("ordinal",e.ordinal):Ae("year",e.year)}function rd(e){const t=Wr(e.year),n=Ne(e.month,1,12),r=Ne(e.day,1,Sr(e.year,e.month));return t?n?r?!1:Ae("day",e.day):Ae("month",e.month):Ae("year",e.year)}function sd(e){const{hour:t,minute:n,second:r,millisecond:s}=e,i=Ne(t,0,23)||t===24&&n===0&&r===0&&s===0,o=Ne(n,0,59),a=Ne(r,0,59),l=Ne(s,0,999);return i?o?a?l?!1:Ae("millisecond",s):Ae("second",r):Ae("minute",n):Ae("hour",t)}function $(e){return typeof e>"u"}function pt(e){return typeof e=="number"}function Wr(e){return typeof e=="number"&&e%1===0}function fy(e){return typeof e=="string"}function py(e){return Object.prototype.toString.call(e)==="[object Date]"}function id(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function od(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function my(e){return Array.isArray(e)?e:[e]}function ra(e,t,n){if(e.length!==0)return e.reduce((r,s)=>{const i=[t(s),s];return r&&n(r[0],i[0])===r[0]?r:i},null)[1]}function hy(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function nn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Xs(e){if(e==null)return null;if(typeof e!="object")throw new de("Week settings must be an object");if(!Ne(e.firstDay,1,7)||!Ne(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!Ne(t,1,7)))throw new de("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Ne(e,t,n){return Wr(e)&&e>=t&&e<=n}function gy(e,t){return e-t*Math.floor(e/t)}function te(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function ut(e){if(!($(e)||e===null||e===""))return parseInt(e,10)}function bt(e){if(!($(e)||e===null||e===""))return parseFloat(e)}function qi(e){if(!($(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}
11function Hi(e,t,n="round"){const r=10**t;switch(n){case"expand":return e>0?Math.ceil(e*r)/r:Math.floor(e*r)/r;case"trunc":return Math.trunc(e*r)/r;case"round":return Math.round(e*r)/r;case"floor":return Math.floor(e*r)/r;case"ceil":return Math.ceil(e*r)/r;default:throw new RangeError(`Value rounding ${n} is out of range`)}}function Bn(e){return e%4===0&&(e%100!==0||e%400===0)}function Jt(e){return Bn(e)?366:365}function Sr(e,t){const n=gy(t-1,12)+1,r=e+(t-n)/12;return n===2?Bn(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function qr(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function sa(e,t,n){return-Wi(Ui(e,1,t),n)+t-1}function zn(e,t=4,n=1){const r=sa(e,t,n),s=sa(e+1,t,n);return(Jt(e)-r+s)/7}function Qs(e){return e>99?e:e>Y.twoDigitCutoffYear?1900+e:2e3+e}function ad(e,t,n,r=null){const s=new Date(e),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const o={timeZoneName:t,...i},a=new Intl.DateTimeFormat(n,o).formatToParts(s).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function Hr(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0,s=n<0||Object.is(n,-0)?-r:r;return n*60+s}function ld(e){const t=Number(e);if(typeof e=="boolean"||e===""||!Number.isFinite(t))throw new de(`Invalid unit value ${e}`);return t}function kr(e,t){const n={};for(const r in e)if(nn(e,r)){const s=e[r];if(s==null)continue;n[t(r)]=ld(s)}return n}function An(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),s=e>=0?"+":"-";switch(t){case"short":return`${s}${te(n,2)}:${te(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${te(n,2)}${te(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function Br(e){return hy(e,["hour","minute","second","millisecond"])}const yy=["January","February","March","April","May","June","July","August","September","October","November","December"],cd=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],vy=["J","F","M","A","M","J","J","A","S","O","N","D"];function ud(e){switch(e){case"narrow":return[...vy];case"short":return[...cd];case"long":return[...yy];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const dd=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],fd=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],_y=["M","T","W","T","F","S","S"];function pd(e){switch(e){case"narrow":return[..._y];case"short":return[...fd];case"long":return[...dd];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const md=["AM","PM"],by=["Before Christ","Anno Domini"],wy=["BC","AD"],Sy=["B","A"];function hd(e){switch(e){case"narrow":return[...Sy];case"short":return[...wy];case"long":return[...by];default:return null}}function ky(e){return md[e.hour<12?0:1]}function xy(e,t){return pd(t)[e.weekday-1]}function Ey(e,t){return ud(t)[e.month-1]}function Ty(e,t){return hd(t)[e.year<0?0:1]}function Oy(e,t,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&i){const d=e==="days";switch(t){case 1:return d?"tomorrow":`next ${s[e][0]}`;case-1:return d?"yesterday":`last ${s[e][0]}`;case 0:return d?"today":`this ${s[e][0]}`}}const o=Object.is(t,-0)||t<0,a=Math.abs(t),l=a===1,c=s[e],u=r?l?c[1]:c[2]||c[1]:l?s[e][0]:e;return o?`${a} ${u} ago`:`in ${a} ${u}`}function ia(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const Iy={D:br,DD:Nu,DDD:Ru,DDDD:Du,t:Lu,tt:Mu,ttt:Pu,tttt:Fu,T:zu,TT:Vu,TTT:ju,TTTT:Uu,f:Wu,ff:Hu,fff:Gu,ffff:Yu,F:qu,FF:Bu,FFF:Zu,FFFF:Ju};class fe{static create(t,n={}){return new fe(t,n)}static parseFormat(t){let n=null,r="",s=!1;const i=[];for(let o=0;o<t.length;o++){const a=t.charAt(o);a==="'"?((r.length>0||s)&&i.push({literal:s||/^\s+$/.test(r),val:r===""?"'":r}),n=null,r="",s=!s):s||a===n?r+=a:(r.length>0&&i.push({literal:/^\s+$/.test(r),val:r}),r=a,n=a)}return r.length>0&&i.push({literal:s||/^\s+$/.test(r),val:r}),i}static macroTokenToFormatOpts(t){return Iy[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem(
11)),this.systemLoc.dtFormatter(t,{...this.opts,...n}).format()}dtFormatter(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n})}formatDateTime(t,n){return this.dtFormatter(t,n).format()}formatDateTimeParts(t,n){return this.dtFormatter(t,n).formatToParts()}formatInterval(t,n){return this.dtFormatter(t.start,n).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n){return this.dtFormatter(t,n).resolvedOptions()}num(t,n=0,r=void 0){if(this.opts.forceSimple)return te(t,n);const s={...this.opts};return n>0&&(s.padTo=n),r&&(s.signDisplay=r),this.loc.numberFormatter(s).format(t)}formatDateTimeFromString(t,n){const r=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",i=(f,m)=>this.loc.extract(t,f,m),o=f=>t.isOffsetFixed&&t.offset===0&&f.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,f.format):"",a=()=>r?ky(t):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(f,m)=>r?Ey(t,f):i(m?{month:f}:{month:f,day:"numeric"},"month"),c=(f,m)=>r?xy(t,f):i(m?{weekday:f}:{weekday:f,month:"long",day:"numeric"},"weekday"),u=f=>{const m=fe.macroTokenToFormatOpts(f);return m?this.formatWithSystemDefault(t,m):f},d=f=>r?Ty(t,f):i({era:f},"era"),p=f=>{switch(f){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return o({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return o({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return o({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return a();case"d":return s?i({day:"numeric"},"day"):this.num(t.day);case"dd":return s?i({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?i({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?i({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return s?i({month:"numeric"},"month"):this.num(t.month);case"MM":return s?i({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return s?i({year:"numeric"},"year"):this.num(t.year);case"yy":return s?i({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?i({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?i({year:"numeric"},"year"):this.num(t.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(f)}};return ia(fe.parseFormat(n),p)}formatDurationFromString(t,n){const r=this.opts.signMode==="negativeLargestOnly"?-1:1,s=u=>{switch(u[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";
11case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},i=(u,d)=>p=>{const f=s(p);if(f){const m=d.isNegativeDuration&&f!==d.largestUnit?r:1;let h;return this.opts.signMode==="negativeLargestOnly"&&f!==d.largestUnit?h="never":this.opts.signMode==="all"?h="always":h="auto",this.num(u.get(f)*m,p.length,h)}else return p},o=fe.parseFormat(n),a=o.reduce((u,{literal:d,val:p})=>d?u:u.concat(p),[]),l=t.shiftTo(...a.map(s).filter(u=>u)),c={isNegativeDuration:l<0,largestUnit:Object.keys(l.values)[0]};return ia(o,i(l,c))}}const gd=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function an(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function ln(...e){return t=>e.reduce(([n,r,s],i)=>{const[o,a,l]=i(t,s);return[{...n,...o},a||r,l]},[{},null,1]).slice(0,2)}function cn(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const s=n.exec(e);if(s)return r(s)}return[null,null]}function yd(...e){return(t,n)=>{const r={};let s;for(s=0;s<e.length;s++)r[e[s]]=ut(t[n+s]);return[r,null,n+s]}}const vd=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,Cy=`(?:${vd.source}?(?:\\[(${gd.source})\\])?)?`,Bi=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_d=RegExp(`${Bi.source}${Cy}`),Gi=RegExp(`(?:[Tt]${_d.source})?`),$y=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Ay=/(\d{4})-?W(\d\d)(?:-?(\d))?/,Ny=/(\d{4})-?(\d{3})/,Ry=yd("weekYear","weekNumber","weekDay"),Dy=yd("year","ordinal"),Ly=/(\d{4})-(\d\d)-(\d\d)/,bd=RegExp(`${Bi.source} ?(?:${vd.source}|(${gd.source}))?`),My=RegExp(`(?: ${bd.source})?`);function Kt(e,t,n){const r=e[t];return $(r)?n:ut(r)}function Py(e,t){return[{year:Kt(e,t),month:Kt(e,t+1,1),day:Kt(e,t+2,1)},null,t+3]}function un(e,t){return[{hours:Kt(e,t,0),minutes:Kt(e,t+1,0),seconds:Kt(e,t+2,0),milliseconds:qi(e[t+3])},null,t+4]}function Gn(e,t){const n=!e[t]&&!e[t+1],r=Hr(e[t+1],e[t+2]),s=n?null:me.instance(r);return[{},s,t+3]}function Zn(e,t){const n=e[t]?rt.create(e[t]):null;return[{},n,t+1]}const Fy=RegExp(`^T?${Bi.source}$`),zy=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Vy(e){const[t,n,r,s,i,o,a,l,c]=e,u=t[0]==="-",d=l&&l[0]==="-",p=(f,m=!1)=>f!==void 0&&(m||f&&u)?-f:f;return[{years:p(bt(n)),months:p(bt(r)),weeks:p(bt(s)),days:p(bt(i)),hours:p(bt(o)),minutes:p(bt(a)),seconds:p(bt(l),l==="-0"),milliseconds:p(qi(c),d)}]}const jy={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zi(e,t,n,r,s,i,o){const a={year:t.length===2?Qs(ut(t)):ut(t),month:cd.indexOf(n)+1,day:ut(r),hour:ut(s),minute:ut(i)};return o&&(a.second=ut(o)),e&&(a.weekday=e.length>3?dd.indexOf(e)+1:fd.indexOf(e)+1),a}const Uy=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Wy(e){const[,t,n,r,s,i,o,a,l,c,u,d]=e,p=Zi(t,s,r,n,i,o,a);let f;return l?f=jy[l]:c?f=0:f=Hr(u,d),[p,new me(f)]}function qy(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const Hy=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,By=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Gy=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function oa(e){const[,t,n,r,s,i,o,a]=e;return[Zi(t,s,r,n,i,o,a),me.utcInstance]}function Zy(e){const[,t,n,r,s,i,o,a]=e;return[Zi(t,a,n,r,s,i,o),me.utcInstance]}const Yy=an($y,Gi),Jy=an(Ay,Gi),Ky=an(Ny,Gi),Xy=an(_d),wd=ln(Py,un,Gn,Zn),Qy=ln(Ry,un,Gn,Zn),e0=ln(Dy,un,Gn,Zn),t0=ln(un,Gn,Zn);function n0(e){return cn(e,[Yy,wd],[Jy,Qy],[Ky,e0],[Xy,t0])}function r0(e){return cn(qy(e),[Uy,Wy])}function s0(e){return cn(e,[Hy,oa],[By,oa],[Gy,Zy])}function i0(e){return cn(e,[zy,Vy])}const o0=ln(un);function a0(e){return cn(e,[Fy,o0])}const l0=an(Ly,My),c0=an(bd),u0=ln(un,Gn,Zn);function d0(e){return cn(e,[l0,wd],[c0,u0])}const aa="Invalid Duration",Sd={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},f0={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...Sd},Ie=146097/400,Ut=146097/4800,p0={years:{quarters:4,months:12,weeks:Ie/7,days:Ie,hours:Ie*24,minutes:Ie*24*60,seconds:Ie*24*60*60,milliseconds:Ie*24*60*60*1e3},quarters:{months:3,weeks:Ie/28,days:Ie/4,hours:Ie*24/4,minutes:Ie*24*60/4,seconds:Ie*24*60*60/4,milliseconds:Ie*24*60*60*1e3/4},months:{weeks:Ut/7,days:Ut,hours:Ut*24,minutes:Ut*24*60,seconds:Ut*24*60*60,milliseconds:Ut*24*60*60*1e3},...Sd},Tt=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],m0=Tt.slice(0).reverse();function Ye(e,t,n=!1){const r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new L(r)}function kd(e,t){let n=t.milliseconds??0;for(const r of m0.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function la(e,t){const n=kd(e,t)<0?-1:1;Tt.reduceRight((r,s)=>{if($(t[s]))return r;if(r){const i=t[r]*n,o=e[s][r],a=Math.floor(i/o);t[s]+=a*n,t[r]-=a*o*n}return s},null),Tt.reduce((r,s)=>{if($(t[s]))return r;if(r){const i=t[r]%1;t[r]-=i,t[s]+=i*e[r][s]}return s},null)}function ca(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class L{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?p0:f0;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||z.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invali
11d||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,n){return L.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new de(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new L({values:kr(t,L.normalizeUnit),loc:z.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(pt(t))return L.fromMillis(t);if(L.isDuration(t))return t;if(typeof t=="object")return L.fromObject(t);throw new de(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=i0(t);return r?L.fromObject(r,n):L.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=a0(t);return r?L.fromObject(r,n):L.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new de("need to specify a reason the Duration is invalid");const r=t instanceof Me?t:new Me(t,n);if(Y.throwOnInvalid)throw new Vg(r);return new L({invalid:r})}static normalizeUnit(t){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!n)throw new Au(t);return n}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,n={}){const r={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?fe.create(this.loc,r).formatDurationFromString(this,t):aa}toHuman(t={}){if(!this.isValid)return aa;const n=t.showZeros!==!1,r=Tt.map(s=>{const i=this.values[s];return $(i)||i===0&&!n?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:s.slice(0,-1)}).format(i)}).filter(s=>s);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=Hi(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},T.fromMillis(n,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?kd(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=L.fromDurationLike(t),r={};for(const s of Tt)(nn(n.values,s)||nn(this.values,s))&&(r[s]=n.get(s)+this.get(s));return Ye(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=L.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=ld(t(this.values[r],r));return Ye(this,{values:n},!0)}get(t){return this[L.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...kr(t,L.normalizeUnit)};return Ye(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r,matrix:s}={}){const o={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:s,conversionAccuracy:r};return Ye(this,o)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return la(this.matrix,t),Ye(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=ca(this.normalize().shiftToAll().toObject());return Ye(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(o=>L.normalizeUnit(o));const n={},r={},s=this.toObject();let i;for(const o of Tt)if(t.indexOf(o)>=0){i=o;let a=0;for(const c in r)a+=this.matrix[c][o]*r[c],r[c]=0;pt(s[o])&&(a+=s[o]);const l=Math.trunc(a);n[o]=l,r[o]=(a*1e3-l*1e3)/1e3}else pt(s[o])&&(r[o]=s[o]);for(const o in r)r[o]!==0&&(n[i]+=o===i?r[o]:r[o]/this.matrix[i][o]);return la(this.matrix,n),Ye(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=this.values[n]===0?0:-this.values[n];return Ye(this,{values:t},!0)}removeZeros(){if(!this.isValid)return this;const t=ca(this.values);return Ye(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(r,s){return r===void 0||r===0?s===void 0||s===0:r===s}for(const r of Tt)if(!n(this.values[r],t.values[r]))return!1;return!0}}const Wt="Invalid Interval";function h0(e,t){return!e||!e.isValid?B.invalid("missing or invalid start"):!t||!t.isValid?B.invalid("missing or invalid end"):t<e?B.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class B{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invali
11d||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new de("need to specify a reason the Interval is invalid");const r=t instanceof Me?t:new Me(t,n);if(Y.throwOnInvalid)throw new zg(r);return new B({invalid:r})}static fromDateTimes(t,n){const r=yn(t),s=yn(n),i=h0(r,s);return i??new B({start:r,end:s})}static after(t,n){const r=L.fromDurationLike(n),s=yn(t);return B.fromDateTimes(s,s.plus(r))}static before(t,n){const r=L.fromDurationLike(n),s=yn(t);return B.fromDateTimes(s.minus(r),s)}static fromISO(t,n){const[r,s]=(t||"").split("/",2);if(r&&s){let i,o;try{i=T.fromISO(r,n),o=i.isValid}catch{o=!1}let a,l;try{a=T.fromISO(s,n),l=a.isValid}catch{l=!1}if(o&&l)return B.fromDateTimes(i,a);if(o){const c=L.fromISO(s,n);if(c.isValid)return B.after(i,c)}else if(l){const c=L.fromISO(r,n);if(c.isValid)return B.before(a,c)}}return B.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",n){if(!this.isValid)return NaN;const r=this.start.startOf(t,n);let s;return n?.useLocaleWeeks?s=this.end.reconfigure({locale:r.locale}):s=this.end,s=s.startOf(t,n),Math.floor(s.diff(r,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?B.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(yn).filter(o=>this.contains(o)).sort((o,a)=>o.toMillis()-a.toMillis()),r=[];let{s}=this,i=0;for(;s<this.e;){const o=n[i]||this.e,a=+o>+this.e?this.e:o;r.push(B.fromDateTimes(s,a)),s=a,i+=1}return r}splitBy(t){const n=L.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,s=1,i;const o=[];for(;r<this.e;){const a=this.start.plus(n.mapUnits(l=>l*s));i=+a>+this.e?this.e:a,o.push(B.fromDateTimes(r,i)),r=i,s+=1}return o}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:B.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return B.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((s,i)=>s.s-i.s).reduce(([s,i],o)=>i?i.overlaps(o)||i.abutsStart(o)?[s,i.union(o)]:[s.concat([i]),o]:[s,o],[[],null]);return r&&n.push(r),n}static xor(t){let n=null,r=0;const s=[],i=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),o=Array.prototype.concat(...i),a=o.sort((l,c)=>l.time-c.time);for(const l of a)r+=l.type==="s"?1:-1,r===1?n=l.time:(n&&+n!=+l.time&&s.push(B.fromDateTimes(n,l.time)),n=null);return B.merge(s)}difference(...t){return B.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Wt}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=br,n={}){return this.isValid?fe.create(this.s.loc.clone(n),t).formatInterval(this):Wt}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Wt}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Wt}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Wt}toFormat(t,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Wt}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):L.invalid(this.invalidReason)}mapEndpoints(t){return B.fromDateTimes(t(this.s),t(this.e))}}class rr{static hasDST(t=Y.defaultZone){const n=T.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return rt.isValidZone(t)}static normalizeZone(t){return dt(t,Y.defaultZone)}static getStartOfWeek({locale:t=null,locObj:n=null}={}){return(n||z.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:n=null}={}){return(n||z.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:n=null}={}){return(n||z.create(t)).getWeekendDays().slice()}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||z.create(n,r,i)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||z.create(n,r,i)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||z.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||z.create(n,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return z.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return z.create(n,null,"gregory").eras(t)}static features(){return{relative:id(),localeWeek:od()}}}function ua(e,t){const n=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(L.fromMillis(r).as("days"))}
11function g0(e,t,n){const r=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{const u=ua(l,c);return(u-u%7)/7}],["days",ua]],s={},i=e;let o,a;for(const[l,c]of r)n.indexOf(l)>=0&&(o=l,s[l]=c(e,t),a=i.plus(s),a>t?(s[l]--,e=i.plus(s),e>t&&(a=e,s[l]--,e=i.plus(s))):e=a);return[e,s,a,o]}function y0(e,t,n,r){let[s,i,o,a]=g0(e,t,n);const l=t-s,c=n.filter(d=>["hours","minutes","seconds","milliseconds"].indexOf(d)>=0);c.length===0&&(o<t&&(o=s.plus({[a]:1})),o!==s&&(i[a]=(i[a]||0)+l/(o-s)));const u=L.fromObject(i,r);return c.length>0?L.fromMillis(l,r).shiftTo(...c).plus(u):u}const v0="missing Intl.DateTimeFormat.formatToParts support";function P(e,t=n=>n){return{regex:e,deser:([n])=>t(ly(n))}}const _0=" ",xd=`[ ${_0}]`,Ed=new RegExp(xd,"g");function b0(e){return e.replace(/\./g,"\\.?").replace(Ed,xd)}function da(e){return e.replace(/\./g,"").replace(Ed," ").toLowerCase()}function Le(e,t){return e===null?null:{regex:RegExp(e.map(b0).join("|")),deser:([n])=>e.findIndex(r=>da(n)===da(r))+t}}function fa(e,t){return{regex:e,deser:([,n,r])=>Hr(n,r),groups:t}}function sr(e){return{regex:e,deser:([t])=>t}}function w0(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function S0(e,t){const n=De(t),r=De(t,"{2}"),s=De(t,"{3}"),i=De(t,"{4}"),o=De(t,"{6}"),a=De(t,"{1,2}"),l=De(t,"{1,3}"),c=De(t,"{1,6}"),u=De(t,"{1,9}"),d=De(t,"{2,4}"),p=De(t,"{4,6}"),f=g=>({regex:RegExp(w0(g.val)),deser:([y])=>y,literal:!0}),h=(g=>{if(e.literal)return f(g);switch(g.val){case"G":return Le(t.eras("short"),0);case"GG":return Le(t.eras("long"),0);case"y":return P(c);case"yy":return P(d,Qs);case"yyyy":return P(i);case"yyyyy":return P(p);case"yyyyyy":return P(o);case"M":return P(a);case"MM":return P(r);case"MMM":return Le(t.months("short",!0),1);case"MMMM":return Le(t.months("long",!0),1);case"L":return P(a);case"LL":return P(r);case"LLL":return Le(t.months("short",!1),1);case"LLLL":return Le(t.months("long",!1),1);case"d":return P(a);case"dd":return P(r);case"o":return P(l);case"ooo":return P(s);case"HH":return P(r);case"H":return P(a);case"hh":return P(r);case"h":return P(a);case"mm":return P(r);case"m":return P(a);case"q":return P(a);case"qq":return P(r);case"s":return P(a);case"ss":return P(r);case"S":return P(l);case"SSS":return P(s);case"u":return sr(u);case"uu":return sr(a);case"uuu":return P(n);case"a":return Le(t.meridiems(),0);case"kkkk":return P(i);case"kk":return P(d,Qs);case"W":return P(a);case"WW":return P(r);case"E":case"c":return P(n);case"EEE":return Le(t.weekdays("short",!1),1);case"EEEE":return Le(t.weekdays("long",!1),1);case"ccc":return Le(t.weekdays("short",!0),1);case"cccc":return Le(t.weekdays("long",!0),1);case"Z":case"ZZ":return fa(new RegExp(`([+-]${a.source})(?::(${r.source}))?`),2);case"ZZZ":return fa(new RegExp(`([+-]${a.source})(${r.source})?`),2);case"z":return sr(/[a-z_+-/]{1,256}?/i);case" ":return sr(/[^\S\n\r]/);default:return f(g)}})(e)||{invalidReason:v0};return h.token=e,h}const k0={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function x0(e,t,n){const{type:r,value:s}=e;if(r==="literal"){const l=/^\s+$/.test(s);return{literal:!l,val:l?" ":s}}const i=t[r];let o=r;r==="hour"&&(t.hour12!=null?o=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?o="hour12":o="hour24":o=n.hour12?"hour12":"hour24");let a=k0[o];if(typeof a=="object"&&(a=a[i]),a)return{literal:!1,val:a}}function E0(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function T0(e,t,n){const r=e.match(t);if(r){const s={};let i=1;for(const o in n)if(nn(n,o)){const a=n[o],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(s[a.token.val[0]]=a.deser(r.slice(i,i+l))),i+=l}return[r,s]}else return[r,{}]}function O0(e){const t=i=>
11{switch(i){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return $(e.z)||(n=rt.create(e.z)),$(e.Z)||(n||(n=new me(e.Z)),r=e.Z),$(e.q)||(e.M=(e.q-1)*3+1),$(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),$(e.u)||(e.S=qi(e.u)),[Object.keys(e).reduce((i,o)=>{const a=t(o);return a&&(i[a]=e[o]),i},{}),n,r]}let vs=null;function I0(){return vs||(vs=T.fromMillis(1555555555555)),vs}function C0(e,t){if(e.literal)return e;const n=fe.macroTokenToFormatOpts(e.val),r=Cd(n,t);return r==null||r.includes(void 0)?e:r}function Td(e,t){return Array.prototype.concat(...e.map(n=>C0(n,t)))}class Od{constructor(t,n){if(this.locale=t,this.format=n,this.tokens=Td(fe.parseFormat(n),t),this.units=this.tokens.map(r=>S0(r,t)),this.disqualifyingUnit=this.units.find(r=>r.invalidReason),!this.disqualifyingUnit){const[r,s]=E0(this.units);this.regex=RegExp(r,"i"),this.handlers=s}}explainFromTokens(t){if(this.isValid){const[n,r]=T0(t,this.regex,this.handlers),[s,i,o]=r?O0(r):[null,null,void 0];if(nn(r,"a")&&nn(r,"H"))throw new Yt("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:n,matches:r,result:s,zone:i,specificOffset:o}}else return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invali
11dReason:null}}function Id(e,t,n){return new Od(e,n).explainFromTokens(t)}function $0(e,t,n){const{result:r,zone:s,specificOffset:i,invalidReason:o}=Id(e,t,n);return[r,s,i,o]}function Cd(e,t){if(!e)return null;const r=fe.create(t,e).dtFormatter(I0()),s=r.formatToParts(),i=r.resolvedOptions();return s.map(o=>x0(o,e,i))}const _s="Invalid DateTime",pa=864e13;function On(e){return new Me("unsupported zone",`the zone "${e.name}" is not supported`)}function bs(e){return e.weekData===null&&(e.weekData=wr(e.c)),e.weekData}function ws(e){return e.localWeekData===null&&(e.localWeekData=wr(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function wt(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new T({...n,...t,old:n})}function $d(e,t,n){let r=e-t*60*1e3;const s=n.offset(r);if(t===s)return[r,t];r-=(s-t)*60*1e3;const i=n.offset(r);return s===i?[r,s]:[e-Math.min(s,i)*60*1e3,Math.max(s,i)]}function ir(e,t){e+=t*60*1e3;const n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function fr(e,t,n){return $d(qr(e),t,n)}function ma(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),s=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,i={...e.c,year:r,month:s,day:Math.min(e.c.day,Sr(r,s))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},o=L.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=qr(i);let[l,c]=$d(a,n,e.zone);return o!==0&&(l+=o,c=e.zone.offset(l)),{ts:l,o:c}}function qt(e,t,n,r,s,i){const{setZone:o,zone:a}=n;if(e&&Object.keys(e).length!==0||t){const l=t||a,c=T.fromObject(e,{...n,zone:l,specificOffset:i});return o?c:c.setZone(a)}else return T.invalid(new Me("unparsable",`the input "${s}" can't be parsed as ${r}`))}function or(e,t,n=!0){return e.isValid?fe.create(z.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Ss(e,t,n){const r=e.c.year>9999||e.c.year<0;let s="";if(r&&e.c.year>=0&&(s+="+"),s+=te(e.c.year,r?6:4),n==="year")return s;if(t){if(s+="-",s+=te(e.c.month),n==="month")return s;s+="-"}else if(s+=te(e.c.month),n==="month")return s;return s+=te(e.c.day),s}function ha(e,t,n,r,s,i,o){let a=!n||e.c.millisecond!==0||e.c.second!==0,l="";switch(o){case"day":case"month":case"year":break;default:if(l+=te(e.c.hour),o==="hour")break;if(t){if(l+=":",l+=te(e.c.minute),o==="minute")break;a&&(l+=":",l+=te(e.c.second))}else{if(l+=te(e.c.minute),o==="minute")break;a&&(l+=te(e.c.second))}if(o==="second")break;a&&(!r||e.c.millisecond!==0)&&(l+=".",l+=te(e.c.millisecond,3))}return s&&(e.isOffsetFixed&&e.offset===0&&!i?l+="Z":e.o<0?(l+="-",l+=te(Math.trunc(-e.o/60)),l+=":",l+=te(Math.trunc(-e.o%60))):(l+="+",l+=te(Math.trunc(e.o/60)),l+=":",l+=te(Math.trunc(e.o%60)))),i&&(l+="["+e.zone.ianaName+"]"),l}const Ad={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},A0={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},N0={ordinal:1,hour:0,minute:0,second:0,millisecond:0},pr=["year","month","day","hour","minute","second","millisecond"],R0=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],D0=["year","ordinal","hour","minute","second","millisecond"];function mr(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new Au(e);return t}function ga(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return mr(e)}}function L0(e){if(In===void 0&&(In=Y.now()),e.type!=="iana")return e.offset(In);const t=e.name;let n=ei.get(t);return n===void 0&&(n=e.offset(In),ei.set(t,n)),n}function ya(e,t){const n=dt(t.zone,Y.defaultZone);
vendor: 4,116 bytes, line 11
11if(!n.isValid)return T.invalid(On(n));const r=z.fromObject(t);let s,i;if($(e.year))s=Y.now();else{for(const l of pr)$(e[l])&&(e[l]=Ad[l]);const o=rd(e)||sd(e);if(o)return T.invalid(o);const a=L0(n);[s,i]=fr(e,a,n)}return new T({ts:s,zone:n,loc:r,o:i})}function va(e,t,n){const r=$(n.round)?!0:n.round,s=$(n.rounding)?"trunc":n.rounding,i=(a,l)=>(a=Hi(a,r||n.calendary?0:2,n.calendary?"round":s),t.loc.clone(n).relFormatter(n).format(a,l)),o=a=>n.calendary?t.hasSame(e,a)?0:t.startOf(a).diff(e.startOf(a),a).get(a):t.diff(e,a).get(a);if(n.unit)return i(o(n.unit),n.unit);for(const a of n.units){const l=o(a);if(Math.abs(l)>=1)return i(l,a)}return i(e>t?-0:0,n.units[n.units.length-1])}function _a(e){let t={},n;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}let In;const ei=new Map;class T{constructor(t){const n=t.zone||Y.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new Me("invalid input"):null)||(n.isValid?null:On(n));this.ts=$(t.ts)?Y.now():t.ts;let s=null,i=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[s,i]=[t.old.c,t.old.o];else{const a=pt(t.o)&&!t.old?t.o:n.offset(this.ts);s=ir(this.ts,a),r=Number.isNaN(s.year)?new Me("invalid input"):null,s=r?null:s,i=r?null:a}this._zone=n,this.loc=t.loc||z.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=i,this.isLuxonDateTime=!0}static now(){return new T({})}static local(){const[t,n]=_a(arguments),[r,s,i,o,a,l,c]=n;return ya({year:r,month:s,day:i,hour:o,minute:a,second:l,millisecond:c},t)}static utc(){const[t,n]=_a(arguments),[r,s,i,o,a,l,c]=n;return t.zone=me.utcInstance,ya({year:r,month:s,day:i,hour:o,minute:a,second:l,millisecond:c},t)}static fromJSDate(t,n={}){const r=py(t)?t.valueOf():NaN;if(Number.isNaN(r))return T.invalid("invalid input");const s=dt(n.zone,Y.defaultZone);return s.isValid?new T({ts:r,zone:s,loc:z.fromObject(n)}):T.invalid(On(s))}static fromMillis(t,n={}){if(pt(t))return t<-pa||t>pa?T.invalid("Timestamp out of range"):new T({ts:t,zone:dt(n.zone,Y.defaultZone),loc:z.fromObject(n)});throw new de(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(pt(t))return new T({ts:t*1e3,zone:dt(n.zone,Y.defaultZone),loc:z.fromObject(n)});throw new de("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=dt(n.zone,Y.defaultZone);if(!r.isValid)return T.invalid(On(r));const s=z.fromObject(n),i=kr(t,ga),{minDaysInFirstWeek:o,startOfWeek:a}=na(i,s),l=Y.now(),c=$(n.specificOffset)?r.offset(l):n.specificOffset,u=!$(i.ordinal),d=!$(i.year),p=!$(i.month)||!$(i.day),f=d||p,m=i.weekYear||i.weekNumber;if((f||u)&&m)throw new Yt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(p&&u)throw new Yt("Can't mix ordinal dates with month/day");const h=m||i.weekday&&!f;let g,y,w=ir(l,c);h?(g=R0,y=A0,w=wr(w,o,a)):u?(g=D0,y=N0,w=ys(w)):(g=pr,y=Ad);let E=!1;for(const q of g){const Ue=i[q];$(Ue)?E?i[q]=y[q]:i[q]=w[q]:E=!0}const k=h?uy(i,o,a):u?dy(i):rd(i),N=k||sd(i);if(N)return T.invalid(N);const C=h?ea(i,o,a):u?ta(i):i,[A,W]=fr(C,c,r),Q=new T({ts:A,zone:r,o:W,loc:s});return i.weekday&&f&&t.weekday!==Q.weekday?T.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${Q.toISO()}`):Q.isValid?Q:T.invalid(Q.invalid)}static fromISO(t,n={}){const[r,s]=n0(t);return qt(r,s,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,s]=r0(t);return qt(r,s,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,s]=s0(t);return qt(r,s,n,"HTTP",n)}static fromFormat(t,n,r={}){if($(t)||$(n))throw new de("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:i=null}=r,o=z.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0}),[a,l,c,u]=$0(o,t,n);return u?T.invalid(u):qt(a,l,r,`format ${n}`,t,c)}static fromString(t,n,r={}){return T.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,s]=d0(t);return qt(r,s,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new de("need to specify a reason the DateTime is invalid");const r=t instanceof Me?t:new Me(t,n);
11if(Y.throwOnInvalid)throw new Fg(r);return new T({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=Cd(t,z.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(t,n={}){return Td(fe.parseFormat(t),z.fromObject(n)).map(s=>s.val).join("")}static resetCache(){In=void 0,ei.clear()}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?bs(this).weekYear:NaN}get weekNumber(){return this.isValid?bs(this).weekNumber:NaN}get weekday(){return this.isValid?bs(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?ws(this).weekday:NaN}get localWeekNumber(){return this.isValid?ws(this).weekNumber:NaN}get localWeekYear(){return this.isValid?ws(this).weekYear:NaN}get ordinal(){return this.isValid?ys(this.c).ordinal:NaN}get monthShort(){return this.isValid?rr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?rr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?rr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?rr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,n=6e4,r=qr(this.c),s=this.zone.offset(r-t),i=this.zone.offset(r+t),o=this.zone.offset(r-s*n),a=this.zone.offset(r-i*n);if(o===a)return[this];const l=r-o*n,c=r-a*n,u=ir(l,o),d=ir(c,a);return u.hour===d.hour&&u.minute===d.minute&&u.second===d.second&&u.millisecond===d.millisecond?[wt(this,{ts:l}),wt(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Sr(this.year,this.month)}get daysInYear(){return this.isValid?Jt(this.year):NaN}get weeksInWeekYear(){return this.isValid?zn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:s}=fe.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:s}}toUTC(t=0,n={}){return this.setZone(me.instance(t),n)}toLocal(){return this.setZone(Y.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=dt(t,Y.defaultZone),t.equals(this.zone))return this;if(t.isValid){let s=this.ts;if(n||r){const i=t.offset(this.ts),o=this.toObject();[s]=fr(o,i,t)}return wt(this,{ts:s,zone:t})}else return T.invalid(On(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const s=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return wt(this,{loc:s})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=kr(t,ga),{minDaysInFirstWeek:r,startOfWeek:s}=na(n,this.loc),i=!$(n.weekYear)||!$(n.weekNumber)||!$(n.weekday),o=!$(n.ordinal),a=!$(n.year),l=!$(n.month)||!$(n.day),c=a||l,u=n.weekYear||n.weekNumber;if((c||o)&&u)throw new Yt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new Yt("Can't mix ordinal dates with month/day");let d;i?d=ea({...wr(this.c,r,s),...n},r,s):$(n.ordinal)?(d={...this.toObject(),...n},$(n.day)&&(d.day=Math.min(Sr(d.year,d.month),d.day))):d=ta({...ys(this.c),...n});const[p,f]=fr(d,this.o,this.zone);return wt(this,{ts:p,o:f})}plus(t){if(!this.isValid)return this;const n=L.fromDurationLike(t);return wt(this,ma(this,n))}minus(t){if(!this.isValid)return this;const n=L.fromDurationLike(t).negate();return wt(this,ma(this,n))}
11startOf(t,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},s=L.normalizeUnit(t);switch(s){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(s==="weeks")if(n){const i=this.loc.getStartOfWeek(),{weekday:o}=this;o<i&&(r.weekNumber=this.weekNumber-1),r.weekday=i}else r.weekday=1;if(s==="quarters"){const i=Math.ceil(this.month/3);r.month=(i-1)*3+1}return this.set(r)}endOf(t,n){return this.isValid?this.plus({[t]:1}).startOf(t,n).minus(1):this}toFormat(t,n={}){return this.isValid?fe.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):_s}toLocaleString(t=br,n={}){return this.isValid?fe.create(this.loc.clone(n),t).formatDateTime(this):_s}toLocaleParts(t={}){return this.isValid?fe.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:s=!0,extendedZone:i=!1,precision:o="milliseconds"}={}){if(!this.isValid)return null;o=mr(o);const a=t==="extended";let l=Ss(this,a,o);return pr.indexOf(o)>=3&&(l+="T"),l+=ha(this,a,n,r,s,i,o),l}toISODate({format:t="extended",precision:n="day"}={}){return this.isValid?Ss(this,t==="extended",mr(n)):null}toISOWeekDate(){return or(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:s=!1,extendedZone:i=!1,format:o="extended",precision:a="milliseconds"}={}){return this.isValid?(a=mr(a),(s&&pr.indexOf(a)>=3?"T":"")+ha(this,o==="extended",n,t,r,i,a)):null}toRFC2822(){return or(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return or(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ss(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let s="HH:mm:ss.SSS";return(n||t)&&(r&&(s+=" "),n?s+="z":t&&(s+="ZZ")),or(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():_s}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const n={...this.c};return t.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,n="milliseconds",r={}){if(!this.isValid||!t.isValid)return L.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},i=my(n).map(L.normalizeUnit),o=t.valueOf()>this.valueOf(),a=o?this:t,l=o?t:this,c=y0(a,l,i,s);return o?c.negate():c}diffNow(t="milliseconds",n={}){return this.diff(T.now(),t,n)}until(t){return this.isValid?B.fromDateTimes(this,t):this}hasSame(t,n,r){if(!this.isValid)return!1;const s=t.valueOf(),i=this.setZone(t.zone,{keepLocalTime:!0});return i.startOf(n,r)<=s&&s<=i.endOf(n,r)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||T.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],i=t.unit;return Array.isArray(t.unit)&&(s=t.unit,i=void 0),va(n,this.plus(r),{...t,numeric:"always",units:s,unit:i})}toRelativeCalendar(t={}){return this.isValid?va(t.base||T.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(T.isDateTime))throw new de("min requires all arguments be DateTimes");return ra(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(T.isDateTime))throw new de("max requires all arguments be DateTimes");return ra(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:s=null,numberingSystem:i=null}=r,o=z.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});return Id(o,t,n)}static fromStringExplain(t,n,r={}){return T.fromFormatExplain(t,n,r)}static buildFormatParser(t,n={}){const{locale:r=null,numberingSystem:s=null}=n,i=z.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});return new Od(i,t)}static fromFormatParser(t,n,r={}){if($(t)||$(n))throw new de("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:i=null}=r,o=z.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});if(!o.equals(n.locale))throw new de(`fromFormatParser called with a locale of ${o}, but the format parser was created for ${n.locale}`);const{result:a,zone:l,specificOffset:c,invalidReason:u}=n.explainFromTokens(t);
11return u?T.invalid(u):qt(a,l,r,`format ${n.format}`,t,c)}static get DATE_SHORT(){return br}static get DATE_MED(){return Nu}static get DATE_MED_WITH_WEEKDAY(){return jg}static get DATE_FULL(){return Ru}static get DATE_HUGE(){return Du}static get TIME_SIMPLE(){return Lu}static get TIME_WITH_SECONDS(){return Mu}static get TIME_WITH_SHORT_OFFSET(){return Pu}static get TIME_WITH_LONG_OFFSET(){return Fu}static get TIME_24_SIMPLE(){return zu}static get TIME_24_WITH_SECONDS(){return Vu}static get TIME_24_WITH_SHORT_OFFSET(){return ju}static get TIME_24_WITH_LONG_OFFSET(){return Uu}static get DATETIME_SHORT(){return Wu}static get DATETIME_SHORT_WITH_SECONDS(){return qu}static get DATETIME_MED(){return Hu}static get DATETIME_MED_WITH_SECONDS(){return Bu}static get DATETIME_MED_WITH_WEEKDAY(){return Ug}static get DATETIME_FULL(){return Gu}static get DATETIME_FULL_WITH_SECONDS(){return Zu}static get DATETIME_HUGE(){return Yu}static get DATETIME_HUGE_WITH_SECONDS(){return Ju}}function yn(e){if(T.isDateTime(e))return e;if(e&&e.valueOf&&pt(e.valueOf()))return T.fromJSDate(e);if(e&&typeof e=="object")return T.fromObject(e);throw new de(`Unknown datetime argument: ${e}, of type ${typeof e}`)}function M0(){function e(t){const n=t.path?.[t.path.length-1];return String(n?.key??"Ce champ")}ah(t=>`Entrée non valide: ${t.message}`,"fr"),Gl(t=>{const n=e(t);return t.received==="undefined"?"Ce champ est obligatoire.":`Type invalide pour '${n}': attendu ${t.expected}, reçu ${t.received}.`},"fr"),_(It,t=>{const n=e(t);return t.requirement===1?"Ce champ est obligatoire.":`Le champ '${n}' est trop petit. Minimum ${t.requirement} caractères.`},"fr"),_(jr,t=>`Le champ '${e(t)}' est trop grand. Maximum ${t.requirement} caractères.`,"fr"),_(Li,t=>{const n=e(t);return t.requirement===1?"Ce champ est obligatoire.":`Le champ '${n}' est trop petit. Minimum inclusif de ${t.requirement} éléments.`},"fr"),_(Ri,t=>`Le champ '${e(t)}' est trop grand. Maximum inclusif de ${t.requirement} éléments.`,"fr"),_(Mi,t=>{const n=e(t);return t.requirement instanceof Date?`La date doit être postérieure ou égale au ${T.fromJSDate(t.requirement).setLocale("FR-fr").toLocaleString({year:"numeric",month:"long",day:"numeric"})}.`:`Le champ '${n}' est trop petit. Minimum inclusif de ${t.requirement}.`},"fr"),_(Di,t=>{const n=e(t);return t.requirement instanceof Date?`La date doit être antérieure ou égale au ${T.fromJSDate(t.requirement).setLocale("FR-fr").toLocaleString({year:"numeric",month:"long",day:"numeric"})}.`:`Le champ '${n}' est trop grand. Maximum inclusif de ${t.requirement}.`},"fr"),_(Vr,()=>"L'adresse e-mail est invalide.","fr"),_(Pi,()=>"L'URL est invalide.","fr"),_(Ni,t=>`La date dans le champ '${e(t)}' est invalide.`,"fr")}function P0(){M0(),oh({lang:"fr"})}const F0=H({name:"valibot-setup",parallel:!0,setup(){P0()}}),z0=H(async e=>{let t,n;e.payload.serverRendered?(e.payload.prerenderedAt||e.payload.isCached||e.$config.public.auth.loadStrategy==="client-only")&&e.hook("app:suspense:resolve",async()=>{await $t().fetch()}):([t,n]=qe(()=>$t().fetch()),await t,n()),localStorage.getItem("temp-nuxt-auth-utils-popup")&&(localStorage.removeItem("temp-nuxt-auth-utils-popup"),Ii().value||window.close())});function xr(e){return Ol()?(ip(e),!0):!1}const ti=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ba=()=>+Date.now(),ni=()=>{};function V0(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}function j0(e,t={}){let n,r,s=ni;const i=l=>{clearTimeout(l),s(),s=ni};let o;return l=>{const c=We(e),u=We(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(r&&(i(r),r=void 0),Promise.resolve(l())):new Promise((d,p)=>{s=t.rejectOnCancel?p:d,o=l,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,d(o())},u)),n=setTimeout(()=>{r&&i(r),r=void 0,d(l())},c)})}}function U0(e,t=200,n={}){return V0(j0(t,n),e)}function W0(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n;let i=null;const o=ae(!1);function a(){i&&(clearInterval(i),i=null)}function l(){o.value=!1,a()}function c(){const u=We(t);u<=0||(o.value=!0,s&&e(),a(),o.value&&(i=setInterval(e,u)))}if(r&&ti&&c(),Il(t)||typeof t=="function"){const u=Pe(t,()=>{o.value&&ti&&c()});xr(u)}return xr(l),{isActive:op(o),pause:l,resume:c}}function Gx(e,t,n){var r;let s;Il(n)?s={evaluating:n}:s=n||{};const{lazy:i=!1,flush:o="pre",evaluating:a=void 0,shallow:l=!0,onError:c=(r=globalThis.reportError)!=null?r:ni}=s,u=ae(!i),d=l?ae(t):ie(t);let p=0;return Cl(async f=>{if(!u.value)return;p++;const m=p;let h=!1;a&&Promise.resolve().then(()=>{a.value=!0});try{const g=await e(y=>{f(()=>{a&&(a.value=!1),h||y()})});
11m===p&&(d.value=g)}catch(g){c(g)}finally{a&&m===p&&(a.value=!1),h=!0}},{flush:o}),i?x(()=>(u.value=!0,d.value)):d}const Nd=ti?window:void 0;function wa(e){var t;const n=We(e);return(t=n?.$el)!=null?t:n}function q0(){const e=ae(!1),t=Rr();return t&&Rt(()=>{e.value=!0},t),e}function H0(e){const t=q0();return x(()=>(t.value,!!e()))}function B0(e,t={}){const{immediate:n=!0,fpsLimit:r=void 0,window:s=Nd,once:i=!1}=t,o=ae(!1),a=x(()=>r?1e3/We(r):null);let l=0,c=null;function u(f){if(!o.value||!s)return;l||(l=f);const m=f-l;if(a.value&&m<a.value){c=s.requestAnimationFrame(u);return}if(l=f,e({delta:m,timestamp:f}),i){o.value=!1,c=null;return}c=s.requestAnimationFrame(u)}function d(){!o.value&&s&&(o.value=!0,l=0,c=s.requestAnimationFrame(u))}function p(){o.value=!1,c!=null&&s&&(s.cancelAnimationFrame(c),c=null)}return n&&d(),xr(p),{isActive:ap(o),pause:p,resume:d}}function Zx(e,t,n={}){const{window:r=Nd,...s}=n;let i;const o=H0(()=>r&&"ResizeObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},l=x(()=>{const d=We(e);return Array.isArray(d)?d.map(p=>wa(p)):[wa(d)]}),c=Pe(l,d=>{if(a(),o.value&&r){i=new ResizeObserver(t);for(const p of d)p&&i.observe(p,s)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return xr(u),{isSupported:o,stop:u}}const vn=new Map;function Yx(e){const t=Ol();function n(a){var l;const c=vn.get(e)||new Set;c.add(a),vn.set(e,c);const u=()=>s(a);return(l=t?.cleanups)==null||l.push(u),u}function r(a){function l(...c){s(l),a(...c)}return n(l)}function s(a){const l=vn.get(e);l&&(l.delete(a),l.size||i())}function i(){vn.delete(e)}function o(a,l){var c;(c=vn.get(e))==null||c.forEach(u=>u(a,l))}return{on:n,once:r,off:s,emit:o,reset:i}}function G0(e={}){const{controls:t=!1,offset:n=0,immediate:r=!0,interval:s="requestAnimationFrame",callback:i}=e,o=ae(ba()+n),a=()=>o.value=ba()+n,l=i?()=>{a(),i(o.value)}:a,c=s==="requestAnimationFrame"?B0(l,{immediate:r}):W0(l,s,{immediate:r});return t?{timestamp:o,...c}:o}const Z0=Symbol("nuxt-ui.slideover"),Y0=H(e=>{const t=ae({component:"div",props:{}});e.vueApp.provide(Z0,t)}),J0=Symbol("nuxt-ui.modal"),K0=H(e=>{const t=ae({component:"div",props:{}});e.vueApp.provide(J0,t)}),Yi="-",X0=e=>{const t=ev(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(Yi);return a[0]===""&&a.length!==1&&a.shift(),Rd(a,t)||Q0(o)},getConflictingClassGroupIds:(o,a)=>{const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}}},Rd=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?Rd(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const i=e.join(Yi);return t.validators.find(({validator:o})=>o(i))?.classGroupId},Sa=/^\[(.+)\]$/,Q0=e=>{if(Sa.test(e)){const t=Sa.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},ev=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return nv(Object.entries(e.classGroups),n).forEach(([i,o])=>{ri(o,r,i,t)}),r},ri=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const i=s===""?t:ka(t,s);i.classGroupId=n;return}if(typeof s=="function"){if(tv(s)){ri(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([i,o])=>{ri(o,ka(t,i),n,r)})})},ka=(e,t)=>{let n=e;return t.split(Yi).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},tv=e=>e.isThemeGetter,nv=(e,t)=>t?e.map(([n,r])=>{const s=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,a])=>[t+o,a])):i);return[n,s]}):e,rv=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let o=n.get(i);if(o!==void 0)return o;if((o=r.get(i))!==void 0)return s(i,o),o},set(i,o){n.has(i)?n.set(i,o):s(i,o)}}},Dd="!",sv=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],i=t.length,o=a=>{const l=[];let c=0,u=0,d;for(let g=0;g<a.length;g++){let y=a[g];if(c===0){if(y===s&&(r||a.slice(g,g+i)===t)){l.push(a.slice(u,g)),u=g+i;continue}if(y==="/"){d=g;continue}}y==="["?c++:y==="]"&&c--}const p=l.length===0?a:a.substring(u),f=p.startsWith(Dd),m=f?p.substring(1):p,h=d&&d>u?d-u:void 0;return{modifiers:l,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:h}};return n?a=>n({className:a,parseClassName:o}):o},iv=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},ov=e=>({cache:rv(e.cacheSize),parseClassName:sv(e),...X0(e)}),av=/\s+/,lv=(e,t)=>
vendor: 4,983 bytes, line 11
11{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,i=[],o=e.trim().split(av);let a="";for(let l=o.length-1;l>=0;l-=1){const c=o[l],{modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(c);let m=!!f,h=r(m?p.substring(0,f):p);if(!h){if(!m){a=c+(a.length>0?" "+a:a);continue}if(h=r(p),!h){a=c+(a.length>0?" "+a:a);continue}m=!1}const g=iv(u).join(":"),y=d?g+Dd:g,w=y+h;if(i.includes(w))continue;i.push(w);const E=s(h,m);for(let k=0;k<E.length;++k){const N=E[k];i.push(y+N)}a=c+(a.length>0?" "+a:a)}return a};function ke(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Ld(t))&&(r&&(r+=" "),r+=n);return r}const Ld=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Ld(e[r]))&&(n&&(n+=" "),n+=t);return n};function xa(e,...t){let n,r,s,i=o;function o(l){const c=t.reduce((u,d)=>d(u),e());return n=ov(c),r=n.cache.get,s=n.cache.set,i=a,a(l)}function a(l){const c=r(l);if(c)return c;const u=lv(l,n);return s(l,u),u}return function(){return i(ke.apply(null,arguments))}}const U=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Md=/^\[(?:([a-z-]+):)?(.+)\]$/i,cv=/^\d+\/\d+$/,uv=new Set(["px","full","screen"]),dv=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fv=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,pv=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,mv=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,hv=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Je=e=>Xt(e)||uv.has(e)||cv.test(e),at=e=>dn(e,"length",kv),Xt=e=>!!e&&!Number.isNaN(Number(e)),ks=e=>dn(e,"number",Xt),_n=e=>!!e&&Number.isInteger(Number(e)),gv=e=>e.endsWith("%")&&Xt(e.slice(0,-1)),R=e=>Md.test(e),lt=e=>dv.test(e),yv=new Set(["length","size","percentage"]),vv=e=>dn(e,yv,Pd),_v=e=>dn(e,"position",Pd),bv=new Set(["image","url"]),wv=e=>dn(e,bv,Ev),Sv=e=>dn(e,"",xv),bn=()=>!0,dn=(e,t,n)=>{const r=Md.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},kv=e=>fv.test(e)&&!pv.test(e),Pd=()=>!1,xv=e=>mv.test(e),Ev=e=>hv.test(e),Ea=()=>{const e=U("colors"),t=U("spacing"),n=U("blur"),r=U("brightness"),s=U("borderColor"),i=U("borderRadius"),o=U("borderSpacing"),a=U("borderWidth"),l=U("contrast"),c=U("grayscale"),u=U("hueRotate"),d=U("invert"),p=U("gap"),f=U("gradientColorStops"),m=U("gradientColorStopPositions"),h=U("inset"),g=U("margin"),y=U("opacity"),w=U("padding"),E=U("saturate"),k=U("scale"),N=U("sepia"),C=U("skew"),A=U("space"),W=U("translate"),Q=()=>["auto","contain","none"],q=()=>["auto","hidden","clip","visible","scroll"],Ue=()=>["auto",R,t],I=()=>[R,t],D=()=>["",Je,at],K=()=>["auto",Xt,R],be=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ce=()=>["solid","dashed","dotted","double","none"],Qn=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],is=()=>["start","end","center","between","around","evenly","stretch"],gn=()=>["","0",R],go=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Ze=()=>[Xt,R];return{cacheSize:500,separator:":",theme:{colors:[bn],spacing:[Je,at],blur:["none","",lt,R],brightness:Ze(),borderColor:[e],borderRadius:["none","","full",lt,R],borderSpacing:I(),borderWidth:D(),contrast:Ze(),grayscale:gn(),hueRotate:Ze(),invert:gn(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[gv,at],inset:Ue(),margin:Ue(),opacity:Ze(),padding:I(),saturate:Ze(),scale:Ze(),sepia:gn(),skew:Ze(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",R]}],container:["container"],columns:[{columns:[lt]}],"break-after":[{"break-after":go()}],"break-before":[{"break-before":go()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...be(),R]}],overflow:[{overflow:q()}],"overflow-x":[{"overflow-x":q()}],"overflow-y":[{"overflow-y":q()}],overscroll:[{overscroll:Q()}],"overscroll-x":[{"overscroll-x":Q()}],"overscroll-y":[{"overscroll-y":Q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}
vendor: 4,752 bytes, line 11
11],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_n,R]}],basis:[{basis:Ue()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",R]}],grow:[{grow:gn()}],shrink:[{shrink:gn()}],order:[{order:["first","last","none",_n,R]}],"grid-cols":[{"grid-cols":[bn]}],"col-start-end":[{col:["auto",{span:["full",_n,R]},R]}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":[bn]}],"row-start-end":[{row:["auto",{span:[_n,R]},R]}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",R]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",R]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...is()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...is(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...is(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",R,t]}],"min-w":[{"min-w":[R,t,"min","max","fit"]}],"max-w":[{"max-w":[R,t,"none","full","min","max","fit","prose",{screen:[lt]},lt]}],h:[{h:[R,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[R,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[R,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[R,t,"auto","min","max","fit"]}],"font-size":[{text:["base",lt,at]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ks]}],"font-family":[{font:[bn]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",R]}],"line-clamp":[{"line-clamp":["none",Xt,ks]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Je,R]}],"list-image":[{"list-image":["none",R]}],"list-style-type":[{list:["none","disc","decimal",R]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Je,at]}],"underline-offset":[{"underline-offset":["auto",Je,R]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",R]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",R]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...be(),_v]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",vv]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},wv]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}
11],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...ce(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}
vendor: 4,464 bytes, line 11
11],"divide-style":[{divide:ce()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...ce()]}],"outline-offset":[{"outline-offset":[Je,R]}],"outline-w":[{outline:[Je,at]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Je,at]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",lt,Sv]}],"shadow-color":[{shadow:[bn]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...Qn(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Qn()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",lt,R]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[E]}],sepia:[{sepia:[N]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[N]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",R]}],duration:[{duration:Ze()}],ease:[{ease:["linear","in","out","in-out",R]}],delay:[{delay:Ze()}],animate:[{animate:["none","spin","ping","pulse","bounce",R]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[_n,R]}],"translate-x":[{"translate-x":[W]}],"translate-y":[{"translate-y":[W]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",R]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",R]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",R]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Je,at,ks]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
11none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Tv=(e,{cacheSize:t,prefix:n,separator:r,experimentalParseClassName:s,extend:i={},override:o={}})=>{Cn(e,"cacheSize",t),Cn(e,"prefix",n),Cn(e,"separator",r),Cn(e,"experimentalParseClassName",s);for(const a in o)Ov(e[a],o[a]);for(const a in i)Iv(e[a],i[a]);return e},Cn=(e,t,n)=>{n!==void 0&&(e[t]=n)},Ov=(e,t)=>{if(t)for(const n in t)Cn(e,n,t[n])},Iv=(e,t)=>{if(t)for(const n in t){const r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}},Cv=(e,...t)=>typeof e=="function"?xa(Ea,e,...t):xa(()=>Tv(Ea(),e),...t);function $v(e,t){const n={...e};for(const r of t)delete n[r];return n}function si(e,t,n){typeof t=="string"&&(t=t.split(".").map(s=>{const i=Number(s);return Number.isNaN(i)?s:i}));let r=e;for(const s of t){if(r==null)return n;r=r[s]}return r!==void 0?r:n}const Ji={to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1}},Av=e=>Object.keys(Ji).reduce((n,r)=>(e[r]!==void 0&&(n[r]=e[r]),n),{}),Ve=Cv(Fn({extend:{classGroups:{icons:[e=>e.startsWith("i-")]}}},_e.ui?.tailwindMerge)),Nv=Dp((e,t,n,r)=>{if(r==="default"||r.startsWith("default.")||r==="popper"||r.startsWith("popper.")||r.endsWith("avatar")&&t==="size"||r.endsWith("chip")&&t==="size"||r.endsWith("badge")&&t==="size"||t==="color"||t==="variant")return!1;if(typeof e[t]=="string"&&typeof n=="string"&&e[t]&&n)return e[t]=Ve(e[t],n),!0});function fn(e,...t){return e==="override"?Fn({},...t):Nv({},...t)}const Fd=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;function Ta(e){return Fd.test(e)?Rv(e):e}function Rv(e){const t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;e=e.replace(t,function(r,s,i,o){return s+s+i+i+o+o});const n=Fd.exec(e);return n?`${Number.parseInt(n[1],16)} ${Number.parseInt(n[2],16)} ${Number.parseInt(n[3],16)}`:null}function Jx(e){const t=Number.parseFloat(e);return Number.isNaN(t)?e:t}const Dv="inherit",Lv="currentColor",Mv="transparent",Pv="#000",Fv="#fff",zv={50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},Vv={50:"rgb(var(--color-gray-50) / <alpha-value>)",100:"rgb(var(--color-gray-100) / <alpha-value>)",200:"rgb(var(--color-gray-200) / <alpha-value>)",300:"rgb(var(--color-gray-300) / <alpha-value>)",400:"rgb(var(--color-gray-400) / <alpha-value>)",500:"rgb(var(--color-gray-500) / <alpha-value>)",600:"rgb(var(--color-gray-600) / <alpha-value>)",700:"rgb(var(--color-gray-700) / <alpha-value>)",800:"rgb(var(--color-gray-800) / <alpha-value>)",900:"rgb(var(--color-gray-900) / <alpha-value>)",950:"rgb(var(--color-gray-950) / <alpha-value>)"},jv={50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},Uv={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},Wv={50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},qv={50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},Hv={50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},Bv={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},Gv={50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},Zv={50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},Yv={50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},Jv={50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},Kv={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},Xv={50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},Qv={50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},e_={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},t_={50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},n_={50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},r_={50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},s_={50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},i_={50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},o_={50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},a_={50:"#f7f6f5",100:"#eceae8",400:"#b0a9a2",700:"#6f655f",750:"#5C524C",900:"#282422",960:"#1D1916"},l_={50:"#ffe9cc",200:"#E0C12D",300:"#D6B201",400:"#ffc132",500:"#ffaa0a",600:"#f18b00",700:"#cc6c02",800:"#6b3006"},c_={600:"#f43423",700:"#cd1808",800:"#a9180b"},u_={300:"#ffef9b",400:"#ffe458",500:"#ffdc27",600:"#d6b201",900:"#402e1a"},d_={400:"#a08366",500:"#886c50"},f_={100:"#DAF5EA",700:"#0FBA72",800:"#07995C"},p_={100:"#FDE1DB",700:"#EE451F"},m_={600:"#EED144"},h_={500:"#0066FF"},g_={50:"rgb(var(--color-primary-50) / <alpha-value>)",100:"rgb(var(--color-primary-100) / <alpha-value>)",200:"rgb(var(--color-primary-200) / <alpha-value>)",300:"rgb(var(--color-primary-300) / <alpha-value>)",400:"rgb(var(--color-primary-400) / <alpha-value>)",500:"rgb(var(--color-primary-500) / <alpha-value>)",600:"rgb(var(--color-primary-600) / <alpha-value>)",700:"rgb(var(--color-primary-700) / <alpha-value>)",800:"rgb(var(--color-primary-800) / <alpha-value>)",900:"rgb(var(--color-primary-900) / <alpha-value>)",950:"rgb(var(--color-primary-950) / <alpha-value>)",DEFAULT:"rgb(var(--color-primary-DEFAULT) / <alpha-value>)"},y_={50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},ar={inherit:Dv,current:Lv,transparent:Mv,black:Pv,white:Fv,slate:zv,gray:Vv,zinc:jv,neutral:Uv,stone:Wv,red:qv,orange:Hv,amber:Bv,yellow:Gv,lime:Zv,green:Yv,emerald:Jv,teal:Kv,cyan:Xv,sky:Qv,blue:e_,indigo:t_,violet:n_,purple:r_,fuchsia:s_,pink:i_,rose:o_,cloudy:a_,tangerine:l_,pomegranate:c_,lemoncello:u_,sandal:d_,positive:f_,negative:p_,popcorn:m_,silk:h_,primary:g_,cool:y_,"copper-canyon":{600:"#412E1B",700:"#543517",800:"#8a4513"}},v_=H(()=>{const e=Lt(),t=Ee(),n=x(()=>{const s=si(ar,e.ui.primary),i=si(ar,e.ui.gray);return s||console.warn(`[@nuxt/ui] Primary color '${e.ui.primary}' not found in Tailwind config`),i||console.warn(`[@nuxt/ui] Gray color '${e.ui.gray}' not found in Tailwind config`),`:root {
12${Object.entries(s||ar.green).map(([o,a])=>`--color-primary-${o}: ${Ta(a)};`).join(`
13`)}
14--color-primary-DEFAULT: var(--color-primary-500);
15
16${Object.entries(i||ar.cool).map(([o,a])=>`--color-gray-${o}: ${Ta(a)};`).join(`
17`)}
18}
19
20.dark {
21  --color-primary-DEFAULT: var(--color-primary-400);
22}
23`}),r={style:[{innerHTML:()=>n.value,tagPriority:-2,id:"nuxt-ui-colors"}]};if(t.isHydrating&&!t.payload.serverRendered){const s=document.createElement("style");s.innerHTML=n.value,s.setAttribute("data-nuxt-ui-colors",""),document.head.appendChild(s),r.script=[{innerHTML:"document.head.removeChild(document.querySelector('[data-nuxt-ui-colors]'))"}]}Ci(r)}),__="__NUXT_COLOR_MODE__",xs="nuxt-color-mode",b_="localStorage",Ke=window[__]||{},w_=H(e=>{const t=Dr("color-mode",()=>ki({preference:Ke.preference,value:Ke.value,unknown:!1,forced:!1})).value;Fe().afterEach(i=>{const o=i.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?Ke.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=Ke.getColorScheme())}))}function s(i,o){switch(i){case"cookie":window.document.cookie=xs+"="+o;break;case"sessionStorage":window.sessionStorage?.setItem(xs,o);break;default:window.localStorage?.setItem(xs,o)}}Pe(()=>t.preference,i=>{t.forced||(i==="system"?(t.value=Ke.getColorScheme(),r()):t.value=i,s(b_,i))},{immediate:!0}),Pe(()=>t.value,(i,o)=>{Ke.removeColorScheme(o),Ke.addColorScheme(i)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Ke.preference,t.value=Ke.value,t.unknown=!1)}),e.provide("colorMode",t)}),zd=/^[a-z0-9]+(-[a-z0-9]+)*$/,Yn=(e,t,n,r="")=>{const s=e.split(":");if(e.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;r=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const a=s.pop(),l=s.pop(),c={provider:s.length>0?s[0]:r,prefix:l,name:a};return t&&!hr(c)?null:c}const i=s[0],o=i.split("-");if(o.length>1){const a={provider:r,prefix:o.shift(),name:o.join("-")};return t&&!hr(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:i};return t&&!hr(a,n)?null:a}return null},hr=(e,t)=>
23e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function S_(e,t){const n=e.icons,r=e.aliases||Object.create(null),s=Object.create(null);function i(o){if(n[o])return s[o]=[];if(!(o in s)){s[o]=null;const a=r[o]&&r[o].parent,l=a&&i(a);l&&(s[o]=[a].concat(l))}return s[o]}return Object.keys(n).concat(Object.keys(r)).forEach(i),s}const Vd=Object.freeze({left:0,top:0,width:16,height:16}),Er=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),pn=Object.freeze({...Vd,...Er}),ii=Object.freeze({...pn,body:"",hidden:!1});function k_(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Oa(e,t){const n=k_(e,t);for(const r in ii)r in Er?r in e&&!(r in n)&&(n[r]=Er[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function x_(e,t,n){const r=e.icons,s=e.aliases||Object.create(null);let i={};function o(a){i=Oa(r[a]||s[a],i)}return o(t),n.forEach(o),Oa(e,i)}function jd(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(s=>{t(s,null),n.push(s)});const r=S_(e);for(const s in r){const i=r[s];i&&(t(s,x_(e,s,i)),n.push(s))}return n}const E_={provider:"",aliases:{},not_found:{},...Vd};function Es(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Ud(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Es(e,E_))return null;const n=t.icons;for(const s in n){const i=n[s];if(!s||typeof i.body!="string"||!Es(i,ii))return null}const r=t.aliases||Object.create(null);for(const s in r){const i=r[s],o=i.parent;if(!s||typeof o!="string"||!n[o]&&!r[o]||!Es(i,ii))return null}return t}const Ia=Object.create(null);function T_(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Nt(e,t){const n=Ia[e]||(Ia[e]=Object.create(null));return n[t]||(n[t]=T_(e,t))}function Wd(e,t){return Ud(t)?jd(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function O_(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Vn=!1;function qd(e){return typeof e=="boolean"&&(Vn=e),Vn}function Ki(e){const t=typeof e=="string"?Yn(e,!0,Vn):e;if(t){const n=Nt(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Xi(e,t){const n=Yn(e,!0,Vn);if(!n)return!1;const r=Nt(n.provider,n.prefix);return t?O_(r,n.name,t):(r.missing.add(n.name),!0)}function I_(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Vn&&!t&&!e.prefix){let r=!1;return Ud(e)&&(e.prefix="",jd(e,(s,i)=>{Xi(s,i)&&(r=!0)})),r}const n=e.prefix;return hr({prefix:n,name:"a"})?!!Wd(Nt(t,n),e):!1}function oi(e){const t=Ki(e);return t&&{...pn,...t}}const Hd=Object.freeze({width:null,height:null}),Bd=Object.freeze({...Hd,...Er}),C_=/(-?[0-9.]*[0-9]+[0-9.]*)/g,$_=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ca(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(C_);if(r===null||!r.length)return e;const s=[];let i=r.shift(),o=$_.test(i);for(;;){if(o){const a=parseFloat(i);isNaN(a)?s.push(i):s.push(Math.ceil(a*t*n)/n)}else s.push(i);if(i=r.shift(),i===void 0)return s.join("");o=!o}}function A_(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const s=e.indexOf(">",r),i=e.indexOf("</"+t);if(s===-1||i===-1)break;const o=e.indexOf(">",i);if(o===-1)break;n+=e.slice(s+1,i).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function N_(e,t){return e?"<defs>"+e+"</defs>"+t:t}function R_(e,t,n){const r=A_(e);return N_(r.defs,t+r.content+n)}const D_=e=>e==="unset"||e==="undefined"||e==="none";function L_(e,t){const n={...pn,...e},r={...Bd,...t},s={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(h=>{const g=[],y=h.hFlip,w=h.vFlip;let E=h.rotate;y?w?E+=2:(g.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),g.push("scale(-1 1)"),s.top=s.left=0):w&&(g.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),g.push("scale(1 -1)"),s.top=s.left=0);let k;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:k=s.height/2+s.top,g.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:g.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:k=s.width/2+s.left,g.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}E%2===1&&(s.left!==s.top&&(k=s.left,s.left=s.top,s.top=k),s.width!==s.height&&(k=s.width,s.width=s.height,s.height=k)),g.length&&(i=R_(i,'<g transform="'+g.join(" ")+'">',"</g>"))});const o=r.width,a=r.height,l=s.width,c=s.height;let u,d;o===null?(d=a===null?"1em":a==="auto"?c:a,u=Ca(d,l/c)):(u=o==="auto"?l:o,d=a===null?Ca(u,c/l):a==="auto"?c:a);const p={},f=(h,g)=>{D_(g)||(p[h]=g.toString())};f("width",u),f("height",d);const m=[s.left,s.top,l,c];return p.viewBox=m.join(" "),{attributes:p,viewBox:m,body:i}}const M_=/\sid="(\S+)"/g,$a=new Map;function P_(e){e=e.replace(/[0-9]+$/,"")||"a";const t=$a.get(e)||0;return $a.set(e,t+1),t?`${e}${t}`:e}function F_(e){const t=[];let n;for(;n=M_.exec(e);)t.push(n[1]);if(!t.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(s=>{const i=P_(s),o=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+o+')([")]|\\.[a-z])',"g"),"$1"+i+r+"$3")}
23),e=e.replace(new RegExp(r,"g"),""),e}const ai=Object.create(null);function Gd(e,t){ai[e]=t}function li(e){return ai[e]||ai[""]}function Qi(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Gr=Object.create(null),wn=["https://api.simplesvg.com","https://api.unisvg.com"],gr=[];for(;wn.length>0;)wn.length===1||Math.random()>.5?gr.push(wn.shift()):gr.push(wn.pop());Gr[""]=Qi({resources:["https://api.iconify.design"].concat(gr)});function Zd(e,t){const n=Qi(t);return n===null?!1:(Gr[e]=n,!0)}function Zr(e){return Gr[e]}function z_(){return Object.keys(Gr)}const V_=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Tr=V_();function j_(e){Tr=e}function U_(){return Tr}function W_(e,t){const n=Zr(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let s=0;n.resources.forEach(o=>{s=Math.max(s,o.length)});const i=t+".json?icons=";r=n.maxURL-s-n.path.length-i.length}return r}function q_(e){return e===404}const H_=(e,t,n)=>{const r=[],s=W_(e,t),i="icons";let o={type:i,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=s&&c>0&&(r.push(o),o={type:i,provider:e,prefix:t,icons:[]},a=l.length),o.icons.push(l)}),r.push(o),r};function B_(e){if(typeof e=="string"){const t=Zr(e);if(t)return t.path}return"/"}const G_=(e,t,n)=>{if(!Tr){n("abort",424);return}let r=B_(t.provider);switch(t.type){case"icons":{const i=t.prefix,o=t.icons.join(","),a=new URLSearchParams({icons:o});r+=i+".json?"+a.toString();break}case"custom":{const i=t.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let s=503;Tr(e+r).then(i=>{const o=i.status;if(o!==200){setTimeout(()=>{n(q_(o)?"abort":"next",o)});return}return s=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",s)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",s)})},Z_={prepare:H_,send:G_};function Yd(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(s=>s.id!==t))})}function Y_(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,s=e.prefix;t.forEach(i=>{const o=i.icons,a=o.pending.length;o.pending=o.pending.filter(l=>{if(l.prefix!==s)return!0;const c=l.name;if(e.icons[c])o.loaded.push({provider:r,prefix:s,name:c});else if(e.missing.has(c))o.missing.push({provider:r,prefix:s,name:c});else return n=!0,!0;return!1}),o.pending.length!==a&&(n||Yd([e],i.id),i.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),i.abort))})}))}let J_=0;function K_(e,t,n){const r=J_++,s=Yd.bind(null,n,r);if(!t.pending.length)return s;const i={id:r,icons:t,callback:e,abort:s};return n.forEach(o=>{(o.loaderCallbacks||(o.loaderCallbacks=[])).push(i)}),s}function X_(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((s,i)=>s.provider!==i.provider?s.provider.localeCompare(i.provider):s.prefix!==i.prefix?s.prefix.localeCompare(i.prefix):s.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return e.forEach(s=>{if(r.name===s.name&&r.prefix===s.prefix&&r.provider===s.provider)return;r=s;const i=s.provider,o=s.prefix,a=s.name,l=n[i]||(n[i]=Object.create(null)),c=l[o]||(l[o]=Nt(i,o));let u;a in c.icons?u=t.loaded:o===""||c.missing.has(a)?u=t.missing:u=t.pending;const d={provider:i,prefix:o,name:a};u.push(d)}),t}function Q_(e,t=!0,n=!1){const r=[];return e.forEach(s=>{const i=typeof s=="string"?Yn(s,t,n):s;i&&r.push(i)}),r}const eb={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function tb(e,t,n,r){const s=e.resources.length,i=e.random?Math.floor(Math.random()*s):e.index;let o;if(e.random){let C=e.resources.slice(0);for(o=[];C.length>1;){const A=Math.floor(Math.random()*C.length);o.push(C[A]),C=C.slice(0,A).concat(C.slice(A+1))}o=o.concat(C)}else o=e.resources.slice(i).concat(e.resources.slice(0,i));const a=Date.now();let l="pending",c=0,u,d=null,p=[],f=[];
23typeof r=="function"&&f.push(r);function m(){d&&(clearTimeout(d),d=null)}function h(){l==="pending"&&(l="aborted"),m(),p.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),p=[]}function g(C,A){A&&(f=[]),typeof C=="function"&&f.push(C)}function y(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:p.length,subscribe:g,abort:h}}function w(){l="failed",f.forEach(C=>{C(void 0,u)})}function E(){p.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),p=[]}function k(C,A,W){const Q=A!=="success";switch(p=p.filter(q=>q!==C),l){case"pending":break;case"failed":if(Q||!e.dataAfterTimeout)return;break;default:return}if(A==="abort"){u=W,w();return}if(Q){u=W,p.length||(o.length?N():w());return}if(m(),E(),!e.random){const q=e.resources.indexOf(C.resource);q!==-1&&q!==e.index&&(e.index=q)}l="completed",f.forEach(q=>{q(W)})}function N(){if(l!=="pending")return;m();const C=o.shift();if(C===void 0){if(p.length){d=setTimeout(()=>{m(),l==="pending"&&(E(),w())},e.timeout);return}w();return}const A={status:"pending",resource:C,callback:(W,Q)=>{k(A,W,Q)}};p.push(A),c++,d=setTimeout(N,e.rotate),n(C,t,A.callback)}return setTimeout(N),y}function Jd(e){const t={...eb,...e};let n=[];function r(){n=n.filter(o=>o().status==="pending")}function s(o,a,l){const c=tb(t,o,a,(u,d)=>{r(),l&&l(u,d)});return n.push(c),c}function i(o){return n.find(a=>o(a))||null}return{query:s,find:i,setIndex:o=>{t.index=o},getIndex:()=>t.index,cleanup:r}}function Aa(){}const Ts=Object.create(null);function nb(e){if(!Ts[e]){const t=Zr(e);if(!t)return;Ts[e]={config:t,redundancy:Jd(t)}}return Ts[e]}function Kd(e,t,n){let r,s;if(typeof e=="string"){const i=li(e);if(!i)return n(void 0,424),Aa;s=i.send;const o=nb(e);o&&(r=o.redundancy)}else{const i=Qi(e);if(i){r=Jd(i);const o=li(e.resources?e.resources[0]:"");o&&(s=o.send)}}return!r||!s?(n(void 0,424),Aa):r.query(t,s,n)().abort}function Na(){}function rb(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Y_(e)}))}function sb(e){const t=[],n=[];return e.forEach(r=>{(r.match(zd)?t:n).push(r)}),{valid:t,invalid:n}}function Sn(e,t,n){function r(){const s=e.pendingIcons;t.forEach(i=>{s&&s.delete(i),e.icons[i]||e.missing.add(i)})}if(n&&typeof n=="object")try{if(!Wd(e,n).length){r();return}}catch(s){console.error(s)}r(),rb(e)}function Ra(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function ib(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,s=e.iconsToLoad;if(delete e.iconsToLoad,!s||!s.length)return;const i=e.loadIcon;if(e.loadIcons&&(s.length>1||!i)){Ra(e.loadIcons(s,r,n),c=>{Sn(e,s,c)});return}if(i){s.forEach(c=>{Ra(i(c,r,n),u=>{Sn(e,[c],u?{prefix:r,icons:{[c]:u}}:null)})});return}const{valid:o,invalid:a}=sb(s);if(a.length&&Sn(e,a,null),!o.length)return;const l=r.match(zd)?li(n):null;if(!l){Sn(e,o,null);return}
23l.prepare(n,r,o).forEach(c=>{Kd(n,c,u=>{Sn(e,c.icons,u)})})}))}const Xd=(e,t)=>{const n=X_(Q_(e,!0,qd()));if(!n.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(n.loaded,n.missing,n.pending,Na)}),()=>{a=!1}}const r=Object.create(null),s=[];let i,o;return n.pending.forEach(a=>{const{provider:l,prefix:c}=a;if(c===o&&l===i)return;i=l,o=c,s.push(Nt(l,c));const u=r[l]||(r[l]=Object.create(null));u[c]||(u[c]=[])}),n.pending.forEach(a=>{const{provider:l,prefix:c,name:u}=a,d=Nt(l,c),p=d.pendingIcons||(d.pendingIcons=new Set);p.has(u)||(p.add(u),r[l][c].push(u))}),s.forEach(a=>{const l=r[a.provider][a.prefix];l.length&&ib(a,l)}),t?K_(t,n,s):Na},ob=e=>new Promise((t,n)=>{const r=typeof e=="string"?Yn(e,!0):e;if(!r){n(e);return}Xd([r||e],s=>{if(s.length&&r){const i=Ki(r);if(i){t({...pn,...i});return}}n(e)})});function ab(e,t,n){Nt("",t).loadIcons=e}function lb(e,t){const n={...e};for(const r in t){const s=t[r],i=typeof s;r in Hd?(s===null||s&&(i==="string"||i==="number"))&&(n[r]=s):i===typeof n[r]&&(n[r]=r==="rotate"?s%4:s)}return n}const cb=/[\s,]+/;function ub(e,t){t.split(cb).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function db(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(s){for(;s<0;)s+=4;return s%4}if(n===""){const s=parseInt(e);return isNaN(s)?0:r(s)}else if(n!==e){let s=0;switch(n){case"%":s=25;break;case"deg":s=90}if(s){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/s,i%1===0?r(i):0)}}return t}function fb(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function pb(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function mb(e){return"data:image/svg+xml,"+pb(e)}function hb(e){return'url("'+mb(e)+'")'}const Da={...Bd,inline:!1},gb={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},yb={display:"inline-block"},ci={backgroundColor:"currentColor"},Qd={backgroundColor:"transparent"},La={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ma={webkitMask:ci,mask:ci,background:Qd};for(const e in Ma){const t=Ma[e];for(const n in La)t[e+n]=La[n]}const yr={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";yr[e+"-flip"]=t,yr[e.slice(0,1)+"-flip"]=t,yr[e+"Flip"]=t});function Pa(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Fa=(e,t)=>{const n=lb(Da,t),r={...gb},s=t.mode||"svg",i={},o=t.style,a=typeof o=="object"&&!(o instanceof Array)?o:{};for(let h in t){const g=t[h];if(g!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[h]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&ub(n,g);break;case"color":i.color=g;break;case"rotate":typeof g=="string"?n[h]=db(g):typeof g=="number"&&(n[h]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const y=yr[h];y?(g===!0||g==="true"||g===1)&&(n[y]=!0):Da[h]===void 0&&(r[h]=g)}}}const l=L_(e,n),c=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),s==="svg")return r.style={...i,...a},Object.assign(r,c),r.innerHTML=F_(l.body),re("svg",r);const{body:u,width:d,height:p}=e,f=s==="mask"||(s==="bg"?!1:u.indexOf("currentColor")!==-1),m=fb(u,{...c,width:d+"",height:p+""});return r.style={...i,"--svg":hb(m),width:Pa(c.width),height:Pa(c.height),...yb,...f?ci:Qd,...a},re("span",r)};qd(!0);Gd("",Z_);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!I_(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invali
23d.";try{const s=t[n];if(typeof s!="object"||!s||s.resources===void 0)continue;Zd(n,s)||console.error(r)}catch{console.error(r)}}}}const vb={...pn,body:""},_b=M((e,{emit:t})=>{const n=ie(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const s=ie(!!e.ssr),i=ie(""),o=ae(null);function a(){const c=e.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return i.value="",{data:c};let u;if(typeof c!="string"||(u=Yn(c,!1,!0))===null)return null;let d=Ki(u);if(!d){const m=n.value;return(!m||m.name!==c)&&(d===null?n.value={name:c}:n.value={name:c,abort:Xd([u],l)}),null}r(),i.value!==c&&(i.value=c,Ct(()=>{t("load",c)}));const p=e.customise;if(p){d=Object.assign({},d);const m=p(d.body,u.name,u.prefix,u.provider);typeof m=="string"&&(d.body=m)}const f=["iconify"];return u.prefix!==""&&f.push("iconify--"+u.prefix),u.provider!==""&&f.push("iconify--"+u.provider),{data:d,classes:f}}function l(){const c=a();c?c.data!==o.value?.data&&(o.value=c):o.value=null}return s.value?l():Rt(()=>{s.value=!0,l()}),Pe(()=>e.icon,l),xi(r),()=>{const c=o.value;if(!c)return Fa(vb,e);let u=e;return c.classes&&(u={...e,class:c.classes.join(" ")}),Fa({...pn,...c.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),za={getAPIConfig:Zr,setAPIModule:Gd,sendAPIQuery:Kd,setFetch:j_,getFetch:U_,listAPIProviders:z_},bb=H({name:"@nuxt/icon",setup(){const e=yt(),t=Lt().icon;za.setFetch($fetch.native);const n=[];if(t.provider==="server"){const s=e.app?.baseURL?.replace(/\/$/,"")??"";n.push(s+(t.localApiEndpoint||"/api/_nuxt_icon")),(t.fallbackToApi===!0||t.fallbackToApi==="client-only")&&n.push(t.iconifyApiEndpoint)}else t.provider==="none"?za.setFetch(()=>Promise.resolve(new Response)):n.push(t.iconifyApiEndpoint);async function r(s,i){try{const o=await $fetch(n[0]+"/"+i+".json",{query:{icons:s.join(",")}});if(!o||o.prefix!==i||!o.icons)throw new Error("Invalid data"+JSON.stringify(o));return o}catch(o){return console.error("Failed to load custom icons",o),null}}Zd("",{resources:n});for(const s of t.customCollections||[])s&&ab(r,s)}}),wb=e=>{let t;return e.response?.headers&&typeof e.response?.headers?.toJSON=="function"?t=e.response?.headers.toJSON?.():t=e.response?.headers||{},oe({cause:e.cause,statusCode:e.response?.status,statusMessage:e.response?.statusText,message:e.message,name:e.name,data:{response:{headers:t}}})},Sb=()=>{const e=Gp.create({maxRedirects:0,withCredentials:!0});return e.interceptors.response.use(t=>t,t=>{throw console.error(JSON.stringify({code:as(t,"code"),message:as(t,"message"),name:as(t,"name")})),wb(t)}),e},Ce=()=>"",kb=()=>{const e=Sb(),t=new Lp(new Oe({basePath:`${Ce()}/proxy`,baseOptions:{headers:{"Content-Type":"application/json"}}}),void 0,e),n=new Mp(new Oe({basePath:`${Ce()}/proxy`,baseOptions:{headers:{"Content-Type":"application/json"}}}),void 0,e),r=new Pp(new Oe({basePath:`${Ce()}/proxy`,baseOptions:{headers:{"Content-Type":"application/json"}}}),void 0,e),s=new Fp(new Oe({basePath:`${Ce()}/proxy`,baseOptions:{headers:{"Content-Type":"application/json"}}}),void 0,e),i=new zp(new Oe({basePath:`${Ce()}/proxy`,baseOptions:{headers:{"Content-Type":"application/json"}}}),void 0,e),o=new Vp(new Oe({basePath:`${Ce()}/proxy`,baseOptions:{headers:{"Content-Type":"application/json"}}}),void 0,e),a=new jp(new Oe({basePath:`${Ce()}/proxy`,baseOptions:{headers:{"Content-Type":"application/json"}}}),void 0,e),l=new Up(new Oe({basePath:`${Ce()}/proxy`,baseOptions:{headers:{"Content-Type":"application/json"}}}),void 0,e),c=new Wp(new Oe({basePath:`${Ce()}/proxy`,baseOptions:{headers:{"Content-Type":"application/json"}}}),void 0,e),u=new qp(new Oe({basePath:`${Ce()}/proxy`,baseOptions:{headers:{"Content-Type":"application/json"}}}),void 0,e),d=new Hp(new Oe({basePath:`${Ce()}/proxy`,baseOptions:{headers:{"Content-Type":"application/json"}}}),void 0,e),p=new Bp(new Oe({basePath:`${Ce()}/proxy`,baseOptions:{headers:{"Content-Type":"application/json"}}}),void 0,e);return{alias:i,article:t,author:r,category:n,feed:l,layout:a,menu:s,page:o,slideshow:c,tagCategory:u,tag:d,videos:p}},xb=H(()=>({provide:{api:kb()}})),Eb=Symbol.for("cmp-cookie-wall"),Tb=H(()=>{const e=Fe(),t=Mt(),n=Yp(Eb),{user:r}=$t(),s=x(()=>!!r.value?.isPremium),i=a=>["/page/politique-des-cookies","/page/apps/politique-des-cookies","/auth/connexion"].includes(a.path)||a.meta?.disableDidomi===!0,o=async a=>{try{await Zp(()=>window.Didomi).toBeTruthy({timeout:500,throwOnTimeout:!0}),i(a)?(window.Didomi.notice.hide(),n.hide()):window.Didomi.shouldUserStatusBeCollected()?window.Didomi.notice.show():s.value||window.Didomi.getUserStatus().purposes.consent.disabled.includes("select_basic_ads")&&n.show()}catch{o(a)}};o(t),e.afterEach(a=>{Ct(()=>{o(a)})})});class ee{constructor(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}static hashStr(t,n=!1){return this.onePassHasher.start().appendStr(t).end(n)}static hashAsciiStr(t,n=!1){return this.onePassHasher.start().appendAsciiStr(t).end(n)}static _hex(t){const n=ee.hexChars,r=ee.hexOut;let s,i,o,a;for(a=0;a<4;a+=1)for(i=a*8,s=t[a],o=0;o<8;o+=2)r[i+1+o]=n.charAt(s&15),s>>>=4,r[i+0+o]=n.charAt(s&15),s>>>=4;return r.join("")}static _md5cycle(t,n){let r=t[0],s=t[1],i=t[2],o=t[3];r+=(s&i|~s&o)+n[0]-680876936|0,r=(r<<7|r>>>25)+s|0,o+=(r&s|~r&i)+n[1]-389564586|0,o=(o<<12|o>>>20)+r|0,i+=(o&r|~o&s)+n[2]+606105819|0,i=(i<<17|i>>>15)+o|0,s+=(i&o|~i&r)+n[3]-1044525330|0,s=(s<<22|s>>>10)+i|0,r+=(s&i|~s&o)+n[4]-176418897|0,r=(r<<7|r>>>25)+s|0,o+=(r&s|~r&i)+n[5]+1200080426|0,o=(o<<12|o>>>20)+r|0,i+=(o&r|~o&s)+n[6]-1473231341|0,i=(i<<17|i>>>15)+o|0,s+=(i&o|~i&r)+n[7]-45705983|0,s=(s<<22|s>>>10)+i|0,r+=(s&i|~s&o)+n[8]+1770035416|0,r=(r<<7|r>>>25)+s|0,o+=(r&s|~r&i)+n[9]-1958414417|0,o=(o<<12|o>>>20)+r|0,i+=(o&r|~o&s)+n[10]-42063|0,i=(i<<17|i>>>15)+o|0,s+=(i&o|~i&r)+n[11]-1990404162|0,s=(s<<22|s>>>10)+i|0,r+=(s&i|~s&o)+n[12]+1804603682|0,r=(r<<7|r>>>25)+s|0,o+=(r&s|~r&i)+n[13]-40341101|0,o=(o<<12|o>>>20)+r|0,i+=(o&r|~o&s)+n[14]-1502002290|0,i=(i<<17|i>>>15)+o|0,s+=(i&o|~i&r)+n[15]+1236535329|0,s=(s<<22|s>>>10)+i|0,r+=(s&o|i&~o)+n[1]-165796510|0,r=(r<<5|r>>>27)+s|0,o+=(r&i|s&~i)+n[6]-1069501632|0,o=(o<<9|o>>>23)+r|0,i+=(o&s|r&~s)+n[11]+643717713|0,i=(i<<14|i>>>18)+o|0,s+=(i&r|o&~r)+n[0]-373897302|0,s=(s<<20|s>>>12)+i|0,r+=(s&o|i&~o)+n[5]-701558691|0,r=(r<<5|r>>>27)+s|0,o+=(r&i|s&~i)+n[10]+38016083|0,o=(o<<9|o>>>23)+r|0,i+=(o&s|r&~s)+n[15]-660478335|0,i=(i<<14|i>>>18)+o|0,s+=(i&r|o&~r)+n[4]-405537848|0,s=(s<<20|s>>>12)+i|0,r+=(s&o|i&~o)+n[9]+568446438|0,r=(r<<5|r>>>27)+s|0,o+=(r&i|s&~i)+n[14]-1019803690|0,o=(o<<9|o>>>23)+r|0,i+=(o&s|r&~s)+n[3]-187363961|0,i=(i<<14|i>>>18)+o|0,s+=(i&r|o&~r)+n[8]+1163531501|0,s=(s<<20|s>>>12)+i|0,r+=(s&o|i&~o)+n[13]-1444681467|0,r=(r<<5|r>>>27)+s|0,o+=(r&i|s&~i)+n[2]-51403784|0,o=(o<<9|o>>>23)+r|0,i+=(o&s|r&~s)+n[7]+1735328473|0,i=(i<<14|i>>>18)+o|0,s+=(i&r|o&~r)+n[12]-1926607734|0,s=(s<<20|s>>>12)+i|0,r+=(s^i^o)+n[5]-378558|0,r=(r<<4|r>>>28)+s|0,o+=(r^s^i)+n[8]-2022574463|0,o=(o<<11|o>>>21)+r|0,i+=(o^r^s)+n[11]+1839030562|0,i=(i<<16|i>>>16)+o|0,s+=(i^o^r)+n[14]-35309556|0,s=(s<<23|s>>>9)+i|0,r+=(s^i^o)+n[1]-1530992060|0,r=(r<<4|r>>>28)+s|0,o+=(r^s^i)+n[4]+1272893353|0,o=(o<<11|o>>>21)+r|0,i+=(o^r^s)+n[7]-155497632|0,i=(i<<16|i>>>16)+o|0,s+=(i^o^r)+n[10]-1094730640|0,s=(s<<23|s>>>9)+i|0,r+=(s^i^o)+n[13]+681279174|0,r=(r<<4|r>>>28)+s|0,o+=(r^s^i)+n[0]-358537222|0,o=(o<<11|o>>>21)+r|0,i+=(o^r^s)+n[3]-722521979|0,i=(i<<16|i>>>16)+o|0,s+=(i^o^r)+n[6]+76029189|0,s=(s<<23|s>>>9)+i|0,r+=(s^i^o)+n[9]-640364487|0,r=(r<<4|r>>>28)+s|0,o+=(r^s^i)+n[12]-421815835|0,o=(o<<11|o>>>21)+r|0,i+=(o^r^s)+n[15]+530742520|0,i=(i<<16|i>>>16)+o|0,s+=(i^o^r)+n[2]-995338651|0,s=(s<<23|s>>>9)+i|0,r+=(i^(s|~o))+n[0]-198630844|0,r=(r<<6|r>>>26)+s|0,o+=(s^(r|~i))+n[7]+1126891415|0,o=(o<<10|o>>>22)+r|0,i+=(r^(o|~s))+n[14]-1416354905|0,i=(i<<15|i>>>17)+o|0,s+=(o^(i|~r))+n[5]-57434055|0,s=(s<<21|s>>>11)+i|0,r+=(i^(s|~o))+n[12]+1700485571|0,r=(r<<6|r>>>26)+s|0,o+=(s^(r|~i))+n[3]-1894986606|0,o=(o<<10|o>>>22)+r|0,i+=(r^(o|~s))+n[10]-1051523|0,i=(i<<15|i>>>17)+o|0,s+=(o^(i|~r))+n[1]-2054922799|0,s=(s<<21|s>>>11)+i|0,r+=(i^(s|~o))+n[8]+1873313359|0,r=(r<<6|r>>>26)+s|0,o+=(s^(r|~i))+n[15]-30611744|0,o=(o<<10|o>>>22)+r|0,i+=(r^(o|~s))+n[6]-1560198380|0,i=(i<<15|i>>>17)+o|0,s+=(o^(i|~r))+n[13]+1309151649|0,s=(s<<21|s>>>11)+i|0,r+=(i^(s|~o))+n[4]-145523070|0,r=(r<<6|r>>>26)+s|0,o+=(s^(r|~i))+n[11]-1120210379|0,o=(o<<10|o>>>22)+r|0,i+=(r^(o|~s))+n[2]+718787259|0,i=(i<<15|i>>>17)+o|0,s+=(o^(i|~r))+n[9]-343485551|0,s=(s<<21|s>>>11)+i|0,t[0]=r+t[0]|0,t[1]=s+t[1]|0,t[2]=i+t[2]|0,t[3]=o+t[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(ee.stateIdentity),this}appendStr(t){const n=this._buffer8,r=this._buffer32;let s=this._bufferLength,i,o;for(o=0;o<t.length;o+=1){if(i=t.charCodeAt(o),i<128)n[s++]=i;else if(i<2048)n[s++]=(i>>>6)+192,n[s++]=i&63|128;else if(i<55296||i>56319)n[s++]=(i>>>12)+224,n[s++]=i>>>6&63|128,n[s++]=i&63|128;else{if(i=(i-55296)*1024+(t.charCodeAt(++o)-56320)+65536,i>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");n[s++]=(i>>>18)+240,n[s++]=i>>>12&63|128,n[s++]=i>>>6&63|128,n[s++]=i&63|128}s>=64&&(this._dataLength+=64,ee._md5cycle(this._state,r),s-=64,r[0]=r[16])}return this._bufferLength=s,this}appendAsciiStr(t){const n=this._buffer8,r=this._buffer32;let s=this._bufferLength,i,o=0;for(;;){for(i=Math.min(t.length-o,64-s);i--;)n[s++]=t.charCodeAt(o++);if(s<64)break;this._dataLength+=64,ee._md5cycle(this._state,r),s=0}return this._bufferLength=s,this}appendByteArray(t){const n=this._buffer8,r=this._buffer32;let s=this._bufferLength,i,o=0;for(;;){for(i=Math.min(t.length-o,64-s);i--;)n[s++]=t[o++];if(s<64)break;this._dataLength+=64,ee._md5cycle(this._state,r),s=0}return this._bufferLength=s,this}getState(){const t=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[t[0],t[1],t[2],t[3]]}}setState(t){const n=t.buffer,r=t.state,s=this._state;let i;for(this._dataLength=t.length,this._bufferLength=t.buflen,s[0]=r[0],s[1]=r[1],s[2]=r[2],s[3]=r[3],i=0;i<n.length;i+=1)this._buffer8[i]=n.charCodeAt(i)}end(t=!1){const n=this._bufferLength,r=this._buffer8,s=this._buffer32,i=(n>>2)+1;this._dataLength+=n;const o=this._dataLength*8;if(r[n]=128,r[n+1]=r[n+2]=r[n+3]=0,s.set(ee.buffer32Identity.subarray(i),i),n>55&&(ee._md5cycle(this._state,s),s.set(ee.buffer32Identity)),o<=4294967295)s[14]=o;else{const a=o.toString(16).match(/(.*?)(.{0,8})$/);if(a===null)return;const l=parseInt(a[2],16),c=parseInt(a[1],16)||0;s[14]=l,s[15]=c}return ee._md5cycle(this._state,s),t?this._state:ee._hex(this._state)}}ee.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]);ee.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);ee.hexChars="0123456789abcdef";ee.hexOut=[];ee.onePassHasher=new ee;if(ee.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");const Ob=()=>({page:void 0,site_level2:void 0,page_premium:void 0,page_type:void 0,page_chapter1:void 0,page_chapter2:void 0,page_chapter3:void 0,page_authors:void 0,nombre_caracteres:void 0,error:void 0,error_line:void 0,scroll_depth:void 0,user_id:void 0,user_category:void 0,user_logged:void 0,click:void 0,click_chapter1:void 0,click_chapter2:void 0,click_chapter3:void 0,goal_type:void 0,onsitead_type:void 0,onsitead_advertiser:void 0,onsitead_campaign:void 0,onsitead_campaign_id:void 0,onsitead_category:void 0,onsitead_creation:void 0,onsitead_detailed_placement:void 0,onsitead_format:void 0,onsitead_general_placement:void 0,onsitead_url:void 0,onsitead_variant:void 0,ise_keyword:void 0,ise_page:void 0,ise_click_rank:void 0,goal_type_auth:void 0,news_name:void 0,news_category:void 0,paywall_name:void 0,paywall_type:void 0,offre_freemium:void 0,id_article:void 0,fournisseur_contenu:void 0,type_contenu:void 0,nom_auteur:void 0,date_publication:void 0,date_modification:void 0,tags:void 0,article_debloque:void 0}),Ib=H(()=>{const e=yt(),{user:t}=$t(),n=x(()=>{const i=!t.value?.isAdsExempt,o=t.value?.isPremium?"premium":"freemium";return{user_id:t.value?.id,...t.value?.email&&{user_email:ee.hashStr(t.value?.email)},user_category:t.value?o:void 0,user_ads:t.value?i:!0,user_logged:!!t.value,...t.value?.firstName&&{user_firstname:t.value?.firstName},...t.value?.lastName&&{user_lastname:t.value?.lastName}}}),{proxy:r}=Vi();return{provide:{pianoAnalytics:{sendEvent:(i,o)=>
23{if(e.public.pianoAnalyticsEnabled){let a={...Ob(),...o};["page.display","account.sign_in","account.sign_up","account.activation"].includes(i)&&(a={...a,...n.value}),["paywall.display","poool-paywall-seen","page.scroll","read.finished","batch.toggleThematic","batch.toggleNotifications","batch.setup"].includes(i)&&(a={...o}),r.dataLayer.push({event:i,...a})}}}}}}),Cb=H(()=>{const e=yt(),{user:t}=$t(),{proxy:n}=Vi();Fe().afterEach((o,a)=>{a.name&&a.fullPath!==o.fullPath&&(window.prismaInitial=!1)});const s={sendPrisma:o=>{n.dataLayer.push({event:"prisma.display",advertisement:{page:{...o}}}),window.prismaInitial==!1&&window?.coreAds?.queue?.push?.(()=>{window.coreAds.reset()})},initPrisma:()=>{window.prismaInitial=!0,window.coreAds=window.coreAds||{},window.coreAds.queue=window.coreAds.queue||[],n.dataLayer.push({advertisement:{env:e.public.prisma.env,brand:{name:"Challenges",abbr:"moch",domain:"challenges.fr",subDomain:"www",isPrisma:!1}}})}},i=x(()=>!!t.value?.isAdsExempt);return window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(o=>{o.getObservableOnUserConsentStatusForVendor("google").subscribe(a=>{a===void 0||a===!1||i.value===!0?console.log("Wait for CMP / No consent / Ads Exempted"):Hl({src:e.public.prisma.url,async:!0,defer:!0})})}),{provide:{prismaMedia:s}}}),ye=globalThis,Nn="10.70.0";function zt(){return Jn(ye),ye}function Jn(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||Nn,t[Nn]=t[Nn]||{}}function eo(e,t,n=ye){const r=n.__SENTRY__=n.__SENTRY__||{},s=r[Nn]=r[Nn]||{};return s[e]||(s[e]=t())}const Kx=["debug","info","warn","error","log","assert","trace"],Va={};function to(e){if(!("console"in ye))return e();const t=ye.console,n={},r=Object.keys(Va);r.forEach(s=>{const i=Va[s];n[s]=t[s],t[s]=i});try{return e()}finally{r.forEach(s=>{t[s]=n[s]})}}function $b(){ro().enabled=!0}function Ab(){ro().enabled=!1}function Nb(){return ro().enabled}function Rb(...e){no("log",...e)}function Db(...e){no("warn",...e)}function Lb(...e){no("error",...e)}function no(e,...t){}function ro(){return{enabled:!1}}const Xx={enable:$b,disable:Ab,isEnabled:Nb,log:Rb,warn:Db,error:Lb},ef=50,Mb="?",ja=/\(error: (.*)\)/,Ua=/captureMessage|captureException/;function Pb(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const i=[],o=n.split(`
24`);for(let a=r;a<o.length;a++){let l=o[a];l.length>1024&&(l=l.slice(0,1024));const c=ja.test(l)?l.replace(ja,"$1"):l;if(!c.includes("Error: ")){for(const u of t){const d=u(c);if(d){i.push(d);break}}if(i.length>=ef+s)break}}return Fb(i.slice(s))}}function Qx(e){return Array.isArray(e)?Pb(...e):e}function Fb(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(lr(t).function||"")&&t.pop(),t.reverse(),Ua.test(lr(t).function||"")&&(t.pop(),Ua.test(lr(t).function||"")&&t.pop()),t.slice(0,ef).map(n=>({...n,filename:n.filename||lr(t).filename,function:n.function||Mb}))}function lr(e){return e[e.length-1]||{}}const Os="<anonymous>";function zb(e){try{return!e||typeof e!="function"?Os:e.name||Os}catch{return Os}}function eE(e){const t=e.exception;if(t){const n=[];try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const tf=Object.prototype.toString;function Vb(e){switch(tf.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return so(e,Error)}}function mn(e,t){return tf.call(e)===`[object ${t}]`}function tE(e){return mn(e,"ErrorEvent")}function nE(e){return mn(e,"DOMError")}function rE(e){return mn(e,"DOMException")}function ui(e){return mn(e,"String")}function jb(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Ub(e){return e===null||jb(e)||typeof e!="object"&&typeof e!="function"}function Wb(e){return mn(e,"Object")}function qb(e){return typeof e=="object"&&e!==null}function Hb(e){return typeof Event<"u"&&so(e,Event)}function Bb(e){return mn(e,"RegExp")}function Yr(e){return!!(e?.then&&typeof e.then=="function")}function so(e,t){try{return e instanceof t}catch{return!1}}function sE(e){return typeof Request<"u"&&so(e,Request)}function iE(e,t,n){if(!(t in e))return;const r=e[t];if(typeof r!="function")return;const s=n(r);typeof s=="function"&&Gb(s,r);try{e[t]=s}catch{}}function He(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{}}function Gb(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,He(e,"__sentry_original__",t)}catch{}}function oE(e){return e.__sentry_original__}function nf(e){if(Vb(e))return{message:e.message,name:e.name,stack:e.stack,...Wa(e)};
24if(Hb(e)){const{type:t,target:n,currentTarget:r,detail:s}=e;return{type:t,target:n,currentTarget:r,...s?{detail:s}:{},...Wa(e)}}return e}function Wa(e){return qb(e)?Object.fromEntries(Object.entries(e)):{}}function aE(e){const t=Object.keys(nf(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}let Ht;function Jr(e){if(Ht!==void 0)return Ht?Ht(e):e();const t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=ye;return t in n&&typeof n[t]=="function"?(Ht=n[t],Ht(e)):(Ht=null,e())}function di(){return Jr(()=>Math.random())}function Kr(){return Jr(()=>Date.now())}const Zb=Symbol.for("sentry.skipNormalization"),Yb=Symbol.for("sentry.overrideNormalizationDepth");function Jb(e){return!!e[Zb]}function Kb(e){const t=e[Yb];return typeof t=="number"?t:void 0}let fi;function lE(e){fi=e}function Qe(e,t=100,n=1/0){try{return pi("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function Xb(e,t=3,n=100*1024){const r=Qe(e,t);return tw(r)>n?Xb(e,t-1,n):r}function pi(e,t,n=1/0,r=1/0,s=nw()){const[i,o]=s;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const a=rf(e,t);if(!a.startsWith("[object "))return a;if(Jb(t))return t;const l=Kb(t),c=l!==void 0?l:n;if(c===0)return a.replace("object ","");if(i(t))return"[Circular ~]";const u=t;if(u&&typeof u.toJSON=="function")try{const m=u.toJSON();return pi("",m,c-1,r,s)}catch{}const d=Array.isArray(t)?[]:{};let p=0;const f=nf(t);for(const m in f){if(!Object.prototype.hasOwnProperty.call(f,m))continue;if(p>=r){d[m]="[MaxProperties ~]";break}const h=f[m];d[m]=pi(m,h,c-1,r,s),p++}return o(t),d}function rf(e,t){try{if(fi){const r=fi(t);if(r)return r}return typeof global<"u"&&t===global?"[Global]":typeof t=="number"&&!Number.isFinite(t)?`[${t}]`:typeof t=="function"?`[Function: ${zb(t)}]`:typeof t=="symbol"?`[${String(t)}]`:typeof t=="bigint"?`[BigInt: ${String(t)}]`:`[object ${Qb(t)}]`}catch(n){return`**non-serializable** (${n})`}}function Qb(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}function ew(e){return~-encodeURI(e).split(/%..|./).length}function tw(e){return ew(JSON.stringify(e))}function nw(){const e=new WeakSet;function t(r){return e.has(r)?!0:(e.add(r),!1)}function n(r){e.delete(r)}return[t,n]}function mi(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function cE(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const s=e[r];Ub(s)?n.push(String(s)):s instanceof Error?n.push(s.message?`${s.name}: ${s.message}`:s.name):n.push(rf(void 0,s))}return n.join(t)}function Rn(e,t,n=!1){return ui(e)?Bb(t)?t.test(e):ui(t)?n?e===t:e.includes(t):typeof t=="function"?t(e):!1:!1}function uE(e,t=[],n=!1){for(const r of t)if(Rn(e,r,n))return!0;return!1}function rw(){const e=ye;return e.crypto||e.msCrypto}let Is;function sw(){return di()*16}function mt(e=rw()){try{if(e?.randomUUID)return Jr(()=>e.randomUUID()).replace(/-/g,"")}catch{}return Is||(Is="10000000100040008000"+1e11),Is.replace(/[018]/g,t=>(t^(sw()&15)>>t/4).toString(16))}function sf(e){return e.exception?.values?.[0]}function dE(e){const{message:t,event_id:n}=e;if(t)return t;const r=sf(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function fE(e,t,n){const r=e.exception=e.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{};i.value||(i.value=t||""),i.type||(i.type="Error")}function iw(e,t){const n=sf(e);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...t},t&&"data"in t){const i={...s?.data,...t.data};n.mechanism.data=i}}function pE(e){if(ow(e))return!0;try{He(e,"__sentry_captured__",!0)}catch{}return!1}function ow(e){try{return e.__sentry_captured__}catch{}}const of=1e3;function io(){return Kr()/of}function aw(){const{performance:e}=ye;if(!e?.now||!e.timeOrigin)return io;const t=e.timeOrigin;return()=>(t+Jr(()=>e.now()))/of}let qa;function ht(){return(qa??(qa=aw()))()}function lw(e){const t=ht(),n={sid:mt(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>uw(n)};return e&&Xr(n,e),n}function Xr(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||ht(
24),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:mt()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function cw(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),Xr(e,n)}function uw(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function Qr(e,t,n=2){if(!t||typeof t!="object"||n<=0)return t;if(e&&Object.keys(t).length===0)return e;const r={...e};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=Qr(r[s],t[s],n-1));return r}function Or(){return mt()}function es(){return mt().substring(16)}function af(e){try{const t=ye.WeakRef;if(typeof t=="function")return new t(e)}catch{}return e}function lf(e){if(e){if(typeof e=="object"&&"deref"in e&&typeof e.deref=="function")try{return e.deref()}catch{return}return e}}const hi="_sentrySpan";function gi(e,t){t?He(e,hi,af(t)):delete e[hi]}function Ir(e){return lf(e[hi])}const dw=100;class Be{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Or(),sampleRand:di()}}clone(){const t=new Be;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,gi(t,Ir(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Xr(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(t){return this._conversationId=t||void 0,this._notifyScopeListeners(),this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this.setTags({[t]:n})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,n){return this.setAttributes({[t]:n})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t,r=n instanceof Be?n.getScopeData():Wb(n)?t:void 0,{tags:s,attributes:i,extra:o,user:a,contexts:l,level:c,fingerprint:u=[],propagationContext:d,conversationId:p}=r||{};return this._tags={...this._tags,...s},this._attributes={...this._attributes,...i},this._extra={...this._extra,...o},this._contexts={...this._contexts,...l},a&&Object.keys(a).length&&(this._user=a),c&&(this._level=c),u.length&&(this._fingerprint=u),d&&(this._propagationContext=d),p&&(this._conversationId=p),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,gi(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Or(),sampleRand:di()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:dw;if(r<=0)return this;const s={timestamp:io(),...t,message:t.message?mi(t.message,2048):t.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Ir(this),conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=Qr(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n?.event_id||mt();if(!this._client)return r;const s=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...n,event_id:r},this),r}captureMessage(t,n,r){const s=r?.event_id||mt();if(!this._client)return s;const i=r?.syntheticException??new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:s},this),s}captureEvent(t,n){const r=t.event_id||n?.event_id||mt();return this._client&&this._client.captureEvent(t,{...n,event_id:r},this),r}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
24h(t=>{t(this)}),this._notifyingListeners=!1)}}function fw(){return eo("defaultCurrentScope",()=>new Be)}function pw(){return eo("defaultIsolationScope",()=>new Be)}const Ha=e=>e instanceof Promise&&!e[cf],cf=Symbol("chained PromiseLike"),mw=(e,t,n)=>{const r=e.then(s=>(t(s),s),s=>{throw n(s),s});return Ha(r)&&Ha(e)?r:hw(e,r)},hw=(e,t)=>{if(!t)return e;let n=!1;for(const r in e){if(r in t)continue;n=!0;const s=e[r];typeof s=="function"?Object.defineProperty(t,r,{value:(...i)=>s.apply(e,i),enumerable:!0,configurable:!0,writable:!0}):t[r]=s}return n&&Object.assign(t,{[cf]:!0}),t};class gw{constructor(t,n){let r;t?r=t:r=new Be;let s;n?s=n:s=new Be,this._stack=[{scope:r}],this._isolationScope=s}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(s){throw this._popScope(),s}return Yr(r)?mw(r,()=>this._popScope(),()=>this._popScope()):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function rn(){const e=zt(),t=Jn(e);return t.stack=t.stack||new gw(fw(),pw())}function yw(e){return rn().withScope(e)}function vw(e,t){const n=rn();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Ba(e){return rn().withScope(()=>e(rn().getIsolationScope()))}function _w(){return{withIsolationScope:Ba,withScope:yw,withSetScope:vw,withSetIsolationScope:(e,t)=>Ba(t),getCurrentScope:()=>rn().getScope(),getIsolationScope:()=>rn().getIsolationScope()}}function Kn(e){const t=Jn(e);return t.acs?t.acs:_w()}function bw(e){return typeof e=="object"&&e!=null&&!Array.isArray(e)&&Object.keys(e).includes("value")}function ww(e,t){const{value:n,unit:r}=bw(e)?e:{value:e,unit:void 0},s=Sw(n),i=r&&typeof r=="string"?{unit:r}:{};if(s)return{...s,...i};if(!t||t==="skip-undefined"&&n===void 0)return;let o="";try{o=JSON.stringify(n)??""}catch{}return{value:o,type:"string",...i}}function Ga(e,t=!1){const n={};for(const[r,s]of Object.entries(e??{})){const i=ww(s,t);i&&(n[r]=i)}return n}function Sw(e){if(Array.isArray(e))return{value:e,type:"array"};const t=typeof e=="string"?"string":typeof e=="boolean"?"boolean":typeof e=="number"&&!Number.isNaN(e)?Number.isInteger(e)?"integer":"double":null;if(t)return{value:e,type:t}}function Ge(){const e=zt();return Kn(e).getCurrentScope()}function Xn(){const e=zt();return Kn(e).getIsolationScope()}function kw(){return eo("globalScope",()=>new Be)}function uf(...e){const t=zt(),n=Kn(t);if(e.length===2){const[r,s]=e;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(e[0])}function je(){return Ge().getClient()}function mE(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:s}=t,i={trace_id:n,span_id:s||es()};return r&&(i.parent_span_id=r),i}const Dn="sentry.source",df="sentry.sample_rate",xw="sentry.previous_trace_sample_rate",Cr="sentry.op",jn="sentry.origin",Ew="sentry.status.message",Tw="sentry.measurement_unit",Ow="sentry.measurement_value",Za="sentry.custom_span_name",Iw="sentry.profile_id",Cw="sentry.exclusive_time",hE="gen_ai.conversation.id",ff=0,pf=1,mf="_sentryScope",hf="_sentryIsolationScope",$w=Symbol.for("sentry.otelSourceInference"),Aw=Symbol.for("sentry.otelSourceExplicitlySet"),Nw=Symbol.for("sentry.tracerProviderSpan");function Un(e,t,n){e&&(He(e,hf,af(n)),He(e,mf,t))}function Qt(e){const t=e;return{scope:t[mf],isolationScope:lf(t[hf])}}function Ya(e){return e[$w]===!0}function Rw(e){He(e,Aw,!0)}function Ja(e){return e[Nw]===!0}const Ka="sentry-";function Dw(e){const t=Lw(e);if(!t)return;const n=Object.entries(t).reduce((r,[s,i])=>{if(s.startsWith(Ka)){const o=s.slice(Ka.length);r[o]=i}return r},{});if(Object.keys(n).length>0)return n}function Lw(e){if(!(!e||!ui(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=Xa(n);return Object.entries(r).forEach(([s,i])=>{t[s]=i}),t},{}):Xa(e)}function Xa(e){return e.split(",").map(t=>{const n=t.indexOf("=");if(n===-1)return[];const r=t.slice(0,n),s=t.slice(n+1);return[r,s].map(i=>{try{return decodeURIComponent(i.trim())}catch{return}})}).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}const Mw=/^o(\d+)\./,Pw=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function oo(e,t=!1){const{host:n,path:r,pass:s,port:i,projectId:o,protocol:a,publicKey:l}=e;return`${a}://${l}${t&&s?`:${s}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${o}`}function Fw(e){const t=Pw.exec(e);if(!t){to(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,s="",i="",o="",a=""]=t.slice(1);let l="",c=a;const u=c.split("/");if(u.length>1&&(l=u.slice(0,-1).join("/"),c=u.pop()),c){const d=c.match(/^\d+/);d&&(c=d[0])}return gf({host:i,pass:s,path:l,projectId:c,port:o,protocol:n,publicKey:r})}function gf(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function zw(e){return!0}function Vw(e){return e.match(Mw)?.[1]}function jw(e){const t=e.getOptions(),{host:n}=e.getDsn()||{};let r;return t.orgId?r=String(t.orgId):n&&(r=Vw(n)),r}function gE(e){const t=typeof e=="string"?Fw(e):gf(e);if(!(!t||!zw()))return t}function yf(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(!(typeof t!="number"||isNaN(t)||t<0||t>1))return t}const vf=0,ts=1;let Qa=!1;function Uw(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:s,parent_span_id:i,status:o,origin:a,links:l}=nt(e);return{parent_span_id:i,span_id:t,trace_id:n,data:r,op:s,status:o,origin:a,links:l}}function Ww(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),s=r?t:nt(e).parent_span_id,i=Qt(e).scope,o=r?i?.getPropagationContext().propagationSpanId||es():t;return{parent_span_id:s,span_id:o,trace_id:n}}function _f(e){if(e&&e.length>0)return e.map(({context:{spanId:t,traceId:n,traceFlags:r,...s},attributes:i})=>({span_id:t,trace_id:n,sampled:r===ts,attributes:i,...s}))}function qw(e){if(e?.length)return e.map(({context:{spanId:t,traceId:n,traceFlags:r},attributes:s})=>({span_id:t,trace_id:n,sampled:r===ts,attributes:s}))}function en(e){return typeof e=="number"?el(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?el(e.getTime()):ht()}function el(e){return e>9999999999?e/1e3:e}function nt(e){if(Gw(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(Bw(e)){const{attributes:r,startTime:s,name:i,endTime:o,status:a,links:l}=e;return{span_id:t,trace_id:n,data:r,description:i,parent_span_id:Hw(e),start_timestamp:en(s),timestamp:en(o)||void 0,status:bf(a),op:r[Cr],origin:r[jn],links:_f(l)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function Hw(e){return"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0}function yE(e){return{...e,attributes:Ga(e.attributes),links:e.links?.map(t=>({...t,attributes:Ga(t.attributes)}))}}function Bw(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function Gw(e){return typeof e.getSpanJSON=="function"}function ns(e){const{traceFlags:t}=e.spanContext();return t===ts}function bf(e){if(!(!e||e.code===ff))return e.code===pf?"ok":e.message||"internal_error"}function wf(e){return!e||e.code===pf||e.code===ff||e.message==="cancelled"?"ok":"error"}function Zw(e,t){const n=wf(t)==="error"?t?.message:void 0;return{...n&&{[Ew]:n},...e}}const Ln="_sentryChildSpans",yi="_sentryRootSpan";function vr(e,t){const n=e[yi]||e;He(t,yi,n),e[Ln]?e[Ln].add(t):He(e,Ln,new Set([t]))}function Yw(e){const t=new Set;function n(r){if(!t.has(r)&&ns(r)){t.add(r);const s=r[Ln]?Array.from(r[Ln]):[];for(const i of s)n(i)}}return n(e),Array.from(t)}const Ot=Jw;function Jw(e){return e[yi]||e}function Kw(){const e=zt(),t=Kn(e);return t.getActiveSpan?t.getActiveSpan():Ir(Ge())}function Xw(){Qa||(to(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),Qa=!0)}function Wn(e){return!1}function Sf(e,t){if(!t?.length)return!1;for(const n of t){if(eS(n)){if(e.description&&Rn(e.description,n))return!0;continue}const r=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!r)continue;const s=n.name?e.description&&Rn(e.description,n.name):!0,i=n.op?e.op&&Rn(e.op,n.op):!0,o=n.attributes?Object.entries(n.attributes).every(([a,l])=>Qw(e.attributes?.[a],l)):!0;if(s&&i&&o)return!0}return!1}function Qw(e,t){return typeof e=="string"&&(typeof t=="string"||t instanceof RegExp)?Rn(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e===t}function vE(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const s of e)s.parent_span_id===r&&(s.parent_span_id=n)}function eS(e){return typeof e=="string"||e instanceof RegExp}const kf=Symbol.for("sentry.nonRecordingSpan");class $r{constructor(t={}){this._traceId=t.traceId||Or(),this._spanId=t.spanId||es(),this.dropReason=t.dropReason,He(this,kf,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:vf}}end(t){}setAttribute(t,n){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}
24addEvent(t,n,r){return this}addLink(t){return this}addLinks(t){return this}recordException(t,n){}}function vi(e){return!!e&&e[kf]===!0}const xf="production",Ef="_frozenDsc";function tl(e,t){He(e,Ef,t)}function Tf(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},s={environment:n.environment||xf,release:n.release,public_key:r,trace_id:e,org_id:jw(t)};return t.emit("createDsc",s),s}function tS(e,t){const n=t.getPropagationContext();return n.dsc||Tf(n.traceId,e)}function rs(e){const t=je();if(!t)return{};const n=Ot(e),r=nt(n),s=r.data,i=n.spanContext().traceState,o=i?.get("sentry.sample_rate")??s[df]??s[xw];function a(g){return(typeof o=="number"||typeof o=="string")&&(g.sample_rate=`${o}`),g}const l=n[Ef];if(l)return a(l);const c=vi(n),u=c&&n.dropReason==="ignored";if(c&&(!Wn(t.getOptions())||u)){const g=Qt(n).scope;if(g){const y={...tS(t,g)};return u&&(y.sampled="false"),a(y)}}const d=i?.get("sentry.dsc"),p=d&&Dw(d);if(p)return a(p);const f=Tf(e.spanContext().traceId,t),m=s[Dn]??s["sentry.segment.name.source"],h=r.description;return m!=="url"&&h&&(f.transaction=h),Wn()&&(f.sampled=String(ns(n)),f.sample_rand=i?.get("sentry.sample_rand")??Qt(n).scope?.getPropagationContext().sampleRand.toString()),a(f),t.emit("createDsc",f,n),f}function nS(e){return!!e&&typeof e=="function"&&"_streamed"in e&&!!e._streamed}function ao(e,t=[]){return[e,t]}function _E(e,t){const[n,r]=e;return[n,[...r,t]]}function rS(e,t){const n=e[1];for(const r of n){const s=r[0].type;if(t(r,s))return!0}return!1}function bE(e,t){return rS(e,(n,r)=>t.includes(r))}function _i(e){const t=Jn(ye);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function wE(e){const[t,n]=e;let r=JSON.stringify(t);function s(i){typeof r=="string"?r=typeof i=="string"?r+i:[_i(r),i]:r.push(typeof i=="string"?_i(i):i)}for(const i of n){const[o,a]=i;if(s(`
25${JSON.stringify(o)}
26`),typeof a=="string"||a instanceof Uint8Array)s(a);else{let l;try{l=JSON.stringify(a)}catch{l=JSON.stringify(Qe(a))}s(l)}}return typeof r=="string"?r:sS(r)}function sS(e){const t=e.reduce((s,i)=>s+i.length,0),n=new Uint8Array(t);let r=0;for(const s of e)n.set(s,r),r+=s.length;return n}function iS(e){return[{type:"span"},e]}function SE(e){const t=typeof e.data=="string"?_i(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const Of={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function oS(e){return e in Of}function kE(e){return oS(e)?Of[e]:e}function If(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function aS(e,t,n,r){const s=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(Kr()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:oo(r)},...s&&{trace:s}}}function lS(e,t){if(!t)return e;const n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function xE(e,t,n,r){const s=If(n),i={sent_at:new Date(Kr()).toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:oo(t)}},o="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return ao(i,[o])}function EE(e,t,n,r){const s=If(n),i=e.type&&e.type!=="replay_event"?e.type:"event";lS(e,n?.sdk);const o=aS(e,s,r,t);return delete e.sdkProcessingMetadata,ao(o,[[{type:i},e]])}function cS(e,t){function n(f){return!!f.trace_id&&!!f.public_key}const r=rs(e[0]),s=t?.getDsn(),i=t?.getOptions().tunnel,o={sent_at:new Date(Kr()).toISOString(),...n(r)&&{trace:r},...!!i&&s&&{dsn:oo(s)}},{beforeSendSpan:a,ignoreSpans:l}=t?.getOptions()||{},c=l?.length?e.filter(f=>{const m=nt(f);return!Sf({description:m.description,op:m.op,attributes:m.data},l)}):e,u=e.length-c.length;u&&t?.recordDroppedEvent("before_send","span",u);const d=a?f=>{const m=nt(f),h=nS(a)?m:a(m);return h||(Xw(),m)}:nt,p=[];for(const f of c){const m=d(f);m&&p.push(iS(m))}return ao(o,p)}function nl(e){if(!e||e.length===0)return;const t={};return e.forEach(n=>{const r=n.attributes||{},s=r[Tw],i=r[Ow];typeof s=="string"&&typeof i=="number"&&(t[n.name]={value:i,unit:s})}),t}function rl(){return Jn(zt()).segmentSpanCaptureStrategy}function ss(e){return e.getOptions().traceLifecycle==="stream"}const sl=1e3;class lo{constructor(t={}){this._traceId=t.traceId||Or(),this._spanId=t.spanId||es(),this._startTime=t.startTimestamp||ht(
26),this._links=t.links,this._attributes={},this.setAttributes({[jn]:"manual",[Cr]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this._frozen?this:(this._links?this._links.push(t):this._links=[t],this)}addLinks(t){return this._frozen?this:(this._links?this._links.push(...t):this._links=t,this)}recordException(t,n){}spanContext(){const{_spanId:t,_traceId:n,_sampled:r}=this;return{spanId:t,traceId:n,traceFlags:r?ts:vf}}setAttribute(t,n){return this._frozen?this:(n===void 0?delete this._attributes[t]:this._attributes[t]=n,t===Dn&&n!==void 0&&Ya(this)&&Rw(this),this)}setAttributes(t){return Object.keys(t).forEach(n=>this.setAttribute(n,t[n])),this}updateStartTime(t){this._frozen||(this._startTime=en(t))}setStatus(t){return this._frozen?this:(this._status=t,this)}updateName(t){return this._frozen?this:(this._name=t,Ya(this)||this.setAttribute(Dn,"custom"),this)}end(t){if(this._endTime){this._frozen=Ja(this);return}this._endTime=en(t),this._onSpanEnded(),this._frozen=Ja(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[Cr],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:bf(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[jn],profile_id:this._attributes[Iw],exclusive_time:this._attributes[Cw],measurements:nl(this._events),is_segment:this._isStandaloneSpan&&Ot(this)===this||void 0,segment_id:this._isStandaloneSpan?Ot(this).spanContext().spanId:void 0,links:_f(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===Ot(this),status:wf(this._status),attributes:Zw(this._attributes,this._status),links:qw(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,n,r){if(this._frozen)return this;const s=il(n)?n:r||ht(),i=il(n)?{}:n||{},o={name:t,time:en(s),attributes:i};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=je();t&&(t.emit("spanEnd",this),this._isStandaloneSpan||t.emit("afterSpanEnd",this));const n=Ot(this),r=this._isStandaloneSpan||this===n;if(this._isStandaloneSpan){this._sampled?dS(cS([this],t)):t&&t.recordDroppedEvent("sample_rate","span");return}if(!r){const o=rl();if(o){const a=Qt(this).scope||Ge();o.onChildSpanEnded(this,n,l=>this._convertSpanToTransaction(l),a)}return}if(t&&ss(t)){t.emit("afterSegmentSpanEnd",this);return}const s=Qt(this).scope||Ge(),i=rl();if(i)i.onSegmentSpanEnded(o=>this._convertSpanToTransaction(o),s);else{const o=this._convertSpanToTransaction();o&&s.captureEvent(o)}}_convertSpanToTransaction(t={}){if(!ol(nt(this)))return;this._name||(this._name="<unlabeled transaction>");const{scope:n,isolationScope:r}=Qt(this),s=n?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return;t.onSpanCaptured?.(this);const i=[];for(const d of Yw(this)){if(d===this||uS(d)||t.isSpanAlreadyCaptured?.(d))continue;const p=nt(d);ol(p)&&(t.onSpanCaptured?.(d),i.push(p))}const o=this._attributes[Dn];delete this._attributes[Za];let a=!1;i.forEach(d=>{delete d.data[Za],d.op?.startsWith("gen_ai.")&&(a=!0)});const l={contexts:{trace:Uw(this)},spans:i.length>sl?i.sort((d,p)=>d.start_timestamp-p.start_timestamp).slice(0,sl):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:n,capturedSpanIsolationScope:r,dynamicSamplingContext:rs(this),hasGenAiSpans:a},request:s,...o&&{transaction_info:{source:o}}},c=nl(this._events);return c&&Object.keys(c).length&&(l.measurements=c),l}}function il(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function ol(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function uS(e){return e instanceof lo&&e.isStandaloneSpan()}function dS(e){const t=je();if(!t)return;const n=e[1];if(!n||n.length===0){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}function fS(e,t,n){if(!Wn())return[!1];let r,s;typeof e.tracesSampler=="function"?(s=e.tracesSampler({...t,inheritOrSampleWith:a=>typeof t.parentSampleRate=="number"?t.parentSampleRate:typeof t.parentSampled=="boolean"?Number(t.parentSampled):a}),r=!0):t.parentSampled!==void 0?s=t.parentSampled:typeof e.tracesSampleRate<"u"&&(s=e.tracesSampleRate,r=!0);const i=yf(s);return i===void 0?[!1]:i?[n<i,i,r]:[!1,i,r]}const pS="__SENTRY_SUPPRESS_TRACING__";function al(e){const t=uo();return t.startInactiveSpan?t.startInactiveSpan(e):mS(e)}function mS(e){const t=vS(e),{forceTransaction:n,parentSpan:r}=e;return(e.scope?i=>uf(e.scope,i):r!==void 0?i=>hS(r,i):i=>i())(()=>{const i=Ge(),o=bS(i,r),a=je();return e.onlyIfParent&&!o?gS(i,a):yS({parentSpan:o,spanArguments:t,forceTransaction:n,scope:i})})}function hS(e,t){const n=uo();return n.withActiveSpan?n.withActiveSpan(e,t):uf(r=>(gi(r,e||void 0),t(r)))}function co(e=Ge()){const t=uo();return t.isTracingSuppressed?t.isTracingSuppressed(e):e.getScopeData().sdkProcessingMetadata[pS]===!0}function gS(e,t){t?.recordDroppedEvent("no_parent_span","span");const n=new $r({traceId:e.getPropagationContext().traceId});return Un(n,e,Xn()),n}function yS({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){const s=Xn();if(!Wn()){const a={...s.getPropagationContext(),...r.getPropagationContext()},l=e?e.spanContext().traceId:a.traceId,c=new $r({traceId:l});return e&&!n&&vr(e,c),Un(c,r,s),c}const i=je();if(wS(i,t)){co(r)||i?.recordDroppedEvent("ignored","span");
26const a=new $r({dropReason:"ignored",traceId:e?.spanContext().traceId??r.getPropagationContext().traceId});return e&&!n&&vr(e,a),Un(a,r,s),a}let o;if(e&&!n)o=_S(e,r,t,s),vr(e,o);else if(e){const a=rs(e),{traceId:l,spanId:c}=e.spanContext(),u=ns(e);o=ll({traceId:l,parentSpanId:c,...t},r,s,u),tl(o,a)}else{const{traceId:a,dsc:l,parentSpanId:c,sampled:u}={...s.getPropagationContext(),...r.getPropagationContext()};o=ll({traceId:a,parentSpanId:c,...t},r,s,u),l&&tl(o,l)}return o}function vS(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const r={...n};return r.startTimestamp=en(e.startTime),delete r.startTime,r}return n}function uo(){const e=zt();return Kn(e)}function ll(e,t,n,r){const s=je(),i=s?.getOptions()||{},{name:o=""}=e,a={spanAttributes:{...e.attributes},spanName:o,parentSampled:r};s?.emit("beforeSampling",a,{decision:!1});const l=a.parentSampled??r,c=a.spanAttributes,u=t.getPropagationContext(),d=co(t),[p,f,m]=d?[!1]:fS(i,{name:o,parentSampled:l,attributes:c,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:yf(u.dsc?.sample_rate)},u.sampleRand),h=new lo({...e,attributes:{[Dn]:"custom",[df]:f!==void 0&&m?f:void 0,...c},sampled:p});return!p&&s&&!d&&s.recordDroppedEvent("sample_rate",ss(s)?"span":"transaction"),Un(h,t,n),s&&s.emit("spanStart",h),h}function _S(e,t,n,r){const{spanId:s,traceId:i}=e.spanContext(),o=co(t),a=o?!1:ns(e),l=a?new lo({...n,parentSpanId:s,traceId:i,sampled:a}):new $r({traceId:i});vr(e,l),Un(l,t,r);const c=je();return c&&(ss(c)&&vi(l)&&(vi(e)&&e.dropReason?(l.dropReason=e.dropReason,c.recordDroppedEvent(e.dropReason,"span")):o||(l.dropReason="sample_rate",c.recordDroppedEvent("sample_rate","span"))),c.emit("spanStart",l),n.endTimestamp&&(c.emit("spanEnd",l),c.emit("afterSpanEnd",l))),l}function bS(e,t){if(t)return t;if(t===null)return;const n=Ir(e);if(!n)return;const r=je();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?Ot(n):n}function wS(e,t){const n=e?.getOptions().ignoreSpans;return!e||!ss(e)||!n?.length?!1:Sf({description:t.name||"",op:t.attributes?.[Cr]||t.op,attributes:t.attributes},n)}function SS(e,t){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=t;kS(e,t),r&&TS(e,r),OS(e,n),xS(e,s),ES(e,i)}function cl(e,t){const{extra:n,tags:r,attributes:s,user:i,contexts:o,level:a,sdkProcessingMetadata:l,breadcrumbs:c,fingerprint:u,eventProcessors:d,attachments:p,propagationContext:f,transactionName:m,span:h}=t;kn(e,"extra",n),kn(e,"tags",r),kn(e,"attributes",s),kn(e,"user",i),kn(e,"contexts",o),e.sdkProcessingMetadata=Qr(e.sdkProcessingMetadata,l,2),a&&(e.level=a),m&&(e.transactionName=m),h&&(e.span=h),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...f}}function kn(e,t,n){e[t]=Qr(e[t],n,1)}function Cf(e,t){const n=kw().getScopeData();return e&&cl(n,e.getScopeData()),t&&cl(n,t.getScopeData()),n}function kS(e,t){const{extra:n,tags:r,user:s,contexts:i,level:o,transactionName:a}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(s).length&&(e.user={...s,...e.user}),Object.keys(i).length&&(e.contexts={...i,...e.contexts}),o&&(e.level=o),a&&e.type!=="transaction"&&(e.transaction=a)}function xS(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function ES(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function TS(e,t){e.contexts={trace:Ww(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:rs(t),...e.sdkProcessingMetadata};const n=Ot(t),r=nt(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function OS(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}const Cs=0,ul=1,dl=2;function $f(e){return new qn(t=>{t(e)})}function IS(e){return new qn((t,n)=>{n(e)})}class qn{constructor(t){this._state=Cs,this._handlers=[],this._runExecutor(t)}then(t,n){return new qn((r,s)=>{this._handlers.push([!1,i=>
26{if(!t)r(i);else try{r(t(i))}catch(o){s(o)}},i=>{if(!n)s(i);else try{r(n(i))}catch(o){s(o)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new qn((n,r)=>{let s,i;return this.then(o=>{i=!1,s=o,t&&t()},o=>{i=!0,s=o,t&&t()}).then(()=>{if(i){r(s);return}n(s)})})}_executeHandlers(){if(this._state===Cs)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===ul&&n[1](this._value),this._state===dl&&n[2](this._value),n[0]=!0)})}_runExecutor(t){const n=(i,o)=>{if(this._state===Cs){if(Yr(o)){o.then(r,s);return}this._state=i,this._value=o,this._executeHandlers()}},r=i=>{n(ul,i)},s=i=>{n(dl,i)};try{t(r,s)}catch(i){s(i)}}}function CS(e,t,n,r=0){try{const s=bi(t,n,e,r);return Yr(s)?s:$f(s)}catch(s){return IS(s)}}function bi(e,t,n,r){const s=n[r];if(!e||!s)return e;const i=s({...e},t);return Yr(i)?i.then(o=>bi(o,t,n,r+1)):bi(i,t,n,r+1)}let St,fl,pl,ct;function $S(e){const t=ye._sentryDebugIds,n=ye._debugIds;if(!t&&!n)return{};const r=t?Object.keys(t):[],s=n?Object.keys(n):[];if(ct&&r.length===fl&&s.length===pl)return ct;fl=r.length,pl=s.length,ct={},St||(St={});const i=(o,a)=>{for(const l of o){const c=a[l],u=St?.[l];if(u&&ct&&c)ct[u[0]]=c,St&&(St[l]=[u[0],c]);else if(c){const d=e(l);for(let p=d.length-1;p>=0;p--){const m=d[p]?.filename;if(m&&ct&&St){ct[m]=c,St[l]=[m,c];break}}}}};return t&&i(r,t),n&&i(s,n),ct}function TE(e,t,n,r,s,i){const{normalizeDepth:o=3,normalizeMaxBreadth:a=1e3}=e,l={...t,event_id:t.event_id||n.event_id||mt(),timestamp:t.timestamp||io()},c=n.integrations||e.integrations.map(y=>y.name);AS(l,e),DS(l,c),s&&s.emit("applyFrameMetadata",t),t.type===void 0&&NS(l,e.stackParser);const u=MS(r,n.captureContext);n.mechanism&&iw(l,n.mechanism);const d=s?s.getEventProcessors():[],p=Cf(i,u),f=[...n.attachments||[],...p.attachments];f.length&&(n.attachments=f),SS(l,p);const m=[...d,...p.eventProcessors];return(n.data&&n.data.__sentry__===!0?$f(l):CS(m,l,n)).then(y=>(y&&RS(y),typeof o=="number"&&o>0?LS(y,o,a):y))}function AS(e,t){const{environment:n,release:r,dist:s,maxValueLength:i}=t;e.environment=e.environment||n||xf,!e.release&&r&&(e.release=r),!e.dist&&s&&(e.dist=s);const o=e.request;o?.url&&i&&(o.url=mi(o.url,i)),i&&e.exception?.values?.forEach(a=>{a.value&&(a.value=mi(a.value,i))})}function NS(e,t){const n=$S(t);e.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(s=>{s.filename&&(s.debug_id=n[s.filename])})})}function RS(e){const t={};if(e.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(s=>{s.debug_id&&(s.abs_path?t[s.abs_path]=s.debug_id:s.filename&&(t[s.filename]=s.debug_id),delete s.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([r,s])=>{n.push({type:"sourcemap",code_file:r,debug_id:s})})}function DS(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function LS(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(s=>({...s,...s.data&&{data:Qe(s.data,t,n)}}))},...e.user&&{user:Qe(e.user,t,n)},...e.contexts&&{contexts:Qe(e.contexts,t,n)},...e.extra&&{extra:Qe(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Qe(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(s=>({...s,...s.data&&{data:Qe(s.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=Qe(e.contexts.flags,3,n)),r}function MS(e,t){if(!t)return e;const n=e?e.clone():new Be;return n.update(t),n}function PS(e){if(e)return FS(e)?{captureContext:e}:VS(e)?{captureContext:e}:e}function FS(e){return e instanceof Be||typeof e=="function"}const zS=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function VS(e){return Object.keys(e).some(t=>zS.includes(t))}function Af(e,t){return Ge().captureException(e,PS(t))}function OE(e,t){return Ge().captureEvent(e,t)}function IE(e){const t=Xn(),{user:n}=Cf(t,Ge()),{userAgent:r}=ye.navigator||{},s=lw({user:n,...r&&{userAgent:r},...e}),i=t.getSession();return i?.status==="ok"&&Xr(i,{status:"exited"}),Nf(),t.setSession(s),s}function Nf(){const e=Xn(),n=Ge().getSession()||e.getSession();n&&cw(n),Rf(),e.setSession()}function Rf(){const e=Xn(),t=je(),n=e.getSession();n&&t&&t.captureSession(n)}function CE(e=!1){if(e){Nf();return}Rf()}const ml=[];function jS(e){const t={};return e.forEach(n=>{const{name:r}=n,s=t[r];s&&!s.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.values(t)}function $E(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(s=>{s.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n=="function"){const s=n(t);r=Array.isArray(s)?s:[s]}else r=t;return jS(r)}function AE(e,t){const n={};return t.forEach(r=>{r?.beforeSetup&&r.beforeSetup(e)}),t.forEach(r=>{r&&US(e,r,n)}),n}function NE(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function US(e,t,n){if(!n[t.name]){if(n[t.name]=t,!ml.includes(t.name)&&typeof t.setupOnce=="function"&&(t.setupOnce(),ml.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(s,i)=>r(s,i,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),s=Object.assign((i,o)=>r(i,o,e),{id:t.name});e.addEventProcessor(s)}["processSpan","processSegmentSpan"].forEach(r=>{const s=t[r];typeof s=="function"&&e.on(r,i=>s.call(t,i,e))})}}function RE(e){return e}function WS(e){return Array.from(new Set(e))}const Df=["activate","mount"],qS=/(?:^|[-_])(\w)/g,HS=e=>e.replace(qS,t=>t.toUpperCase()).replace(/[-_]/g,""),BS="<Root>",$s="<Anonymous>",GS=(e,t)=>e.repeat(t),Mn=(e,t)=>{if(!e)return $s;if(e.$root===e)return BS;if(!e.$options)return $s;const n=e.$options;let r=n.name||n._componentTag||n.__name;const s=n.__file;if(!r&&s){const i=s.match(/([^/\\]+)\.vue$/);i&&(r=i[1])}return(r?`<${HS(r)}>`:$s)+(s&&t!==!1?` at ${s}`:"")},ZS=e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){const t=[];let n=0;for(;e;){if(t.length>0){const s=t[t.length-1];if(s.constructor===e.constructor){n++,e=e.$parent;continue}else n>0&&(t[t.length-1]=[s,n],n=0)}t.push(e),e=e.$parent}return`
27
28found in
29
30${t.map((s,i)=>`${(i===0?"---> ":GS(" ",5+i*2))+(Array.isArray(s)?`${Mn(s[0])}... (${s[1]} recursive calls)`:Mn(s))}`).join(`
31`)}`}return`
32
33(found in ${Mn(e)})`},YS=(e,t)=>{const{errorHandler:n}=e.config;e.config.errorHandler=(r,s,i)=>{const o=Mn(s,!1),a=s?ZS(s):"",l={componentName:o,lifecycleHook:i,trace:a};if(t?.attachProps!==!1&&s&&(s.$options?.propsData?l.propsData=s.$options.propsData:s.$props&&(l.propsData=s.$props)),setTimeout(()=>{Af(r,{captureContext:{contexts:{vue:l}},mechanism:{handled:!!n,type:"auto.function.vue.error_handler"}})}),typeof n=="function"&&e.config.errorHandler)n.call(e,r,s,i);else throw r}},hl="ui.vue",JS={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};
33function As(e,t,n){e.$_sentryRootComponentSpanTimer&&clearTimeout(e.$_sentryRootComponentSpanTimer),e.$_sentryRootComponentSpanTimer=setTimeout(()=>{e.$root?.$_sentryRootComponentSpan&&(e.$root.$_sentryRootComponentSpan.end(t),e.$root.$_sentryRootComponentSpan=void 0)},n)}function KS(e,t){function n(s){return s.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return e.some(s=>n(t)===n(s))}const XS=(e={})=>{const t=WS((e.hooks||[]).concat(Df)),n={},r=e.timeout||2e3;for(const s of t){const i=JS[s];if(i)for(const o of i)n[o]=function(){const a=this.$root===this;a&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||al({name:"Application Render",op:`${hl}.render`,attributes:{[jn]:"auto.ui.vue"},onlyIfParent:!0}),As(this,ht(),r));const l=Mn(this,!1);if(!(a||(Array.isArray(e.trackComponents)?KS(e.trackComponents,l):e.trackComponents))){As(this,ht(),r);return}this.$_sentryComponentSpans=this.$_sentryComponentSpans||{};const u=o===i[0],d=this.$root?.$_sentryRootComponentSpan||Kw();if(u){if(d){const p=this.$_sentryComponentSpans[s];p&&p.end(),this.$_sentryComponentSpans[s]=al({name:`Vue ${l}`,op:`${hl}.${s}`,attributes:{[jn]:"auto.ui.vue"},onlyIfParent:!0})}}else{const p=this.$_sentryComponentSpans[s];if(!p)return;p.end(),As(this,ht(),r)}}}return n},QS=ye,e1={Vue:QS.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:Df,timeout:2e3,trackComponents:!1}},t1="Vue",n1=(e={})=>({name:t1,setup(t){const n={...e1,...t.getOptions(),...e};if(!n.Vue&&!n.app){to(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured. Update your `Sentry.init` call with an appropriate config option: `app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}n.app?(Array.isArray(n.app)?n.app:[n.app]).forEach(s=>gl(s,n)):n.Vue&&gl(n.Vue,n)}}),gl=(e,t)=>{t.attachErrorHandler&&YS(e,t),Wn()&&e.mixin(XS(t.tracingOptions))};function yl(e){const{error:t,instance:n,info:r}=e,s={info:r};if(n?.$props){const i=je();(i?i.getOptions():null)?.attachProps&&n.$props!==!1&&(s.propsData=n.$props)}setTimeout(()=>{Af(t,{captureContext:{contexts:{nuxt:s}},mechanism:{handled:!1,type:`auto.function.nuxt.${n?"vue":"app"}-error`}})})}var r1=H({dependsOn:["sentry-client-config"],async setup(e){e.hook("app:created",t=>{const n=je();n&&n.addIntegration(n1({...ye._sentryNuxtVueIntegrationOptions,app:t,attachErrorHandler:!1}))}),e.hook("app:error",t=>{Oi(t)&&t?.statusCode&&t.statusCode>=300&&t.statusCode<500||yl({error:t})}),e.hook("vue:error",(t,n,r)=>{yl({error:t,instance:n,info:r})})}});const s1=[mm,_m,Um,Hm,Bm,Gm,Zm,Ym,pg,Lg,Mg,Pg,F0,z0,Y0,K0,v_,w_,bb,xb,Tb,Ib,Cb,r1],Lf=(e="RouteProvider")=>M({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,s={};for(const i in t.route)Object.defineProperty(s,i,{get:()=>n===t.renderKey?t.route[i]:r[i],enumerable:!0});return Pn(At,Nr(s)),()=>t.vnode?re(t.vnode,{ref:t.vnodeRef}):t.vnode}}),i1=Lf(),vl=new WeakMap,fo=M({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const s=Ee(),i=ie(),o=et(At,null);let a;r({pageRef:i});const l=et(Pl,null);let c;const u=s.deferHydration();let d=!1,p=!1,f=0;if(s.isHydrating){const h=s.hooks.hookOnce("app:error",u),g=Fe().beforeEach(()=>{h(),g()})}e.pageKey&&Pe(()=>e.pageKey,(h,g)=>{h!==g&&s.callHook("page:loading:start")});let m=!1;{const h=Fe().beforeResolve(()=>{m=!1});El(()=>{h(),u()})}return()=>re(lp,{name:e.name,route:e.route,...t},{default:h=>{const g=o1(o,h.route,h.Component),y=o&&o.matched.length===h.route.matched.length;if(!h.Component){if(c&&!y&&!Ns(c))return c;u();return}if(c&&l&&!Ns(c)&&!l.isCurrent(h.route))return c;if(g&&o&&(!l||l?.isCurrent(o)))return(y||c)&&!Ns(c)?c:null;const w=Fs(h,e.pageKey),E=a1(o,h.route,h.Component);!s.isHydrating&&a===w&&!E&&Ct(()=>{m||(m=!0,s.callHook("page:loading:end"))}),d&&a!==w&&p&&f++,a=w;const k=!!(e.transition??h.route.meta.pageTransition??Io),N=k&&Fl([e.transition,h.route.meta.pageTransition,Io,{onAfterLeave(){s["~transitionFinish"]?.(),delete s["~transitionFinish"],delete s["~transitionPromise"],s.callHook("page:transition:finish",h.Component)}}]),C=e.keepalive??h.route.meta.keepalive??Jp;return c=zl(k&&N,xm(C,re(Ei,{key:f,suspensible:!0,onPending:()=>{d=!0,k&&!s["~transitionPromise"]&&(s["~transitionPromise"]=new Promise(A=>{s["~transitionFinish"]=A})),s.callHook("page:start",h.Component)}
33,onResolve:async()=>{d=!1,p=!0;try{await Ct(),s._route.sync?.(),await s.callHook("page:finish",h.Component),!m&&!E&&(m=!0,await s.callHook("page:loading:end"))}finally{u()}}},{default:()=>{const A={key:w||void 0,vnode:n.default?l1(n.default,h):h.Component,route:h.route,renderKey:w||void 0,trackRootNodes:k,vnodeRef:i};if(!C)return re(i1,A);const W=h.Component.type,Q=W;let q=vl.get(Q);return q||(q=Lf(W.name||W.__name),vl.set(Q,q)),re(q,A)}}))).default(),c}})}});function o1(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>o.components?.default===n?.type);if(r===-1)return!1;const s=t.matched.slice(0,r).filter(o=>o.components?.default);if(!s.length)return!1;const i=e.matched.filter(o=>o.components?.default);return s.some((o,a)=>o.components?.default!==i[a]?.components?.default)||n&&Fs({route:t,Component:n})!==Fs({route:e,Component:n})}function a1(e,t,n){return e?t.matched.findIndex(s=>s.components?.default===n?.type)<t.matched.length-1:!1}function l1(e,t){const n=e(t);return n.length===1?re(n[0]):re(tn,void 0,n)}function Ns(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}const Mf=Kp,c1=M({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>re(ft[e.name],e.layoutProps,t.slots)}}),u1={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},Pf=M({name:"NuxtLayout",inheritAttrs:!1,props:u1,setup(e,t){const n=Ee(),r=et(At),i=!r||r===Mt()?$l():r,o=x(()=>{let u=F(e.name)??i?.meta.layout??Mf(i?.path).appLayout??"default";return u&&!(u in ft)&&e.fallback&&(u=F(e.fallback)),u}),a=ae();t.expose({layoutRef:a});const l=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",l),d=Fe().beforeEach(()=>{u(),d()})}let c;return()=>{const d=!!o.value&&o.value in ft&&!!(i?.meta.layoutTransition??Co),p=d&&Fl([i?.meta.layoutTransition,Co,{onBeforeLeave(){n["~transitionPromise"]=new Promise(m=>{n["~transitionFinish"]=m})},onAfterLeave(){n["~transitionFinish"]?.(),delete n["~transitionFinish"],delete n["~transitionPromise"]}}]),f=c;return c=o.value,zl(p,{default:()=>re(Ei,{suspensible:!0,onResolve:async()=>{await Ct(l)}},{default:()=>re(d1,{layoutProps:ne(t.attrs,i.meta.layoutProps??{},{ref:a}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,isRenderingNewLayout:m=>m!==f&&m===o.value,hasTransition:d},t.slots)})}).default()}}}),d1=M({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&Pn(Pl,{isCurrent:i=>n===!1||n===(i.meta.layout??Mf(i.path).appLayout??"default")});const r=et(At);if(r&&r===Mt()){const i=$l(),o={};for(const a in i){const l=a;Object.defineProperty(o,l,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?i[l]:r[l]})}Pn(At,Nr(o))}return()=>!n||typeof n=="string"&&!(n in ft)?t.slots.default?.():re(c1,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),f1=Object.freeze({left:0,top:0,width:16,height:16}),Ff=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),po=Object.freeze({...f1,...Ff});Object.freeze({...po,body:"",hidden:!1});function p1(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}const m1=/(-?[0-9.]*[0-9]+[0-9.]*)/g,h1=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function wi(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(m1);if(r===null||!r.length)return e;const s=[];let i=r.shift(),o=h1.test(i);for(;;){if(o){const a=parseFloat(i);isNaN(a)?s.push(i):s.push(Math.ceil(a*t*n)/n)}else s.push(i);if(i=r.shift(),i===void 0)return s.join("");o=!o}}function g1(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function y1(e){return"data:image/svg+xml,"+g1(e)}function v1(e){return'url("'+y1(e)+'")'}function _1(e){const[t,n,r,s]=e;if(r!==s){const i=Math.max(r,s);return[t-(i-r)/2,n-(i-s)/2,i,i]}return e}const b1=Object.freeze({width:null,height:null}),w1=Object.freeze({...b1,...Ff});function S1(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const s=e.indexOf(">",r),i=e.indexOf("</"+t);if(s===-1||i===-1)break;const o=e.indexOf(">",i);if(o===-1)break;n+=e.slice(s+1,i).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function k1(e,t){return e?"<defs>"+e+"</defs>"+t:t}function x1(e,t,n){const r=S1(e);return k1(r.defs,t+r.content+n)}const E1=e=>e==="unset"||e==="undefined"||e==="none";function T1(e,t){const n={...po,...e},r={...w1,...t},s={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(h=>{const g=[],y=h.hFlip,w=h.vFlip;let E=h.rotate;y?w?E+=2:(g.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),g.push("scale(-1 1)"),s.top=s.left=0):w&&(g.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),g.push("scale(1 -1)"),s.top=s.left=0);let k;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:k=s.height/2+s.top,g.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:g.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:k=s.width/2+s.left,g.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}E%2===1&&(s.left!==s.top&&(k=s.left,s.left=s.top,s.top=k),s.width!==s.height&&(k=s.width,s.width=s.height,s.height=k)),g.length&&(i=x1(i,'<g transform="'+g.join(" ")+'">',"</g>"))});const o=r.width,a=r.height,l=s.width,c=s.height;let u,d;o===null?(d=a===null?"1em":a==="auto"?c:a,u=wi(d,l/c)):(u=o==="auto"?l:o,d=a===null?wi(u,c/l):a==="auto"?c:a);const p={},f=(h,g)=>{E1(g)||(p[h]=g.toString())};f("width",u),f("height",d);const m=[s.left,s.top,l,c];return p.viewBox=m.join(" "),{attributes:p,viewBox:m,body:i}}function O1(e){const t={display:"inline-block",width:"1em",height:"1em"},n=e.varName;switch(e.pseudoSelector&&(t.content="''"),e.mode){case"background":n&&(t["background-image"]="var(--"+n+")"),t["background-repeat"]="no-repeat",t["background-size"]="100% 100%";break;case"mask":t["background-color"]="currentColor",n&&(t["mask-image"]=t["-webkit-mask-image"]="var(--"+n+")"),t["mask-repeat"]=t["-webkit-mask-repeat"]="no-repeat",t["mask-size"]=t["-webkit-mask-size"]="100% 100%";break}return t}function I1(e,t){const n={},r=t.varName,s=T1(e);let i=s.viewBox;i[2]!==i[3]&&(t.forceSquare?i=_1(i):n.width=wi("1em",i[2]/i[3]));const o=p1(s.body.replace(/currentColor/g,t.color||"black"),{viewBox:`${i[0]} ${i[1]} ${i[2]} ${i[3]}`,width:`${i[2]}`,height:`${i[3]}`}),a=v1(o);if(r)n["--"+r]=a;else switch(t.mode){case"background":n["background-image"]=a;break;case"mask":n["mask-image"]=n["-webkit-mask-image"]=a;break}return n}const Rs={selectorStart:{compressed:"{",compact:" {",expanded:" {"},selectorEnd:{compressed:"}",compact:`; }
34`,expanded:`;
35}
36`},rule:{compressed:"{key}:",compact:" {key}: ",expanded:`
37  {key}: `}};function C1(e,t="expanded"){const n=[];for(let r=0;r<e.length;r++){const{selector:s,rules:i}=e[r];let a=(s instanceof Array?s.join(t==="compressed"?",":", "):s)+Rs.selectorStart[t],l=!0;for(const c in i)l||(a+=";"),a+=Rs.rule[t].replace("{key}",c)+i[c],l=!1;a+=Rs.selectorEnd[t],n.push(a)}return n.join(t==="compressed"?"":`
38`)}function $1(e,t={}){const n=t.customise?t.customise(e.body):e.body,r=t.mode||(t.color||!n.includes("currentColor")?"background":"mask");let s=t.varName;s===void 0&&r==="mask"&&(s="svg");const i={...t,mode:r,varName:s};r==="background"&&delete i.varName;const o={...t.rules,...O1(i),...I1({...po,...e,body:n},i)},a=t.iconSelector||".icon";return C1([{selector:a,rules:o}],i.format)}async function A1(e,t){if(!e)return null;const n=oi(e);return n||(await ob(e).catch(()=>(console.warn(`[Icon] failed to load icon \`${e}\``),null)),oi(e))}function zf(e){const t=Lt().icon,n=(t.collections||[]).sort((r,s)=>s.length-r.length);return x(()=>{const r=e(),s=r.startsWith(t.cssSelectorPrefix)?r.slice(t.cssSelectorPrefix.length):r,i=t.aliases?.[s]||s;if(!i.includes(":")){const o=n.find(a=>i.startsWith(a+"-"));return o?o+":"+i.slice(o.length+1):i}return i})}function Vf(e,t){if(e!==!1)return e===!0||e===null?t:e}let xn;function N1(e){return e.replace(/([^\w-])/g,"\\$1")}function R1(){if(xn)return xn;xn=new Set;const e=n=>{if(n=n.replace(/^:where\((.*)\)$/,"$1").trim(),n.startsWith("."))return n},t=n=>{if(n?.length)for(const r of n){r?.cssRules&&t(r.cssRules);const s=r?.selectorText;if(typeof s=="string"){const i=e(s);i&&xn.add(i)}}};if(typeof document<"u")for(const n of document.styleSheets)try{const r=n.cssRules||n.rules;t(r)}catch{}return xn}const D1=M({name:"NuxtIconCss",props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e){const t=Ee(),n=Lt().icon,r=x(()=>e.name?n.cssSelectorPrefix+e.name:"");function s(a){if(!a)return;const l=oi(a);if(l)return l;const c=t.payload?.data?.[a];
38if(c)return Xi(a,c),c}const i=x(()=>"."+N1(r.value));function o(a,l=!0){let c=i.value;n.cssWherePseudo&&(c=`:where(${c})`);const u=$1(a,{iconSelector:c,format:"compressed",customise:Vf(e.customize,n.customize)});return n.cssLayer&&l?`@layer ${n.cssLayer} { ${u} }`:u}{const a=R1();async function l(c){if(a.has(i.value)||typeof document>"u")return;const u=document.createElement("style");u.textContent=o(c);const d=document.head.querySelector('style, link[rel="stylesheet"]');d?document.head.insertBefore(u,d):document.head.appendChild(u),a.add(i.value)}Pe(()=>e.name,()=>{if(a.has(i.value))return;const c=s(e.name);c?l(c):A1(e.name).then(u=>{u&&l(u)}).catch(()=>null)},{immediate:!0})}return()=>re("span",{class:["iconify",r.value]})}}),L1=M({name:"NuxtIconSvg",props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){const n=Ee(),r=Lt().icon,s=zf(()=>e.name),i="i-"+s.value;if(s.value){const o=n.payload.data[i];o&&Xi(s.value,o)}return()=>re(_b,{icon:s.value,ssr:!0,customise:Vf(e.customize,r.customize)},t)}}),mo=M({name:"NuxtIcon",props:{name:{type:String,required:!0},mode:{type:String,required:!1,default:null},size:{type:[Number,String],required:!1,default:null},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){const n=Ee(),r=Lt().icon,s=zf(()=>e.name),i=x(()=>n.vueApp?.component(s.value)||((e.mode||r.mode)==="svg"?L1:D1)),o=x(()=>{const a=e.size||r.size;return a?{fontSize:Number.isNaN(+a)?a:a+"px"}:null});return()=>re(i.value,{...r.attrs,name:s.value,class:r.class,style:o.value,customize:e.customize},t)}}),M1=Object.freeze(Object.defineProperty({__proto__:null,default:mo},Symbol.toStringTag,{value:"Module"})),st=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},P1=M({props:{name:{type:String,required:!0},mode:{type:String,required:!1,default:null},size:{type:[Number,String],required:!1,default:null},customize:{type:Function,required:!1,default:null}}});function F1(e,t,n,r,s,i){const o=mo;return O(),V(o,Ls(Ms(e.$props)),null,16)}const hn=Object.assign(st(P1,[["render",F1]]),{__name:"UIcon"}),Vt=(e,t,n,r,s=!1)=>{const i=cp(),o=Lt(),a=x(()=>{const c=We(t),u=We(n),d=We(r);return fn(c?.strategy||o.ui?.strategy,d?{wrapper:d}:{},c||{},s?si(o.ui,e,{}):{},u||{})}),l=x(()=>$v(i,["class"]));return{ui:a,attrs:l}},z1={wrapper:"relative inline-flex items-center justify-center flex-shrink-0",background:"bg-gray-100 dark:bg-gray-800",rounded:"rounded-full",text:"font-medium leading-none text-gray-900 dark:text-white truncate",placeholder:"font-medium leading-none text-gray-500 dark:text-gray-400 truncate",size:{"3xs":"h-4 w-4 text-[8px]","2xs":"h-5 w-5 text-[10px]",xs:"h-6 w-6 text-xs",sm:"h-8 w-8 text-sm",md:"h-10 w-10 text-base",lg:"h-12 w-12 text-lg",xl:"h-14 w-14 text-xl","2xl":"h-16 w-16 text-2xl","3xl":"h-20 w-20 text-3xl"},chip:{base:"absolute rounded-full ring-1 ring-white dark:ring-gray-900 flex items-center justify-center text-white dark:text-gray-900 font-medium",background:"bg-{color}-500 dark:bg-{color}-400",position:{"top-right":"top-0 right-0","bottom-right":"bottom-0 right-0","top-left":"top-0 left-0","bottom-left":"bottom-0 left-0"},size:{"3xs":"h-[4px] min-w-[4px] text-[4px] p-px","2xs":"h-[5px] min-w-[5px] text-[5px] p-px",xs:"h-1.5 min-w-[0.375rem] text-[6px] p-px",sm:"h-2 min-w-[0.5rem] text-[7px] p-0.5",md:"h-2.5 min-w-[0.625rem] text-[8px] p-0.5",lg:"h-3 min-w-[0.75rem] text-[10px] p-0.5",xl:"h-3.5 min-w-[0.875rem] text-[11px] p-1","2xl":"h-4 min-w-[1rem] text-[12px] p-1","3xl":"h-5 min-w-[1.25rem] text-[14px] p-1"}},icon:{base:"text-gray-500 dark:text-gray-400 flex-shrink-0",size:{"3xs":"h-2 w-2","2xs":"h-2.5 w-2.5",xs:"h-3 w-3",sm:"h-4 w-4",md:"h-5 w-5",lg:"h-6 w-6",xl:"h-7 w-7","2xl":"h-8 w-8","3xl":"h-10 w-10"}},default:{size:"sm",icon:null,chipColor:null,chipPosition:"top-right"}},V1={base:"focus:outline-none focus-visible:outline-0 disabled:cursor-not-allowed disabled:opacity-75 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 flex-shrink-0",font:"font-medium",rounded:"rounded-md",truncate:"text-left break-all line-clamp-1",block:"w-full flex justify-center items-center",inline:"inline-flex items-center",size:{"2xs":"text-xs",xs:"text-xs",sm:"text-sm",md:"text-sm",lg:"text-sm",xl:"text-base"},gap:{"2xs":"gap-x-1",xs:"gap-x-1.5",sm:"gap-x-1.5",md:"gap-x-2",lg:"gap-x-2.5",xl:"gap-x-2.5"},padding:{"2xs":"px-2 py-1",xs:"px-2.5 py-1.5",sm:"px-2.5 py-1.5",md:"px-3 py-2",lg:"px-3.5 py-2.5",xl:"px-3.5 py-2.5"},square:{"2xs":"p-1",xs:"p-1.5",sm:"p-1.5",md:"p-2",lg:"p-2.5",xl:"p-2.5"},color:{white:{solid:"shadow-sm ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-900 dark:text-white bg-white hover:bg-gray-50 disabled:bg-white aria-disabled:bg-white dark:bg-gray-900 dark:hover:bg-gray-800/50 dark:disabled:bg-gray-900 dark:aria-disabled:bg-gray-900 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",ghost:"text-gray-900 dark:text-white hover:bg-white dark:hover:bg-gray-900 focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"},gray:{solid:"shadow-sm ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-700 dark:text-gray-200 bg-gray-50 hover:bg-gray-100 disabled:bg-gray-50 aria-disabled:bg-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700/50 dark:disabled:bg-gray-800 dark:aria-disabled:bg-gray-800 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",ghost:"text-gray-700 dark:text-gray-200 hover:text-gray-900 dark:hover:text-white hover:bg-gray-50 dark:hover:bg-gray-800 focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",link:"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 underline-offset-4 hover:underline focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"},black:{solid:"shadow-sm text-white dark:text-gray-900 bg-gray-900 hover:bg-gray-800 disabled:bg-gray-900 aria-disabled:bg-gray-900 dark:bg-white dark:hover:bg-gray-100 dark:disabled:bg-white dark:aria-disabled:bg-white focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",link:"text-gray-900 dark:text-white underline-offset-4 hover:underline focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"}},variant:{solid:"shadow-sm text-white dark:text-gray-900 bg-{color}-500 hover:bg-{color}-600 disabled:bg-{color}-500 aria-disabled:bg-{color}-500 dark:bg-{color}-400 dark:hover:bg-{color}-500 dark:disabled:bg-{color}-400 dark:aria-disabled:bg-{color}-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-{color}-500 dark:focus-visible:outline-{color}-400",outline:"ring-1 ring-inset ring-current text-{color}-500 dark:text-{color}-400 hover:bg-{color}-50 disabled:bg-transparent aria-disabled:bg-transparent dark:hover:bg-{color}-950 dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus-visible:ring-2 focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",soft:"text-{color}-500 dark:text-{color}-400 bg-{color}-50 hover:bg-{color}-100 disabled:bg-{color}-50 aria-disabled:bg-{color}-50 dark:bg-{color}-950 dark:hover:bg-{color}-900 dark:disabled:bg-{color}-950 dark:aria-disabled:bg-{color}-950 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",ghost:"text-{color}-500 dark:text-{color}-400 hover:bg-{color}-50 disabled:bg-transparent aria-disabled:bg-transparent dark:hover:bg-{color}-950 dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",link:"text-{color}-500 hover:text-{color}-600 disabled:text-{color}-500 aria-disabled:text-{color}-500 dark:text-{color}-400 dark:hover:text-{color}-500 dark:disabled:text-{color}-400 dark:aria-disabled:text-{color}-400 underline-offset-4 hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400"},icon:{base:"flex-shrink-0",loading:"animate-spin",size:{"2xs":"h-4 w-4",xs:"h-4 w-4",sm:"h-5 w-5",md:"h-5 w-5",lg:"h-5 w-5",xl:"h-6 w-6"}},default:{size:"sm",variant:"solid",color:"primary",loadingIcon:"i-heroicons-arrow-path-20-solid"}}
38,jf={base:"invisible before:visible before:block before:rotate-45 before:z-[-1] before:w-2 before:h-2",ring:"before:ring-1 before:ring-gray-200 dark:before:ring-gray-800",rounded:"before:rounded-sm",background:"before:bg-gray-200 dark:before:bg-gray-800",shadow:"before:shadow",placement:"group-data-[popper-placement*='right']:-left-1 group-data-[popper-placement*='left']:-right-1 group-data-[popper-placement*='top']:-bottom-1 group-data-[popper-placement*='bottom']:-top-1"},Uf={wrapper:"relative",base:"relative block w-full disabled:cursor-not-allowed disabled:opacity-75 focus:outline-none border-0",form:"form-input",rounded:"rounded-md",placeholder:"placeholder-gray-400 dark:placeholder-gray-500",file:{base:"file:mr-1.5 file:font-medium file:text-gray-500 dark:file:text-gray-400 file:bg-transparent file:border-0 file:p-0 file:outline-none"},size:{"2xs":"text-xs",xs:"text-xs",sm:"text-sm",md:"text-sm",lg:"text-sm",xl:"text-base"},gap:{"2xs":"gap-x-1",xs:"gap-x-1.5",sm:"gap-x-1.5",md:"gap-x-2",lg:"gap-x-2.5",xl:"gap-x-2.5"},padding:{"2xs":"px-2 py-1",xs:"px-2.5 py-1.5",sm:"px-2.5 py-1.5",md:"px-3 py-2",lg:"px-3.5 py-2.5",xl:"px-3.5 py-2.5"},leading:{padding:{"2xs":"ps-7",xs:"ps-8",sm:"ps-9",md:"ps-10",lg:"ps-11",xl:"ps-12"}},trailing:{padding:{"2xs":"pe-7",xs:"pe-8",sm:"pe-9",md:"pe-10",lg:"pe-11",xl:"pe-12"}},color:{white:{outline:"shadow-sm bg-white dark:bg-gray-900 text-gray-900 dark:text-white ring-1 ring-inset ring-gray-300 dark:ring-gray-700 focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400"},gray:{outline:"shadow-sm bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white ring-1 ring-inset ring-gray-300 dark:ring-gray-700 focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400"}},variant:{outline:"shadow-sm bg-transparent text-gray-900 dark:text-white ring-1 ring-inset ring-{color}-500 dark:ring-{color}-400 focus:ring-2 focus:ring-{color}-500 dark:focus:ring-{color}-400",none:"bg-transparent focus:ring-0 focus:shadow-none"},icon:{base:"flex-shrink-0 text-gray-400 dark:text-gray-500",color:"text-{color}-500 dark:text-{color}-400",loading:"animate-spin",size:{"2xs":"h-4 w-4",xs:"h-4 w-4",sm:"h-5 w-5",md:"h-5 w-5",lg:"h-5 w-5",xl:"h-6 w-6"},leading:{wrapper:"absolute inset-y-0 start-0 flex items-center",pointer:"pointer-events-none",padding:{"2xs":"px-2",xs:"px-2.5",sm:"px-2.5",md:"px-3",lg:"px-3.5",xl:"px-3.5"}},trailing:{wrapper:"absolute inset-y-0 end-0 flex items-center",pointer:"pointer-events-none",padding:{"2xs":"px-2",xs:"px-2.5",sm:"px-2.5",md:"px-3",lg:"px-3.5",xl:"px-3.5"}}},default:{size:"sm",color:"white",variant:"outline",loadingIcon:"i-heroicons-arrow-path-20-solid"}},_l={container:"z-20 group",trigger:"flex items-center w-full",width:"w-full",height:"max-h-60",base:"relative focus:outline-none overflow-y-auto scroll-py-1",background:"bg-white dark:bg-gray-800",shadow:"shadow-lg",rounded:"rounded-md",padding:"p-1",ring:"ring-1 ring-gray-200 dark:ring-gray-700",empty:"text-sm text-gray-400 dark:text-gray-500 px-2 py-1.5",option:{base:"cursor-default select-none relative flex items-center justify-between gap-1",rounded:"rounded-md",padding:"px-1.5 py-1.5",size:"text-sm",color:"text-gray-900 dark:text-white",container:"flex items-center gap-1.5 min-w-0",active:"bg-gray-100 dark:bg-gray-900",inactive:"",selected:"pe-7",disabled:"cursor-not-allowed opacity-50",empty:"text-sm text-gray-400 dark:text-gray-500 px-2 py-1.5",icon:{base:"flex-shrink-0 h-5 w-5",active:"text-gray-900 dark:text-white",inactive:"text-gray-400 dark:text-gray-500"},selectedIcon:{wrapper:"absolute inset-y-0 end-0 flex items-center",padding:"pe-2",base:"h-5 w-5 text-gray-900 dark:text-white flex-shrink-0"},avatar:{base:"flex-shrink-0",size:"2xs"},chip:{base:"flex-shrink-0 w-2 h-2 mx-1 rounded-full"}},transition:{leaveActiveClass:"transition ease-in duration-100",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},popper:{placement:"bottom-end"},default:{selectedIcon:"i-heroicons-check-20-solid",trailingIcon:"i-heroicons-chevron-down-20-solid",empty:{label:"No options."},optionEmpty:{label:'No results for "{query}".'}},arrow:{...jf,ring:"before:ring-1 before:ring-gray-200 dark:before:ring-gray-700",background:"before:bg-white dark:before:bg-gray-700"}},DE={...Uf,form:"form-textarea",default:{size:"sm",color:"white",variant:"outline"}},LE={...Uf,form:"form-select",placeholder:"text-gray-400 dark:text-gray-500",default:{size:"sm",color:"white",variant:"outline",loadingIcon:"i-heroicons-arrow-path-20-solid",trailingIcon:"i-heroicons-chevron-down-20-solid"}},ME={..._l,select:"inline-flex items-center text-left cursor-default",input:"block w-[calc(100%+0.5rem)] focu
38s:ring-transparent text-sm px-3 py-1.5 text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-800 border-0 border-b border-gray-200 dark:border-gray-700 sticky -top-1 -mt-1 mb-1 -mx-1 z-10 placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none",required:"absolute inset-0 w-px opacity-0 cursor-default",label:"block truncate",option:{..._l.option,create:"block truncate"},transition:{leaveActiveClass:"transition ease-in duration-100",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},popper:{placement:"bottom-end"},default:{selectedIcon:"i-heroicons-check-20-solid",clearSearchOnClose:!1,showCreateOptionWhen:"empty",searchablePlaceholder:{label:"Search..."},empty:{label:"No options."},optionEmpty:{label:'No results for "{query}".'}},arrow:{...jf,ring:"before:ring-1 before:ring-gray-200 dark:before:ring-gray-700",background:"before:bg-white dark:before:bg-gray-700"}},j1={base:"mx-auto",padding:"px-4 sm:px-6 lg:px-8",constrained:"max-w-7xl"},U1={wrapper:"w-full pointer-events-auto",container:"relative overflow-hidden",inner:"w-0 flex-1",title:"text-sm font-medium text-gray-900 dark:text-white",description:"mt-1 text-sm leading-4 text-gray-500 dark:text-gray-400",descriptionOnly:"mt-0 leading-5",actions:"flex items-center gap-2 mt-3 flex-shrink-0",background:"bg-white dark:bg-gray-900",shadow:"shadow-lg",rounded:"rounded-lg",padding:"p-4",gap:"gap-3",ring:"ring-1 ring-gray-200 dark:ring-gray-800",icon:{base:"flex-shrink-0 w-5 h-5",color:"text-{color}-500 dark:text-{color}-400"},avatar:{base:"flex-shrink-0 self-center",size:"md"},progress:{base:"absolute bottom-0 end-0 start-0 h-1",background:"bg-{color}-500 dark:bg-{color}-400"},transition:{enterActiveClass:"transform ease-out duration-300 transition",enterFromClass:"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",enterToClass:"translate-y-0 opacity-100 sm:translate-x-0",leaveActiveClass:"transition ease-in duration-100",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},default:{color:"primary",icon:null,timeout:5e3,closeButton:{icon:"i-heroicons-x-mark-20-solid",color:"gray",variant:"link",padded:!1},actionButton:{size:"xs",color:"white"}}},W1={wrapper:"fixed flex flex-col justify-end z-[55]",position:"bottom-0 end-0",width:"w-full sm:w-96",container:"px-4 sm:px-6 py-6 space-y-3 overflow-y-auto"},kt=fn(_e.ui.strategy,_e.ui.avatar,z1),q1=M({components:{UIcon:hn},inheritAttrs:!1,props:{as:{type:[String,Object],default:"img"},src:{type:[String,Boolean],default:null},alt:{type:String,default:null},text:{type:String,default:null},icon:{type:String,default:()=>kt.default.icon},size:{type:String,default:()=>kt.default.size,validator(e){return Object.keys(kt.size).includes(e)}},chipColor:{type:String,default:()=>kt.default.chipColor,validator(e){return["gray",..._e.ui.colors].includes(e)}},chipPosition:{type:String,default:()=>kt.default.chipPosition,validator(e){return Object.keys(kt.chip.position).includes(e)}},chipText:{type:[String,Number],default:null},imgClass:{type:String,default:""},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=Vt("avatar",Dt(e,"ui"),kt),r=x(()=>typeof e.src=="boolean"?null:e.src),s=x(()=>(e.alt||"").split(" ").map(d=>d.charAt(0)).join("").substring(0,2)),i=x(()=>Ve(ke(t.value.wrapper,(c.value||!r.value)&&t.value.background,t.value.rounded,t.value.size[e.size]),e.class)),o=x(()=>Ve(ke(t.value.rounded,t.value.size[e.size]),e.imgClass)),a=x(()=>ke(t.value.icon.base,t.value.icon.size[e.size])),l=x(()=>ke(t.value.chip.base,t.value.chip.size[e.size],t.value.chip.position[e.chipPosition],t.value.chip.background.replaceAll("{color}",e.chipColor))),c=ie(!1);Pe(()=>e.src,()=>{c.value&&(c.value=!1)});function u(){c.value=!0}return{ui:t,attrs:n,wrapperClass:i,imgClass:o,iconClass:a,chipClass:l,url:r,placeholder:s,error:c,onError:u}}});function H1(e,t,n,r,s,i){const o=hn;return O(),X("span",{class:se(e.wrapperClass)},[e.url&&!e.error?(O(),V(gt(e.as),ne({key:0,class:e.imgClass,alt:e.alt,src:e.url},e.attrs,{onError:e.onError}),null,16,["class","alt","src","onError"])):e.text?(O(),X("span",{key:1,class:se(e.ui.text)},tt(e.text),3)):e.icon?(O(),V(o,{key:2,name:e.icon,class:se(e.iconClass)},null,8,["name","class"])):e.placeholder?(O(),X("span",{key:3,class:se(e.ui.placeholder)},tt(e.placeholder),3)):ue("",!0),e.chipColor?(O(),X("span",{key:4,class:se(e.chipClass)},tt(e.chipText),3)):ue("",!0),he(e.$slots,"default")],2)}const Wf=Object.assign(st(q1,[["render",H1]]),{__name:"UAvatar"}),ho="__proto__";function B1(e,t){const n=[];return qf(e,t,"",n),n}function qf(e,t,n,r){if(e===t)return;const s=e===null||typeof e!="object",i=t===null||typeof t!="object";if(!s&&!i){const l=bl(e),c=bl(t);for(const[u,d]of l){const p=n?`${n}.${u}`:u;c.has(u)?qf(d,c.get(u),p,r):r.push(new Ds(p,"removed",void 0,Si(d,p)))}for(const[u,d]of c){if(l.has(u))continue;const p=n?`${n}.${u}`:u;r.push(new Ds(p,"added",Si(d,p)))}return}if(wl(e,s)||wl(t,i))return;const o=Sl(e,n,s),a=Sl(t,n,i);o.hash!==a.hash&&r.push(new Ds(n,"changed",a,o))}function bl(e){const t=new Map;for(const n in e)n!==ho&&t.set(n,e[n]);return t}function wl(e,t){if(t)return!1;for(const n in e)if(n!==ho)return!0;return!1}function Sl(e,t,n){return n?new Ar(t,e,Hf(e)):new Ar(t,e,"{}",Object.create(null))}function Si(e,t=""){if(e===null||typeof e!="object")return new Ar(t,e,Hf(e));const n=Object.create(null),r=[];for(const s in e){if(s===ho)continue;const i=Si(e[s],t?`${t}.${s}`:s);n[s]=i,r.push(i.hash)}return new Ar(t,e,`{${r.join(":")}}`,n)}function Hf(e){switch(typeof e){case"string":return`'${e}'`;case"number":case"boolean":return""+e;case"bigint":return`${e}n`;default:return Xp(e)}}var Ds=class{key;type;newValue;oldValue;constructor(e,t,n,r){this.key=e,this.type=t,this.newValue=n,this.oldValue=r}toString(){return this.toJSON()}toJSON(){switch(this.type){case"added":return`Added   \`${this.key}\``;case"removed":return`Removed \`${this.key}\``;case"changed":return`Changed \`${this.key}\` from \`${this.oldValue?.toString()||"-"}\` to \`${this.newValue?.toString()}\``}}},Ar=class{key;value;hash;props;constructor(e,t,n,r){this.key=e,this.value=t,this.hash=n,this.props=r}toString(){return this.props?`{${Object.keys(this.props).join(",")}}`:JSON.stringify(this.value)}toJSON(){const e=this.key||".";return this.props?`${e}({${Object.keys(this.props).join(",")}})`:`${e}(${this.value})`}};const G1=M({inheritAttrs:!1,props:{...Ji,as:{type:String,default:"button"},type:{type:String,default:"button"},disabled:{type:Boolean,default:null},active:{type:Boolean,default:void 0},exact:{type:Boolean,default:!1},exactQuery:{type:[Boolean,String],default:!1},exactHash:{type:Boolean,default:!1},inactiveClass:{type:String,default:void 0}},setup(e){function t(r,s){const i=B1(r,s).reduce((l,c)=>(c.type==="added"&&l.add(c.key),l),new Set),o=Object.fromEntries(Object.entries(r).filter(([l])=>!i.has(l))),a=Object.fromEntries(Object.entries(s).filter(([l])=>!i.has(l)));return $o(o,a)}function n(r,s,{isActive:i,isExactActive:o}){if(e.exactQuery==="partial"){if(!t(r.query,s.query))return e.inactiveClass}else if(e.exactQuery===!0&&!$o(r.query,s.query))return e.inactiveClass;return e.exactHash&&r.hash!==s.hash?e.inactiveClass:e.exact&&o||!e.exact&&i?e.activeClass:e.inactiveClass}return{resolveLinkClass:n}}}),Z1=["href","aria-disabled","role","rel","target","tabindex","onClick"];function Y1(e,t,n,r,s,i){const o=Vl;return e.to?(O(),V(o,ne({key:1},e.$props,{custom:""}),{default:ge(({route:a,href:l,target:c,rel:u,navigate:d,isActive:p,isExactActive:f,isExternal:m})=>[Se("a",ne(e.$attrs,{href:e.disabled?void 0:l,"aria-disabled":e.disabled?"true":void 0,role:e.disabled?"link":void 0,rel:u,target:c,class:e.active!==void 0?e.active?e.activeClass:e.inactiveClass:e.resolveLinkClass(a,e._.provides[At]||e.$route,{isActive:p,isExactActive:f}),tabindex:e.disabled?-1:void 0,onClick:h=>!m&&!e.disabled&&d(h)}),[he(e.$slots,"default",Ls(Ms({isActive:e.active!==void 0?e.active:e.exact?f:p})))],16,Z1)]),_:3},16)):(O(),V(gt(e.as),ne({key:0,type:e.type,disabled:e.disabled},e.$attrs,{class:e.active?e.activeClass:e.inactiveClass}),{default:ge(()=>[he(e.$slots,"default",Ls(Ms({isActive:e.active})))]),_:3},16,["type","disabled","class"]))}const Bf=Object.assign(st(G1,[["render",Y1]]),{__name:"ULink"});function J1({ui:e,props:t}){const n=Rr();if(Pn("ButtonGroupContextConsumer",!0),et("ButtonGroupContextConsumer",!1))return{size:x(()=>t.size),rounded:x(()=>e.value.rounded)};let s=n.parent,i;for(;s&&!i;){if(s.type.name==="ButtonGroup"){i=et(`group-${s.uid}`);break}s=s.parent}const o=x(()=>i?.value.children.indexOf(n));return Rt(()=>{i?.value.register(n)}),xi(()=>{i?.value.unregister(n)}),{size:x(()=>i?.value?i?.value.size??e.value.default.size:t.size),rounded:x(()=>!i||o.value===-1?e.value.rounded:i.value.children.length===1?i.value.ui.roun
38ded:o.value===0?i.value.rounded.start:o.value===i.value.children.length-1?i.value.rounded.end:"rounded-none")}}const Xe=fn(_e.ui.strategy,_e.ui.button,V1),K1=M({components:{UIcon:hn,ULink:Bf},inheritAttrs:!1,props:{...Ji,type:{type:String,default:"button"},block:{type:Boolean,default:!1},label:{type:String,default:null},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},padded:{type:Boolean,default:!0},size:{type:String,default:()=>Xe.default.size,validator(e){return Object.keys(Xe.size).includes(e)}},color:{type:String,default:()=>Xe.default.color,validator(e){return[..._e.ui.colors,...Object.keys(Xe.color)].includes(e)}},variant:{type:String,default:()=>Xe.default.variant,validator(e){return[...Object.keys(Xe.variant),...Object.values(Xe.color).flatMap(t=>Object.keys(t))].includes(e)}},icon:{type:String,default:null},loadingIcon:{type:String,default:()=>Xe.default.loadingIcon},leadingIcon:{type:String,default:null},trailingIcon:{type:String,default:null},trailing:{type:Boolean,default:!1},leading:{type:Boolean,default:!1},square:{type:Boolean,default:!1},truncate:{type:Boolean,default:!1},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e,{slots:t}){const{ui:n,attrs:r}=Vt("button",Dt(e,"ui"),Xe),{size:s,rounded:i}=J1({ui:n,props:e}),o=x(()=>e.icon&&e.leading||e.icon&&!e.trailing||e.loading&&!e.trailing||e.leadingIcon),a=x(()=>e.icon&&e.trailing||e.loading&&e.trailing||e.trailingIcon),l=x(()=>e.square||!t.default&&!e.label),c=x(()=>{const h=n.value.color?.[e.color]?.[e.variant]||n.value.variant[e.variant];return Ve(ke(n.value.base,n.value.font,i.value,n.value.size[s.value],n.value.gap[s.value],e.padded&&n.value[l.value?"square":"padding"][s.value],h?.replaceAll("{color}",e.color),e.block?n.value.block:n.value.inline),e.class)}),u=x(()=>e.loading?e.loadingIcon:e.leadingIcon||e.icon),d=x(()=>e.loading&&!o.value?e.loadingIcon:e.trailingIcon||e.icon),p=x(()=>ke(n.value.icon.base,n.value.icon.size[s.value],e.loading&&n.value.icon.loading)),f=x(()=>ke(n.value.icon.base,n.value.icon.size[s.value],e.loading&&!o.value&&n.value.icon.loading)),m=x(()=>Av(e));return{ui:n,attrs:r,isLeading:o,isTrailing:a,isSquare:l,buttonClass:c,leadingIconName:u,trailingIconName:d,leadingIconClass:p,trailingIconClass:f,linkProps:m}}});function X1(e,t,n,r,s,i){const o=hn,a=Bf;return O(),V(a,ne({type:e.type,disabled:e.disabled||e.loading,class:e.buttonClass},{...e.linkProps,...e.attrs}),{default:ge(()=>[he(e.$slots,"leading",{disabled:e.disabled,loading:e.loading},()=>[e.isLeading&&e.leadingIconName?(O(),V(o,{key:0,name:e.leadingIconName,class:se(e.leadingIconClass),"aria-hidden":"true"},null,8,["name","class"])):ue("",!0)]),he(e.$slots,"default",{},()=>[e.label!==void 0&&e.label!==null?(O(),X("span",{key:0,class:se([e.truncate?e.ui.truncate:""])},tt(e.label),3)):ue("",!0)]),he(e.$slots,"trailing",{disabled:e.disabled,loading:e.loading},()=>[e.isTrailing&&e.trailingIconName?(O(),V(o,{key:0,name:e.trailingIconName,class:se(e.trailingIconClass),"aria-hidden":"true"},null,8,["name","class"])):ue("",!0)])]),_:3},16,["type","disabled","class"])}const Gf=Object.assign(st(K1,[["render",X1]]),{__name:"UButton"});function Q1(e,t,n){let r=null;const{pause:s,resume:i,timestamp:o}=G0({controls:!0}),a=ie(null),l=x(()=>a.value?t-(o.value-a.value):0);function c(...h){r=setTimeout(()=>{r=null,a.value=null,e(...h)},l.value)}function u(){r&&(clearTimeout(r),r=null)}function d(){a.value=Date.now(),c()}function p(){u(),s()}function f(){u(),s()}function m(){c(),i(),a.value=(a.value||0)+(Date.now()-o.value)}return d(),{start:d,stop:p,pause:f,resume:m,remaining:l}}const En=fn(_e.ui.strategy,_e.ui.notification,U1),ek=M({components:{UIcon:hn,UAvatar:Wf,UButton:Gf},inheritAttrs:!1,props:{id:{type:[String,Number],required:!0},title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:()=>En.default.icon},avatar:{type:Object,default:null},closeButton:{type:Object,default:()=>En.default.closeButton},timeout:{type:Number,default:()=>En.default.timeout},actions:{type:Array,default:()=>[]},callback:{type:Function,default:null},color:{type:String,default:()=>En.default.color,validator(e){return["gray",..._e.ui.colors].includes(e)}},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})},pauseTimeoutOnHover:{type:Boolean,default:!0}},emits:["close"],setup(e,{emit:t}){const{ui:n,attrs:r}=Vt("notification",Dt(e,"ui"),En);let s=null;const i=ie(e.timeout),o=x(()=>Ve(ke(n.value.wrapper,n.value.background?.replaceAll("{color}",e.color),n.value.rounded,n.value.shadow,n.value.ring?.replaceAll("{color}",e.color)),e.class)),a=x(()=>ke(n.value.progress.base,n.value.progress.background?.replaceAll("{color}",e.color))),l=x(()=>({width:`${i.value/e.timeout*100||0}%`})),c=x(()=>ke(n.value.icon.base,n.value.icon.color?.replaceAll("{color}",e.color)));function u(){e.pauseTimeoutOnHover&&s&&s.pause()}function d(){e.pauseTimeoutOnHover&&s&&s.resume()}function p(){s&&s.stop(),e.callback&&e.callback(),t("close")}function f(h){s&&s.stop(),h.click&&h.click(),t("close")}
38function m(){s&&s.stop(),e.timeout&&(s=Q1(()=>{p()},e.timeout),Cl(()=>{i.value=s.remaining.value}))}return Pe(()=>e.timeout,m),Rt(m),xi(()=>{s&&s.stop()}),{ui:n,attrs:r,wrapperClass:o,progressClass:a,progressStyle:l,iconClass:c,onMouseover:u,onMouseleave:d,onClose:p,onAction:f,twMerge:Ve}}});function tk(e,t,n,r,s,i){const o=hn,a=Wf,l=Gf;return O(),V(dp,ne({appear:""},e.ui.transition),{default:ge(()=>[Se("div",ne({class:e.wrapperClass,role:"status"},e.attrs,{onMouseover:t[0]||(t[0]=(...c)=>e.onMouseover&&e.onMouseover(...c)),onMouseleave:t[1]||(t[1]=(...c)=>e.onMouseleave&&e.onMouseleave(...c))}),[Se("div",{class:se([e.ui.container,e.ui.rounded,e.ui.ring])},[Se("div",{class:se(["flex",[e.ui.padding,e.ui.gap,{"items-start":e.description||e.$slots.description,"items-center":!e.description&&!e.$slots.description}]])},[e.icon?(O(),V(o,{key:0,name:e.icon,class:se(e.iconClass)},null,8,["name","class"])):ue("",!0),e.avatar?(O(),V(a,ne({key:1},{size:e.ui.avatar.size,...e.avatar},{class:e.ui.avatar.base}),null,16,["class"])):ue("",!0),Se("div",{class:se(e.ui.inner)},[e.title||e.$slots.title?(O(),X("p",{key:0,class:se(e.ui.title)},[he(e.$slots,"title",{title:e.title},()=>[Ps(tt(e.title),1)])],2)):ue("",!0),e.description||e.$slots.description?(O(),X("div",{key:1,class:se(e.twMerge(e.ui.description,!e.title&&!e.$slots.title&&e.ui.descriptionOnly))},[he(e.$slots,"description",{description:e.description},()=>[Ps(tt(e.description),1)])],2)):ue("",!0),(e.description||e.$slots.description)&&e.actions.length?(O(),X("div",{key:2,class:se(e.ui.actions)},[(O(!0),X(tn,null,_r(e.actions,(c,u)=>(O(),V(l,ne({key:u},{ref_for:!0},{...e.ui.default.actionButton||{},...c},{onClick:os(d=>e.onAction(c),["stop"])}),null,16,["onClick"]))),128))],2)):ue("",!0)],2),e.closeButton||!e.description&&!e.$slots.description&&e.actions.length?(O(),X("div",{key:2,class:se(e.twMerge(e.ui.actions,"mt-0"))},[!e.description&&!e.$slots.description&&e.actions.length?(O(!0),X(tn,{key:0},_r(e.actions,(c,u)=>(O(),V(l,ne({key:u},{ref_for:!0},{...e.ui.default.actionButton||{},...c},{onClick:os(d=>e.onAction(c),["stop"])}),null,16,["onClick"]))),128)):ue("",!0),e.closeButton?(O(),V(l,ne({key:1,"aria-label":"Close"},{...e.ui.default.closeButton||{},...e.closeButton},{onClick:os(e.onClose,["stop"])}),null,16,["onClick"])):ue("",!0)],2)):ue("",!0)],2),e.timeout?(O(),X("div",{key:0,class:se(e.progressClass),style:up(e.progressStyle)},null,6)):ue("",!0)],2)],16)]),_:3},16)}const Zf=Object.assign(st(ek,[["render",tk]]),{__name:"UNotification"});function nk(){const e=Dr("notifications",()=>[]);function t(i){const o={id:new Date().getTime().toString(),...i};return e.value.findIndex(l=>l.id===o.id)===-1&&e.value.push(o),o}function n(i){e.value=e.value.filter(o=>o.id!==i)}function r(i,o){const a=e.value.findIndex(l=>l.id===i);if(a!==-1){const l=e.value[a];e.value.splice(a,1,{...l,...o})}}function s(){e.value=[]}return{add:t,remove:n,update:r,clear:s}}const rk=fn(_e.ui.strategy,_e.ui.notifications,W1),sk=M({components:{UNotification:Zf},inheritAttrs:!1,props:{class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=Vt("notifications",Dt(e,"ui"),rk),r=nk(),s=Dr("notifications",()=>[]),i=x(()=>Ve(ke(t.value.wrapper,t.value.position,t.value.width),e.class));return{ui:t,attrs:n,toast:r,notifications:s,wrapperClass:i}}});function ik(e,t,n,r,s,i){const o=Zf;return O(),V(Tl,{to:"body"},[e.notifications.length?(O(),X("div",ne({key:0,class:e.wrapperClass,role:"region"},e.attrs),[Se("div",{class:se(e.ui.container)},[(O(!0),X(tn,null,_r(e.notifications,a=>(O(),X("div",{key:a.id},[Re(o,ne({ref_for:!0},a,{class:a.click&&"cursor-pointer",onClick:l=>a.click&&a.click(a),onClose:l=>e.toast.remove(a.id)}),fp({_:2},[_r(e.$slots,(l,c)=>({name:c,fn:ge(u=>[he(e.$slots,c,ne({ref_for:!0},u))])}))]),1040,["class","onClick","onClose"])]))),128))],2)],16)):ue("",!0)])}const ok=Object.assign(st(sk,[["render",ik]]),{__name:"UNotifications"}),ak=M({__name:"app",setup(e){const{$prismaMedia:t}=Ee(),{getAbsoluteUrl:n}=Qp(),r=Mt();return Rt(()=>{t?.initPrisma()}),Ci(()=>({meta:[{name:"robots",content:"index, follow, noarchive, max-snippet:300, max-image-preview:large, max-video-preview:5"}],link:[{rel:"canonical",href:n(r.path)}]})),em({"@id":`${n("/")}#Organization`,"@type":"NewsMediaOrganization",name:"Challenges",url:n("/"),logo:{"@type":"ImageObject",url:n("/assets/images/logo-500x500.png"),width:500,height:500},sameAs:["https://www.facebook.com/challenges","https://www.instagram.com/challenges","https://www.linkedin.com/company/80846/","https://bsky.app/profile/challengesfr.bsky.social"],publishingPrinciples:"https://www.challenges.fr/charte-deontologique-de-challenges_584313",correctionsPolicy:"https://www.challenges.fr/page/mentions-legales"}),tm(),nm(),(s,i)=>{const o=fo,a=Pf,l=ok;return O(),X("div",null,[Re(a,null,{default:ge(()=>[Re(o)]),_:1}),Re(l)])}}}),lk=M({__name:"Icon",props:{tag:{default:"div"},name:{},size:{default:"1.5rem"},class:{default:""}},setup(e){const t=e,n=x(()=>Ve("flex items-center justify-center",t.class));return(r,s)=>{const i=mo;return O(),V(gt(e.tag),{"data-test":"ui-icon",class:se(F(n))},{default:ge(()=>[Re(i,{name:e.name,size:e.size},null,8,["name","size"]),he(r.$slots,"default")]),_:3},8,["class"])}}}),ck=Object.assign(lk,{__name:"UiIcon"});var $n=(e=>(e.SMALL="SMALL",e.MEDIUM="MEDIUM",e.LARGE="LARGE",e))($n||{}),ve=(e=>(e.CLOUDY="CLOUDY",e.ClOUDY_50="CLOUDY_50",e.CLOUDY_100="CLOUDY_100",e.CLOUDY_750="CLOUDY_750",e.CLOUDY_900="CLOUDY_900",e.TANGERINE="TANGERINE",e.TANGERINE_600="TANGERINE_600",e.POMEGRANATE="POMEGRANATE",e.POMEGRANATE_800="POMEGRANATE_800",e.SANDAL="SANDAL",e.COPPER_CANYON="COPPER_CANYON",e.COPPER_CANYON_700="COPPER_CANYON_700",e.LEMONCELLO="LEMONCELLO",e.LEMONCELLO_500="LEMONCELLO_500",e.LEMONCELLO_600="LEMONCELLO_600",e.WHITE="WHITE",e))(ve||{});const uk={base:"cursor-pointer decoration-inherit",disabled:"opacity-70 cursor-not-allowed select-none",font:"",color:{[ve.TANGERINE_600]:"text-tangerine-600 hover:text-tangerine-500",[ve.POMEGRANATE_800]:"text-pomegranate-800 hover:text-pomegranate-600"}},dk=M({inheritAttrs:!1,__name:"Clickable",props:{to:{default:void 0},external:{type:Boolean,default:!1},tag:{default:"a"},stop:{type:Boolean},disabled:{type:Boolean},hideHrefOnSsr:{type:Boolean,default:!1},ui:{default:()=>({})},class:{default:""},color:{default:void 0}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,{ui:s,attrs:i}=Vt("ui-clickable",Dt(n,"ui"),uk),o=Vl,a=ie(n.hideHrefOnSsr),l=x(()=>n.to?o:n.tag||"a"),c=f=>{const m=[];return l.value!=="nuxt-link"&&m.push("external"),Ao(f,m)},u=x(()=>{const f=Ao(i.value,["href"]),{to:m,external:h}=n;return a.value?c({...f,external:h}):c({...i.value,to:m,external:h})}),d=x(()=>Ve(s.value.base,s.value.font,n.disabled?s.value.disabled:"",n.color&&s.value.color[n.color]?s.value.color[n.color]:"",n.class)),p=f=>{if(i.value.stop!==void 0&&f.stopPropagation(),n.disabled){f.preventDefault();return}r("click",f)};return Rt(()=>{a.value=!1}),(f,m)=>(O(),V(gt(F(l)),ne({class:F(d)},F(u),{onClick:p}),{default:ge(()=>[he(f.$slots,"default")]),_:3},16,["class"]))}}),Yf=Object.assign(dk,{__name:"UiClickable"}),PE=Object.freeze(Object.defineProperty({__proto__:null,default:Yf},Symbol.toStringTag,{value:"Module"})),fk=M({__name:"Button",props:{to:{default:void 0},size:{default:$n.MEDIUM},color:{default:ve.POMEGRANATE},disabled:{type:Boolean,default:!1},hideHrefOnSsr:{type:Boolean},type:{default:"button"},class:{default:""}},emits:["click"],setup(e){const t=e,n=x(()=>{switch(t.size){case $n.SMALL:return"py-2";case $n.LARGE:return"py-4";case $n.MEDIUM:default:return"py-3"}}),r=x(()=>{switch(t.color){case ve.POMEGRANATE:return"bg-pomegranate-600 hover:bg-pomegranate-700 text-white";case ve.TANGERINE:return"bg-tangerine-700 hover:bg-tangerine-800 text-white";case ve.SANDAL:return"bg-sandal-400 hover:bg-sandal-500 text-white";case ve.CLOUDY:return"bg-cloudy-400 hover:bg-cloudy-700 text-white";case ve.ClOUDY_50:return"bg-cloudy-50 hover:bg-cloudy-100 text-cloudy-900";case ve.COPPER_CANYON:return"bg-copper-canyon-800 hover:bg-tangerine-800 text-white";case ve.CLOUDY_750:return"bg-cloudy-700 hover:bg-cloudy-750 text-white whitespace-nowrap";case ve.CLOUDY_900:return"bg-cloudy-900 hover:bg-cloudy-750 text-white whitespace-nowrap";case ve.LEMONCELLO_500:return"bg-lemoncello-500 hover:bg-lemoncello-400 text-cloudy-900 whitespace-nowrap";case ve.WHITE:return"bg-white hover:bg-lemoncello-400 text-black whitespace-nowrap";default:return"bg-pomegranate-600 hover:bg-pomegranate-700 text-white"}}),s=x(()=>Ve("px-4 font-ibm-plex-sans-condensed text-sm font-semibold",n.value,r.value,t.class)),i=x(()=>t.to?{}:{type:t.type});return(o,a)=>{const l=Yf;return O(),V(l,ne({"data-testid":"ui-button",tag:"button",to:e.to,disabled:e.disabled,class:F(s),"hide-href-on-ssr":e.hideHrefOnSsr},F(i),{onClick:a[0]||(a[0]=c=>o.$emit("click",c))}),{default:ge(()=>[he(o.$slots,"default")]),_:3},16,["to","disabled","class","hide-href-on-ssr"])}}}
38),pk=Object.assign(fk,{__name:"UiButton"}),mk=fn(_e.ui.strategy,_e.ui.container,j1),hk=M({inheritAttrs:!1,props:{as:{type:String,default:"div"},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=Vt("container",Dt(e,"ui"),mk),r=x(()=>Ve(ke(t.value.base,t.value.padding,t.value.constrained),e.class));return{ui:t,attrs:n,containerClass:r}}});function gk(e,t,n,r,s,i){return O(),V(gt(e.as),ne({class:e.containerClass},e.attrs),{default:ge(()=>[he(e.$slots,"default")]),_:3},16,["class"])}const yk=Object.assign(st(hk,[["render",gk]]),{__name:"UContainer"});var Jf=(e=>(e.SECTION="section",e.DIV="div",e))(Jf||{});const vk={base:"mx-auto",padding:"px-6 md:px-8",constrained:"w-full max-w-5xxl"},_k=M({inheritAttrs:!1,__name:"Container",props:{as:{default:Jf.DIV},ui:{default:()=>({})},class:{default:""}},setup(e){const t=e,n=x(()=>t.class),{ui:r,attrs:s}=Vt("ui-container",Dt(t,"ui"),vk);return(i,o)=>{const a=yk;return O(),V(a,ne({class:["ui-container",F(n)],as:e.as,ui:F(r)},F(s)),{default:ge(()=>[he(i.$slots,"default")]),_:3},16,["as","ui","class"])}}}),bk=Object.assign(_k,{__name:"UiContainer"}),wk={class:"py-8"},Sk=["src"],kk={class:"mt-8 text-center font-lora text-[140px] font-bold leading-[140px] text-pomegranate-600"},xk={class:"text-center font-lora text-4xl font-bold text-black"},Ek={class:"mt-4 text-center font-ibm-plex-sans text-black"},Tk={class:"mt-8 flex justify-center"},Ok=M({__name:"component",props:{status:{default:0},message:{default:""},to:{default:""}},setup(e){const t=e,n=x(()=>t.status===403?"/images/403.svg":t.status===404?"/images/404.svg":"/images/5xx.svg"),r=x(()=>t.status===403?"Accès interdit":t.status===404?"Page non trouvée":t.message||"Service indisponible"),s=x(()=>t.status.toString().startsWith("4")?"Cette page a été déplacée, supprimée, ou le lien de la page n’est pas correct.":"Nous travaillons à rétablir le service. Veuillez-nous excuser et réessayer plus tard."),i=x(()=>t.to?{to:t.to}:{onClick:()=>Nl({redirect:"/"})});return(o,a)=>{const l=ck,c=pk,u=bk;return O(),V(u,{class:"py-3"},{default:ge(()=>[Se("div",wk,[Se("img",{class:"mx-auto my-0 w-[350px] max-w-full",src:F(n),width:"350",alt:""},null,8,Sk),Se("div",kk,tt(e.status),1),Se("div",xk,tt(F(r)),1),Se("div",Ek,tt(F(s)),1),Se("div",Tk,[Re(c,ne(F(i),{class:"flex items-center gap-2 uppercase"}),{default:ge(()=>[a[0]||(a[0]=Ps(" Retour à l’accueil ",-1)),Re(l,{name:"mdi:arrow-right"})]),_:1},16)])]),a[1]||(a[1]=Se("div",{class:"font-ibm-plex-sans text-xs font-medium text-cloudy-400"}," Web illustrations by Storyset ",-1))]),_:1})}}}),Ik=Object.assign(Ok,{__name:"ErrorPage"}),Ck={class:"error"},$k=M({__name:"error",props:{error:{}},setup(e){return(t,n)=>{const r=Ik,s=Pf;return O(),X("div",Ck,[Re(s,null,{default:ge(()=>[Re(r,{status:e.error.statusCode,message:e.error.message},null,8,["status","message"])]),_:1})])}}}
38),Ak=st($k,[["__scopeId","data-v-8c4cd12a"]]),Nk={key:0},kl={__name:"nuxt-root",setup(e){const t=()=>null,n=Ee(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r),d=Fe().beforeEach(()=>{u(),d()})}const s=!1;Pn(At,Mt()),n.hooks.callHookWith(u=>u.map(d=>d()),"vue:setup",[]);const i=Ii(),o=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function l(u,d,p){const f=n.vueApp.config.errorHandler;if(f&&!f.__nuxt_default)try{f(u,d,p)}catch(m){console.error("[nuxt] Error in `app.config.errorHandler`",m)}}pp((u,d,p)=>{if(n.hooks.callHook("vue:error",u,d,p)?.catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(Oi(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>xt(u)),l(u,d,p),!1});const c=!1;return(u,d)=>(O(),V(Ei,{onResolve:F(r)},{default:ge(()=>[F(o)?(O(),X("div",Nk)):F(i)?(O(),V(F(Ak),{key:1,error:F(i)},null,8,["error"])):F(c)?(O(),V(F(t),{key:2,context:F(c)},null,8,["context"])):F(s)?(O(),V(gt(F(s)),{key:3})):(O(),V(F(ak),{key:4}))]),_:1},8,["onResolve"]))}};let xl;{let e;xl=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?mp(kl):hp(kl),s=rm({vueApp:r});async function i(o){await s.callHook("app:error",o),s.payload.error||=oe(o)}i.__nuxt_default=!0,r.config.errorHandler=i,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===i&&(r.config.errorHandler=void 0)}),!n&&No.id&&s.hook("app:suspense:resolve",()=>{document.getElementById(No.id)?.remove()});try{await sm(s,s1)}catch(o){i(o)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(im),await s.hooks.callHook("app:mounted",r),await Ct()}catch(o){i(o)}return r},e=xl().catch(t=>{throw console.error("Error while mounting app:",t),t})}const FE=(e,t,n=!0)=>{const r=et("form-events",void 0),s=et("form-group",void 0),i=et("form-inputs",void 0);s&&(!n||e?.legend?s.inputId.value=void 0:e?.id&&(s.inputId.value=e?.id),i&&(i.value[s.name.value]=s.inputId.value));const o=ie(!1);function a(d,p){r&&r.emit({type:d,path:p})}function l(){a("blur",s?.name.value),o.value=!0}function c(){a("change",s?.name.value)}const u=U0(()=>{(o.value||s?.eagerValidation.value)&&a("input",s?.name.value)},300);return{inputId:x(()=>e?.id??s?.inputId.value),name:x(()=>e?.name??s?.name.value),size:x(()=>{const d=t.size[s?.size.value]?s?.size.value:null;return e?.size??d??t.default?.size}),color:x(()=>s?.error?.value?"red":e?.color),emitFormBlur:l,emitFormInput:u,emitFormChange:c}};function zE(e){const t=jt(e);if(!t)return;const n=T.fromJSDate(t,{zone:"utc"});if(n.isValid)return n.setZone("Europe/Paris").toISO()||void 0}function jt(e){if(e){if(typeof e=="string")return jt(T.fromISO(e,{zone:"utc"}));if(e instanceof Date&&!Number.isNaN(e.getTime()))return e;if(T.isDateTime(e)&&e.isValid)return e.toJSDate()}}function VE(e){return e=jt(e),e?T.fromJSDate(e).hasSame(T.now(),"day"):!1}function jE(e,t){if(e=jt(e),!!e)return Rk(e,t)}function Rk(e,t){const n=jt(e);if(!n)return;const r=T.fromJSDate(n).setLocale("fr-FR").setZone("Europe/Paris");return t?T[t]!==void 0?r.toLocaleString(T[t]):r.toFormat(t):r.toLocaleString(T.DATE_FULL)}function Dk(e){const{hours:t,minutes:n,seconds:r}=e,s=[];return t&&s.push(`${t}h`),n&&s.push(`${n}'`),r&&s.push(`${r}"`),s.join(" ")}function Kf(e){const t=B.fromDateTimes(T.now().minus({seconds:e}),T.now()).toDuration(["days","hours","minutes","seconds"]).toObject();return t.days=Math.floor(t.days||0),t.hours=Math.floor(t.hours||0),t.minutes=Math.floor(t.minutes||0),t.seconds=Math.floor(t.seconds||0),t}function UE(e){return Dk(Kf(e))}const Lk=new Intl.DateTimeFormat("fr-FR",{day:"numeric",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit",timeZone:"Europe/Paris"});function WE(e){const t=jt(e);if(t)return Lk.format(t).replace(" à ",", ").replace(":","h")}function qE(e){const t=jt(e);if(!t)return;const n=T.fromJSDate(t),r=Kf(Math.floor(Math.abs(n.diffNow("seconds").seconds)));if(r.days){if(r.days>7)return n.toFormat("dd/MM/yyyy");if(r.days>1)return`il y a ${Math.floor(r.days)} jours`;if(r.days===1)return"il y a 1 jour"}return r.hours?r.hours>1?`il y a ${Math.floor(r.hours)} heures`:"il y a 1 heure":r.minutes?r.minutes>1?`il y a ${Math.floor(r.minutes)} minutes`:"il y a 1 minute":r.seconds?r.seconds>1?`il y a ${Math.floor(r.seconds)} secondes`:"il y a 1 seconde":"il y a quelques instants"}const HE=vt({password:Z()}),BE=Et(vt({password:Et(Z(),It(8,"Le mot de passe doit contenir au moins 8 caractères."),jr(100,"Le mot de passe ne peut pas dépasser 100 caractères."),Zt(/[0-9]/,"Le mot de passe doit contenir au moins un chiffre."),Zt(/[a-z]/,"Le mot de passe doit contenir au moins une lettre minuscule."),Zt(/[A-Z]/,"Le mot de passe doit contenir au moins une lettre majuscule."),Zt(/[!@#$%=^+&*(),-._?":{}|<>]/,"Le mot de passe doit contenir au moins un caractère spécial.")),confirmPassword:Z()}),eg(zr(e=>e.confirmPassword===e.password,"Les mots de passe ne correspondent pas"),["confirmPassword"])),GE=Symbol.for("LOGIN_DRAWER"),ZE=Symbol.for("FORGET_PASSWORD_DRAWER"),YE=Symbol.for("hamburger-menu"),JE=Symbol.for("hightlight-menu"),KE=vt({acceptTerms:Et(zi("Vous devez accepter les conditions générales."),zr(e=>e,"Vous devez accepter les conditions générales"))}),XE=vt({subscriptionNumber:Et(Z(),It(1)),firstName:Et(Z(),It(1)),lastName:Et(Z(),It(1)),email:Et(Z(),Vr("L’email est invalide."))}),Mk={class:"footer-only"},Pk=M({__name:"footer",setup(e){return(t,n)=>(O(),X("div",Mk))}}),Fk=Object.freeze(Object.defineProperty({__proto__:null,default:Pk},Symbol.toStringTag,{value:"Module"})),zk={class:"header-only"},Vk=M({__name:"header",setup(e){return(t,n)=>(O(),X("div",zk))}}),jk=Object.freeze(Object.defineProperty({__proto__:null,default:Vk},Symbol.toStringTag,{value:"Module"})),Uk=M({__name:"archive",setup(e){return(t,n)=>{const r=fo;return O(),V(r)}}}),Wk=Object.freeze(Object.defineProperty({__proto__:null,default:Uk},Symbol.toStringTag,{value:"Module"})),qk=M({__name:"index",async setup(e){let t,n;return[t,n]=cr(()=>
38sn({name:"my-account-newsletters"},{replace:!0})),await t,n(),()=>{}}}),Hk=Object.freeze(Object.defineProperty({__proto__:null,default:qk},Symbol.toStringTag,{value:"Module"})),Bk=M({__name:"[...layout]",async setup(e){let t,n;const{$api:r,$pianoAnalytics:s}=Ee(),i=Mt(),{redirect:o}=om();am();const a=x(()=>{const p=[];return typeof i.params.layout=="string"?p.push(i.params.layout):Array.isArray(i.params.layout)&&p.push(...i.params.layout.filter(Boolean)),(i.path.endsWith("/")||i.path.includes("/page-"))&&p.push(""),p}),l=x(()=>a.value.join(":")),{key:c}=cm("alias-",l),{data:u,error:d}=([t,n]=cr(async()=>lm(c.value,async()=>{const{data:p}=await r.alias.aliasFindByAlias({alias:l.value});return p},"$X6QALFxL8i")),t=await t,n(),t);if(d.value?.statusCode===404)throw s?.sendEvent("page.display",{page:"erreur",page_type:"liste",site_level2:"editorial",error:!0,error_line:"404"}),oe({statusCode:404,statusMessage:"Not Found",fatal:!0});if(d.value?.statusCode===403){s?.sendEvent("page.display",{page:"erreur",page_type:"liste",site_level2:"editorial",user_id:"",user_category:"",error:!0,error_line:"403"});const p=i.fullPath.split("/").filter(Boolean);p.pop()([t,n]=cr(()=>sn(`/${p.join("/")}`,{})),await t,n())}return String(d.value?.statusCode).startsWith("30")&&d.value?.data?.response?.headers?.["x-new-location"]&&([t,n]=cr(()=>o(d.value.data.response.headers["x-new-location"],{redirectCode:d.value?.statusCode,replace:!0,forwardCurrentQuery:!0})),await t,n()),(p,f)=>{const m=fo;return F(d)?ue("",!0):(O(),V(m,{key:0,alias:F(u)},null,8,["alias"]))}}}),Gk=Object.freeze(Object.defineProperty({__proto__:null,default:Bk},Symbol.toStringTag,{value:"Module"})),Zk=j(()=>b(()=>import("./B-9uXMK8.js"),__vite__mapDeps([163,103,104,3,4,164,129,100,16,101,130,165]),import.meta.url).then(e=>e.default||e)),Yk=j(()=>b(()=>import("./C8tfr7S8.js"),__vite__mapDeps([166,103,104,3,4,164,167,168,106,1,2,107,108,22,113,23,24,5,114,25,51,115,109,100,16,101]),import.meta.url).then(e=>e.default||e)),Jk=j(()=>b(()=>import("./yT4e8ESC.js"),__vite__mapDeps([169,1,2,3,4,51,156,78,11,13,21,22,23,24,25,26,27,28,170,5,114,113,115,100,16,101,164,171]),import.meta.url).then(e=>e.default||e)),Kk=j(()=>b(()=>import("./BO7vFAV9.js"),__vite__mapDeps([172,3,4,103,104,51,135,100,16,101,20,2,173]),import.meta.url).then(e=>e.default||e)),Xk=M({__name:"page-[page]",props:{alias:{}},setup(e){const t=e,n=x(()=>{switch(t.alias?.type){case $e.TYPE_PAGE_HUB:return Zk;case $e.KEYWORD:return Yk;case $e.USER:return Jk;default:return Kk}});return(r,s)=>(O(),V(gt(F(n)),{alias:e.alias,"is-pagination-page":""},null,8,["alias"]))}}),Qk=Object.freeze(Object.defineProperty({__proto__:null,default:Xk},Symbol.toStringTag,{value:"Module"})),ex=j(()=>b(()=>import("./DyWJtJIz.js"),__vite__mapDeps([174,23,1,2,3,4,24,51,175,27,176]),import.meta.url).then(e=>e.default||e)),tx=j(()=>b(()=>import("./Bd-4tjeY.js"),__vite__mapDeps([177,134,135,3,4]),import.meta.url).then(e=>e.default||e)),nx=j(()=>b(()=>import("./CnpGM0d_.js"),__vite__mapDeps([178,3,4,103,104,33,1,2,97,51,6,7,23,24,179,5,22,180,27,175,181,182,20,156,78,11,13,52,25,26,53,183,184,185,106,107,108,109,186]),import.meta.url).then(e=>e.default||e)),rx=j(()=>b(()=>import("./DwaL9W-q.js"),__vite__mapDeps([187,103,104,3,4,33,97,51,23,1,2,24,5,22,26,27,180,181,182,20,156,78,11,13,52,25,53,183,185,106,107,108,109,188]),import.meta.url).then(e=>e.default||e)),sx=j(()=>b(()=>import("./BO7vFAV9.js"),__vite__mapDeps([172,3,4,103,104,51,135,100,16,101,20,2,173]),import.meta.url).then(e=>e.default||e)),ix=j(()=>b(()=>import("./B-9uXMK8.js"),__vite__mapDeps([163,103,104,3,4,164,129,100,16,101,130,165]),import.meta.url).then(e=>e.default||e)),ox=j(()=>b(()=>import("./C8tfr7S8.js"),__vite__mapDeps([166,103,104,3,4,164,167,168,106,1,2,107,108,22,113,23,24,5,114,25,51,115,109,100,16,101]),import.meta.url).then(e=>e.default||e)),ax=j(()=>b(()=>import("./yT4e8ESC.js"),__vite__mapDeps([169,1,2,3,4,51,156,78,11,13,21,22,23,24,25,26,27,28,170,5,114,113,115,100,16,101,164,171]),import.meta.url).then(e=>e.default||e)),lx=j(()=>b(()=>import("./BG2II3_y.js"),__vite__mapDeps([189,103,104,3,4,97,105,51,1,2,180,33,190,22,23,24,26,27,191]),import.meta.url).then(e=>e.default||e)),cx=M({__name:"index",props:{alias:{}},setup(e){const t=e,n=x(()=>{switch(t.alias?.type){case $e.PAGE:return ex;case $e.LAYOUT:return tx;case $e.ARTICLE:return nx;case $e.SLIDESHOW:return rx;case $e.CATEGORY:return sx;case $e.TYPE_PAGE_HUB:return ix;case $e.KEYWORD:return ox;case $e.USER:return ax;case $e.VIDEO:return lx;default:return"LazyViewsPage"}});return(r,s)=>(O(),V(gt(F(n)),{alias:e.alias},null,8,["alias"]))}}),ux=Object.freeze(Object.defineProperty({__proto__:null,default:cx},Symbol.toStringTag,{value:"Module"}));var dx=(e=>(e[e.TWO=2]="TWO",e[e.THREE=3]="THREE",e))(dx||{});const fx=pe(e=>{if(um(e.path))throw oe({statusCode:410,statusMessage:"Gone"})}),px=Object.freeze(Object.defineProperty({__proto__:null,default:fx},Symbol.toStringTag,{value:"Module"})),mx=pe(async e=>{let t,n;const{loggedIn:r,ready:s,fetch:i}=$t();if(s.value||([t,n]=qe(()=>i()),await t,n()),!r.value)return sn({path:"/auth/connexion",query:{redirectUri:e.fullPath}},{})}),hx=Object.freeze(Object.defineProperty({__proto__:null,default:mx},Symbol.toStringTag,{value:"Module"})),gx=pe(dm),yx=Object.freeze(Object.defineProperty({__proto__:null,default:gx},Symbol.toStringTag,{value:"Module"})),vx=pe(fm),_x=Object.freeze(Object.defineProperty({__proto__:null,default:vx},Symbol.toStringTag,{value:"Module"})),bx=pe(e=>{if(e.fullPath.endsWith("/page-1")){const t=e.fullPath.replace("/page-1","");return sn(t,{replace:!0})}}),wx=Object.freeze(Object.defineProperty({__proto__:null,default:bx},Symbol.toStringTag,{value:"Module"})),Sx=pe(async()=>{let e,t;const{loggedIn:n,ready:r,fetch:s}=$t(),i=Mt();if(r.value||([e,t]=qe(()=>s()),await e,t()),n.value)return sn(i.query?.return_url??"/",{external:!0})}),kx=Object.freeze(Object.defineProperty({__proto__:null,default:Sx},Symbol.toStringTag,{value:"Module"})),xx=pe(e=>{if(!jl(Number(e.params?.year),Number(e.params?.month),Number(e.params?.day)))return on(oe({statusCode:404,message:"Data format is not val
38id"}))}),Ex=Object.freeze(Object.defineProperty({__proto__:null,default:xx},Symbol.toStringTag,{value:"Module"})),Tx=pe(e=>{if(!jl(Number(e.params?.year),Number(e.params?.month)))return on(oe({statusCode:404,message:"Data format is not valid"}))}),Ox=Object.freeze(Object.defineProperty({__proto__:null,default:Tx},Symbol.toStringTag,{value:"Module"})),Ix=pe(e=>{if(!(!e.params?.day||/^(0[1-9]|[12][0-9]|3[01])$/.test(e.params.day.toString())))return on(oe({statusCode:404,message:"The format of day is not valid"}))}),Cx=Object.freeze(Object.defineProperty({__proto__:null,default:Ix},Symbol.toStringTag,{value:"Module"})),$x=pe(e=>{if(e.params?.page&&!Number.isInteger(Number(e.params?.page)))return on(oe({statusCode:404}))}),Ax=Object.freeze(Object.defineProperty({__proto__:null,default:$x},Symbol.toStringTag,{value:"Module"})),Nx=pe(e=>{const t=!e.params?.year||/^\d{4}$/.test(e.params.year.toString())&&Number(e.params.year)>0,n=!e.params?.month||/^(0[1-9]|1[0-2])$/.test(e.params.month.toString());if(!t||!n)return on(oe({statusCode:404,message:"The format of year or month is not valid"}))}),Rx=Object.freeze(Object.defineProperty({__proto__:null,default:Nx},Symbol.toStringTag,{value:"Module"})),Dx=pe(e=>{if(e.params?.year&&!(/^\d{4}$/.test(e.params.year.toString())&&Number(e.params.year)>0))return on(oe({statusCode:404,message:"The format of year is not valid"}))}),Lx=Object.freeze(Object.defineProperty({__proto__:null,default:Dx},Symbol.toStringTag,{value:"Module"})),Mx=pe(e=>{if(!pm(e.path))throw oe({statusCode:404})}),Px=Object.freeze(Object.defineProperty({__proto__:null,default:Mx},Symbol.toStringTag,{value:"Module"})),Fx={},zx={class:"layout-app-page-only"};function Vx(e,t){return O(),X("div",zx,[he(e.$slots,"default")])}const jx=st(Fx,[["render",Vx]]),Ux=Object.freeze(Object.defineProperty({__proto__:null,default:jx},Symbol.toStringTag,{value:"Module"}));function QE(e={}){return{title:"Mocked image title",description:"Mocked image description",legend:"Mocked image legend",alt:"Mocked image alt text",credits:"Mocked image credits",src:"/image.jpg",...e}}export{YE as $,Ou as A,jf as B,Eb as C,xf as D,zi as E,OE as F,hE as G,Af as H,CE as I,zr as J,pE as K,Gx as L,to as M,dx as N,SE as O,ao as P,EE as Q,xE as R,Nn as S,Pb as T,Mb as U,io as V,Xx as W,vk as X,RE as Y,XE as Z,fo as _,Kx as a,vE as a$,oo as a0,Vr as a1,bE as a2,kE as a3,aE as a4,iE as a5,rS as a6,ZE as a7,si as a8,je as a9,ui as aA,Yr as aB,VE as aC,Ni as aD,Rc as aE,Ws as aF,GE as aG,Jx as aH,gE as aI,Gb as aJ,jr as aK,Qr as aL,fn as aM,It as aN,Xb as aO,Iu as aP,vt as aQ,G as aR,Va as aS,yf as aT,HE as aU,BE as aV,ng as aW,Et as aX,TE as aY,Zt as aZ,IS as a_,Ge as aa,tS as ab,dE as ac,eE as ad,zb as ae,eo as af,$E as ag,Xn as ah,oE as ai,mE as aj,ss as ak,JE as al,QE as am,Uf as an,tg as ao,nE as ap,rE as aq,Vb as ar,tE as as,Hb as at,qb as au,jb as av,Wb as aw,Ub as ax,sE as ay,nS as az,PE as b,$f as b0,Kr as b1,cE as b2,di as b3,LE as b4,ME as b5,wE as b6,lE as b7,US as b8,AE as b9,Yx as bA,FE as bB,J1 as bC,Zx as bD,Hl as bE,Vi as bF,nk as bG,Vt as bH,mt as bI,uf as bJ,Sf as ba,Xw as bb,nt as bc,Qx as bd,IE as be,yE as bf,Z as bg,uE as bh,DE as bi,ht as bj,jE as bk,Rk as bl,WE as bm,qE as bn,UE as bo,jt as bp,zE as bq,Qh as br,ke as bs,Ve as bt,$u as bu,rg as bv,wa as bw,Xr as bx,Pi as by,U0 as bz,ve as c,Jf as d,T as e,ye as f,Cw as g,Iw as h,Cr as i,$n as j,pk as k,hn as l,Yf as m,ck as n,Wf as o,Pf as p,bk as q,mo as r,Gf as s,st as t,KE as u,iw as v,fE as w,_E as x,He as y,NE as z};

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