@tsiky/components-r19 1.8.64 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),k=require("react"),a=require("./LineChart-CbXw3Rem.cjs"),lw=require("react-dom"),ae=require("styled-components");function zA(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const c=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,c.get?c:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const J=zA(k),VA="_button_1kuwt_2",PA="_primary_1kuwt_21",TA="_secondary_1kuwt_26",HA="_accent_1kuwt_31",DA="_outline_1kuwt_36",BA="_success_1kuwt_41",RA="_danger_1kuwt_46",FA="_warning_1kuwt_51",EA="_info_1kuwt_56",OA="_sm_1kuwt_62",UA="_md_1kuwt_67",WA="_lg_1kuwt_72",Fe={button:VA,primary:PA,secondary:TA,accent:HA,outline:DA,success:BA,danger:RA,warning:FA,info:EA,sm:OA,md:UA,lg:WA};function Q(e,t,n,c){if(!e||!e.mode||e.mode==="none")return;const{mode:i,moduleName:r,key:s,description:d,titleKey:h,textLabel:l="Texte",guideLabel:u="Guide"}=e,p=n||s,y=c||d,m=t||h,f=(g,M)=>{const x=M?M.trim():"";return x?x.includes(":")?`${g} : ${x.replace(/\s*:\s*/g," : ")}`:r?`${g} : ${r} : ${x}`:`${g} : ${x}`:`${g} : `};if(i==="key")return[f(l||"Texte",m),f(u||"Guide",p)].join(" | ");if(i==="guide")return y||void 0}const tL=({children:e,variant:t="primary",size:n="md",className:c="",type:i="button",a11yConfig:r,...s})=>{const d={primary:Fe.primary,secondary:Fe.secondary,accent:Fe.accent,outline:Fe.outline,success:Fe.success,danger:Fe.danger,warning:Fe.warning,info:Fe.info},h={sm:Fe.sm,md:Fe.md,lg:Fe.lg},l=[Fe.button,d[t]??"",h[n]??"",c].filter(Boolean).join(" ");return o.jsx("button",{type:i,className:l,...s,title:s.title||Q(r,typeof e=="string"?e:void 0),children:e})},Pb=({progress:e,size:t,strokeWidth:n,color:c="#FFD700",bgColor:i="#eef2f6",textColor:r,textTop:s,textBottom:d,label:h,labelColor:l,textTopStyle:u,textBottomStyle:p,className:y=""})=>{t||(t=150);const m=n||t*.1;t+=m;const f=Math.min(5,Math.max(0,Math.floor(e))),g=t/2,M=(t-m)/2,x=2*Math.PI*M,L=x/5*(1-.1),w=x-L;return o.jsxs("div",{className:`circular-progress-container ${y}`,children:[o.jsxs("div",{className:"circular-progress",style:{width:t,height:t},children:[o.jsxs("svg",{width:t,height:t,children:[o.jsx("circle",{cx:g,cy:g,r:M-m/2,fill:i,stroke:"none",style:{filter:"drop-shadow(0px 0px 1px rgba(0,0,0,0.4))"}}),Array.from({length:5}).map((C,b)=>{const _=-90+b*72;return b>=f?null:o.jsx("circle",{cx:g,cy:g,r:M,fill:"transparent",stroke:c,strokeWidth:m,strokeLinecap:"butt",strokeDasharray:`${L} ${w}`,strokeDashoffset:0,transform:`rotate(${_} ${g} ${g})`,style:{transition:"stroke 0.3s ease"}},b)})]}),(s||d)&&o.jsxs("div",{className:"circular-progress-content",style:{color:r},children:[s&&o.jsx("div",{className:"circular-progress-text-top",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-bold)",...u},children:s}),d&&o.jsx("div",{className:"circular-progress-text-bottom",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-medium)",...p},children:d})]})]}),h&&o.jsx("div",{className:"circular-progress-label",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-medium)",color:l||r||"inherit"},children:h})]})},GA="_wrapper_12x8x_1",KA="_list_12x8x_12",ZA="_item_12x8x_22",XA="_badge_12x8x_30",YA="_text_12x8x_42",JA="_tooltip_12x8x_49",nt={wrapper:GA,list:KA,item:ZA,badge:XA,text:YA,tooltip:JA};function Mj({data:e,style:t,defaultBadgeColor:n="#2E7D32",defaultTextColor:c="#000",bgColor:i="transparent",activateTooltip:r=!0,maxVisible:s=3,width:d="auto",gap:h=0}){const[l,u]=k.useState(!1),[p,y]=k.useState(null),m=k.useRef(null);k.useEffect(()=>{function x(v){v.key==="Escape"&&u(!1)}return l&&document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[l]),k.useEffect(()=>{function x(v){m.current&&!m.current.contains(v.target)&&u(!1)}return l&&document.addEventListener("mousedown",x),()=>document.removeEventListener("mousedown",x)},[l]);function f(x){r&&(x.preventDefault(),y({x:x.clientX,y:x.clientY}),u(!0))}const g=e.slice(0,s),M=x=>typeof x=="number"?`${x}px`:x;return o.jsxs("div",{className:nt.wrapper,style:{width:M(d),background:i,...t,"--gap":M(h)},onContextMenu:f,"aria-label":"liste-badges",children:[o.jsx("ul",{className:nt.list,children:g.map((x,v)=>o.jsxs("li",{className:nt.item,children:[o.jsx("span",{className:nt.badge,style:{backgroundColor:x.badgeColor??n},"aria-hidden":!0}),o.jsx("span",{className:nt.text,style:{color:x.textColor??c},children:x.text})]},v))}),r&&l&&p&&o.jsx("div",{className:nt.tooltip,style:{left:p.x+8,top:p.y+8,backgroundColor:i,"--gap":M(h)},role:"dialog","aria-modal":"false",ref:m,children:o.jsx("ul",{className:nt.list,children:e.map((x,v)=>o.jsxs("li",{className:nt.item,children:[o.jsx("span",{className:nt.badge,style:{backgroundColor:x.badgeColor??n}}),o.jsx("span",{className:nt.text,style:{color:x.textColor??"#000"},children:x.text})]},v))})})]})}/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),k=require("react"),a=require("./LineChart-CbXw3Rem.cjs"),lw=require("react-dom"),te=require("styled-components");function zA(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const c=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,c.get?c:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const J=zA(k),VA="_button_1kuwt_2",PA="_primary_1kuwt_21",TA="_secondary_1kuwt_26",HA="_accent_1kuwt_31",DA="_outline_1kuwt_36",BA="_success_1kuwt_41",RA="_danger_1kuwt_46",FA="_warning_1kuwt_51",EA="_info_1kuwt_56",OA="_sm_1kuwt_62",UA="_md_1kuwt_67",WA="_lg_1kuwt_72",Fe={button:VA,primary:PA,secondary:TA,accent:HA,outline:DA,success:BA,danger:RA,warning:FA,info:EA,sm:OA,md:UA,lg:WA};function Q(e,t,n,c){if(!e||!e.mode||e.mode==="none")return;const{mode:i,moduleName:r,key:s,description:d,titleKey:h,textLabel:l="Texte",guideLabel:u="Guide"}=e,p=n||s,y=c||d,m=t||h,f=(g,M)=>{const x=M?M.trim():"";return x?x.includes(":")?`${g} : ${x.replace(/\s*:\s*/g," : ")}`:r?`${g} : ${r} : ${x}`:`${g} : ${x}`:`${g} : `};if(i==="key")return[f(l||"Texte",m),f(u||"Guide",p)].join(" | ");if(i==="guide")return y||void 0}const tL=({children:e,variant:t="primary",size:n="md",className:c="",type:i="button",a11yConfig:r,...s})=>{const d={primary:Fe.primary,secondary:Fe.secondary,accent:Fe.accent,outline:Fe.outline,success:Fe.success,danger:Fe.danger,warning:Fe.warning,info:Fe.info},h={sm:Fe.sm,md:Fe.md,lg:Fe.lg},l=[Fe.button,d[t]??"",h[n]??"",c].filter(Boolean).join(" ");return o.jsx("button",{type:i,className:l,...s,title:s.title||Q(r,typeof e=="string"?e:void 0),children:e})},Pb=({progress:e,size:t,strokeWidth:n,color:c="#FFD700",bgColor:i="#eef2f6",textColor:r,textTop:s,textBottom:d,label:h,labelColor:l,textTopStyle:u,textBottomStyle:p,className:y=""})=>{t||(t=150);const m=n||t*.1;t+=m;const f=Math.min(5,Math.max(0,Math.floor(e))),g=t/2,M=(t-m)/2,x=2*Math.PI*M,L=x/5*(1-.1),w=x-L;return o.jsxs("div",{className:`circular-progress-container ${y}`,children:[o.jsxs("div",{className:"circular-progress",style:{width:t,height:t},children:[o.jsxs("svg",{width:t,height:t,children:[o.jsx("circle",{cx:g,cy:g,r:M-m/2,fill:i,stroke:"none",style:{filter:"drop-shadow(0px 0px 1px rgba(0,0,0,0.4))"}}),Array.from({length:5}).map((C,b)=>{const _=-90+b*72;return b>=f?null:o.jsx("circle",{cx:g,cy:g,r:M,fill:"transparent",stroke:c,strokeWidth:m,strokeLinecap:"butt",strokeDasharray:`${L} ${w}`,strokeDashoffset:0,transform:`rotate(${_} ${g} ${g})`,style:{transition:"stroke 0.3s ease"}},b)})]}),(s||d)&&o.jsxs("div",{className:"circular-progress-content",style:{color:r},children:[s&&o.jsx("div",{className:"circular-progress-text-top",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-bold)",...u},children:s}),d&&o.jsx("div",{className:"circular-progress-text-bottom",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-medium)",...p},children:d})]})]}),h&&o.jsx("div",{className:"circular-progress-label",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-medium)",color:l||r||"inherit"},children:h})]})},GA="_wrapper_12x8x_1",KA="_list_12x8x_12",ZA="_item_12x8x_22",XA="_badge_12x8x_30",YA="_text_12x8x_42",JA="_tooltip_12x8x_49",nt={wrapper:GA,list:KA,item:ZA,badge:XA,text:YA,tooltip:JA};function Mj({data:e,style:t,defaultBadgeColor:n="#2E7D32",defaultTextColor:c="#000",bgColor:i="transparent",activateTooltip:r=!0,maxVisible:s=3,width:d="auto",gap:h=0}){const[l,u]=k.useState(!1),[p,y]=k.useState(null),m=k.useRef(null);k.useEffect(()=>{function x(v){v.key==="Escape"&&u(!1)}return l&&document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[l]),k.useEffect(()=>{function x(v){m.current&&!m.current.contains(v.target)&&u(!1)}return l&&document.addEventListener("mousedown",x),()=>document.removeEventListener("mousedown",x)},[l]);function f(x){r&&(x.preventDefault(),y({x:x.clientX,y:x.clientY}),u(!0))}const g=e.slice(0,s),M=x=>typeof x=="number"?`${x}px`:x;return o.jsxs("div",{className:nt.wrapper,style:{width:M(d),background:i,...t,"--gap":M(h)},onContextMenu:f,"aria-label":"liste-badges",children:[o.jsx("ul",{className:nt.list,children:g.map((x,v)=>o.jsxs("li",{className:nt.item,children:[o.jsx("span",{className:nt.badge,style:{backgroundColor:x.badgeColor??n},"aria-hidden":!0}),o.jsx("span",{className:nt.text,style:{color:x.textColor??c},children:x.text})]},v))}),r&&l&&p&&o.jsx("div",{className:nt.tooltip,style:{left:p.x+8,top:p.y+8,backgroundColor:i,"--gap":M(h)},role:"dialog","aria-modal":"false",ref:m,children:o.jsx("ul",{className:nt.list,children:e.map((x,v)=>o.jsxs("li",{className:nt.item,children:[o.jsx("span",{className:nt.badge,style:{backgroundColor:x.badgeColor??n}}),o.jsx("span",{className:nt.text,style:{color:x.textColor??"#000"},children:x.text})]},v))})})]})}/**
2
2
  * @license lucide-react v0.540.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -8158,7 +8158,7 @@
8158
8158
  *
8159
8159
  * This source code is licensed under the ISC license.
8160
8160
  * See the LICENSE file in the root directory of this source tree.
8161
- */const mt=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:ni,AArrowDownIcon:ni,AArrowUp:oi,AArrowUpIcon:oi,ALargeSmall:ci,ALargeSmallIcon:ci,Accessibility:g1,AccessibilityIcon:g1,Activity:v1,ActivityIcon:v1,ActivitySquare:Nt,ActivitySquareIcon:Nt,AirVent:ii,AirVentIcon:ii,Airplay:ri,AirplayIcon:ri,AlarmCheck:Ft,AlarmCheckIcon:Ft,AlarmClock:di,AlarmClockCheck:Ft,AlarmClockCheckIcon:Ft,AlarmClockIcon:di,AlarmClockMinus:Et,AlarmClockMinusIcon:Et,AlarmClockOff:si,AlarmClockOffIcon:si,AlarmClockPlus:Ot,AlarmClockPlusIcon:Ot,AlarmMinus:Et,AlarmMinusIcon:Et,AlarmPlus:Ot,AlarmPlusIcon:Ot,AlarmSmoke:li,AlarmSmokeIcon:li,Album:hi,AlbumIcon:hi,AlertCircle:ga,AlertCircleIcon:ga,AlertOctagon:Rn,AlertOctagonIcon:Rn,AlertTriangle:uc,AlertTriangleIcon:uc,AlignCenter:fi,AlignCenterHorizontal:ui,AlignCenterHorizontalIcon:ui,AlignCenterIcon:fi,AlignCenterVertical:pi,AlignCenterVerticalIcon:pi,AlignEndHorizontal:yi,AlignEndHorizontalIcon:yi,AlignEndVertical:ki,AlignEndVerticalIcon:ki,AlignHorizontalDistributeCenter:mi,AlignHorizontalDistributeCenterIcon:mi,AlignHorizontalDistributeEnd:gi,AlignHorizontalDistributeEndIcon:gi,AlignHorizontalDistributeStart:vi,AlignHorizontalDistributeStartIcon:vi,AlignHorizontalJustifyCenter:Mi,AlignHorizontalJustifyCenterIcon:Mi,AlignHorizontalJustifyEnd:xi,AlignHorizontalJustifyEndIcon:xi,AlignHorizontalJustifyStart:_i,AlignHorizontalJustifyStartIcon:_i,AlignHorizontalSpaceAround:Li,AlignHorizontalSpaceAroundIcon:Li,AlignHorizontalSpaceBetween:bi,AlignHorizontalSpaceBetweenIcon:bi,AlignJustify:Ii,AlignJustifyIcon:Ii,AlignLeft:wi,AlignLeftIcon:wi,AlignRight:Ci,AlignRightIcon:Ci,AlignStartHorizontal:Ni,AlignStartHorizontalIcon:Ni,AlignStartVertical:Si,AlignStartVerticalIcon:Si,AlignVerticalDistributeCenter:$i,AlignVerticalDistributeCenterIcon:$i,AlignVerticalDistributeEnd:ji,AlignVerticalDistributeEndIcon:ji,AlignVerticalDistributeStart:Ai,AlignVerticalDistributeStartIcon:Ai,AlignVerticalJustifyCenter:qi,AlignVerticalJustifyCenterIcon:qi,AlignVerticalJustifyEnd:zi,AlignVerticalJustifyEndIcon:zi,AlignVerticalJustifyStart:Vi,AlignVerticalJustifyStartIcon:Vi,AlignVerticalSpaceAround:Ti,AlignVerticalSpaceAroundIcon:Ti,AlignVerticalSpaceBetween:Pi,AlignVerticalSpaceBetweenIcon:Pi,Ambulance:Hi,AmbulanceIcon:Hi,Ampersand:Di,AmpersandIcon:Di,Ampersands:Bi,AmpersandsIcon:Bi,Amphora:Ri,AmphoraIcon:Ri,Anchor:Fi,AnchorIcon:Fi,Angry:Ei,AngryIcon:Ei,Annoyed:Oi,AnnoyedIcon:Oi,Antenna:Ui,AntennaIcon:Ui,Anvil:Wi,AnvilIcon:Wi,Aperture:Gi,ApertureIcon:Gi,AppWindow:Zi,AppWindowIcon:Zi,AppWindowMac:Ki,AppWindowMacIcon:Ki,Apple:Xi,AppleIcon:Xi,Archive:Qi,ArchiveIcon:Qi,ArchiveRestore:Yi,ArchiveRestoreIcon:Yi,ArchiveX:Ji,ArchiveXIcon:Ji,AreaChart:ca,AreaChartIcon:ca,Armchair:er,ArmchairIcon:er,ArrowBigDown:ar,ArrowBigDownDash:tr,ArrowBigDownDashIcon:tr,ArrowBigDownIcon:ar,ArrowBigLeft:or,ArrowBigLeftDash:nr,ArrowBigLeftDashIcon:nr,ArrowBigLeftIcon:or,ArrowBigRight:ir,ArrowBigRightDash:cr,ArrowBigRightDashIcon:cr,ArrowBigRightIcon:ir,ArrowBigUp:sr,ArrowBigUpDash:rr,ArrowBigUpDashIcon:rr,ArrowBigUpIcon:sr,ArrowDown:Zc,ArrowDown01:dr,ArrowDown01Icon:dr,ArrowDown10:lr,ArrowDown10Icon:lr,ArrowDownAZ:Ut,ArrowDownAZIcon:Ut,ArrowDownAz:Ut,ArrowDownAzIcon:Ut,ArrowDownCircle:va,ArrowDownCircleIcon:va,ArrowDownFromLine:hr,ArrowDownFromLineIcon:hr,ArrowDownIcon:Zc,ArrowDownLeft:ur,ArrowDownLeftFromCircle:xa,ArrowDownLeftFromCircleIcon:xa,ArrowDownLeftFromSquare:ko,ArrowDownLeftFromSquareIcon:ko,ArrowDownLeftIcon:ur,ArrowDownLeftSquare:ho,ArrowDownLeftSquareIcon:ho,ArrowDownNarrowWide:pr,ArrowDownNarrowWideIcon:pr,ArrowDownRight:yr,ArrowDownRightFromCircle:_a,ArrowDownRightFromCircleIcon:_a,ArrowDownRightFromSquare:mo,ArrowDownRightFromSquareIcon:mo,ArrowDownRightIcon:yr,ArrowDownRightSquare:uo,ArrowDownRightSquareIcon:uo,ArrowDownSquare:po,ArrowDownSquareIcon:po,ArrowDownToDot:kr,ArrowDownToDotIcon:kr,ArrowDownToLine:mr,ArrowDownToLineIcon:mr,ArrowDownUp:fr,ArrowDownUpIcon:fr,ArrowDownWideNarrow:Wt,ArrowDownWideNarrowIcon:Wt,ArrowDownZA:Gt,ArrowDownZAIcon:Gt,ArrowDownZa:Gt,ArrowDownZaIcon:Gt,ArrowLeft:M1,ArrowLeftCircle:Ma,ArrowLeftCircleIcon:Ma,ArrowLeftFromLine:gr,ArrowLeftFromLineIcon:gr,ArrowLeftIcon:M1,ArrowLeftRight:vr,ArrowLeftRightIcon:vr,ArrowLeftSquare:yo,ArrowLeftSquareIcon:yo,ArrowLeftToLine:Mr,ArrowLeftToLineIcon:Mr,ArrowRight:Ir,ArrowRightCircle:ba,ArrowRightCircleIcon:ba,ArrowRightFromLine:xr,ArrowRightFromLineIcon:xr,ArrowRightIcon:Ir,ArrowRightLeft:_r,ArrowRightLeftIcon:_r,ArrowRightSquare:vo,ArrowRightSquareIcon:vo,ArrowRightToLine:Lr,ArrowRightToLineIcon:Lr,ArrowUp:Xc,ArrowUp01:br,ArrowUp01Icon:br,ArrowUp10:wr,ArrowUp10Icon:wr,ArrowUpAZ:Kt,ArrowUpAZIcon:Kt,ArrowUpAz:Kt,ArrowUpAzIcon:Kt,ArrowUpCircle:wa,ArrowUpCircleIcon:wa,ArrowUpDown:Cr,ArrowUpDownIcon:Cr,ArrowUpFromDot:Nr,ArrowUpFromDotIcon:Nr,ArrowUpFromLine:Sr,ArrowUpFromLineIcon:Sr,ArrowUpIcon:Xc,ArrowUpLeft:jr,ArrowUpLeftFromCircle:La,ArrowUpLeftFromCircleIcon:La,ArrowUpLeftFromSquare:fo,ArrowUpLeftFromSquareIcon:fo,ArrowUpLeftIcon:jr,ArrowUpLeftSquare:Mo,ArrowUpLeftSquareIcon:Mo,ArrowUpNarrowWide:Zt,ArrowUpNarrowWideIcon:Zt,ArrowUpRight:$r,ArrowUpRightFromCircle:Ia,ArrowUpRightFromCircleIcon:Ia,ArrowUpRightFromSquare:go,ArrowUpRightFromSquareIcon:go,ArrowUpRightIcon:$r,ArrowUpRightSquare:xo,ArrowUpRightSquareIcon:xo,ArrowUpSquare:_o,ArrowUpSquareIcon:_o,ArrowUpToLine:qr,ArrowUpToLineIcon:qr,ArrowUpWideNarrow:Ar,ArrowUpWideNarrowIcon:Ar,ArrowUpZA:Xt,ArrowUpZAIcon:Xt,ArrowUpZa:Xt,ArrowUpZaIcon:Xt,ArrowsUpFromLine:zr,ArrowsUpFromLineIcon:zr,Asterisk:Vr,AsteriskIcon:Vr,AsteriskSquare:Lo,AsteriskSquareIcon:Lo,AtSign:Pr,AtSignIcon:Pr,Atom:Tr,AtomIcon:Tr,AudioLines:Hr,AudioLinesIcon:Hr,AudioWaveform:Dr,AudioWaveformIcon:Dr,Award:Br,AwardIcon:Br,Axe:Rr,AxeIcon:Rr,Axis3D:Yt,Axis3DIcon:Yt,Axis3d:Yt,Axis3dIcon:Yt,Baby:Fr,BabyIcon:Fr,Backpack:Er,BackpackIcon:Er,Badge:cs,BadgeAlert:Or,BadgeAlertIcon:Or,BadgeCent:Ur,BadgeCentIcon:Ur,BadgeCheck:Jt,BadgeCheckIcon:Jt,BadgeDollarSign:Wr,BadgeDollarSignIcon:Wr,BadgeEuro:Gr,BadgeEuroIcon:Gr,BadgeHelp:Qt,BadgeHelpIcon:Qt,BadgeIcon:cs,BadgeIndianRupee:Kr,BadgeIndianRupeeIcon:Kr,BadgeInfo:Zr,BadgeInfoIcon:Zr,BadgeJapaneseYen:Yr,BadgeJapaneseYenIcon:Yr,BadgeMinus:Xr,BadgeMinusIcon:Xr,BadgePercent:Jr,BadgePercentIcon:Jr,BadgePlus:Qr,BadgePlusIcon:Qr,BadgePoundSterling:es,BadgePoundSterlingIcon:es,BadgeQuestionMark:Qt,BadgeQuestionMarkIcon:Qt,BadgeRussianRuble:ts,BadgeRussianRubleIcon:ts,BadgeSwissFranc:as,BadgeSwissFrancIcon:as,BadgeTurkishLira:ns,BadgeTurkishLiraIcon:ns,BadgeX:os,BadgeXIcon:os,BaggageClaim:is,BaggageClaimIcon:is,Ban:rs,BanIcon:rs,Banana:ss,BananaIcon:ss,Bandage:ds,BandageIcon:ds,Banknote:ps,BanknoteArrowDown:ls,BanknoteArrowDownIcon:ls,BanknoteArrowUp:hs,BanknoteArrowUpIcon:hs,BanknoteIcon:ps,BanknoteX:us,BanknoteXIcon:us,BarChart:pa,BarChart2:ya,BarChart2Icon:ya,BarChart3:ha,BarChart3Icon:ha,BarChart4:la,BarChart4Icon:la,BarChartBig:da,BarChartBigIcon:da,BarChartHorizontal:ra,BarChartHorizontalBig:ia,BarChartHorizontalBigIcon:ia,BarChartHorizontalIcon:ra,BarChartIcon:pa,Barcode:ys,BarcodeIcon:ys,Barrel:ks,BarrelIcon:ks,Baseline:ms,BaselineIcon:ms,Bath:fs,BathIcon:fs,Battery:Is,BatteryCharging:gs,BatteryChargingIcon:gs,BatteryFull:vs,BatteryFullIcon:vs,BatteryIcon:Is,BatteryLow:Ms,BatteryLowIcon:Ms,BatteryMedium:xs,BatteryMediumIcon:xs,BatteryPlus:_s,BatteryPlusIcon:_s,BatteryWarning:Ls,BatteryWarningIcon:Ls,Beaker:bs,BeakerIcon:bs,Bean:Cs,BeanIcon:Cs,BeanOff:ws,BeanOffIcon:ws,Bed:js,BedDouble:Ns,BedDoubleIcon:Ns,BedIcon:js,BedSingle:Ss,BedSingleIcon:Ss,Beef:$s,BeefIcon:$s,Beer:As,BeerIcon:As,BeerOff:qs,BeerOffIcon:qs,Bell:Ds,BellDot:zs,BellDotIcon:zs,BellElectric:Vs,BellElectricIcon:Vs,BellIcon:Ds,BellMinus:Ps,BellMinusIcon:Ps,BellOff:Ts,BellOffIcon:Ts,BellPlus:Hs,BellPlusIcon:Hs,BellRing:Bs,BellRingIcon:Bs,BetweenHorizonalEnd:ea,BetweenHorizonalEndIcon:ea,BetweenHorizonalStart:ta,BetweenHorizonalStartIcon:ta,BetweenHorizontalEnd:ea,BetweenHorizontalEndIcon:ea,BetweenHorizontalStart:ta,BetweenHorizontalStartIcon:ta,BetweenVerticalEnd:Fs,BetweenVerticalEndIcon:Fs,BetweenVerticalStart:Rs,BetweenVerticalStartIcon:Rs,BicepsFlexed:Es,BicepsFlexedIcon:Es,Bike:Us,BikeIcon:Us,Binary:Os,BinaryIcon:Os,Binoculars:Ws,BinocularsIcon:Ws,Biohazard:Gs,BiohazardIcon:Gs,Bird:Ks,BirdIcon:Ks,Bitcoin:Zs,BitcoinIcon:Zs,Blend:Xs,BlendIcon:Xs,Blinds:Ys,BlindsIcon:Ys,Blocks:Js,BlocksIcon:Js,Bluetooth:a2,BluetoothConnected:Qs,BluetoothConnectedIcon:Qs,BluetoothIcon:a2,BluetoothOff:e2,BluetoothOffIcon:e2,BluetoothSearching:t2,BluetoothSearchingIcon:t2,Bold:n2,BoldIcon:n2,Bolt:o2,BoltIcon:o2,Bomb:c2,BombIcon:c2,Bone:i2,BoneIcon:i2,Book:j2,BookA:r2,BookAIcon:r2,BookAlert:s2,BookAlertIcon:s2,BookAudio:d2,BookAudioIcon:d2,BookCheck:l2,BookCheckIcon:l2,BookCopy:h2,BookCopyIcon:h2,BookDashed:aa,BookDashedIcon:aa,BookDown:u2,BookDownIcon:u2,BookHeadphones:p2,BookHeadphonesIcon:p2,BookHeart:y2,BookHeartIcon:y2,BookIcon:j2,BookImage:k2,BookImageIcon:k2,BookKey:m2,BookKeyIcon:m2,BookLock:f2,BookLockIcon:f2,BookMarked:v2,BookMarkedIcon:v2,BookMinus:g2,BookMinusIcon:g2,BookOpen:_2,BookOpenCheck:M2,BookOpenCheckIcon:M2,BookOpenIcon:_2,BookOpenText:x2,BookOpenTextIcon:x2,BookPlus:L2,BookPlusIcon:L2,BookTemplate:aa,BookTemplateIcon:aa,BookText:I2,BookTextIcon:I2,BookType:b2,BookTypeIcon:b2,BookUp:C2,BookUp2:w2,BookUp2Icon:w2,BookUpIcon:C2,BookUser:N2,BookUserIcon:N2,BookX:S2,BookXIcon:S2,Bookmark:V2,BookmarkCheck:$2,BookmarkCheckIcon:$2,BookmarkIcon:V2,BookmarkMinus:q2,BookmarkMinusIcon:q2,BookmarkPlus:A2,BookmarkPlusIcon:A2,BookmarkX:z2,BookmarkXIcon:z2,BoomBox:P2,BoomBoxIcon:P2,Bot:D2,BotIcon:D2,BotMessageSquare:T2,BotMessageSquareIcon:T2,BotOff:H2,BotOffIcon:H2,BottleWine:B2,BottleWineIcon:B2,BowArrow:R2,BowArrowIcon:R2,Box:F2,BoxIcon:F2,BoxSelect:zo,BoxSelectIcon:zo,Boxes:E2,BoxesIcon:E2,Braces:na,BracesIcon:na,Brackets:O2,BracketsIcon:O2,Brain:G2,BrainCircuit:U2,BrainCircuitIcon:U2,BrainCog:W2,BrainCogIcon:W2,BrainIcon:G2,BrickWall:X2,BrickWallFire:K2,BrickWallFireIcon:K2,BrickWallIcon:X2,BrickWallShield:Z2,BrickWallShieldIcon:Z2,Briefcase:ed,BriefcaseBusiness:Y2,BriefcaseBusinessIcon:Y2,BriefcaseConveyorBelt:J2,BriefcaseConveyorBeltIcon:J2,BriefcaseIcon:ed,BriefcaseMedical:Q2,BriefcaseMedicalIcon:Q2,BringToFront:td,BringToFrontIcon:td,Brush:nd,BrushCleaning:ad,BrushCleaningIcon:ad,BrushIcon:nd,Bubbles:od,BubblesIcon:od,Bug:sd,BugIcon:sd,BugOff:cd,BugOffIcon:cd,BugPlay:id,BugPlayIcon:id,Building:dd,Building2:rd,Building2Icon:rd,BuildingIcon:dd,Bus:hd,BusFront:ld,BusFrontIcon:ld,BusIcon:hd,Cable:pd,CableCar:ud,CableCarIcon:ud,CableIcon:pd,Cake:kd,CakeIcon:kd,CakeSlice:yd,CakeSliceIcon:yd,Calculator:md,CalculatorIcon:md,Calendar:x1,Calendar1:fd,Calendar1Icon:fd,CalendarArrowDown:gd,CalendarArrowDownIcon:gd,CalendarArrowUp:vd,CalendarArrowUpIcon:vd,CalendarCheck:xd,CalendarCheck2:Md,CalendarCheck2Icon:Md,CalendarCheckIcon:xd,CalendarClock:_d,CalendarClockIcon:_d,CalendarCog:Ld,CalendarCogIcon:Ld,CalendarDays:Id,CalendarDaysIcon:Id,CalendarFold:bd,CalendarFoldIcon:bd,CalendarHeart:wd,CalendarHeartIcon:wd,CalendarIcon:x1,CalendarMinus:Nd,CalendarMinus2:Cd,CalendarMinus2Icon:Cd,CalendarMinusIcon:Nd,CalendarOff:Sd,CalendarOffIcon:Sd,CalendarPlus:$d,CalendarPlus2:jd,CalendarPlus2Icon:jd,CalendarPlusIcon:$d,CalendarRange:qd,CalendarRangeIcon:qd,CalendarSearch:Ad,CalendarSearchIcon:Ad,CalendarSync:zd,CalendarSyncIcon:zd,CalendarX:Pd,CalendarX2:Vd,CalendarX2Icon:Vd,CalendarXIcon:Pd,Camera:Hd,CameraIcon:Hd,CameraOff:Td,CameraOffIcon:Td,CandlestickChart:sa,CandlestickChartIcon:sa,Candy:Rd,CandyCane:Dd,CandyCaneIcon:Dd,CandyIcon:Rd,CandyOff:Bd,CandyOffIcon:Bd,Cannabis:Fd,CannabisIcon:Fd,Captions:oa,CaptionsIcon:oa,CaptionsOff:Ed,CaptionsOffIcon:Ed,Car:Wd,CarFront:Od,CarFrontIcon:Od,CarIcon:Wd,CarTaxiFront:Ud,CarTaxiFrontIcon:Ud,Caravan:Gd,CaravanIcon:Gd,CardSim:Kd,CardSimIcon:Kd,Carrot:Zd,CarrotIcon:Zd,CaseLower:Xd,CaseLowerIcon:Xd,CaseSensitive:Yd,CaseSensitiveIcon:Yd,CaseUpper:Jd,CaseUpperIcon:Jd,CassetteTape:Qd,CassetteTapeIcon:Qd,Cast:e0,CastIcon:e0,Castle:a0,CastleIcon:a0,Cat:t0,CatIcon:t0,Cctv:n0,CctvIcon:n0,ChartArea:ca,ChartAreaIcon:ca,ChartBar:ra,ChartBarBig:ia,ChartBarBigIcon:ia,ChartBarDecreasing:o0,ChartBarDecreasingIcon:o0,ChartBarIcon:ra,ChartBarIncreasing:c0,ChartBarIncreasingIcon:c0,ChartBarStacked:i0,ChartBarStackedIcon:i0,ChartCandlestick:sa,ChartCandlestickIcon:sa,ChartColumn:ha,ChartColumnBig:da,ChartColumnBigIcon:da,ChartColumnDecreasing:r0,ChartColumnDecreasingIcon:r0,ChartColumnIcon:ha,ChartColumnIncreasing:la,ChartColumnIncreasingIcon:la,ChartColumnStacked:s0,ChartColumnStackedIcon:s0,ChartGantt:d0,ChartGanttIcon:d0,ChartLine:ua,ChartLineIcon:ua,ChartNetwork:l0,ChartNetworkIcon:l0,ChartNoAxesColumn:ya,ChartNoAxesColumnDecreasing:h0,ChartNoAxesColumnDecreasingIcon:h0,ChartNoAxesColumnIcon:ya,ChartNoAxesColumnIncreasing:pa,ChartNoAxesColumnIncreasingIcon:pa,ChartNoAxesCombined:u0,ChartNoAxesCombinedIcon:u0,ChartNoAxesGantt:ka,ChartNoAxesGanttIcon:ka,ChartPie:ma,ChartPieIcon:ma,ChartScatter:fa,ChartScatterIcon:fa,ChartSpline:p0,ChartSplineIcon:p0,Check:_1,CheckCheck:y0,CheckCheckIcon:y0,CheckCircle:Ca,CheckCircle2:Na,CheckCircle2Icon:Na,CheckCircleIcon:Ca,CheckIcon:_1,CheckLine:k0,CheckLineIcon:k0,CheckSquare:bo,CheckSquare2:wo,CheckSquare2Icon:wo,CheckSquareIcon:bo,ChefHat:m0,ChefHatIcon:m0,Cherry:f0,CherryIcon:f0,ChevronDown:qt,ChevronDownCircle:Sa,ChevronDownCircleIcon:Sa,ChevronDownIcon:qt,ChevronDownSquare:Co,ChevronDownSquareIcon:Co,ChevronFirst:g0,ChevronFirstIcon:g0,ChevronLast:v0,ChevronLastIcon:v0,ChevronLeft:M0,ChevronLeftCircle:ja,ChevronLeftCircleIcon:ja,ChevronLeftIcon:M0,ChevronLeftSquare:No,ChevronLeftSquareIcon:No,ChevronRight:L1,ChevronRightCircle:$a,ChevronRightCircleIcon:$a,ChevronRightIcon:L1,ChevronRightSquare:So,ChevronRightSquareIcon:So,ChevronUp:jc,ChevronUpCircle:qa,ChevronUpCircleIcon:qa,ChevronUpIcon:jc,ChevronUpSquare:jo,ChevronUpSquareIcon:jo,ChevronsDown:_0,ChevronsDownIcon:_0,ChevronsDownUp:x0,ChevronsDownUpIcon:x0,ChevronsLeft:I0,ChevronsLeftIcon:I0,ChevronsLeftRight:L0,ChevronsLeftRightEllipsis:b0,ChevronsLeftRightEllipsisIcon:b0,ChevronsLeftRightIcon:L0,ChevronsRight:C0,ChevronsRightIcon:C0,ChevronsRightLeft:w0,ChevronsRightLeftIcon:w0,ChevronsUp:N0,ChevronsUpDown:Yc,ChevronsUpDownIcon:Yc,ChevronsUpIcon:N0,Chrome:S0,ChromeIcon:S0,Church:j0,ChurchIcon:j0,Cigarette:q0,CigaretteIcon:q0,CigaretteOff:$0,CigaretteOffIcon:$0,Circle:W0,CircleAlert:ga,CircleAlertIcon:ga,CircleArrowDown:va,CircleArrowDownIcon:va,CircleArrowLeft:Ma,CircleArrowLeftIcon:Ma,CircleArrowOutDownLeft:xa,CircleArrowOutDownLeftIcon:xa,CircleArrowOutDownRight:_a,CircleArrowOutDownRightIcon:_a,CircleArrowOutUpLeft:La,CircleArrowOutUpLeftIcon:La,CircleArrowOutUpRight:Ia,CircleArrowOutUpRightIcon:Ia,CircleArrowRight:ba,CircleArrowRightIcon:ba,CircleArrowUp:wa,CircleArrowUpIcon:wa,CircleCheck:Na,CircleCheckBig:Ca,CircleCheckBigIcon:Ca,CircleCheckIcon:Na,CircleChevronDown:Sa,CircleChevronDownIcon:Sa,CircleChevronLeft:ja,CircleChevronLeftIcon:ja,CircleChevronRight:$a,CircleChevronRightIcon:$a,CircleChevronUp:qa,CircleChevronUpIcon:qa,CircleDashed:A0,CircleDashedIcon:A0,CircleDivide:Aa,CircleDivideIcon:Aa,CircleDollarSign:V0,CircleDollarSignIcon:V0,CircleDot:P0,CircleDotDashed:z0,CircleDotDashedIcon:z0,CircleDotIcon:P0,CircleEllipsis:T0,CircleEllipsisIcon:T0,CircleEqual:H0,CircleEqualIcon:H0,CircleFadingArrowUp:B0,CircleFadingArrowUpIcon:B0,CircleFadingPlus:D0,CircleFadingPlusIcon:D0,CircleGauge:za,CircleGaugeIcon:za,CircleHelp:ct,CircleHelpIcon:ct,CircleIcon:W0,CircleMinus:Va,CircleMinusIcon:Va,CircleOff:R0,CircleOffIcon:R0,CircleParking:Ha,CircleParkingIcon:Ha,CircleParkingOff:Pa,CircleParkingOffIcon:Pa,CirclePause:Ta,CirclePauseIcon:Ta,CirclePercent:Da,CirclePercentIcon:Da,CirclePlay:Ba,CirclePlayIcon:Ba,CirclePlus:Ra,CirclePlusIcon:Ra,CirclePoundSterling:F0,CirclePoundSterlingIcon:F0,CirclePower:Fa,CirclePowerIcon:Fa,CircleQuestionMark:ct,CircleQuestionMarkIcon:ct,CircleSlash:E0,CircleSlash2:Ea,CircleSlash2Icon:Ea,CircleSlashIcon:E0,CircleSlashed:Ea,CircleSlashedIcon:Ea,CircleSmall:O0,CircleSmallIcon:O0,CircleStar:U0,CircleStarIcon:U0,CircleStop:Oa,CircleStopIcon:Oa,CircleUser:Wa,CircleUserIcon:Wa,CircleUserRound:Ua,CircleUserRoundIcon:Ua,CircleX:bt,CircleXIcon:bt,CircuitBoard:G0,CircuitBoardIcon:G0,Citrus:K0,CitrusIcon:K0,Clapperboard:Z0,ClapperboardIcon:Z0,Clipboard:cl,ClipboardCheck:X0,ClipboardCheckIcon:X0,ClipboardClock:Y0,ClipboardClockIcon:Y0,ClipboardCopy:J0,ClipboardCopyIcon:J0,ClipboardEdit:Ka,ClipboardEditIcon:Ka,ClipboardIcon:cl,ClipboardList:Q0,ClipboardListIcon:Q0,ClipboardMinus:el,ClipboardMinusIcon:el,ClipboardPaste:tl,ClipboardPasteIcon:tl,ClipboardPen:Ka,ClipboardPenIcon:Ka,ClipboardPenLine:Ga,ClipboardPenLineIcon:Ga,ClipboardPlus:al,ClipboardPlusIcon:al,ClipboardSignature:Ga,ClipboardSignatureIcon:Ga,ClipboardType:nl,ClipboardTypeIcon:nl,ClipboardX:ol,ClipboardXIcon:ol,Clock:Ll,Clock1:rl,Clock10:il,Clock10Icon:il,Clock11:sl,Clock11Icon:sl,Clock12:dl,Clock12Icon:dl,Clock1Icon:rl,Clock2:ll,Clock2Icon:ll,Clock3:hl,Clock3Icon:hl,Clock4:ul,Clock4Icon:ul,Clock5:pl,Clock5Icon:pl,Clock6:yl,Clock6Icon:yl,Clock7:kl,Clock7Icon:kl,Clock8:ml,Clock8Icon:ml,Clock9:fl,Clock9Icon:fl,ClockAlert:gl,ClockAlertIcon:gl,ClockArrowDown:vl,ClockArrowDownIcon:vl,ClockArrowUp:Ml,ClockArrowUpIcon:Ml,ClockFading:xl,ClockFadingIcon:xl,ClockIcon:Ll,ClockPlus:_l,ClockPlusIcon:_l,ClosedCaption:Il,ClosedCaptionIcon:Il,Cloud:Bl,CloudAlert:bl,CloudAlertIcon:bl,CloudCheck:wl,CloudCheckIcon:wl,CloudCog:Cl,CloudCogIcon:Cl,CloudDownload:Za,CloudDownloadIcon:Za,CloudDrizzle:Nl,CloudDrizzleIcon:Nl,CloudFog:Sl,CloudFogIcon:Sl,CloudHail:jl,CloudHailIcon:jl,CloudIcon:Bl,CloudLightning:$l,CloudLightningIcon:$l,CloudMoon:Al,CloudMoonIcon:Al,CloudMoonRain:ql,CloudMoonRainIcon:ql,CloudOff:zl,CloudOffIcon:zl,CloudRain:Pl,CloudRainIcon:Pl,CloudRainWind:Vl,CloudRainWindIcon:Vl,CloudSnow:Tl,CloudSnowIcon:Tl,CloudSun:Dl,CloudSunIcon:Dl,CloudSunRain:Hl,CloudSunRainIcon:Hl,CloudUpload:Xa,CloudUploadIcon:Xa,Cloudy:Rl,CloudyIcon:Rl,Clover:Fl,CloverIcon:Fl,Club:El,ClubIcon:El,Code:Ol,Code2:Ya,Code2Icon:Ya,CodeIcon:Ol,CodeSquare:$o,CodeSquareIcon:$o,CodeXml:Ya,CodeXmlIcon:Ya,Codepen:Ul,CodepenIcon:Ul,Codesandbox:Wl,CodesandboxIcon:Wl,Coffee:Gl,CoffeeIcon:Gl,Cog:Kl,CogIcon:Kl,Coins:Zl,CoinsIcon:Zl,Columns:Ja,Columns2:Ja,Columns2Icon:Ja,Columns3:Qa,Columns3Cog:it,Columns3CogIcon:it,Columns3Icon:Qa,Columns4:Xl,Columns4Icon:Xl,ColumnsIcon:Ja,ColumnsSettings:it,ColumnsSettingsIcon:it,Combine:Yl,CombineIcon:Yl,Command:Jl,CommandIcon:Jl,Compass:Ql,CompassIcon:Ql,Component:eh,ComponentIcon:eh,Computer:th,ComputerIcon:th,ConciergeBell:ah,ConciergeBellIcon:ah,Cone:nh,ConeIcon:nh,Construction:oh,ConstructionIcon:oh,Contact:ch,Contact2:en,Contact2Icon:en,ContactIcon:ch,ContactRound:en,ContactRoundIcon:en,Container:ih,ContainerIcon:ih,Contrast:sh,ContrastIcon:sh,Cookie:rh,CookieIcon:rh,CookingPot:lh,CookingPotIcon:lh,Copy:kh,CopyCheck:dh,CopyCheckIcon:dh,CopyIcon:kh,CopyMinus:hh,CopyMinusIcon:hh,CopyPlus:uh,CopyPlusIcon:uh,CopySlash:ph,CopySlashIcon:ph,CopyX:yh,CopyXIcon:yh,Copyleft:mh,CopyleftIcon:mh,Copyright:fh,CopyrightIcon:fh,CornerDownLeft:gh,CornerDownLeftIcon:gh,CornerDownRight:vh,CornerDownRightIcon:vh,CornerLeftDown:Mh,CornerLeftDownIcon:Mh,CornerLeftUp:xh,CornerLeftUpIcon:xh,CornerRightDown:_h,CornerRightDownIcon:_h,CornerRightUp:Lh,CornerRightUpIcon:Lh,CornerUpLeft:Ih,CornerUpLeftIcon:Ih,CornerUpRight:bh,CornerUpRightIcon:bh,Cpu:wh,CpuIcon:wh,CreativeCommons:Ch,CreativeCommonsIcon:Ch,CreditCard:Nh,CreditCardIcon:Nh,Croissant:Sh,CroissantIcon:Sh,Crop:jh,CropIcon:jh,Cross:$h,CrossIcon:$h,Crosshair:qh,CrosshairIcon:qh,Crown:Ah,CrownIcon:Ah,Cuboid:zh,CuboidIcon:zh,CupSoda:Vh,CupSodaIcon:Vh,CurlyBraces:na,CurlyBracesIcon:na,Currency:Ph,CurrencyIcon:Ph,Cylinder:Th,CylinderIcon:Th,Dam:Hh,DamIcon:Hh,Database:Rh,DatabaseBackup:Dh,DatabaseBackupIcon:Dh,DatabaseIcon:Rh,DatabaseZap:Bh,DatabaseZapIcon:Bh,DecimalsArrowLeft:Fh,DecimalsArrowLeftIcon:Fh,DecimalsArrowRight:Eh,DecimalsArrowRightIcon:Eh,Delete:Oh,DeleteIcon:Oh,Dessert:Uh,DessertIcon:Uh,Diameter:Wh,DiameterIcon:Wh,Diamond:Zh,DiamondIcon:Zh,DiamondMinus:Gh,DiamondMinusIcon:Gh,DiamondPercent:tn,DiamondPercentIcon:tn,DiamondPlus:Kh,DiamondPlusIcon:Kh,Dice1:Xh,Dice1Icon:Xh,Dice2:Yh,Dice2Icon:Yh,Dice3:Jh,Dice3Icon:Jh,Dice4:Qh,Dice4Icon:Qh,Dice5:eu,Dice5Icon:eu,Dice6:tu,Dice6Icon:tu,Dices:au,DicesIcon:au,Diff:nu,DiffIcon:nu,Disc:ru,Disc2:ou,Disc2Icon:ou,Disc3:cu,Disc3Icon:cu,DiscAlbum:iu,DiscAlbumIcon:iu,DiscIcon:ru,Divide:su,DivideCircle:Aa,DivideCircleIcon:Aa,DivideIcon:su,DivideSquare:Vo,DivideSquareIcon:Vo,Dna:lu,DnaIcon:lu,DnaOff:du,DnaOffIcon:du,Dock:hu,DockIcon:hu,Dog:uu,DogIcon:uu,DollarSign:pu,DollarSignIcon:pu,Donut:yu,DonutIcon:yu,DoorClosed:mu,DoorClosedIcon:mu,DoorClosedLocked:ku,DoorClosedLockedIcon:ku,DoorOpen:fu,DoorOpenIcon:fu,Dot:gu,DotIcon:gu,DotSquare:To,DotSquareIcon:To,Download:Mu,DownloadCloud:Za,DownloadCloudIcon:Za,DownloadIcon:Mu,DraftingCompass:vu,DraftingCompassIcon:vu,Drama:xu,DramaIcon:xu,Dribbble:_u,DribbbleIcon:_u,Drill:Lu,DrillIcon:Lu,Drone:Iu,DroneIcon:Iu,Droplet:wu,DropletIcon:wu,DropletOff:bu,DropletOffIcon:bu,Droplets:Cu,DropletsIcon:Cu,Drum:Nu,DrumIcon:Nu,Drumstick:Su,DrumstickIcon:Su,Dumbbell:ju,DumbbellIcon:ju,Ear:qu,EarIcon:qu,EarOff:$u,EarOffIcon:$u,Earth:an,EarthIcon:an,EarthLock:Au,EarthLockIcon:Au,Eclipse:zu,EclipseIcon:zu,Edit:Re,Edit2:kt,Edit2Icon:kt,Edit3:yt,Edit3Icon:yt,EditIcon:Re,Egg:Tu,EggFried:Vu,EggFriedIcon:Vu,EggIcon:Tu,EggOff:Pu,EggOffIcon:Pu,Ellipsis:on,EllipsisIcon:on,EllipsisVertical:nn,EllipsisVerticalIcon:nn,Equal:Bu,EqualApproximately:Hu,EqualApproximatelyIcon:Hu,EqualIcon:Bu,EqualNot:Du,EqualNotIcon:Du,EqualSquare:Po,EqualSquareIcon:Po,Eraser:Ru,EraserIcon:Ru,EthernetPort:Fu,EthernetPortIcon:Fu,Euro:Eu,EuroIcon:Eu,Expand:Uu,ExpandIcon:Uu,ExternalLink:Ou,ExternalLinkIcon:Ou,Eye:b1,EyeClosed:Wu,EyeClosedIcon:Wu,EyeIcon:b1,EyeOff:I1,EyeOffIcon:I1,Facebook:Gu,FacebookIcon:Gu,Factory:Ku,FactoryIcon:Ku,Fan:Zu,FanIcon:Zu,FastForward:Xu,FastForwardIcon:Xu,Feather:Yu,FeatherIcon:Yu,Fence:Ju,FenceIcon:Ju,FerrisWheel:Qu,FerrisWheelIcon:Qu,Figma:ep,FigmaIcon:ep,File:Kp,FileArchive:tp,FileArchiveIcon:tp,FileAudio:np,FileAudio2:ap,FileAudio2Icon:ap,FileAudioIcon:np,FileAxis3D:cn,FileAxis3DIcon:cn,FileAxis3d:cn,FileAxis3dIcon:cn,FileBadge:ip,FileBadge2:op,FileBadge2Icon:op,FileBadgeIcon:ip,FileBarChart:rn,FileBarChart2:sn,FileBarChart2Icon:sn,FileBarChartIcon:rn,FileBox:cp,FileBoxIcon:cp,FileChartColumn:sn,FileChartColumnIcon:sn,FileChartColumnIncreasing:rn,FileChartColumnIncreasingIcon:rn,FileChartLine:dn,FileChartLineIcon:dn,FileChartPie:ln,FileChartPieIcon:ln,FileCheck:sp,FileCheck2:rp,FileCheck2Icon:rp,FileCheckIcon:sp,FileClock:dp,FileClockIcon:dp,FileCode:lp,FileCode2:hp,FileCode2Icon:hp,FileCodeIcon:lp,FileCog:hn,FileCog2:hn,FileCog2Icon:hn,FileCogIcon:hn,FileDiff:up,FileDiffIcon:up,FileDigit:pp,FileDigitIcon:pp,FileDown:yp,FileDownIcon:yp,FileEdit:pn,FileEditIcon:pn,FileHeart:kp,FileHeartIcon:kp,FileIcon:Kp,FileImage:mp,FileImageIcon:mp,FileInput:fp,FileInputIcon:fp,FileJson:vp,FileJson2:gp,FileJson2Icon:gp,FileJsonIcon:vp,FileKey:xp,FileKey2:Mp,FileKey2Icon:Mp,FileKeyIcon:xp,FileLineChart:dn,FileLineChartIcon:dn,FileLock:Lp,FileLock2:_p,FileLock2Icon:_p,FileLockIcon:Lp,FileMinus:bp,FileMinus2:Ip,FileMinus2Icon:Ip,FileMinusIcon:bp,FileMusic:wp,FileMusicIcon:wp,FileOutput:Cp,FileOutputIcon:Cp,FilePen:pn,FilePenIcon:pn,FilePenLine:un,FilePenLineIcon:un,FilePieChart:ln,FilePieChartIcon:ln,FilePlay:yn,FilePlayIcon:yn,FilePlus:Sp,FilePlus2:Np,FilePlus2Icon:Np,FilePlusIcon:Sp,FileQuestion:kn,FileQuestionIcon:kn,FileQuestionMark:kn,FileQuestionMarkIcon:kn,FileScan:jp,FileScanIcon:jp,FileSearch:qp,FileSearch2:$p,FileSearch2Icon:$p,FileSearchIcon:qp,FileSignature:un,FileSignatureIcon:un,FileSliders:Ap,FileSlidersIcon:Ap,FileSpreadsheet:zp,FileSpreadsheetIcon:zp,FileStack:Vp,FileStackIcon:Vp,FileSymlink:Pp,FileSymlinkIcon:Pp,FileTerminal:Tp,FileTerminalIcon:Tp,FileText:Hp,FileTextIcon:Hp,FileType:Bp,FileType2:Dp,FileType2Icon:Dp,FileTypeIcon:Bp,FileUp:Rp,FileUpIcon:Rp,FileUser:Fp,FileUserIcon:Fp,FileVideo:yn,FileVideo2:mn,FileVideo2Icon:mn,FileVideoCamera:mn,FileVideoCameraIcon:mn,FileVideoIcon:yn,FileVolume:Op,FileVolume2:Ep,FileVolume2Icon:Ep,FileVolumeIcon:Op,FileWarning:Up,FileWarningIcon:Up,FileX:Gp,FileX2:Wp,FileX2Icon:Wp,FileXIcon:Gp,Files:Zp,FilesIcon:Zp,Film:Xp,FilmIcon:Xp,Filter:wt,FilterIcon:wt,FilterX:vn,FilterXIcon:vn,Fingerprint:Yp,FingerprintIcon:Yp,FireExtinguisher:Jp,FireExtinguisherIcon:Jp,Fish:ey,FishIcon:ey,FishOff:Qp,FishOffIcon:Qp,FishSymbol:ty,FishSymbolIcon:ty,Flag:cy,FlagIcon:cy,FlagOff:ay,FlagOffIcon:ay,FlagTriangleLeft:ny,FlagTriangleLeftIcon:ny,FlagTriangleRight:oy,FlagTriangleRightIcon:oy,Flame:ry,FlameIcon:ry,FlameKindling:iy,FlameKindlingIcon:iy,Flashlight:dy,FlashlightIcon:dy,FlashlightOff:sy,FlashlightOffIcon:sy,FlaskConical:hy,FlaskConicalIcon:hy,FlaskConicalOff:ly,FlaskConicalOffIcon:ly,FlaskRound:uy,FlaskRoundIcon:uy,FlipHorizontal:yy,FlipHorizontal2:py,FlipHorizontal2Icon:py,FlipHorizontalIcon:yy,FlipVertical:my,FlipVertical2:ky,FlipVertical2Icon:ky,FlipVerticalIcon:my,Flower:gy,Flower2:fy,Flower2Icon:fy,FlowerIcon:gy,Focus:vy,FocusIcon:vy,FoldHorizontal:My,FoldHorizontalIcon:My,FoldVertical:xy,FoldVerticalIcon:xy,Folder:w1,FolderArchive:_y,FolderArchiveIcon:_y,FolderCheck:Ly,FolderCheckIcon:Ly,FolderClock:Iy,FolderClockIcon:Iy,FolderClosed:by,FolderClosedIcon:by,FolderCode:wy,FolderCodeIcon:wy,FolderCog:fn,FolderCog2:fn,FolderCog2Icon:fn,FolderCogIcon:fn,FolderDot:Cy,FolderDotIcon:Cy,FolderDown:Ny,FolderDownIcon:Ny,FolderEdit:gn,FolderEditIcon:gn,FolderGit:jy,FolderGit2:Sy,FolderGit2Icon:Sy,FolderGitIcon:jy,FolderHeart:$y,FolderHeartIcon:$y,FolderIcon:w1,FolderInput:qy,FolderInputIcon:qy,FolderKanban:Ay,FolderKanbanIcon:Ay,FolderKey:zy,FolderKeyIcon:zy,FolderLock:Vy,FolderLockIcon:Vy,FolderMinus:Py,FolderMinusIcon:Py,FolderOpen:Hy,FolderOpenDot:Ty,FolderOpenDotIcon:Ty,FolderOpenIcon:Hy,FolderOutput:Dy,FolderOutputIcon:Dy,FolderPen:gn,FolderPenIcon:gn,FolderPlus:Jc,FolderPlusIcon:Jc,FolderRoot:By,FolderRootIcon:By,FolderSearch:Fy,FolderSearch2:Ry,FolderSearch2Icon:Ry,FolderSearchIcon:Fy,FolderSymlink:Ey,FolderSymlinkIcon:Ey,FolderSync:Oy,FolderSyncIcon:Oy,FolderTree:Uy,FolderTreeIcon:Uy,FolderUp:Wy,FolderUpIcon:Wy,FolderX:Gy,FolderXIcon:Gy,Folders:Ky,FoldersIcon:Ky,Footprints:Zy,FootprintsIcon:Zy,ForkKnife:Lc,ForkKnifeCrossed:_c,ForkKnifeCrossedIcon:_c,ForkKnifeIcon:Lc,Forklift:Xy,ForkliftIcon:Xy,FormInput:eo,FormInputIcon:eo,Forward:Yy,ForwardIcon:Yy,Frame:Jy,FrameIcon:Jy,Framer:Qy,FramerIcon:Qy,Frown:e4,FrownIcon:e4,Fuel:t4,FuelIcon:t4,Fullscreen:a4,FullscreenIcon:a4,FunctionSquare:Ho,FunctionSquareIcon:Ho,Funnel:wt,FunnelIcon:wt,FunnelPlus:n4,FunnelPlusIcon:n4,FunnelX:vn,FunnelXIcon:vn,GalleryHorizontal:c4,GalleryHorizontalEnd:o4,GalleryHorizontalEndIcon:o4,GalleryHorizontalIcon:c4,GalleryThumbnails:i4,GalleryThumbnailsIcon:i4,GalleryVertical:s4,GalleryVerticalEnd:r4,GalleryVerticalEndIcon:r4,GalleryVerticalIcon:s4,Gamepad:l4,Gamepad2:d4,Gamepad2Icon:d4,GamepadIcon:l4,GanttChart:ka,GanttChartIcon:ka,GanttChartSquare:st,GanttChartSquareIcon:st,Gauge:h4,GaugeCircle:za,GaugeCircleIcon:za,GaugeIcon:h4,Gavel:u4,GavelIcon:u4,Gem:p4,GemIcon:p4,GeorgianLari:y4,GeorgianLariIcon:y4,Ghost:k4,GhostIcon:k4,Gift:m4,GiftIcon:m4,GitBranch:g4,GitBranchIcon:g4,GitBranchPlus:f4,GitBranchPlusIcon:f4,GitCommit:Mn,GitCommitHorizontal:Mn,GitCommitHorizontalIcon:Mn,GitCommitIcon:Mn,GitCommitVertical:v4,GitCommitVerticalIcon:v4,GitCompare:x4,GitCompareArrows:M4,GitCompareArrowsIcon:M4,GitCompareIcon:x4,GitFork:_4,GitForkIcon:_4,GitGraph:L4,GitGraphIcon:L4,GitMerge:I4,GitMergeIcon:I4,GitPullRequest:j4,GitPullRequestArrow:b4,GitPullRequestArrowIcon:b4,GitPullRequestClosed:w4,GitPullRequestClosedIcon:w4,GitPullRequestCreate:N4,GitPullRequestCreateArrow:C4,GitPullRequestCreateArrowIcon:C4,GitPullRequestCreateIcon:N4,GitPullRequestDraft:S4,GitPullRequestDraftIcon:S4,GitPullRequestIcon:j4,Github:$4,GithubIcon:$4,Gitlab:q4,GitlabIcon:q4,GlassWater:A4,GlassWaterIcon:A4,Glasses:z4,GlassesIcon:z4,Globe:P4,Globe2:an,Globe2Icon:an,GlobeIcon:P4,GlobeLock:V4,GlobeLockIcon:V4,Goal:T4,GoalIcon:T4,Gpu:H4,GpuIcon:H4,Grab:bn,GrabIcon:bn,GraduationCap:D4,GraduationCapIcon:D4,Grape:B4,GrapeIcon:B4,Grid:rt,Grid2X2:In,Grid2X2Check:xn,Grid2X2CheckIcon:xn,Grid2X2Icon:In,Grid2X2Plus:_n,Grid2X2PlusIcon:_n,Grid2X2X:Ln,Grid2X2XIcon:Ln,Grid2x2:In,Grid2x2Check:xn,Grid2x2CheckIcon:xn,Grid2x2Icon:In,Grid2x2Plus:_n,Grid2x2PlusIcon:_n,Grid2x2X:Ln,Grid2x2XIcon:Ln,Grid3X3:rt,Grid3X3Icon:rt,Grid3x2:R4,Grid3x2Icon:R4,Grid3x3:rt,Grid3x3Icon:rt,GridIcon:rt,Grip:E4,GripHorizontal:F4,GripHorizontalIcon:F4,GripIcon:E4,GripVertical:C1,GripVerticalIcon:C1,Group:O4,GroupIcon:O4,Guitar:U4,GuitarIcon:U4,Ham:W4,HamIcon:W4,Hamburger:G4,HamburgerIcon:G4,Hammer:K4,HammerIcon:K4,Hand:e5,HandCoins:Z4,HandCoinsIcon:Z4,HandFist:X4,HandFistIcon:X4,HandGrab:bn,HandGrabIcon:bn,HandHeart:Y4,HandHeartIcon:Y4,HandHelping:wn,HandHelpingIcon:wn,HandIcon:e5,HandMetal:J4,HandMetalIcon:J4,HandPlatter:Q4,HandPlatterIcon:Q4,Handbag:t5,HandbagIcon:t5,Handshake:a5,HandshakeIcon:a5,HardDrive:c5,HardDriveDownload:n5,HardDriveDownloadIcon:n5,HardDriveIcon:c5,HardDriveUpload:o5,HardDriveUploadIcon:o5,HardHat:i5,HardHatIcon:i5,Hash:r5,HashIcon:r5,HatGlasses:s5,HatGlassesIcon:s5,Haze:d5,HazeIcon:d5,HdmiPort:l5,HdmiPortIcon:l5,Heading:f5,Heading1:h5,Heading1Icon:h5,Heading2:u5,Heading2Icon:u5,Heading3:p5,Heading3Icon:p5,Heading4:y5,Heading4Icon:y5,Heading5:k5,Heading5Icon:k5,Heading6:m5,Heading6Icon:m5,HeadingIcon:f5,HeadphoneOff:g5,HeadphoneOffIcon:g5,Headphones:v5,HeadphonesIcon:v5,Headset:M5,HeadsetIcon:M5,Heart:C5,HeartCrack:x5,HeartCrackIcon:x5,HeartHandshake:_5,HeartHandshakeIcon:_5,HeartIcon:C5,HeartMinus:L5,HeartMinusIcon:L5,HeartOff:I5,HeartOffIcon:I5,HeartPlus:b5,HeartPlusIcon:b5,HeartPulse:w5,HeartPulseIcon:w5,Heater:N5,HeaterIcon:N5,HelpCircle:ct,HelpCircleIcon:ct,HelpingHand:wn,HelpingHandIcon:wn,Hexagon:S5,HexagonIcon:S5,Highlighter:j5,HighlighterIcon:j5,History:$5,HistoryIcon:$5,Home:Ct,HomeIcon:Ct,Hop:A5,HopIcon:A5,HopOff:q5,HopOffIcon:q5,Hospital:N1,HospitalIcon:N1,Hotel:z5,HotelIcon:z5,Hourglass:V5,HourglassIcon:V5,House:Ct,HouseIcon:Ct,HousePlug:P5,HousePlugIcon:P5,HousePlus:H5,HousePlusIcon:H5,HouseWifi:T5,HouseWifiIcon:T5,IceCream:Nn,IceCream2:Cn,IceCream2Icon:Cn,IceCreamBowl:Cn,IceCreamBowlIcon:Cn,IceCreamCone:Nn,IceCreamConeIcon:Nn,IceCreamIcon:Nn,Icon:a.Icon,IdCard:B5,IdCardIcon:B5,IdCardLanyard:D5,IdCardLanyardIcon:D5,Image:K5,ImageDown:R5,ImageDownIcon:R5,ImageIcon:K5,ImageMinus:F5,ImageMinusIcon:F5,ImageOff:E5,ImageOffIcon:E5,ImagePlay:O5,ImagePlayIcon:O5,ImagePlus:U5,ImagePlusIcon:U5,ImageUp:W5,ImageUpIcon:W5,ImageUpscale:G5,ImageUpscaleIcon:G5,Images:Z5,ImagesIcon:Z5,Import:X5,ImportIcon:X5,Inbox:Y5,InboxIcon:Y5,Indent:jn,IndentDecrease:Sn,IndentDecreaseIcon:Sn,IndentIcon:jn,IndentIncrease:jn,IndentIncreaseIcon:jn,IndianRupee:J5,IndianRupeeIcon:J5,Infinity:Q5,InfinityIcon:Q5,Info:ek,InfoIcon:ek,Inspect:Uo,InspectIcon:Uo,InspectionPanel:tk,InspectionPanelIcon:tk,Instagram:ak,InstagramIcon:ak,Italic:nk,ItalicIcon:nk,IterationCcw:ok,IterationCcwIcon:ok,IterationCw:ck,IterationCwIcon:ck,JapaneseYen:rk,JapaneseYenIcon:rk,Joystick:ik,JoystickIcon:ik,Kanban:sk,KanbanIcon:sk,KanbanSquare:Do,KanbanSquareDashed:qo,KanbanSquareDashedIcon:qo,KanbanSquareIcon:Do,Kayak:dk,KayakIcon:dk,Key:uk,KeyIcon:uk,KeyRound:lk,KeyRoundIcon:lk,KeySquare:hk,KeySquareIcon:hk,Keyboard:kk,KeyboardIcon:kk,KeyboardMusic:pk,KeyboardMusicIcon:pk,KeyboardOff:yk,KeyboardOffIcon:yk,Lamp:xk,LampCeiling:mk,LampCeilingIcon:mk,LampDesk:gk,LampDeskIcon:gk,LampFloor:fk,LampFloorIcon:fk,LampIcon:xk,LampWallDown:vk,LampWallDownIcon:vk,LampWallUp:Mk,LampWallUpIcon:Mk,LandPlot:_k,LandPlotIcon:_k,Landmark:Lk,LandmarkIcon:Lk,Languages:Ik,LanguagesIcon:Ik,Laptop:wk,Laptop2:$n,Laptop2Icon:$n,LaptopIcon:wk,LaptopMinimal:$n,LaptopMinimalCheck:bk,LaptopMinimalCheckIcon:bk,LaptopMinimalIcon:$n,Lasso:Nk,LassoIcon:Nk,LassoSelect:Ck,LassoSelectIcon:Ck,Laugh:Sk,LaughIcon:Sk,Layers:qn,Layers2:jk,Layers2Icon:jk,Layers3:qn,Layers3Icon:qn,LayersIcon:qn,Layout:Jn,LayoutDashboard:$k,LayoutDashboardIcon:$k,LayoutGrid:qk,LayoutGridIcon:qk,LayoutIcon:Jn,LayoutList:Ak,LayoutListIcon:Ak,LayoutPanelLeft:zk,LayoutPanelLeftIcon:zk,LayoutPanelTop:Vk,LayoutPanelTopIcon:Vk,LayoutTemplate:Pk,LayoutTemplateIcon:Pk,Leaf:Tk,LeafIcon:Tk,LeafyGreen:Dk,LeafyGreenIcon:Dk,Lectern:Hk,LecternIcon:Hk,LetterText:Bk,LetterTextIcon:Bk,Library:Fk,LibraryBig:Rk,LibraryBigIcon:Rk,LibraryIcon:Fk,LibrarySquare:Bo,LibrarySquareIcon:Bo,LifeBuoy:Ek,LifeBuoyIcon:Ek,Ligature:Ok,LigatureIcon:Ok,Lightbulb:Wk,LightbulbIcon:Wk,LightbulbOff:Uk,LightbulbOffIcon:Uk,LineChart:ua,LineChartIcon:ua,LineSquiggle:Gk,LineSquiggleIcon:Gk,Link:Xk,Link2:Kk,Link2Icon:Kk,Link2Off:Zk,Link2OffIcon:Zk,LinkIcon:Xk,Linkedin:Yk,LinkedinIcon:Yk,List:y3,ListCheck:Jk,ListCheckIcon:Jk,ListChecks:Qk,ListChecksIcon:Qk,ListCollapse:e3,ListCollapseIcon:e3,ListEnd:t3,ListEndIcon:t3,ListFilter:o3,ListFilterIcon:o3,ListFilterPlus:a3,ListFilterPlusIcon:a3,ListIcon:y3,ListMinus:n3,ListMinusIcon:n3,ListMusic:c3,ListMusicIcon:c3,ListOrdered:i3,ListOrderedIcon:i3,ListPlus:r3,ListPlusIcon:r3,ListRestart:s3,ListRestartIcon:s3,ListStart:d3,ListStartIcon:d3,ListTodo:l3,ListTodoIcon:l3,ListTree:h3,ListTreeIcon:h3,ListVideo:u3,ListVideoIcon:u3,ListX:p3,ListXIcon:p3,Loader:m3,Loader2:An,Loader2Icon:An,LoaderCircle:An,LoaderCircleIcon:An,LoaderIcon:m3,LoaderPinwheel:k3,LoaderPinwheelIcon:k3,Locate:v3,LocateFixed:f3,LocateFixedIcon:f3,LocateIcon:v3,LocateOff:g3,LocateOffIcon:g3,LocationEdit:Tn,LocationEditIcon:Tn,Lock:x3,LockIcon:x3,LockKeyhole:M3,LockKeyholeIcon:M3,LockKeyholeOpen:zn,LockKeyholeOpenIcon:zn,LockOpen:Vn,LockOpenIcon:Vn,LogIn:_3,LogInIcon:_3,LogOut:L3,LogOutIcon:L3,Logs:I3,LogsIcon:I3,Lollipop:b3,LollipopIcon:b3,LucideAArrowDown:ni,LucideAArrowUp:oi,LucideALargeSmall:ci,LucideAccessibility:g1,LucideActivity:v1,LucideActivitySquare:Nt,LucideAirVent:ii,LucideAirplay:ri,LucideAlarmCheck:Ft,LucideAlarmClock:di,LucideAlarmClockCheck:Ft,LucideAlarmClockMinus:Et,LucideAlarmClockOff:si,LucideAlarmClockPlus:Ot,LucideAlarmMinus:Et,LucideAlarmPlus:Ot,LucideAlarmSmoke:li,LucideAlbum:hi,LucideAlertCircle:ga,LucideAlertOctagon:Rn,LucideAlertTriangle:uc,LucideAlignCenter:fi,LucideAlignCenterHorizontal:ui,LucideAlignCenterVertical:pi,LucideAlignEndHorizontal:yi,LucideAlignEndVertical:ki,LucideAlignHorizontalDistributeCenter:mi,LucideAlignHorizontalDistributeEnd:gi,LucideAlignHorizontalDistributeStart:vi,LucideAlignHorizontalJustifyCenter:Mi,LucideAlignHorizontalJustifyEnd:xi,LucideAlignHorizontalJustifyStart:_i,LucideAlignHorizontalSpaceAround:Li,LucideAlignHorizontalSpaceBetween:bi,LucideAlignJustify:Ii,LucideAlignLeft:wi,LucideAlignRight:Ci,LucideAlignStartHorizontal:Ni,LucideAlignStartVertical:Si,LucideAlignVerticalDistributeCenter:$i,LucideAlignVerticalDistributeEnd:ji,LucideAlignVerticalDistributeStart:Ai,LucideAlignVerticalJustifyCenter:qi,LucideAlignVerticalJustifyEnd:zi,LucideAlignVerticalJustifyStart:Vi,LucideAlignVerticalSpaceAround:Ti,LucideAlignVerticalSpaceBetween:Pi,LucideAmbulance:Hi,LucideAmpersand:Di,LucideAmpersands:Bi,LucideAmphora:Ri,LucideAnchor:Fi,LucideAngry:Ei,LucideAnnoyed:Oi,LucideAntenna:Ui,LucideAnvil:Wi,LucideAperture:Gi,LucideAppWindow:Zi,LucideAppWindowMac:Ki,LucideApple:Xi,LucideArchive:Qi,LucideArchiveRestore:Yi,LucideArchiveX:Ji,LucideAreaChart:ca,LucideArmchair:er,LucideArrowBigDown:ar,LucideArrowBigDownDash:tr,LucideArrowBigLeft:or,LucideArrowBigLeftDash:nr,LucideArrowBigRight:ir,LucideArrowBigRightDash:cr,LucideArrowBigUp:sr,LucideArrowBigUpDash:rr,LucideArrowDown:Zc,LucideArrowDown01:dr,LucideArrowDown10:lr,LucideArrowDownAZ:Ut,LucideArrowDownAz:Ut,LucideArrowDownCircle:va,LucideArrowDownFromLine:hr,LucideArrowDownLeft:ur,LucideArrowDownLeftFromCircle:xa,LucideArrowDownLeftFromSquare:ko,LucideArrowDownLeftSquare:ho,LucideArrowDownNarrowWide:pr,LucideArrowDownRight:yr,LucideArrowDownRightFromCircle:_a,LucideArrowDownRightFromSquare:mo,LucideArrowDownRightSquare:uo,LucideArrowDownSquare:po,LucideArrowDownToDot:kr,LucideArrowDownToLine:mr,LucideArrowDownUp:fr,LucideArrowDownWideNarrow:Wt,LucideArrowDownZA:Gt,LucideArrowDownZa:Gt,LucideArrowLeft:M1,LucideArrowLeftCircle:Ma,LucideArrowLeftFromLine:gr,LucideArrowLeftRight:vr,LucideArrowLeftSquare:yo,LucideArrowLeftToLine:Mr,LucideArrowRight:Ir,LucideArrowRightCircle:ba,LucideArrowRightFromLine:xr,LucideArrowRightLeft:_r,LucideArrowRightSquare:vo,LucideArrowRightToLine:Lr,LucideArrowUp:Xc,LucideArrowUp01:br,LucideArrowUp10:wr,LucideArrowUpAZ:Kt,LucideArrowUpAz:Kt,LucideArrowUpCircle:wa,LucideArrowUpDown:Cr,LucideArrowUpFromDot:Nr,LucideArrowUpFromLine:Sr,LucideArrowUpLeft:jr,LucideArrowUpLeftFromCircle:La,LucideArrowUpLeftFromSquare:fo,LucideArrowUpLeftSquare:Mo,LucideArrowUpNarrowWide:Zt,LucideArrowUpRight:$r,LucideArrowUpRightFromCircle:Ia,LucideArrowUpRightFromSquare:go,LucideArrowUpRightSquare:xo,LucideArrowUpSquare:_o,LucideArrowUpToLine:qr,LucideArrowUpWideNarrow:Ar,LucideArrowUpZA:Xt,LucideArrowUpZa:Xt,LucideArrowsUpFromLine:zr,LucideAsterisk:Vr,LucideAsteriskSquare:Lo,LucideAtSign:Pr,LucideAtom:Tr,LucideAudioLines:Hr,LucideAudioWaveform:Dr,LucideAward:Br,LucideAxe:Rr,LucideAxis3D:Yt,LucideAxis3d:Yt,LucideBaby:Fr,LucideBackpack:Er,LucideBadge:cs,LucideBadgeAlert:Or,LucideBadgeCent:Ur,LucideBadgeCheck:Jt,LucideBadgeDollarSign:Wr,LucideBadgeEuro:Gr,LucideBadgeHelp:Qt,LucideBadgeIndianRupee:Kr,LucideBadgeInfo:Zr,LucideBadgeJapaneseYen:Yr,LucideBadgeMinus:Xr,LucideBadgePercent:Jr,LucideBadgePlus:Qr,LucideBadgePoundSterling:es,LucideBadgeQuestionMark:Qt,LucideBadgeRussianRuble:ts,LucideBadgeSwissFranc:as,LucideBadgeTurkishLira:ns,LucideBadgeX:os,LucideBaggageClaim:is,LucideBan:rs,LucideBanana:ss,LucideBandage:ds,LucideBanknote:ps,LucideBanknoteArrowDown:ls,LucideBanknoteArrowUp:hs,LucideBanknoteX:us,LucideBarChart:pa,LucideBarChart2:ya,LucideBarChart3:ha,LucideBarChart4:la,LucideBarChartBig:da,LucideBarChartHorizontal:ra,LucideBarChartHorizontalBig:ia,LucideBarcode:ys,LucideBarrel:ks,LucideBaseline:ms,LucideBath:fs,LucideBattery:Is,LucideBatteryCharging:gs,LucideBatteryFull:vs,LucideBatteryLow:Ms,LucideBatteryMedium:xs,LucideBatteryPlus:_s,LucideBatteryWarning:Ls,LucideBeaker:bs,LucideBean:Cs,LucideBeanOff:ws,LucideBed:js,LucideBedDouble:Ns,LucideBedSingle:Ss,LucideBeef:$s,LucideBeer:As,LucideBeerOff:qs,LucideBell:Ds,LucideBellDot:zs,LucideBellElectric:Vs,LucideBellMinus:Ps,LucideBellOff:Ts,LucideBellPlus:Hs,LucideBellRing:Bs,LucideBetweenHorizonalEnd:ea,LucideBetweenHorizonalStart:ta,LucideBetweenHorizontalEnd:ea,LucideBetweenHorizontalStart:ta,LucideBetweenVerticalEnd:Fs,LucideBetweenVerticalStart:Rs,LucideBicepsFlexed:Es,LucideBike:Us,LucideBinary:Os,LucideBinoculars:Ws,LucideBiohazard:Gs,LucideBird:Ks,LucideBitcoin:Zs,LucideBlend:Xs,LucideBlinds:Ys,LucideBlocks:Js,LucideBluetooth:a2,LucideBluetoothConnected:Qs,LucideBluetoothOff:e2,LucideBluetoothSearching:t2,LucideBold:n2,LucideBolt:o2,LucideBomb:c2,LucideBone:i2,LucideBook:j2,LucideBookA:r2,LucideBookAlert:s2,LucideBookAudio:d2,LucideBookCheck:l2,LucideBookCopy:h2,LucideBookDashed:aa,LucideBookDown:u2,LucideBookHeadphones:p2,LucideBookHeart:y2,LucideBookImage:k2,LucideBookKey:m2,LucideBookLock:f2,LucideBookMarked:v2,LucideBookMinus:g2,LucideBookOpen:_2,LucideBookOpenCheck:M2,LucideBookOpenText:x2,LucideBookPlus:L2,LucideBookTemplate:aa,LucideBookText:I2,LucideBookType:b2,LucideBookUp:C2,LucideBookUp2:w2,LucideBookUser:N2,LucideBookX:S2,LucideBookmark:V2,LucideBookmarkCheck:$2,LucideBookmarkMinus:q2,LucideBookmarkPlus:A2,LucideBookmarkX:z2,LucideBoomBox:P2,LucideBot:D2,LucideBotMessageSquare:T2,LucideBotOff:H2,LucideBottleWine:B2,LucideBowArrow:R2,LucideBox:F2,LucideBoxSelect:zo,LucideBoxes:E2,LucideBraces:na,LucideBrackets:O2,LucideBrain:G2,LucideBrainCircuit:U2,LucideBrainCog:W2,LucideBrickWall:X2,LucideBrickWallFire:K2,LucideBrickWallShield:Z2,LucideBriefcase:ed,LucideBriefcaseBusiness:Y2,LucideBriefcaseConveyorBelt:J2,LucideBriefcaseMedical:Q2,LucideBringToFront:td,LucideBrush:nd,LucideBrushCleaning:ad,LucideBubbles:od,LucideBug:sd,LucideBugOff:cd,LucideBugPlay:id,LucideBuilding:dd,LucideBuilding2:rd,LucideBus:hd,LucideBusFront:ld,LucideCable:pd,LucideCableCar:ud,LucideCake:kd,LucideCakeSlice:yd,LucideCalculator:md,LucideCalendar:x1,LucideCalendar1:fd,LucideCalendarArrowDown:gd,LucideCalendarArrowUp:vd,LucideCalendarCheck:xd,LucideCalendarCheck2:Md,LucideCalendarClock:_d,LucideCalendarCog:Ld,LucideCalendarDays:Id,LucideCalendarFold:bd,LucideCalendarHeart:wd,LucideCalendarMinus:Nd,LucideCalendarMinus2:Cd,LucideCalendarOff:Sd,LucideCalendarPlus:$d,LucideCalendarPlus2:jd,LucideCalendarRange:qd,LucideCalendarSearch:Ad,LucideCalendarSync:zd,LucideCalendarX:Pd,LucideCalendarX2:Vd,LucideCamera:Hd,LucideCameraOff:Td,LucideCandlestickChart:sa,LucideCandy:Rd,LucideCandyCane:Dd,LucideCandyOff:Bd,LucideCannabis:Fd,LucideCaptions:oa,LucideCaptionsOff:Ed,LucideCar:Wd,LucideCarFront:Od,LucideCarTaxiFront:Ud,LucideCaravan:Gd,LucideCardSim:Kd,LucideCarrot:Zd,LucideCaseLower:Xd,LucideCaseSensitive:Yd,LucideCaseUpper:Jd,LucideCassetteTape:Qd,LucideCast:e0,LucideCastle:a0,LucideCat:t0,LucideCctv:n0,LucideChartArea:ca,LucideChartBar:ra,LucideChartBarBig:ia,LucideChartBarDecreasing:o0,LucideChartBarIncreasing:c0,LucideChartBarStacked:i0,LucideChartCandlestick:sa,LucideChartColumn:ha,LucideChartColumnBig:da,LucideChartColumnDecreasing:r0,LucideChartColumnIncreasing:la,LucideChartColumnStacked:s0,LucideChartGantt:d0,LucideChartLine:ua,LucideChartNetwork:l0,LucideChartNoAxesColumn:ya,LucideChartNoAxesColumnDecreasing:h0,LucideChartNoAxesColumnIncreasing:pa,LucideChartNoAxesCombined:u0,LucideChartNoAxesGantt:ka,LucideChartPie:ma,LucideChartScatter:fa,LucideChartSpline:p0,LucideCheck:_1,LucideCheckCheck:y0,LucideCheckCircle:Ca,LucideCheckCircle2:Na,LucideCheckLine:k0,LucideCheckSquare:bo,LucideCheckSquare2:wo,LucideChefHat:m0,LucideCherry:f0,LucideChevronDown:qt,LucideChevronDownCircle:Sa,LucideChevronDownSquare:Co,LucideChevronFirst:g0,LucideChevronLast:v0,LucideChevronLeft:M0,LucideChevronLeftCircle:ja,LucideChevronLeftSquare:No,LucideChevronRight:L1,LucideChevronRightCircle:$a,LucideChevronRightSquare:So,LucideChevronUp:jc,LucideChevronUpCircle:qa,LucideChevronUpSquare:jo,LucideChevronsDown:_0,LucideChevronsDownUp:x0,LucideChevronsLeft:I0,LucideChevronsLeftRight:L0,LucideChevronsLeftRightEllipsis:b0,LucideChevronsRight:C0,LucideChevronsRightLeft:w0,LucideChevronsUp:N0,LucideChevronsUpDown:Yc,LucideChrome:S0,LucideChurch:j0,LucideCigarette:q0,LucideCigaretteOff:$0,LucideCircle:W0,LucideCircleAlert:ga,LucideCircleArrowDown:va,LucideCircleArrowLeft:Ma,LucideCircleArrowOutDownLeft:xa,LucideCircleArrowOutDownRight:_a,LucideCircleArrowOutUpLeft:La,LucideCircleArrowOutUpRight:Ia,LucideCircleArrowRight:ba,LucideCircleArrowUp:wa,LucideCircleCheck:Na,LucideCircleCheckBig:Ca,LucideCircleChevronDown:Sa,LucideCircleChevronLeft:ja,LucideCircleChevronRight:$a,LucideCircleChevronUp:qa,LucideCircleDashed:A0,LucideCircleDivide:Aa,LucideCircleDollarSign:V0,LucideCircleDot:P0,LucideCircleDotDashed:z0,LucideCircleEllipsis:T0,LucideCircleEqual:H0,LucideCircleFadingArrowUp:B0,LucideCircleFadingPlus:D0,LucideCircleGauge:za,LucideCircleHelp:ct,LucideCircleMinus:Va,LucideCircleOff:R0,LucideCircleParking:Ha,LucideCircleParkingOff:Pa,LucideCirclePause:Ta,LucideCirclePercent:Da,LucideCirclePlay:Ba,LucideCirclePlus:Ra,LucideCirclePoundSterling:F0,LucideCirclePower:Fa,LucideCircleQuestionMark:ct,LucideCircleSlash:E0,LucideCircleSlash2:Ea,LucideCircleSlashed:Ea,LucideCircleSmall:O0,LucideCircleStar:U0,LucideCircleStop:Oa,LucideCircleUser:Wa,LucideCircleUserRound:Ua,LucideCircleX:bt,LucideCircuitBoard:G0,LucideCitrus:K0,LucideClapperboard:Z0,LucideClipboard:cl,LucideClipboardCheck:X0,LucideClipboardClock:Y0,LucideClipboardCopy:J0,LucideClipboardEdit:Ka,LucideClipboardList:Q0,LucideClipboardMinus:el,LucideClipboardPaste:tl,LucideClipboardPen:Ka,LucideClipboardPenLine:Ga,LucideClipboardPlus:al,LucideClipboardSignature:Ga,LucideClipboardType:nl,LucideClipboardX:ol,LucideClock:Ll,LucideClock1:rl,LucideClock10:il,LucideClock11:sl,LucideClock12:dl,LucideClock2:ll,LucideClock3:hl,LucideClock4:ul,LucideClock5:pl,LucideClock6:yl,LucideClock7:kl,LucideClock8:ml,LucideClock9:fl,LucideClockAlert:gl,LucideClockArrowDown:vl,LucideClockArrowUp:Ml,LucideClockFading:xl,LucideClockPlus:_l,LucideClosedCaption:Il,LucideCloud:Bl,LucideCloudAlert:bl,LucideCloudCheck:wl,LucideCloudCog:Cl,LucideCloudDownload:Za,LucideCloudDrizzle:Nl,LucideCloudFog:Sl,LucideCloudHail:jl,LucideCloudLightning:$l,LucideCloudMoon:Al,LucideCloudMoonRain:ql,LucideCloudOff:zl,LucideCloudRain:Pl,LucideCloudRainWind:Vl,LucideCloudSnow:Tl,LucideCloudSun:Dl,LucideCloudSunRain:Hl,LucideCloudUpload:Xa,LucideCloudy:Rl,LucideClover:Fl,LucideClub:El,LucideCode:Ol,LucideCode2:Ya,LucideCodeSquare:$o,LucideCodeXml:Ya,LucideCodepen:Ul,LucideCodesandbox:Wl,LucideCoffee:Gl,LucideCog:Kl,LucideCoins:Zl,LucideColumns:Ja,LucideColumns2:Ja,LucideColumns3:Qa,LucideColumns3Cog:it,LucideColumns4:Xl,LucideColumnsSettings:it,LucideCombine:Yl,LucideCommand:Jl,LucideCompass:Ql,LucideComponent:eh,LucideComputer:th,LucideConciergeBell:ah,LucideCone:nh,LucideConstruction:oh,LucideContact:ch,LucideContact2:en,LucideContactRound:en,LucideContainer:ih,LucideContrast:sh,LucideCookie:rh,LucideCookingPot:lh,LucideCopy:kh,LucideCopyCheck:dh,LucideCopyMinus:hh,LucideCopyPlus:uh,LucideCopySlash:ph,LucideCopyX:yh,LucideCopyleft:mh,LucideCopyright:fh,LucideCornerDownLeft:gh,LucideCornerDownRight:vh,LucideCornerLeftDown:Mh,LucideCornerLeftUp:xh,LucideCornerRightDown:_h,LucideCornerRightUp:Lh,LucideCornerUpLeft:Ih,LucideCornerUpRight:bh,LucideCpu:wh,LucideCreativeCommons:Ch,LucideCreditCard:Nh,LucideCroissant:Sh,LucideCrop:jh,LucideCross:$h,LucideCrosshair:qh,LucideCrown:Ah,LucideCuboid:zh,LucideCupSoda:Vh,LucideCurlyBraces:na,LucideCurrency:Ph,LucideCylinder:Th,LucideDam:Hh,LucideDatabase:Rh,LucideDatabaseBackup:Dh,LucideDatabaseZap:Bh,LucideDecimalsArrowLeft:Fh,LucideDecimalsArrowRight:Eh,LucideDelete:Oh,LucideDessert:Uh,LucideDiameter:Wh,LucideDiamond:Zh,LucideDiamondMinus:Gh,LucideDiamondPercent:tn,LucideDiamondPlus:Kh,LucideDice1:Xh,LucideDice2:Yh,LucideDice3:Jh,LucideDice4:Qh,LucideDice5:eu,LucideDice6:tu,LucideDices:au,LucideDiff:nu,LucideDisc:ru,LucideDisc2:ou,LucideDisc3:cu,LucideDiscAlbum:iu,LucideDivide:su,LucideDivideCircle:Aa,LucideDivideSquare:Vo,LucideDna:lu,LucideDnaOff:du,LucideDock:hu,LucideDog:uu,LucideDollarSign:pu,LucideDonut:yu,LucideDoorClosed:mu,LucideDoorClosedLocked:ku,LucideDoorOpen:fu,LucideDot:gu,LucideDotSquare:To,LucideDownload:Mu,LucideDownloadCloud:Za,LucideDraftingCompass:vu,LucideDrama:xu,LucideDribbble:_u,LucideDrill:Lu,LucideDrone:Iu,LucideDroplet:wu,LucideDropletOff:bu,LucideDroplets:Cu,LucideDrum:Nu,LucideDrumstick:Su,LucideDumbbell:ju,LucideEar:qu,LucideEarOff:$u,LucideEarth:an,LucideEarthLock:Au,LucideEclipse:zu,LucideEdit:Re,LucideEdit2:kt,LucideEdit3:yt,LucideEgg:Tu,LucideEggFried:Vu,LucideEggOff:Pu,LucideEllipsis:on,LucideEllipsisVertical:nn,LucideEqual:Bu,LucideEqualApproximately:Hu,LucideEqualNot:Du,LucideEqualSquare:Po,LucideEraser:Ru,LucideEthernetPort:Fu,LucideEuro:Eu,LucideExpand:Uu,LucideExternalLink:Ou,LucideEye:b1,LucideEyeClosed:Wu,LucideEyeOff:I1,LucideFacebook:Gu,LucideFactory:Ku,LucideFan:Zu,LucideFastForward:Xu,LucideFeather:Yu,LucideFence:Ju,LucideFerrisWheel:Qu,LucideFigma:ep,LucideFile:Kp,LucideFileArchive:tp,LucideFileAudio:np,LucideFileAudio2:ap,LucideFileAxis3D:cn,LucideFileAxis3d:cn,LucideFileBadge:ip,LucideFileBadge2:op,LucideFileBarChart:rn,LucideFileBarChart2:sn,LucideFileBox:cp,LucideFileChartColumn:sn,LucideFileChartColumnIncreasing:rn,LucideFileChartLine:dn,LucideFileChartPie:ln,LucideFileCheck:sp,LucideFileCheck2:rp,LucideFileClock:dp,LucideFileCode:lp,LucideFileCode2:hp,LucideFileCog:hn,LucideFileCog2:hn,LucideFileDiff:up,LucideFileDigit:pp,LucideFileDown:yp,LucideFileEdit:pn,LucideFileHeart:kp,LucideFileImage:mp,LucideFileInput:fp,LucideFileJson:vp,LucideFileJson2:gp,LucideFileKey:xp,LucideFileKey2:Mp,LucideFileLineChart:dn,LucideFileLock:Lp,LucideFileLock2:_p,LucideFileMinus:bp,LucideFileMinus2:Ip,LucideFileMusic:wp,LucideFileOutput:Cp,LucideFilePen:pn,LucideFilePenLine:un,LucideFilePieChart:ln,LucideFilePlay:yn,LucideFilePlus:Sp,LucideFilePlus2:Np,LucideFileQuestion:kn,LucideFileQuestionMark:kn,LucideFileScan:jp,LucideFileSearch:qp,LucideFileSearch2:$p,LucideFileSignature:un,LucideFileSliders:Ap,LucideFileSpreadsheet:zp,LucideFileStack:Vp,LucideFileSymlink:Pp,LucideFileTerminal:Tp,LucideFileText:Hp,LucideFileType:Bp,LucideFileType2:Dp,LucideFileUp:Rp,LucideFileUser:Fp,LucideFileVideo:yn,LucideFileVideo2:mn,LucideFileVideoCamera:mn,LucideFileVolume:Op,LucideFileVolume2:Ep,LucideFileWarning:Up,LucideFileX:Gp,LucideFileX2:Wp,LucideFiles:Zp,LucideFilm:Xp,LucideFilter:wt,LucideFilterX:vn,LucideFingerprint:Yp,LucideFireExtinguisher:Jp,LucideFish:ey,LucideFishOff:Qp,LucideFishSymbol:ty,LucideFlag:cy,LucideFlagOff:ay,LucideFlagTriangleLeft:ny,LucideFlagTriangleRight:oy,LucideFlame:ry,LucideFlameKindling:iy,LucideFlashlight:dy,LucideFlashlightOff:sy,LucideFlaskConical:hy,LucideFlaskConicalOff:ly,LucideFlaskRound:uy,LucideFlipHorizontal:yy,LucideFlipHorizontal2:py,LucideFlipVertical:my,LucideFlipVertical2:ky,LucideFlower:gy,LucideFlower2:fy,LucideFocus:vy,LucideFoldHorizontal:My,LucideFoldVertical:xy,LucideFolder:w1,LucideFolderArchive:_y,LucideFolderCheck:Ly,LucideFolderClock:Iy,LucideFolderClosed:by,LucideFolderCode:wy,LucideFolderCog:fn,LucideFolderCog2:fn,LucideFolderDot:Cy,LucideFolderDown:Ny,LucideFolderEdit:gn,LucideFolderGit:jy,LucideFolderGit2:Sy,LucideFolderHeart:$y,LucideFolderInput:qy,LucideFolderKanban:Ay,LucideFolderKey:zy,LucideFolderLock:Vy,LucideFolderMinus:Py,LucideFolderOpen:Hy,LucideFolderOpenDot:Ty,LucideFolderOutput:Dy,LucideFolderPen:gn,LucideFolderPlus:Jc,LucideFolderRoot:By,LucideFolderSearch:Fy,LucideFolderSearch2:Ry,LucideFolderSymlink:Ey,LucideFolderSync:Oy,LucideFolderTree:Uy,LucideFolderUp:Wy,LucideFolderX:Gy,LucideFolders:Ky,LucideFootprints:Zy,LucideForkKnife:Lc,LucideForkKnifeCrossed:_c,LucideForklift:Xy,LucideFormInput:eo,LucideForward:Yy,LucideFrame:Jy,LucideFramer:Qy,LucideFrown:e4,LucideFuel:t4,LucideFullscreen:a4,LucideFunctionSquare:Ho,LucideFunnel:wt,LucideFunnelPlus:n4,LucideFunnelX:vn,LucideGalleryHorizontal:c4,LucideGalleryHorizontalEnd:o4,LucideGalleryThumbnails:i4,LucideGalleryVertical:s4,LucideGalleryVerticalEnd:r4,LucideGamepad:l4,LucideGamepad2:d4,LucideGanttChart:ka,LucideGanttChartSquare:st,LucideGauge:h4,LucideGaugeCircle:za,LucideGavel:u4,LucideGem:p4,LucideGeorgianLari:y4,LucideGhost:k4,LucideGift:m4,LucideGitBranch:g4,LucideGitBranchPlus:f4,LucideGitCommit:Mn,LucideGitCommitHorizontal:Mn,LucideGitCommitVertical:v4,LucideGitCompare:x4,LucideGitCompareArrows:M4,LucideGitFork:_4,LucideGitGraph:L4,LucideGitMerge:I4,LucideGitPullRequest:j4,LucideGitPullRequestArrow:b4,LucideGitPullRequestClosed:w4,LucideGitPullRequestCreate:N4,LucideGitPullRequestCreateArrow:C4,LucideGitPullRequestDraft:S4,LucideGithub:$4,LucideGitlab:q4,LucideGlassWater:A4,LucideGlasses:z4,LucideGlobe:P4,LucideGlobe2:an,LucideGlobeLock:V4,LucideGoal:T4,LucideGpu:H4,LucideGrab:bn,LucideGraduationCap:D4,LucideGrape:B4,LucideGrid:rt,LucideGrid2X2:In,LucideGrid2X2Check:xn,LucideGrid2X2Plus:_n,LucideGrid2X2X:Ln,LucideGrid2x2:In,LucideGrid2x2Check:xn,LucideGrid2x2Plus:_n,LucideGrid2x2X:Ln,LucideGrid3X3:rt,LucideGrid3x2:R4,LucideGrid3x3:rt,LucideGrip:E4,LucideGripHorizontal:F4,LucideGripVertical:C1,LucideGroup:O4,LucideGuitar:U4,LucideHam:W4,LucideHamburger:G4,LucideHammer:K4,LucideHand:e5,LucideHandCoins:Z4,LucideHandFist:X4,LucideHandGrab:bn,LucideHandHeart:Y4,LucideHandHelping:wn,LucideHandMetal:J4,LucideHandPlatter:Q4,LucideHandbag:t5,LucideHandshake:a5,LucideHardDrive:c5,LucideHardDriveDownload:n5,LucideHardDriveUpload:o5,LucideHardHat:i5,LucideHash:r5,LucideHatGlasses:s5,LucideHaze:d5,LucideHdmiPort:l5,LucideHeading:f5,LucideHeading1:h5,LucideHeading2:u5,LucideHeading3:p5,LucideHeading4:y5,LucideHeading5:k5,LucideHeading6:m5,LucideHeadphoneOff:g5,LucideHeadphones:v5,LucideHeadset:M5,LucideHeart:C5,LucideHeartCrack:x5,LucideHeartHandshake:_5,LucideHeartMinus:L5,LucideHeartOff:I5,LucideHeartPlus:b5,LucideHeartPulse:w5,LucideHeater:N5,LucideHelpCircle:ct,LucideHelpingHand:wn,LucideHexagon:S5,LucideHighlighter:j5,LucideHistory:$5,LucideHome:Ct,LucideHop:A5,LucideHopOff:q5,LucideHospital:N1,LucideHotel:z5,LucideHourglass:V5,LucideHouse:Ct,LucideHousePlug:P5,LucideHousePlus:H5,LucideHouseWifi:T5,LucideIceCream:Nn,LucideIceCream2:Cn,LucideIceCreamBowl:Cn,LucideIceCreamCone:Nn,LucideIdCard:B5,LucideIdCardLanyard:D5,LucideImage:K5,LucideImageDown:R5,LucideImageMinus:F5,LucideImageOff:E5,LucideImagePlay:O5,LucideImagePlus:U5,LucideImageUp:W5,LucideImageUpscale:G5,LucideImages:Z5,LucideImport:X5,LucideInbox:Y5,LucideIndent:jn,LucideIndentDecrease:Sn,LucideIndentIncrease:jn,LucideIndianRupee:J5,LucideInfinity:Q5,LucideInfo:ek,LucideInspect:Uo,LucideInspectionPanel:tk,LucideInstagram:ak,LucideItalic:nk,LucideIterationCcw:ok,LucideIterationCw:ck,LucideJapaneseYen:rk,LucideJoystick:ik,LucideKanban:sk,LucideKanbanSquare:Do,LucideKanbanSquareDashed:qo,LucideKayak:dk,LucideKey:uk,LucideKeyRound:lk,LucideKeySquare:hk,LucideKeyboard:kk,LucideKeyboardMusic:pk,LucideKeyboardOff:yk,LucideLamp:xk,LucideLampCeiling:mk,LucideLampDesk:gk,LucideLampFloor:fk,LucideLampWallDown:vk,LucideLampWallUp:Mk,LucideLandPlot:_k,LucideLandmark:Lk,LucideLanguages:Ik,LucideLaptop:wk,LucideLaptop2:$n,LucideLaptopMinimal:$n,LucideLaptopMinimalCheck:bk,LucideLasso:Nk,LucideLassoSelect:Ck,LucideLaugh:Sk,LucideLayers:qn,LucideLayers2:jk,LucideLayers3:qn,LucideLayout:Jn,LucideLayoutDashboard:$k,LucideLayoutGrid:qk,LucideLayoutList:Ak,LucideLayoutPanelLeft:zk,LucideLayoutPanelTop:Vk,LucideLayoutTemplate:Pk,LucideLeaf:Tk,LucideLeafyGreen:Dk,LucideLectern:Hk,LucideLetterText:Bk,LucideLibrary:Fk,LucideLibraryBig:Rk,LucideLibrarySquare:Bo,LucideLifeBuoy:Ek,LucideLigature:Ok,LucideLightbulb:Wk,LucideLightbulbOff:Uk,LucideLineChart:ua,LucideLineSquiggle:Gk,LucideLink:Xk,LucideLink2:Kk,LucideLink2Off:Zk,LucideLinkedin:Yk,LucideList:y3,LucideListCheck:Jk,LucideListChecks:Qk,LucideListCollapse:e3,LucideListEnd:t3,LucideListFilter:o3,LucideListFilterPlus:a3,LucideListMinus:n3,LucideListMusic:c3,LucideListOrdered:i3,LucideListPlus:r3,LucideListRestart:s3,LucideListStart:d3,LucideListTodo:l3,LucideListTree:h3,LucideListVideo:u3,LucideListX:p3,LucideLoader:m3,LucideLoader2:An,LucideLoaderCircle:An,LucideLoaderPinwheel:k3,LucideLocate:v3,LucideLocateFixed:f3,LucideLocateOff:g3,LucideLocationEdit:Tn,LucideLock:x3,LucideLockKeyhole:M3,LucideLockKeyholeOpen:zn,LucideLockOpen:Vn,LucideLogIn:_3,LucideLogOut:L3,LucideLogs:I3,LucideLollipop:b3,LucideLuggage:w3,LucideMSquare:Ro,LucideMagnet:C3,LucideMail:z3,LucideMailCheck:N3,LucideMailMinus:S3,LucideMailOpen:j3,LucideMailPlus:$3,LucideMailQuestion:Pn,LucideMailQuestionMark:Pn,LucideMailSearch:q3,LucideMailWarning:A3,LucideMailX:V3,LucideMailbox:P3,LucideMails:T3,LucideMap:J3,LucideMapMinus:H3,LucideMapPin:Z3,LucideMapPinCheck:D3,LucideMapPinCheckInside:B3,LucideMapPinHouse:R3,LucideMapPinMinus:E3,LucideMapPinMinusInside:F3,LucideMapPinOff:O3,LucideMapPinPen:Tn,LucideMapPinPlus:W3,LucideMapPinPlusInside:U3,LucideMapPinX:K3,LucideMapPinXInside:G3,LucideMapPinned:X3,LucideMapPlus:Y3,LucideMars:em,LucideMarsStroke:Q3,LucideMartini:tm,LucideMaximize:om,LucideMaximize2:am,LucideMedal:nm,LucideMegaphone:im,LucideMegaphoneOff:cm,LucideMeh:rm,LucideMemoryStick:sm,LucideMenu:Qc,LucideMenuSquare:Fo,LucideMerge:dm,LucideMessageCircle:vm,LucideMessageCircleCode:lm,LucideMessageCircleDashed:hm,LucideMessageCircleHeart:um,LucideMessageCircleMore:pm,LucideMessageCircleOff:ym,LucideMessageCirclePlus:km,LucideMessageCircleQuestion:Hn,LucideMessageCircleQuestionMark:Hn,LucideMessageCircleReply:mm,LucideMessageCircleWarning:fm,LucideMessageCircleX:gm,LucideMessageSquare:Vm,LucideMessageSquareCode:Mm,LucideMessageSquareDashed:xm,LucideMessageSquareDiff:_m,LucideMessageSquareDot:Lm,LucideMessageSquareHeart:Im,LucideMessageSquareLock:bm,LucideMessageSquareMore:wm,LucideMessageSquareOff:Cm,LucideMessageSquarePlus:Nm,LucideMessageSquareQuote:Sm,LucideMessageSquareReply:jm,LucideMessageSquareShare:$m,LucideMessageSquareText:qm,LucideMessageSquareWarning:Am,LucideMessageSquareX:zm,LucideMessagesSquare:Pm,LucideMic:Hm,LucideMic2:Dn,LucideMicOff:Tm,LucideMicVocal:Dn,LucideMicrochip:Dm,LucideMicroscope:Bm,LucideMicrowave:Rm,LucideMilestone:Fm,LucideMilk:Om,LucideMilkOff:Em,LucideMinimize:Wm,LucideMinimize2:Um,LucideMinus:Gm,LucideMinusCircle:Va,LucideMinusSquare:Eo,LucideMonitor:i6,LucideMonitorCheck:Km,LucideMonitorCog:Zm,LucideMonitorDot:Xm,LucideMonitorDown:Ym,LucideMonitorOff:Jm,LucideMonitorPause:e6,LucideMonitorPlay:Qm,LucideMonitorSmartphone:t6,LucideMonitorSpeaker:a6,LucideMonitorStop:n6,LucideMonitorUp:o6,LucideMonitorX:c6,LucideMoon:s6,LucideMoonStar:r6,LucideMoreHorizontal:on,LucideMoreVertical:nn,LucideMountain:l6,LucideMountainSnow:d6,LucideMouse:m6,LucideMouseOff:h6,LucideMousePointer:y6,LucideMousePointer2:u6,LucideMousePointerBan:p6,LucideMousePointerClick:k6,LucideMousePointerSquareDashed:Ao,LucideMove:a.Move,LucideMove3D:Bn,LucideMove3d:Bn,LucideMoveDiagonal:g6,LucideMoveDiagonal2:f6,LucideMoveDown:_6,LucideMoveDownLeft:v6,LucideMoveDownRight:M6,LucideMoveHorizontal:x6,LucideMoveLeft:L6,LucideMoveRight:I6,LucideMoveUp:C6,LucideMoveUpLeft:b6,LucideMoveUpRight:w6,LucideMoveVertical:N6,LucideMusic:q6,LucideMusic2:S6,LucideMusic3:j6,LucideMusic4:$6,LucideNavigation:P6,LucideNavigation2:z6,LucideNavigation2Off:A6,LucideNavigationOff:V6,LucideNetwork:T6,LucideNewspaper:H6,LucideNfc:D6,LucideNonBinary:B6,LucideNotebook:O6,LucideNotebookPen:R6,LucideNotebookTabs:F6,LucideNotebookText:E6,LucideNotepadText:W6,LucideNotepadTextDashed:U6,LucideNut:K6,LucideNutOff:G6,LucideOctagon:X6,LucideOctagonAlert:Rn,LucideOctagonMinus:Z6,LucideOctagonPause:Fn,LucideOctagonX:En,LucideOmega:Y6,LucideOption:J6,LucideOrbit:Q6,LucideOrigami:e8,LucideOutdent:Sn,LucidePackage:s8,LucidePackage2:t8,LucidePackageCheck:a8,LucidePackageMinus:n8,LucidePackageOpen:o8,LucidePackagePlus:c8,LucidePackageSearch:i8,LucidePackageX:r8,LucidePaintBucket:d8,LucidePaintRoller:l8,LucidePaintbrush:h8,LucidePaintbrush2:On,LucidePaintbrushVertical:On,LucidePalette:u8,LucidePalmtree:hc,LucidePanda:p8,LucidePanelBottom:m8,LucidePanelBottomClose:y8,LucidePanelBottomDashed:Un,LucidePanelBottomInactive:Un,LucidePanelBottomOpen:k8,LucidePanelLeft:Zn,LucidePanelLeftClose:Wn,LucidePanelLeftDashed:Gn,LucidePanelLeftInactive:Gn,LucidePanelLeftOpen:Kn,LucidePanelRight:v8,LucidePanelRightClose:f8,LucidePanelRightDashed:Xn,LucidePanelRightInactive:Xn,LucidePanelRightOpen:g8,LucidePanelTop:_8,LucidePanelTopClose:M8,LucidePanelTopDashed:Yn,LucidePanelTopInactive:Yn,LucidePanelTopOpen:x8,LucidePanelsLeftBottom:L8,LucidePanelsLeftRight:Qa,LucidePanelsRightBottom:I8,LucidePanelsTopBottom:no,LucidePanelsTopLeft:Jn,LucidePaperclip:b8,LucideParentheses:w8,LucideParkingCircle:Ha,LucideParkingCircleOff:Pa,LucideParkingMeter:C8,LucideParkingSquare:Wo,LucideParkingSquareOff:Oo,LucidePartyPopper:N8,LucidePause:S8,LucidePauseCircle:Ta,LucidePauseOctagon:Fn,LucidePawPrint:j8,LucidePcCase:$8,LucidePen:kt,LucidePenBox:Re,LucidePenLine:yt,LucidePenOff:A8,LucidePenSquare:Re,LucidePenTool:q8,LucidePencil:e1,LucidePencilLine:z8,LucidePencilOff:V8,LucidePencilRuler:P8,LucidePentagon:T8,LucidePercent:H8,LucidePercentCircle:Da,LucidePercentDiamond:tn,LucidePercentSquare:Go,LucidePersonStanding:B8,LucidePhilippinePeso:D8,LucidePhone:W8,LucidePhoneCall:R8,LucidePhoneForwarded:F8,LucidePhoneIncoming:E8,LucidePhoneMissed:O8,LucidePhoneOff:U8,LucidePhoneOutgoing:G8,LucidePi:K8,LucidePiSquare:Ko,LucidePiano:Z8,LucidePickaxe:X8,LucidePictureInPicture:J8,LucidePictureInPicture2:Y8,LucidePieChart:ma,LucidePiggyBank:Q8,LucidePilcrow:tf,LucidePilcrowLeft:ef,LucidePilcrowRight:af,LucidePilcrowSquare:Zo,LucidePill:of,LucidePillBottle:nf,LucidePin:rf,LucidePinOff:cf,LucidePipette:sf,LucidePizza:df,LucidePlane:uf,LucidePlaneLanding:lf,LucidePlaneTakeoff:hf,LucidePlay:pf,LucidePlayCircle:Ba,LucidePlaySquare:Xo,LucidePlug:kf,LucidePlug2:yf,LucidePlugZap:Qn,LucidePlugZap2:Qn,LucidePlus:$c,LucidePlusCircle:Ra,LucidePlusSquare:Yo,LucidePocket:ff,LucidePocketKnife:mf,LucidePodcast:gf,LucidePointer:Mf,LucidePointerOff:vf,LucidePopcorn:_f,LucidePopsicle:xf,LucidePoundSterling:Lf,LucidePower:bf,LucidePowerCircle:Fa,LucidePowerOff:If,LucidePowerSquare:Jo,LucidePresentation:wf,LucidePrinter:Nf,LucidePrinterCheck:Cf,LucideProjector:Sf,LucideProportions:jf,LucidePuzzle:qf,LucidePyramid:$f,LucideQrCode:Af,LucideQuote:zf,LucideRabbit:Vf,LucideRadar:Pf,LucideRadiation:Tf,LucideRadical:Hf,LucideRadio:Rf,LucideRadioReceiver:Df,LucideRadioTower:Bf,LucideRadius:Ff,LucideRailSymbol:Ef,LucideRainbow:Of,LucideRat:Uf,LucideRatio:Wf,LucideReceipt:ag,LucideReceiptCent:Gf,LucideReceiptEuro:Zf,LucideReceiptIndianRupee:Kf,LucideReceiptJapaneseYen:Xf,LucideReceiptPoundSterling:Yf,LucideReceiptRussianRuble:Jf,LucideReceiptSwissFranc:Qf,LucideReceiptText:eg,LucideReceiptTurkishLira:tg,LucideRectangleCircle:ng,LucideRectangleEllipsis:eo,LucideRectangleGoggles:og,LucideRectangleHorizontal:cg,LucideRectangleVertical:ig,LucideRecycle:rg,LucideRedo:lg,LucideRedo2:sg,LucideRedoDot:dg,LucideRefreshCcw:ug,LucideRefreshCcwDot:hg,LucideRefreshCw:yg,LucideRefreshCwOff:pg,LucideRefrigerator:kg,LucideRegex:mg,LucideRemoveFormatting:fg,LucideRepeat:Mg,LucideRepeat1:gg,LucideRepeat2:vg,LucideReplace:_g,LucideReplaceAll:xg,LucideReply:bg,LucideReplyAll:Lg,LucideRewind:Ig,LucideRibbon:wg,LucideRocket:Cg,LucideRockingChair:jg,LucideRollerCoaster:Ng,LucideRose:Sg,LucideRotate3D:to,LucideRotate3d:to,LucideRotateCcw:Ag,LucideRotateCcwKey:$g,LucideRotateCcwSquare:qg,LucideRotateCw:Vg,LucideRotateCwSquare:zg,LucideRoute:Tg,LucideRouteOff:Pg,LucideRouter:Hg,LucideRows:ao,LucideRows2:ao,LucideRows3:no,LucideRows4:Dg,LucideRss:Bg,LucideRuler:Fg,LucideRulerDimensionLine:Rg,LucideRussianRuble:Eg,LucideSailboat:Og,LucideSalad:Ug,LucideSandwich:Wg,LucideSatellite:Kg,LucideSatelliteDish:Gg,LucideSaudiRiyal:Zg,LucideSave:Qg,LucideSaveAll:Xg,LucideSaveOff:Yg,LucideScale:Jg,LucideScale3D:oo,LucideScale3d:oo,LucideScaling:e7,LucideScan:d7,LucideScanBarcode:t7,LucideScanEye:a7,LucideScanFace:n7,LucideScanHeart:o7,LucideScanLine:c7,LucideScanQrCode:i7,LucideScanSearch:r7,LucideScanText:s7,LucideScatterChart:fa,LucideSchool:l7,LucideSchool2:yc,LucideScissors:u7,LucideScissorsLineDashed:h7,LucideScissorsSquare:Qo,LucideScissorsSquareDashedBottom:Io,LucideScreenShare:p7,LucideScreenShareOff:y7,LucideScroll:m7,LucideScrollText:k7,LucideSearch:S1,LucideSearchCheck:f7,LucideSearchCode:g7,LucideSearchSlash:v7,LucideSearchX:M7,LucideSection:x7,LucideSend:L7,LucideSendHorizonal:co,LucideSendHorizontal:co,LucideSendToBack:_7,LucideSeparatorHorizontal:I7,LucideSeparatorVertical:b7,LucideServer:S7,LucideServerCog:w7,LucideServerCrash:N7,LucideServerOff:C7,LucideSettings:$7,LucideSettings2:j7,LucideShapes:q7,LucideShare:z7,LucideShare2:A7,LucideSheet:V7,LucideShell:P7,LucideShield:W7,LucideShieldAlert:T7,LucideShieldBan:H7,LucideShieldCheck:D7,LucideShieldClose:ro,LucideShieldEllipsis:B7,LucideShieldHalf:R7,LucideShieldMinus:E7,LucideShieldOff:F7,LucideShieldPlus:O7,LucideShieldQuestion:io,LucideShieldQuestionMark:io,LucideShieldUser:U7,LucideShieldX:ro,LucideShip:K7,LucideShipWheel:G7,LucideShirt:Z7,LucideShoppingBag:X7,LucideShoppingBasket:Y7,LucideShoppingCart:J7,LucideShovel:Q7,LucideShowerHead:ev,LucideShredder:tv,LucideShrimp:av,LucideShrink:nv,LucideShrub:ov,LucideShuffle:iv,LucideSidebar:Zn,LucideSidebarClose:Wn,LucideSidebarOpen:Kn,LucideSigma:cv,LucideSigmaSquare:ec,LucideSignal:hv,LucideSignalHigh:rv,LucideSignalLow:sv,LucideSignalMedium:dv,LucideSignalZero:lv,LucideSignature:uv,LucideSignpost:yv,LucideSignpostBig:pv,LucideSiren:kv,LucideSkipBack:mv,LucideSkipForward:fv,LucideSkull:gv,LucideSlack:vv,LucideSlash:Mv,LucideSlashSquare:tc,LucideSlice:xv,LucideSliders:so,LucideSlidersHorizontal:_v,LucideSlidersVertical:so,LucideSmartphone:bv,LucideSmartphoneCharging:Lv,LucideSmartphoneNfc:Iv,LucideSmile:Cv,LucideSmilePlus:wv,LucideSnail:Nv,LucideSnowflake:Sv,LucideSoapDispenserDroplet:jv,LucideSofa:$v,LucideSortAsc:Zt,LucideSortDesc:Wt,LucideSoup:qv,LucideSpace:Av,LucideSpade:zv,LucideSparkle:Vv,LucideSparkles:lo,LucideSpeaker:Pv,LucideSpeech:Tv,LucideSpellCheck:Dv,LucideSpellCheck2:Hv,LucideSpline:Rv,LucideSplinePointer:Bv,LucideSplit:Fv,LucideSplitSquareHorizontal:ac,LucideSplitSquareVertical:nc,LucideSpool:Ev,LucideSpotlight:Ov,LucideSprayCan:Uv,LucideSprout:Wv,LucideSquare:n9,LucideSquareActivity:Nt,LucideSquareArrowDown:po,LucideSquareArrowDownLeft:ho,LucideSquareArrowDownRight:uo,LucideSquareArrowLeft:yo,LucideSquareArrowOutDownLeft:ko,LucideSquareArrowOutDownRight:mo,LucideSquareArrowOutUpLeft:fo,LucideSquareArrowOutUpRight:go,LucideSquareArrowRight:vo,LucideSquareArrowUp:_o,LucideSquareArrowUpLeft:Mo,LucideSquareArrowUpRight:xo,LucideSquareAsterisk:Lo,LucideSquareBottomDashedScissors:Io,LucideSquareChartGantt:st,LucideSquareCheck:wo,LucideSquareCheckBig:bo,LucideSquareChevronDown:Co,LucideSquareChevronLeft:No,LucideSquareChevronRight:So,LucideSquareChevronUp:jo,LucideSquareCode:$o,LucideSquareDashed:zo,LucideSquareDashedBottom:Kv,LucideSquareDashedBottomCode:Gv,LucideSquareDashedKanban:qo,LucideSquareDashedMousePointer:Ao,LucideSquareDashedTopSolid:Zv,LucideSquareDivide:Vo,LucideSquareDot:To,LucideSquareEqual:Po,LucideSquareFunction:Ho,LucideSquareGanttChart:st,LucideSquareKanban:Do,LucideSquareLibrary:Bo,LucideSquareM:Ro,LucideSquareMenu:Fo,LucideSquareMinus:Eo,LucideSquareMousePointer:Uo,LucideSquareParking:Wo,LucideSquareParkingOff:Oo,LucideSquarePause:Xv,LucideSquarePen:Re,LucideSquarePercent:Go,LucideSquarePi:Ko,LucideSquarePilcrow:Zo,LucideSquarePlay:Xo,LucideSquarePlus:Yo,LucideSquarePower:Jo,LucideSquareRadical:Yv,LucideSquareRoundCorner:Jv,LucideSquareScissors:Qo,LucideSquareSigma:ec,LucideSquareSlash:tc,LucideSquareSplitHorizontal:ac,LucideSquareSplitVertical:nc,LucideSquareSquare:Qv,LucideSquareStack:e9,LucideSquareStar:t9,LucideSquareStop:a9,LucideSquareTerminal:oc,LucideSquareUser:ic,LucideSquareUserRound:cc,LucideSquareX:rc,LucideSquaresExclude:o9,LucideSquaresIntersect:c9,LucideSquaresSubtract:i9,LucideSquaresUnite:r9,LucideSquircle:d9,LucideSquircleDashed:s9,LucideSquirrel:l9,LucideStamp:h9,LucideStar:k9,LucideStarHalf:u9,LucideStarOff:p9,LucideStars:lo,LucideStepBack:y9,LucideStepForward:m9,LucideStethoscope:f9,LucideSticker:g9,LucideStickyNote:v9,LucideStopCircle:Oa,LucideStore:M9,LucideStretchHorizontal:x9,LucideStretchVertical:_9,LucideStrikethrough:L9,LucideSubscript:I9,LucideSubtitles:oa,LucideSun:j9,LucideSunDim:b9,LucideSunMedium:w9,LucideSunMoon:C9,LucideSunSnow:N9,LucideSunrise:S9,LucideSunset:$9,LucideSuperscript:q9,LucideSwatchBook:A9,LucideSwissFranc:z9,LucideSwitchCamera:V9,LucideSword:P9,LucideSwords:H9,LucideSyringe:T9,LucideTable:W9,LucideTable2:D9,LucideTableCellsMerge:B9,LucideTableCellsSplit:R9,LucideTableColumnsSplit:F9,LucideTableConfig:it,LucideTableOfContents:E9,LucideTableProperties:O9,LucideTableRowsSplit:U9,LucideTablet:K9,LucideTabletSmartphone:G9,LucideTablets:Z9,LucideTag:X9,LucideTags:Y9,LucideTally1:J9,LucideTally2:Q9,LucideTally3:eM,LucideTally4:tM,LucideTally5:aM,LucideTangent:nM,LucideTarget:oM,LucideTelescope:cM,LucideTent:rM,LucideTentTree:iM,LucideTerminal:sM,LucideTerminalSquare:oc,LucideTestTube:dM,LucideTestTube2:sc,LucideTestTubeDiagonal:sc,LucideTestTubes:lM,LucideText:kM,LucideTextCursor:uM,LucideTextCursorInput:hM,LucideTextQuote:pM,LucideTextSearch:yM,LucideTextSelect:dc,LucideTextSelection:dc,LucideTheater:mM,LucideThermometer:MM,LucideThermometerSnowflake:fM,LucideThermometerSun:gM,LucideThumbsDown:vM,LucideThumbsUp:xM,LucideTicket:NM,LucideTicketCheck:_M,LucideTicketMinus:LM,LucideTicketPercent:IM,LucideTicketPlus:bM,LucideTicketSlash:wM,LucideTicketX:CM,LucideTickets:jM,LucideTicketsPlane:SM,LucideTimer:AM,LucideTimerOff:$M,LucideTimerReset:qM,LucideToggleLeft:zM,LucideToggleRight:VM,LucideToilet:PM,LucideToolCase:TM,LucideTornado:DM,LucideTorus:HM,LucideTouchpad:RM,LucideTouchpadOff:BM,LucideTowerControl:EM,LucideToyBrick:FM,LucideTractor:OM,LucideTrafficCone:UM,LucideTrain:lc,LucideTrainFront:GM,LucideTrainFrontTunnel:WM,LucideTrainTrack:KM,LucideTramFront:lc,LucideTransgender:ZM,LucideTrash:XM,LucideTrash2:dt,LucideTreeDeciduous:YM,LucideTreePalm:hc,LucideTreePine:JM,LucideTrees:QM,LucideTrello:ex,LucideTrendingDown:tx,LucideTrendingUp:ax,LucideTrendingUpDown:nx,LucideTriangle:cx,LucideTriangleAlert:uc,LucideTriangleDashed:ox,LucideTriangleRight:ix,LucideTrophy:rx,LucideTruck:dx,LucideTruckElectric:sx,LucideTurkishLira:lx,LucideTurntable:hx,LucideTurtle:ux,LucideTv:yx,LucideTv2:pc,LucideTvMinimal:pc,LucideTvMinimalPlay:px,LucideTwitch:kx,LucideTwitter:mx,LucideType:gx,LucideTypeOutline:fx,LucideUmbrella:Mx,LucideUmbrellaOff:vx,LucideUnderline:xx,LucideUndo:Ix,LucideUndo2:_x,LucideUndoDot:Lx,LucideUnfoldHorizontal:bx,LucideUnfoldVertical:wx,LucideUngroup:Cx,LucideUniversity:yc,LucideUnlink:$x,LucideUnlink2:Nx,LucideUnlock:Vn,LucideUnlockKeyhole:zn,LucideUnplug:Sx,LucideUpload:jx,LucideUploadCloud:Xa,LucideUsb:qx,LucideUser:Ex,LucideUser2:Mc,LucideUserCheck:Ax,LucideUserCheck2:kc,LucideUserCircle:Wa,LucideUserCircle2:Ua,LucideUserCog:zx,LucideUserCog2:mc,LucideUserLock:Vx,LucideUserMinus:Px,LucideUserMinus2:fc,LucideUserPen:Tx,LucideUserPlus:j1,LucideUserPlus2:gc,LucideUserRound:Mc,LucideUserRoundCheck:kc,LucideUserRoundCog:mc,LucideUserRoundMinus:fc,LucideUserRoundPen:Hx,LucideUserRoundPlus:gc,LucideUserRoundSearch:Dx,LucideUserRoundX:vc,LucideUserSearch:Bx,LucideUserSquare:ic,LucideUserSquare2:cc,LucideUserStar:Rx,LucideUserX:Fx,LucideUserX2:vc,LucideUsers:Ox,LucideUsers2:xc,LucideUsersRound:xc,LucideUtensils:Lc,LucideUtensilsCrossed:_c,LucideUtilityPole:Ux,LucideVariable:Wx,LucideVault:Gx,LucideVectorSquare:Kx,LucideVegan:Zx,LucideVenetianMask:Xx,LucideVenus:e_,LucideVenusAndMars:Yx,LucideVerified:Jt,LucideVibrate:Qx,LucideVibrateOff:Jx,LucideVideo:a_,LucideVideoOff:t_,LucideVideotape:n_,LucideView:c_,LucideVoicemail:o_,LucideVolleyball:i_,LucideVolume:u_,LucideVolume1:r_,LucideVolume2:s_,LucideVolumeOff:d_,LucideVolumeX:l_,LucideVote:h_,LucideWallet:y_,LucideWallet2:Ic,LucideWalletCards:p_,LucideWalletMinimal:Ic,LucideWallpaper:k_,LucideWand:m_,LucideWand2:bc,LucideWandSparkles:bc,LucideWarehouse:f_,LucideWashingMachine:g_,LucideWatch:v_,LucideWaves:x_,LucideWavesLadder:M_,LucideWaypoints:__,LucideWebcam:L_,LucideWebhook:w_,LucideWebhookOff:I_,LucideWeight:b_,LucideWheat:N_,LucideWheatOff:C_,LucideWholeWord:S_,LucideWifi:T_,LucideWifiCog:j_,LucideWifiHigh:$_,LucideWifiLow:q_,LucideWifiOff:A_,LucideWifiPen:z_,LucideWifiSync:V_,LucideWifiZero:P_,LucideWind:D_,LucideWindArrowDown:H_,LucideWine:R_,LucideWineOff:B_,LucideWorkflow:F_,LucideWorm:E_,LucideWrapText:O_,LucideWrench:U_,LucideX:Ke,LucideXCircle:bt,LucideXOctagon:En,LucideXSquare:rc,LucideYoutube:G_,LucideZap:K_,LucideZapOff:W_,LucideZoomIn:Z_,LucideZoomOut:X_,Luggage:w3,LuggageIcon:w3,MSquare:Ro,MSquareIcon:Ro,Magnet:C3,MagnetIcon:C3,Mail:z3,MailCheck:N3,MailCheckIcon:N3,MailIcon:z3,MailMinus:S3,MailMinusIcon:S3,MailOpen:j3,MailOpenIcon:j3,MailPlus:$3,MailPlusIcon:$3,MailQuestion:Pn,MailQuestionIcon:Pn,MailQuestionMark:Pn,MailQuestionMarkIcon:Pn,MailSearch:q3,MailSearchIcon:q3,MailWarning:A3,MailWarningIcon:A3,MailX:V3,MailXIcon:V3,Mailbox:P3,MailboxIcon:P3,Mails:T3,MailsIcon:T3,Map:J3,MapIcon:J3,MapMinus:H3,MapMinusIcon:H3,MapPin:Z3,MapPinCheck:D3,MapPinCheckIcon:D3,MapPinCheckInside:B3,MapPinCheckInsideIcon:B3,MapPinHouse:R3,MapPinHouseIcon:R3,MapPinIcon:Z3,MapPinMinus:E3,MapPinMinusIcon:E3,MapPinMinusInside:F3,MapPinMinusInsideIcon:F3,MapPinOff:O3,MapPinOffIcon:O3,MapPinPen:Tn,MapPinPenIcon:Tn,MapPinPlus:W3,MapPinPlusIcon:W3,MapPinPlusInside:U3,MapPinPlusInsideIcon:U3,MapPinX:K3,MapPinXIcon:K3,MapPinXInside:G3,MapPinXInsideIcon:G3,MapPinned:X3,MapPinnedIcon:X3,MapPlus:Y3,MapPlusIcon:Y3,Mars:em,MarsIcon:em,MarsStroke:Q3,MarsStrokeIcon:Q3,Martini:tm,MartiniIcon:tm,Maximize:om,Maximize2:am,Maximize2Icon:am,MaximizeIcon:om,Medal:nm,MedalIcon:nm,Megaphone:im,MegaphoneIcon:im,MegaphoneOff:cm,MegaphoneOffIcon:cm,Meh:rm,MehIcon:rm,MemoryStick:sm,MemoryStickIcon:sm,Menu:Qc,MenuIcon:Qc,MenuSquare:Fo,MenuSquareIcon:Fo,Merge:dm,MergeIcon:dm,MessageCircle:vm,MessageCircleCode:lm,MessageCircleCodeIcon:lm,MessageCircleDashed:hm,MessageCircleDashedIcon:hm,MessageCircleHeart:um,MessageCircleHeartIcon:um,MessageCircleIcon:vm,MessageCircleMore:pm,MessageCircleMoreIcon:pm,MessageCircleOff:ym,MessageCircleOffIcon:ym,MessageCirclePlus:km,MessageCirclePlusIcon:km,MessageCircleQuestion:Hn,MessageCircleQuestionIcon:Hn,MessageCircleQuestionMark:Hn,MessageCircleQuestionMarkIcon:Hn,MessageCircleReply:mm,MessageCircleReplyIcon:mm,MessageCircleWarning:fm,MessageCircleWarningIcon:fm,MessageCircleX:gm,MessageCircleXIcon:gm,MessageSquare:Vm,MessageSquareCode:Mm,MessageSquareCodeIcon:Mm,MessageSquareDashed:xm,MessageSquareDashedIcon:xm,MessageSquareDiff:_m,MessageSquareDiffIcon:_m,MessageSquareDot:Lm,MessageSquareDotIcon:Lm,MessageSquareHeart:Im,MessageSquareHeartIcon:Im,MessageSquareIcon:Vm,MessageSquareLock:bm,MessageSquareLockIcon:bm,MessageSquareMore:wm,MessageSquareMoreIcon:wm,MessageSquareOff:Cm,MessageSquareOffIcon:Cm,MessageSquarePlus:Nm,MessageSquarePlusIcon:Nm,MessageSquareQuote:Sm,MessageSquareQuoteIcon:Sm,MessageSquareReply:jm,MessageSquareReplyIcon:jm,MessageSquareShare:$m,MessageSquareShareIcon:$m,MessageSquareText:qm,MessageSquareTextIcon:qm,MessageSquareWarning:Am,MessageSquareWarningIcon:Am,MessageSquareX:zm,MessageSquareXIcon:zm,MessagesSquare:Pm,MessagesSquareIcon:Pm,Mic:Hm,Mic2:Dn,Mic2Icon:Dn,MicIcon:Hm,MicOff:Tm,MicOffIcon:Tm,MicVocal:Dn,MicVocalIcon:Dn,Microchip:Dm,MicrochipIcon:Dm,Microscope:Bm,MicroscopeIcon:Bm,Microwave:Rm,MicrowaveIcon:Rm,Milestone:Fm,MilestoneIcon:Fm,Milk:Om,MilkIcon:Om,MilkOff:Em,MilkOffIcon:Em,Minimize:Wm,Minimize2:Um,Minimize2Icon:Um,MinimizeIcon:Wm,Minus:Gm,MinusCircle:Va,MinusCircleIcon:Va,MinusIcon:Gm,MinusSquare:Eo,MinusSquareIcon:Eo,Monitor:i6,MonitorCheck:Km,MonitorCheckIcon:Km,MonitorCog:Zm,MonitorCogIcon:Zm,MonitorDot:Xm,MonitorDotIcon:Xm,MonitorDown:Ym,MonitorDownIcon:Ym,MonitorIcon:i6,MonitorOff:Jm,MonitorOffIcon:Jm,MonitorPause:e6,MonitorPauseIcon:e6,MonitorPlay:Qm,MonitorPlayIcon:Qm,MonitorSmartphone:t6,MonitorSmartphoneIcon:t6,MonitorSpeaker:a6,MonitorSpeakerIcon:a6,MonitorStop:n6,MonitorStopIcon:n6,MonitorUp:o6,MonitorUpIcon:o6,MonitorX:c6,MonitorXIcon:c6,Moon:s6,MoonIcon:s6,MoonStar:r6,MoonStarIcon:r6,MoreHorizontal:on,MoreHorizontalIcon:on,MoreVertical:nn,MoreVerticalIcon:nn,Mountain:l6,MountainIcon:l6,MountainSnow:d6,MountainSnowIcon:d6,Mouse:m6,MouseIcon:m6,MouseOff:h6,MouseOffIcon:h6,MousePointer:y6,MousePointer2:u6,MousePointer2Icon:u6,MousePointerBan:p6,MousePointerBanIcon:p6,MousePointerClick:k6,MousePointerClickIcon:k6,MousePointerIcon:y6,MousePointerSquareDashed:Ao,MousePointerSquareDashedIcon:Ao,Move:a.Move,Move3D:Bn,Move3DIcon:Bn,Move3d:Bn,Move3dIcon:Bn,MoveDiagonal:g6,MoveDiagonal2:f6,MoveDiagonal2Icon:f6,MoveDiagonalIcon:g6,MoveDown:_6,MoveDownIcon:_6,MoveDownLeft:v6,MoveDownLeftIcon:v6,MoveDownRight:M6,MoveDownRightIcon:M6,MoveHorizontal:x6,MoveHorizontalIcon:x6,MoveIcon:a.Move,MoveLeft:L6,MoveLeftIcon:L6,MoveRight:I6,MoveRightIcon:I6,MoveUp:C6,MoveUpIcon:C6,MoveUpLeft:b6,MoveUpLeftIcon:b6,MoveUpRight:w6,MoveUpRightIcon:w6,MoveVertical:N6,MoveVerticalIcon:N6,Music:q6,Music2:S6,Music2Icon:S6,Music3:j6,Music3Icon:j6,Music4:$6,Music4Icon:$6,MusicIcon:q6,Navigation:P6,Navigation2:z6,Navigation2Icon:z6,Navigation2Off:A6,Navigation2OffIcon:A6,NavigationIcon:P6,NavigationOff:V6,NavigationOffIcon:V6,Network:T6,NetworkIcon:T6,Newspaper:H6,NewspaperIcon:H6,Nfc:D6,NfcIcon:D6,NonBinary:B6,NonBinaryIcon:B6,Notebook:O6,NotebookIcon:O6,NotebookPen:R6,NotebookPenIcon:R6,NotebookTabs:F6,NotebookTabsIcon:F6,NotebookText:E6,NotebookTextIcon:E6,NotepadText:W6,NotepadTextDashed:U6,NotepadTextDashedIcon:U6,NotepadTextIcon:W6,Nut:K6,NutIcon:K6,NutOff:G6,NutOffIcon:G6,Octagon:X6,OctagonAlert:Rn,OctagonAlertIcon:Rn,OctagonIcon:X6,OctagonMinus:Z6,OctagonMinusIcon:Z6,OctagonPause:Fn,OctagonPauseIcon:Fn,OctagonX:En,OctagonXIcon:En,Omega:Y6,OmegaIcon:Y6,Option:J6,OptionIcon:J6,Orbit:Q6,OrbitIcon:Q6,Origami:e8,OrigamiIcon:e8,Outdent:Sn,OutdentIcon:Sn,Package:s8,Package2:t8,Package2Icon:t8,PackageCheck:a8,PackageCheckIcon:a8,PackageIcon:s8,PackageMinus:n8,PackageMinusIcon:n8,PackageOpen:o8,PackageOpenIcon:o8,PackagePlus:c8,PackagePlusIcon:c8,PackageSearch:i8,PackageSearchIcon:i8,PackageX:r8,PackageXIcon:r8,PaintBucket:d8,PaintBucketIcon:d8,PaintRoller:l8,PaintRollerIcon:l8,Paintbrush:h8,Paintbrush2:On,Paintbrush2Icon:On,PaintbrushIcon:h8,PaintbrushVertical:On,PaintbrushVerticalIcon:On,Palette:u8,PaletteIcon:u8,Palmtree:hc,PalmtreeIcon:hc,Panda:p8,PandaIcon:p8,PanelBottom:m8,PanelBottomClose:y8,PanelBottomCloseIcon:y8,PanelBottomDashed:Un,PanelBottomDashedIcon:Un,PanelBottomIcon:m8,PanelBottomInactive:Un,PanelBottomInactiveIcon:Un,PanelBottomOpen:k8,PanelBottomOpenIcon:k8,PanelLeft:Zn,PanelLeftClose:Wn,PanelLeftCloseIcon:Wn,PanelLeftDashed:Gn,PanelLeftDashedIcon:Gn,PanelLeftIcon:Zn,PanelLeftInactive:Gn,PanelLeftInactiveIcon:Gn,PanelLeftOpen:Kn,PanelLeftOpenIcon:Kn,PanelRight:v8,PanelRightClose:f8,PanelRightCloseIcon:f8,PanelRightDashed:Xn,PanelRightDashedIcon:Xn,PanelRightIcon:v8,PanelRightInactive:Xn,PanelRightInactiveIcon:Xn,PanelRightOpen:g8,PanelRightOpenIcon:g8,PanelTop:_8,PanelTopClose:M8,PanelTopCloseIcon:M8,PanelTopDashed:Yn,PanelTopDashedIcon:Yn,PanelTopIcon:_8,PanelTopInactive:Yn,PanelTopInactiveIcon:Yn,PanelTopOpen:x8,PanelTopOpenIcon:x8,PanelsLeftBottom:L8,PanelsLeftBottomIcon:L8,PanelsLeftRight:Qa,PanelsLeftRightIcon:Qa,PanelsRightBottom:I8,PanelsRightBottomIcon:I8,PanelsTopBottom:no,PanelsTopBottomIcon:no,PanelsTopLeft:Jn,PanelsTopLeftIcon:Jn,Paperclip:b8,PaperclipIcon:b8,Parentheses:w8,ParenthesesIcon:w8,ParkingCircle:Ha,ParkingCircleIcon:Ha,ParkingCircleOff:Pa,ParkingCircleOffIcon:Pa,ParkingMeter:C8,ParkingMeterIcon:C8,ParkingSquare:Wo,ParkingSquareIcon:Wo,ParkingSquareOff:Oo,ParkingSquareOffIcon:Oo,PartyPopper:N8,PartyPopperIcon:N8,Pause:S8,PauseCircle:Ta,PauseCircleIcon:Ta,PauseIcon:S8,PauseOctagon:Fn,PauseOctagonIcon:Fn,PawPrint:j8,PawPrintIcon:j8,PcCase:$8,PcCaseIcon:$8,Pen:kt,PenBox:Re,PenBoxIcon:Re,PenIcon:kt,PenLine:yt,PenLineIcon:yt,PenOff:A8,PenOffIcon:A8,PenSquare:Re,PenSquareIcon:Re,PenTool:q8,PenToolIcon:q8,Pencil:e1,PencilIcon:e1,PencilLine:z8,PencilLineIcon:z8,PencilOff:V8,PencilOffIcon:V8,PencilRuler:P8,PencilRulerIcon:P8,Pentagon:T8,PentagonIcon:T8,Percent:H8,PercentCircle:Da,PercentCircleIcon:Da,PercentDiamond:tn,PercentDiamondIcon:tn,PercentIcon:H8,PercentSquare:Go,PercentSquareIcon:Go,PersonStanding:B8,PersonStandingIcon:B8,PhilippinePeso:D8,PhilippinePesoIcon:D8,Phone:W8,PhoneCall:R8,PhoneCallIcon:R8,PhoneForwarded:F8,PhoneForwardedIcon:F8,PhoneIcon:W8,PhoneIncoming:E8,PhoneIncomingIcon:E8,PhoneMissed:O8,PhoneMissedIcon:O8,PhoneOff:U8,PhoneOffIcon:U8,PhoneOutgoing:G8,PhoneOutgoingIcon:G8,Pi:K8,PiIcon:K8,PiSquare:Ko,PiSquareIcon:Ko,Piano:Z8,PianoIcon:Z8,Pickaxe:X8,PickaxeIcon:X8,PictureInPicture:J8,PictureInPicture2:Y8,PictureInPicture2Icon:Y8,PictureInPictureIcon:J8,PieChart:ma,PieChartIcon:ma,PiggyBank:Q8,PiggyBankIcon:Q8,Pilcrow:tf,PilcrowIcon:tf,PilcrowLeft:ef,PilcrowLeftIcon:ef,PilcrowRight:af,PilcrowRightIcon:af,PilcrowSquare:Zo,PilcrowSquareIcon:Zo,Pill:of,PillBottle:nf,PillBottleIcon:nf,PillIcon:of,Pin:rf,PinIcon:rf,PinOff:cf,PinOffIcon:cf,Pipette:sf,PipetteIcon:sf,Pizza:df,PizzaIcon:df,Plane:uf,PlaneIcon:uf,PlaneLanding:lf,PlaneLandingIcon:lf,PlaneTakeoff:hf,PlaneTakeoffIcon:hf,Play:pf,PlayCircle:Ba,PlayCircleIcon:Ba,PlayIcon:pf,PlaySquare:Xo,PlaySquareIcon:Xo,Plug:kf,Plug2:yf,Plug2Icon:yf,PlugIcon:kf,PlugZap:Qn,PlugZap2:Qn,PlugZap2Icon:Qn,PlugZapIcon:Qn,Plus:$c,PlusCircle:Ra,PlusCircleIcon:Ra,PlusIcon:$c,PlusSquare:Yo,PlusSquareIcon:Yo,Pocket:ff,PocketIcon:ff,PocketKnife:mf,PocketKnifeIcon:mf,Podcast:gf,PodcastIcon:gf,Pointer:Mf,PointerIcon:Mf,PointerOff:vf,PointerOffIcon:vf,Popcorn:_f,PopcornIcon:_f,Popsicle:xf,PopsicleIcon:xf,PoundSterling:Lf,PoundSterlingIcon:Lf,Power:bf,PowerCircle:Fa,PowerCircleIcon:Fa,PowerIcon:bf,PowerOff:If,PowerOffIcon:If,PowerSquare:Jo,PowerSquareIcon:Jo,Presentation:wf,PresentationIcon:wf,Printer:Nf,PrinterCheck:Cf,PrinterCheckIcon:Cf,PrinterIcon:Nf,Projector:Sf,ProjectorIcon:Sf,Proportions:jf,ProportionsIcon:jf,Puzzle:qf,PuzzleIcon:qf,Pyramid:$f,PyramidIcon:$f,QrCode:Af,QrCodeIcon:Af,Quote:zf,QuoteIcon:zf,Rabbit:Vf,RabbitIcon:Vf,Radar:Pf,RadarIcon:Pf,Radiation:Tf,RadiationIcon:Tf,Radical:Hf,RadicalIcon:Hf,Radio:Rf,RadioIcon:Rf,RadioReceiver:Df,RadioReceiverIcon:Df,RadioTower:Bf,RadioTowerIcon:Bf,Radius:Ff,RadiusIcon:Ff,RailSymbol:Ef,RailSymbolIcon:Ef,Rainbow:Of,RainbowIcon:Of,Rat:Uf,RatIcon:Uf,Ratio:Wf,RatioIcon:Wf,Receipt:ag,ReceiptCent:Gf,ReceiptCentIcon:Gf,ReceiptEuro:Zf,ReceiptEuroIcon:Zf,ReceiptIcon:ag,ReceiptIndianRupee:Kf,ReceiptIndianRupeeIcon:Kf,ReceiptJapaneseYen:Xf,ReceiptJapaneseYenIcon:Xf,ReceiptPoundSterling:Yf,ReceiptPoundSterlingIcon:Yf,ReceiptRussianRuble:Jf,ReceiptRussianRubleIcon:Jf,ReceiptSwissFranc:Qf,ReceiptSwissFrancIcon:Qf,ReceiptText:eg,ReceiptTextIcon:eg,ReceiptTurkishLira:tg,ReceiptTurkishLiraIcon:tg,RectangleCircle:ng,RectangleCircleIcon:ng,RectangleEllipsis:eo,RectangleEllipsisIcon:eo,RectangleGoggles:og,RectangleGogglesIcon:og,RectangleHorizontal:cg,RectangleHorizontalIcon:cg,RectangleVertical:ig,RectangleVerticalIcon:ig,Recycle:rg,RecycleIcon:rg,Redo:lg,Redo2:sg,Redo2Icon:sg,RedoDot:dg,RedoDotIcon:dg,RedoIcon:lg,RefreshCcw:ug,RefreshCcwDot:hg,RefreshCcwDotIcon:hg,RefreshCcwIcon:ug,RefreshCw:yg,RefreshCwIcon:yg,RefreshCwOff:pg,RefreshCwOffIcon:pg,Refrigerator:kg,RefrigeratorIcon:kg,Regex:mg,RegexIcon:mg,RemoveFormatting:fg,RemoveFormattingIcon:fg,Repeat:Mg,Repeat1:gg,Repeat1Icon:gg,Repeat2:vg,Repeat2Icon:vg,RepeatIcon:Mg,Replace:_g,ReplaceAll:xg,ReplaceAllIcon:xg,ReplaceIcon:_g,Reply:bg,ReplyAll:Lg,ReplyAllIcon:Lg,ReplyIcon:bg,Rewind:Ig,RewindIcon:Ig,Ribbon:wg,RibbonIcon:wg,Rocket:Cg,RocketIcon:Cg,RockingChair:jg,RockingChairIcon:jg,RollerCoaster:Ng,RollerCoasterIcon:Ng,Rose:Sg,RoseIcon:Sg,Rotate3D:to,Rotate3DIcon:to,Rotate3d:to,Rotate3dIcon:to,RotateCcw:Ag,RotateCcwIcon:Ag,RotateCcwKey:$g,RotateCcwKeyIcon:$g,RotateCcwSquare:qg,RotateCcwSquareIcon:qg,RotateCw:Vg,RotateCwIcon:Vg,RotateCwSquare:zg,RotateCwSquareIcon:zg,Route:Tg,RouteIcon:Tg,RouteOff:Pg,RouteOffIcon:Pg,Router:Hg,RouterIcon:Hg,Rows:ao,Rows2:ao,Rows2Icon:ao,Rows3:no,Rows3Icon:no,Rows4:Dg,Rows4Icon:Dg,RowsIcon:ao,Rss:Bg,RssIcon:Bg,Ruler:Fg,RulerDimensionLine:Rg,RulerDimensionLineIcon:Rg,RulerIcon:Fg,RussianRuble:Eg,RussianRubleIcon:Eg,Sailboat:Og,SailboatIcon:Og,Salad:Ug,SaladIcon:Ug,Sandwich:Wg,SandwichIcon:Wg,Satellite:Kg,SatelliteDish:Gg,SatelliteDishIcon:Gg,SatelliteIcon:Kg,SaudiRiyal:Zg,SaudiRiyalIcon:Zg,Save:Qg,SaveAll:Xg,SaveAllIcon:Xg,SaveIcon:Qg,SaveOff:Yg,SaveOffIcon:Yg,Scale:Jg,Scale3D:oo,Scale3DIcon:oo,Scale3d:oo,Scale3dIcon:oo,ScaleIcon:Jg,Scaling:e7,ScalingIcon:e7,Scan:d7,ScanBarcode:t7,ScanBarcodeIcon:t7,ScanEye:a7,ScanEyeIcon:a7,ScanFace:n7,ScanFaceIcon:n7,ScanHeart:o7,ScanHeartIcon:o7,ScanIcon:d7,ScanLine:c7,ScanLineIcon:c7,ScanQrCode:i7,ScanQrCodeIcon:i7,ScanSearch:r7,ScanSearchIcon:r7,ScanText:s7,ScanTextIcon:s7,ScatterChart:fa,ScatterChartIcon:fa,School:l7,School2:yc,School2Icon:yc,SchoolIcon:l7,Scissors:u7,ScissorsIcon:u7,ScissorsLineDashed:h7,ScissorsLineDashedIcon:h7,ScissorsSquare:Qo,ScissorsSquareDashedBottom:Io,ScissorsSquareDashedBottomIcon:Io,ScissorsSquareIcon:Qo,ScreenShare:p7,ScreenShareIcon:p7,ScreenShareOff:y7,ScreenShareOffIcon:y7,Scroll:m7,ScrollIcon:m7,ScrollText:k7,ScrollTextIcon:k7,Search:S1,SearchCheck:f7,SearchCheckIcon:f7,SearchCode:g7,SearchCodeIcon:g7,SearchIcon:S1,SearchSlash:v7,SearchSlashIcon:v7,SearchX:M7,SearchXIcon:M7,Section:x7,SectionIcon:x7,Send:L7,SendHorizonal:co,SendHorizonalIcon:co,SendHorizontal:co,SendHorizontalIcon:co,SendIcon:L7,SendToBack:_7,SendToBackIcon:_7,SeparatorHorizontal:I7,SeparatorHorizontalIcon:I7,SeparatorVertical:b7,SeparatorVerticalIcon:b7,Server:S7,ServerCog:w7,ServerCogIcon:w7,ServerCrash:N7,ServerCrashIcon:N7,ServerIcon:S7,ServerOff:C7,ServerOffIcon:C7,Settings:$7,Settings2:j7,Settings2Icon:j7,SettingsIcon:$7,Shapes:q7,ShapesIcon:q7,Share:z7,Share2:A7,Share2Icon:A7,ShareIcon:z7,Sheet:V7,SheetIcon:V7,Shell:P7,ShellIcon:P7,Shield:W7,ShieldAlert:T7,ShieldAlertIcon:T7,ShieldBan:H7,ShieldBanIcon:H7,ShieldCheck:D7,ShieldCheckIcon:D7,ShieldClose:ro,ShieldCloseIcon:ro,ShieldEllipsis:B7,ShieldEllipsisIcon:B7,ShieldHalf:R7,ShieldHalfIcon:R7,ShieldIcon:W7,ShieldMinus:E7,ShieldMinusIcon:E7,ShieldOff:F7,ShieldOffIcon:F7,ShieldPlus:O7,ShieldPlusIcon:O7,ShieldQuestion:io,ShieldQuestionIcon:io,ShieldQuestionMark:io,ShieldQuestionMarkIcon:io,ShieldUser:U7,ShieldUserIcon:U7,ShieldX:ro,ShieldXIcon:ro,Ship:K7,ShipIcon:K7,ShipWheel:G7,ShipWheelIcon:G7,Shirt:Z7,ShirtIcon:Z7,ShoppingBag:X7,ShoppingBagIcon:X7,ShoppingBasket:Y7,ShoppingBasketIcon:Y7,ShoppingCart:J7,ShoppingCartIcon:J7,Shovel:Q7,ShovelIcon:Q7,ShowerHead:ev,ShowerHeadIcon:ev,Shredder:tv,ShredderIcon:tv,Shrimp:av,ShrimpIcon:av,Shrink:nv,ShrinkIcon:nv,Shrub:ov,ShrubIcon:ov,Shuffle:iv,ShuffleIcon:iv,Sidebar:Zn,SidebarClose:Wn,SidebarCloseIcon:Wn,SidebarIcon:Zn,SidebarOpen:Kn,SidebarOpenIcon:Kn,Sigma:cv,SigmaIcon:cv,SigmaSquare:ec,SigmaSquareIcon:ec,Signal:hv,SignalHigh:rv,SignalHighIcon:rv,SignalIcon:hv,SignalLow:sv,SignalLowIcon:sv,SignalMedium:dv,SignalMediumIcon:dv,SignalZero:lv,SignalZeroIcon:lv,Signature:uv,SignatureIcon:uv,Signpost:yv,SignpostBig:pv,SignpostBigIcon:pv,SignpostIcon:yv,Siren:kv,SirenIcon:kv,SkipBack:mv,SkipBackIcon:mv,SkipForward:fv,SkipForwardIcon:fv,Skull:gv,SkullIcon:gv,Slack:vv,SlackIcon:vv,Slash:Mv,SlashIcon:Mv,SlashSquare:tc,SlashSquareIcon:tc,Slice:xv,SliceIcon:xv,Sliders:so,SlidersHorizontal:_v,SlidersHorizontalIcon:_v,SlidersIcon:so,SlidersVertical:so,SlidersVerticalIcon:so,Smartphone:bv,SmartphoneCharging:Lv,SmartphoneChargingIcon:Lv,SmartphoneIcon:bv,SmartphoneNfc:Iv,SmartphoneNfcIcon:Iv,Smile:Cv,SmileIcon:Cv,SmilePlus:wv,SmilePlusIcon:wv,Snail:Nv,SnailIcon:Nv,Snowflake:Sv,SnowflakeIcon:Sv,SoapDispenserDroplet:jv,SoapDispenserDropletIcon:jv,Sofa:$v,SofaIcon:$v,SortAsc:Zt,SortAscIcon:Zt,SortDesc:Wt,SortDescIcon:Wt,Soup:qv,SoupIcon:qv,Space:Av,SpaceIcon:Av,Spade:zv,SpadeIcon:zv,Sparkle:Vv,SparkleIcon:Vv,Sparkles:lo,SparklesIcon:lo,Speaker:Pv,SpeakerIcon:Pv,Speech:Tv,SpeechIcon:Tv,SpellCheck:Dv,SpellCheck2:Hv,SpellCheck2Icon:Hv,SpellCheckIcon:Dv,Spline:Rv,SplineIcon:Rv,SplinePointer:Bv,SplinePointerIcon:Bv,Split:Fv,SplitIcon:Fv,SplitSquareHorizontal:ac,SplitSquareHorizontalIcon:ac,SplitSquareVertical:nc,SplitSquareVerticalIcon:nc,Spool:Ev,SpoolIcon:Ev,Spotlight:Ov,SpotlightIcon:Ov,SprayCan:Uv,SprayCanIcon:Uv,Sprout:Wv,SproutIcon:Wv,Square:n9,SquareActivity:Nt,SquareActivityIcon:Nt,SquareArrowDown:po,SquareArrowDownIcon:po,SquareArrowDownLeft:ho,SquareArrowDownLeftIcon:ho,SquareArrowDownRight:uo,SquareArrowDownRightIcon:uo,SquareArrowLeft:yo,SquareArrowLeftIcon:yo,SquareArrowOutDownLeft:ko,SquareArrowOutDownLeftIcon:ko,SquareArrowOutDownRight:mo,SquareArrowOutDownRightIcon:mo,SquareArrowOutUpLeft:fo,SquareArrowOutUpLeftIcon:fo,SquareArrowOutUpRight:go,SquareArrowOutUpRightIcon:go,SquareArrowRight:vo,SquareArrowRightIcon:vo,SquareArrowUp:_o,SquareArrowUpIcon:_o,SquareArrowUpLeft:Mo,SquareArrowUpLeftIcon:Mo,SquareArrowUpRight:xo,SquareArrowUpRightIcon:xo,SquareAsterisk:Lo,SquareAsteriskIcon:Lo,SquareBottomDashedScissors:Io,SquareBottomDashedScissorsIcon:Io,SquareChartGantt:st,SquareChartGanttIcon:st,SquareCheck:wo,SquareCheckBig:bo,SquareCheckBigIcon:bo,SquareCheckIcon:wo,SquareChevronDown:Co,SquareChevronDownIcon:Co,SquareChevronLeft:No,SquareChevronLeftIcon:No,SquareChevronRight:So,SquareChevronRightIcon:So,SquareChevronUp:jo,SquareChevronUpIcon:jo,SquareCode:$o,SquareCodeIcon:$o,SquareDashed:zo,SquareDashedBottom:Kv,SquareDashedBottomCode:Gv,SquareDashedBottomCodeIcon:Gv,SquareDashedBottomIcon:Kv,SquareDashedIcon:zo,SquareDashedKanban:qo,SquareDashedKanbanIcon:qo,SquareDashedMousePointer:Ao,SquareDashedMousePointerIcon:Ao,SquareDashedTopSolid:Zv,SquareDashedTopSolidIcon:Zv,SquareDivide:Vo,SquareDivideIcon:Vo,SquareDot:To,SquareDotIcon:To,SquareEqual:Po,SquareEqualIcon:Po,SquareFunction:Ho,SquareFunctionIcon:Ho,SquareGanttChart:st,SquareGanttChartIcon:st,SquareIcon:n9,SquareKanban:Do,SquareKanbanIcon:Do,SquareLibrary:Bo,SquareLibraryIcon:Bo,SquareM:Ro,SquareMIcon:Ro,SquareMenu:Fo,SquareMenuIcon:Fo,SquareMinus:Eo,SquareMinusIcon:Eo,SquareMousePointer:Uo,SquareMousePointerIcon:Uo,SquareParking:Wo,SquareParkingIcon:Wo,SquareParkingOff:Oo,SquareParkingOffIcon:Oo,SquarePause:Xv,SquarePauseIcon:Xv,SquarePen:Re,SquarePenIcon:Re,SquarePercent:Go,SquarePercentIcon:Go,SquarePi:Ko,SquarePiIcon:Ko,SquarePilcrow:Zo,SquarePilcrowIcon:Zo,SquarePlay:Xo,SquarePlayIcon:Xo,SquarePlus:Yo,SquarePlusIcon:Yo,SquarePower:Jo,SquarePowerIcon:Jo,SquareRadical:Yv,SquareRadicalIcon:Yv,SquareRoundCorner:Jv,SquareRoundCornerIcon:Jv,SquareScissors:Qo,SquareScissorsIcon:Qo,SquareSigma:ec,SquareSigmaIcon:ec,SquareSlash:tc,SquareSlashIcon:tc,SquareSplitHorizontal:ac,SquareSplitHorizontalIcon:ac,SquareSplitVertical:nc,SquareSplitVerticalIcon:nc,SquareSquare:Qv,SquareSquareIcon:Qv,SquareStack:e9,SquareStackIcon:e9,SquareStar:t9,SquareStarIcon:t9,SquareStop:a9,SquareStopIcon:a9,SquareTerminal:oc,SquareTerminalIcon:oc,SquareUser:ic,SquareUserIcon:ic,SquareUserRound:cc,SquareUserRoundIcon:cc,SquareX:rc,SquareXIcon:rc,SquaresExclude:o9,SquaresExcludeIcon:o9,SquaresIntersect:c9,SquaresIntersectIcon:c9,SquaresSubtract:i9,SquaresSubtractIcon:i9,SquaresUnite:r9,SquaresUniteIcon:r9,Squircle:d9,SquircleDashed:s9,SquircleDashedIcon:s9,SquircleIcon:d9,Squirrel:l9,SquirrelIcon:l9,Stamp:h9,StampIcon:h9,Star:k9,StarHalf:u9,StarHalfIcon:u9,StarIcon:k9,StarOff:p9,StarOffIcon:p9,Stars:lo,StarsIcon:lo,StepBack:y9,StepBackIcon:y9,StepForward:m9,StepForwardIcon:m9,Stethoscope:f9,StethoscopeIcon:f9,Sticker:g9,StickerIcon:g9,StickyNote:v9,StickyNoteIcon:v9,StopCircle:Oa,StopCircleIcon:Oa,Store:M9,StoreIcon:M9,StretchHorizontal:x9,StretchHorizontalIcon:x9,StretchVertical:_9,StretchVerticalIcon:_9,Strikethrough:L9,StrikethroughIcon:L9,Subscript:I9,SubscriptIcon:I9,Subtitles:oa,SubtitlesIcon:oa,Sun:j9,SunDim:b9,SunDimIcon:b9,SunIcon:j9,SunMedium:w9,SunMediumIcon:w9,SunMoon:C9,SunMoonIcon:C9,SunSnow:N9,SunSnowIcon:N9,Sunrise:S9,SunriseIcon:S9,Sunset:$9,SunsetIcon:$9,Superscript:q9,SuperscriptIcon:q9,SwatchBook:A9,SwatchBookIcon:A9,SwissFranc:z9,SwissFrancIcon:z9,SwitchCamera:V9,SwitchCameraIcon:V9,Sword:P9,SwordIcon:P9,Swords:H9,SwordsIcon:H9,Syringe:T9,SyringeIcon:T9,Table:W9,Table2:D9,Table2Icon:D9,TableCellsMerge:B9,TableCellsMergeIcon:B9,TableCellsSplit:R9,TableCellsSplitIcon:R9,TableColumnsSplit:F9,TableColumnsSplitIcon:F9,TableConfig:it,TableConfigIcon:it,TableIcon:W9,TableOfContents:E9,TableOfContentsIcon:E9,TableProperties:O9,TablePropertiesIcon:O9,TableRowsSplit:U9,TableRowsSplitIcon:U9,Tablet:K9,TabletIcon:K9,TabletSmartphone:G9,TabletSmartphoneIcon:G9,Tablets:Z9,TabletsIcon:Z9,Tag:X9,TagIcon:X9,Tags:Y9,TagsIcon:Y9,Tally1:J9,Tally1Icon:J9,Tally2:Q9,Tally2Icon:Q9,Tally3:eM,Tally3Icon:eM,Tally4:tM,Tally4Icon:tM,Tally5:aM,Tally5Icon:aM,Tangent:nM,TangentIcon:nM,Target:oM,TargetIcon:oM,Telescope:cM,TelescopeIcon:cM,Tent:rM,TentIcon:rM,TentTree:iM,TentTreeIcon:iM,Terminal:sM,TerminalIcon:sM,TerminalSquare:oc,TerminalSquareIcon:oc,TestTube:dM,TestTube2:sc,TestTube2Icon:sc,TestTubeDiagonal:sc,TestTubeDiagonalIcon:sc,TestTubeIcon:dM,TestTubes:lM,TestTubesIcon:lM,Text:kM,TextCursor:uM,TextCursorIcon:uM,TextCursorInput:hM,TextCursorInputIcon:hM,TextIcon:kM,TextQuote:pM,TextQuoteIcon:pM,TextSearch:yM,TextSearchIcon:yM,TextSelect:dc,TextSelectIcon:dc,TextSelection:dc,TextSelectionIcon:dc,Theater:mM,TheaterIcon:mM,Thermometer:MM,ThermometerIcon:MM,ThermometerSnowflake:fM,ThermometerSnowflakeIcon:fM,ThermometerSun:gM,ThermometerSunIcon:gM,ThumbsDown:vM,ThumbsDownIcon:vM,ThumbsUp:xM,ThumbsUpIcon:xM,Ticket:NM,TicketCheck:_M,TicketCheckIcon:_M,TicketIcon:NM,TicketMinus:LM,TicketMinusIcon:LM,TicketPercent:IM,TicketPercentIcon:IM,TicketPlus:bM,TicketPlusIcon:bM,TicketSlash:wM,TicketSlashIcon:wM,TicketX:CM,TicketXIcon:CM,Tickets:jM,TicketsIcon:jM,TicketsPlane:SM,TicketsPlaneIcon:SM,Timer:AM,TimerIcon:AM,TimerOff:$M,TimerOffIcon:$M,TimerReset:qM,TimerResetIcon:qM,ToggleLeft:zM,ToggleLeftIcon:zM,ToggleRight:VM,ToggleRightIcon:VM,Toilet:PM,ToiletIcon:PM,ToolCase:TM,ToolCaseIcon:TM,Tornado:DM,TornadoIcon:DM,Torus:HM,TorusIcon:HM,Touchpad:RM,TouchpadIcon:RM,TouchpadOff:BM,TouchpadOffIcon:BM,TowerControl:EM,TowerControlIcon:EM,ToyBrick:FM,ToyBrickIcon:FM,Tractor:OM,TractorIcon:OM,TrafficCone:UM,TrafficConeIcon:UM,Train:lc,TrainFront:GM,TrainFrontIcon:GM,TrainFrontTunnel:WM,TrainFrontTunnelIcon:WM,TrainIcon:lc,TrainTrack:KM,TrainTrackIcon:KM,TramFront:lc,TramFrontIcon:lc,Transgender:ZM,TransgenderIcon:ZM,Trash:XM,Trash2:dt,Trash2Icon:dt,TrashIcon:XM,TreeDeciduous:YM,TreeDeciduousIcon:YM,TreePalm:hc,TreePalmIcon:hc,TreePine:JM,TreePineIcon:JM,Trees:QM,TreesIcon:QM,Trello:ex,TrelloIcon:ex,TrendingDown:tx,TrendingDownIcon:tx,TrendingUp:ax,TrendingUpDown:nx,TrendingUpDownIcon:nx,TrendingUpIcon:ax,Triangle:cx,TriangleAlert:uc,TriangleAlertIcon:uc,TriangleDashed:ox,TriangleDashedIcon:ox,TriangleIcon:cx,TriangleRight:ix,TriangleRightIcon:ix,Trophy:rx,TrophyIcon:rx,Truck:dx,TruckElectric:sx,TruckElectricIcon:sx,TruckIcon:dx,TurkishLira:lx,TurkishLiraIcon:lx,Turntable:hx,TurntableIcon:hx,Turtle:ux,TurtleIcon:ux,Tv:yx,Tv2:pc,Tv2Icon:pc,TvIcon:yx,TvMinimal:pc,TvMinimalIcon:pc,TvMinimalPlay:px,TvMinimalPlayIcon:px,Twitch:kx,TwitchIcon:kx,Twitter:mx,TwitterIcon:mx,Type:gx,TypeIcon:gx,TypeOutline:fx,TypeOutlineIcon:fx,Umbrella:Mx,UmbrellaIcon:Mx,UmbrellaOff:vx,UmbrellaOffIcon:vx,Underline:xx,UnderlineIcon:xx,Undo:Ix,Undo2:_x,Undo2Icon:_x,UndoDot:Lx,UndoDotIcon:Lx,UndoIcon:Ix,UnfoldHorizontal:bx,UnfoldHorizontalIcon:bx,UnfoldVertical:wx,UnfoldVerticalIcon:wx,Ungroup:Cx,UngroupIcon:Cx,University:yc,UniversityIcon:yc,Unlink:$x,Unlink2:Nx,Unlink2Icon:Nx,UnlinkIcon:$x,Unlock:Vn,UnlockIcon:Vn,UnlockKeyhole:zn,UnlockKeyholeIcon:zn,Unplug:Sx,UnplugIcon:Sx,Upload:jx,UploadCloud:Xa,UploadCloudIcon:Xa,UploadIcon:jx,Usb:qx,UsbIcon:qx,User:Ex,User2:Mc,User2Icon:Mc,UserCheck:Ax,UserCheck2:kc,UserCheck2Icon:kc,UserCheckIcon:Ax,UserCircle:Wa,UserCircle2:Ua,UserCircle2Icon:Ua,UserCircleIcon:Wa,UserCog:zx,UserCog2:mc,UserCog2Icon:mc,UserCogIcon:zx,UserIcon:Ex,UserLock:Vx,UserLockIcon:Vx,UserMinus:Px,UserMinus2:fc,UserMinus2Icon:fc,UserMinusIcon:Px,UserPen:Tx,UserPenIcon:Tx,UserPlus:j1,UserPlus2:gc,UserPlus2Icon:gc,UserPlusIcon:j1,UserRound:Mc,UserRoundCheck:kc,UserRoundCheckIcon:kc,UserRoundCog:mc,UserRoundCogIcon:mc,UserRoundIcon:Mc,UserRoundMinus:fc,UserRoundMinusIcon:fc,UserRoundPen:Hx,UserRoundPenIcon:Hx,UserRoundPlus:gc,UserRoundPlusIcon:gc,UserRoundSearch:Dx,UserRoundSearchIcon:Dx,UserRoundX:vc,UserRoundXIcon:vc,UserSearch:Bx,UserSearchIcon:Bx,UserSquare:ic,UserSquare2:cc,UserSquare2Icon:cc,UserSquareIcon:ic,UserStar:Rx,UserStarIcon:Rx,UserX:Fx,UserX2:vc,UserX2Icon:vc,UserXIcon:Fx,Users:Ox,Users2:xc,Users2Icon:xc,UsersIcon:Ox,UsersRound:xc,UsersRoundIcon:xc,Utensils:Lc,UtensilsCrossed:_c,UtensilsCrossedIcon:_c,UtensilsIcon:Lc,UtilityPole:Ux,UtilityPoleIcon:Ux,Variable:Wx,VariableIcon:Wx,Vault:Gx,VaultIcon:Gx,VectorSquare:Kx,VectorSquareIcon:Kx,Vegan:Zx,VeganIcon:Zx,VenetianMask:Xx,VenetianMaskIcon:Xx,Venus:e_,VenusAndMars:Yx,VenusAndMarsIcon:Yx,VenusIcon:e_,Verified:Jt,VerifiedIcon:Jt,Vibrate:Qx,VibrateIcon:Qx,VibrateOff:Jx,VibrateOffIcon:Jx,Video:a_,VideoIcon:a_,VideoOff:t_,VideoOffIcon:t_,Videotape:n_,VideotapeIcon:n_,View:c_,ViewIcon:c_,Voicemail:o_,VoicemailIcon:o_,Volleyball:i_,VolleyballIcon:i_,Volume:u_,Volume1:r_,Volume1Icon:r_,Volume2:s_,Volume2Icon:s_,VolumeIcon:u_,VolumeOff:d_,VolumeOffIcon:d_,VolumeX:l_,VolumeXIcon:l_,Vote:h_,VoteIcon:h_,Wallet:y_,Wallet2:Ic,Wallet2Icon:Ic,WalletCards:p_,WalletCardsIcon:p_,WalletIcon:y_,WalletMinimal:Ic,WalletMinimalIcon:Ic,Wallpaper:k_,WallpaperIcon:k_,Wand:m_,Wand2:bc,Wand2Icon:bc,WandIcon:m_,WandSparkles:bc,WandSparklesIcon:bc,Warehouse:f_,WarehouseIcon:f_,WashingMachine:g_,WashingMachineIcon:g_,Watch:v_,WatchIcon:v_,Waves:x_,WavesIcon:x_,WavesLadder:M_,WavesLadderIcon:M_,Waypoints:__,WaypointsIcon:__,Webcam:L_,WebcamIcon:L_,Webhook:w_,WebhookIcon:w_,WebhookOff:I_,WebhookOffIcon:I_,Weight:b_,WeightIcon:b_,Wheat:N_,WheatIcon:N_,WheatOff:C_,WheatOffIcon:C_,WholeWord:S_,WholeWordIcon:S_,Wifi:T_,WifiCog:j_,WifiCogIcon:j_,WifiHigh:$_,WifiHighIcon:$_,WifiIcon:T_,WifiLow:q_,WifiLowIcon:q_,WifiOff:A_,WifiOffIcon:A_,WifiPen:z_,WifiPenIcon:z_,WifiSync:V_,WifiSyncIcon:V_,WifiZero:P_,WifiZeroIcon:P_,Wind:D_,WindArrowDown:H_,WindArrowDownIcon:H_,WindIcon:D_,Wine:R_,WineIcon:R_,WineOff:B_,WineOffIcon:B_,Workflow:F_,WorkflowIcon:F_,Worm:E_,WormIcon:E_,WrapText:O_,WrapTextIcon:O_,Wrench:U_,WrenchIcon:U_,X:Ke,XCircle:bt,XCircleIcon:bt,XIcon:Ke,XOctagon:En,XOctagonIcon:En,XSquare:rc,XSquareIcon:rc,Youtube:G_,YoutubeIcon:G_,Zap:K_,ZapIcon:K_,ZapOff:W_,ZapOffIcon:W_,ZoomIn:Z_,ZoomInIcon:Z_,ZoomOut:X_,ZoomOutIcon:X_,createLucideIcon:a.createLucideIcon,icons:d2e},Symbol.toStringTag,{value:"Module"})),l2e=({size:e=250,background:t="#fff",headerTop:n,headerBottom:c,headerTopStyle:i,headerBottomStyle:r,progress1:s,badgeList:d,progress3:h,style:l,className:u="",draggable:p=!1})=>{const y=e!==void 0?e:250,m=e?{size:e*.5,...s}:s,f=e?{size:e*.4,...h}:h,g={background:t,position:"relative",...l,...y&&{width:y}};return o.jsxs("div",{style:g,className:`stat-card ${u}`,children:[o.jsxs("div",{className:"stat-card-header",children:[o.jsx("div",{className:"stat-card-header-top",style:i,children:n}),c&&o.jsx("div",{className:"stat-card-header-bottom",style:r,children:c})]}),o.jsxs("div",{className:"stat-card-body",style:{opacity:p?0:1},children:[o.jsx("div",{className:"progress-row-single",children:o.jsx(Pb,{...m})}),o.jsxs("div",{className:"progress-row-double",children:[o.jsx("div",{className:"progress-item",children:o.jsx(Mj,{...d})}),o.jsx("div",{className:"progress-item",children:o.jsx(Pb,{...f})})]})]}),p&&o.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:o.jsx(a.Move,{size:32,strokeWidth:1.5,style:{opacity:.8}})})]})},xj=k.createContext(void 0),ht=()=>{const e=k.useContext(xj);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},h2e=({children:e,defaultActive:t=""})=>{const[n,c]=k.useState(t),[i,r]=k.useState(t),[s,d]=k.useState(void 0),[h,l]=k.useState(void 0),[u,p]=k.useState({}),y=(m,f)=>{p(g=>({...g,[m]:f}))};return o.jsx(xj.Provider,{value:{activeNav:n,setActiveNav:c,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:h,setUser:l,navCounts:u,setNavCount:y},children:e})},_j=({categories:e,logo:t="Menu",buttonContent:n,position:c="auto",closeOnClickOutside:i=!0,select:r,topContent:s})=>{const[d,h]=k.useState(!1),[l,u]=k.useState("right"),p=k.useRef(null),y=k.useRef(null),{activeNav:m,activeSubNav:f}=ht();k.useEffect(()=>{if(!i)return;const x=v=>{p.current&&!p.current.contains(v.target)&&h(!1)};return document.addEventListener("mousedown",x),()=>document.removeEventListener("mousedown",x)},[i]),k.useEffect(()=>{if(d&&c==="auto"&&y.current){const x=y.current.getBoundingClientRect(),v=window.innerWidth/2;u(x.left<v?"left":"right")}},[d,c]);const g=t?mt[t]:null,M=c==="auto"?l:c;return o.jsxs("div",{className:"dropdown",ref:p,children:[o.jsxs("button",{ref:y,type:"button",className:"dropdown-button",onClick:()=>h(x=>!x),"aria-expanded":d,"aria-haspopup":"true",children:[g&&o.jsx(g,{size:20}),n&&o.jsx("span",{className:"button-text",children:n})]}),d&&o.jsxs("div",{className:`dropdown-content ${M}`,children:[s&&o.jsx("div",{className:"dropdown-top-content",children:s}),e?.map((x,v)=>o.jsxs("div",{className:"dropdown-category",children:[x.title&&o.jsx("div",{className:"category-title",children:x.title}),o.jsx("div",{className:"category-items",children:x.items.map((L,w)=>{const C=L.id??L.label,b=m===C||f===C,_=L.select??r;if(L.id==="language"){if(!_||!Array.isArray(_.options)||!_.onChange)return o.jsx("div",{className:"dropdown-language"},w);const j=Array.isArray(_.options)?_.options:[],S=j.some(A=>A.code===_.value)?j:[{code:_.value??"",label:String(_.value??"")},...j];return o.jsx("div",{className:"dropdown-language",children:o.jsx("select",{name:_.name??"language",className:"language-select",value:_.value??"",onChange:A=>{const B=A.target.value;try{_.onChange(B)}catch(H){console.error("select onChange error",H)}},children:S.map(A=>o.jsx("option",{value:A.code,children:A.label},A.code))})},w)}const I={className:`dropdown-item ${b?"active":""}`,onClick:()=>{L.onClick?.(),h(!1)},role:L.type==="button"||!L.href?"button":void 0};return L.type==="button"||!L.href?o.jsx("button",{type:"button",...I,children:L.label},w):o.jsx("a",{...I,href:L.href,children:L.label},w)})})]},v))]})]})},Lj=({children:e,container:t=!1,item:n=!1,parent:c=!1,xs:i,sm:r,md:s,lg:d,xl:h,spacing:l=0,className:u="",uniqueKey:p=0,style:y={},width:m,order:f,onSwap:g,draggable:M=!1,displayNone:x=!1})=>{const[v,L]=k.useState([]);k.useEffect(()=>{const I=A=>{const B=[];return k.Children.forEach(A,H=>{Array.isArray(H)?B.push(...I(H)):k.isValidElement(H)&&B.push(H)}),B},N=I(e).filter(A=>k.isValidElement(A)).map(A=>{let B="";const H=A.props;return B=[H.xs?`grid-xs-${H.xs}`:"",H.sm?`grid-sm-${H.sm}`:"",H.md?`grid-md-${H.md}`:"",H.lg?`grid-lg-${H.lg}`:"",H.xl?`grid-xl-${H.xl}`:"",H.className?H.className:""].join(" ").trim(),{node:A,classes:B}});let S=N;f&&f.length>0&&(S=N.map((A,B)=>({...A,node:N[f[B]]?.node??A.node}))),L(S)},[e]);const w=(I,j)=>{I.stopPropagation(),I.dataTransfer.setData("dragIndex",j.toString()),I.dataTransfer.setData("parentKey",p.toString())},C=I=>{I.preventDefault(),I.stopPropagation()},b=(I,j)=>{I.preventDefault();const N=Number(I.dataTransfer.getData("dragIndex")),S=Number(I.dataTransfer.getData("parentKey"));if(t&&S!==p)return;const A=[...v];let B=-1,H=-1;if(A.forEach((q,$)=>{if(k.isValidElement(q.node)){const P=q.node.props;P.uniqueKey===j&&(B=$),P.uniqueKey===N&&(H=$)}}),B===-1||H===-1)return;const V=A[H].node;A[H]={...A[H],node:A[B].node},A[B]={...A[B],node:V},L(A),typeof g=="function"&&g(H,B)},_=c?[i?`grid-xs-${i}`:"",r?`grid-sm-${r}`:"",s?`grid-md-${s}`:"",d?`grid-lg-${d}`:"",h?`grid-xl-${h}`:""].join(" "):"";return!c&&m?y={...y,width:`${m}px`}:!c&&!m&&(y={...y,width:"100%"}),y={...y,height:"100%"},t?o.jsx("div",{className:`${u} grid-container ${_}`,style:{"--gap-grid":`${l}rem`,...y},children:v.map(I=>I.node.type?.displayName==="Grid"?M?o.jsx("div",{draggable:!0,onDragStart:j=>w(j,I.node?.props?.uniqueKey),onDragOver:j=>C(j),onDrop:j=>b(j,I.node?.props?.uniqueKey),className:`grid-item grid-item-grabbing ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,style:{cursor:"grab"},children:I.node},I.node?.props?.uniqueKey):o.jsx("div",{className:`grid-item ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,children:I.node},I.node?.props?.uniqueKey):I.node)}):n?o.jsx("div",{className:`${u} grid-item ${_} ${x?"grid-display-none":""}`,style:{gap:`${l}rem`,...y},children:e}):o.jsx(o.Fragment,{children:e})};Lj.displayName="Grid";const uL=({imagePath:e,...t})=>{const[n,c]=k.useState(!1);return k.useEffect(()=>{c(!0)},[]),n?o.jsx("div",{className:`logo logo--${t.size}`,children:o.jsx("a",{href:"/",children:o.jsx("img",{src:e,alt:"Saniia Smart Bed Management",className:"logo-image"})})}):o.jsx("div",{className:"logo logo-placeholder"})},Tb=({id:e,label:t,isActive:n=!1,onClick:c,href:i,highlightColor:r="#008CBA",moduleKey:s="",a11yConfig:d,...h})=>{const{setActiveNav:l}=ht(),u=()=>{l(e),c?.(e)};return i?o.jsx("a",{href:i,className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Q(d,e),...h,children:t}):o.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Q(d,e),role:c?"button":"presentation",tabIndex:c?0:-1,...h,children:t})},Ij=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:c={},dropdownPosition:i="auto"})=>{const{activeNav:r}=ht(),[s,d]=k.useState(!0),[h,l]=k.useState(!1),[u,p]=k.useState("left"),y=k.useRef(null),m=k.useRef(null),f=k.useRef(null);k.useEffect(()=>{const v=()=>{if(y.current&&y.current.parentElement){const L=y.current.parentNode?.parentElement?.offsetWidth||0;d(L*.8<y.current.offsetWidth||L<1100)}};return v(),window.addEventListener("resize",v),()=>window.removeEventListener("resize",v)},[]),k.useEffect(()=>{if(h&&i==="auto"&&m.current){const v=m.current.getBoundingClientRect(),L=window.innerWidth/2;p(v.left<L?"left":"right")}},[h,i]),k.useEffect(()=>{if(!h)return;const v=L=>{f.current&&!f.current.contains(L.target)&&m.current&&!m.current.contains(L.target)&&l(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[h]);const g=v=>{t?.(v),l(!1)},M=e.find(v=>v.id===r)||e[0],x=i==="auto"?u:i;return o.jsx("div",{ref:y,children:s?o.jsxs("div",{className:"navbar-mobile",children:[o.jsxs("button",{ref:m,className:"navbar-dropdown-toggle",onClick:()=>l(!h),style:{backgroundColor:n,color:"#fff"},"aria-expanded":h,"aria-haspopup":"true",children:[M.label,o.jsx("span",{className:`dropdown-arrow ${h?"open":""}`})]}),h&&o.jsx("div",{ref:f,className:`navbar-dropdown ${x}`,children:e.map(v=>o.jsx(Tb,{id:v.id,label:v.label,href:v.moduleKey&&c[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&c[v.moduleKey],onClick:g,highlightColor:n},v.id))})]}):o.jsx("nav",{className:"navbar",children:e.map(v=>o.jsx(Tb,{id:v.id,label:v.label,href:v.moduleKey&&c[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&c[v.moduleKey],onClick:g,highlightColor:n},v.id))})})},bj=k.createContext(void 0),u2e=({children:e,initialTheme:t})=>{const[n,c]=k.useState(()=>{if(typeof window<"u")try{return localStorage.getItem("app-theme")||t}catch(r){return console.error("Error reading theme from localStorage:",r),t}return t});k.useEffect(()=>{const r=document.documentElement;if(r.removeAttribute("data-theme"),n&&n!=="default"&&r.setAttribute("data-theme",n),typeof window<"u")try{localStorage.setItem("app-theme",n)}catch(s){console.error("Error saving theme to localStorage:",s)}},[n]);const i=k.useCallback(r=>{c(r)},[]);return o.jsx(bj.Provider,{value:{themeName:n,setTheme:i},children:e})},wj=()=>{const e=k.useContext(bj);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},pL=()=>{const{themeName:e,setTheme:t}=wj(),n=k.useCallback(c=>{t(c)},[t]);return{currentTheme:e,switchTheme:n}},E1=({colors:e={},leftIcon:t,rightIcon:n,checked:c=!1,onToggle:i,size:r=24,className:s="",style:d,a11yConfig:h})=>{const l=()=>i?.(!c),u=p=>{(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),l())};return o.jsxs("div",{role:"switch","aria-checked":c,tabIndex:0,title:Q(h),className:`switcher ${c?"switcher-checked":""} ${s}`,style:{"--bg":e.bg||"#1f2937","--active-bg":e.activeBg||"#facc15","--border":e.border||"#fff","--circle":e.circle||"#fff","--icon":e.icon||"#fbbf24","--icon2":e.icon2||e.icon||"#fbbf24","--size":`${r}px`,...d},onClick:l,onKeyDown:u,children:[o.jsx("div",{className:"switcher-circle"}),o.jsxs("div",{className:"switcher-icons",children:[t&&o.jsx("div",{className:"switcher-icon-left",children:t}),n&&o.jsx("div",{className:"switcher-icon-right",children:n})]})]})},Hb=({lightTheme:e="light",darkTheme:t="dark",leftIcon:n="Sun",rightIcon:c="Moon",colors:i={bg:"#e5e7eb",activeBg:"#3b82f6",border:"#ffffff",circle:"#ffffff",icon:"#3b82f6",icon2:"#ffffff"},size:r=24,a11yConfig:s})=>{const{currentTheme:d,switchTheme:h}=pL(),[l,u]=k.useState(!1);if(k.useEffect(()=>{u(!0)},[]),!l)return null;const p=d===t,y=m=>{h(m?t:e)};return o.jsx(E1,{leftIcon:n,rightIcon:c,checked:p,onToggle:y,colors:i,size:r,a11yConfig:s})},p2e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M480-80 317-243l44-44 89 89v-252H198l84 84-44 44L80-480l159-159 44 44-85 85h252v-252l-84 84-44-44 158-158 158 158-44 44-84-84v252h252l-84-84 44-44 158 158-158 158-44-44 84-84H510v252l89-89 44 44z"})),tC=k.memo(p2e),Cj=k.createContext(void 0),y2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("isDraggable");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("isDraggable",String(t))},[t]);const c=i=>{n(i)};return o.jsx(Cj.Provider,{value:{isDraggable:t,switchDraggable:c},children:e})},Nj=()=>{const e=k.useContext(Cj);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},aL=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"var(--color-primary)",border:"transparent",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},size:c=24,a11yConfig:i})=>{const{isDraggable:r,switchDraggable:s}=Nj(),[d,h]=k.useState(!1);if(k.useEffect(()=>{h(!0)},[]),!d)return null;const l=u=>{s(u)};return o.jsx(E1,{leftIcon:e||o.jsx(tC,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(tC,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:l,colors:n,size:c,a11yConfig:i})},k2e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820t-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300M371-448v-267h60v267zm-145 0v-184h60v184zm290 0v-143h60v143zM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233z"})),aC=k.memo(k2e),Sj=k.createContext(void 0),m2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("disableLegendFilter");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("disableLegendFilter",String(t))},[t]);const c=i=>{n(i)};return o.jsx(Sj.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:c},children:e})},jj=()=>{const e=k.useContext(Sj);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},nL=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"#ef4444",border:"#ffffff",circle:"#ffffff",icon:"#ef4444",icon2:"#ffffff"},size:c=24,a11yConfig:i})=>{const{disableLegendFilter:r,switchDisableLegendFilter:s}=jj(),[d,h]=k.useState(!1);if(k.useEffect(()=>{h(!0)},[]),!d)return null;const l=u=>{s(u)};return o.jsx(E1,{leftIcon:e||o.jsx(aC,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(aC,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:l,colors:n,size:c,a11yConfig:i})},$j=k.createContext(void 0),f2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("showData");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("showData",String(t))},[t]);const c=i=>{n(i)};return o.jsx($j.Provider,{value:{showData:t,switchShowData:c},children:e})},qj=()=>{const e=k.useContext($j);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},g2e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M600.5-379.5Q650-429 650-500t-49.5-120.5T480-670t-120.5 49.5T310-500t49.5 120.5T480-330t120.5-49.5m-200-41Q368-453 368-500t32.5-79.5T480-612t79.5 32.5T592-500t-32.5 79.5T480-388t-79.5-32.5M216-283Q98-366 40-500q58-134 176-217t264-83 264 83 176 217q-58 134-176 217t-264 83-264-83m486.5-42.5Q804-391 857-500q-53-109-154.5-174.5T480-740t-222.5 65.5T102-500q54 109 155.5 174.5T480-260t222.5-65.5"})),nC=k.memo(g2e),oL=({size:e=24,colors:t={bg:"var(--color-switcher-background)",activeBg:"#10b981",border:"#ffffff",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},a11yConfig:n})=>{const{showData:c,switchShowData:i}=qj(),[r,s]=k.useState(!1);return k.useEffect(()=>{s(!0)},[]),r?o.jsx(E1,{checked:c,onToggle:d=>i(d),size:e,leftIcon:o.jsx(nC,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:o.jsx(nC,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t,a11yConfig:n}):null},v2e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M284-277h60v-205h-60zm332 0h60v-420h-60zm-166 0h60v-118h-60zm0-205h60v-60h-60zM180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h600q24 0 42 18t18 42v600q0 24-18 42t-42 18zm0-60h600v-600H180zm0-600v600z"})),Aj=k.memo(v2e);function Db({items:e,onSave:t,loading:n,disabled:c,saveLabel:i,savingLabel:r,buttonTitle:s}){const[d,h]=k.useState(!1),[l,u]=k.useState(e);k.useEffect(()=>{u(e)},[e]);const p=(m,f)=>{u(g=>g.map(M=>M.component_key===m&&f>3?{...M,visible:!M.visible}:M))},y=()=>{t(l),h(!1)};return o.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[o.jsx("div",{onClick:()=>c||h(m=>!m),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--color-primary)"},title:s,children:o.jsx(Aj,{fill:"currentColor"})}),d&&o.jsxs("div",{style:{position:"absolute",top:"110%",right:0,minWidth:220,background:"#fff",border:"1px solid var(--color-border)",borderRadius:8,boxShadow:"0 4px 16px rgba(0,0,0,0.08)",zIndex:1e3,padding:12},children:[o.jsx("ul",{style:{listStyle:"none",padding:0,margin:0,marginBottom:12},children:l.map((m,f)=>o.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[o.jsx("input",{type:"checkbox",checked:m.visible,disabled:f<4,onChange:()=>p(m.component_key,f),style:{marginRight:8}}),o.jsx("span",{style:{color:f<4?"#6b7280":"#111827"},children:m.label}),f<4&&o.jsx("span",{style:{fontSize:"var(--text-paragraph)",color:"#9ca3af",marginLeft:6}})]},m.component_key))}),o.jsx("button",{type:"button",onClick:y,disabled:n,style:{padding:"6px 18px",borderRadius:6,border:"none",background:"var(--color-primary)",color:"#fff",fontWeight:600,cursor:"pointer"},children:n?r:i})]})]})}const M2e=({logoPath:e,navItems:t,onNavClick:n,dropdownItems:c,headerBg:i,highlightColor:r="#1387C8",moduleConfig:s={},componentVisibilityItems:d=[],onComponentVisibilitySave:h,componentVisibilityLoading:l=!1,componentVisibilitySaveLabel:u,componentVisibilitySavingLabel:p,componentVisibilityButtonTitle:y})=>{const{activeSwitchers:m}=ht(),f=m?.draggable===!0,g=m?.showData===!0,M=m?.legendFilter===!0,x=m?.componentVisibility===!0&&d&&d.length>0;return o.jsx("header",{className:"header",style:{backgroundColor:i},children:o.jsxs("div",{className:"header-layout-container",children:[o.jsxs("div",{className:"header-left",children:[o.jsx("a",{href:"/",children:o.jsx(uL,{imagePath:e})}),o.jsx(Ij,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),o.jsxs("div",{className:"header-right",children:[o.jsxs("div",{className:"switcher-container",children:[f&&o.jsx(aL,{}),g&&o.jsx(oL,{}),M&&o.jsx(nL,{}),o.jsx(Hb,{}),x&&o.jsx(Db,{items:d,onSave:h||(()=>{}),loading:l,saveLabel:u,savingLabel:p,buttonTitle:y})]}),o.jsx(_j,{categories:c?.categories,buttonContent:c?.buttonContent,topContent:o.jsxs("div",{className:"dropdown-switchers",children:[f&&o.jsx(aL,{}),g&&o.jsx(oL,{}),M&&o.jsx(nL,{}),o.jsx(Hb,{}),x&&o.jsx(Db,{items:d,onSave:h||(()=>{}),loading:l,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},zj=({icon:e,text:t,size:n=16,color:c="currentColor",className:i="",active:r=!1,href:s,a11yConfig:d})=>{const h=e?mt[e]:null,l=s?"a":"div";return o.jsxs(l,{className:`icon-text ${r?"icon-text-active":""} ${i}`,style:{color:c},title:Q(d,t),role:"text","aria-label":t,...s?{href:s}:{},children:[h&&o.jsx(h,{size:n,"aria-hidden":"true"}),o.jsx("span",{children:t})]})},Vj=({children:e,className:t="",style:n,item:c})=>o.jsxs("div",{className:`scrollable-horizontale ${t}`,style:n,children:[o.jsx("div",{className:"scrollable",children:e}),o.jsx("div",{className:"scrollable-dropdown",children:o.jsx(_j,{logo:"BarChart",position:"right",categories:c})})]}),x2e=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:c})=>{const{activeSubNav:i}=ht();return o.jsx(Vj,{style:n,item:c,children:e?.map(r=>o.jsx(zj,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i,a11yConfig:r.a11yConfig},r.id))})},Pj=({title:e,subtitle:t,text:n,background:c="#f9f9f9",titleStyle:i,subtitleStyle:r,textStyle:s,itemStyle:d,icon:h})=>{const[l,u]=n?n.split("/"):[];return o.jsxs("div",{className:"trend-item",style:{background:c,...d},children:[o.jsxs("div",{className:"trend-left",children:[o.jsx("div",{className:"trend-icon",children:h}),o.jsxs("div",{className:"trend-texts",children:[o.jsx("span",{className:"trend-title",style:i,children:e}),t&&o.jsx("span",{className:"trend-subtitle",style:r,children:t})]})]}),o.jsxs("div",{className:"trend-right",style:s,children:[o.jsx("span",{className:"trend-right-left",children:l}),o.jsx("span",{className:"trend-right-separator",children:" / "}),o.jsx("span",{className:"trend-right-right",children:u})]})]})},hw=k.createContext({});function zt(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const uw=typeof window<"u",pw=uw?k.useLayoutEffect:k.useEffect,yL=k.createContext(null);function yw(e,t){e.indexOf(t)===-1&&e.push(t)}function kw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function _2e([...e],t,n){const c=t<0?e.length+t:t;if(c>=0&&c<e.length){const i=n<0?e.length+n:n,[r]=e.splice(t,1);e.splice(i,0,r)}return e}const ft=(e,t,n)=>n>t?t:n<e?e:n;function Bb(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let n1=()=>{},et=()=>{};process.env.NODE_ENV!=="production"&&(n1=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(Bb(t,n))},et=(e,t,n)=>{if(!e)throw new Error(Bb(t,n))});const gt={},Tj=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Hj(e){return typeof e=="object"&&e!==null}const Dj=e=>/^0[^.\s]+$/u.test(e);function mw(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ze=e=>e,L2e=(e,t)=>n=>t(e(n)),O1=(...e)=>e.reduce(L2e),T1=(e,t,n)=>{const c=t-e;return c===0?1:(n-e)/c};class fw{constructor(){this.subscriptions=[]}add(t){return yw(this.subscriptions,t),()=>kw(this.subscriptions,t)}notify(t,n,c){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,c);else for(let r=0;r<i;r++){const s=this.subscriptions[r];s&&s(t,n,c)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Qe=e=>e*1e3,Ge=e=>e/1e3;function Bj(e,t){return t?e*(1e3/t):0}const oC=new Set;function gw(e,t,n){e||oC.has(t)||(console.warn(Bb(t,n)),oC.add(t))}const Rj=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,I2e=1e-7,b2e=12;function w2e(e,t,n,c,i){let r,s,d=0;do s=t+(n-t)/2,r=Rj(s,c,i)-e,r>0?n=s:t=s;while(Math.abs(r)>I2e&&++d<b2e);return s}function U1(e,t,n,c){if(e===t&&n===c)return Ze;const i=r=>w2e(r,0,1,e,n);return r=>r===0||r===1?r:Rj(i(r),t,c)}const Fj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ej=e=>t=>1-e(1-t),Oj=U1(.33,1.53,.69,.99),vw=Ej(Oj),Uj=Fj(vw),Wj=e=>(e*=2)<1?.5*vw(e):.5*(2-Math.pow(2,-10*(e-1))),Mw=e=>1-Math.sin(Math.acos(e)),Gj=Ej(Mw),Kj=Fj(Mw),C2e=U1(.42,0,1,1),N2e=U1(0,0,.58,1),Zj=U1(.42,0,.58,1),S2e=e=>Array.isArray(e)&&typeof e[0]!="number",Xj=e=>Array.isArray(e)&&typeof e[0]=="number",cC={linear:Ze,easeIn:C2e,easeInOut:Zj,easeOut:N2e,circIn:Mw,circInOut:Kj,circOut:Gj,backIn:vw,backInOut:Uj,backOut:Oj,anticipate:Wj},j2e=e=>typeof e=="string",iC=e=>{if(Xj(e)){et(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,c,i]=e;return U1(t,n,c,i)}else if(j2e(e))return et(cC[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),cC[e];return e},X1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function $2e(e,t){let n=new Set,c=new Set,i=!1,r=!1;const s=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function h(u){s.has(u)&&(l.schedule(u),e()),u(d)}const l={schedule:(u,p=!1,y=!1)=>{const f=y&&i?n:c;return p&&s.add(u),f.has(u)||f.add(u),u},cancel:u=>{c.delete(u),s.delete(u)},process:u=>{if(d=u,i){r=!0;return}i=!0,[n,c]=[c,n],n.forEach(h),n.clear(),i=!1,r&&(r=!1,l.process(u))}};return l}const q2e=40;function Yj(e,t){let n=!1,c=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=X1.reduce((L,w)=>(L[w]=$2e(r),L),{}),{setup:d,read:h,resolveKeyframes:l,preUpdate:u,update:p,preRender:y,render:m,postRender:f}=s,g=()=>{const L=gt.useManualTiming?i.timestamp:performance.now();n=!1,gt.useManualTiming||(i.delta=c?1e3/60:Math.max(Math.min(L-i.timestamp,q2e),1)),i.timestamp=L,i.isProcessing=!0,d.process(i),h.process(i),l.process(i),u.process(i),p.process(i),y.process(i),m.process(i),f.process(i),i.isProcessing=!1,n&&t&&(c=!1,e(g))},M=()=>{n=!0,c=!0,i.isProcessing||e(g)};return{schedule:X1.reduce((L,w)=>{const C=s[w];return L[w]=(b,_=!1,I=!1)=>(n||M(),C.schedule(b,_,I)),L},{}),cancel:L=>{for(let w=0;w<X1.length;w++)s[X1[w]].cancel(L)},state:i,steps:s}}const{schedule:ke,cancel:vt,state:Se,steps:HL}=Yj(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ze,!0);let Y_;function A2e(){Y_=void 0}const De={now:()=>(Y_===void 0&&De.set(Se.isProcessing||gt.useManualTiming?Se.timestamp:performance.now()),Y_),set:e=>{Y_=e,queueMicrotask(A2e)}},Jj=e=>t=>typeof t=="string"&&t.startsWith(e),xw=Jj("--"),z2e=Jj("var(--"),_w=e=>z2e(e)?V2e.test(e.split("/*")[0].trim()):!1,V2e=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,o1={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},H1={...o1,transform:e=>ft(0,1,e)},Y1={...o1,default:1},$1=e=>Math.round(e*1e5)/1e5,Lw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function P2e(e){return e==null}const T2e=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Iw=(e,t)=>n=>!!(typeof n=="string"&&T2e.test(n)&&n.startsWith(e)||t&&!P2e(n)&&Object.prototype.hasOwnProperty.call(n,t)),Qj=(e,t,n)=>c=>{if(typeof c!="string")return c;const[i,r,s,d]=c.match(Lw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},H2e=e=>ft(0,255,e),DL={...o1,transform:e=>Math.round(H2e(e))},Cc={test:Iw("rgb","red"),parse:Qj("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:c=1})=>"rgba("+DL.transform(e)+", "+DL.transform(t)+", "+DL.transform(n)+", "+$1(H1.transform(c))+")"};function D2e(e){let t="",n="",c="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),c=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),c=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,c+=c,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(c,16),alpha:i?parseInt(i,16)/255:1}}const Rb={test:Iw("#"),parse:D2e,transform:Cc.transform},W1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),It=W1("deg"),lt=W1("%"),K=W1("px"),B2e=W1("vh"),R2e=W1("vw"),rC={...lt,parse:e=>lt.parse(e)/100,transform:e=>lt.transform(e*100)},Ec={test:Iw("hsl","hue"),parse:Qj("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:c=1})=>"hsla("+Math.round(e)+", "+lt.transform($1(t))+", "+lt.transform($1(n))+", "+$1(H1.transform(c))+")"},Le={test:e=>Cc.test(e)||Rb.test(e)||Ec.test(e),parse:e=>Cc.test(e)?Cc.parse(e):Ec.test(e)?Ec.parse(e):Rb.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Cc.transform(e):Ec.transform(e),getAnimatableNone:e=>{const t=Le.parse(e);return t.alpha=0,Le.transform(t)}},F2e=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function E2e(e){return isNaN(e)&&typeof e=="string"&&(e.match(Lw)?.length||0)+(e.match(F2e)?.length||0)>0}const e$="number",t$="color",O2e="var",U2e="var(",sC="${}",W2e=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function D1(e){const t=e.toString(),n=[],c={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(W2e,h=>(Le.test(h)?(c.color.push(r),i.push(t$),n.push(Le.parse(h))):h.startsWith(U2e)?(c.var.push(r),i.push(O2e),n.push(h)):(c.number.push(r),i.push(e$),n.push(parseFloat(h))),++r,sC)).split(sC);return{values:n,split:d,indexes:c,types:i}}function a$(e){return D1(e).values}function n$(e){const{split:t,types:n}=D1(e),c=t.length;return i=>{let r="";for(let s=0;s<c;s++)if(r+=t[s],i[s]!==void 0){const d=n[s];d===e$?r+=$1(i[s]):d===t$?r+=Le.transform(i[s]):r+=i[s]}return r}}const G2e=e=>typeof e=="number"?0:Le.test(e)?Le.getAnimatableNone(e):e;function K2e(e){const t=a$(e);return n$(e)(t.map(G2e))}const At={test:E2e,parse:a$,createTransformer:n$,getAnimatableNone:K2e};function BL(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Z2e({hue:e,saturation:t,lightness:n,alpha:c}){e/=360,t/=100,n/=100;let i=0,r=0,s=0;if(!t)i=r=s=n;else{const d=n<.5?n*(1+t):n+t-n*t,h=2*n-d;i=BL(h,d,e+1/3),r=BL(h,d,e),s=BL(h,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:c}}function cL(e,t){return n=>n>0?t:e}const fe=(e,t,n)=>e+(t-e)*n,RL=(e,t,n)=>{const c=e*e,i=n*(t*t-c)+c;return i<0?0:Math.sqrt(i)},X2e=[Rb,Cc,Ec],Y2e=e=>X2e.find(t=>t.test(e));function dC(e){const t=Y2e(e);if(n1(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Ec&&(n=Z2e(n)),n}const lC=(e,t)=>{const n=dC(e),c=dC(t);if(!n||!c)return cL(e,t);const i={...n};return r=>(i.red=RL(n.red,c.red,r),i.green=RL(n.green,c.green,r),i.blue=RL(n.blue,c.blue,r),i.alpha=fe(n.alpha,c.alpha,r),Cc.transform(i))},Fb=new Set(["none","hidden"]);function J2e(e,t){return Fb.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Q2e(e,t){return n=>fe(e,t,n)}function bw(e){return typeof e=="number"?Q2e:typeof e=="string"?_w(e)?cL:Le.test(e)?lC:ade:Array.isArray(e)?o$:typeof e=="object"?Le.test(e)?lC:ede:cL}function o$(e,t){const n=[...e],c=n.length,i=e.map((r,s)=>bw(r)(r,t[s]));return r=>{for(let s=0;s<c;s++)n[s]=i[s](r);return n}}function ede(e,t){const n={...e,...t},c={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(c[i]=bw(e[i])(e[i],t[i]));return i=>{for(const r in c)n[r]=c[r](i);return n}}function tde(e,t){const n=[],c={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const r=t.types[i],s=e.indexes[r][c[r]],d=e.values[s]??0;n[i]=d,c[r]++}return n}const ade=(e,t)=>{const n=At.createTransformer(t),c=D1(e),i=D1(t);return c.indexes.var.length===i.indexes.var.length&&c.indexes.color.length===i.indexes.color.length&&c.indexes.number.length>=i.indexes.number.length?Fb.has(e)&&!i.values.length||Fb.has(t)&&!c.values.length?J2e(e,t):O1(o$(tde(c,i),i.values),n):(n1(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),cL(e,t))};function c$(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?fe(e,t,n):bw(e)(e,t)}const nde=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ke.update(t,n),stop:()=>vt(t),now:()=>Se.isProcessing?Se.timestamp:De.now()}},i$=(e,t,n=10)=>{let c="";const i=Math.max(Math.round(t/n),2);for(let r=0;r<i;r++)c+=Math.round(e(r/(i-1))*1e4)/1e4+", ";return`linear(${c.substring(0,c.length-2)})`},iL=2e4;function ww(e){let t=0;const n=50;let c=e.next(t);for(;!c.done&&t<iL;)t+=n,c=e.next(t);return t>=iL?1/0:t}function ode(e,t=100,n){const c=n({...e,keyframes:[0,t]}),i=Math.min(ww(c),iL);return{type:"keyframes",ease:r=>c.next(i*r).value/t,duration:Ge(i)}}const cde=5;function r$(e,t,n){const c=Math.max(t-cde,0);return Bj(n-e(c),t-c)}const ve={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},FL=.001;function ide({duration:e=ve.duration,bounce:t=ve.bounce,velocity:n=ve.velocity,mass:c=ve.mass}){let i,r;n1(e<=Qe(ve.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=ft(ve.minDamping,ve.maxDamping,s),e=ft(ve.minDuration,ve.maxDuration,Ge(e)),s<1?(i=l=>{const u=l*s,p=u*e,y=u-n,m=Eb(l,s),f=Math.exp(-p);return FL-y/m*f},r=l=>{const p=l*s*e,y=p*n+n,m=Math.pow(s,2)*Math.pow(l,2)*e,f=Math.exp(-p),g=Eb(Math.pow(l,2),s);return(-i(l)+FL>0?-1:1)*((y-m)*f)/g}):(i=l=>{const u=Math.exp(-l*e),p=(l-n)*e+1;return-FL+u*p},r=l=>{const u=Math.exp(-l*e),p=(n-l)*(e*e);return u*p});const d=5/e,h=sde(i,r,d);if(e=Qe(e),isNaN(h))return{stiffness:ve.stiffness,damping:ve.damping,duration:e};{const l=Math.pow(h,2)*c;return{stiffness:l,damping:s*2*Math.sqrt(c*l),duration:e}}}const rde=12;function sde(e,t,n){let c=n;for(let i=1;i<rde;i++)c=c-e(c)/t(c);return c}function Eb(e,t){return e*Math.sqrt(1-t*t)}const dde=["duration","bounce"],lde=["stiffness","damping","mass"];function hC(e,t){return t.some(n=>e[n]!==void 0)}function hde(e){let t={velocity:ve.velocity,stiffness:ve.stiffness,damping:ve.damping,mass:ve.mass,isResolvedFromDuration:!1,...e};if(!hC(e,lde)&&hC(e,dde))if(e.visualDuration){const n=e.visualDuration,c=2*Math.PI/(n*1.2),i=c*c,r=2*ft(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:ve.mass,stiffness:i,damping:r}}else{const n=ide(e);t={...t,...n,mass:ve.mass},t.isResolvedFromDuration=!0}return t}function rL(e=ve.visualDuration,t=ve.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:c,restDelta:i}=n;const r=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],d={done:!1,value:r},{stiffness:h,damping:l,mass:u,duration:p,velocity:y,isResolvedFromDuration:m}=hde({...n,velocity:-Ge(n.velocity||0)}),f=y||0,g=l/(2*Math.sqrt(h*u)),M=s-r,x=Ge(Math.sqrt(h/u)),v=Math.abs(M)<5;c||(c=v?ve.restSpeed.granular:ve.restSpeed.default),i||(i=v?ve.restDelta.granular:ve.restDelta.default);let L;if(g<1){const C=Eb(x,g);L=b=>{const _=Math.exp(-g*x*b);return s-_*((f+g*x*M)/C*Math.sin(C*b)+M*Math.cos(C*b))}}else if(g===1)L=C=>s-Math.exp(-x*C)*(M+(f+x*M)*C);else{const C=x*Math.sqrt(g*g-1);L=b=>{const _=Math.exp(-g*x*b),I=Math.min(C*b,300);return s-_*((f+g*x*M)*Math.sinh(I)+C*M*Math.cosh(I))/C}}const w={calculatedDuration:m&&p||null,next:C=>{const b=L(C);if(m)d.done=C>=p;else{let _=C===0?f:0;g<1&&(_=C===0?Qe(f):r$(L,C,b));const I=Math.abs(_)<=c,j=Math.abs(s-b)<=i;d.done=I&&j}return d.value=d.done?s:b,d},toString:()=>{const C=Math.min(ww(w),iL),b=i$(_=>w.next(C*_).value,C,30);return C+"ms "+b},toTransition:()=>{}};return w}rL.applyToOptions=e=>{const t=ode(e,100,rL);return e.ease=t.ease,e.duration=Qe(t.duration),e.type="keyframes",e};function Ob({keyframes:e,velocity:t=0,power:n=.8,timeConstant:c=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:s,min:d,max:h,restDelta:l=.5,restSpeed:u}){const p=e[0],y={done:!1,value:p},m=I=>d!==void 0&&I<d||h!==void 0&&I>h,f=I=>d===void 0?h:h===void 0||Math.abs(d-I)<Math.abs(h-I)?d:h;let g=n*t;const M=p+g,x=s===void 0?M:s(M);x!==M&&(g=x-p);const v=I=>-g*Math.exp(-I/c),L=I=>x+v(I),w=I=>{const j=v(I),N=L(I);y.done=Math.abs(j)<=l,y.value=y.done?x:N};let C,b;const _=I=>{m(y.value)&&(C=I,b=rL({keyframes:[y.value,f(y.value)],velocity:r$(L,I,y.value),damping:i,stiffness:r,restDelta:l,restSpeed:u}))};return _(0),{calculatedDuration:null,next:I=>{let j=!1;return!b&&C===void 0&&(j=!0,w(I),_(I)),C!==void 0&&I>=C?b.next(I-C):(!j&&w(I),y)}}}function ude(e,t,n){const c=[],i=n||gt.mix||c$,r=e.length-1;for(let s=0;s<r;s++){let d=i(e[s],e[s+1]);if(t){const h=Array.isArray(t)?t[s]||Ze:t;d=O1(h,d)}c.push(d)}return c}function s$(e,t,{clamp:n=!0,ease:c,mixer:i}={}){const r=e.length;if(et(r===t.length,"Both input and output ranges must be the same length","range-length"),r===1)return()=>t[0];if(r===2&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const d=ude(t,c,i),h=d.length,l=u=>{if(s&&u<e[0])return t[0];let p=0;if(h>1)for(;p<e.length-2&&!(u<e[p+1]);p++);const y=T1(e[p],e[p+1],u);return d[p](y)};return n?u=>l(ft(e[0],e[r-1],u)):l}function pde(e,t){const n=e[e.length-1];for(let c=1;c<=t;c++){const i=T1(0,t,c);e.push(fe(n,1,i))}}function yde(e){const t=[0];return pde(t,e.length-1),t}function kde(e,t){return e.map(n=>n*t)}function mde(e,t){return e.map(()=>t||Zj).splice(0,e.length-1)}function Oc({duration:e=300,keyframes:t,times:n,ease:c="easeInOut"}){const i=S2e(c)?c.map(iC):iC(c),r={done:!1,value:t[0]},s=kde(n&&n.length===t.length?n:yde(t),e),d=s$(s,t,{ease:Array.isArray(i)?i:mde(t,i)});return{calculatedDuration:e,next:h=>(r.value=d(h),r.done=h>=e,r)}}const fde=e=>e!==null;function Cw(e,{repeat:t,repeatType:n="loop"},c,i=1){const r=e.filter(fde),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||c===void 0?r[d]:c}const gde={decay:Ob,inertia:Ob,tween:Oc,keyframes:Oc,spring:rL};function d$(e){typeof e.type=="string"&&(e.type=gde[e.type])}class Nw{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const vde=e=>e/100;class Sw extends Nw{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==De.now()&&this.tick(De.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;d$(t);const{type:n=Oc,repeat:c=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const h=n||Oc;process.env.NODE_ENV!=="production"&&h!==Oc&&et(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),h!==Oc&&typeof d[0]!="number"&&(this.mixKeyframes=O1(vde,c$(d[0],d[1])),d=[0,100]);const l=h({...t,keyframes:d});r==="mirror"&&(this.mirroredGenerator=h({...t,keyframes:[...d].reverse(),velocity:-s})),l.calculatedDuration===null&&(l.calculatedDuration=ww(l));const{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(c+1)-i,this.generator=l}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:c,totalDuration:i,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:d,calculatedDuration:h}=this;if(this.startTime===null)return c.next(0);const{delay:l=0,keyframes:u,repeat:p,repeatType:y,repeatDelay:m,type:f,onUpdate:g,finalKeyframe:M}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const x=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?x<0:x>i;this.currentTime=Math.max(x,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let L=this.currentTime,w=c;if(p){const I=Math.min(this.currentTime,i)/d;let j=Math.floor(I),N=I%1;!N&&I>=1&&(N=1),N===1&&j--,j=Math.min(j,p+1),!!(j%2)&&(y==="reverse"?(N=1-N,m&&(N-=m/d)):y==="mirror"&&(w=s)),L=ft(0,1,N)*d}const C=v?{done:!1,value:u[0]}:w.next(L);r&&(C.value=r(C.value));let{done:b}=C;!v&&h!==null&&(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const _=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return _&&f!==Ob&&(C.value=Cw(u,this.options,M,this.speed)),g&&g(C.value),_&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return Ge(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ge(t)}get time(){return Ge(this.currentTime)}set time(t){t=Qe(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(De.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Ge(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=nde,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const c=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=c):this.holdTime!==null?this.startTime=c-this.holdTime:this.startTime||(this.startTime=n??c),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(De.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function Mde(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Nc=e=>e*180/Math.PI,Ub=e=>{const t=Nc(Math.atan2(e[1],e[0]));return Wb(t)},xde={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Ub,rotateZ:Ub,skewX:e=>Nc(Math.atan(e[1])),skewY:e=>Nc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Wb=e=>(e=e%360,e<0&&(e+=360),e),uC=Ub,pC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),yC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),_de={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:pC,scaleY:yC,scale:e=>(pC(e)+yC(e))/2,rotateX:e=>Wb(Nc(Math.atan2(e[6],e[5]))),rotateY:e=>Wb(Nc(Math.atan2(-e[2],e[0]))),rotateZ:uC,rotate:uC,skewX:e=>Nc(Math.atan(e[4])),skewY:e=>Nc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Gb(e){return e.includes("scale")?1:0}function Kb(e,t){if(!e||e==="none")return Gb(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let c,i;if(n)c=_de,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);c=xde,i=d}if(!i)return Gb(t);const r=c[t],s=i[1].split(",").map(Ide);return typeof r=="function"?r(s):s[r]}const Lde=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Kb(n,t)};function Ide(e){return parseFloat(e.trim())}const c1=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i1=new Set(c1),kC=e=>e===o1||e===K,bde=new Set(["x","y","z"]),wde=c1.filter(e=>!bde.has(e));function Cde(e){const t=[];return wde.forEach(n=>{const c=e.getValue(n);c!==void 0&&(t.push([n,c.get()]),c.set(n.startsWith("scale")?1:0))}),t}const qc={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Kb(t,"x"),y:(e,{transform:t})=>Kb(t,"y")};qc.translateX=qc.x;qc.translateY=qc.y;const Ac=new Set;let Zb=!1,Xb=!1,Yb=!1;function l$(){if(Xb){const e=Array.from(Ac).filter(c=>c.needsMeasurement),t=new Set(e.map(c=>c.element)),n=new Map;t.forEach(c=>{const i=Cde(c);i.length&&(n.set(c,i),c.render())}),e.forEach(c=>c.measureInitialState()),t.forEach(c=>{c.render();const i=n.get(c);i&&i.forEach(([r,s])=>{c.getValue(r)?.set(s)})}),e.forEach(c=>c.measureEndState()),e.forEach(c=>{c.suspendedScrollY!==void 0&&window.scrollTo(0,c.suspendedScrollY)})}Xb=!1,Zb=!1,Ac.forEach(e=>e.complete(Yb)),Ac.clear()}function h$(){Ac.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Xb=!0)})}function Nde(){Yb=!0,h$(),l$(),Yb=!1}class jw{constructor(t,n,c,i,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=c,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Ac.add(this),Zb||(Zb=!0,ke.read(h$),ke.resolveKeyframes(l$))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:c,motionValue:i}=this;if(t[0]===null){const r=i?.get(),s=t[t.length-1];if(r!==void 0)t[0]=r;else if(c&&n){const d=c.readValue(n,s);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=s),i&&r===void 0&&i.set(t[0])}Mde(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Ac.delete(this)}cancel(){this.state==="scheduled"&&(Ac.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Sde=e=>e.startsWith("--");function jde(e,t,n){Sde(t)?e.style.setProperty(t,n):e.style[t]=n}const $de=mw(()=>window.ScrollTimeline!==void 0),qde={};function Ade(e,t){const n=mw(e);return()=>qde[t]??n()}const u$=Ade(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),k1=([e,t,n,c])=>`cubic-bezier(${e}, ${t}, ${n}, ${c})`,mC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:k1([0,.65,.55,1]),circOut:k1([.55,0,1,.45]),backIn:k1([.31,.01,.66,-.59]),backOut:k1([.33,1.53,.69,.99])};function p$(e,t){if(e)return typeof e=="function"?u$()?i$(e,t):"ease-out":Xj(e)?k1(e):Array.isArray(e)?e.map(n=>p$(n,t)||mC.easeOut):mC[e]}function zde(e,t,n,{delay:c=0,duration:i=300,repeat:r=0,repeatType:s="loop",ease:d="easeOut",times:h}={},l=void 0){const u={[t]:n};h&&(u.offset=h);const p=p$(d,i);Array.isArray(p)&&(u.easing=p);const y={delay:c,duration:i,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:r+1,direction:s==="reverse"?"alternate":"normal"};return l&&(y.pseudoElement=l),e.animate(u,y)}function y$(e){return typeof e=="function"&&"applyToOptions"in e}function Vde({type:e,...t}){return y$(e)&&u$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Pde extends Nw{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:c,keyframes:i,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:d,onComplete:h}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,et(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const l=Vde(t);this.animation=zde(n,c,i,l,r),l.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=Cw(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):jde(n,c,u),this.animation.cancel()}h?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Ge(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ge(t)}get time(){return Ge(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Qe(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&$de()?(this.animation.timeline=t,Ze):n(this)}}const k$={anticipate:Wj,backInOut:Uj,circInOut:Kj};function Tde(e){return e in k$}function Hde(e){typeof e.ease=="string"&&Tde(e.ease)&&(e.ease=k$[e.ease])}const fC=10;class Dde extends Pde{constructor(t){Hde(t),d$(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:c,onComplete:i,element:r,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const d=new Sw({...s,autoplay:!1}),h=Qe(this.finishedTime??this.time);n.setWithVelocity(d.sample(h-fC).value,d.sample(h).value,fC),d.stop()}}const gC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(At.test(e)||e==="0")&&!e.startsWith("url("));function Bde(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Rde(e,t,n,c){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const r=e[e.length-1],s=gC(i,t),d=gC(r,t);return n1(s===d,`You are trying to animate ${t} from "${i}" to "${r}". "${s?r:i}" is not an animatable value.`,"value-not-animatable"),!s||!d?!1:Bde(e)||(n==="spring"||y$(n))&&c}function Jb(e){e.duration=0,e.type="keyframes"}const Fde=new Set(["opacity","clipPath","filter","transform"]),Ede=mw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Ode(e){const{motionValue:t,name:n,repeatDelay:c,repeatType:i,damping:r,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:h,transformTemplate:l}=t.owner.getProps();return Ede()&&n&&Fde.has(n)&&(n!=="transform"||!l)&&!h&&!c&&i!=="mirror"&&r!==0&&s!=="inertia"}const Ude=40;class Wde extends Nw{constructor({autoplay:t=!0,delay:n=0,type:c="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",keyframes:d,name:h,motionValue:l,element:u,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=De.now();const y={autoplay:t,delay:n,type:c,repeat:i,repeatDelay:r,repeatType:s,name:h,motionValue:l,element:u,...p},m=u?.KeyframeResolver||jw;this.keyframeResolver=new m(d,(f,g,M)=>this.onKeyframesResolved(f,g,y,!M),h,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,c,i){this.keyframeResolver=void 0;const{name:r,type:s,velocity:d,delay:h,isHandoff:l,onUpdate:u}=c;this.resolvedAt=De.now(),Rde(t,r,s,d)||((gt.instantAnimations||!h)&&u?.(Cw(t,c,n)),t[0]=t[t.length-1],Jb(c),c.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Ude?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...c,keyframes:t},m=!l&&Ode(y)?new Dde({...y,element:y.motionValue.owner.current}):new Sw(y);m.finished.then(()=>this.notifyFinished()).catch(Ze),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Nde()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Gde=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Kde(e){const t=Gde.exec(e);if(!t)return[,];const[,n,c,i]=t;return[`--${n??c}`,i]}const Zde=4;function m$(e,t,n=1){et(n<=Zde,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[c,i]=Kde(e);if(!c)return;const r=window.getComputedStyle(t).getPropertyValue(c);if(r){const s=r.trim();return Tj(s)?parseFloat(s):s}return _w(i)?m$(i,t,n+1):i}function $w(e,t){return e?.[t]??e?.default??e}const f$=new Set(["width","height","top","left","right","bottom",...c1]),Xde={test:e=>e==="auto",parse:e=>e},g$=e=>t=>t.test(e),v$=[o1,K,lt,It,R2e,B2e,Xde],vC=e=>v$.find(g$(e));function Yde(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Dj(e):!0}const Jde=new Set(["brightness","contrast","saturate","opacity"]);function Qde(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[c]=n.match(Lw)||[];if(!c)return e;const i=n.replace(c,"");let r=Jde.has(t)?1:0;return c!==n&&(r*=100),t+"("+r+i+")"}const e0e=/\b([a-z-]*)\(.*?\)/gu,Qb={...At,getAnimatableNone:e=>{const t=e.match(e0e);return t?t.map(Qde).join(" "):e}},MC={...o1,transform:Math.round},t0e={rotate:It,rotateX:It,rotateY:It,rotateZ:It,scale:Y1,scaleX:Y1,scaleY:Y1,scaleZ:Y1,skew:It,skewX:It,skewY:It,distance:K,translateX:K,translateY:K,translateZ:K,x:K,y:K,z:K,perspective:K,transformPerspective:K,opacity:H1,originX:rC,originY:rC,originZ:K},qw={borderWidth:K,borderTopWidth:K,borderRightWidth:K,borderBottomWidth:K,borderLeftWidth:K,borderRadius:K,radius:K,borderTopLeftRadius:K,borderTopRightRadius:K,borderBottomRightRadius:K,borderBottomLeftRadius:K,width:K,maxWidth:K,height:K,maxHeight:K,top:K,right:K,bottom:K,left:K,padding:K,paddingTop:K,paddingRight:K,paddingBottom:K,paddingLeft:K,margin:K,marginTop:K,marginRight:K,marginBottom:K,marginLeft:K,backgroundPositionX:K,backgroundPositionY:K,...t0e,zIndex:MC,fillOpacity:H1,strokeOpacity:H1,numOctaves:MC},a0e={...qw,color:Le,backgroundColor:Le,outlineColor:Le,fill:Le,stroke:Le,borderColor:Le,borderTopColor:Le,borderRightColor:Le,borderBottomColor:Le,borderLeftColor:Le,filter:Qb,WebkitFilter:Qb},M$=e=>a0e[e];function x$(e,t){let n=M$(e);return n!==Qb&&(n=At),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const n0e=new Set(["auto","none","0"]);function o0e(e,t,n){let c=0,i;for(;c<e.length&&!i;){const r=e[c];typeof r=="string"&&!n0e.has(r)&&D1(r).values.length&&(i=e[c]),c++}if(i&&n)for(const r of t)e[r]=x$(n,i)}class c0e extends jw{constructor(t,n,c,i,r){super(t,n,c,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:c}=this;if(!n||!n.current)return;super.readKeyframes();for(let h=0;h<t.length;h++){let l=t[h];if(typeof l=="string"&&(l=l.trim(),_w(l))){const u=m$(l,n.current);u!==void 0&&(t[h]=u),h===t.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!f$.has(c)||t.length!==2)return;const[i,r]=t,s=vC(i),d=vC(r);if(s!==d)if(kC(s)&&kC(d))for(let h=0;h<t.length;h++){const l=t[h];typeof l=="string"&&(t[h]=parseFloat(l))}else qc[c]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,c=[];for(let i=0;i<t.length;i++)(t[i]===null||Yde(t[i]))&&c.push(i);c.length&&o0e(t,c,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:c}=this;if(!t||!t.current)return;c==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=qc[c](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(c,i).jump(i,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:c}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const r=c.length-1,s=c[r];c[r]=qc[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([d,h])=>{t.getValue(d).set(h)}),this.resolveNoneKeyframes()}}function i0e(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let c=document;const i=n?.[e]??c.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const _$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function L$(e){return Hj(e)&&"offsetHeight"in e}const xC=30,r0e=e=>!isNaN(parseFloat(e)),q1={current:void 0};class s0e{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=c=>{const i=De.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(c),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const r of this.dependents)r.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=De.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=r0e(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&gw(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new fw);const c=this.events[t].add(n);return t==="change"?()=>{c(),ke.read(()=>{this.events.change.getSize()||this.stop()})}:c}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,c){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-c}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return q1.current&&q1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=De.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>xC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,xC);return Bj(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function zc(e,t){return new s0e(e,t)}const{schedule:Aw}=Yj(queueMicrotask,!1),Je={x:!1,y:!1};function I$(){return Je.x||Je.y}function d0e(e){return e==="x"||e==="y"?Je[e]?null:(Je[e]=!0,()=>{Je[e]=!1}):Je.x||Je.y?null:(Je.x=Je.y=!0,()=>{Je.x=Je.y=!1})}function b$(e,t){const n=i0e(e),c=new AbortController,i={passive:!0,...t,signal:c.signal};return[n,i,()=>c.abort()]}function _C(e){return!(e.pointerType==="touch"||I$())}function l0e(e,t,n={}){const[c,i,r]=b$(e,n),s=d=>{if(!_C(d))return;const{target:h}=d,l=t(h,d);if(typeof l!="function"||!h)return;const u=p=>{_C(p)&&(l(p),h.removeEventListener("pointerleave",u))};h.addEventListener("pointerleave",u,i)};return c.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const w$=(e,t)=>t?e===t?!0:w$(e,t.parentElement):!1,zw=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,h0e=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function u0e(e){return h0e.has(e.tagName)||e.tabIndex!==-1}const J_=new WeakSet;function LC(e){return t=>{t.key==="Enter"&&e(t)}}function EL(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const p0e=(e,t)=>{const n=e.currentTarget;if(!n)return;const c=LC(()=>{if(J_.has(n))return;EL(n,"down");const i=LC(()=>{EL(n,"up")}),r=()=>EL(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",r,t)});n.addEventListener("keydown",c,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",c),t)};function IC(e){return zw(e)&&!I$()}function y0e(e,t,n={}){const[c,i,r]=b$(e,n),s=d=>{const h=d.currentTarget;if(!IC(d))return;J_.add(h);const l=t(h,d),u=(m,f)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),J_.has(h)&&J_.delete(h),IC(m)&&typeof l=="function"&&l(m,{success:f})},p=m=>{u(m,h===window||h===document||n.useGlobalTarget||w$(h,m.target))},y=m=>{u(m,!1)};window.addEventListener("pointerup",p,i),window.addEventListener("pointercancel",y,i)};return c.forEach(d=>{(n.useGlobalTarget?window:d).addEventListener("pointerdown",s,i),L$(d)&&(d.addEventListener("focus",l=>p0e(l,i)),!u0e(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function C$(e){return Hj(e)&&"ownerSVGElement"in e}function k0e(e){return C$(e)&&e.tagName==="svg"}function m0e(...e){const t=!Array.isArray(e[0]),n=t?0:-1,c=e[0+n],i=e[1+n],r=e[2+n],s=e[3+n],d=s$(i,r,s);return t?d(c):d}const je=e=>!!(e&&e.getVelocity),f0e=[...v$,Le,At],g0e=e=>f0e.find(g$(e)),kL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function bC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function v0e(...e){return t=>{let n=!1;const c=e.map(i=>{const r=bC(i,t);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let i=0;i<c.length;i++){const r=c[i];typeof r=="function"?r():bC(e[i],null)}}}}function M0e(...e){return J.useCallback(v0e(...e),e)}class x0e extends J.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const c=n.offsetParent,i=L$(c)&&c.offsetWidth||0,r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft,r.right=i-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function _0e({children:e,isPresent:t,anchorX:n,root:c}){const i=k.useId(),r=k.useRef(null),s=k.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=k.useContext(kL),h=M0e(r,e?.ref);return k.useInsertionEffect(()=>{const{width:l,height:u,top:p,left:y,right:m}=s.current;if(t||!r.current||!l||!u)return;const f=n==="left"?`left: ${y}`:`right: ${m}`;r.current.dataset.motionPopId=i;const g=document.createElement("style");d&&(g.nonce=d);const M=c??document.head;return M.appendChild(g),g.sheet&&g.sheet.insertRule(`
8161
+ */const mt=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:ni,AArrowDownIcon:ni,AArrowUp:oi,AArrowUpIcon:oi,ALargeSmall:ci,ALargeSmallIcon:ci,Accessibility:g1,AccessibilityIcon:g1,Activity:v1,ActivityIcon:v1,ActivitySquare:Nt,ActivitySquareIcon:Nt,AirVent:ii,AirVentIcon:ii,Airplay:ri,AirplayIcon:ri,AlarmCheck:Ft,AlarmCheckIcon:Ft,AlarmClock:di,AlarmClockCheck:Ft,AlarmClockCheckIcon:Ft,AlarmClockIcon:di,AlarmClockMinus:Et,AlarmClockMinusIcon:Et,AlarmClockOff:si,AlarmClockOffIcon:si,AlarmClockPlus:Ot,AlarmClockPlusIcon:Ot,AlarmMinus:Et,AlarmMinusIcon:Et,AlarmPlus:Ot,AlarmPlusIcon:Ot,AlarmSmoke:li,AlarmSmokeIcon:li,Album:hi,AlbumIcon:hi,AlertCircle:ga,AlertCircleIcon:ga,AlertOctagon:Rn,AlertOctagonIcon:Rn,AlertTriangle:uc,AlertTriangleIcon:uc,AlignCenter:fi,AlignCenterHorizontal:ui,AlignCenterHorizontalIcon:ui,AlignCenterIcon:fi,AlignCenterVertical:pi,AlignCenterVerticalIcon:pi,AlignEndHorizontal:yi,AlignEndHorizontalIcon:yi,AlignEndVertical:ki,AlignEndVerticalIcon:ki,AlignHorizontalDistributeCenter:mi,AlignHorizontalDistributeCenterIcon:mi,AlignHorizontalDistributeEnd:gi,AlignHorizontalDistributeEndIcon:gi,AlignHorizontalDistributeStart:vi,AlignHorizontalDistributeStartIcon:vi,AlignHorizontalJustifyCenter:Mi,AlignHorizontalJustifyCenterIcon:Mi,AlignHorizontalJustifyEnd:xi,AlignHorizontalJustifyEndIcon:xi,AlignHorizontalJustifyStart:_i,AlignHorizontalJustifyStartIcon:_i,AlignHorizontalSpaceAround:Li,AlignHorizontalSpaceAroundIcon:Li,AlignHorizontalSpaceBetween:bi,AlignHorizontalSpaceBetweenIcon:bi,AlignJustify:Ii,AlignJustifyIcon:Ii,AlignLeft:wi,AlignLeftIcon:wi,AlignRight:Ci,AlignRightIcon:Ci,AlignStartHorizontal:Ni,AlignStartHorizontalIcon:Ni,AlignStartVertical:Si,AlignStartVerticalIcon:Si,AlignVerticalDistributeCenter:$i,AlignVerticalDistributeCenterIcon:$i,AlignVerticalDistributeEnd:ji,AlignVerticalDistributeEndIcon:ji,AlignVerticalDistributeStart:Ai,AlignVerticalDistributeStartIcon:Ai,AlignVerticalJustifyCenter:qi,AlignVerticalJustifyCenterIcon:qi,AlignVerticalJustifyEnd:zi,AlignVerticalJustifyEndIcon:zi,AlignVerticalJustifyStart:Vi,AlignVerticalJustifyStartIcon:Vi,AlignVerticalSpaceAround:Ti,AlignVerticalSpaceAroundIcon:Ti,AlignVerticalSpaceBetween:Pi,AlignVerticalSpaceBetweenIcon:Pi,Ambulance:Hi,AmbulanceIcon:Hi,Ampersand:Di,AmpersandIcon:Di,Ampersands:Bi,AmpersandsIcon:Bi,Amphora:Ri,AmphoraIcon:Ri,Anchor:Fi,AnchorIcon:Fi,Angry:Ei,AngryIcon:Ei,Annoyed:Oi,AnnoyedIcon:Oi,Antenna:Ui,AntennaIcon:Ui,Anvil:Wi,AnvilIcon:Wi,Aperture:Gi,ApertureIcon:Gi,AppWindow:Zi,AppWindowIcon:Zi,AppWindowMac:Ki,AppWindowMacIcon:Ki,Apple:Xi,AppleIcon:Xi,Archive:Qi,ArchiveIcon:Qi,ArchiveRestore:Yi,ArchiveRestoreIcon:Yi,ArchiveX:Ji,ArchiveXIcon:Ji,AreaChart:ca,AreaChartIcon:ca,Armchair:er,ArmchairIcon:er,ArrowBigDown:ar,ArrowBigDownDash:tr,ArrowBigDownDashIcon:tr,ArrowBigDownIcon:ar,ArrowBigLeft:or,ArrowBigLeftDash:nr,ArrowBigLeftDashIcon:nr,ArrowBigLeftIcon:or,ArrowBigRight:ir,ArrowBigRightDash:cr,ArrowBigRightDashIcon:cr,ArrowBigRightIcon:ir,ArrowBigUp:sr,ArrowBigUpDash:rr,ArrowBigUpDashIcon:rr,ArrowBigUpIcon:sr,ArrowDown:Zc,ArrowDown01:dr,ArrowDown01Icon:dr,ArrowDown10:lr,ArrowDown10Icon:lr,ArrowDownAZ:Ut,ArrowDownAZIcon:Ut,ArrowDownAz:Ut,ArrowDownAzIcon:Ut,ArrowDownCircle:va,ArrowDownCircleIcon:va,ArrowDownFromLine:hr,ArrowDownFromLineIcon:hr,ArrowDownIcon:Zc,ArrowDownLeft:ur,ArrowDownLeftFromCircle:xa,ArrowDownLeftFromCircleIcon:xa,ArrowDownLeftFromSquare:ko,ArrowDownLeftFromSquareIcon:ko,ArrowDownLeftIcon:ur,ArrowDownLeftSquare:ho,ArrowDownLeftSquareIcon:ho,ArrowDownNarrowWide:pr,ArrowDownNarrowWideIcon:pr,ArrowDownRight:yr,ArrowDownRightFromCircle:_a,ArrowDownRightFromCircleIcon:_a,ArrowDownRightFromSquare:mo,ArrowDownRightFromSquareIcon:mo,ArrowDownRightIcon:yr,ArrowDownRightSquare:uo,ArrowDownRightSquareIcon:uo,ArrowDownSquare:po,ArrowDownSquareIcon:po,ArrowDownToDot:kr,ArrowDownToDotIcon:kr,ArrowDownToLine:mr,ArrowDownToLineIcon:mr,ArrowDownUp:fr,ArrowDownUpIcon:fr,ArrowDownWideNarrow:Wt,ArrowDownWideNarrowIcon:Wt,ArrowDownZA:Gt,ArrowDownZAIcon:Gt,ArrowDownZa:Gt,ArrowDownZaIcon:Gt,ArrowLeft:M1,ArrowLeftCircle:Ma,ArrowLeftCircleIcon:Ma,ArrowLeftFromLine:gr,ArrowLeftFromLineIcon:gr,ArrowLeftIcon:M1,ArrowLeftRight:vr,ArrowLeftRightIcon:vr,ArrowLeftSquare:yo,ArrowLeftSquareIcon:yo,ArrowLeftToLine:Mr,ArrowLeftToLineIcon:Mr,ArrowRight:Ir,ArrowRightCircle:ba,ArrowRightCircleIcon:ba,ArrowRightFromLine:xr,ArrowRightFromLineIcon:xr,ArrowRightIcon:Ir,ArrowRightLeft:_r,ArrowRightLeftIcon:_r,ArrowRightSquare:vo,ArrowRightSquareIcon:vo,ArrowRightToLine:Lr,ArrowRightToLineIcon:Lr,ArrowUp:Xc,ArrowUp01:br,ArrowUp01Icon:br,ArrowUp10:wr,ArrowUp10Icon:wr,ArrowUpAZ:Kt,ArrowUpAZIcon:Kt,ArrowUpAz:Kt,ArrowUpAzIcon:Kt,ArrowUpCircle:wa,ArrowUpCircleIcon:wa,ArrowUpDown:Cr,ArrowUpDownIcon:Cr,ArrowUpFromDot:Nr,ArrowUpFromDotIcon:Nr,ArrowUpFromLine:Sr,ArrowUpFromLineIcon:Sr,ArrowUpIcon:Xc,ArrowUpLeft:jr,ArrowUpLeftFromCircle:La,ArrowUpLeftFromCircleIcon:La,ArrowUpLeftFromSquare:fo,ArrowUpLeftFromSquareIcon:fo,ArrowUpLeftIcon:jr,ArrowUpLeftSquare:Mo,ArrowUpLeftSquareIcon:Mo,ArrowUpNarrowWide:Zt,ArrowUpNarrowWideIcon:Zt,ArrowUpRight:$r,ArrowUpRightFromCircle:Ia,ArrowUpRightFromCircleIcon:Ia,ArrowUpRightFromSquare:go,ArrowUpRightFromSquareIcon:go,ArrowUpRightIcon:$r,ArrowUpRightSquare:xo,ArrowUpRightSquareIcon:xo,ArrowUpSquare:_o,ArrowUpSquareIcon:_o,ArrowUpToLine:qr,ArrowUpToLineIcon:qr,ArrowUpWideNarrow:Ar,ArrowUpWideNarrowIcon:Ar,ArrowUpZA:Xt,ArrowUpZAIcon:Xt,ArrowUpZa:Xt,ArrowUpZaIcon:Xt,ArrowsUpFromLine:zr,ArrowsUpFromLineIcon:zr,Asterisk:Vr,AsteriskIcon:Vr,AsteriskSquare:Lo,AsteriskSquareIcon:Lo,AtSign:Pr,AtSignIcon:Pr,Atom:Tr,AtomIcon:Tr,AudioLines:Hr,AudioLinesIcon:Hr,AudioWaveform:Dr,AudioWaveformIcon:Dr,Award:Br,AwardIcon:Br,Axe:Rr,AxeIcon:Rr,Axis3D:Yt,Axis3DIcon:Yt,Axis3d:Yt,Axis3dIcon:Yt,Baby:Fr,BabyIcon:Fr,Backpack:Er,BackpackIcon:Er,Badge:cs,BadgeAlert:Or,BadgeAlertIcon:Or,BadgeCent:Ur,BadgeCentIcon:Ur,BadgeCheck:Jt,BadgeCheckIcon:Jt,BadgeDollarSign:Wr,BadgeDollarSignIcon:Wr,BadgeEuro:Gr,BadgeEuroIcon:Gr,BadgeHelp:Qt,BadgeHelpIcon:Qt,BadgeIcon:cs,BadgeIndianRupee:Kr,BadgeIndianRupeeIcon:Kr,BadgeInfo:Zr,BadgeInfoIcon:Zr,BadgeJapaneseYen:Yr,BadgeJapaneseYenIcon:Yr,BadgeMinus:Xr,BadgeMinusIcon:Xr,BadgePercent:Jr,BadgePercentIcon:Jr,BadgePlus:Qr,BadgePlusIcon:Qr,BadgePoundSterling:es,BadgePoundSterlingIcon:es,BadgeQuestionMark:Qt,BadgeQuestionMarkIcon:Qt,BadgeRussianRuble:ts,BadgeRussianRubleIcon:ts,BadgeSwissFranc:as,BadgeSwissFrancIcon:as,BadgeTurkishLira:ns,BadgeTurkishLiraIcon:ns,BadgeX:os,BadgeXIcon:os,BaggageClaim:is,BaggageClaimIcon:is,Ban:rs,BanIcon:rs,Banana:ss,BananaIcon:ss,Bandage:ds,BandageIcon:ds,Banknote:ps,BanknoteArrowDown:ls,BanknoteArrowDownIcon:ls,BanknoteArrowUp:hs,BanknoteArrowUpIcon:hs,BanknoteIcon:ps,BanknoteX:us,BanknoteXIcon:us,BarChart:pa,BarChart2:ya,BarChart2Icon:ya,BarChart3:ha,BarChart3Icon:ha,BarChart4:la,BarChart4Icon:la,BarChartBig:da,BarChartBigIcon:da,BarChartHorizontal:ra,BarChartHorizontalBig:ia,BarChartHorizontalBigIcon:ia,BarChartHorizontalIcon:ra,BarChartIcon:pa,Barcode:ys,BarcodeIcon:ys,Barrel:ks,BarrelIcon:ks,Baseline:ms,BaselineIcon:ms,Bath:fs,BathIcon:fs,Battery:Is,BatteryCharging:gs,BatteryChargingIcon:gs,BatteryFull:vs,BatteryFullIcon:vs,BatteryIcon:Is,BatteryLow:Ms,BatteryLowIcon:Ms,BatteryMedium:xs,BatteryMediumIcon:xs,BatteryPlus:_s,BatteryPlusIcon:_s,BatteryWarning:Ls,BatteryWarningIcon:Ls,Beaker:bs,BeakerIcon:bs,Bean:Cs,BeanIcon:Cs,BeanOff:ws,BeanOffIcon:ws,Bed:js,BedDouble:Ns,BedDoubleIcon:Ns,BedIcon:js,BedSingle:Ss,BedSingleIcon:Ss,Beef:$s,BeefIcon:$s,Beer:As,BeerIcon:As,BeerOff:qs,BeerOffIcon:qs,Bell:Ds,BellDot:zs,BellDotIcon:zs,BellElectric:Vs,BellElectricIcon:Vs,BellIcon:Ds,BellMinus:Ps,BellMinusIcon:Ps,BellOff:Ts,BellOffIcon:Ts,BellPlus:Hs,BellPlusIcon:Hs,BellRing:Bs,BellRingIcon:Bs,BetweenHorizonalEnd:ea,BetweenHorizonalEndIcon:ea,BetweenHorizonalStart:ta,BetweenHorizonalStartIcon:ta,BetweenHorizontalEnd:ea,BetweenHorizontalEndIcon:ea,BetweenHorizontalStart:ta,BetweenHorizontalStartIcon:ta,BetweenVerticalEnd:Fs,BetweenVerticalEndIcon:Fs,BetweenVerticalStart:Rs,BetweenVerticalStartIcon:Rs,BicepsFlexed:Es,BicepsFlexedIcon:Es,Bike:Us,BikeIcon:Us,Binary:Os,BinaryIcon:Os,Binoculars:Ws,BinocularsIcon:Ws,Biohazard:Gs,BiohazardIcon:Gs,Bird:Ks,BirdIcon:Ks,Bitcoin:Zs,BitcoinIcon:Zs,Blend:Xs,BlendIcon:Xs,Blinds:Ys,BlindsIcon:Ys,Blocks:Js,BlocksIcon:Js,Bluetooth:a2,BluetoothConnected:Qs,BluetoothConnectedIcon:Qs,BluetoothIcon:a2,BluetoothOff:e2,BluetoothOffIcon:e2,BluetoothSearching:t2,BluetoothSearchingIcon:t2,Bold:n2,BoldIcon:n2,Bolt:o2,BoltIcon:o2,Bomb:c2,BombIcon:c2,Bone:i2,BoneIcon:i2,Book:j2,BookA:r2,BookAIcon:r2,BookAlert:s2,BookAlertIcon:s2,BookAudio:d2,BookAudioIcon:d2,BookCheck:l2,BookCheckIcon:l2,BookCopy:h2,BookCopyIcon:h2,BookDashed:aa,BookDashedIcon:aa,BookDown:u2,BookDownIcon:u2,BookHeadphones:p2,BookHeadphonesIcon:p2,BookHeart:y2,BookHeartIcon:y2,BookIcon:j2,BookImage:k2,BookImageIcon:k2,BookKey:m2,BookKeyIcon:m2,BookLock:f2,BookLockIcon:f2,BookMarked:v2,BookMarkedIcon:v2,BookMinus:g2,BookMinusIcon:g2,BookOpen:_2,BookOpenCheck:M2,BookOpenCheckIcon:M2,BookOpenIcon:_2,BookOpenText:x2,BookOpenTextIcon:x2,BookPlus:L2,BookPlusIcon:L2,BookTemplate:aa,BookTemplateIcon:aa,BookText:I2,BookTextIcon:I2,BookType:b2,BookTypeIcon:b2,BookUp:C2,BookUp2:w2,BookUp2Icon:w2,BookUpIcon:C2,BookUser:N2,BookUserIcon:N2,BookX:S2,BookXIcon:S2,Bookmark:V2,BookmarkCheck:$2,BookmarkCheckIcon:$2,BookmarkIcon:V2,BookmarkMinus:q2,BookmarkMinusIcon:q2,BookmarkPlus:A2,BookmarkPlusIcon:A2,BookmarkX:z2,BookmarkXIcon:z2,BoomBox:P2,BoomBoxIcon:P2,Bot:D2,BotIcon:D2,BotMessageSquare:T2,BotMessageSquareIcon:T2,BotOff:H2,BotOffIcon:H2,BottleWine:B2,BottleWineIcon:B2,BowArrow:R2,BowArrowIcon:R2,Box:F2,BoxIcon:F2,BoxSelect:zo,BoxSelectIcon:zo,Boxes:E2,BoxesIcon:E2,Braces:na,BracesIcon:na,Brackets:O2,BracketsIcon:O2,Brain:G2,BrainCircuit:U2,BrainCircuitIcon:U2,BrainCog:W2,BrainCogIcon:W2,BrainIcon:G2,BrickWall:X2,BrickWallFire:K2,BrickWallFireIcon:K2,BrickWallIcon:X2,BrickWallShield:Z2,BrickWallShieldIcon:Z2,Briefcase:ed,BriefcaseBusiness:Y2,BriefcaseBusinessIcon:Y2,BriefcaseConveyorBelt:J2,BriefcaseConveyorBeltIcon:J2,BriefcaseIcon:ed,BriefcaseMedical:Q2,BriefcaseMedicalIcon:Q2,BringToFront:td,BringToFrontIcon:td,Brush:nd,BrushCleaning:ad,BrushCleaningIcon:ad,BrushIcon:nd,Bubbles:od,BubblesIcon:od,Bug:sd,BugIcon:sd,BugOff:cd,BugOffIcon:cd,BugPlay:id,BugPlayIcon:id,Building:dd,Building2:rd,Building2Icon:rd,BuildingIcon:dd,Bus:hd,BusFront:ld,BusFrontIcon:ld,BusIcon:hd,Cable:pd,CableCar:ud,CableCarIcon:ud,CableIcon:pd,Cake:kd,CakeIcon:kd,CakeSlice:yd,CakeSliceIcon:yd,Calculator:md,CalculatorIcon:md,Calendar:x1,Calendar1:fd,Calendar1Icon:fd,CalendarArrowDown:gd,CalendarArrowDownIcon:gd,CalendarArrowUp:vd,CalendarArrowUpIcon:vd,CalendarCheck:xd,CalendarCheck2:Md,CalendarCheck2Icon:Md,CalendarCheckIcon:xd,CalendarClock:_d,CalendarClockIcon:_d,CalendarCog:Ld,CalendarCogIcon:Ld,CalendarDays:Id,CalendarDaysIcon:Id,CalendarFold:bd,CalendarFoldIcon:bd,CalendarHeart:wd,CalendarHeartIcon:wd,CalendarIcon:x1,CalendarMinus:Nd,CalendarMinus2:Cd,CalendarMinus2Icon:Cd,CalendarMinusIcon:Nd,CalendarOff:Sd,CalendarOffIcon:Sd,CalendarPlus:$d,CalendarPlus2:jd,CalendarPlus2Icon:jd,CalendarPlusIcon:$d,CalendarRange:qd,CalendarRangeIcon:qd,CalendarSearch:Ad,CalendarSearchIcon:Ad,CalendarSync:zd,CalendarSyncIcon:zd,CalendarX:Pd,CalendarX2:Vd,CalendarX2Icon:Vd,CalendarXIcon:Pd,Camera:Hd,CameraIcon:Hd,CameraOff:Td,CameraOffIcon:Td,CandlestickChart:sa,CandlestickChartIcon:sa,Candy:Rd,CandyCane:Dd,CandyCaneIcon:Dd,CandyIcon:Rd,CandyOff:Bd,CandyOffIcon:Bd,Cannabis:Fd,CannabisIcon:Fd,Captions:oa,CaptionsIcon:oa,CaptionsOff:Ed,CaptionsOffIcon:Ed,Car:Wd,CarFront:Od,CarFrontIcon:Od,CarIcon:Wd,CarTaxiFront:Ud,CarTaxiFrontIcon:Ud,Caravan:Gd,CaravanIcon:Gd,CardSim:Kd,CardSimIcon:Kd,Carrot:Zd,CarrotIcon:Zd,CaseLower:Xd,CaseLowerIcon:Xd,CaseSensitive:Yd,CaseSensitiveIcon:Yd,CaseUpper:Jd,CaseUpperIcon:Jd,CassetteTape:Qd,CassetteTapeIcon:Qd,Cast:e0,CastIcon:e0,Castle:a0,CastleIcon:a0,Cat:t0,CatIcon:t0,Cctv:n0,CctvIcon:n0,ChartArea:ca,ChartAreaIcon:ca,ChartBar:ra,ChartBarBig:ia,ChartBarBigIcon:ia,ChartBarDecreasing:o0,ChartBarDecreasingIcon:o0,ChartBarIcon:ra,ChartBarIncreasing:c0,ChartBarIncreasingIcon:c0,ChartBarStacked:i0,ChartBarStackedIcon:i0,ChartCandlestick:sa,ChartCandlestickIcon:sa,ChartColumn:ha,ChartColumnBig:da,ChartColumnBigIcon:da,ChartColumnDecreasing:r0,ChartColumnDecreasingIcon:r0,ChartColumnIcon:ha,ChartColumnIncreasing:la,ChartColumnIncreasingIcon:la,ChartColumnStacked:s0,ChartColumnStackedIcon:s0,ChartGantt:d0,ChartGanttIcon:d0,ChartLine:ua,ChartLineIcon:ua,ChartNetwork:l0,ChartNetworkIcon:l0,ChartNoAxesColumn:ya,ChartNoAxesColumnDecreasing:h0,ChartNoAxesColumnDecreasingIcon:h0,ChartNoAxesColumnIcon:ya,ChartNoAxesColumnIncreasing:pa,ChartNoAxesColumnIncreasingIcon:pa,ChartNoAxesCombined:u0,ChartNoAxesCombinedIcon:u0,ChartNoAxesGantt:ka,ChartNoAxesGanttIcon:ka,ChartPie:ma,ChartPieIcon:ma,ChartScatter:fa,ChartScatterIcon:fa,ChartSpline:p0,ChartSplineIcon:p0,Check:_1,CheckCheck:y0,CheckCheckIcon:y0,CheckCircle:Ca,CheckCircle2:Na,CheckCircle2Icon:Na,CheckCircleIcon:Ca,CheckIcon:_1,CheckLine:k0,CheckLineIcon:k0,CheckSquare:bo,CheckSquare2:wo,CheckSquare2Icon:wo,CheckSquareIcon:bo,ChefHat:m0,ChefHatIcon:m0,Cherry:f0,CherryIcon:f0,ChevronDown:qt,ChevronDownCircle:Sa,ChevronDownCircleIcon:Sa,ChevronDownIcon:qt,ChevronDownSquare:Co,ChevronDownSquareIcon:Co,ChevronFirst:g0,ChevronFirstIcon:g0,ChevronLast:v0,ChevronLastIcon:v0,ChevronLeft:M0,ChevronLeftCircle:ja,ChevronLeftCircleIcon:ja,ChevronLeftIcon:M0,ChevronLeftSquare:No,ChevronLeftSquareIcon:No,ChevronRight:L1,ChevronRightCircle:$a,ChevronRightCircleIcon:$a,ChevronRightIcon:L1,ChevronRightSquare:So,ChevronRightSquareIcon:So,ChevronUp:jc,ChevronUpCircle:qa,ChevronUpCircleIcon:qa,ChevronUpIcon:jc,ChevronUpSquare:jo,ChevronUpSquareIcon:jo,ChevronsDown:_0,ChevronsDownIcon:_0,ChevronsDownUp:x0,ChevronsDownUpIcon:x0,ChevronsLeft:I0,ChevronsLeftIcon:I0,ChevronsLeftRight:L0,ChevronsLeftRightEllipsis:b0,ChevronsLeftRightEllipsisIcon:b0,ChevronsLeftRightIcon:L0,ChevronsRight:C0,ChevronsRightIcon:C0,ChevronsRightLeft:w0,ChevronsRightLeftIcon:w0,ChevronsUp:N0,ChevronsUpDown:Yc,ChevronsUpDownIcon:Yc,ChevronsUpIcon:N0,Chrome:S0,ChromeIcon:S0,Church:j0,ChurchIcon:j0,Cigarette:q0,CigaretteIcon:q0,CigaretteOff:$0,CigaretteOffIcon:$0,Circle:W0,CircleAlert:ga,CircleAlertIcon:ga,CircleArrowDown:va,CircleArrowDownIcon:va,CircleArrowLeft:Ma,CircleArrowLeftIcon:Ma,CircleArrowOutDownLeft:xa,CircleArrowOutDownLeftIcon:xa,CircleArrowOutDownRight:_a,CircleArrowOutDownRightIcon:_a,CircleArrowOutUpLeft:La,CircleArrowOutUpLeftIcon:La,CircleArrowOutUpRight:Ia,CircleArrowOutUpRightIcon:Ia,CircleArrowRight:ba,CircleArrowRightIcon:ba,CircleArrowUp:wa,CircleArrowUpIcon:wa,CircleCheck:Na,CircleCheckBig:Ca,CircleCheckBigIcon:Ca,CircleCheckIcon:Na,CircleChevronDown:Sa,CircleChevronDownIcon:Sa,CircleChevronLeft:ja,CircleChevronLeftIcon:ja,CircleChevronRight:$a,CircleChevronRightIcon:$a,CircleChevronUp:qa,CircleChevronUpIcon:qa,CircleDashed:A0,CircleDashedIcon:A0,CircleDivide:Aa,CircleDivideIcon:Aa,CircleDollarSign:V0,CircleDollarSignIcon:V0,CircleDot:P0,CircleDotDashed:z0,CircleDotDashedIcon:z0,CircleDotIcon:P0,CircleEllipsis:T0,CircleEllipsisIcon:T0,CircleEqual:H0,CircleEqualIcon:H0,CircleFadingArrowUp:B0,CircleFadingArrowUpIcon:B0,CircleFadingPlus:D0,CircleFadingPlusIcon:D0,CircleGauge:za,CircleGaugeIcon:za,CircleHelp:ct,CircleHelpIcon:ct,CircleIcon:W0,CircleMinus:Va,CircleMinusIcon:Va,CircleOff:R0,CircleOffIcon:R0,CircleParking:Ha,CircleParkingIcon:Ha,CircleParkingOff:Pa,CircleParkingOffIcon:Pa,CirclePause:Ta,CirclePauseIcon:Ta,CirclePercent:Da,CirclePercentIcon:Da,CirclePlay:Ba,CirclePlayIcon:Ba,CirclePlus:Ra,CirclePlusIcon:Ra,CirclePoundSterling:F0,CirclePoundSterlingIcon:F0,CirclePower:Fa,CirclePowerIcon:Fa,CircleQuestionMark:ct,CircleQuestionMarkIcon:ct,CircleSlash:E0,CircleSlash2:Ea,CircleSlash2Icon:Ea,CircleSlashIcon:E0,CircleSlashed:Ea,CircleSlashedIcon:Ea,CircleSmall:O0,CircleSmallIcon:O0,CircleStar:U0,CircleStarIcon:U0,CircleStop:Oa,CircleStopIcon:Oa,CircleUser:Wa,CircleUserIcon:Wa,CircleUserRound:Ua,CircleUserRoundIcon:Ua,CircleX:bt,CircleXIcon:bt,CircuitBoard:G0,CircuitBoardIcon:G0,Citrus:K0,CitrusIcon:K0,Clapperboard:Z0,ClapperboardIcon:Z0,Clipboard:cl,ClipboardCheck:X0,ClipboardCheckIcon:X0,ClipboardClock:Y0,ClipboardClockIcon:Y0,ClipboardCopy:J0,ClipboardCopyIcon:J0,ClipboardEdit:Ka,ClipboardEditIcon:Ka,ClipboardIcon:cl,ClipboardList:Q0,ClipboardListIcon:Q0,ClipboardMinus:el,ClipboardMinusIcon:el,ClipboardPaste:tl,ClipboardPasteIcon:tl,ClipboardPen:Ka,ClipboardPenIcon:Ka,ClipboardPenLine:Ga,ClipboardPenLineIcon:Ga,ClipboardPlus:al,ClipboardPlusIcon:al,ClipboardSignature:Ga,ClipboardSignatureIcon:Ga,ClipboardType:nl,ClipboardTypeIcon:nl,ClipboardX:ol,ClipboardXIcon:ol,Clock:Ll,Clock1:rl,Clock10:il,Clock10Icon:il,Clock11:sl,Clock11Icon:sl,Clock12:dl,Clock12Icon:dl,Clock1Icon:rl,Clock2:ll,Clock2Icon:ll,Clock3:hl,Clock3Icon:hl,Clock4:ul,Clock4Icon:ul,Clock5:pl,Clock5Icon:pl,Clock6:yl,Clock6Icon:yl,Clock7:kl,Clock7Icon:kl,Clock8:ml,Clock8Icon:ml,Clock9:fl,Clock9Icon:fl,ClockAlert:gl,ClockAlertIcon:gl,ClockArrowDown:vl,ClockArrowDownIcon:vl,ClockArrowUp:Ml,ClockArrowUpIcon:Ml,ClockFading:xl,ClockFadingIcon:xl,ClockIcon:Ll,ClockPlus:_l,ClockPlusIcon:_l,ClosedCaption:Il,ClosedCaptionIcon:Il,Cloud:Bl,CloudAlert:bl,CloudAlertIcon:bl,CloudCheck:wl,CloudCheckIcon:wl,CloudCog:Cl,CloudCogIcon:Cl,CloudDownload:Za,CloudDownloadIcon:Za,CloudDrizzle:Nl,CloudDrizzleIcon:Nl,CloudFog:Sl,CloudFogIcon:Sl,CloudHail:jl,CloudHailIcon:jl,CloudIcon:Bl,CloudLightning:$l,CloudLightningIcon:$l,CloudMoon:Al,CloudMoonIcon:Al,CloudMoonRain:ql,CloudMoonRainIcon:ql,CloudOff:zl,CloudOffIcon:zl,CloudRain:Pl,CloudRainIcon:Pl,CloudRainWind:Vl,CloudRainWindIcon:Vl,CloudSnow:Tl,CloudSnowIcon:Tl,CloudSun:Dl,CloudSunIcon:Dl,CloudSunRain:Hl,CloudSunRainIcon:Hl,CloudUpload:Xa,CloudUploadIcon:Xa,Cloudy:Rl,CloudyIcon:Rl,Clover:Fl,CloverIcon:Fl,Club:El,ClubIcon:El,Code:Ol,Code2:Ya,Code2Icon:Ya,CodeIcon:Ol,CodeSquare:$o,CodeSquareIcon:$o,CodeXml:Ya,CodeXmlIcon:Ya,Codepen:Ul,CodepenIcon:Ul,Codesandbox:Wl,CodesandboxIcon:Wl,Coffee:Gl,CoffeeIcon:Gl,Cog:Kl,CogIcon:Kl,Coins:Zl,CoinsIcon:Zl,Columns:Ja,Columns2:Ja,Columns2Icon:Ja,Columns3:Qa,Columns3Cog:it,Columns3CogIcon:it,Columns3Icon:Qa,Columns4:Xl,Columns4Icon:Xl,ColumnsIcon:Ja,ColumnsSettings:it,ColumnsSettingsIcon:it,Combine:Yl,CombineIcon:Yl,Command:Jl,CommandIcon:Jl,Compass:Ql,CompassIcon:Ql,Component:eh,ComponentIcon:eh,Computer:th,ComputerIcon:th,ConciergeBell:ah,ConciergeBellIcon:ah,Cone:nh,ConeIcon:nh,Construction:oh,ConstructionIcon:oh,Contact:ch,Contact2:en,Contact2Icon:en,ContactIcon:ch,ContactRound:en,ContactRoundIcon:en,Container:ih,ContainerIcon:ih,Contrast:sh,ContrastIcon:sh,Cookie:rh,CookieIcon:rh,CookingPot:lh,CookingPotIcon:lh,Copy:kh,CopyCheck:dh,CopyCheckIcon:dh,CopyIcon:kh,CopyMinus:hh,CopyMinusIcon:hh,CopyPlus:uh,CopyPlusIcon:uh,CopySlash:ph,CopySlashIcon:ph,CopyX:yh,CopyXIcon:yh,Copyleft:mh,CopyleftIcon:mh,Copyright:fh,CopyrightIcon:fh,CornerDownLeft:gh,CornerDownLeftIcon:gh,CornerDownRight:vh,CornerDownRightIcon:vh,CornerLeftDown:Mh,CornerLeftDownIcon:Mh,CornerLeftUp:xh,CornerLeftUpIcon:xh,CornerRightDown:_h,CornerRightDownIcon:_h,CornerRightUp:Lh,CornerRightUpIcon:Lh,CornerUpLeft:Ih,CornerUpLeftIcon:Ih,CornerUpRight:bh,CornerUpRightIcon:bh,Cpu:wh,CpuIcon:wh,CreativeCommons:Ch,CreativeCommonsIcon:Ch,CreditCard:Nh,CreditCardIcon:Nh,Croissant:Sh,CroissantIcon:Sh,Crop:jh,CropIcon:jh,Cross:$h,CrossIcon:$h,Crosshair:qh,CrosshairIcon:qh,Crown:Ah,CrownIcon:Ah,Cuboid:zh,CuboidIcon:zh,CupSoda:Vh,CupSodaIcon:Vh,CurlyBraces:na,CurlyBracesIcon:na,Currency:Ph,CurrencyIcon:Ph,Cylinder:Th,CylinderIcon:Th,Dam:Hh,DamIcon:Hh,Database:Rh,DatabaseBackup:Dh,DatabaseBackupIcon:Dh,DatabaseIcon:Rh,DatabaseZap:Bh,DatabaseZapIcon:Bh,DecimalsArrowLeft:Fh,DecimalsArrowLeftIcon:Fh,DecimalsArrowRight:Eh,DecimalsArrowRightIcon:Eh,Delete:Oh,DeleteIcon:Oh,Dessert:Uh,DessertIcon:Uh,Diameter:Wh,DiameterIcon:Wh,Diamond:Zh,DiamondIcon:Zh,DiamondMinus:Gh,DiamondMinusIcon:Gh,DiamondPercent:tn,DiamondPercentIcon:tn,DiamondPlus:Kh,DiamondPlusIcon:Kh,Dice1:Xh,Dice1Icon:Xh,Dice2:Yh,Dice2Icon:Yh,Dice3:Jh,Dice3Icon:Jh,Dice4:Qh,Dice4Icon:Qh,Dice5:eu,Dice5Icon:eu,Dice6:tu,Dice6Icon:tu,Dices:au,DicesIcon:au,Diff:nu,DiffIcon:nu,Disc:ru,Disc2:ou,Disc2Icon:ou,Disc3:cu,Disc3Icon:cu,DiscAlbum:iu,DiscAlbumIcon:iu,DiscIcon:ru,Divide:su,DivideCircle:Aa,DivideCircleIcon:Aa,DivideIcon:su,DivideSquare:Vo,DivideSquareIcon:Vo,Dna:lu,DnaIcon:lu,DnaOff:du,DnaOffIcon:du,Dock:hu,DockIcon:hu,Dog:uu,DogIcon:uu,DollarSign:pu,DollarSignIcon:pu,Donut:yu,DonutIcon:yu,DoorClosed:mu,DoorClosedIcon:mu,DoorClosedLocked:ku,DoorClosedLockedIcon:ku,DoorOpen:fu,DoorOpenIcon:fu,Dot:gu,DotIcon:gu,DotSquare:To,DotSquareIcon:To,Download:Mu,DownloadCloud:Za,DownloadCloudIcon:Za,DownloadIcon:Mu,DraftingCompass:vu,DraftingCompassIcon:vu,Drama:xu,DramaIcon:xu,Dribbble:_u,DribbbleIcon:_u,Drill:Lu,DrillIcon:Lu,Drone:Iu,DroneIcon:Iu,Droplet:wu,DropletIcon:wu,DropletOff:bu,DropletOffIcon:bu,Droplets:Cu,DropletsIcon:Cu,Drum:Nu,DrumIcon:Nu,Drumstick:Su,DrumstickIcon:Su,Dumbbell:ju,DumbbellIcon:ju,Ear:qu,EarIcon:qu,EarOff:$u,EarOffIcon:$u,Earth:an,EarthIcon:an,EarthLock:Au,EarthLockIcon:Au,Eclipse:zu,EclipseIcon:zu,Edit:Re,Edit2:kt,Edit2Icon:kt,Edit3:yt,Edit3Icon:yt,EditIcon:Re,Egg:Tu,EggFried:Vu,EggFriedIcon:Vu,EggIcon:Tu,EggOff:Pu,EggOffIcon:Pu,Ellipsis:on,EllipsisIcon:on,EllipsisVertical:nn,EllipsisVerticalIcon:nn,Equal:Bu,EqualApproximately:Hu,EqualApproximatelyIcon:Hu,EqualIcon:Bu,EqualNot:Du,EqualNotIcon:Du,EqualSquare:Po,EqualSquareIcon:Po,Eraser:Ru,EraserIcon:Ru,EthernetPort:Fu,EthernetPortIcon:Fu,Euro:Eu,EuroIcon:Eu,Expand:Uu,ExpandIcon:Uu,ExternalLink:Ou,ExternalLinkIcon:Ou,Eye:b1,EyeClosed:Wu,EyeClosedIcon:Wu,EyeIcon:b1,EyeOff:I1,EyeOffIcon:I1,Facebook:Gu,FacebookIcon:Gu,Factory:Ku,FactoryIcon:Ku,Fan:Zu,FanIcon:Zu,FastForward:Xu,FastForwardIcon:Xu,Feather:Yu,FeatherIcon:Yu,Fence:Ju,FenceIcon:Ju,FerrisWheel:Qu,FerrisWheelIcon:Qu,Figma:ep,FigmaIcon:ep,File:Kp,FileArchive:tp,FileArchiveIcon:tp,FileAudio:np,FileAudio2:ap,FileAudio2Icon:ap,FileAudioIcon:np,FileAxis3D:cn,FileAxis3DIcon:cn,FileAxis3d:cn,FileAxis3dIcon:cn,FileBadge:ip,FileBadge2:op,FileBadge2Icon:op,FileBadgeIcon:ip,FileBarChart:rn,FileBarChart2:sn,FileBarChart2Icon:sn,FileBarChartIcon:rn,FileBox:cp,FileBoxIcon:cp,FileChartColumn:sn,FileChartColumnIcon:sn,FileChartColumnIncreasing:rn,FileChartColumnIncreasingIcon:rn,FileChartLine:dn,FileChartLineIcon:dn,FileChartPie:ln,FileChartPieIcon:ln,FileCheck:sp,FileCheck2:rp,FileCheck2Icon:rp,FileCheckIcon:sp,FileClock:dp,FileClockIcon:dp,FileCode:lp,FileCode2:hp,FileCode2Icon:hp,FileCodeIcon:lp,FileCog:hn,FileCog2:hn,FileCog2Icon:hn,FileCogIcon:hn,FileDiff:up,FileDiffIcon:up,FileDigit:pp,FileDigitIcon:pp,FileDown:yp,FileDownIcon:yp,FileEdit:pn,FileEditIcon:pn,FileHeart:kp,FileHeartIcon:kp,FileIcon:Kp,FileImage:mp,FileImageIcon:mp,FileInput:fp,FileInputIcon:fp,FileJson:vp,FileJson2:gp,FileJson2Icon:gp,FileJsonIcon:vp,FileKey:xp,FileKey2:Mp,FileKey2Icon:Mp,FileKeyIcon:xp,FileLineChart:dn,FileLineChartIcon:dn,FileLock:Lp,FileLock2:_p,FileLock2Icon:_p,FileLockIcon:Lp,FileMinus:bp,FileMinus2:Ip,FileMinus2Icon:Ip,FileMinusIcon:bp,FileMusic:wp,FileMusicIcon:wp,FileOutput:Cp,FileOutputIcon:Cp,FilePen:pn,FilePenIcon:pn,FilePenLine:un,FilePenLineIcon:un,FilePieChart:ln,FilePieChartIcon:ln,FilePlay:yn,FilePlayIcon:yn,FilePlus:Sp,FilePlus2:Np,FilePlus2Icon:Np,FilePlusIcon:Sp,FileQuestion:kn,FileQuestionIcon:kn,FileQuestionMark:kn,FileQuestionMarkIcon:kn,FileScan:jp,FileScanIcon:jp,FileSearch:qp,FileSearch2:$p,FileSearch2Icon:$p,FileSearchIcon:qp,FileSignature:un,FileSignatureIcon:un,FileSliders:Ap,FileSlidersIcon:Ap,FileSpreadsheet:zp,FileSpreadsheetIcon:zp,FileStack:Vp,FileStackIcon:Vp,FileSymlink:Pp,FileSymlinkIcon:Pp,FileTerminal:Tp,FileTerminalIcon:Tp,FileText:Hp,FileTextIcon:Hp,FileType:Bp,FileType2:Dp,FileType2Icon:Dp,FileTypeIcon:Bp,FileUp:Rp,FileUpIcon:Rp,FileUser:Fp,FileUserIcon:Fp,FileVideo:yn,FileVideo2:mn,FileVideo2Icon:mn,FileVideoCamera:mn,FileVideoCameraIcon:mn,FileVideoIcon:yn,FileVolume:Op,FileVolume2:Ep,FileVolume2Icon:Ep,FileVolumeIcon:Op,FileWarning:Up,FileWarningIcon:Up,FileX:Gp,FileX2:Wp,FileX2Icon:Wp,FileXIcon:Gp,Files:Zp,FilesIcon:Zp,Film:Xp,FilmIcon:Xp,Filter:wt,FilterIcon:wt,FilterX:vn,FilterXIcon:vn,Fingerprint:Yp,FingerprintIcon:Yp,FireExtinguisher:Jp,FireExtinguisherIcon:Jp,Fish:ey,FishIcon:ey,FishOff:Qp,FishOffIcon:Qp,FishSymbol:ty,FishSymbolIcon:ty,Flag:cy,FlagIcon:cy,FlagOff:ay,FlagOffIcon:ay,FlagTriangleLeft:ny,FlagTriangleLeftIcon:ny,FlagTriangleRight:oy,FlagTriangleRightIcon:oy,Flame:ry,FlameIcon:ry,FlameKindling:iy,FlameKindlingIcon:iy,Flashlight:dy,FlashlightIcon:dy,FlashlightOff:sy,FlashlightOffIcon:sy,FlaskConical:hy,FlaskConicalIcon:hy,FlaskConicalOff:ly,FlaskConicalOffIcon:ly,FlaskRound:uy,FlaskRoundIcon:uy,FlipHorizontal:yy,FlipHorizontal2:py,FlipHorizontal2Icon:py,FlipHorizontalIcon:yy,FlipVertical:my,FlipVertical2:ky,FlipVertical2Icon:ky,FlipVerticalIcon:my,Flower:gy,Flower2:fy,Flower2Icon:fy,FlowerIcon:gy,Focus:vy,FocusIcon:vy,FoldHorizontal:My,FoldHorizontalIcon:My,FoldVertical:xy,FoldVerticalIcon:xy,Folder:w1,FolderArchive:_y,FolderArchiveIcon:_y,FolderCheck:Ly,FolderCheckIcon:Ly,FolderClock:Iy,FolderClockIcon:Iy,FolderClosed:by,FolderClosedIcon:by,FolderCode:wy,FolderCodeIcon:wy,FolderCog:fn,FolderCog2:fn,FolderCog2Icon:fn,FolderCogIcon:fn,FolderDot:Cy,FolderDotIcon:Cy,FolderDown:Ny,FolderDownIcon:Ny,FolderEdit:gn,FolderEditIcon:gn,FolderGit:jy,FolderGit2:Sy,FolderGit2Icon:Sy,FolderGitIcon:jy,FolderHeart:$y,FolderHeartIcon:$y,FolderIcon:w1,FolderInput:qy,FolderInputIcon:qy,FolderKanban:Ay,FolderKanbanIcon:Ay,FolderKey:zy,FolderKeyIcon:zy,FolderLock:Vy,FolderLockIcon:Vy,FolderMinus:Py,FolderMinusIcon:Py,FolderOpen:Hy,FolderOpenDot:Ty,FolderOpenDotIcon:Ty,FolderOpenIcon:Hy,FolderOutput:Dy,FolderOutputIcon:Dy,FolderPen:gn,FolderPenIcon:gn,FolderPlus:Jc,FolderPlusIcon:Jc,FolderRoot:By,FolderRootIcon:By,FolderSearch:Fy,FolderSearch2:Ry,FolderSearch2Icon:Ry,FolderSearchIcon:Fy,FolderSymlink:Ey,FolderSymlinkIcon:Ey,FolderSync:Oy,FolderSyncIcon:Oy,FolderTree:Uy,FolderTreeIcon:Uy,FolderUp:Wy,FolderUpIcon:Wy,FolderX:Gy,FolderXIcon:Gy,Folders:Ky,FoldersIcon:Ky,Footprints:Zy,FootprintsIcon:Zy,ForkKnife:Lc,ForkKnifeCrossed:_c,ForkKnifeCrossedIcon:_c,ForkKnifeIcon:Lc,Forklift:Xy,ForkliftIcon:Xy,FormInput:eo,FormInputIcon:eo,Forward:Yy,ForwardIcon:Yy,Frame:Jy,FrameIcon:Jy,Framer:Qy,FramerIcon:Qy,Frown:e4,FrownIcon:e4,Fuel:t4,FuelIcon:t4,Fullscreen:a4,FullscreenIcon:a4,FunctionSquare:Ho,FunctionSquareIcon:Ho,Funnel:wt,FunnelIcon:wt,FunnelPlus:n4,FunnelPlusIcon:n4,FunnelX:vn,FunnelXIcon:vn,GalleryHorizontal:c4,GalleryHorizontalEnd:o4,GalleryHorizontalEndIcon:o4,GalleryHorizontalIcon:c4,GalleryThumbnails:i4,GalleryThumbnailsIcon:i4,GalleryVertical:s4,GalleryVerticalEnd:r4,GalleryVerticalEndIcon:r4,GalleryVerticalIcon:s4,Gamepad:l4,Gamepad2:d4,Gamepad2Icon:d4,GamepadIcon:l4,GanttChart:ka,GanttChartIcon:ka,GanttChartSquare:st,GanttChartSquareIcon:st,Gauge:h4,GaugeCircle:za,GaugeCircleIcon:za,GaugeIcon:h4,Gavel:u4,GavelIcon:u4,Gem:p4,GemIcon:p4,GeorgianLari:y4,GeorgianLariIcon:y4,Ghost:k4,GhostIcon:k4,Gift:m4,GiftIcon:m4,GitBranch:g4,GitBranchIcon:g4,GitBranchPlus:f4,GitBranchPlusIcon:f4,GitCommit:Mn,GitCommitHorizontal:Mn,GitCommitHorizontalIcon:Mn,GitCommitIcon:Mn,GitCommitVertical:v4,GitCommitVerticalIcon:v4,GitCompare:x4,GitCompareArrows:M4,GitCompareArrowsIcon:M4,GitCompareIcon:x4,GitFork:_4,GitForkIcon:_4,GitGraph:L4,GitGraphIcon:L4,GitMerge:I4,GitMergeIcon:I4,GitPullRequest:j4,GitPullRequestArrow:b4,GitPullRequestArrowIcon:b4,GitPullRequestClosed:w4,GitPullRequestClosedIcon:w4,GitPullRequestCreate:N4,GitPullRequestCreateArrow:C4,GitPullRequestCreateArrowIcon:C4,GitPullRequestCreateIcon:N4,GitPullRequestDraft:S4,GitPullRequestDraftIcon:S4,GitPullRequestIcon:j4,Github:$4,GithubIcon:$4,Gitlab:q4,GitlabIcon:q4,GlassWater:A4,GlassWaterIcon:A4,Glasses:z4,GlassesIcon:z4,Globe:P4,Globe2:an,Globe2Icon:an,GlobeIcon:P4,GlobeLock:V4,GlobeLockIcon:V4,Goal:T4,GoalIcon:T4,Gpu:H4,GpuIcon:H4,Grab:bn,GrabIcon:bn,GraduationCap:D4,GraduationCapIcon:D4,Grape:B4,GrapeIcon:B4,Grid:rt,Grid2X2:In,Grid2X2Check:xn,Grid2X2CheckIcon:xn,Grid2X2Icon:In,Grid2X2Plus:_n,Grid2X2PlusIcon:_n,Grid2X2X:Ln,Grid2X2XIcon:Ln,Grid2x2:In,Grid2x2Check:xn,Grid2x2CheckIcon:xn,Grid2x2Icon:In,Grid2x2Plus:_n,Grid2x2PlusIcon:_n,Grid2x2X:Ln,Grid2x2XIcon:Ln,Grid3X3:rt,Grid3X3Icon:rt,Grid3x2:R4,Grid3x2Icon:R4,Grid3x3:rt,Grid3x3Icon:rt,GridIcon:rt,Grip:E4,GripHorizontal:F4,GripHorizontalIcon:F4,GripIcon:E4,GripVertical:C1,GripVerticalIcon:C1,Group:O4,GroupIcon:O4,Guitar:U4,GuitarIcon:U4,Ham:W4,HamIcon:W4,Hamburger:G4,HamburgerIcon:G4,Hammer:K4,HammerIcon:K4,Hand:e5,HandCoins:Z4,HandCoinsIcon:Z4,HandFist:X4,HandFistIcon:X4,HandGrab:bn,HandGrabIcon:bn,HandHeart:Y4,HandHeartIcon:Y4,HandHelping:wn,HandHelpingIcon:wn,HandIcon:e5,HandMetal:J4,HandMetalIcon:J4,HandPlatter:Q4,HandPlatterIcon:Q4,Handbag:t5,HandbagIcon:t5,Handshake:a5,HandshakeIcon:a5,HardDrive:c5,HardDriveDownload:n5,HardDriveDownloadIcon:n5,HardDriveIcon:c5,HardDriveUpload:o5,HardDriveUploadIcon:o5,HardHat:i5,HardHatIcon:i5,Hash:r5,HashIcon:r5,HatGlasses:s5,HatGlassesIcon:s5,Haze:d5,HazeIcon:d5,HdmiPort:l5,HdmiPortIcon:l5,Heading:f5,Heading1:h5,Heading1Icon:h5,Heading2:u5,Heading2Icon:u5,Heading3:p5,Heading3Icon:p5,Heading4:y5,Heading4Icon:y5,Heading5:k5,Heading5Icon:k5,Heading6:m5,Heading6Icon:m5,HeadingIcon:f5,HeadphoneOff:g5,HeadphoneOffIcon:g5,Headphones:v5,HeadphonesIcon:v5,Headset:M5,HeadsetIcon:M5,Heart:C5,HeartCrack:x5,HeartCrackIcon:x5,HeartHandshake:_5,HeartHandshakeIcon:_5,HeartIcon:C5,HeartMinus:L5,HeartMinusIcon:L5,HeartOff:I5,HeartOffIcon:I5,HeartPlus:b5,HeartPlusIcon:b5,HeartPulse:w5,HeartPulseIcon:w5,Heater:N5,HeaterIcon:N5,HelpCircle:ct,HelpCircleIcon:ct,HelpingHand:wn,HelpingHandIcon:wn,Hexagon:S5,HexagonIcon:S5,Highlighter:j5,HighlighterIcon:j5,History:$5,HistoryIcon:$5,Home:Ct,HomeIcon:Ct,Hop:A5,HopIcon:A5,HopOff:q5,HopOffIcon:q5,Hospital:N1,HospitalIcon:N1,Hotel:z5,HotelIcon:z5,Hourglass:V5,HourglassIcon:V5,House:Ct,HouseIcon:Ct,HousePlug:P5,HousePlugIcon:P5,HousePlus:H5,HousePlusIcon:H5,HouseWifi:T5,HouseWifiIcon:T5,IceCream:Nn,IceCream2:Cn,IceCream2Icon:Cn,IceCreamBowl:Cn,IceCreamBowlIcon:Cn,IceCreamCone:Nn,IceCreamConeIcon:Nn,IceCreamIcon:Nn,Icon:a.Icon,IdCard:B5,IdCardIcon:B5,IdCardLanyard:D5,IdCardLanyardIcon:D5,Image:K5,ImageDown:R5,ImageDownIcon:R5,ImageIcon:K5,ImageMinus:F5,ImageMinusIcon:F5,ImageOff:E5,ImageOffIcon:E5,ImagePlay:O5,ImagePlayIcon:O5,ImagePlus:U5,ImagePlusIcon:U5,ImageUp:W5,ImageUpIcon:W5,ImageUpscale:G5,ImageUpscaleIcon:G5,Images:Z5,ImagesIcon:Z5,Import:X5,ImportIcon:X5,Inbox:Y5,InboxIcon:Y5,Indent:jn,IndentDecrease:Sn,IndentDecreaseIcon:Sn,IndentIcon:jn,IndentIncrease:jn,IndentIncreaseIcon:jn,IndianRupee:J5,IndianRupeeIcon:J5,Infinity:Q5,InfinityIcon:Q5,Info:ek,InfoIcon:ek,Inspect:Uo,InspectIcon:Uo,InspectionPanel:tk,InspectionPanelIcon:tk,Instagram:ak,InstagramIcon:ak,Italic:nk,ItalicIcon:nk,IterationCcw:ok,IterationCcwIcon:ok,IterationCw:ck,IterationCwIcon:ck,JapaneseYen:rk,JapaneseYenIcon:rk,Joystick:ik,JoystickIcon:ik,Kanban:sk,KanbanIcon:sk,KanbanSquare:Do,KanbanSquareDashed:qo,KanbanSquareDashedIcon:qo,KanbanSquareIcon:Do,Kayak:dk,KayakIcon:dk,Key:uk,KeyIcon:uk,KeyRound:lk,KeyRoundIcon:lk,KeySquare:hk,KeySquareIcon:hk,Keyboard:kk,KeyboardIcon:kk,KeyboardMusic:pk,KeyboardMusicIcon:pk,KeyboardOff:yk,KeyboardOffIcon:yk,Lamp:xk,LampCeiling:mk,LampCeilingIcon:mk,LampDesk:gk,LampDeskIcon:gk,LampFloor:fk,LampFloorIcon:fk,LampIcon:xk,LampWallDown:vk,LampWallDownIcon:vk,LampWallUp:Mk,LampWallUpIcon:Mk,LandPlot:_k,LandPlotIcon:_k,Landmark:Lk,LandmarkIcon:Lk,Languages:Ik,LanguagesIcon:Ik,Laptop:wk,Laptop2:$n,Laptop2Icon:$n,LaptopIcon:wk,LaptopMinimal:$n,LaptopMinimalCheck:bk,LaptopMinimalCheckIcon:bk,LaptopMinimalIcon:$n,Lasso:Nk,LassoIcon:Nk,LassoSelect:Ck,LassoSelectIcon:Ck,Laugh:Sk,LaughIcon:Sk,Layers:qn,Layers2:jk,Layers2Icon:jk,Layers3:qn,Layers3Icon:qn,LayersIcon:qn,Layout:Jn,LayoutDashboard:$k,LayoutDashboardIcon:$k,LayoutGrid:qk,LayoutGridIcon:qk,LayoutIcon:Jn,LayoutList:Ak,LayoutListIcon:Ak,LayoutPanelLeft:zk,LayoutPanelLeftIcon:zk,LayoutPanelTop:Vk,LayoutPanelTopIcon:Vk,LayoutTemplate:Pk,LayoutTemplateIcon:Pk,Leaf:Tk,LeafIcon:Tk,LeafyGreen:Dk,LeafyGreenIcon:Dk,Lectern:Hk,LecternIcon:Hk,LetterText:Bk,LetterTextIcon:Bk,Library:Fk,LibraryBig:Rk,LibraryBigIcon:Rk,LibraryIcon:Fk,LibrarySquare:Bo,LibrarySquareIcon:Bo,LifeBuoy:Ek,LifeBuoyIcon:Ek,Ligature:Ok,LigatureIcon:Ok,Lightbulb:Wk,LightbulbIcon:Wk,LightbulbOff:Uk,LightbulbOffIcon:Uk,LineChart:ua,LineChartIcon:ua,LineSquiggle:Gk,LineSquiggleIcon:Gk,Link:Xk,Link2:Kk,Link2Icon:Kk,Link2Off:Zk,Link2OffIcon:Zk,LinkIcon:Xk,Linkedin:Yk,LinkedinIcon:Yk,List:y3,ListCheck:Jk,ListCheckIcon:Jk,ListChecks:Qk,ListChecksIcon:Qk,ListCollapse:e3,ListCollapseIcon:e3,ListEnd:t3,ListEndIcon:t3,ListFilter:o3,ListFilterIcon:o3,ListFilterPlus:a3,ListFilterPlusIcon:a3,ListIcon:y3,ListMinus:n3,ListMinusIcon:n3,ListMusic:c3,ListMusicIcon:c3,ListOrdered:i3,ListOrderedIcon:i3,ListPlus:r3,ListPlusIcon:r3,ListRestart:s3,ListRestartIcon:s3,ListStart:d3,ListStartIcon:d3,ListTodo:l3,ListTodoIcon:l3,ListTree:h3,ListTreeIcon:h3,ListVideo:u3,ListVideoIcon:u3,ListX:p3,ListXIcon:p3,Loader:m3,Loader2:An,Loader2Icon:An,LoaderCircle:An,LoaderCircleIcon:An,LoaderIcon:m3,LoaderPinwheel:k3,LoaderPinwheelIcon:k3,Locate:v3,LocateFixed:f3,LocateFixedIcon:f3,LocateIcon:v3,LocateOff:g3,LocateOffIcon:g3,LocationEdit:Tn,LocationEditIcon:Tn,Lock:x3,LockIcon:x3,LockKeyhole:M3,LockKeyholeIcon:M3,LockKeyholeOpen:zn,LockKeyholeOpenIcon:zn,LockOpen:Vn,LockOpenIcon:Vn,LogIn:_3,LogInIcon:_3,LogOut:L3,LogOutIcon:L3,Logs:I3,LogsIcon:I3,Lollipop:b3,LollipopIcon:b3,LucideAArrowDown:ni,LucideAArrowUp:oi,LucideALargeSmall:ci,LucideAccessibility:g1,LucideActivity:v1,LucideActivitySquare:Nt,LucideAirVent:ii,LucideAirplay:ri,LucideAlarmCheck:Ft,LucideAlarmClock:di,LucideAlarmClockCheck:Ft,LucideAlarmClockMinus:Et,LucideAlarmClockOff:si,LucideAlarmClockPlus:Ot,LucideAlarmMinus:Et,LucideAlarmPlus:Ot,LucideAlarmSmoke:li,LucideAlbum:hi,LucideAlertCircle:ga,LucideAlertOctagon:Rn,LucideAlertTriangle:uc,LucideAlignCenter:fi,LucideAlignCenterHorizontal:ui,LucideAlignCenterVertical:pi,LucideAlignEndHorizontal:yi,LucideAlignEndVertical:ki,LucideAlignHorizontalDistributeCenter:mi,LucideAlignHorizontalDistributeEnd:gi,LucideAlignHorizontalDistributeStart:vi,LucideAlignHorizontalJustifyCenter:Mi,LucideAlignHorizontalJustifyEnd:xi,LucideAlignHorizontalJustifyStart:_i,LucideAlignHorizontalSpaceAround:Li,LucideAlignHorizontalSpaceBetween:bi,LucideAlignJustify:Ii,LucideAlignLeft:wi,LucideAlignRight:Ci,LucideAlignStartHorizontal:Ni,LucideAlignStartVertical:Si,LucideAlignVerticalDistributeCenter:$i,LucideAlignVerticalDistributeEnd:ji,LucideAlignVerticalDistributeStart:Ai,LucideAlignVerticalJustifyCenter:qi,LucideAlignVerticalJustifyEnd:zi,LucideAlignVerticalJustifyStart:Vi,LucideAlignVerticalSpaceAround:Ti,LucideAlignVerticalSpaceBetween:Pi,LucideAmbulance:Hi,LucideAmpersand:Di,LucideAmpersands:Bi,LucideAmphora:Ri,LucideAnchor:Fi,LucideAngry:Ei,LucideAnnoyed:Oi,LucideAntenna:Ui,LucideAnvil:Wi,LucideAperture:Gi,LucideAppWindow:Zi,LucideAppWindowMac:Ki,LucideApple:Xi,LucideArchive:Qi,LucideArchiveRestore:Yi,LucideArchiveX:Ji,LucideAreaChart:ca,LucideArmchair:er,LucideArrowBigDown:ar,LucideArrowBigDownDash:tr,LucideArrowBigLeft:or,LucideArrowBigLeftDash:nr,LucideArrowBigRight:ir,LucideArrowBigRightDash:cr,LucideArrowBigUp:sr,LucideArrowBigUpDash:rr,LucideArrowDown:Zc,LucideArrowDown01:dr,LucideArrowDown10:lr,LucideArrowDownAZ:Ut,LucideArrowDownAz:Ut,LucideArrowDownCircle:va,LucideArrowDownFromLine:hr,LucideArrowDownLeft:ur,LucideArrowDownLeftFromCircle:xa,LucideArrowDownLeftFromSquare:ko,LucideArrowDownLeftSquare:ho,LucideArrowDownNarrowWide:pr,LucideArrowDownRight:yr,LucideArrowDownRightFromCircle:_a,LucideArrowDownRightFromSquare:mo,LucideArrowDownRightSquare:uo,LucideArrowDownSquare:po,LucideArrowDownToDot:kr,LucideArrowDownToLine:mr,LucideArrowDownUp:fr,LucideArrowDownWideNarrow:Wt,LucideArrowDownZA:Gt,LucideArrowDownZa:Gt,LucideArrowLeft:M1,LucideArrowLeftCircle:Ma,LucideArrowLeftFromLine:gr,LucideArrowLeftRight:vr,LucideArrowLeftSquare:yo,LucideArrowLeftToLine:Mr,LucideArrowRight:Ir,LucideArrowRightCircle:ba,LucideArrowRightFromLine:xr,LucideArrowRightLeft:_r,LucideArrowRightSquare:vo,LucideArrowRightToLine:Lr,LucideArrowUp:Xc,LucideArrowUp01:br,LucideArrowUp10:wr,LucideArrowUpAZ:Kt,LucideArrowUpAz:Kt,LucideArrowUpCircle:wa,LucideArrowUpDown:Cr,LucideArrowUpFromDot:Nr,LucideArrowUpFromLine:Sr,LucideArrowUpLeft:jr,LucideArrowUpLeftFromCircle:La,LucideArrowUpLeftFromSquare:fo,LucideArrowUpLeftSquare:Mo,LucideArrowUpNarrowWide:Zt,LucideArrowUpRight:$r,LucideArrowUpRightFromCircle:Ia,LucideArrowUpRightFromSquare:go,LucideArrowUpRightSquare:xo,LucideArrowUpSquare:_o,LucideArrowUpToLine:qr,LucideArrowUpWideNarrow:Ar,LucideArrowUpZA:Xt,LucideArrowUpZa:Xt,LucideArrowsUpFromLine:zr,LucideAsterisk:Vr,LucideAsteriskSquare:Lo,LucideAtSign:Pr,LucideAtom:Tr,LucideAudioLines:Hr,LucideAudioWaveform:Dr,LucideAward:Br,LucideAxe:Rr,LucideAxis3D:Yt,LucideAxis3d:Yt,LucideBaby:Fr,LucideBackpack:Er,LucideBadge:cs,LucideBadgeAlert:Or,LucideBadgeCent:Ur,LucideBadgeCheck:Jt,LucideBadgeDollarSign:Wr,LucideBadgeEuro:Gr,LucideBadgeHelp:Qt,LucideBadgeIndianRupee:Kr,LucideBadgeInfo:Zr,LucideBadgeJapaneseYen:Yr,LucideBadgeMinus:Xr,LucideBadgePercent:Jr,LucideBadgePlus:Qr,LucideBadgePoundSterling:es,LucideBadgeQuestionMark:Qt,LucideBadgeRussianRuble:ts,LucideBadgeSwissFranc:as,LucideBadgeTurkishLira:ns,LucideBadgeX:os,LucideBaggageClaim:is,LucideBan:rs,LucideBanana:ss,LucideBandage:ds,LucideBanknote:ps,LucideBanknoteArrowDown:ls,LucideBanknoteArrowUp:hs,LucideBanknoteX:us,LucideBarChart:pa,LucideBarChart2:ya,LucideBarChart3:ha,LucideBarChart4:la,LucideBarChartBig:da,LucideBarChartHorizontal:ra,LucideBarChartHorizontalBig:ia,LucideBarcode:ys,LucideBarrel:ks,LucideBaseline:ms,LucideBath:fs,LucideBattery:Is,LucideBatteryCharging:gs,LucideBatteryFull:vs,LucideBatteryLow:Ms,LucideBatteryMedium:xs,LucideBatteryPlus:_s,LucideBatteryWarning:Ls,LucideBeaker:bs,LucideBean:Cs,LucideBeanOff:ws,LucideBed:js,LucideBedDouble:Ns,LucideBedSingle:Ss,LucideBeef:$s,LucideBeer:As,LucideBeerOff:qs,LucideBell:Ds,LucideBellDot:zs,LucideBellElectric:Vs,LucideBellMinus:Ps,LucideBellOff:Ts,LucideBellPlus:Hs,LucideBellRing:Bs,LucideBetweenHorizonalEnd:ea,LucideBetweenHorizonalStart:ta,LucideBetweenHorizontalEnd:ea,LucideBetweenHorizontalStart:ta,LucideBetweenVerticalEnd:Fs,LucideBetweenVerticalStart:Rs,LucideBicepsFlexed:Es,LucideBike:Us,LucideBinary:Os,LucideBinoculars:Ws,LucideBiohazard:Gs,LucideBird:Ks,LucideBitcoin:Zs,LucideBlend:Xs,LucideBlinds:Ys,LucideBlocks:Js,LucideBluetooth:a2,LucideBluetoothConnected:Qs,LucideBluetoothOff:e2,LucideBluetoothSearching:t2,LucideBold:n2,LucideBolt:o2,LucideBomb:c2,LucideBone:i2,LucideBook:j2,LucideBookA:r2,LucideBookAlert:s2,LucideBookAudio:d2,LucideBookCheck:l2,LucideBookCopy:h2,LucideBookDashed:aa,LucideBookDown:u2,LucideBookHeadphones:p2,LucideBookHeart:y2,LucideBookImage:k2,LucideBookKey:m2,LucideBookLock:f2,LucideBookMarked:v2,LucideBookMinus:g2,LucideBookOpen:_2,LucideBookOpenCheck:M2,LucideBookOpenText:x2,LucideBookPlus:L2,LucideBookTemplate:aa,LucideBookText:I2,LucideBookType:b2,LucideBookUp:C2,LucideBookUp2:w2,LucideBookUser:N2,LucideBookX:S2,LucideBookmark:V2,LucideBookmarkCheck:$2,LucideBookmarkMinus:q2,LucideBookmarkPlus:A2,LucideBookmarkX:z2,LucideBoomBox:P2,LucideBot:D2,LucideBotMessageSquare:T2,LucideBotOff:H2,LucideBottleWine:B2,LucideBowArrow:R2,LucideBox:F2,LucideBoxSelect:zo,LucideBoxes:E2,LucideBraces:na,LucideBrackets:O2,LucideBrain:G2,LucideBrainCircuit:U2,LucideBrainCog:W2,LucideBrickWall:X2,LucideBrickWallFire:K2,LucideBrickWallShield:Z2,LucideBriefcase:ed,LucideBriefcaseBusiness:Y2,LucideBriefcaseConveyorBelt:J2,LucideBriefcaseMedical:Q2,LucideBringToFront:td,LucideBrush:nd,LucideBrushCleaning:ad,LucideBubbles:od,LucideBug:sd,LucideBugOff:cd,LucideBugPlay:id,LucideBuilding:dd,LucideBuilding2:rd,LucideBus:hd,LucideBusFront:ld,LucideCable:pd,LucideCableCar:ud,LucideCake:kd,LucideCakeSlice:yd,LucideCalculator:md,LucideCalendar:x1,LucideCalendar1:fd,LucideCalendarArrowDown:gd,LucideCalendarArrowUp:vd,LucideCalendarCheck:xd,LucideCalendarCheck2:Md,LucideCalendarClock:_d,LucideCalendarCog:Ld,LucideCalendarDays:Id,LucideCalendarFold:bd,LucideCalendarHeart:wd,LucideCalendarMinus:Nd,LucideCalendarMinus2:Cd,LucideCalendarOff:Sd,LucideCalendarPlus:$d,LucideCalendarPlus2:jd,LucideCalendarRange:qd,LucideCalendarSearch:Ad,LucideCalendarSync:zd,LucideCalendarX:Pd,LucideCalendarX2:Vd,LucideCamera:Hd,LucideCameraOff:Td,LucideCandlestickChart:sa,LucideCandy:Rd,LucideCandyCane:Dd,LucideCandyOff:Bd,LucideCannabis:Fd,LucideCaptions:oa,LucideCaptionsOff:Ed,LucideCar:Wd,LucideCarFront:Od,LucideCarTaxiFront:Ud,LucideCaravan:Gd,LucideCardSim:Kd,LucideCarrot:Zd,LucideCaseLower:Xd,LucideCaseSensitive:Yd,LucideCaseUpper:Jd,LucideCassetteTape:Qd,LucideCast:e0,LucideCastle:a0,LucideCat:t0,LucideCctv:n0,LucideChartArea:ca,LucideChartBar:ra,LucideChartBarBig:ia,LucideChartBarDecreasing:o0,LucideChartBarIncreasing:c0,LucideChartBarStacked:i0,LucideChartCandlestick:sa,LucideChartColumn:ha,LucideChartColumnBig:da,LucideChartColumnDecreasing:r0,LucideChartColumnIncreasing:la,LucideChartColumnStacked:s0,LucideChartGantt:d0,LucideChartLine:ua,LucideChartNetwork:l0,LucideChartNoAxesColumn:ya,LucideChartNoAxesColumnDecreasing:h0,LucideChartNoAxesColumnIncreasing:pa,LucideChartNoAxesCombined:u0,LucideChartNoAxesGantt:ka,LucideChartPie:ma,LucideChartScatter:fa,LucideChartSpline:p0,LucideCheck:_1,LucideCheckCheck:y0,LucideCheckCircle:Ca,LucideCheckCircle2:Na,LucideCheckLine:k0,LucideCheckSquare:bo,LucideCheckSquare2:wo,LucideChefHat:m0,LucideCherry:f0,LucideChevronDown:qt,LucideChevronDownCircle:Sa,LucideChevronDownSquare:Co,LucideChevronFirst:g0,LucideChevronLast:v0,LucideChevronLeft:M0,LucideChevronLeftCircle:ja,LucideChevronLeftSquare:No,LucideChevronRight:L1,LucideChevronRightCircle:$a,LucideChevronRightSquare:So,LucideChevronUp:jc,LucideChevronUpCircle:qa,LucideChevronUpSquare:jo,LucideChevronsDown:_0,LucideChevronsDownUp:x0,LucideChevronsLeft:I0,LucideChevronsLeftRight:L0,LucideChevronsLeftRightEllipsis:b0,LucideChevronsRight:C0,LucideChevronsRightLeft:w0,LucideChevronsUp:N0,LucideChevronsUpDown:Yc,LucideChrome:S0,LucideChurch:j0,LucideCigarette:q0,LucideCigaretteOff:$0,LucideCircle:W0,LucideCircleAlert:ga,LucideCircleArrowDown:va,LucideCircleArrowLeft:Ma,LucideCircleArrowOutDownLeft:xa,LucideCircleArrowOutDownRight:_a,LucideCircleArrowOutUpLeft:La,LucideCircleArrowOutUpRight:Ia,LucideCircleArrowRight:ba,LucideCircleArrowUp:wa,LucideCircleCheck:Na,LucideCircleCheckBig:Ca,LucideCircleChevronDown:Sa,LucideCircleChevronLeft:ja,LucideCircleChevronRight:$a,LucideCircleChevronUp:qa,LucideCircleDashed:A0,LucideCircleDivide:Aa,LucideCircleDollarSign:V0,LucideCircleDot:P0,LucideCircleDotDashed:z0,LucideCircleEllipsis:T0,LucideCircleEqual:H0,LucideCircleFadingArrowUp:B0,LucideCircleFadingPlus:D0,LucideCircleGauge:za,LucideCircleHelp:ct,LucideCircleMinus:Va,LucideCircleOff:R0,LucideCircleParking:Ha,LucideCircleParkingOff:Pa,LucideCirclePause:Ta,LucideCirclePercent:Da,LucideCirclePlay:Ba,LucideCirclePlus:Ra,LucideCirclePoundSterling:F0,LucideCirclePower:Fa,LucideCircleQuestionMark:ct,LucideCircleSlash:E0,LucideCircleSlash2:Ea,LucideCircleSlashed:Ea,LucideCircleSmall:O0,LucideCircleStar:U0,LucideCircleStop:Oa,LucideCircleUser:Wa,LucideCircleUserRound:Ua,LucideCircleX:bt,LucideCircuitBoard:G0,LucideCitrus:K0,LucideClapperboard:Z0,LucideClipboard:cl,LucideClipboardCheck:X0,LucideClipboardClock:Y0,LucideClipboardCopy:J0,LucideClipboardEdit:Ka,LucideClipboardList:Q0,LucideClipboardMinus:el,LucideClipboardPaste:tl,LucideClipboardPen:Ka,LucideClipboardPenLine:Ga,LucideClipboardPlus:al,LucideClipboardSignature:Ga,LucideClipboardType:nl,LucideClipboardX:ol,LucideClock:Ll,LucideClock1:rl,LucideClock10:il,LucideClock11:sl,LucideClock12:dl,LucideClock2:ll,LucideClock3:hl,LucideClock4:ul,LucideClock5:pl,LucideClock6:yl,LucideClock7:kl,LucideClock8:ml,LucideClock9:fl,LucideClockAlert:gl,LucideClockArrowDown:vl,LucideClockArrowUp:Ml,LucideClockFading:xl,LucideClockPlus:_l,LucideClosedCaption:Il,LucideCloud:Bl,LucideCloudAlert:bl,LucideCloudCheck:wl,LucideCloudCog:Cl,LucideCloudDownload:Za,LucideCloudDrizzle:Nl,LucideCloudFog:Sl,LucideCloudHail:jl,LucideCloudLightning:$l,LucideCloudMoon:Al,LucideCloudMoonRain:ql,LucideCloudOff:zl,LucideCloudRain:Pl,LucideCloudRainWind:Vl,LucideCloudSnow:Tl,LucideCloudSun:Dl,LucideCloudSunRain:Hl,LucideCloudUpload:Xa,LucideCloudy:Rl,LucideClover:Fl,LucideClub:El,LucideCode:Ol,LucideCode2:Ya,LucideCodeSquare:$o,LucideCodeXml:Ya,LucideCodepen:Ul,LucideCodesandbox:Wl,LucideCoffee:Gl,LucideCog:Kl,LucideCoins:Zl,LucideColumns:Ja,LucideColumns2:Ja,LucideColumns3:Qa,LucideColumns3Cog:it,LucideColumns4:Xl,LucideColumnsSettings:it,LucideCombine:Yl,LucideCommand:Jl,LucideCompass:Ql,LucideComponent:eh,LucideComputer:th,LucideConciergeBell:ah,LucideCone:nh,LucideConstruction:oh,LucideContact:ch,LucideContact2:en,LucideContactRound:en,LucideContainer:ih,LucideContrast:sh,LucideCookie:rh,LucideCookingPot:lh,LucideCopy:kh,LucideCopyCheck:dh,LucideCopyMinus:hh,LucideCopyPlus:uh,LucideCopySlash:ph,LucideCopyX:yh,LucideCopyleft:mh,LucideCopyright:fh,LucideCornerDownLeft:gh,LucideCornerDownRight:vh,LucideCornerLeftDown:Mh,LucideCornerLeftUp:xh,LucideCornerRightDown:_h,LucideCornerRightUp:Lh,LucideCornerUpLeft:Ih,LucideCornerUpRight:bh,LucideCpu:wh,LucideCreativeCommons:Ch,LucideCreditCard:Nh,LucideCroissant:Sh,LucideCrop:jh,LucideCross:$h,LucideCrosshair:qh,LucideCrown:Ah,LucideCuboid:zh,LucideCupSoda:Vh,LucideCurlyBraces:na,LucideCurrency:Ph,LucideCylinder:Th,LucideDam:Hh,LucideDatabase:Rh,LucideDatabaseBackup:Dh,LucideDatabaseZap:Bh,LucideDecimalsArrowLeft:Fh,LucideDecimalsArrowRight:Eh,LucideDelete:Oh,LucideDessert:Uh,LucideDiameter:Wh,LucideDiamond:Zh,LucideDiamondMinus:Gh,LucideDiamondPercent:tn,LucideDiamondPlus:Kh,LucideDice1:Xh,LucideDice2:Yh,LucideDice3:Jh,LucideDice4:Qh,LucideDice5:eu,LucideDice6:tu,LucideDices:au,LucideDiff:nu,LucideDisc:ru,LucideDisc2:ou,LucideDisc3:cu,LucideDiscAlbum:iu,LucideDivide:su,LucideDivideCircle:Aa,LucideDivideSquare:Vo,LucideDna:lu,LucideDnaOff:du,LucideDock:hu,LucideDog:uu,LucideDollarSign:pu,LucideDonut:yu,LucideDoorClosed:mu,LucideDoorClosedLocked:ku,LucideDoorOpen:fu,LucideDot:gu,LucideDotSquare:To,LucideDownload:Mu,LucideDownloadCloud:Za,LucideDraftingCompass:vu,LucideDrama:xu,LucideDribbble:_u,LucideDrill:Lu,LucideDrone:Iu,LucideDroplet:wu,LucideDropletOff:bu,LucideDroplets:Cu,LucideDrum:Nu,LucideDrumstick:Su,LucideDumbbell:ju,LucideEar:qu,LucideEarOff:$u,LucideEarth:an,LucideEarthLock:Au,LucideEclipse:zu,LucideEdit:Re,LucideEdit2:kt,LucideEdit3:yt,LucideEgg:Tu,LucideEggFried:Vu,LucideEggOff:Pu,LucideEllipsis:on,LucideEllipsisVertical:nn,LucideEqual:Bu,LucideEqualApproximately:Hu,LucideEqualNot:Du,LucideEqualSquare:Po,LucideEraser:Ru,LucideEthernetPort:Fu,LucideEuro:Eu,LucideExpand:Uu,LucideExternalLink:Ou,LucideEye:b1,LucideEyeClosed:Wu,LucideEyeOff:I1,LucideFacebook:Gu,LucideFactory:Ku,LucideFan:Zu,LucideFastForward:Xu,LucideFeather:Yu,LucideFence:Ju,LucideFerrisWheel:Qu,LucideFigma:ep,LucideFile:Kp,LucideFileArchive:tp,LucideFileAudio:np,LucideFileAudio2:ap,LucideFileAxis3D:cn,LucideFileAxis3d:cn,LucideFileBadge:ip,LucideFileBadge2:op,LucideFileBarChart:rn,LucideFileBarChart2:sn,LucideFileBox:cp,LucideFileChartColumn:sn,LucideFileChartColumnIncreasing:rn,LucideFileChartLine:dn,LucideFileChartPie:ln,LucideFileCheck:sp,LucideFileCheck2:rp,LucideFileClock:dp,LucideFileCode:lp,LucideFileCode2:hp,LucideFileCog:hn,LucideFileCog2:hn,LucideFileDiff:up,LucideFileDigit:pp,LucideFileDown:yp,LucideFileEdit:pn,LucideFileHeart:kp,LucideFileImage:mp,LucideFileInput:fp,LucideFileJson:vp,LucideFileJson2:gp,LucideFileKey:xp,LucideFileKey2:Mp,LucideFileLineChart:dn,LucideFileLock:Lp,LucideFileLock2:_p,LucideFileMinus:bp,LucideFileMinus2:Ip,LucideFileMusic:wp,LucideFileOutput:Cp,LucideFilePen:pn,LucideFilePenLine:un,LucideFilePieChart:ln,LucideFilePlay:yn,LucideFilePlus:Sp,LucideFilePlus2:Np,LucideFileQuestion:kn,LucideFileQuestionMark:kn,LucideFileScan:jp,LucideFileSearch:qp,LucideFileSearch2:$p,LucideFileSignature:un,LucideFileSliders:Ap,LucideFileSpreadsheet:zp,LucideFileStack:Vp,LucideFileSymlink:Pp,LucideFileTerminal:Tp,LucideFileText:Hp,LucideFileType:Bp,LucideFileType2:Dp,LucideFileUp:Rp,LucideFileUser:Fp,LucideFileVideo:yn,LucideFileVideo2:mn,LucideFileVideoCamera:mn,LucideFileVolume:Op,LucideFileVolume2:Ep,LucideFileWarning:Up,LucideFileX:Gp,LucideFileX2:Wp,LucideFiles:Zp,LucideFilm:Xp,LucideFilter:wt,LucideFilterX:vn,LucideFingerprint:Yp,LucideFireExtinguisher:Jp,LucideFish:ey,LucideFishOff:Qp,LucideFishSymbol:ty,LucideFlag:cy,LucideFlagOff:ay,LucideFlagTriangleLeft:ny,LucideFlagTriangleRight:oy,LucideFlame:ry,LucideFlameKindling:iy,LucideFlashlight:dy,LucideFlashlightOff:sy,LucideFlaskConical:hy,LucideFlaskConicalOff:ly,LucideFlaskRound:uy,LucideFlipHorizontal:yy,LucideFlipHorizontal2:py,LucideFlipVertical:my,LucideFlipVertical2:ky,LucideFlower:gy,LucideFlower2:fy,LucideFocus:vy,LucideFoldHorizontal:My,LucideFoldVertical:xy,LucideFolder:w1,LucideFolderArchive:_y,LucideFolderCheck:Ly,LucideFolderClock:Iy,LucideFolderClosed:by,LucideFolderCode:wy,LucideFolderCog:fn,LucideFolderCog2:fn,LucideFolderDot:Cy,LucideFolderDown:Ny,LucideFolderEdit:gn,LucideFolderGit:jy,LucideFolderGit2:Sy,LucideFolderHeart:$y,LucideFolderInput:qy,LucideFolderKanban:Ay,LucideFolderKey:zy,LucideFolderLock:Vy,LucideFolderMinus:Py,LucideFolderOpen:Hy,LucideFolderOpenDot:Ty,LucideFolderOutput:Dy,LucideFolderPen:gn,LucideFolderPlus:Jc,LucideFolderRoot:By,LucideFolderSearch:Fy,LucideFolderSearch2:Ry,LucideFolderSymlink:Ey,LucideFolderSync:Oy,LucideFolderTree:Uy,LucideFolderUp:Wy,LucideFolderX:Gy,LucideFolders:Ky,LucideFootprints:Zy,LucideForkKnife:Lc,LucideForkKnifeCrossed:_c,LucideForklift:Xy,LucideFormInput:eo,LucideForward:Yy,LucideFrame:Jy,LucideFramer:Qy,LucideFrown:e4,LucideFuel:t4,LucideFullscreen:a4,LucideFunctionSquare:Ho,LucideFunnel:wt,LucideFunnelPlus:n4,LucideFunnelX:vn,LucideGalleryHorizontal:c4,LucideGalleryHorizontalEnd:o4,LucideGalleryThumbnails:i4,LucideGalleryVertical:s4,LucideGalleryVerticalEnd:r4,LucideGamepad:l4,LucideGamepad2:d4,LucideGanttChart:ka,LucideGanttChartSquare:st,LucideGauge:h4,LucideGaugeCircle:za,LucideGavel:u4,LucideGem:p4,LucideGeorgianLari:y4,LucideGhost:k4,LucideGift:m4,LucideGitBranch:g4,LucideGitBranchPlus:f4,LucideGitCommit:Mn,LucideGitCommitHorizontal:Mn,LucideGitCommitVertical:v4,LucideGitCompare:x4,LucideGitCompareArrows:M4,LucideGitFork:_4,LucideGitGraph:L4,LucideGitMerge:I4,LucideGitPullRequest:j4,LucideGitPullRequestArrow:b4,LucideGitPullRequestClosed:w4,LucideGitPullRequestCreate:N4,LucideGitPullRequestCreateArrow:C4,LucideGitPullRequestDraft:S4,LucideGithub:$4,LucideGitlab:q4,LucideGlassWater:A4,LucideGlasses:z4,LucideGlobe:P4,LucideGlobe2:an,LucideGlobeLock:V4,LucideGoal:T4,LucideGpu:H4,LucideGrab:bn,LucideGraduationCap:D4,LucideGrape:B4,LucideGrid:rt,LucideGrid2X2:In,LucideGrid2X2Check:xn,LucideGrid2X2Plus:_n,LucideGrid2X2X:Ln,LucideGrid2x2:In,LucideGrid2x2Check:xn,LucideGrid2x2Plus:_n,LucideGrid2x2X:Ln,LucideGrid3X3:rt,LucideGrid3x2:R4,LucideGrid3x3:rt,LucideGrip:E4,LucideGripHorizontal:F4,LucideGripVertical:C1,LucideGroup:O4,LucideGuitar:U4,LucideHam:W4,LucideHamburger:G4,LucideHammer:K4,LucideHand:e5,LucideHandCoins:Z4,LucideHandFist:X4,LucideHandGrab:bn,LucideHandHeart:Y4,LucideHandHelping:wn,LucideHandMetal:J4,LucideHandPlatter:Q4,LucideHandbag:t5,LucideHandshake:a5,LucideHardDrive:c5,LucideHardDriveDownload:n5,LucideHardDriveUpload:o5,LucideHardHat:i5,LucideHash:r5,LucideHatGlasses:s5,LucideHaze:d5,LucideHdmiPort:l5,LucideHeading:f5,LucideHeading1:h5,LucideHeading2:u5,LucideHeading3:p5,LucideHeading4:y5,LucideHeading5:k5,LucideHeading6:m5,LucideHeadphoneOff:g5,LucideHeadphones:v5,LucideHeadset:M5,LucideHeart:C5,LucideHeartCrack:x5,LucideHeartHandshake:_5,LucideHeartMinus:L5,LucideHeartOff:I5,LucideHeartPlus:b5,LucideHeartPulse:w5,LucideHeater:N5,LucideHelpCircle:ct,LucideHelpingHand:wn,LucideHexagon:S5,LucideHighlighter:j5,LucideHistory:$5,LucideHome:Ct,LucideHop:A5,LucideHopOff:q5,LucideHospital:N1,LucideHotel:z5,LucideHourglass:V5,LucideHouse:Ct,LucideHousePlug:P5,LucideHousePlus:H5,LucideHouseWifi:T5,LucideIceCream:Nn,LucideIceCream2:Cn,LucideIceCreamBowl:Cn,LucideIceCreamCone:Nn,LucideIdCard:B5,LucideIdCardLanyard:D5,LucideImage:K5,LucideImageDown:R5,LucideImageMinus:F5,LucideImageOff:E5,LucideImagePlay:O5,LucideImagePlus:U5,LucideImageUp:W5,LucideImageUpscale:G5,LucideImages:Z5,LucideImport:X5,LucideInbox:Y5,LucideIndent:jn,LucideIndentDecrease:Sn,LucideIndentIncrease:jn,LucideIndianRupee:J5,LucideInfinity:Q5,LucideInfo:ek,LucideInspect:Uo,LucideInspectionPanel:tk,LucideInstagram:ak,LucideItalic:nk,LucideIterationCcw:ok,LucideIterationCw:ck,LucideJapaneseYen:rk,LucideJoystick:ik,LucideKanban:sk,LucideKanbanSquare:Do,LucideKanbanSquareDashed:qo,LucideKayak:dk,LucideKey:uk,LucideKeyRound:lk,LucideKeySquare:hk,LucideKeyboard:kk,LucideKeyboardMusic:pk,LucideKeyboardOff:yk,LucideLamp:xk,LucideLampCeiling:mk,LucideLampDesk:gk,LucideLampFloor:fk,LucideLampWallDown:vk,LucideLampWallUp:Mk,LucideLandPlot:_k,LucideLandmark:Lk,LucideLanguages:Ik,LucideLaptop:wk,LucideLaptop2:$n,LucideLaptopMinimal:$n,LucideLaptopMinimalCheck:bk,LucideLasso:Nk,LucideLassoSelect:Ck,LucideLaugh:Sk,LucideLayers:qn,LucideLayers2:jk,LucideLayers3:qn,LucideLayout:Jn,LucideLayoutDashboard:$k,LucideLayoutGrid:qk,LucideLayoutList:Ak,LucideLayoutPanelLeft:zk,LucideLayoutPanelTop:Vk,LucideLayoutTemplate:Pk,LucideLeaf:Tk,LucideLeafyGreen:Dk,LucideLectern:Hk,LucideLetterText:Bk,LucideLibrary:Fk,LucideLibraryBig:Rk,LucideLibrarySquare:Bo,LucideLifeBuoy:Ek,LucideLigature:Ok,LucideLightbulb:Wk,LucideLightbulbOff:Uk,LucideLineChart:ua,LucideLineSquiggle:Gk,LucideLink:Xk,LucideLink2:Kk,LucideLink2Off:Zk,LucideLinkedin:Yk,LucideList:y3,LucideListCheck:Jk,LucideListChecks:Qk,LucideListCollapse:e3,LucideListEnd:t3,LucideListFilter:o3,LucideListFilterPlus:a3,LucideListMinus:n3,LucideListMusic:c3,LucideListOrdered:i3,LucideListPlus:r3,LucideListRestart:s3,LucideListStart:d3,LucideListTodo:l3,LucideListTree:h3,LucideListVideo:u3,LucideListX:p3,LucideLoader:m3,LucideLoader2:An,LucideLoaderCircle:An,LucideLoaderPinwheel:k3,LucideLocate:v3,LucideLocateFixed:f3,LucideLocateOff:g3,LucideLocationEdit:Tn,LucideLock:x3,LucideLockKeyhole:M3,LucideLockKeyholeOpen:zn,LucideLockOpen:Vn,LucideLogIn:_3,LucideLogOut:L3,LucideLogs:I3,LucideLollipop:b3,LucideLuggage:w3,LucideMSquare:Ro,LucideMagnet:C3,LucideMail:z3,LucideMailCheck:N3,LucideMailMinus:S3,LucideMailOpen:j3,LucideMailPlus:$3,LucideMailQuestion:Pn,LucideMailQuestionMark:Pn,LucideMailSearch:q3,LucideMailWarning:A3,LucideMailX:V3,LucideMailbox:P3,LucideMails:T3,LucideMap:J3,LucideMapMinus:H3,LucideMapPin:Z3,LucideMapPinCheck:D3,LucideMapPinCheckInside:B3,LucideMapPinHouse:R3,LucideMapPinMinus:E3,LucideMapPinMinusInside:F3,LucideMapPinOff:O3,LucideMapPinPen:Tn,LucideMapPinPlus:W3,LucideMapPinPlusInside:U3,LucideMapPinX:K3,LucideMapPinXInside:G3,LucideMapPinned:X3,LucideMapPlus:Y3,LucideMars:em,LucideMarsStroke:Q3,LucideMartini:tm,LucideMaximize:om,LucideMaximize2:am,LucideMedal:nm,LucideMegaphone:im,LucideMegaphoneOff:cm,LucideMeh:rm,LucideMemoryStick:sm,LucideMenu:Qc,LucideMenuSquare:Fo,LucideMerge:dm,LucideMessageCircle:vm,LucideMessageCircleCode:lm,LucideMessageCircleDashed:hm,LucideMessageCircleHeart:um,LucideMessageCircleMore:pm,LucideMessageCircleOff:ym,LucideMessageCirclePlus:km,LucideMessageCircleQuestion:Hn,LucideMessageCircleQuestionMark:Hn,LucideMessageCircleReply:mm,LucideMessageCircleWarning:fm,LucideMessageCircleX:gm,LucideMessageSquare:Vm,LucideMessageSquareCode:Mm,LucideMessageSquareDashed:xm,LucideMessageSquareDiff:_m,LucideMessageSquareDot:Lm,LucideMessageSquareHeart:Im,LucideMessageSquareLock:bm,LucideMessageSquareMore:wm,LucideMessageSquareOff:Cm,LucideMessageSquarePlus:Nm,LucideMessageSquareQuote:Sm,LucideMessageSquareReply:jm,LucideMessageSquareShare:$m,LucideMessageSquareText:qm,LucideMessageSquareWarning:Am,LucideMessageSquareX:zm,LucideMessagesSquare:Pm,LucideMic:Hm,LucideMic2:Dn,LucideMicOff:Tm,LucideMicVocal:Dn,LucideMicrochip:Dm,LucideMicroscope:Bm,LucideMicrowave:Rm,LucideMilestone:Fm,LucideMilk:Om,LucideMilkOff:Em,LucideMinimize:Wm,LucideMinimize2:Um,LucideMinus:Gm,LucideMinusCircle:Va,LucideMinusSquare:Eo,LucideMonitor:i6,LucideMonitorCheck:Km,LucideMonitorCog:Zm,LucideMonitorDot:Xm,LucideMonitorDown:Ym,LucideMonitorOff:Jm,LucideMonitorPause:e6,LucideMonitorPlay:Qm,LucideMonitorSmartphone:t6,LucideMonitorSpeaker:a6,LucideMonitorStop:n6,LucideMonitorUp:o6,LucideMonitorX:c6,LucideMoon:s6,LucideMoonStar:r6,LucideMoreHorizontal:on,LucideMoreVertical:nn,LucideMountain:l6,LucideMountainSnow:d6,LucideMouse:m6,LucideMouseOff:h6,LucideMousePointer:y6,LucideMousePointer2:u6,LucideMousePointerBan:p6,LucideMousePointerClick:k6,LucideMousePointerSquareDashed:Ao,LucideMove:a.Move,LucideMove3D:Bn,LucideMove3d:Bn,LucideMoveDiagonal:g6,LucideMoveDiagonal2:f6,LucideMoveDown:_6,LucideMoveDownLeft:v6,LucideMoveDownRight:M6,LucideMoveHorizontal:x6,LucideMoveLeft:L6,LucideMoveRight:I6,LucideMoveUp:C6,LucideMoveUpLeft:b6,LucideMoveUpRight:w6,LucideMoveVertical:N6,LucideMusic:q6,LucideMusic2:S6,LucideMusic3:j6,LucideMusic4:$6,LucideNavigation:P6,LucideNavigation2:z6,LucideNavigation2Off:A6,LucideNavigationOff:V6,LucideNetwork:T6,LucideNewspaper:H6,LucideNfc:D6,LucideNonBinary:B6,LucideNotebook:O6,LucideNotebookPen:R6,LucideNotebookTabs:F6,LucideNotebookText:E6,LucideNotepadText:W6,LucideNotepadTextDashed:U6,LucideNut:K6,LucideNutOff:G6,LucideOctagon:X6,LucideOctagonAlert:Rn,LucideOctagonMinus:Z6,LucideOctagonPause:Fn,LucideOctagonX:En,LucideOmega:Y6,LucideOption:J6,LucideOrbit:Q6,LucideOrigami:e8,LucideOutdent:Sn,LucidePackage:s8,LucidePackage2:t8,LucidePackageCheck:a8,LucidePackageMinus:n8,LucidePackageOpen:o8,LucidePackagePlus:c8,LucidePackageSearch:i8,LucidePackageX:r8,LucidePaintBucket:d8,LucidePaintRoller:l8,LucidePaintbrush:h8,LucidePaintbrush2:On,LucidePaintbrushVertical:On,LucidePalette:u8,LucidePalmtree:hc,LucidePanda:p8,LucidePanelBottom:m8,LucidePanelBottomClose:y8,LucidePanelBottomDashed:Un,LucidePanelBottomInactive:Un,LucidePanelBottomOpen:k8,LucidePanelLeft:Zn,LucidePanelLeftClose:Wn,LucidePanelLeftDashed:Gn,LucidePanelLeftInactive:Gn,LucidePanelLeftOpen:Kn,LucidePanelRight:v8,LucidePanelRightClose:f8,LucidePanelRightDashed:Xn,LucidePanelRightInactive:Xn,LucidePanelRightOpen:g8,LucidePanelTop:_8,LucidePanelTopClose:M8,LucidePanelTopDashed:Yn,LucidePanelTopInactive:Yn,LucidePanelTopOpen:x8,LucidePanelsLeftBottom:L8,LucidePanelsLeftRight:Qa,LucidePanelsRightBottom:I8,LucidePanelsTopBottom:no,LucidePanelsTopLeft:Jn,LucidePaperclip:b8,LucideParentheses:w8,LucideParkingCircle:Ha,LucideParkingCircleOff:Pa,LucideParkingMeter:C8,LucideParkingSquare:Wo,LucideParkingSquareOff:Oo,LucidePartyPopper:N8,LucidePause:S8,LucidePauseCircle:Ta,LucidePauseOctagon:Fn,LucidePawPrint:j8,LucidePcCase:$8,LucidePen:kt,LucidePenBox:Re,LucidePenLine:yt,LucidePenOff:A8,LucidePenSquare:Re,LucidePenTool:q8,LucidePencil:e1,LucidePencilLine:z8,LucidePencilOff:V8,LucidePencilRuler:P8,LucidePentagon:T8,LucidePercent:H8,LucidePercentCircle:Da,LucidePercentDiamond:tn,LucidePercentSquare:Go,LucidePersonStanding:B8,LucidePhilippinePeso:D8,LucidePhone:W8,LucidePhoneCall:R8,LucidePhoneForwarded:F8,LucidePhoneIncoming:E8,LucidePhoneMissed:O8,LucidePhoneOff:U8,LucidePhoneOutgoing:G8,LucidePi:K8,LucidePiSquare:Ko,LucidePiano:Z8,LucidePickaxe:X8,LucidePictureInPicture:J8,LucidePictureInPicture2:Y8,LucidePieChart:ma,LucidePiggyBank:Q8,LucidePilcrow:tf,LucidePilcrowLeft:ef,LucidePilcrowRight:af,LucidePilcrowSquare:Zo,LucidePill:of,LucidePillBottle:nf,LucidePin:rf,LucidePinOff:cf,LucidePipette:sf,LucidePizza:df,LucidePlane:uf,LucidePlaneLanding:lf,LucidePlaneTakeoff:hf,LucidePlay:pf,LucidePlayCircle:Ba,LucidePlaySquare:Xo,LucidePlug:kf,LucidePlug2:yf,LucidePlugZap:Qn,LucidePlugZap2:Qn,LucidePlus:$c,LucidePlusCircle:Ra,LucidePlusSquare:Yo,LucidePocket:ff,LucidePocketKnife:mf,LucidePodcast:gf,LucidePointer:Mf,LucidePointerOff:vf,LucidePopcorn:_f,LucidePopsicle:xf,LucidePoundSterling:Lf,LucidePower:bf,LucidePowerCircle:Fa,LucidePowerOff:If,LucidePowerSquare:Jo,LucidePresentation:wf,LucidePrinter:Nf,LucidePrinterCheck:Cf,LucideProjector:Sf,LucideProportions:jf,LucidePuzzle:qf,LucidePyramid:$f,LucideQrCode:Af,LucideQuote:zf,LucideRabbit:Vf,LucideRadar:Pf,LucideRadiation:Tf,LucideRadical:Hf,LucideRadio:Rf,LucideRadioReceiver:Df,LucideRadioTower:Bf,LucideRadius:Ff,LucideRailSymbol:Ef,LucideRainbow:Of,LucideRat:Uf,LucideRatio:Wf,LucideReceipt:ag,LucideReceiptCent:Gf,LucideReceiptEuro:Zf,LucideReceiptIndianRupee:Kf,LucideReceiptJapaneseYen:Xf,LucideReceiptPoundSterling:Yf,LucideReceiptRussianRuble:Jf,LucideReceiptSwissFranc:Qf,LucideReceiptText:eg,LucideReceiptTurkishLira:tg,LucideRectangleCircle:ng,LucideRectangleEllipsis:eo,LucideRectangleGoggles:og,LucideRectangleHorizontal:cg,LucideRectangleVertical:ig,LucideRecycle:rg,LucideRedo:lg,LucideRedo2:sg,LucideRedoDot:dg,LucideRefreshCcw:ug,LucideRefreshCcwDot:hg,LucideRefreshCw:yg,LucideRefreshCwOff:pg,LucideRefrigerator:kg,LucideRegex:mg,LucideRemoveFormatting:fg,LucideRepeat:Mg,LucideRepeat1:gg,LucideRepeat2:vg,LucideReplace:_g,LucideReplaceAll:xg,LucideReply:bg,LucideReplyAll:Lg,LucideRewind:Ig,LucideRibbon:wg,LucideRocket:Cg,LucideRockingChair:jg,LucideRollerCoaster:Ng,LucideRose:Sg,LucideRotate3D:to,LucideRotate3d:to,LucideRotateCcw:Ag,LucideRotateCcwKey:$g,LucideRotateCcwSquare:qg,LucideRotateCw:Vg,LucideRotateCwSquare:zg,LucideRoute:Tg,LucideRouteOff:Pg,LucideRouter:Hg,LucideRows:ao,LucideRows2:ao,LucideRows3:no,LucideRows4:Dg,LucideRss:Bg,LucideRuler:Fg,LucideRulerDimensionLine:Rg,LucideRussianRuble:Eg,LucideSailboat:Og,LucideSalad:Ug,LucideSandwich:Wg,LucideSatellite:Kg,LucideSatelliteDish:Gg,LucideSaudiRiyal:Zg,LucideSave:Qg,LucideSaveAll:Xg,LucideSaveOff:Yg,LucideScale:Jg,LucideScale3D:oo,LucideScale3d:oo,LucideScaling:e7,LucideScan:d7,LucideScanBarcode:t7,LucideScanEye:a7,LucideScanFace:n7,LucideScanHeart:o7,LucideScanLine:c7,LucideScanQrCode:i7,LucideScanSearch:r7,LucideScanText:s7,LucideScatterChart:fa,LucideSchool:l7,LucideSchool2:yc,LucideScissors:u7,LucideScissorsLineDashed:h7,LucideScissorsSquare:Qo,LucideScissorsSquareDashedBottom:Io,LucideScreenShare:p7,LucideScreenShareOff:y7,LucideScroll:m7,LucideScrollText:k7,LucideSearch:S1,LucideSearchCheck:f7,LucideSearchCode:g7,LucideSearchSlash:v7,LucideSearchX:M7,LucideSection:x7,LucideSend:L7,LucideSendHorizonal:co,LucideSendHorizontal:co,LucideSendToBack:_7,LucideSeparatorHorizontal:I7,LucideSeparatorVertical:b7,LucideServer:S7,LucideServerCog:w7,LucideServerCrash:N7,LucideServerOff:C7,LucideSettings:$7,LucideSettings2:j7,LucideShapes:q7,LucideShare:z7,LucideShare2:A7,LucideSheet:V7,LucideShell:P7,LucideShield:W7,LucideShieldAlert:T7,LucideShieldBan:H7,LucideShieldCheck:D7,LucideShieldClose:ro,LucideShieldEllipsis:B7,LucideShieldHalf:R7,LucideShieldMinus:E7,LucideShieldOff:F7,LucideShieldPlus:O7,LucideShieldQuestion:io,LucideShieldQuestionMark:io,LucideShieldUser:U7,LucideShieldX:ro,LucideShip:K7,LucideShipWheel:G7,LucideShirt:Z7,LucideShoppingBag:X7,LucideShoppingBasket:Y7,LucideShoppingCart:J7,LucideShovel:Q7,LucideShowerHead:ev,LucideShredder:tv,LucideShrimp:av,LucideShrink:nv,LucideShrub:ov,LucideShuffle:iv,LucideSidebar:Zn,LucideSidebarClose:Wn,LucideSidebarOpen:Kn,LucideSigma:cv,LucideSigmaSquare:ec,LucideSignal:hv,LucideSignalHigh:rv,LucideSignalLow:sv,LucideSignalMedium:dv,LucideSignalZero:lv,LucideSignature:uv,LucideSignpost:yv,LucideSignpostBig:pv,LucideSiren:kv,LucideSkipBack:mv,LucideSkipForward:fv,LucideSkull:gv,LucideSlack:vv,LucideSlash:Mv,LucideSlashSquare:tc,LucideSlice:xv,LucideSliders:so,LucideSlidersHorizontal:_v,LucideSlidersVertical:so,LucideSmartphone:bv,LucideSmartphoneCharging:Lv,LucideSmartphoneNfc:Iv,LucideSmile:Cv,LucideSmilePlus:wv,LucideSnail:Nv,LucideSnowflake:Sv,LucideSoapDispenserDroplet:jv,LucideSofa:$v,LucideSortAsc:Zt,LucideSortDesc:Wt,LucideSoup:qv,LucideSpace:Av,LucideSpade:zv,LucideSparkle:Vv,LucideSparkles:lo,LucideSpeaker:Pv,LucideSpeech:Tv,LucideSpellCheck:Dv,LucideSpellCheck2:Hv,LucideSpline:Rv,LucideSplinePointer:Bv,LucideSplit:Fv,LucideSplitSquareHorizontal:ac,LucideSplitSquareVertical:nc,LucideSpool:Ev,LucideSpotlight:Ov,LucideSprayCan:Uv,LucideSprout:Wv,LucideSquare:n9,LucideSquareActivity:Nt,LucideSquareArrowDown:po,LucideSquareArrowDownLeft:ho,LucideSquareArrowDownRight:uo,LucideSquareArrowLeft:yo,LucideSquareArrowOutDownLeft:ko,LucideSquareArrowOutDownRight:mo,LucideSquareArrowOutUpLeft:fo,LucideSquareArrowOutUpRight:go,LucideSquareArrowRight:vo,LucideSquareArrowUp:_o,LucideSquareArrowUpLeft:Mo,LucideSquareArrowUpRight:xo,LucideSquareAsterisk:Lo,LucideSquareBottomDashedScissors:Io,LucideSquareChartGantt:st,LucideSquareCheck:wo,LucideSquareCheckBig:bo,LucideSquareChevronDown:Co,LucideSquareChevronLeft:No,LucideSquareChevronRight:So,LucideSquareChevronUp:jo,LucideSquareCode:$o,LucideSquareDashed:zo,LucideSquareDashedBottom:Kv,LucideSquareDashedBottomCode:Gv,LucideSquareDashedKanban:qo,LucideSquareDashedMousePointer:Ao,LucideSquareDashedTopSolid:Zv,LucideSquareDivide:Vo,LucideSquareDot:To,LucideSquareEqual:Po,LucideSquareFunction:Ho,LucideSquareGanttChart:st,LucideSquareKanban:Do,LucideSquareLibrary:Bo,LucideSquareM:Ro,LucideSquareMenu:Fo,LucideSquareMinus:Eo,LucideSquareMousePointer:Uo,LucideSquareParking:Wo,LucideSquareParkingOff:Oo,LucideSquarePause:Xv,LucideSquarePen:Re,LucideSquarePercent:Go,LucideSquarePi:Ko,LucideSquarePilcrow:Zo,LucideSquarePlay:Xo,LucideSquarePlus:Yo,LucideSquarePower:Jo,LucideSquareRadical:Yv,LucideSquareRoundCorner:Jv,LucideSquareScissors:Qo,LucideSquareSigma:ec,LucideSquareSlash:tc,LucideSquareSplitHorizontal:ac,LucideSquareSplitVertical:nc,LucideSquareSquare:Qv,LucideSquareStack:e9,LucideSquareStar:t9,LucideSquareStop:a9,LucideSquareTerminal:oc,LucideSquareUser:ic,LucideSquareUserRound:cc,LucideSquareX:rc,LucideSquaresExclude:o9,LucideSquaresIntersect:c9,LucideSquaresSubtract:i9,LucideSquaresUnite:r9,LucideSquircle:d9,LucideSquircleDashed:s9,LucideSquirrel:l9,LucideStamp:h9,LucideStar:k9,LucideStarHalf:u9,LucideStarOff:p9,LucideStars:lo,LucideStepBack:y9,LucideStepForward:m9,LucideStethoscope:f9,LucideSticker:g9,LucideStickyNote:v9,LucideStopCircle:Oa,LucideStore:M9,LucideStretchHorizontal:x9,LucideStretchVertical:_9,LucideStrikethrough:L9,LucideSubscript:I9,LucideSubtitles:oa,LucideSun:j9,LucideSunDim:b9,LucideSunMedium:w9,LucideSunMoon:C9,LucideSunSnow:N9,LucideSunrise:S9,LucideSunset:$9,LucideSuperscript:q9,LucideSwatchBook:A9,LucideSwissFranc:z9,LucideSwitchCamera:V9,LucideSword:P9,LucideSwords:H9,LucideSyringe:T9,LucideTable:W9,LucideTable2:D9,LucideTableCellsMerge:B9,LucideTableCellsSplit:R9,LucideTableColumnsSplit:F9,LucideTableConfig:it,LucideTableOfContents:E9,LucideTableProperties:O9,LucideTableRowsSplit:U9,LucideTablet:K9,LucideTabletSmartphone:G9,LucideTablets:Z9,LucideTag:X9,LucideTags:Y9,LucideTally1:J9,LucideTally2:Q9,LucideTally3:eM,LucideTally4:tM,LucideTally5:aM,LucideTangent:nM,LucideTarget:oM,LucideTelescope:cM,LucideTent:rM,LucideTentTree:iM,LucideTerminal:sM,LucideTerminalSquare:oc,LucideTestTube:dM,LucideTestTube2:sc,LucideTestTubeDiagonal:sc,LucideTestTubes:lM,LucideText:kM,LucideTextCursor:uM,LucideTextCursorInput:hM,LucideTextQuote:pM,LucideTextSearch:yM,LucideTextSelect:dc,LucideTextSelection:dc,LucideTheater:mM,LucideThermometer:MM,LucideThermometerSnowflake:fM,LucideThermometerSun:gM,LucideThumbsDown:vM,LucideThumbsUp:xM,LucideTicket:NM,LucideTicketCheck:_M,LucideTicketMinus:LM,LucideTicketPercent:IM,LucideTicketPlus:bM,LucideTicketSlash:wM,LucideTicketX:CM,LucideTickets:jM,LucideTicketsPlane:SM,LucideTimer:AM,LucideTimerOff:$M,LucideTimerReset:qM,LucideToggleLeft:zM,LucideToggleRight:VM,LucideToilet:PM,LucideToolCase:TM,LucideTornado:DM,LucideTorus:HM,LucideTouchpad:RM,LucideTouchpadOff:BM,LucideTowerControl:EM,LucideToyBrick:FM,LucideTractor:OM,LucideTrafficCone:UM,LucideTrain:lc,LucideTrainFront:GM,LucideTrainFrontTunnel:WM,LucideTrainTrack:KM,LucideTramFront:lc,LucideTransgender:ZM,LucideTrash:XM,LucideTrash2:dt,LucideTreeDeciduous:YM,LucideTreePalm:hc,LucideTreePine:JM,LucideTrees:QM,LucideTrello:ex,LucideTrendingDown:tx,LucideTrendingUp:ax,LucideTrendingUpDown:nx,LucideTriangle:cx,LucideTriangleAlert:uc,LucideTriangleDashed:ox,LucideTriangleRight:ix,LucideTrophy:rx,LucideTruck:dx,LucideTruckElectric:sx,LucideTurkishLira:lx,LucideTurntable:hx,LucideTurtle:ux,LucideTv:yx,LucideTv2:pc,LucideTvMinimal:pc,LucideTvMinimalPlay:px,LucideTwitch:kx,LucideTwitter:mx,LucideType:gx,LucideTypeOutline:fx,LucideUmbrella:Mx,LucideUmbrellaOff:vx,LucideUnderline:xx,LucideUndo:Ix,LucideUndo2:_x,LucideUndoDot:Lx,LucideUnfoldHorizontal:bx,LucideUnfoldVertical:wx,LucideUngroup:Cx,LucideUniversity:yc,LucideUnlink:$x,LucideUnlink2:Nx,LucideUnlock:Vn,LucideUnlockKeyhole:zn,LucideUnplug:Sx,LucideUpload:jx,LucideUploadCloud:Xa,LucideUsb:qx,LucideUser:Ex,LucideUser2:Mc,LucideUserCheck:Ax,LucideUserCheck2:kc,LucideUserCircle:Wa,LucideUserCircle2:Ua,LucideUserCog:zx,LucideUserCog2:mc,LucideUserLock:Vx,LucideUserMinus:Px,LucideUserMinus2:fc,LucideUserPen:Tx,LucideUserPlus:j1,LucideUserPlus2:gc,LucideUserRound:Mc,LucideUserRoundCheck:kc,LucideUserRoundCog:mc,LucideUserRoundMinus:fc,LucideUserRoundPen:Hx,LucideUserRoundPlus:gc,LucideUserRoundSearch:Dx,LucideUserRoundX:vc,LucideUserSearch:Bx,LucideUserSquare:ic,LucideUserSquare2:cc,LucideUserStar:Rx,LucideUserX:Fx,LucideUserX2:vc,LucideUsers:Ox,LucideUsers2:xc,LucideUsersRound:xc,LucideUtensils:Lc,LucideUtensilsCrossed:_c,LucideUtilityPole:Ux,LucideVariable:Wx,LucideVault:Gx,LucideVectorSquare:Kx,LucideVegan:Zx,LucideVenetianMask:Xx,LucideVenus:e_,LucideVenusAndMars:Yx,LucideVerified:Jt,LucideVibrate:Qx,LucideVibrateOff:Jx,LucideVideo:a_,LucideVideoOff:t_,LucideVideotape:n_,LucideView:c_,LucideVoicemail:o_,LucideVolleyball:i_,LucideVolume:u_,LucideVolume1:r_,LucideVolume2:s_,LucideVolumeOff:d_,LucideVolumeX:l_,LucideVote:h_,LucideWallet:y_,LucideWallet2:Ic,LucideWalletCards:p_,LucideWalletMinimal:Ic,LucideWallpaper:k_,LucideWand:m_,LucideWand2:bc,LucideWandSparkles:bc,LucideWarehouse:f_,LucideWashingMachine:g_,LucideWatch:v_,LucideWaves:x_,LucideWavesLadder:M_,LucideWaypoints:__,LucideWebcam:L_,LucideWebhook:w_,LucideWebhookOff:I_,LucideWeight:b_,LucideWheat:N_,LucideWheatOff:C_,LucideWholeWord:S_,LucideWifi:T_,LucideWifiCog:j_,LucideWifiHigh:$_,LucideWifiLow:q_,LucideWifiOff:A_,LucideWifiPen:z_,LucideWifiSync:V_,LucideWifiZero:P_,LucideWind:D_,LucideWindArrowDown:H_,LucideWine:R_,LucideWineOff:B_,LucideWorkflow:F_,LucideWorm:E_,LucideWrapText:O_,LucideWrench:U_,LucideX:Ke,LucideXCircle:bt,LucideXOctagon:En,LucideXSquare:rc,LucideYoutube:G_,LucideZap:K_,LucideZapOff:W_,LucideZoomIn:Z_,LucideZoomOut:X_,Luggage:w3,LuggageIcon:w3,MSquare:Ro,MSquareIcon:Ro,Magnet:C3,MagnetIcon:C3,Mail:z3,MailCheck:N3,MailCheckIcon:N3,MailIcon:z3,MailMinus:S3,MailMinusIcon:S3,MailOpen:j3,MailOpenIcon:j3,MailPlus:$3,MailPlusIcon:$3,MailQuestion:Pn,MailQuestionIcon:Pn,MailQuestionMark:Pn,MailQuestionMarkIcon:Pn,MailSearch:q3,MailSearchIcon:q3,MailWarning:A3,MailWarningIcon:A3,MailX:V3,MailXIcon:V3,Mailbox:P3,MailboxIcon:P3,Mails:T3,MailsIcon:T3,Map:J3,MapIcon:J3,MapMinus:H3,MapMinusIcon:H3,MapPin:Z3,MapPinCheck:D3,MapPinCheckIcon:D3,MapPinCheckInside:B3,MapPinCheckInsideIcon:B3,MapPinHouse:R3,MapPinHouseIcon:R3,MapPinIcon:Z3,MapPinMinus:E3,MapPinMinusIcon:E3,MapPinMinusInside:F3,MapPinMinusInsideIcon:F3,MapPinOff:O3,MapPinOffIcon:O3,MapPinPen:Tn,MapPinPenIcon:Tn,MapPinPlus:W3,MapPinPlusIcon:W3,MapPinPlusInside:U3,MapPinPlusInsideIcon:U3,MapPinX:K3,MapPinXIcon:K3,MapPinXInside:G3,MapPinXInsideIcon:G3,MapPinned:X3,MapPinnedIcon:X3,MapPlus:Y3,MapPlusIcon:Y3,Mars:em,MarsIcon:em,MarsStroke:Q3,MarsStrokeIcon:Q3,Martini:tm,MartiniIcon:tm,Maximize:om,Maximize2:am,Maximize2Icon:am,MaximizeIcon:om,Medal:nm,MedalIcon:nm,Megaphone:im,MegaphoneIcon:im,MegaphoneOff:cm,MegaphoneOffIcon:cm,Meh:rm,MehIcon:rm,MemoryStick:sm,MemoryStickIcon:sm,Menu:Qc,MenuIcon:Qc,MenuSquare:Fo,MenuSquareIcon:Fo,Merge:dm,MergeIcon:dm,MessageCircle:vm,MessageCircleCode:lm,MessageCircleCodeIcon:lm,MessageCircleDashed:hm,MessageCircleDashedIcon:hm,MessageCircleHeart:um,MessageCircleHeartIcon:um,MessageCircleIcon:vm,MessageCircleMore:pm,MessageCircleMoreIcon:pm,MessageCircleOff:ym,MessageCircleOffIcon:ym,MessageCirclePlus:km,MessageCirclePlusIcon:km,MessageCircleQuestion:Hn,MessageCircleQuestionIcon:Hn,MessageCircleQuestionMark:Hn,MessageCircleQuestionMarkIcon:Hn,MessageCircleReply:mm,MessageCircleReplyIcon:mm,MessageCircleWarning:fm,MessageCircleWarningIcon:fm,MessageCircleX:gm,MessageCircleXIcon:gm,MessageSquare:Vm,MessageSquareCode:Mm,MessageSquareCodeIcon:Mm,MessageSquareDashed:xm,MessageSquareDashedIcon:xm,MessageSquareDiff:_m,MessageSquareDiffIcon:_m,MessageSquareDot:Lm,MessageSquareDotIcon:Lm,MessageSquareHeart:Im,MessageSquareHeartIcon:Im,MessageSquareIcon:Vm,MessageSquareLock:bm,MessageSquareLockIcon:bm,MessageSquareMore:wm,MessageSquareMoreIcon:wm,MessageSquareOff:Cm,MessageSquareOffIcon:Cm,MessageSquarePlus:Nm,MessageSquarePlusIcon:Nm,MessageSquareQuote:Sm,MessageSquareQuoteIcon:Sm,MessageSquareReply:jm,MessageSquareReplyIcon:jm,MessageSquareShare:$m,MessageSquareShareIcon:$m,MessageSquareText:qm,MessageSquareTextIcon:qm,MessageSquareWarning:Am,MessageSquareWarningIcon:Am,MessageSquareX:zm,MessageSquareXIcon:zm,MessagesSquare:Pm,MessagesSquareIcon:Pm,Mic:Hm,Mic2:Dn,Mic2Icon:Dn,MicIcon:Hm,MicOff:Tm,MicOffIcon:Tm,MicVocal:Dn,MicVocalIcon:Dn,Microchip:Dm,MicrochipIcon:Dm,Microscope:Bm,MicroscopeIcon:Bm,Microwave:Rm,MicrowaveIcon:Rm,Milestone:Fm,MilestoneIcon:Fm,Milk:Om,MilkIcon:Om,MilkOff:Em,MilkOffIcon:Em,Minimize:Wm,Minimize2:Um,Minimize2Icon:Um,MinimizeIcon:Wm,Minus:Gm,MinusCircle:Va,MinusCircleIcon:Va,MinusIcon:Gm,MinusSquare:Eo,MinusSquareIcon:Eo,Monitor:i6,MonitorCheck:Km,MonitorCheckIcon:Km,MonitorCog:Zm,MonitorCogIcon:Zm,MonitorDot:Xm,MonitorDotIcon:Xm,MonitorDown:Ym,MonitorDownIcon:Ym,MonitorIcon:i6,MonitorOff:Jm,MonitorOffIcon:Jm,MonitorPause:e6,MonitorPauseIcon:e6,MonitorPlay:Qm,MonitorPlayIcon:Qm,MonitorSmartphone:t6,MonitorSmartphoneIcon:t6,MonitorSpeaker:a6,MonitorSpeakerIcon:a6,MonitorStop:n6,MonitorStopIcon:n6,MonitorUp:o6,MonitorUpIcon:o6,MonitorX:c6,MonitorXIcon:c6,Moon:s6,MoonIcon:s6,MoonStar:r6,MoonStarIcon:r6,MoreHorizontal:on,MoreHorizontalIcon:on,MoreVertical:nn,MoreVerticalIcon:nn,Mountain:l6,MountainIcon:l6,MountainSnow:d6,MountainSnowIcon:d6,Mouse:m6,MouseIcon:m6,MouseOff:h6,MouseOffIcon:h6,MousePointer:y6,MousePointer2:u6,MousePointer2Icon:u6,MousePointerBan:p6,MousePointerBanIcon:p6,MousePointerClick:k6,MousePointerClickIcon:k6,MousePointerIcon:y6,MousePointerSquareDashed:Ao,MousePointerSquareDashedIcon:Ao,Move:a.Move,Move3D:Bn,Move3DIcon:Bn,Move3d:Bn,Move3dIcon:Bn,MoveDiagonal:g6,MoveDiagonal2:f6,MoveDiagonal2Icon:f6,MoveDiagonalIcon:g6,MoveDown:_6,MoveDownIcon:_6,MoveDownLeft:v6,MoveDownLeftIcon:v6,MoveDownRight:M6,MoveDownRightIcon:M6,MoveHorizontal:x6,MoveHorizontalIcon:x6,MoveIcon:a.Move,MoveLeft:L6,MoveLeftIcon:L6,MoveRight:I6,MoveRightIcon:I6,MoveUp:C6,MoveUpIcon:C6,MoveUpLeft:b6,MoveUpLeftIcon:b6,MoveUpRight:w6,MoveUpRightIcon:w6,MoveVertical:N6,MoveVerticalIcon:N6,Music:q6,Music2:S6,Music2Icon:S6,Music3:j6,Music3Icon:j6,Music4:$6,Music4Icon:$6,MusicIcon:q6,Navigation:P6,Navigation2:z6,Navigation2Icon:z6,Navigation2Off:A6,Navigation2OffIcon:A6,NavigationIcon:P6,NavigationOff:V6,NavigationOffIcon:V6,Network:T6,NetworkIcon:T6,Newspaper:H6,NewspaperIcon:H6,Nfc:D6,NfcIcon:D6,NonBinary:B6,NonBinaryIcon:B6,Notebook:O6,NotebookIcon:O6,NotebookPen:R6,NotebookPenIcon:R6,NotebookTabs:F6,NotebookTabsIcon:F6,NotebookText:E6,NotebookTextIcon:E6,NotepadText:W6,NotepadTextDashed:U6,NotepadTextDashedIcon:U6,NotepadTextIcon:W6,Nut:K6,NutIcon:K6,NutOff:G6,NutOffIcon:G6,Octagon:X6,OctagonAlert:Rn,OctagonAlertIcon:Rn,OctagonIcon:X6,OctagonMinus:Z6,OctagonMinusIcon:Z6,OctagonPause:Fn,OctagonPauseIcon:Fn,OctagonX:En,OctagonXIcon:En,Omega:Y6,OmegaIcon:Y6,Option:J6,OptionIcon:J6,Orbit:Q6,OrbitIcon:Q6,Origami:e8,OrigamiIcon:e8,Outdent:Sn,OutdentIcon:Sn,Package:s8,Package2:t8,Package2Icon:t8,PackageCheck:a8,PackageCheckIcon:a8,PackageIcon:s8,PackageMinus:n8,PackageMinusIcon:n8,PackageOpen:o8,PackageOpenIcon:o8,PackagePlus:c8,PackagePlusIcon:c8,PackageSearch:i8,PackageSearchIcon:i8,PackageX:r8,PackageXIcon:r8,PaintBucket:d8,PaintBucketIcon:d8,PaintRoller:l8,PaintRollerIcon:l8,Paintbrush:h8,Paintbrush2:On,Paintbrush2Icon:On,PaintbrushIcon:h8,PaintbrushVertical:On,PaintbrushVerticalIcon:On,Palette:u8,PaletteIcon:u8,Palmtree:hc,PalmtreeIcon:hc,Panda:p8,PandaIcon:p8,PanelBottom:m8,PanelBottomClose:y8,PanelBottomCloseIcon:y8,PanelBottomDashed:Un,PanelBottomDashedIcon:Un,PanelBottomIcon:m8,PanelBottomInactive:Un,PanelBottomInactiveIcon:Un,PanelBottomOpen:k8,PanelBottomOpenIcon:k8,PanelLeft:Zn,PanelLeftClose:Wn,PanelLeftCloseIcon:Wn,PanelLeftDashed:Gn,PanelLeftDashedIcon:Gn,PanelLeftIcon:Zn,PanelLeftInactive:Gn,PanelLeftInactiveIcon:Gn,PanelLeftOpen:Kn,PanelLeftOpenIcon:Kn,PanelRight:v8,PanelRightClose:f8,PanelRightCloseIcon:f8,PanelRightDashed:Xn,PanelRightDashedIcon:Xn,PanelRightIcon:v8,PanelRightInactive:Xn,PanelRightInactiveIcon:Xn,PanelRightOpen:g8,PanelRightOpenIcon:g8,PanelTop:_8,PanelTopClose:M8,PanelTopCloseIcon:M8,PanelTopDashed:Yn,PanelTopDashedIcon:Yn,PanelTopIcon:_8,PanelTopInactive:Yn,PanelTopInactiveIcon:Yn,PanelTopOpen:x8,PanelTopOpenIcon:x8,PanelsLeftBottom:L8,PanelsLeftBottomIcon:L8,PanelsLeftRight:Qa,PanelsLeftRightIcon:Qa,PanelsRightBottom:I8,PanelsRightBottomIcon:I8,PanelsTopBottom:no,PanelsTopBottomIcon:no,PanelsTopLeft:Jn,PanelsTopLeftIcon:Jn,Paperclip:b8,PaperclipIcon:b8,Parentheses:w8,ParenthesesIcon:w8,ParkingCircle:Ha,ParkingCircleIcon:Ha,ParkingCircleOff:Pa,ParkingCircleOffIcon:Pa,ParkingMeter:C8,ParkingMeterIcon:C8,ParkingSquare:Wo,ParkingSquareIcon:Wo,ParkingSquareOff:Oo,ParkingSquareOffIcon:Oo,PartyPopper:N8,PartyPopperIcon:N8,Pause:S8,PauseCircle:Ta,PauseCircleIcon:Ta,PauseIcon:S8,PauseOctagon:Fn,PauseOctagonIcon:Fn,PawPrint:j8,PawPrintIcon:j8,PcCase:$8,PcCaseIcon:$8,Pen:kt,PenBox:Re,PenBoxIcon:Re,PenIcon:kt,PenLine:yt,PenLineIcon:yt,PenOff:A8,PenOffIcon:A8,PenSquare:Re,PenSquareIcon:Re,PenTool:q8,PenToolIcon:q8,Pencil:e1,PencilIcon:e1,PencilLine:z8,PencilLineIcon:z8,PencilOff:V8,PencilOffIcon:V8,PencilRuler:P8,PencilRulerIcon:P8,Pentagon:T8,PentagonIcon:T8,Percent:H8,PercentCircle:Da,PercentCircleIcon:Da,PercentDiamond:tn,PercentDiamondIcon:tn,PercentIcon:H8,PercentSquare:Go,PercentSquareIcon:Go,PersonStanding:B8,PersonStandingIcon:B8,PhilippinePeso:D8,PhilippinePesoIcon:D8,Phone:W8,PhoneCall:R8,PhoneCallIcon:R8,PhoneForwarded:F8,PhoneForwardedIcon:F8,PhoneIcon:W8,PhoneIncoming:E8,PhoneIncomingIcon:E8,PhoneMissed:O8,PhoneMissedIcon:O8,PhoneOff:U8,PhoneOffIcon:U8,PhoneOutgoing:G8,PhoneOutgoingIcon:G8,Pi:K8,PiIcon:K8,PiSquare:Ko,PiSquareIcon:Ko,Piano:Z8,PianoIcon:Z8,Pickaxe:X8,PickaxeIcon:X8,PictureInPicture:J8,PictureInPicture2:Y8,PictureInPicture2Icon:Y8,PictureInPictureIcon:J8,PieChart:ma,PieChartIcon:ma,PiggyBank:Q8,PiggyBankIcon:Q8,Pilcrow:tf,PilcrowIcon:tf,PilcrowLeft:ef,PilcrowLeftIcon:ef,PilcrowRight:af,PilcrowRightIcon:af,PilcrowSquare:Zo,PilcrowSquareIcon:Zo,Pill:of,PillBottle:nf,PillBottleIcon:nf,PillIcon:of,Pin:rf,PinIcon:rf,PinOff:cf,PinOffIcon:cf,Pipette:sf,PipetteIcon:sf,Pizza:df,PizzaIcon:df,Plane:uf,PlaneIcon:uf,PlaneLanding:lf,PlaneLandingIcon:lf,PlaneTakeoff:hf,PlaneTakeoffIcon:hf,Play:pf,PlayCircle:Ba,PlayCircleIcon:Ba,PlayIcon:pf,PlaySquare:Xo,PlaySquareIcon:Xo,Plug:kf,Plug2:yf,Plug2Icon:yf,PlugIcon:kf,PlugZap:Qn,PlugZap2:Qn,PlugZap2Icon:Qn,PlugZapIcon:Qn,Plus:$c,PlusCircle:Ra,PlusCircleIcon:Ra,PlusIcon:$c,PlusSquare:Yo,PlusSquareIcon:Yo,Pocket:ff,PocketIcon:ff,PocketKnife:mf,PocketKnifeIcon:mf,Podcast:gf,PodcastIcon:gf,Pointer:Mf,PointerIcon:Mf,PointerOff:vf,PointerOffIcon:vf,Popcorn:_f,PopcornIcon:_f,Popsicle:xf,PopsicleIcon:xf,PoundSterling:Lf,PoundSterlingIcon:Lf,Power:bf,PowerCircle:Fa,PowerCircleIcon:Fa,PowerIcon:bf,PowerOff:If,PowerOffIcon:If,PowerSquare:Jo,PowerSquareIcon:Jo,Presentation:wf,PresentationIcon:wf,Printer:Nf,PrinterCheck:Cf,PrinterCheckIcon:Cf,PrinterIcon:Nf,Projector:Sf,ProjectorIcon:Sf,Proportions:jf,ProportionsIcon:jf,Puzzle:qf,PuzzleIcon:qf,Pyramid:$f,PyramidIcon:$f,QrCode:Af,QrCodeIcon:Af,Quote:zf,QuoteIcon:zf,Rabbit:Vf,RabbitIcon:Vf,Radar:Pf,RadarIcon:Pf,Radiation:Tf,RadiationIcon:Tf,Radical:Hf,RadicalIcon:Hf,Radio:Rf,RadioIcon:Rf,RadioReceiver:Df,RadioReceiverIcon:Df,RadioTower:Bf,RadioTowerIcon:Bf,Radius:Ff,RadiusIcon:Ff,RailSymbol:Ef,RailSymbolIcon:Ef,Rainbow:Of,RainbowIcon:Of,Rat:Uf,RatIcon:Uf,Ratio:Wf,RatioIcon:Wf,Receipt:ag,ReceiptCent:Gf,ReceiptCentIcon:Gf,ReceiptEuro:Zf,ReceiptEuroIcon:Zf,ReceiptIcon:ag,ReceiptIndianRupee:Kf,ReceiptIndianRupeeIcon:Kf,ReceiptJapaneseYen:Xf,ReceiptJapaneseYenIcon:Xf,ReceiptPoundSterling:Yf,ReceiptPoundSterlingIcon:Yf,ReceiptRussianRuble:Jf,ReceiptRussianRubleIcon:Jf,ReceiptSwissFranc:Qf,ReceiptSwissFrancIcon:Qf,ReceiptText:eg,ReceiptTextIcon:eg,ReceiptTurkishLira:tg,ReceiptTurkishLiraIcon:tg,RectangleCircle:ng,RectangleCircleIcon:ng,RectangleEllipsis:eo,RectangleEllipsisIcon:eo,RectangleGoggles:og,RectangleGogglesIcon:og,RectangleHorizontal:cg,RectangleHorizontalIcon:cg,RectangleVertical:ig,RectangleVerticalIcon:ig,Recycle:rg,RecycleIcon:rg,Redo:lg,Redo2:sg,Redo2Icon:sg,RedoDot:dg,RedoDotIcon:dg,RedoIcon:lg,RefreshCcw:ug,RefreshCcwDot:hg,RefreshCcwDotIcon:hg,RefreshCcwIcon:ug,RefreshCw:yg,RefreshCwIcon:yg,RefreshCwOff:pg,RefreshCwOffIcon:pg,Refrigerator:kg,RefrigeratorIcon:kg,Regex:mg,RegexIcon:mg,RemoveFormatting:fg,RemoveFormattingIcon:fg,Repeat:Mg,Repeat1:gg,Repeat1Icon:gg,Repeat2:vg,Repeat2Icon:vg,RepeatIcon:Mg,Replace:_g,ReplaceAll:xg,ReplaceAllIcon:xg,ReplaceIcon:_g,Reply:bg,ReplyAll:Lg,ReplyAllIcon:Lg,ReplyIcon:bg,Rewind:Ig,RewindIcon:Ig,Ribbon:wg,RibbonIcon:wg,Rocket:Cg,RocketIcon:Cg,RockingChair:jg,RockingChairIcon:jg,RollerCoaster:Ng,RollerCoasterIcon:Ng,Rose:Sg,RoseIcon:Sg,Rotate3D:to,Rotate3DIcon:to,Rotate3d:to,Rotate3dIcon:to,RotateCcw:Ag,RotateCcwIcon:Ag,RotateCcwKey:$g,RotateCcwKeyIcon:$g,RotateCcwSquare:qg,RotateCcwSquareIcon:qg,RotateCw:Vg,RotateCwIcon:Vg,RotateCwSquare:zg,RotateCwSquareIcon:zg,Route:Tg,RouteIcon:Tg,RouteOff:Pg,RouteOffIcon:Pg,Router:Hg,RouterIcon:Hg,Rows:ao,Rows2:ao,Rows2Icon:ao,Rows3:no,Rows3Icon:no,Rows4:Dg,Rows4Icon:Dg,RowsIcon:ao,Rss:Bg,RssIcon:Bg,Ruler:Fg,RulerDimensionLine:Rg,RulerDimensionLineIcon:Rg,RulerIcon:Fg,RussianRuble:Eg,RussianRubleIcon:Eg,Sailboat:Og,SailboatIcon:Og,Salad:Ug,SaladIcon:Ug,Sandwich:Wg,SandwichIcon:Wg,Satellite:Kg,SatelliteDish:Gg,SatelliteDishIcon:Gg,SatelliteIcon:Kg,SaudiRiyal:Zg,SaudiRiyalIcon:Zg,Save:Qg,SaveAll:Xg,SaveAllIcon:Xg,SaveIcon:Qg,SaveOff:Yg,SaveOffIcon:Yg,Scale:Jg,Scale3D:oo,Scale3DIcon:oo,Scale3d:oo,Scale3dIcon:oo,ScaleIcon:Jg,Scaling:e7,ScalingIcon:e7,Scan:d7,ScanBarcode:t7,ScanBarcodeIcon:t7,ScanEye:a7,ScanEyeIcon:a7,ScanFace:n7,ScanFaceIcon:n7,ScanHeart:o7,ScanHeartIcon:o7,ScanIcon:d7,ScanLine:c7,ScanLineIcon:c7,ScanQrCode:i7,ScanQrCodeIcon:i7,ScanSearch:r7,ScanSearchIcon:r7,ScanText:s7,ScanTextIcon:s7,ScatterChart:fa,ScatterChartIcon:fa,School:l7,School2:yc,School2Icon:yc,SchoolIcon:l7,Scissors:u7,ScissorsIcon:u7,ScissorsLineDashed:h7,ScissorsLineDashedIcon:h7,ScissorsSquare:Qo,ScissorsSquareDashedBottom:Io,ScissorsSquareDashedBottomIcon:Io,ScissorsSquareIcon:Qo,ScreenShare:p7,ScreenShareIcon:p7,ScreenShareOff:y7,ScreenShareOffIcon:y7,Scroll:m7,ScrollIcon:m7,ScrollText:k7,ScrollTextIcon:k7,Search:S1,SearchCheck:f7,SearchCheckIcon:f7,SearchCode:g7,SearchCodeIcon:g7,SearchIcon:S1,SearchSlash:v7,SearchSlashIcon:v7,SearchX:M7,SearchXIcon:M7,Section:x7,SectionIcon:x7,Send:L7,SendHorizonal:co,SendHorizonalIcon:co,SendHorizontal:co,SendHorizontalIcon:co,SendIcon:L7,SendToBack:_7,SendToBackIcon:_7,SeparatorHorizontal:I7,SeparatorHorizontalIcon:I7,SeparatorVertical:b7,SeparatorVerticalIcon:b7,Server:S7,ServerCog:w7,ServerCogIcon:w7,ServerCrash:N7,ServerCrashIcon:N7,ServerIcon:S7,ServerOff:C7,ServerOffIcon:C7,Settings:$7,Settings2:j7,Settings2Icon:j7,SettingsIcon:$7,Shapes:q7,ShapesIcon:q7,Share:z7,Share2:A7,Share2Icon:A7,ShareIcon:z7,Sheet:V7,SheetIcon:V7,Shell:P7,ShellIcon:P7,Shield:W7,ShieldAlert:T7,ShieldAlertIcon:T7,ShieldBan:H7,ShieldBanIcon:H7,ShieldCheck:D7,ShieldCheckIcon:D7,ShieldClose:ro,ShieldCloseIcon:ro,ShieldEllipsis:B7,ShieldEllipsisIcon:B7,ShieldHalf:R7,ShieldHalfIcon:R7,ShieldIcon:W7,ShieldMinus:E7,ShieldMinusIcon:E7,ShieldOff:F7,ShieldOffIcon:F7,ShieldPlus:O7,ShieldPlusIcon:O7,ShieldQuestion:io,ShieldQuestionIcon:io,ShieldQuestionMark:io,ShieldQuestionMarkIcon:io,ShieldUser:U7,ShieldUserIcon:U7,ShieldX:ro,ShieldXIcon:ro,Ship:K7,ShipIcon:K7,ShipWheel:G7,ShipWheelIcon:G7,Shirt:Z7,ShirtIcon:Z7,ShoppingBag:X7,ShoppingBagIcon:X7,ShoppingBasket:Y7,ShoppingBasketIcon:Y7,ShoppingCart:J7,ShoppingCartIcon:J7,Shovel:Q7,ShovelIcon:Q7,ShowerHead:ev,ShowerHeadIcon:ev,Shredder:tv,ShredderIcon:tv,Shrimp:av,ShrimpIcon:av,Shrink:nv,ShrinkIcon:nv,Shrub:ov,ShrubIcon:ov,Shuffle:iv,ShuffleIcon:iv,Sidebar:Zn,SidebarClose:Wn,SidebarCloseIcon:Wn,SidebarIcon:Zn,SidebarOpen:Kn,SidebarOpenIcon:Kn,Sigma:cv,SigmaIcon:cv,SigmaSquare:ec,SigmaSquareIcon:ec,Signal:hv,SignalHigh:rv,SignalHighIcon:rv,SignalIcon:hv,SignalLow:sv,SignalLowIcon:sv,SignalMedium:dv,SignalMediumIcon:dv,SignalZero:lv,SignalZeroIcon:lv,Signature:uv,SignatureIcon:uv,Signpost:yv,SignpostBig:pv,SignpostBigIcon:pv,SignpostIcon:yv,Siren:kv,SirenIcon:kv,SkipBack:mv,SkipBackIcon:mv,SkipForward:fv,SkipForwardIcon:fv,Skull:gv,SkullIcon:gv,Slack:vv,SlackIcon:vv,Slash:Mv,SlashIcon:Mv,SlashSquare:tc,SlashSquareIcon:tc,Slice:xv,SliceIcon:xv,Sliders:so,SlidersHorizontal:_v,SlidersHorizontalIcon:_v,SlidersIcon:so,SlidersVertical:so,SlidersVerticalIcon:so,Smartphone:bv,SmartphoneCharging:Lv,SmartphoneChargingIcon:Lv,SmartphoneIcon:bv,SmartphoneNfc:Iv,SmartphoneNfcIcon:Iv,Smile:Cv,SmileIcon:Cv,SmilePlus:wv,SmilePlusIcon:wv,Snail:Nv,SnailIcon:Nv,Snowflake:Sv,SnowflakeIcon:Sv,SoapDispenserDroplet:jv,SoapDispenserDropletIcon:jv,Sofa:$v,SofaIcon:$v,SortAsc:Zt,SortAscIcon:Zt,SortDesc:Wt,SortDescIcon:Wt,Soup:qv,SoupIcon:qv,Space:Av,SpaceIcon:Av,Spade:zv,SpadeIcon:zv,Sparkle:Vv,SparkleIcon:Vv,Sparkles:lo,SparklesIcon:lo,Speaker:Pv,SpeakerIcon:Pv,Speech:Tv,SpeechIcon:Tv,SpellCheck:Dv,SpellCheck2:Hv,SpellCheck2Icon:Hv,SpellCheckIcon:Dv,Spline:Rv,SplineIcon:Rv,SplinePointer:Bv,SplinePointerIcon:Bv,Split:Fv,SplitIcon:Fv,SplitSquareHorizontal:ac,SplitSquareHorizontalIcon:ac,SplitSquareVertical:nc,SplitSquareVerticalIcon:nc,Spool:Ev,SpoolIcon:Ev,Spotlight:Ov,SpotlightIcon:Ov,SprayCan:Uv,SprayCanIcon:Uv,Sprout:Wv,SproutIcon:Wv,Square:n9,SquareActivity:Nt,SquareActivityIcon:Nt,SquareArrowDown:po,SquareArrowDownIcon:po,SquareArrowDownLeft:ho,SquareArrowDownLeftIcon:ho,SquareArrowDownRight:uo,SquareArrowDownRightIcon:uo,SquareArrowLeft:yo,SquareArrowLeftIcon:yo,SquareArrowOutDownLeft:ko,SquareArrowOutDownLeftIcon:ko,SquareArrowOutDownRight:mo,SquareArrowOutDownRightIcon:mo,SquareArrowOutUpLeft:fo,SquareArrowOutUpLeftIcon:fo,SquareArrowOutUpRight:go,SquareArrowOutUpRightIcon:go,SquareArrowRight:vo,SquareArrowRightIcon:vo,SquareArrowUp:_o,SquareArrowUpIcon:_o,SquareArrowUpLeft:Mo,SquareArrowUpLeftIcon:Mo,SquareArrowUpRight:xo,SquareArrowUpRightIcon:xo,SquareAsterisk:Lo,SquareAsteriskIcon:Lo,SquareBottomDashedScissors:Io,SquareBottomDashedScissorsIcon:Io,SquareChartGantt:st,SquareChartGanttIcon:st,SquareCheck:wo,SquareCheckBig:bo,SquareCheckBigIcon:bo,SquareCheckIcon:wo,SquareChevronDown:Co,SquareChevronDownIcon:Co,SquareChevronLeft:No,SquareChevronLeftIcon:No,SquareChevronRight:So,SquareChevronRightIcon:So,SquareChevronUp:jo,SquareChevronUpIcon:jo,SquareCode:$o,SquareCodeIcon:$o,SquareDashed:zo,SquareDashedBottom:Kv,SquareDashedBottomCode:Gv,SquareDashedBottomCodeIcon:Gv,SquareDashedBottomIcon:Kv,SquareDashedIcon:zo,SquareDashedKanban:qo,SquareDashedKanbanIcon:qo,SquareDashedMousePointer:Ao,SquareDashedMousePointerIcon:Ao,SquareDashedTopSolid:Zv,SquareDashedTopSolidIcon:Zv,SquareDivide:Vo,SquareDivideIcon:Vo,SquareDot:To,SquareDotIcon:To,SquareEqual:Po,SquareEqualIcon:Po,SquareFunction:Ho,SquareFunctionIcon:Ho,SquareGanttChart:st,SquareGanttChartIcon:st,SquareIcon:n9,SquareKanban:Do,SquareKanbanIcon:Do,SquareLibrary:Bo,SquareLibraryIcon:Bo,SquareM:Ro,SquareMIcon:Ro,SquareMenu:Fo,SquareMenuIcon:Fo,SquareMinus:Eo,SquareMinusIcon:Eo,SquareMousePointer:Uo,SquareMousePointerIcon:Uo,SquareParking:Wo,SquareParkingIcon:Wo,SquareParkingOff:Oo,SquareParkingOffIcon:Oo,SquarePause:Xv,SquarePauseIcon:Xv,SquarePen:Re,SquarePenIcon:Re,SquarePercent:Go,SquarePercentIcon:Go,SquarePi:Ko,SquarePiIcon:Ko,SquarePilcrow:Zo,SquarePilcrowIcon:Zo,SquarePlay:Xo,SquarePlayIcon:Xo,SquarePlus:Yo,SquarePlusIcon:Yo,SquarePower:Jo,SquarePowerIcon:Jo,SquareRadical:Yv,SquareRadicalIcon:Yv,SquareRoundCorner:Jv,SquareRoundCornerIcon:Jv,SquareScissors:Qo,SquareScissorsIcon:Qo,SquareSigma:ec,SquareSigmaIcon:ec,SquareSlash:tc,SquareSlashIcon:tc,SquareSplitHorizontal:ac,SquareSplitHorizontalIcon:ac,SquareSplitVertical:nc,SquareSplitVerticalIcon:nc,SquareSquare:Qv,SquareSquareIcon:Qv,SquareStack:e9,SquareStackIcon:e9,SquareStar:t9,SquareStarIcon:t9,SquareStop:a9,SquareStopIcon:a9,SquareTerminal:oc,SquareTerminalIcon:oc,SquareUser:ic,SquareUserIcon:ic,SquareUserRound:cc,SquareUserRoundIcon:cc,SquareX:rc,SquareXIcon:rc,SquaresExclude:o9,SquaresExcludeIcon:o9,SquaresIntersect:c9,SquaresIntersectIcon:c9,SquaresSubtract:i9,SquaresSubtractIcon:i9,SquaresUnite:r9,SquaresUniteIcon:r9,Squircle:d9,SquircleDashed:s9,SquircleDashedIcon:s9,SquircleIcon:d9,Squirrel:l9,SquirrelIcon:l9,Stamp:h9,StampIcon:h9,Star:k9,StarHalf:u9,StarHalfIcon:u9,StarIcon:k9,StarOff:p9,StarOffIcon:p9,Stars:lo,StarsIcon:lo,StepBack:y9,StepBackIcon:y9,StepForward:m9,StepForwardIcon:m9,Stethoscope:f9,StethoscopeIcon:f9,Sticker:g9,StickerIcon:g9,StickyNote:v9,StickyNoteIcon:v9,StopCircle:Oa,StopCircleIcon:Oa,Store:M9,StoreIcon:M9,StretchHorizontal:x9,StretchHorizontalIcon:x9,StretchVertical:_9,StretchVerticalIcon:_9,Strikethrough:L9,StrikethroughIcon:L9,Subscript:I9,SubscriptIcon:I9,Subtitles:oa,SubtitlesIcon:oa,Sun:j9,SunDim:b9,SunDimIcon:b9,SunIcon:j9,SunMedium:w9,SunMediumIcon:w9,SunMoon:C9,SunMoonIcon:C9,SunSnow:N9,SunSnowIcon:N9,Sunrise:S9,SunriseIcon:S9,Sunset:$9,SunsetIcon:$9,Superscript:q9,SuperscriptIcon:q9,SwatchBook:A9,SwatchBookIcon:A9,SwissFranc:z9,SwissFrancIcon:z9,SwitchCamera:V9,SwitchCameraIcon:V9,Sword:P9,SwordIcon:P9,Swords:H9,SwordsIcon:H9,Syringe:T9,SyringeIcon:T9,Table:W9,Table2:D9,Table2Icon:D9,TableCellsMerge:B9,TableCellsMergeIcon:B9,TableCellsSplit:R9,TableCellsSplitIcon:R9,TableColumnsSplit:F9,TableColumnsSplitIcon:F9,TableConfig:it,TableConfigIcon:it,TableIcon:W9,TableOfContents:E9,TableOfContentsIcon:E9,TableProperties:O9,TablePropertiesIcon:O9,TableRowsSplit:U9,TableRowsSplitIcon:U9,Tablet:K9,TabletIcon:K9,TabletSmartphone:G9,TabletSmartphoneIcon:G9,Tablets:Z9,TabletsIcon:Z9,Tag:X9,TagIcon:X9,Tags:Y9,TagsIcon:Y9,Tally1:J9,Tally1Icon:J9,Tally2:Q9,Tally2Icon:Q9,Tally3:eM,Tally3Icon:eM,Tally4:tM,Tally4Icon:tM,Tally5:aM,Tally5Icon:aM,Tangent:nM,TangentIcon:nM,Target:oM,TargetIcon:oM,Telescope:cM,TelescopeIcon:cM,Tent:rM,TentIcon:rM,TentTree:iM,TentTreeIcon:iM,Terminal:sM,TerminalIcon:sM,TerminalSquare:oc,TerminalSquareIcon:oc,TestTube:dM,TestTube2:sc,TestTube2Icon:sc,TestTubeDiagonal:sc,TestTubeDiagonalIcon:sc,TestTubeIcon:dM,TestTubes:lM,TestTubesIcon:lM,Text:kM,TextCursor:uM,TextCursorIcon:uM,TextCursorInput:hM,TextCursorInputIcon:hM,TextIcon:kM,TextQuote:pM,TextQuoteIcon:pM,TextSearch:yM,TextSearchIcon:yM,TextSelect:dc,TextSelectIcon:dc,TextSelection:dc,TextSelectionIcon:dc,Theater:mM,TheaterIcon:mM,Thermometer:MM,ThermometerIcon:MM,ThermometerSnowflake:fM,ThermometerSnowflakeIcon:fM,ThermometerSun:gM,ThermometerSunIcon:gM,ThumbsDown:vM,ThumbsDownIcon:vM,ThumbsUp:xM,ThumbsUpIcon:xM,Ticket:NM,TicketCheck:_M,TicketCheckIcon:_M,TicketIcon:NM,TicketMinus:LM,TicketMinusIcon:LM,TicketPercent:IM,TicketPercentIcon:IM,TicketPlus:bM,TicketPlusIcon:bM,TicketSlash:wM,TicketSlashIcon:wM,TicketX:CM,TicketXIcon:CM,Tickets:jM,TicketsIcon:jM,TicketsPlane:SM,TicketsPlaneIcon:SM,Timer:AM,TimerIcon:AM,TimerOff:$M,TimerOffIcon:$M,TimerReset:qM,TimerResetIcon:qM,ToggleLeft:zM,ToggleLeftIcon:zM,ToggleRight:VM,ToggleRightIcon:VM,Toilet:PM,ToiletIcon:PM,ToolCase:TM,ToolCaseIcon:TM,Tornado:DM,TornadoIcon:DM,Torus:HM,TorusIcon:HM,Touchpad:RM,TouchpadIcon:RM,TouchpadOff:BM,TouchpadOffIcon:BM,TowerControl:EM,TowerControlIcon:EM,ToyBrick:FM,ToyBrickIcon:FM,Tractor:OM,TractorIcon:OM,TrafficCone:UM,TrafficConeIcon:UM,Train:lc,TrainFront:GM,TrainFrontIcon:GM,TrainFrontTunnel:WM,TrainFrontTunnelIcon:WM,TrainIcon:lc,TrainTrack:KM,TrainTrackIcon:KM,TramFront:lc,TramFrontIcon:lc,Transgender:ZM,TransgenderIcon:ZM,Trash:XM,Trash2:dt,Trash2Icon:dt,TrashIcon:XM,TreeDeciduous:YM,TreeDeciduousIcon:YM,TreePalm:hc,TreePalmIcon:hc,TreePine:JM,TreePineIcon:JM,Trees:QM,TreesIcon:QM,Trello:ex,TrelloIcon:ex,TrendingDown:tx,TrendingDownIcon:tx,TrendingUp:ax,TrendingUpDown:nx,TrendingUpDownIcon:nx,TrendingUpIcon:ax,Triangle:cx,TriangleAlert:uc,TriangleAlertIcon:uc,TriangleDashed:ox,TriangleDashedIcon:ox,TriangleIcon:cx,TriangleRight:ix,TriangleRightIcon:ix,Trophy:rx,TrophyIcon:rx,Truck:dx,TruckElectric:sx,TruckElectricIcon:sx,TruckIcon:dx,TurkishLira:lx,TurkishLiraIcon:lx,Turntable:hx,TurntableIcon:hx,Turtle:ux,TurtleIcon:ux,Tv:yx,Tv2:pc,Tv2Icon:pc,TvIcon:yx,TvMinimal:pc,TvMinimalIcon:pc,TvMinimalPlay:px,TvMinimalPlayIcon:px,Twitch:kx,TwitchIcon:kx,Twitter:mx,TwitterIcon:mx,Type:gx,TypeIcon:gx,TypeOutline:fx,TypeOutlineIcon:fx,Umbrella:Mx,UmbrellaIcon:Mx,UmbrellaOff:vx,UmbrellaOffIcon:vx,Underline:xx,UnderlineIcon:xx,Undo:Ix,Undo2:_x,Undo2Icon:_x,UndoDot:Lx,UndoDotIcon:Lx,UndoIcon:Ix,UnfoldHorizontal:bx,UnfoldHorizontalIcon:bx,UnfoldVertical:wx,UnfoldVerticalIcon:wx,Ungroup:Cx,UngroupIcon:Cx,University:yc,UniversityIcon:yc,Unlink:$x,Unlink2:Nx,Unlink2Icon:Nx,UnlinkIcon:$x,Unlock:Vn,UnlockIcon:Vn,UnlockKeyhole:zn,UnlockKeyholeIcon:zn,Unplug:Sx,UnplugIcon:Sx,Upload:jx,UploadCloud:Xa,UploadCloudIcon:Xa,UploadIcon:jx,Usb:qx,UsbIcon:qx,User:Ex,User2:Mc,User2Icon:Mc,UserCheck:Ax,UserCheck2:kc,UserCheck2Icon:kc,UserCheckIcon:Ax,UserCircle:Wa,UserCircle2:Ua,UserCircle2Icon:Ua,UserCircleIcon:Wa,UserCog:zx,UserCog2:mc,UserCog2Icon:mc,UserCogIcon:zx,UserIcon:Ex,UserLock:Vx,UserLockIcon:Vx,UserMinus:Px,UserMinus2:fc,UserMinus2Icon:fc,UserMinusIcon:Px,UserPen:Tx,UserPenIcon:Tx,UserPlus:j1,UserPlus2:gc,UserPlus2Icon:gc,UserPlusIcon:j1,UserRound:Mc,UserRoundCheck:kc,UserRoundCheckIcon:kc,UserRoundCog:mc,UserRoundCogIcon:mc,UserRoundIcon:Mc,UserRoundMinus:fc,UserRoundMinusIcon:fc,UserRoundPen:Hx,UserRoundPenIcon:Hx,UserRoundPlus:gc,UserRoundPlusIcon:gc,UserRoundSearch:Dx,UserRoundSearchIcon:Dx,UserRoundX:vc,UserRoundXIcon:vc,UserSearch:Bx,UserSearchIcon:Bx,UserSquare:ic,UserSquare2:cc,UserSquare2Icon:cc,UserSquareIcon:ic,UserStar:Rx,UserStarIcon:Rx,UserX:Fx,UserX2:vc,UserX2Icon:vc,UserXIcon:Fx,Users:Ox,Users2:xc,Users2Icon:xc,UsersIcon:Ox,UsersRound:xc,UsersRoundIcon:xc,Utensils:Lc,UtensilsCrossed:_c,UtensilsCrossedIcon:_c,UtensilsIcon:Lc,UtilityPole:Ux,UtilityPoleIcon:Ux,Variable:Wx,VariableIcon:Wx,Vault:Gx,VaultIcon:Gx,VectorSquare:Kx,VectorSquareIcon:Kx,Vegan:Zx,VeganIcon:Zx,VenetianMask:Xx,VenetianMaskIcon:Xx,Venus:e_,VenusAndMars:Yx,VenusAndMarsIcon:Yx,VenusIcon:e_,Verified:Jt,VerifiedIcon:Jt,Vibrate:Qx,VibrateIcon:Qx,VibrateOff:Jx,VibrateOffIcon:Jx,Video:a_,VideoIcon:a_,VideoOff:t_,VideoOffIcon:t_,Videotape:n_,VideotapeIcon:n_,View:c_,ViewIcon:c_,Voicemail:o_,VoicemailIcon:o_,Volleyball:i_,VolleyballIcon:i_,Volume:u_,Volume1:r_,Volume1Icon:r_,Volume2:s_,Volume2Icon:s_,VolumeIcon:u_,VolumeOff:d_,VolumeOffIcon:d_,VolumeX:l_,VolumeXIcon:l_,Vote:h_,VoteIcon:h_,Wallet:y_,Wallet2:Ic,Wallet2Icon:Ic,WalletCards:p_,WalletCardsIcon:p_,WalletIcon:y_,WalletMinimal:Ic,WalletMinimalIcon:Ic,Wallpaper:k_,WallpaperIcon:k_,Wand:m_,Wand2:bc,Wand2Icon:bc,WandIcon:m_,WandSparkles:bc,WandSparklesIcon:bc,Warehouse:f_,WarehouseIcon:f_,WashingMachine:g_,WashingMachineIcon:g_,Watch:v_,WatchIcon:v_,Waves:x_,WavesIcon:x_,WavesLadder:M_,WavesLadderIcon:M_,Waypoints:__,WaypointsIcon:__,Webcam:L_,WebcamIcon:L_,Webhook:w_,WebhookIcon:w_,WebhookOff:I_,WebhookOffIcon:I_,Weight:b_,WeightIcon:b_,Wheat:N_,WheatIcon:N_,WheatOff:C_,WheatOffIcon:C_,WholeWord:S_,WholeWordIcon:S_,Wifi:T_,WifiCog:j_,WifiCogIcon:j_,WifiHigh:$_,WifiHighIcon:$_,WifiIcon:T_,WifiLow:q_,WifiLowIcon:q_,WifiOff:A_,WifiOffIcon:A_,WifiPen:z_,WifiPenIcon:z_,WifiSync:V_,WifiSyncIcon:V_,WifiZero:P_,WifiZeroIcon:P_,Wind:D_,WindArrowDown:H_,WindArrowDownIcon:H_,WindIcon:D_,Wine:R_,WineIcon:R_,WineOff:B_,WineOffIcon:B_,Workflow:F_,WorkflowIcon:F_,Worm:E_,WormIcon:E_,WrapText:O_,WrapTextIcon:O_,Wrench:U_,WrenchIcon:U_,X:Ke,XCircle:bt,XCircleIcon:bt,XIcon:Ke,XOctagon:En,XOctagonIcon:En,XSquare:rc,XSquareIcon:rc,Youtube:G_,YoutubeIcon:G_,Zap:K_,ZapIcon:K_,ZapOff:W_,ZapOffIcon:W_,ZoomIn:Z_,ZoomInIcon:Z_,ZoomOut:X_,ZoomOutIcon:X_,createLucideIcon:a.createLucideIcon,icons:d2e},Symbol.toStringTag,{value:"Module"})),l2e=({size:e=250,background:t="#fff",headerTop:n,headerBottom:c,headerTopStyle:i,headerBottomStyle:r,progress1:s,badgeList:d,progress3:h,style:l,className:u="",draggable:p=!1})=>{const y=e!==void 0?e:250,m=e?{size:e*.5,...s}:s,f=e?{size:e*.4,...h}:h,g={background:t,position:"relative",...l,...y&&{width:y}};return o.jsxs("div",{style:g,className:`stat-card ${u}`,children:[o.jsxs("div",{className:"stat-card-header",children:[o.jsx("div",{className:"stat-card-header-top",style:i,children:n}),c&&o.jsx("div",{className:"stat-card-header-bottom",style:r,children:c})]}),o.jsxs("div",{className:"stat-card-body",style:{opacity:p?0:1},children:[o.jsx("div",{className:"progress-row-single",children:o.jsx(Pb,{...m})}),o.jsxs("div",{className:"progress-row-double",children:[o.jsx("div",{className:"progress-item",children:o.jsx(Mj,{...d})}),o.jsx("div",{className:"progress-item",children:o.jsx(Pb,{...f})})]})]}),p&&o.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:o.jsx(a.Move,{size:32,strokeWidth:1.5,style:{opacity:.8}})})]})},xj=k.createContext(void 0),ht=()=>{const e=k.useContext(xj);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},h2e=({children:e,defaultActive:t=""})=>{const[n,c]=k.useState(t),[i,r]=k.useState(t),[s,d]=k.useState(void 0),[h,l]=k.useState(void 0),[u,p]=k.useState({}),y=(m,f)=>{p(g=>({...g,[m]:f}))};return o.jsx(xj.Provider,{value:{activeNav:n,setActiveNav:c,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:h,setUser:l,navCounts:u,setNavCount:y},children:e})},_j=({categories:e,logo:t="Menu",buttonContent:n,position:c="auto",closeOnClickOutside:i=!0,select:r,topContent:s})=>{const[d,h]=k.useState(!1),[l,u]=k.useState("right"),p=k.useRef(null),y=k.useRef(null),{activeNav:m,activeSubNav:f}=ht();k.useEffect(()=>{if(!i)return;const x=v=>{p.current&&!p.current.contains(v.target)&&h(!1)};return document.addEventListener("mousedown",x),()=>document.removeEventListener("mousedown",x)},[i]),k.useEffect(()=>{if(d&&c==="auto"&&y.current){const x=y.current.getBoundingClientRect(),v=window.innerWidth/2;u(x.left<v?"left":"right")}},[d,c]);const g=t?mt[t]:null,M=c==="auto"?l:c;return o.jsxs("div",{className:"dropdown",ref:p,children:[o.jsxs("button",{ref:y,type:"button",className:"dropdown-button",onClick:()=>h(x=>!x),"aria-expanded":d,"aria-haspopup":"true",children:[g&&o.jsx(g,{size:20}),n&&o.jsx("span",{className:"button-text",children:n})]}),d&&o.jsxs("div",{className:`dropdown-content ${M}`,children:[s&&o.jsx("div",{className:"dropdown-top-content",children:s}),e?.map((x,v)=>o.jsxs("div",{className:"dropdown-category",children:[x.title&&o.jsx("div",{className:"category-title",children:x.title}),o.jsx("div",{className:"category-items",children:x.items.map((L,w)=>{const C=L.id??L.label,b=m===C||f===C,_=L.select??r;if(L.id==="language"){if(!_||!Array.isArray(_.options)||!_.onChange)return o.jsx("div",{className:"dropdown-language"},w);const j=Array.isArray(_.options)?_.options:[],S=j.some(A=>A.code===_.value)?j:[{code:_.value??"",label:String(_.value??"")},...j];return o.jsx("div",{className:"dropdown-language",children:o.jsx("select",{name:_.name??"language",className:"language-select",value:_.value??"",onChange:A=>{const B=A.target.value;try{_.onChange(B)}catch(T){console.error("select onChange error",T)}},children:S.map(A=>o.jsx("option",{value:A.code,children:A.label},A.code))})},w)}const I={className:`dropdown-item ${b?"active":""}`,onClick:()=>{L.onClick?.(),h(!1)},role:L.type==="button"||!L.href?"button":void 0};return L.type==="button"||!L.href?o.jsx("button",{type:"button",...I,children:L.label},w):o.jsx("a",{...I,href:L.href,children:L.label},w)})})]},v))]})]})},Lj=({children:e,container:t=!1,item:n=!1,parent:c=!1,xs:i,sm:r,md:s,lg:d,xl:h,spacing:l=0,className:u="",uniqueKey:p=0,style:y={},width:m,order:f,onSwap:g,draggable:M=!1,displayNone:x=!1})=>{const[v,L]=k.useState([]);k.useEffect(()=>{const I=A=>{const B=[];return k.Children.forEach(A,T=>{Array.isArray(T)?B.push(...I(T)):k.isValidElement(T)&&B.push(T)}),B},N=I(e).filter(A=>k.isValidElement(A)).map(A=>{let B="";const T=A.props;return B=[T.xs?`grid-xs-${T.xs}`:"",T.sm?`grid-sm-${T.sm}`:"",T.md?`grid-md-${T.md}`:"",T.lg?`grid-lg-${T.lg}`:"",T.xl?`grid-xl-${T.xl}`:"",T.className?T.className:""].join(" ").trim(),{node:A,classes:B}});let S=N;f&&f.length>0&&(S=N.map((A,B)=>({...A,node:N[f[B]]?.node??A.node}))),L(S)},[e]);const w=(I,j)=>{I.stopPropagation(),I.dataTransfer.setData("dragIndex",j.toString()),I.dataTransfer.setData("parentKey",p.toString())},C=I=>{I.preventDefault(),I.stopPropagation()},b=(I,j)=>{I.preventDefault();const N=Number(I.dataTransfer.getData("dragIndex")),S=Number(I.dataTransfer.getData("parentKey"));if(t&&S!==p)return;const A=[...v];let B=-1,T=-1;if(A.forEach(($,q)=>{if(k.isValidElement($.node)){const P=$.node.props;P.uniqueKey===j&&(B=q),P.uniqueKey===N&&(T=q)}}),B===-1||T===-1)return;const V=A[T].node;A[T]={...A[T],node:A[B].node},A[B]={...A[B],node:V},L(A),typeof g=="function"&&g(T,B)},_=c?[i?`grid-xs-${i}`:"",r?`grid-sm-${r}`:"",s?`grid-md-${s}`:"",d?`grid-lg-${d}`:"",h?`grid-xl-${h}`:""].join(" "):"";return!c&&m?y={...y,width:`${m}px`}:!c&&!m&&(y={...y,width:"100%"}),y={...y,height:"100%"},t?o.jsx("div",{className:`${u} grid-container ${_}`,style:{"--gap-grid":`${l}rem`,...y},children:v.map(I=>I.node.type?.displayName==="Grid"?M?o.jsx("div",{draggable:!0,onDragStart:j=>w(j,I.node?.props?.uniqueKey),onDragOver:j=>C(j),onDrop:j=>b(j,I.node?.props?.uniqueKey),className:`grid-item grid-item-grabbing ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,style:{cursor:"grab"},children:I.node},I.node?.props?.uniqueKey):o.jsx("div",{className:`grid-item ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,children:I.node},I.node?.props?.uniqueKey):I.node)}):n?o.jsx("div",{className:`${u} grid-item ${_} ${x?"grid-display-none":""}`,style:{gap:`${l}rem`,...y},children:e}):o.jsx(o.Fragment,{children:e})};Lj.displayName="Grid";const uL=({imagePath:e,...t})=>{const[n,c]=k.useState(!1);return k.useEffect(()=>{c(!0)},[]),n?o.jsx("div",{className:`logo logo--${t.size}`,children:o.jsx("a",{href:"/",children:o.jsx("img",{src:e,alt:"Saniia Smart Bed Management",className:"logo-image"})})}):o.jsx("div",{className:"logo logo-placeholder"})},Tb=({id:e,label:t,isActive:n=!1,onClick:c,href:i,highlightColor:r="#008CBA",moduleKey:s="",a11yConfig:d,...h})=>{const{setActiveNav:l}=ht(),u=()=>{l(e),c?.(e)};return i?o.jsx("a",{href:i,className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Q(d,e),...h,children:t}):o.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Q(d,e),role:c?"button":"presentation",tabIndex:c?0:-1,...h,children:t})},Ij=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:c={},dropdownPosition:i="auto"})=>{const{activeNav:r}=ht(),[s,d]=k.useState(!0),[h,l]=k.useState(!1),[u,p]=k.useState("left"),y=k.useRef(null),m=k.useRef(null),f=k.useRef(null);k.useEffect(()=>{const v=()=>{if(y.current&&y.current.parentElement){const L=y.current.parentNode?.parentElement?.offsetWidth||0;d(L*.8<y.current.offsetWidth||L<1100)}};return v(),window.addEventListener("resize",v),()=>window.removeEventListener("resize",v)},[]),k.useEffect(()=>{if(h&&i==="auto"&&m.current){const v=m.current.getBoundingClientRect(),L=window.innerWidth/2;p(v.left<L?"left":"right")}},[h,i]),k.useEffect(()=>{if(!h)return;const v=L=>{f.current&&!f.current.contains(L.target)&&m.current&&!m.current.contains(L.target)&&l(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[h]);const g=v=>{t?.(v),l(!1)},M=e.find(v=>v.id===r)||e[0],x=i==="auto"?u:i;return o.jsx("div",{ref:y,children:s?o.jsxs("div",{className:"navbar-mobile",children:[o.jsxs("button",{ref:m,className:"navbar-dropdown-toggle",onClick:()=>l(!h),style:{backgroundColor:n,color:"#fff"},"aria-expanded":h,"aria-haspopup":"true",children:[M.label,o.jsx("span",{className:`dropdown-arrow ${h?"open":""}`})]}),h&&o.jsx("div",{ref:f,className:`navbar-dropdown ${x}`,children:e.map(v=>o.jsx(Tb,{id:v.id,label:v.label,href:v.moduleKey&&c[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&c[v.moduleKey],onClick:g,highlightColor:n},v.id))})]}):o.jsx("nav",{className:"navbar",children:e.map(v=>o.jsx(Tb,{id:v.id,label:v.label,href:v.moduleKey&&c[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&c[v.moduleKey],onClick:g,highlightColor:n},v.id))})})},bj=k.createContext(void 0),u2e=({children:e,initialTheme:t})=>{const[n,c]=k.useState(()=>{if(typeof window<"u")try{return localStorage.getItem("app-theme")||t}catch(r){return console.error("Error reading theme from localStorage:",r),t}return t});k.useEffect(()=>{const r=document.documentElement;if(r.removeAttribute("data-theme"),n&&n!=="default"&&r.setAttribute("data-theme",n),typeof window<"u")try{localStorage.setItem("app-theme",n)}catch(s){console.error("Error saving theme to localStorage:",s)}},[n]);const i=k.useCallback(r=>{c(r)},[]);return o.jsx(bj.Provider,{value:{themeName:n,setTheme:i},children:e})},wj=()=>{const e=k.useContext(bj);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},pL=()=>{const{themeName:e,setTheme:t}=wj(),n=k.useCallback(c=>{t(c)},[t]);return{currentTheme:e,switchTheme:n}},E1=({colors:e={},leftIcon:t,rightIcon:n,checked:c=!1,onToggle:i,size:r=24,className:s="",style:d,a11yConfig:h})=>{const l=()=>i?.(!c),u=p=>{(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),l())};return o.jsxs("div",{role:"switch","aria-checked":c,tabIndex:0,title:Q(h),className:`switcher ${c?"switcher-checked":""} ${s}`,style:{"--bg":e.bg||"#1f2937","--active-bg":e.activeBg||"#facc15","--border":e.border||"#fff","--circle":e.circle||"#fff","--icon":e.icon||"#fbbf24","--icon2":e.icon2||e.icon||"#fbbf24","--size":`${r}px`,...d},onClick:l,onKeyDown:u,children:[o.jsx("div",{className:"switcher-circle"}),o.jsxs("div",{className:"switcher-icons",children:[t&&o.jsx("div",{className:"switcher-icon-left",children:t}),n&&o.jsx("div",{className:"switcher-icon-right",children:n})]})]})},Hb=({lightTheme:e="light",darkTheme:t="dark",leftIcon:n="Sun",rightIcon:c="Moon",colors:i={bg:"#e5e7eb",activeBg:"#3b82f6",border:"#ffffff",circle:"#ffffff",icon:"#3b82f6",icon2:"#ffffff"},size:r=24,a11yConfig:s})=>{const{currentTheme:d,switchTheme:h}=pL(),[l,u]=k.useState(!1);if(k.useEffect(()=>{u(!0)},[]),!l)return null;const p=d===t,y=m=>{h(m?t:e)};return o.jsx(E1,{leftIcon:n,rightIcon:c,checked:p,onToggle:y,colors:i,size:r,a11yConfig:s})},p2e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M480-80 317-243l44-44 89 89v-252H198l84 84-44 44L80-480l159-159 44 44-85 85h252v-252l-84 84-44-44 158-158 158 158-44 44-84-84v252h252l-84-84 44-44 158 158-158 158-44-44 84-84H510v252l89-89 44 44z"})),tC=k.memo(p2e),Cj=k.createContext(void 0),y2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("isDraggable");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("isDraggable",String(t))},[t]);const c=i=>{n(i)};return o.jsx(Cj.Provider,{value:{isDraggable:t,switchDraggable:c},children:e})},Nj=()=>{const e=k.useContext(Cj);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},aL=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"var(--color-primary)",border:"transparent",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},size:c=24,a11yConfig:i})=>{const{isDraggable:r,switchDraggable:s}=Nj(),[d,h]=k.useState(!1);if(k.useEffect(()=>{h(!0)},[]),!d)return null;const l=u=>{s(u)};return o.jsx(E1,{leftIcon:e||o.jsx(tC,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(tC,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:l,colors:n,size:c,a11yConfig:i})},k2e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820t-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300M371-448v-267h60v267zm-145 0v-184h60v184zm290 0v-143h60v143zM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233z"})),aC=k.memo(k2e),Sj=k.createContext(void 0),m2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("disableLegendFilter");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("disableLegendFilter",String(t))},[t]);const c=i=>{n(i)};return o.jsx(Sj.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:c},children:e})},jj=()=>{const e=k.useContext(Sj);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},nL=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"#ef4444",border:"#ffffff",circle:"#ffffff",icon:"#ef4444",icon2:"#ffffff"},size:c=24,a11yConfig:i})=>{const{disableLegendFilter:r,switchDisableLegendFilter:s}=jj(),[d,h]=k.useState(!1);if(k.useEffect(()=>{h(!0)},[]),!d)return null;const l=u=>{s(u)};return o.jsx(E1,{leftIcon:e||o.jsx(aC,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(aC,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:l,colors:n,size:c,a11yConfig:i})},$j=k.createContext(void 0),f2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("showData");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("showData",String(t))},[t]);const c=i=>{n(i)};return o.jsx($j.Provider,{value:{showData:t,switchShowData:c},children:e})},qj=()=>{const e=k.useContext($j);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},g2e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M600.5-379.5Q650-429 650-500t-49.5-120.5T480-670t-120.5 49.5T310-500t49.5 120.5T480-330t120.5-49.5m-200-41Q368-453 368-500t32.5-79.5T480-612t79.5 32.5T592-500t-32.5 79.5T480-388t-79.5-32.5M216-283Q98-366 40-500q58-134 176-217t264-83 264 83 176 217q-58 134-176 217t-264 83-264-83m486.5-42.5Q804-391 857-500q-53-109-154.5-174.5T480-740t-222.5 65.5T102-500q54 109 155.5 174.5T480-260t222.5-65.5"})),nC=k.memo(g2e),oL=({size:e=24,colors:t={bg:"var(--color-switcher-background)",activeBg:"#10b981",border:"#ffffff",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},a11yConfig:n})=>{const{showData:c,switchShowData:i}=qj(),[r,s]=k.useState(!1);return k.useEffect(()=>{s(!0)},[]),r?o.jsx(E1,{checked:c,onToggle:d=>i(d),size:e,leftIcon:o.jsx(nC,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:o.jsx(nC,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t,a11yConfig:n}):null},v2e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M284-277h60v-205h-60zm332 0h60v-420h-60zm-166 0h60v-118h-60zm0-205h60v-60h-60zM180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h600q24 0 42 18t18 42v600q0 24-18 42t-42 18zm0-60h600v-600H180zm0-600v600z"})),Aj=k.memo(v2e);function Db({items:e,onSave:t,loading:n,disabled:c,saveLabel:i,savingLabel:r,buttonTitle:s}){const[d,h]=k.useState(!1),[l,u]=k.useState(e);k.useEffect(()=>{u(e)},[e]);const p=(m,f)=>{u(g=>g.map(M=>M.component_key===m&&f>3?{...M,visible:!M.visible}:M))},y=()=>{t(l),h(!1)};return o.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[o.jsx("div",{onClick:()=>c||h(m=>!m),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--color-primary)"},title:s,children:o.jsx(Aj,{fill:"currentColor"})}),d&&o.jsxs("div",{style:{position:"absolute",top:"110%",right:0,minWidth:220,background:"#fff",border:"1px solid var(--color-border)",borderRadius:8,boxShadow:"0 4px 16px rgba(0,0,0,0.08)",zIndex:1e3,padding:12},children:[o.jsx("ul",{style:{listStyle:"none",padding:0,margin:0,marginBottom:12},children:l.map((m,f)=>o.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[o.jsx("input",{type:"checkbox",checked:m.visible,disabled:f<4,onChange:()=>p(m.component_key,f),style:{marginRight:8}}),o.jsx("span",{style:{color:f<4?"#6b7280":"#111827"},children:m.label}),f<4&&o.jsx("span",{style:{fontSize:"var(--text-paragraph)",color:"#9ca3af",marginLeft:6}})]},m.component_key))}),o.jsx("button",{type:"button",onClick:y,disabled:n,style:{padding:"6px 18px",borderRadius:6,border:"none",background:"var(--color-primary)",color:"#fff",fontWeight:600,cursor:"pointer"},children:n?r:i})]})]})}const M2e=({logoPath:e,navItems:t,onNavClick:n,dropdownItems:c,headerBg:i,highlightColor:r="#1387C8",moduleConfig:s={},componentVisibilityItems:d=[],onComponentVisibilitySave:h,componentVisibilityLoading:l=!1,componentVisibilitySaveLabel:u,componentVisibilitySavingLabel:p,componentVisibilityButtonTitle:y})=>{const{activeSwitchers:m}=ht(),f=m?.draggable===!0,g=m?.showData===!0,M=m?.legendFilter===!0,x=m?.componentVisibility===!0&&d&&d.length>0;return o.jsx("header",{className:"header",style:{backgroundColor:i},children:o.jsxs("div",{className:"header-layout-container",children:[o.jsxs("div",{className:"header-left",children:[o.jsx("a",{href:"/",children:o.jsx(uL,{imagePath:e})}),o.jsx(Ij,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),o.jsxs("div",{className:"header-right",children:[o.jsxs("div",{className:"switcher-container",children:[f&&o.jsx(aL,{}),g&&o.jsx(oL,{}),M&&o.jsx(nL,{}),o.jsx(Hb,{}),x&&o.jsx(Db,{items:d,onSave:h||(()=>{}),loading:l,saveLabel:u,savingLabel:p,buttonTitle:y})]}),o.jsx(_j,{categories:c?.categories,buttonContent:c?.buttonContent,topContent:o.jsxs("div",{className:"dropdown-switchers",children:[f&&o.jsx(aL,{}),g&&o.jsx(oL,{}),M&&o.jsx(nL,{}),o.jsx(Hb,{}),x&&o.jsx(Db,{items:d,onSave:h||(()=>{}),loading:l,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},zj=({icon:e,text:t,size:n=16,color:c="currentColor",className:i="",active:r=!1,href:s,a11yConfig:d})=>{const h=e?mt[e]:null,l=s?"a":"div";return o.jsxs(l,{className:`icon-text ${r?"icon-text-active":""} ${i}`,style:{color:c},title:Q(d,t),role:"text","aria-label":t,...s?{href:s}:{},children:[h&&o.jsx(h,{size:n,"aria-hidden":"true"}),o.jsx("span",{children:t})]})},Vj=({children:e,className:t="",style:n,item:c})=>o.jsxs("div",{className:`scrollable-horizontale ${t}`,style:n,children:[o.jsx("div",{className:"scrollable",children:e}),o.jsx("div",{className:"scrollable-dropdown",children:o.jsx(_j,{logo:"BarChart",position:"right",categories:c})})]}),x2e=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:c})=>{const{activeSubNav:i}=ht();return o.jsx(Vj,{style:n,item:c,children:e?.map(r=>o.jsx(zj,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i,a11yConfig:r.a11yConfig},r.id))})},Pj=({title:e,subtitle:t,text:n,background:c="#f9f9f9",titleStyle:i,subtitleStyle:r,textStyle:s,itemStyle:d,icon:h})=>{const[l,u]=n?n.split("/"):[];return o.jsxs("div",{className:"trend-item",style:{background:c,...d},children:[o.jsxs("div",{className:"trend-left",children:[o.jsx("div",{className:"trend-icon",children:h}),o.jsxs("div",{className:"trend-texts",children:[o.jsx("span",{className:"trend-title",style:i,children:e}),t&&o.jsx("span",{className:"trend-subtitle",style:r,children:t})]})]}),o.jsxs("div",{className:"trend-right",style:s,children:[o.jsx("span",{className:"trend-right-left",children:l}),o.jsx("span",{className:"trend-right-separator",children:" / "}),o.jsx("span",{className:"trend-right-right",children:u})]})]})},hw=k.createContext({});function zt(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const uw=typeof window<"u",pw=uw?k.useLayoutEffect:k.useEffect,yL=k.createContext(null);function yw(e,t){e.indexOf(t)===-1&&e.push(t)}function kw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function _2e([...e],t,n){const c=t<0?e.length+t:t;if(c>=0&&c<e.length){const i=n<0?e.length+n:n,[r]=e.splice(t,1);e.splice(i,0,r)}return e}const ft=(e,t,n)=>n>t?t:n<e?e:n;function Bb(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let n1=()=>{},et=()=>{};process.env.NODE_ENV!=="production"&&(n1=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(Bb(t,n))},et=(e,t,n)=>{if(!e)throw new Error(Bb(t,n))});const gt={},Tj=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Hj(e){return typeof e=="object"&&e!==null}const Dj=e=>/^0[^.\s]+$/u.test(e);function mw(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ze=e=>e,L2e=(e,t)=>n=>t(e(n)),O1=(...e)=>e.reduce(L2e),T1=(e,t,n)=>{const c=t-e;return c===0?1:(n-e)/c};class fw{constructor(){this.subscriptions=[]}add(t){return yw(this.subscriptions,t),()=>kw(this.subscriptions,t)}notify(t,n,c){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,c);else for(let r=0;r<i;r++){const s=this.subscriptions[r];s&&s(t,n,c)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Qe=e=>e*1e3,Ge=e=>e/1e3;function Bj(e,t){return t?e*(1e3/t):0}const oC=new Set;function gw(e,t,n){e||oC.has(t)||(console.warn(Bb(t,n)),oC.add(t))}const Rj=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,I2e=1e-7,b2e=12;function w2e(e,t,n,c,i){let r,s,d=0;do s=t+(n-t)/2,r=Rj(s,c,i)-e,r>0?n=s:t=s;while(Math.abs(r)>I2e&&++d<b2e);return s}function U1(e,t,n,c){if(e===t&&n===c)return Ze;const i=r=>w2e(r,0,1,e,n);return r=>r===0||r===1?r:Rj(i(r),t,c)}const Fj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ej=e=>t=>1-e(1-t),Oj=U1(.33,1.53,.69,.99),vw=Ej(Oj),Uj=Fj(vw),Wj=e=>(e*=2)<1?.5*vw(e):.5*(2-Math.pow(2,-10*(e-1))),Mw=e=>1-Math.sin(Math.acos(e)),Gj=Ej(Mw),Kj=Fj(Mw),C2e=U1(.42,0,1,1),N2e=U1(0,0,.58,1),Zj=U1(.42,0,.58,1),S2e=e=>Array.isArray(e)&&typeof e[0]!="number",Xj=e=>Array.isArray(e)&&typeof e[0]=="number",cC={linear:Ze,easeIn:C2e,easeInOut:Zj,easeOut:N2e,circIn:Mw,circInOut:Kj,circOut:Gj,backIn:vw,backInOut:Uj,backOut:Oj,anticipate:Wj},j2e=e=>typeof e=="string",iC=e=>{if(Xj(e)){et(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,c,i]=e;return U1(t,n,c,i)}else if(j2e(e))return et(cC[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),cC[e];return e},X1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function $2e(e,t){let n=new Set,c=new Set,i=!1,r=!1;const s=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function h(u){s.has(u)&&(l.schedule(u),e()),u(d)}const l={schedule:(u,p=!1,y=!1)=>{const f=y&&i?n:c;return p&&s.add(u),f.has(u)||f.add(u),u},cancel:u=>{c.delete(u),s.delete(u)},process:u=>{if(d=u,i){r=!0;return}i=!0,[n,c]=[c,n],n.forEach(h),n.clear(),i=!1,r&&(r=!1,l.process(u))}};return l}const q2e=40;function Yj(e,t){let n=!1,c=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=X1.reduce((L,w)=>(L[w]=$2e(r),L),{}),{setup:d,read:h,resolveKeyframes:l,preUpdate:u,update:p,preRender:y,render:m,postRender:f}=s,g=()=>{const L=gt.useManualTiming?i.timestamp:performance.now();n=!1,gt.useManualTiming||(i.delta=c?1e3/60:Math.max(Math.min(L-i.timestamp,q2e),1)),i.timestamp=L,i.isProcessing=!0,d.process(i),h.process(i),l.process(i),u.process(i),p.process(i),y.process(i),m.process(i),f.process(i),i.isProcessing=!1,n&&t&&(c=!1,e(g))},M=()=>{n=!0,c=!0,i.isProcessing||e(g)};return{schedule:X1.reduce((L,w)=>{const C=s[w];return L[w]=(b,_=!1,I=!1)=>(n||M(),C.schedule(b,_,I)),L},{}),cancel:L=>{for(let w=0;w<X1.length;w++)s[X1[w]].cancel(L)},state:i,steps:s}}const{schedule:ke,cancel:vt,state:Se,steps:HL}=Yj(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ze,!0);let Y_;function A2e(){Y_=void 0}const De={now:()=>(Y_===void 0&&De.set(Se.isProcessing||gt.useManualTiming?Se.timestamp:performance.now()),Y_),set:e=>{Y_=e,queueMicrotask(A2e)}},Jj=e=>t=>typeof t=="string"&&t.startsWith(e),xw=Jj("--"),z2e=Jj("var(--"),_w=e=>z2e(e)?V2e.test(e.split("/*")[0].trim()):!1,V2e=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,o1={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},H1={...o1,transform:e=>ft(0,1,e)},Y1={...o1,default:1},$1=e=>Math.round(e*1e5)/1e5,Lw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function P2e(e){return e==null}const T2e=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Iw=(e,t)=>n=>!!(typeof n=="string"&&T2e.test(n)&&n.startsWith(e)||t&&!P2e(n)&&Object.prototype.hasOwnProperty.call(n,t)),Qj=(e,t,n)=>c=>{if(typeof c!="string")return c;const[i,r,s,d]=c.match(Lw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},H2e=e=>ft(0,255,e),DL={...o1,transform:e=>Math.round(H2e(e))},Cc={test:Iw("rgb","red"),parse:Qj("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:c=1})=>"rgba("+DL.transform(e)+", "+DL.transform(t)+", "+DL.transform(n)+", "+$1(H1.transform(c))+")"};function D2e(e){let t="",n="",c="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),c=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),c=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,c+=c,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(c,16),alpha:i?parseInt(i,16)/255:1}}const Rb={test:Iw("#"),parse:D2e,transform:Cc.transform},W1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),It=W1("deg"),lt=W1("%"),K=W1("px"),B2e=W1("vh"),R2e=W1("vw"),rC={...lt,parse:e=>lt.parse(e)/100,transform:e=>lt.transform(e*100)},Ec={test:Iw("hsl","hue"),parse:Qj("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:c=1})=>"hsla("+Math.round(e)+", "+lt.transform($1(t))+", "+lt.transform($1(n))+", "+$1(H1.transform(c))+")"},Le={test:e=>Cc.test(e)||Rb.test(e)||Ec.test(e),parse:e=>Cc.test(e)?Cc.parse(e):Ec.test(e)?Ec.parse(e):Rb.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Cc.transform(e):Ec.transform(e),getAnimatableNone:e=>{const t=Le.parse(e);return t.alpha=0,Le.transform(t)}},F2e=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function E2e(e){return isNaN(e)&&typeof e=="string"&&(e.match(Lw)?.length||0)+(e.match(F2e)?.length||0)>0}const e$="number",t$="color",O2e="var",U2e="var(",sC="${}",W2e=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function D1(e){const t=e.toString(),n=[],c={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(W2e,h=>(Le.test(h)?(c.color.push(r),i.push(t$),n.push(Le.parse(h))):h.startsWith(U2e)?(c.var.push(r),i.push(O2e),n.push(h)):(c.number.push(r),i.push(e$),n.push(parseFloat(h))),++r,sC)).split(sC);return{values:n,split:d,indexes:c,types:i}}function a$(e){return D1(e).values}function n$(e){const{split:t,types:n}=D1(e),c=t.length;return i=>{let r="";for(let s=0;s<c;s++)if(r+=t[s],i[s]!==void 0){const d=n[s];d===e$?r+=$1(i[s]):d===t$?r+=Le.transform(i[s]):r+=i[s]}return r}}const G2e=e=>typeof e=="number"?0:Le.test(e)?Le.getAnimatableNone(e):e;function K2e(e){const t=a$(e);return n$(e)(t.map(G2e))}const At={test:E2e,parse:a$,createTransformer:n$,getAnimatableNone:K2e};function BL(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Z2e({hue:e,saturation:t,lightness:n,alpha:c}){e/=360,t/=100,n/=100;let i=0,r=0,s=0;if(!t)i=r=s=n;else{const d=n<.5?n*(1+t):n+t-n*t,h=2*n-d;i=BL(h,d,e+1/3),r=BL(h,d,e),s=BL(h,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:c}}function cL(e,t){return n=>n>0?t:e}const fe=(e,t,n)=>e+(t-e)*n,RL=(e,t,n)=>{const c=e*e,i=n*(t*t-c)+c;return i<0?0:Math.sqrt(i)},X2e=[Rb,Cc,Ec],Y2e=e=>X2e.find(t=>t.test(e));function dC(e){const t=Y2e(e);if(n1(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Ec&&(n=Z2e(n)),n}const lC=(e,t)=>{const n=dC(e),c=dC(t);if(!n||!c)return cL(e,t);const i={...n};return r=>(i.red=RL(n.red,c.red,r),i.green=RL(n.green,c.green,r),i.blue=RL(n.blue,c.blue,r),i.alpha=fe(n.alpha,c.alpha,r),Cc.transform(i))},Fb=new Set(["none","hidden"]);function J2e(e,t){return Fb.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Q2e(e,t){return n=>fe(e,t,n)}function bw(e){return typeof e=="number"?Q2e:typeof e=="string"?_w(e)?cL:Le.test(e)?lC:ade:Array.isArray(e)?o$:typeof e=="object"?Le.test(e)?lC:ede:cL}function o$(e,t){const n=[...e],c=n.length,i=e.map((r,s)=>bw(r)(r,t[s]));return r=>{for(let s=0;s<c;s++)n[s]=i[s](r);return n}}function ede(e,t){const n={...e,...t},c={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(c[i]=bw(e[i])(e[i],t[i]));return i=>{for(const r in c)n[r]=c[r](i);return n}}function tde(e,t){const n=[],c={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const r=t.types[i],s=e.indexes[r][c[r]],d=e.values[s]??0;n[i]=d,c[r]++}return n}const ade=(e,t)=>{const n=At.createTransformer(t),c=D1(e),i=D1(t);return c.indexes.var.length===i.indexes.var.length&&c.indexes.color.length===i.indexes.color.length&&c.indexes.number.length>=i.indexes.number.length?Fb.has(e)&&!i.values.length||Fb.has(t)&&!c.values.length?J2e(e,t):O1(o$(tde(c,i),i.values),n):(n1(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),cL(e,t))};function c$(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?fe(e,t,n):bw(e)(e,t)}const nde=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ke.update(t,n),stop:()=>vt(t),now:()=>Se.isProcessing?Se.timestamp:De.now()}},i$=(e,t,n=10)=>{let c="";const i=Math.max(Math.round(t/n),2);for(let r=0;r<i;r++)c+=Math.round(e(r/(i-1))*1e4)/1e4+", ";return`linear(${c.substring(0,c.length-2)})`},iL=2e4;function ww(e){let t=0;const n=50;let c=e.next(t);for(;!c.done&&t<iL;)t+=n,c=e.next(t);return t>=iL?1/0:t}function ode(e,t=100,n){const c=n({...e,keyframes:[0,t]}),i=Math.min(ww(c),iL);return{type:"keyframes",ease:r=>c.next(i*r).value/t,duration:Ge(i)}}const cde=5;function r$(e,t,n){const c=Math.max(t-cde,0);return Bj(n-e(c),t-c)}const ve={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},FL=.001;function ide({duration:e=ve.duration,bounce:t=ve.bounce,velocity:n=ve.velocity,mass:c=ve.mass}){let i,r;n1(e<=Qe(ve.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=ft(ve.minDamping,ve.maxDamping,s),e=ft(ve.minDuration,ve.maxDuration,Ge(e)),s<1?(i=l=>{const u=l*s,p=u*e,y=u-n,m=Eb(l,s),f=Math.exp(-p);return FL-y/m*f},r=l=>{const p=l*s*e,y=p*n+n,m=Math.pow(s,2)*Math.pow(l,2)*e,f=Math.exp(-p),g=Eb(Math.pow(l,2),s);return(-i(l)+FL>0?-1:1)*((y-m)*f)/g}):(i=l=>{const u=Math.exp(-l*e),p=(l-n)*e+1;return-FL+u*p},r=l=>{const u=Math.exp(-l*e),p=(n-l)*(e*e);return u*p});const d=5/e,h=sde(i,r,d);if(e=Qe(e),isNaN(h))return{stiffness:ve.stiffness,damping:ve.damping,duration:e};{const l=Math.pow(h,2)*c;return{stiffness:l,damping:s*2*Math.sqrt(c*l),duration:e}}}const rde=12;function sde(e,t,n){let c=n;for(let i=1;i<rde;i++)c=c-e(c)/t(c);return c}function Eb(e,t){return e*Math.sqrt(1-t*t)}const dde=["duration","bounce"],lde=["stiffness","damping","mass"];function hC(e,t){return t.some(n=>e[n]!==void 0)}function hde(e){let t={velocity:ve.velocity,stiffness:ve.stiffness,damping:ve.damping,mass:ve.mass,isResolvedFromDuration:!1,...e};if(!hC(e,lde)&&hC(e,dde))if(e.visualDuration){const n=e.visualDuration,c=2*Math.PI/(n*1.2),i=c*c,r=2*ft(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:ve.mass,stiffness:i,damping:r}}else{const n=ide(e);t={...t,...n,mass:ve.mass},t.isResolvedFromDuration=!0}return t}function rL(e=ve.visualDuration,t=ve.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:c,restDelta:i}=n;const r=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],d={done:!1,value:r},{stiffness:h,damping:l,mass:u,duration:p,velocity:y,isResolvedFromDuration:m}=hde({...n,velocity:-Ge(n.velocity||0)}),f=y||0,g=l/(2*Math.sqrt(h*u)),M=s-r,x=Ge(Math.sqrt(h/u)),v=Math.abs(M)<5;c||(c=v?ve.restSpeed.granular:ve.restSpeed.default),i||(i=v?ve.restDelta.granular:ve.restDelta.default);let L;if(g<1){const C=Eb(x,g);L=b=>{const _=Math.exp(-g*x*b);return s-_*((f+g*x*M)/C*Math.sin(C*b)+M*Math.cos(C*b))}}else if(g===1)L=C=>s-Math.exp(-x*C)*(M+(f+x*M)*C);else{const C=x*Math.sqrt(g*g-1);L=b=>{const _=Math.exp(-g*x*b),I=Math.min(C*b,300);return s-_*((f+g*x*M)*Math.sinh(I)+C*M*Math.cosh(I))/C}}const w={calculatedDuration:m&&p||null,next:C=>{const b=L(C);if(m)d.done=C>=p;else{let _=C===0?f:0;g<1&&(_=C===0?Qe(f):r$(L,C,b));const I=Math.abs(_)<=c,j=Math.abs(s-b)<=i;d.done=I&&j}return d.value=d.done?s:b,d},toString:()=>{const C=Math.min(ww(w),iL),b=i$(_=>w.next(C*_).value,C,30);return C+"ms "+b},toTransition:()=>{}};return w}rL.applyToOptions=e=>{const t=ode(e,100,rL);return e.ease=t.ease,e.duration=Qe(t.duration),e.type="keyframes",e};function Ob({keyframes:e,velocity:t=0,power:n=.8,timeConstant:c=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:s,min:d,max:h,restDelta:l=.5,restSpeed:u}){const p=e[0],y={done:!1,value:p},m=I=>d!==void 0&&I<d||h!==void 0&&I>h,f=I=>d===void 0?h:h===void 0||Math.abs(d-I)<Math.abs(h-I)?d:h;let g=n*t;const M=p+g,x=s===void 0?M:s(M);x!==M&&(g=x-p);const v=I=>-g*Math.exp(-I/c),L=I=>x+v(I),w=I=>{const j=v(I),N=L(I);y.done=Math.abs(j)<=l,y.value=y.done?x:N};let C,b;const _=I=>{m(y.value)&&(C=I,b=rL({keyframes:[y.value,f(y.value)],velocity:r$(L,I,y.value),damping:i,stiffness:r,restDelta:l,restSpeed:u}))};return _(0),{calculatedDuration:null,next:I=>{let j=!1;return!b&&C===void 0&&(j=!0,w(I),_(I)),C!==void 0&&I>=C?b.next(I-C):(!j&&w(I),y)}}}function ude(e,t,n){const c=[],i=n||gt.mix||c$,r=e.length-1;for(let s=0;s<r;s++){let d=i(e[s],e[s+1]);if(t){const h=Array.isArray(t)?t[s]||Ze:t;d=O1(h,d)}c.push(d)}return c}function s$(e,t,{clamp:n=!0,ease:c,mixer:i}={}){const r=e.length;if(et(r===t.length,"Both input and output ranges must be the same length","range-length"),r===1)return()=>t[0];if(r===2&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const d=ude(t,c,i),h=d.length,l=u=>{if(s&&u<e[0])return t[0];let p=0;if(h>1)for(;p<e.length-2&&!(u<e[p+1]);p++);const y=T1(e[p],e[p+1],u);return d[p](y)};return n?u=>l(ft(e[0],e[r-1],u)):l}function pde(e,t){const n=e[e.length-1];for(let c=1;c<=t;c++){const i=T1(0,t,c);e.push(fe(n,1,i))}}function yde(e){const t=[0];return pde(t,e.length-1),t}function kde(e,t){return e.map(n=>n*t)}function mde(e,t){return e.map(()=>t||Zj).splice(0,e.length-1)}function Oc({duration:e=300,keyframes:t,times:n,ease:c="easeInOut"}){const i=S2e(c)?c.map(iC):iC(c),r={done:!1,value:t[0]},s=kde(n&&n.length===t.length?n:yde(t),e),d=s$(s,t,{ease:Array.isArray(i)?i:mde(t,i)});return{calculatedDuration:e,next:h=>(r.value=d(h),r.done=h>=e,r)}}const fde=e=>e!==null;function Cw(e,{repeat:t,repeatType:n="loop"},c,i=1){const r=e.filter(fde),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||c===void 0?r[d]:c}const gde={decay:Ob,inertia:Ob,tween:Oc,keyframes:Oc,spring:rL};function d$(e){typeof e.type=="string"&&(e.type=gde[e.type])}class Nw{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const vde=e=>e/100;class Sw extends Nw{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==De.now()&&this.tick(De.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;d$(t);const{type:n=Oc,repeat:c=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const h=n||Oc;process.env.NODE_ENV!=="production"&&h!==Oc&&et(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),h!==Oc&&typeof d[0]!="number"&&(this.mixKeyframes=O1(vde,c$(d[0],d[1])),d=[0,100]);const l=h({...t,keyframes:d});r==="mirror"&&(this.mirroredGenerator=h({...t,keyframes:[...d].reverse(),velocity:-s})),l.calculatedDuration===null&&(l.calculatedDuration=ww(l));const{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(c+1)-i,this.generator=l}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:c,totalDuration:i,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:d,calculatedDuration:h}=this;if(this.startTime===null)return c.next(0);const{delay:l=0,keyframes:u,repeat:p,repeatType:y,repeatDelay:m,type:f,onUpdate:g,finalKeyframe:M}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const x=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?x<0:x>i;this.currentTime=Math.max(x,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let L=this.currentTime,w=c;if(p){const I=Math.min(this.currentTime,i)/d;let j=Math.floor(I),N=I%1;!N&&I>=1&&(N=1),N===1&&j--,j=Math.min(j,p+1),!!(j%2)&&(y==="reverse"?(N=1-N,m&&(N-=m/d)):y==="mirror"&&(w=s)),L=ft(0,1,N)*d}const C=v?{done:!1,value:u[0]}:w.next(L);r&&(C.value=r(C.value));let{done:b}=C;!v&&h!==null&&(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const _=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return _&&f!==Ob&&(C.value=Cw(u,this.options,M,this.speed)),g&&g(C.value),_&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return Ge(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ge(t)}get time(){return Ge(this.currentTime)}set time(t){t=Qe(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(De.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Ge(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=nde,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const c=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=c):this.holdTime!==null?this.startTime=c-this.holdTime:this.startTime||(this.startTime=n??c),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(De.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function Mde(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Nc=e=>e*180/Math.PI,Ub=e=>{const t=Nc(Math.atan2(e[1],e[0]));return Wb(t)},xde={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Ub,rotateZ:Ub,skewX:e=>Nc(Math.atan(e[1])),skewY:e=>Nc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Wb=e=>(e=e%360,e<0&&(e+=360),e),uC=Ub,pC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),yC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),_de={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:pC,scaleY:yC,scale:e=>(pC(e)+yC(e))/2,rotateX:e=>Wb(Nc(Math.atan2(e[6],e[5]))),rotateY:e=>Wb(Nc(Math.atan2(-e[2],e[0]))),rotateZ:uC,rotate:uC,skewX:e=>Nc(Math.atan(e[4])),skewY:e=>Nc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Gb(e){return e.includes("scale")?1:0}function Kb(e,t){if(!e||e==="none")return Gb(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let c,i;if(n)c=_de,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);c=xde,i=d}if(!i)return Gb(t);const r=c[t],s=i[1].split(",").map(Ide);return typeof r=="function"?r(s):s[r]}const Lde=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Kb(n,t)};function Ide(e){return parseFloat(e.trim())}const c1=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i1=new Set(c1),kC=e=>e===o1||e===K,bde=new Set(["x","y","z"]),wde=c1.filter(e=>!bde.has(e));function Cde(e){const t=[];return wde.forEach(n=>{const c=e.getValue(n);c!==void 0&&(t.push([n,c.get()]),c.set(n.startsWith("scale")?1:0))}),t}const qc={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Kb(t,"x"),y:(e,{transform:t})=>Kb(t,"y")};qc.translateX=qc.x;qc.translateY=qc.y;const Ac=new Set;let Zb=!1,Xb=!1,Yb=!1;function l$(){if(Xb){const e=Array.from(Ac).filter(c=>c.needsMeasurement),t=new Set(e.map(c=>c.element)),n=new Map;t.forEach(c=>{const i=Cde(c);i.length&&(n.set(c,i),c.render())}),e.forEach(c=>c.measureInitialState()),t.forEach(c=>{c.render();const i=n.get(c);i&&i.forEach(([r,s])=>{c.getValue(r)?.set(s)})}),e.forEach(c=>c.measureEndState()),e.forEach(c=>{c.suspendedScrollY!==void 0&&window.scrollTo(0,c.suspendedScrollY)})}Xb=!1,Zb=!1,Ac.forEach(e=>e.complete(Yb)),Ac.clear()}function h$(){Ac.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Xb=!0)})}function Nde(){Yb=!0,h$(),l$(),Yb=!1}class jw{constructor(t,n,c,i,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=c,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Ac.add(this),Zb||(Zb=!0,ke.read(h$),ke.resolveKeyframes(l$))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:c,motionValue:i}=this;if(t[0]===null){const r=i?.get(),s=t[t.length-1];if(r!==void 0)t[0]=r;else if(c&&n){const d=c.readValue(n,s);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=s),i&&r===void 0&&i.set(t[0])}Mde(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Ac.delete(this)}cancel(){this.state==="scheduled"&&(Ac.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Sde=e=>e.startsWith("--");function jde(e,t,n){Sde(t)?e.style.setProperty(t,n):e.style[t]=n}const $de=mw(()=>window.ScrollTimeline!==void 0),qde={};function Ade(e,t){const n=mw(e);return()=>qde[t]??n()}const u$=Ade(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),k1=([e,t,n,c])=>`cubic-bezier(${e}, ${t}, ${n}, ${c})`,mC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:k1([0,.65,.55,1]),circOut:k1([.55,0,1,.45]),backIn:k1([.31,.01,.66,-.59]),backOut:k1([.33,1.53,.69,.99])};function p$(e,t){if(e)return typeof e=="function"?u$()?i$(e,t):"ease-out":Xj(e)?k1(e):Array.isArray(e)?e.map(n=>p$(n,t)||mC.easeOut):mC[e]}function zde(e,t,n,{delay:c=0,duration:i=300,repeat:r=0,repeatType:s="loop",ease:d="easeOut",times:h}={},l=void 0){const u={[t]:n};h&&(u.offset=h);const p=p$(d,i);Array.isArray(p)&&(u.easing=p);const y={delay:c,duration:i,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:r+1,direction:s==="reverse"?"alternate":"normal"};return l&&(y.pseudoElement=l),e.animate(u,y)}function y$(e){return typeof e=="function"&&"applyToOptions"in e}function Vde({type:e,...t}){return y$(e)&&u$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Pde extends Nw{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:c,keyframes:i,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:d,onComplete:h}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,et(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const l=Vde(t);this.animation=zde(n,c,i,l,r),l.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=Cw(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):jde(n,c,u),this.animation.cancel()}h?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Ge(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ge(t)}get time(){return Ge(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Qe(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&$de()?(this.animation.timeline=t,Ze):n(this)}}const k$={anticipate:Wj,backInOut:Uj,circInOut:Kj};function Tde(e){return e in k$}function Hde(e){typeof e.ease=="string"&&Tde(e.ease)&&(e.ease=k$[e.ease])}const fC=10;class Dde extends Pde{constructor(t){Hde(t),d$(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:c,onComplete:i,element:r,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const d=new Sw({...s,autoplay:!1}),h=Qe(this.finishedTime??this.time);n.setWithVelocity(d.sample(h-fC).value,d.sample(h).value,fC),d.stop()}}const gC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(At.test(e)||e==="0")&&!e.startsWith("url("));function Bde(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Rde(e,t,n,c){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const r=e[e.length-1],s=gC(i,t),d=gC(r,t);return n1(s===d,`You are trying to animate ${t} from "${i}" to "${r}". "${s?r:i}" is not an animatable value.`,"value-not-animatable"),!s||!d?!1:Bde(e)||(n==="spring"||y$(n))&&c}function Jb(e){e.duration=0,e.type="keyframes"}const Fde=new Set(["opacity","clipPath","filter","transform"]),Ede=mw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Ode(e){const{motionValue:t,name:n,repeatDelay:c,repeatType:i,damping:r,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:h,transformTemplate:l}=t.owner.getProps();return Ede()&&n&&Fde.has(n)&&(n!=="transform"||!l)&&!h&&!c&&i!=="mirror"&&r!==0&&s!=="inertia"}const Ude=40;class Wde extends Nw{constructor({autoplay:t=!0,delay:n=0,type:c="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",keyframes:d,name:h,motionValue:l,element:u,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=De.now();const y={autoplay:t,delay:n,type:c,repeat:i,repeatDelay:r,repeatType:s,name:h,motionValue:l,element:u,...p},m=u?.KeyframeResolver||jw;this.keyframeResolver=new m(d,(f,g,M)=>this.onKeyframesResolved(f,g,y,!M),h,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,c,i){this.keyframeResolver=void 0;const{name:r,type:s,velocity:d,delay:h,isHandoff:l,onUpdate:u}=c;this.resolvedAt=De.now(),Rde(t,r,s,d)||((gt.instantAnimations||!h)&&u?.(Cw(t,c,n)),t[0]=t[t.length-1],Jb(c),c.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Ude?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...c,keyframes:t},m=!l&&Ode(y)?new Dde({...y,element:y.motionValue.owner.current}):new Sw(y);m.finished.then(()=>this.notifyFinished()).catch(Ze),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Nde()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Gde=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Kde(e){const t=Gde.exec(e);if(!t)return[,];const[,n,c,i]=t;return[`--${n??c}`,i]}const Zde=4;function m$(e,t,n=1){et(n<=Zde,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[c,i]=Kde(e);if(!c)return;const r=window.getComputedStyle(t).getPropertyValue(c);if(r){const s=r.trim();return Tj(s)?parseFloat(s):s}return _w(i)?m$(i,t,n+1):i}function $w(e,t){return e?.[t]??e?.default??e}const f$=new Set(["width","height","top","left","right","bottom",...c1]),Xde={test:e=>e==="auto",parse:e=>e},g$=e=>t=>t.test(e),v$=[o1,K,lt,It,R2e,B2e,Xde],vC=e=>v$.find(g$(e));function Yde(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Dj(e):!0}const Jde=new Set(["brightness","contrast","saturate","opacity"]);function Qde(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[c]=n.match(Lw)||[];if(!c)return e;const i=n.replace(c,"");let r=Jde.has(t)?1:0;return c!==n&&(r*=100),t+"("+r+i+")"}const e0e=/\b([a-z-]*)\(.*?\)/gu,Qb={...At,getAnimatableNone:e=>{const t=e.match(e0e);return t?t.map(Qde).join(" "):e}},MC={...o1,transform:Math.round},t0e={rotate:It,rotateX:It,rotateY:It,rotateZ:It,scale:Y1,scaleX:Y1,scaleY:Y1,scaleZ:Y1,skew:It,skewX:It,skewY:It,distance:K,translateX:K,translateY:K,translateZ:K,x:K,y:K,z:K,perspective:K,transformPerspective:K,opacity:H1,originX:rC,originY:rC,originZ:K},qw={borderWidth:K,borderTopWidth:K,borderRightWidth:K,borderBottomWidth:K,borderLeftWidth:K,borderRadius:K,radius:K,borderTopLeftRadius:K,borderTopRightRadius:K,borderBottomRightRadius:K,borderBottomLeftRadius:K,width:K,maxWidth:K,height:K,maxHeight:K,top:K,right:K,bottom:K,left:K,padding:K,paddingTop:K,paddingRight:K,paddingBottom:K,paddingLeft:K,margin:K,marginTop:K,marginRight:K,marginBottom:K,marginLeft:K,backgroundPositionX:K,backgroundPositionY:K,...t0e,zIndex:MC,fillOpacity:H1,strokeOpacity:H1,numOctaves:MC},a0e={...qw,color:Le,backgroundColor:Le,outlineColor:Le,fill:Le,stroke:Le,borderColor:Le,borderTopColor:Le,borderRightColor:Le,borderBottomColor:Le,borderLeftColor:Le,filter:Qb,WebkitFilter:Qb},M$=e=>a0e[e];function x$(e,t){let n=M$(e);return n!==Qb&&(n=At),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const n0e=new Set(["auto","none","0"]);function o0e(e,t,n){let c=0,i;for(;c<e.length&&!i;){const r=e[c];typeof r=="string"&&!n0e.has(r)&&D1(r).values.length&&(i=e[c]),c++}if(i&&n)for(const r of t)e[r]=x$(n,i)}class c0e extends jw{constructor(t,n,c,i,r){super(t,n,c,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:c}=this;if(!n||!n.current)return;super.readKeyframes();for(let h=0;h<t.length;h++){let l=t[h];if(typeof l=="string"&&(l=l.trim(),_w(l))){const u=m$(l,n.current);u!==void 0&&(t[h]=u),h===t.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!f$.has(c)||t.length!==2)return;const[i,r]=t,s=vC(i),d=vC(r);if(s!==d)if(kC(s)&&kC(d))for(let h=0;h<t.length;h++){const l=t[h];typeof l=="string"&&(t[h]=parseFloat(l))}else qc[c]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,c=[];for(let i=0;i<t.length;i++)(t[i]===null||Yde(t[i]))&&c.push(i);c.length&&o0e(t,c,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:c}=this;if(!t||!t.current)return;c==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=qc[c](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(c,i).jump(i,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:c}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const r=c.length-1,s=c[r];c[r]=qc[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([d,h])=>{t.getValue(d).set(h)}),this.resolveNoneKeyframes()}}function i0e(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let c=document;const i=n?.[e]??c.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const _$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function L$(e){return Hj(e)&&"offsetHeight"in e}const xC=30,r0e=e=>!isNaN(parseFloat(e)),q1={current:void 0};class s0e{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=c=>{const i=De.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(c),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const r of this.dependents)r.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=De.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=r0e(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&gw(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new fw);const c=this.events[t].add(n);return t==="change"?()=>{c(),ke.read(()=>{this.events.change.getSize()||this.stop()})}:c}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,c){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-c}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return q1.current&&q1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=De.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>xC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,xC);return Bj(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function zc(e,t){return new s0e(e,t)}const{schedule:Aw}=Yj(queueMicrotask,!1),Je={x:!1,y:!1};function I$(){return Je.x||Je.y}function d0e(e){return e==="x"||e==="y"?Je[e]?null:(Je[e]=!0,()=>{Je[e]=!1}):Je.x||Je.y?null:(Je.x=Je.y=!0,()=>{Je.x=Je.y=!1})}function b$(e,t){const n=i0e(e),c=new AbortController,i={passive:!0,...t,signal:c.signal};return[n,i,()=>c.abort()]}function _C(e){return!(e.pointerType==="touch"||I$())}function l0e(e,t,n={}){const[c,i,r]=b$(e,n),s=d=>{if(!_C(d))return;const{target:h}=d,l=t(h,d);if(typeof l!="function"||!h)return;const u=p=>{_C(p)&&(l(p),h.removeEventListener("pointerleave",u))};h.addEventListener("pointerleave",u,i)};return c.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const w$=(e,t)=>t?e===t?!0:w$(e,t.parentElement):!1,zw=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,h0e=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function u0e(e){return h0e.has(e.tagName)||e.tabIndex!==-1}const J_=new WeakSet;function LC(e){return t=>{t.key==="Enter"&&e(t)}}function EL(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const p0e=(e,t)=>{const n=e.currentTarget;if(!n)return;const c=LC(()=>{if(J_.has(n))return;EL(n,"down");const i=LC(()=>{EL(n,"up")}),r=()=>EL(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",r,t)});n.addEventListener("keydown",c,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",c),t)};function IC(e){return zw(e)&&!I$()}function y0e(e,t,n={}){const[c,i,r]=b$(e,n),s=d=>{const h=d.currentTarget;if(!IC(d))return;J_.add(h);const l=t(h,d),u=(m,f)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),J_.has(h)&&J_.delete(h),IC(m)&&typeof l=="function"&&l(m,{success:f})},p=m=>{u(m,h===window||h===document||n.useGlobalTarget||w$(h,m.target))},y=m=>{u(m,!1)};window.addEventListener("pointerup",p,i),window.addEventListener("pointercancel",y,i)};return c.forEach(d=>{(n.useGlobalTarget?window:d).addEventListener("pointerdown",s,i),L$(d)&&(d.addEventListener("focus",l=>p0e(l,i)),!u0e(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function C$(e){return Hj(e)&&"ownerSVGElement"in e}function k0e(e){return C$(e)&&e.tagName==="svg"}function m0e(...e){const t=!Array.isArray(e[0]),n=t?0:-1,c=e[0+n],i=e[1+n],r=e[2+n],s=e[3+n],d=s$(i,r,s);return t?d(c):d}const je=e=>!!(e&&e.getVelocity),f0e=[...v$,Le,At],g0e=e=>f0e.find(g$(e)),kL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function bC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function v0e(...e){return t=>{let n=!1;const c=e.map(i=>{const r=bC(i,t);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let i=0;i<c.length;i++){const r=c[i];typeof r=="function"?r():bC(e[i],null)}}}}function M0e(...e){return J.useCallback(v0e(...e),e)}class x0e extends J.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const c=n.offsetParent,i=L$(c)&&c.offsetWidth||0,r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft,r.right=i-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function _0e({children:e,isPresent:t,anchorX:n,root:c}){const i=k.useId(),r=k.useRef(null),s=k.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=k.useContext(kL),h=M0e(r,e?.ref);return k.useInsertionEffect(()=>{const{width:l,height:u,top:p,left:y,right:m}=s.current;if(t||!r.current||!l||!u)return;const f=n==="left"?`left: ${y}`:`right: ${m}`;r.current.dataset.motionPopId=i;const g=document.createElement("style");d&&(g.nonce=d);const M=c??document.head;return M.appendChild(g),g.sheet&&g.sheet.insertRule(`
8162
8162
  [data-motion-pop-id="${i}"] {
8163
8163
  position: absolute !important;
8164
8164
  width: ${l}px !important;
@@ -8166,18 +8166,18 @@
8166
8166
  ${f}px !important;
8167
8167
  top: ${p}px !important;
8168
8168
  }
8169
- `),()=>{M.contains(g)&&M.removeChild(g)}},[t]),o.jsx(x0e,{isPresent:t,childRef:r,sizeRef:s,children:J.cloneElement(e,{ref:h})})}const L0e=({children:e,initial:t,isPresent:n,onExitComplete:c,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:h})=>{const l=zt(I0e),u=k.useId();let p=!0,y=k.useMemo(()=>(p=!1,{id:u,initial:t,isPresent:n,custom:i,onExitComplete:m=>{l.set(m,!0);for(const f of l.values())if(!f)return;c&&c()},register:m=>(l.set(m,!1),()=>l.delete(m))}),[n,l,c]);return r&&p&&(y={...y}),k.useMemo(()=>{l.forEach((m,f)=>l.set(f,!1))},[n]),J.useEffect(()=>{!n&&!l.size&&c&&c()},[n]),s==="popLayout"&&(e=o.jsx(_0e,{isPresent:n,anchorX:d,root:h,children:e})),o.jsx(yL.Provider,{value:y,children:e})};function I0e(){return new Map}function N$(e=!0){const t=k.useContext(yL);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:c,register:i}=t,r=k.useId();k.useEffect(()=>{if(e)return i(r)},[e]);const s=k.useCallback(()=>e&&c&&c(r),[r,c,e]);return!n&&c?[!1,s]:[!0]}const J1=e=>e.key||"";function wC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const b0e=({children:e,custom:t,initial:n=!0,onExitComplete:c,presenceAffectsLayout:i=!0,mode:r="sync",propagate:s=!1,anchorX:d="left",root:h})=>{const[l,u]=N$(s),p=k.useMemo(()=>wC(e),[e]),y=s&&!l?[]:p.map(J1),m=k.useRef(!0),f=k.useRef(p),g=zt(()=>new Map),[M,x]=k.useState(p),[v,L]=k.useState(p);pw(()=>{m.current=!1,f.current=p;for(let b=0;b<v.length;b++){const _=J1(v[b]);y.includes(_)?g.delete(_):g.get(_)!==!0&&g.set(_,!1)}},[v,y.length,y.join("-")]);const w=[];if(p!==M){let b=[...p];for(let _=0;_<v.length;_++){const I=v[_],j=J1(I);y.includes(j)||(b.splice(_,0,I),w.push(I))}return r==="wait"&&w.length&&(b=w),L(wC(b)),x(p),null}process.env.NODE_ENV!=="production"&&r==="wait"&&v.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:C}=k.useContext(hw);return o.jsx(o.Fragment,{children:v.map(b=>{const _=J1(b),I=s&&!l?!1:p===v||y.includes(_),j=()=>{if(g.has(_))g.set(_,!0);else return;let N=!0;g.forEach(S=>{S||(N=!1)}),N&&(C?.(),L(f.current),s&&u?.(),c&&c())};return o.jsx(L0e,{isPresent:I,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:h,onExitComplete:I?void 0:j,anchorX:d,children:b},_)})})},S$=k.createContext({strict:!1}),CC={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},a1={};for(const e in CC)a1[e]={isEnabled:t=>CC[e].some(n=>!!t[n])};function w0e(e){for(const t in e)a1[t]={...a1[t],...e[t]}}const C0e=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function sL(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||C0e.has(e)}let j$=e=>!sL(e);function N0e(e){typeof e=="function"&&(j$=t=>t.startsWith("on")?!sL(t):e(t))}try{N0e(require("@emotion/is-prop-valid").default)}catch{}function S0e(e,t,n){const c={};for(const i in e)i==="values"&&typeof e.values=="object"||(j$(i)||n===!0&&sL(i)||!t&&!sL(i)||e.draggable&&i.startsWith("onDrag"))&&(c[i]=e[i]);return c}const mL=k.createContext({});function fL(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function B1(e){return typeof e=="string"||Array.isArray(e)}const Vw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Pw=["initial",...Vw];function gL(e){return fL(e.animate)||Pw.some(t=>B1(e[t]))}function $$(e){return!!(gL(e)||e.variants)}function j0e(e,t){if(gL(e)){const{initial:n,animate:c}=e;return{initial:n===!1||B1(n)?n:void 0,animate:B1(c)?c:void 0}}return e.inherit!==!1?t:{}}function $0e(e){const{initial:t,animate:n}=j0e(e,k.useContext(mL));return k.useMemo(()=>({initial:t,animate:n}),[NC(t),NC(n)])}function NC(e){return Array.isArray(e)?e.join(" "):e}const R1={};function q0e(e){for(const t in e)R1[t]=e[t],xw(t)&&(R1[t].isCSSVariable=!0)}function q$(e,{layout:t,layoutId:n}){return i1.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!R1[e]||e==="opacity")}const A0e={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},z0e=c1.length;function V0e(e,t,n){let c="",i=!0;for(let r=0;r<z0e;r++){const s=c1[r],d=e[s];if(d===void 0)continue;let h=!0;if(typeof d=="number"?h=d===(s.startsWith("scale")?1:0):h=parseFloat(d)===0,!h||n){const l=_$(d,qw[s]);if(!h){i=!1;const u=A0e[s]||s;c+=`${u}(${l}) `}n&&(t[s]=l)}}return c=c.trim(),n?c=n(t,i?"":c):i&&(c="none"),c}function Tw(e,t,n){const{style:c,vars:i,transformOrigin:r}=e;let s=!1,d=!1;for(const h in t){const l=t[h];if(i1.has(h)){s=!0;continue}else if(xw(h)){i[h]=l;continue}else{const u=_$(l,qw[h]);h.startsWith("origin")?(d=!0,r[h]=u):c[h]=u}}if(t.transform||(s||n?c.transform=V0e(t,e.transform,n):c.transform&&(c.transform="none")),d){const{originX:h="50%",originY:l="50%",originZ:u=0}=r;c.transformOrigin=`${h} ${l} ${u}`}}const Hw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function A$(e,t,n){for(const c in t)!je(t[c])&&!q$(c,n)&&(e[c]=t[c])}function P0e({transformTemplate:e},t){return k.useMemo(()=>{const n=Hw();return Tw(n,t,e),Object.assign({},n.vars,n.style)},[t])}function T0e(e,t){const n=e.style||{},c={};return A$(c,n,e),Object.assign(c,P0e(e,t)),c}function H0e(e,t){const n={},c=T0e(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,c.userSelect=c.WebkitUserSelect=c.WebkitTouchCallout="none",c.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=c,n}const D0e={offset:"stroke-dashoffset",array:"stroke-dasharray"},B0e={offset:"strokeDashoffset",array:"strokeDasharray"};function R0e(e,t,n=1,c=0,i=!0){e.pathLength=1;const r=i?D0e:B0e;e[r.offset]=K.transform(-c);const s=K.transform(t),d=K.transform(n);e[r.array]=`${s} ${d}`}function z$(e,{attrX:t,attrY:n,attrScale:c,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},h,l,u){if(Tw(e,d,l),h){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:y}=e;p.transform&&(y.transform=p.transform,delete p.transform),(y.transform||p.transformOrigin)&&(y.transformOrigin=p.transformOrigin??"50% 50%",delete p.transformOrigin),y.transform&&(y.transformBox=u?.transformBox??"fill-box",delete p.transformBox),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),c!==void 0&&(p.scale=c),i!==void 0&&R0e(p,i,r,s,!1)}const V$=()=>({...Hw(),attrs:{}}),P$=e=>typeof e=="string"&&e.toLowerCase()==="svg";function F0e(e,t,n,c){const i=k.useMemo(()=>{const r=V$();return z$(r,t,P$(c),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};A$(r,e.style,e),i.style={...r,...i.style}}return i}const E0e=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Dw(e){return typeof e!="string"||e.includes("-")?!1:!!(E0e.indexOf(e)>-1||/[A-Z]/u.test(e))}function O0e(e,t,n,{latestValues:c},i,r=!1){const d=(Dw(e)?F0e:H0e)(t,c,i,e),h=S0e(t,typeof e=="string",r),l=e!==k.Fragment?{...h,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>je(u)?u.get():u,[u]);return k.createElement(e,{...l,children:p})}function SC(e){const t=[{},{}];return e?.values.forEach((n,c)=>{t[0][c]=n.get(),t[1][c]=n.getVelocity()}),t}function Bw(e,t,n,c){if(typeof t=="function"){const[i,r]=SC(c);t=t(n!==void 0?n:e.custom,i,r)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,r]=SC(c);t=t(n!==void 0?n:e.custom,i,r)}return t}function Q_(e){return je(e)?e.get():e}function U0e({scrapeMotionValuesFromProps:e,createRenderState:t},n,c,i){return{latestValues:W0e(n,c,i,e),renderState:t()}}function W0e(e,t,n,c){const i={},r=c(e,{});for(const y in r)i[y]=Q_(r[y]);let{initial:s,animate:d}=e;const h=gL(e),l=$$(e);t&&l&&!h&&e.inherit!==!1&&(s===void 0&&(s=t.initial),d===void 0&&(d=t.animate));let u=n?n.initial===!1:!1;u=u||s===!1;const p=u?d:s;if(p&&typeof p!="boolean"&&!fL(p)){const y=Array.isArray(p)?p:[p];for(let m=0;m<y.length;m++){const f=Bw(e,y[m]);if(f){const{transitionEnd:g,transition:M,...x}=f;for(const v in x){let L=x[v];if(Array.isArray(L)){const w=u?L.length-1:0;L=L[w]}L!==null&&(i[v]=L)}for(const v in g)i[v]=g[v]}}}return i}const T$=e=>(t,n)=>{const c=k.useContext(mL),i=k.useContext(yL),r=()=>U0e(e,t,c,i);return n?r():zt(r)};function Rw(e,t,n){const{style:c}=e,i={};for(const r in c)(je(c[r])||t.style&&je(t.style[r])||q$(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=c[r]);return i}const G0e=T$({scrapeMotionValuesFromProps:Rw,createRenderState:Hw});function H$(e,t,n){const c=Rw(e,t,n);for(const i in e)if(je(e[i])||je(t[i])){const r=c1.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;c[r]=e[i]}return c}const K0e=T$({scrapeMotionValuesFromProps:H$,createRenderState:V$}),Z0e=Symbol.for("motionComponentSymbol");function Uc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function X0e(e,t,n){return k.useCallback(c=>{c&&e.onMount&&e.onMount(c),t&&(c?t.mount(c):t.unmount()),n&&(typeof n=="function"?n(c):Uc(n)&&(n.current=c))},[t])}const Fw=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Y0e="framerAppearId",D$="data-"+Fw(Y0e),B$=k.createContext({});function J0e(e,t,n,c,i){const{visualElement:r}=k.useContext(mL),s=k.useContext(S$),d=k.useContext(yL),h=k.useContext(kL).reducedMotion,l=k.useRef(null);c=c||s.renderer,!l.current&&c&&(l.current=c(e,{visualState:t,parent:r,props:n,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:h}));const u=l.current,p=k.useContext(B$);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&Q0e(l.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const m=n[D$],f=k.useRef(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return pw(()=>{u&&(y.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),f.current&&u.animationState&&u.animationState.animateChanges())}),k.useEffect(()=>{u&&(!f.current&&u.animationState&&u.animationState.animateChanges(),f.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),f.current=!1),u.enteringChildren=void 0)}),u}function Q0e(e,t,n,c){const{layoutId:i,layout:r,drag:s,dragConstraints:d,layoutScroll:h,layoutRoot:l,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:R$(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&Uc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:c,crossfade:u,layoutScroll:h,layoutRoot:l})}function R$(e){if(e)return e.options.allowProjection!==!1?e.projection:R$(e.parent)}function OL(e,{forwardMotionProps:t=!1}={},n,c){n&&w0e(n);const i=Dw(e)?K0e:G0e;function r(d,h){let l;const u={...k.useContext(kL),...d,layoutId:ele(d)},{isStatic:p}=u,y=$0e(d),m=i(d,p);if(!p&&uw){tle(u,n);const f=ale(u);l=f.MeasureLayout,y.visualElement=J0e(e,m,u,c,f.ProjectionNode)}return o.jsxs(mL.Provider,{value:y,children:[l&&y.visualElement?o.jsx(l,{visualElement:y.visualElement,...u}):null,O0e(e,d,X0e(m,y.visualElement,h),m,p,t)]})}r.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const s=k.forwardRef(r);return s[Z0e]=e,s}function ele({layoutId:e}){const t=k.useContext(hw).id;return t&&e!==void 0?t+"-"+e:e}function tle(e,t){const n=k.useContext(S$).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?n1(!1,c,"lazy-strict-mode"):et(!1,c,"lazy-strict-mode")}}function ale(e){const{drag:t,layout:n}=a1;if(!t&&!n)return{};const c={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function nle(e,t){if(typeof Proxy>"u")return OL;const n=new Map,c=(r,s)=>OL(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&gw(!1,"motion() is deprecated. Use motion.create() instead."),c(r,s));return new Proxy(i,{get:(r,s)=>s==="create"?c:(n.has(s)||n.set(s,OL(s,void 0,e,t)),n.get(s))})}function F$({top:e,left:t,right:n,bottom:c}){return{x:{min:t,max:n},y:{min:e,max:c}}}function ole({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function cle(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),c=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:c.y,right:c.x}}function UL(e){return e===void 0||e===1}function ew({scale:e,scaleX:t,scaleY:n}){return!UL(e)||!UL(t)||!UL(n)}function wc(e){return ew(e)||E$(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function E$(e){return jC(e.x)||jC(e.y)}function jC(e){return e&&e!=="0%"}function dL(e,t,n){const c=e-n,i=t*c;return n+i}function $C(e,t,n,c,i){return i!==void 0&&(e=dL(e,i,c)),dL(e,n,c)+t}function tw(e,t=0,n=1,c,i){e.min=$C(e.min,t,n,c,i),e.max=$C(e.max,t,n,c,i)}function O$(e,{x:t,y:n}){tw(e.x,t.translate,t.scale,t.originPoint),tw(e.y,n.translate,n.scale,n.originPoint)}const qC=.999999999999,AC=1.0000000000001;function ile(e,t,n,c=!1){const i=n.length;if(!i)return;t.x=t.y=1;let r,s;for(let d=0;d<i;d++){r=n[d],s=r.projectionDelta;const{visualElement:h}=r.options;h&&h.props.style&&h.props.style.display==="contents"||(c&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Gc(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,O$(e,s)),c&&wc(r.latestValues)&&Gc(e,r.latestValues))}t.x<AC&&t.x>qC&&(t.x=1),t.y<AC&&t.y>qC&&(t.y=1)}function Wc(e,t){e.min=e.min+t,e.max=e.max+t}function zC(e,t,n,c,i=.5){const r=fe(e.min,e.max,i);tw(e,t,n,r,c)}function Gc(e,t){zC(e.x,t.x,t.scaleX,t.scale,t.originX),zC(e.y,t.y,t.scaleY,t.scale,t.originY)}function U$(e,t){return F$(cle(e.getBoundingClientRect(),t))}function rle(e,t,n){const c=U$(e,n),{scroll:i}=t;return i&&(Wc(c.x,i.offset.x),Wc(c.y,i.offset.y)),c}const VC=()=>({translate:0,scale:1,origin:0,originPoint:0}),Kc=()=>({x:VC(),y:VC()}),PC=()=>({min:0,max:0}),_e=()=>({x:PC(),y:PC()}),aw={current:null},W$={current:!1};function sle(){if(W$.current=!0,!!uw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>aw.current=e.matches;e.addEventListener("change",t),t()}else aw.current=!1}const dle=new WeakMap;function lle(e,t,n){for(const c in t){const i=t[c],r=n[c];if(je(i))e.addValue(c,i);else if(je(r))e.addValue(c,zc(i,{owner:e}));else if(r!==i)if(e.hasValue(c)){const s=e.getValue(c);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(c);e.addValue(c,zc(s!==void 0?s:i,{owner:e}))}}for(const c in n)t[c]===void 0&&e.removeValue(c);return t}const TC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class hle{scrapeMotionValuesFromProps(t,n,c){return{}}constructor({parent:t,props:n,presenceContext:c,reducedMotionConfig:i,blockInitialAnimation:r,visualState:s},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=jw,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const y=De.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,ke.render(this.render,!1,!0))};const{latestValues:h,renderState:l}=s;this.latestValues=h,this.baseTarget={...h},this.initialValues=n.initial?{...h}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=c,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=d,this.blockInitialAnimation=!!r,this.isControllingVariants=gL(n),this.isVariantNode=$$(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...p}=this.scrapeMotionValuesFromProps(n,{},this);for(const y in p){const m=p[y];h[y]!==void 0&&je(m)&&m.set(h[y])}}mount(t){this.current=t,dle.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,c)=>this.bindToMotionValue(c,n)),W$.current||sle(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:aw.current,process.env.NODE_ENV!=="production"&&gw(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),vt(this.notifyUpdate),vt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const c=i1.has(t);c&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ke.preRender(this.notifyUpdate),c&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),r&&r(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in a1){const n=a1[t];if(!n)continue;const{isEnabled:c,Feature:i}=n;if(!this.features[t]&&i&&c(this.props)&&(this.features[t]=new i(this)),this.features[t]){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):_e()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let c=0;c<TC.length;c++){const i=TC[c];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const r="on"+i,s=t[r];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=lle(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const c=this.values.get(t);n!==c&&(c&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let c=this.values.get(t);return c===void 0&&n!==void 0&&(c=zc(n===null?void 0:n,{owner:this}),this.addValue(t,c)),c}readValue(t,n){let c=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return c!=null&&(typeof c=="string"&&(Tj(c)||Dj(c))?c=parseFloat(c):!g0e(c)&&At.test(n)&&(c=x$(t,n)),this.setBaseTarget(t,je(c)?c.get():c)),je(c)?c.get():c}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let c;if(typeof n=="string"||typeof n=="object"){const r=Bw(this.props,n,this.presenceContext?.custom);r&&(c=r[t])}if(n&&c!==void 0)return c;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!je(i)?i:this.initialValues[t]!==void 0&&c===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new fw),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Aw.render(this.render)}}class G$ extends hle{constructor(){super(...arguments),this.KeyframeResolver=c0e}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:c}){delete n[t],delete c[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;je(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function K$(e,{style:t,vars:n},c,i){const r=e.style;let s;for(s in t)r[s]=t[s];i?.applyProjectionStyles(r,c);for(s in n)r.setProperty(s,n[s])}function ule(e){return window.getComputedStyle(e)}class ple extends G${constructor(){super(...arguments),this.type="html",this.renderInstance=K$}readValueFromInstance(t,n){if(i1.has(n))return this.projection?.isProjecting?Gb(n):Lde(t,n);{const c=ule(t),i=(xw(n)?c.getPropertyValue(n):c[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return U$(t,n)}build(t,n,c){Tw(t,n,c.transformTemplate)}scrapeMotionValuesFromProps(t,n,c){return Rw(t,n,c)}}const Z$=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function yle(e,t,n,c){K$(e,t,void 0,c);for(const i in t.attrs)e.setAttribute(Z$.has(i)?i:Fw(i),t.attrs[i])}class kle extends G${constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=_e}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(i1.has(n)){const c=M$(n);return c&&c.default||0}return n=Z$.has(n)?n:Fw(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,c){return H$(t,n,c)}build(t,n,c){z$(t,n,this.isSVGTag,c.transformTemplate,c.style)}renderInstance(t,n,c,i){yle(t,n,c,i)}mount(t){this.isSVGTag=P$(t.tagName),super.mount(t)}}const mle=(e,t)=>Dw(e)?new kle(t):new ple(t,{allowProjection:e!==k.Fragment});function t1(e,t,n){const c=e.getProps();return Bw(c,t,n!==void 0?n:c.custom,e)}const nw=e=>Array.isArray(e);function fle(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,zc(n))}function gle(e){return nw(e)?e[e.length-1]||0:e}function vle(e,t){const n=t1(e,t);let{transitionEnd:c={},transition:i={},...r}=n||{};r={...r,...c};for(const s in r){const d=gle(r[s]);fle(e,s,d)}}function Mle(e){return!!(je(e)&&e.add)}function ow(e,t){const n=e.getValue("willChange");if(Mle(n))return n.add(t);if(!n&&gt.WillChange){const c=new gt.WillChange("auto");e.addValue("willChange",c),c.add(t)}}function X$(e){return e.props[D$]}const xle=e=>e!==null;function _le(e,{repeat:t,repeatType:n="loop"},c){const i=e.filter(xle),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const Lle={type:"spring",stiffness:500,damping:25,restSpeed:10},Ile=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ble={type:"keyframes",duration:.8},wle={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Cle=(e,{keyframes:t})=>t.length>2?ble:i1.has(e)?e.startsWith("scale")?Ile(t[1]):Lle:wle;function Nle({when:e,delay:t,delayChildren:n,staggerChildren:c,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:d,from:h,elapsed:l,...u}){return!!Object.keys(u).length}const Ew=(e,t,n,c={},i,r)=>s=>{const d=$w(c,e)||{},h=d.delay||c.delay||0;let{elapsed:l=0}=c;l=l-Qe(h);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-l,onUpdate:y=>{t.set(y),d.onUpdate&&d.onUpdate(y)},onComplete:()=>{s(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:r?void 0:i};Nle(d)||Object.assign(u,Cle(e,u)),u.duration&&(u.duration=Qe(u.duration)),u.repeatDelay&&(u.repeatDelay=Qe(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Jb(u),u.delay===0&&(p=!0)),(gt.instantAnimations||gt.skipAnimations)&&(p=!0,Jb(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=_le(u.keyframes,d);if(y!==void 0){ke.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new Sw(u):new Wde(u)};function Sle({protectedKeys:e,needsAnimating:t},n){const c=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,c}function Y$(e,t,{delay:n=0,transitionOverride:c,type:i}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:s,...d}=t;c&&(r=c);const h=[],l=i&&e.animationState&&e.animationState.getState()[i];for(const u in d){const p=e.getValue(u,e.latestValues[u]??null),y=d[u];if(y===void 0||l&&Sle(l,u))continue;const m={delay:n,...$w(r||{},u)},f=p.get();if(f!==void 0&&!p.isAnimating&&!Array.isArray(y)&&y===f&&!m.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){const x=X$(e);if(x){const v=window.MotionHandoffAnimation(x,u,ke);v!==null&&(m.startTime=v,g=!0)}}ow(e,u),p.start(Ew(u,p,y,e.shouldReduceMotion&&f$.has(u)?{type:!1}:m,e,g));const M=p.animation;M&&h.push(M)}return s&&Promise.all(h).then(()=>{ke.update(()=>{s&&vle(e,s)})}),h}function J$(e,t,n,c=0,i=1){const r=Array.from(e).sort((l,u)=>l.sortNodePosition(u)).indexOf(t),s=e.size,d=(s-1)*c;return typeof n=="function"?n(r,s):i===1?r*c:d-r*c}function cw(e,t,n={}){const c=t1(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=c||{};n.transitionOverride&&(i=n.transitionOverride);const r=c?()=>Promise.all(Y$(e,c,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(h=0)=>{const{delayChildren:l=0,staggerChildren:u,staggerDirection:p}=i;return jle(e,t,h,l,u,p,n)}:()=>Promise.resolve(),{when:d}=i;if(d){const[h,l]=d==="beforeChildren"?[r,s]:[s,r];return h().then(()=>l())}else return Promise.all([r(),s(n.delay)])}function jle(e,t,n=0,c=0,i=0,r=1,s){const d=[];for(const h of e.variantChildren)h.notify("AnimationStart",t),d.push(cw(h,t,{...s,delay:n+(typeof c=="function"?0:c)+J$(e.variantChildren,h,c,i,r)}).then(()=>h.notify("AnimationComplete",t)));return Promise.all(d)}function $le(e,t,n={}){e.notify("AnimationStart",t);let c;if(Array.isArray(t)){const i=t.map(r=>cw(e,r,n));c=Promise.all(i)}else if(typeof t=="string")c=cw(e,t,n);else{const i=typeof t=="function"?t1(e,t,n.custom):t;c=Promise.all(Y$(e,i,n))}return c.then(()=>{e.notify("AnimationComplete",t)})}function Q$(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let c=0;c<n;c++)if(t[c]!==e[c])return!1;return!0}const qle=Pw.length;function eq(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?eq(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<qle;n++){const c=Pw[n],i=e.props[c];(B1(i)||i===!1)&&(t[c]=i)}return t}const Ale=[...Vw].reverse(),zle=Vw.length;function Vle(e){return t=>Promise.all(t.map(({animation:n,options:c})=>$le(e,n,c)))}function Ple(e){let t=Vle(e),n=HC(),c=!0;const i=h=>(l,u)=>{const p=t1(e,u,h==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:y,transitionEnd:m,...f}=p;l={...l,...f,...m}}return l};function r(h){t=h(e)}function s(h){const{props:l}=e,u=eq(e.parent)||{},p=[],y=new Set;let m={},f=1/0;for(let M=0;M<zle;M++){const x=Ale[M],v=n[x],L=l[x]!==void 0?l[x]:u[x],w=B1(L),C=x===h?v.isActive:null;C===!1&&(f=M);let b=L===u[x]&&L!==l[x]&&w;if(b&&c&&e.manuallyAnimateOnMount&&(b=!1),v.protectedKeys={...m},!v.isActive&&C===null||!L&&!v.prevProp||fL(L)||typeof L=="boolean")continue;const _=Tle(v.prevProp,L);let I=_||x===h&&v.isActive&&!b&&w||M>f&&w,j=!1;const N=Array.isArray(L)?L:[L];let S=N.reduce(i(x),{});C===!1&&(S={});const{prevResolvedValues:A={}}=v,B={...A,...S},H=$=>{I=!0,y.has($)&&(j=!0,y.delete($)),v.needsAnimating[$]=!0;const P=e.getValue($);P&&(P.liveStyle=!1)};for(const $ in B){const P=S[$],T=A[$];if(m.hasOwnProperty($))continue;let D=!1;nw(P)&&nw(T)?D=!Q$(P,T):D=P!==T,D?P!=null?H($):y.add($):P!==void 0&&y.has($)?H($):v.protectedKeys[$]=!0}v.prevProp=L,v.prevResolvedValues=S,v.isActive&&(m={...m,...S}),c&&e.blockInitialAnimation&&(I=!1);const V=b&&_;I&&(!V||j)&&p.push(...N.map($=>{const P={type:x};if(typeof $=="string"&&c&&!V&&e.manuallyAnimateOnMount&&e.parent){const{parent:T}=e,D=t1(T,$);if(T.enteringChildren&&D){const{delayChildren:F}=D.transition||{};P.delay=J$(T.enteringChildren,e,F)}}return{animation:$,options:P}}))}if(y.size){const M={};if(typeof l.initial!="boolean"){const x=t1(e,Array.isArray(l.initial)?l.initial[0]:l.initial);x&&x.transition&&(M.transition=x.transition)}y.forEach(x=>{const v=e.getBaseTarget(x),L=e.getValue(x);L&&(L.liveStyle=!0),M[x]=v??null}),p.push({animation:M})}let g=!!p.length;return c&&(l.initial===!1||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(g=!1),c=!1,g?t(p):Promise.resolve()}function d(h,l){if(n[h].isActive===l)return Promise.resolve();e.variantChildren?.forEach(p=>p.animationState?.setActive(h,l)),n[h].isActive=l;const u=s(h);for(const p in n)n[p].protectedKeys={};return u}return{animateChanges:s,setActive:d,setAnimateFunction:r,getState:()=>n,reset:()=>{n=HC()}}}function Tle(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Q$(t,e):!1}function Rt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function HC(){return{animate:Rt(!0),whileInView:Rt(),whileHover:Rt(),whileTap:Rt(),whileDrag:Rt(),whileFocus:Rt(),exit:Rt()}}class Vt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Hle extends Vt{constructor(t){super(t),t.animationState||(t.animationState=Ple(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();fL(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Dle=0;class Ble extends Vt{constructor(){super(...arguments),this.id=Dle++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:c}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===c)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const Rle={animation:{Feature:Hle},exit:{Feature:Ble}};function F1(e,t,n,c={passive:!0}){return e.addEventListener(t,n,c),()=>e.removeEventListener(t,n)}function G1(e){return{point:{x:e.pageX,y:e.pageY}}}const Fle=e=>t=>zw(t)&&e(t,G1(t));function A1(e,t,n,c){return F1(e,t,Fle(n),c)}const tq=1e-4,Ele=1-tq,Ole=1+tq,aq=.01,Ule=0-aq,Wle=0+aq;function Ve(e){return e.max-e.min}function Gle(e,t,n){return Math.abs(e-t)<=n}function DC(e,t,n,c=.5){e.origin=c,e.originPoint=fe(t.min,t.max,e.origin),e.scale=Ve(n)/Ve(t),e.translate=fe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Ele&&e.scale<=Ole||isNaN(e.scale))&&(e.scale=1),(e.translate>=Ule&&e.translate<=Wle||isNaN(e.translate))&&(e.translate=0)}function z1(e,t,n,c){DC(e.x,t.x,n.x,c?c.originX:void 0),DC(e.y,t.y,n.y,c?c.originY:void 0)}function BC(e,t,n){e.min=n.min+t.min,e.max=e.min+Ve(t)}function Kle(e,t,n){BC(e.x,t.x,n.x),BC(e.y,t.y,n.y)}function RC(e,t,n){e.min=t.min-n.min,e.max=e.min+Ve(t)}function V1(e,t,n){RC(e.x,t.x,n.x),RC(e.y,t.y,n.y)}function We(e){return[e("x"),e("y")]}const nq=({current:e})=>e?e.ownerDocument.defaultView:null,FC=(e,t)=>Math.abs(e-t);function Zle(e,t){const n=FC(e.x,t.x),c=FC(e.y,t.y);return Math.sqrt(n**2+c**2)}class oq{constructor(t,n,{transformPagePoint:c,contextWindow:i=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=GL(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,f=Zle(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!m&&!f)return;const{point:g}=y,{timestamp:M}=Se;this.history.push({...g,timestamp:M});const{onStart:x,onMove:v}=this.handlers;m||(x&&x(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,y)},this.handlePointerMove=(y,m)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=WL(m,this.transformPagePoint),ke.update(this.updatePoint,!0)},this.handlePointerUp=(y,m)=>{this.end();const{onEnd:f,onSessionEnd:g,resumeAnimation:M}=this.handlers;if(this.dragSnapToOrigin&&M&&M(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=GL(y.type==="pointercancel"?this.lastMoveEventInfo:WL(m,this.transformPagePoint),this.history);this.startEvent&&f&&f(y,x),g&&g(y,x)},!zw(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=c,this.distanceThreshold=s,this.contextWindow=i||window;const d=G1(t),h=WL(d,this.transformPagePoint),{point:l}=h,{timestamp:u}=Se;this.history=[{...l,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,GL(h,this.history)),this.removeListeners=O1(A1(this.contextWindow,"pointermove",this.handlePointerMove),A1(this.contextWindow,"pointerup",this.handlePointerUp),A1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),vt(this.updatePoint)}}function WL(e,t){return t?{point:t(e.point)}:e}function EC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function GL({point:e},t){return{point:e,delta:EC(e,cq(t)),offset:EC(e,Xle(t)),velocity:Yle(t,.1)}}function Xle(e){return e[0]}function cq(e){return e[e.length-1]}function Yle(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,c=null;const i=cq(e);for(;n>=0&&(c=e[n],!(i.timestamp-c.timestamp>Qe(t)));)n--;if(!c)return{x:0,y:0};const r=Ge(i.timestamp-c.timestamp);if(r===0)return{x:0,y:0};const s={x:(i.x-c.x)/r,y:(i.y-c.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Jle(e,{min:t,max:n},c){return t!==void 0&&e<t?e=c?fe(t,e,c.min):Math.max(e,t):n!==void 0&&e>n&&(e=c?fe(n,e,c.max):Math.min(e,n)),e}function OC(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Qle(e,{top:t,left:n,bottom:c,right:i}){return{x:OC(e.x,n,i),y:OC(e.y,t,c)}}function UC(e,t){let n=t.min-e.min,c=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,c]=[c,n]),{min:n,max:c}}function ehe(e,t){return{x:UC(e.x,t.x),y:UC(e.y,t.y)}}function the(e,t){let n=.5;const c=Ve(e),i=Ve(t);return i>c?n=T1(t.min,t.max-c,e.min):c>i&&(n=T1(e.min,e.max-i,t.min)),ft(0,1,n)}function ahe(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const iw=.35;function nhe(e=iw){return e===!1?e=0:e===!0&&(e=iw),{x:WC(e,"left","right"),y:WC(e,"top","bottom")}}function WC(e,t,n){return{min:GC(e,t),max:GC(e,n)}}function GC(e,t){return typeof e=="number"?e:e[t]||0}const ohe=new WeakMap;class che{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=_e(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:c}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=p=>{const{dragSnapToOrigin:y}=this.getProps();y?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(G1(p).point)},s=(p,y)=>{const{drag:m,dragPropagation:f,onDragStart:g}=this.getProps();if(m&&!f&&(this.openDragLock&&this.openDragLock(),this.openDragLock=d0e(m),!this.openDragLock))return;this.latestPointerEvent=p,this.latestPanInfo=y,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),We(x=>{let v=this.getAxisMotionValue(x).get()||0;if(lt.test(v)){const{projection:L}=this.visualElement;if(L&&L.layout){const w=L.layout.layoutBox[x];w&&(v=Ve(w)*(parseFloat(v)/100))}}this.originPoint[x]=v}),g&&ke.postRender(()=>g(p,y)),ow(this.visualElement,"transform");const{animationState:M}=this.visualElement;M&&M.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:m,dragDirectionLock:f,onDirectionLock:g,onDrag:M}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:x}=y;if(f&&this.currentDirection===null){this.currentDirection=ihe(x),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",y.point,x),this.updateAxis("y",y.point,x),this.visualElement.render(),M&&M(p,y)},h=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>We(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new oq(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:h,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:c,contextWindow:nq(this.visualElement)})}stop(t,n){const c=t||this.latestPointerEvent,i=n||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!c)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:d}=this.getProps();d&&ke.postRender(()=>d(c,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:c}=this.getProps();!c&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,c){const{drag:i}=this.getProps();if(!c||!Q1(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+c[t];this.constraints&&this.constraints[t]&&(s=Jle(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),c=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&Uc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&c?this.constraints=Qle(c.layoutBox,t):this.constraints=!1,this.elastic=nhe(n),i!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&We(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=ahe(c.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Uc(t))return!1;const c=t.current;et(c!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=rle(c,i.root,this.visualElement.getTransformPagePoint());let s=ehe(i.layout.layoutBox,r);if(n){const d=n(ole(s));this.hasMutatedConstraints=!!d,d&&(s=F$(d))}return s}startAnimation(t){const{drag:n,dragMomentum:c,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:d}=this.getProps(),h=this.constraints||{},l=We(u=>{if(!Q1(u,n,this.currentDirection))return;let p=h&&h[u]||{};s&&(p={min:0,max:0});const y=i?200:1e6,m=i?40:1e7,f={type:"inertia",velocity:c?t[u]:0,bounceStiffness:y,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...r,...p};return this.startAxisValueAnimation(u,f)});return Promise.all(l).then(d)}startAxisValueAnimation(t,n){const c=this.getAxisMotionValue(t);return ow(this.visualElement,t),c.start(Ew(t,c,0,n,this.visualElement,!1))}stopAnimation(){We(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){We(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,c=this.visualElement.getProps(),i=c[n];return i||this.visualElement.getValue(t,(c.initial?c.initial[t]:void 0)||0)}snapToCursor(t){We(n=>{const{drag:c}=this.getProps();if(!Q1(n,c,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:d}=i.layout.layoutBox[n];r.set(t[n]-fe(s,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:c}=this.visualElement;if(!Uc(n)||!c||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};We(s=>{const d=this.getAxisMotionValue(s);if(d&&this.constraints!==!1){const h=d.get();i[s]=the({min:h,max:h},this.constraints[s])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",c.root&&c.root.updateScroll(),c.updateLayout(),this.resolveConstraints(),We(s=>{if(!Q1(s,t,null))return;const d=this.getAxisMotionValue(s),{min:h,max:l}=this.constraints[s];d.set(fe(h,l,i[s]))})}addListeners(){if(!this.visualElement.current)return;ohe.set(this.visualElement,this);const t=this.visualElement.current,n=A1(t,"pointerdown",h=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(h)}),c=()=>{const{dragConstraints:h}=this.getProps();Uc(h)&&h.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",c);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ke.read(c);const s=F1(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:h,hasLayoutChanged:l})=>{this.isDragging&&l&&(We(u=>{const p=this.getAxisMotionValue(u);p&&(this.originPoint[u]+=h[u].translate,p.set(p.get()+h[u].translate))}),this.visualElement.render())});return()=>{s(),n(),r(),d&&d()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:c=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=iw,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:c,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function Q1(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function ihe(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class rhe extends Vt{constructor(t){super(t),this.removeGroupControls=Ze,this.removeListeners=Ze,this.controls=new che(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ze}unmount(){this.removeGroupControls(),this.removeListeners()}}const KC=e=>(t,n)=>{e&&ke.postRender(()=>e(t,n))};class she extends Vt{constructor(){super(...arguments),this.removePointerDownListener=Ze}onPointerDown(t){this.session=new oq(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nq(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:c,onPanEnd:i}=this.node.getProps();return{onSessionStart:KC(t),onStart:KC(n),onMove:c,onEnd:(r,s)=>{delete this.session,i&&ke.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=A1(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const eL={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ZC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const l1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(K.test(e))e=parseFloat(e);else return e;const n=ZC(e,t.target.x),c=ZC(e,t.target.y);return`${n}% ${c}%`}},dhe={correct:(e,{treeScale:t,projectionDelta:n})=>{const c=e,i=At.parse(e);if(i.length>5)return c;const r=At.createTransformer(e),s=typeof i[0]!="number"?1:0,d=n.x.scale*t.x,h=n.y.scale*t.y;i[0+s]/=d,i[1+s]/=h;const l=fe(d,h,.5);return typeof i[2+s]=="number"&&(i[2+s]/=l),typeof i[3+s]=="number"&&(i[3+s]/=l),r(i)}};let KL=!1;class lhe extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c,layoutId:i}=this.props,{projection:r}=t;q0e(hhe),r&&(n.group&&n.group.add(r),c&&c.register&&i&&c.register(r),KL&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),eL.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:c,drag:i,isPresent:r}=this.props,{projection:s}=c;return s&&(s.isPresent=r,KL=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||ke.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Aw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c}=this.props,{projection:i}=t;KL=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),c&&c.deregister&&c.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function iq(e){const[t,n]=N$(),c=k.useContext(hw);return o.jsx(lhe,{...e,layoutGroup:c,switchLayoutGroup:k.useContext(B$),isPresent:t,safeToRemove:n})}const hhe={borderRadius:{...l1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:l1,borderTopRightRadius:l1,borderBottomLeftRadius:l1,borderBottomRightRadius:l1,boxShadow:dhe};function uhe(e,t,n){const c=je(e)?e:zc(e);return c.start(Ew("",c,t,n)),c.animation}const phe=(e,t)=>e.depth-t.depth;class yhe{constructor(){this.children=[],this.isDirty=!1}add(t){yw(this.children,t),this.isDirty=!0}remove(t){kw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(phe),this.isDirty=!1,this.children.forEach(t)}}function khe(e,t){const n=De.now(),c=({timestamp:i})=>{const r=i-n;r>=t&&(vt(c),e(r-t))};return ke.setup(c,!0),()=>vt(c)}const rq=["TopLeft","TopRight","BottomLeft","BottomRight"],mhe=rq.length,XC=e=>typeof e=="string"?parseFloat(e):e,YC=e=>typeof e=="number"||K.test(e);function fhe(e,t,n,c,i,r){i?(e.opacity=fe(0,n.opacity??1,ghe(c)),e.opacityExit=fe(t.opacity??1,0,vhe(c))):r&&(e.opacity=fe(t.opacity??1,n.opacity??1,c));for(let s=0;s<mhe;s++){const d=`border${rq[s]}Radius`;let h=JC(t,d),l=JC(n,d);if(h===void 0&&l===void 0)continue;h||(h=0),l||(l=0),h===0||l===0||YC(h)===YC(l)?(e[d]=Math.max(fe(XC(h),XC(l),c),0),(lt.test(l)||lt.test(h))&&(e[d]+="%")):e[d]=l}(t.rotate||n.rotate)&&(e.rotate=fe(t.rotate||0,n.rotate||0,c))}function JC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const ghe=sq(0,.5,Gj),vhe=sq(.5,.95,Ze);function sq(e,t,n){return c=>c<e?0:c>t?1:n(T1(e,t,c))}function QC(e,t){e.min=t.min,e.max=t.max}function Ee(e,t){QC(e.x,t.x),QC(e.y,t.y)}function eN(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function tN(e,t,n,c,i){return e-=t,e=dL(e,1/n,c),i!==void 0&&(e=dL(e,1/i,c)),e}function Mhe(e,t=0,n=1,c=.5,i,r=e,s=e){if(lt.test(t)&&(t=parseFloat(t),t=fe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let d=fe(r.min,r.max,c);e===r&&(d-=t),e.min=tN(e.min,t,n,d,i),e.max=tN(e.max,t,n,d,i)}function aN(e,t,[n,c,i],r,s){Mhe(e,t[n],t[c],t[i],t.scale,r,s)}const xhe=["x","scaleX","originX"],_he=["y","scaleY","originY"];function nN(e,t,n,c){aN(e.x,t,xhe,n?n.x:void 0,c?c.x:void 0),aN(e.y,t,_he,n?n.y:void 0,c?c.y:void 0)}function oN(e){return e.translate===0&&e.scale===1}function dq(e){return oN(e.x)&&oN(e.y)}function cN(e,t){return e.min===t.min&&e.max===t.max}function Lhe(e,t){return cN(e.x,t.x)&&cN(e.y,t.y)}function iN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function lq(e,t){return iN(e.x,t.x)&&iN(e.y,t.y)}function rN(e){return Ve(e.x)/Ve(e.y)}function sN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Ihe{constructor(){this.members=[]}add(t){yw(this.members,t),t.scheduleRender()}remove(t){if(kw(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let c;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){c=r;break}}return c?(this.promote(c),!0):!1}promote(t,n){const c=this.lead;if(t!==c&&(this.prevLead=c,this.lead=t,t.show(),c)){c.instance&&c.scheduleRender(),t.scheduleRender(),t.resumeFrom=c,n&&(t.resumeFrom.preserveOpacity=!0),c.snapshot&&(t.snapshot=c.snapshot,t.snapshot.latestValues=c.animationValues||c.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&c.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:c}=t;n.onExitComplete&&n.onExitComplete(),c&&c.options.onExitComplete&&c.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function bhe(e,t,n){let c="";const i=e.x.translate/t.x,r=e.y.translate/t.y,s=n?.z||0;if((i||r||s)&&(c=`translate3d(${i}px, ${r}px, ${s}px) `),(t.x!==1||t.y!==1)&&(c+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:l,rotate:u,rotateX:p,rotateY:y,skewX:m,skewY:f}=n;l&&(c=`perspective(${l}px) ${c}`),u&&(c+=`rotate(${u}deg) `),p&&(c+=`rotateX(${p}deg) `),y&&(c+=`rotateY(${y}deg) `),m&&(c+=`skewX(${m}deg) `),f&&(c+=`skewY(${f}deg) `)}const d=e.x.scale*t.x,h=e.y.scale*t.y;return(d!==1||h!==1)&&(c+=`scale(${d}, ${h})`),c||"none"}const ZL=["","X","Y","Z"],whe=1e3;let Che=0;function XL(e,t,n,c){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),c&&(c[e]=0))}function hq(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=X$(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ke,!(i||r))}const{parent:c}=e;c&&!c.hasCheckedOptimisedAppear&&hq(c)}function uq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:c,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=Che++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(jhe),this.nodes.forEach(zhe),this.nodes.forEach(Vhe),this.nodes.forEach($he)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let h=0;h<this.path.length;h++)this.path[h].shouldResetTransform=!0;this.root===this&&(this.nodes=new yhe)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new fw),this.eventHandlers.get(s).add(d)}notifyListeners(s,...d){const h=this.eventHandlers.get(s);h&&h.notify(...d)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=C$(s)&&!k0e(s),this.instance=s;const{layoutId:d,layout:h,visualElement:l}=this.options;if(l&&!l.current&&l.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(h||d)&&(this.isLayoutDirty=!0),e){let u,p=0;const y=()=>this.root.updateBlockedByResize=!1;ke.read(()=>{p=window.innerWidth}),e(s,()=>{const m=window.innerWidth;m!==p&&(p=m,this.root.updateBlockedByResize=!0,u&&u(),u=khe(y,250),eL.hasAnimatedSinceResize&&(eL.hasAnimatedSinceResize=!1,this.nodes.forEach(hN)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&l&&(d||h)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:p,hasRelativeLayoutChanged:y,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const f=this.options.transition||l.getDefaultTransition()||Bhe,{onLayoutAnimationStart:g,onLayoutAnimationComplete:M}=l.getProps(),x=!this.targetLayout||!lq(this.targetLayout,m),v=!p&&y;if(this.options.layoutRoot||this.resumeFrom||v||p&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const L={...$w(f,"layout"),onPlay:g,onComplete:M};(l.shouldReduceMotion||this.options.layoutRoot)&&(L.delay=0,L.type=!1),this.startAnimation(L),this.setAnimationOrigin(u,v)}else p||hN(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),vt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Phe),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&hq(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const p=this.path[u];p.shouldResetTransform=!0,p.updateScroll("snapshot"),p.options.layoutRoot&&p.willUpdate(!1)}const{layoutId:d,layout:h}=this.options;if(d===void 0&&!h)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(dN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(lN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Ahe),this.nodes.forEach(Nhe),this.nodes.forEach(She)):this.nodes.forEach(lN),this.clearAllSnapshots();const d=De.now();Se.delta=ft(0,1e3/60,d-Se.timestamp),Se.timestamp=d,Se.isProcessing=!0,HL.update.process(Se),HL.preRender.process(Se),HL.render.process(Se),Se.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Aw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(qhe),this.sharedNodes.forEach(The)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ke.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ke.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ve(this.snapshot.measuredBox.x)&&!Ve(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let h=0;h<this.path.length;h++)this.path[h].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=_e(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(d=!1),d&&this.instance){const h=c(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:h,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:h}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!dq(this.projectionDelta),h=this.getTransformTemplate(),l=h?h(this.latestValues,""):void 0,u=l!==this.prevTransformTemplateValue;s&&this.instance&&(d||wc(this.latestValues)||u)&&(i(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const d=this.measurePageBox();let h=this.removeElementScroll(d);return s&&(h=this.removeTransform(h)),Rhe(h),{animationId:this.root.animationId,measuredBox:d,layoutBox:h,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return _e();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Fhe))){const{scroll:l}=this.root;l&&(Wc(d.x,l.offset.x),Wc(d.y,l.offset.y))}return d}removeElementScroll(s){const d=_e();if(Ee(d,s),this.scroll?.wasRoot)return d;for(let h=0;h<this.path.length;h++){const l=this.path[h],{scroll:u,options:p}=l;l!==this.root&&u&&p.layoutScroll&&(u.wasRoot&&Ee(d,s),Wc(d.x,u.offset.x),Wc(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const h=_e();Ee(h,s);for(let l=0;l<this.path.length;l++){const u=this.path[l];!d&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Gc(h,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),wc(u.latestValues)&&Gc(h,u.latestValues)}return wc(this.latestValues)&&Gc(h,this.latestValues),h}removeTransform(s){const d=_e();Ee(d,s);for(let h=0;h<this.path.length;h++){const l=this.path[h];if(!l.instance||!wc(l.latestValues))continue;ew(l.latestValues)&&l.updateSnapshot();const u=_e(),p=l.measurePageBox();Ee(u,p),nN(d,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,u)}return wc(this.latestValues)&&nN(d,this.latestValues),d}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Se.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const h=!!this.resumingFrom||this!==d;if(!(s||h&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:p}=this.options;if(!(!this.layout||!(u||p))){if(this.resolvedRelativeTargetAt=Se.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=_e(),this.relativeTargetOrigin=_e(),V1(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),Ee(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=_e(),this.targetWithTransforms=_e()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Kle(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ee(this.target,this.layout.layoutBox),O$(this.target,this.targetDelta)):Ee(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const y=this.getClosestProjectingParent();y&&!!y.resumingFrom==!!this.resumingFrom&&!y.options.layoutScroll&&y.target&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=_e(),this.relativeTargetOrigin=_e(),V1(this.relativeTargetOrigin,this.target,y.target),Ee(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||ew(this.parent.latestValues)||E$(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const s=this.getLead(),d=!!this.resumingFrom||this!==s;let h=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(h=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(h=!1),this.resolvedRelativeTargetAt===Se.timestamp&&(h=!1),h)return;const{layout:l,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(l||u))return;Ee(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;ile(this.layoutCorrected,this.treeScale,this.path,d),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=_e());const{target:m}=s;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(eN(this.prevProjectionDelta.x,this.projectionDelta.x),eN(this.prevProjectionDelta.y,this.projectionDelta.y)),z1(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!sN(this.projectionDelta.x,this.prevProjectionDelta.x)||!sN(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.visualElement?.scheduleRender(),s){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Kc(),this.projectionDelta=Kc(),this.projectionDeltaWithTransform=Kc()}setAnimationOrigin(s,d=!1){const h=this.snapshot,l=h?h.latestValues:{},u={...this.latestValues},p=Kc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=_e(),m=h?h.source:void 0,f=this.layout?this.layout.source:void 0,g=m!==f,M=this.getStack(),x=!M||M.members.length<=1,v=!!(g&&!x&&this.options.crossfade===!0&&!this.path.some(Dhe));this.animationProgress=0;let L;this.mixTargetDelta=w=>{const C=w/1e3;uN(p.x,s.x,C),uN(p.y,s.y,C),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(V1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Hhe(this.relativeTarget,this.relativeTargetOrigin,y,C),L&&Lhe(this.relativeTarget,L)&&(this.isProjectionDirty=!1),L||(L=_e()),Ee(L,this.relativeTarget)),g&&(this.animationValues=u,fhe(u,l,this.latestValues,C,v,x)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(vt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ke.update(()=>{eL.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=zc(0)),this.currentAnimation=uhe(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),s.onUpdate&&s.onUpdate(d)},onStop:()=>{},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(whe),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:d,target:h,layout:l,latestValues:u}=s;if(!(!d||!h||!l)){if(this!==s&&this.layout&&l&&pq(this.options.animationType,this.layout.layoutBox,l.layoutBox)){h=this.target||_e();const p=Ve(this.layout.layoutBox.x);h.x.min=s.target.x.min,h.x.max=h.x.min+p;const y=Ve(this.layout.layoutBox.y);h.y.min=s.target.y.min,h.y.max=h.y.min+y}Ee(d,h),Gc(d,u),z1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Ihe),this.sharedNodes.get(s).add(d);const l=d.options.initialPromotionConfig;d.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(d):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){const{layoutId:s}=this.options;return s?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:s}=this.options;return s?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:d,preserveFollowOpacity:h}={}){const l=this.getStack();l&&l.promote(this,h),s&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let d=!1;const{latestValues:h}=s;if((h.z||h.rotate||h.rotateX||h.rotateY||h.rotateZ||h.skewX||h.skewY)&&(d=!0),!d)return;const l={};h.z&&XL("z",s,l,this.animationValues);for(let u=0;u<ZL.length;u++)XL(`rotate${ZL[u]}`,s,l,this.animationValues),XL(`skew${ZL[u]}`,s,l,this.animationValues);s.render();for(const u in l)s.setStaticValue(u,l[u]),this.animationValues&&(this.animationValues[u]=l[u]);s.scheduleRender()}applyProjectionStyles(s,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const h=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=Q_(d?.pointerEvents)||"",s.transform=h?h(this.latestValues,""):"none";return}const l=this.getLead();if(!this.projectionDelta||!this.layout||!l.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=Q_(d?.pointerEvents)||""),this.hasProjected&&!wc(this.latestValues)&&(s.transform=h?h({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=l.animationValues||l.latestValues;this.applyTransformsToTarget();let p=bhe(this.projectionDeltaWithTransform,this.treeScale,u);h&&(p=h(u,p)),s.transform=p;const{x:y,y:m}=this.projectionDelta;s.transformOrigin=`${y.origin*100}% ${m.origin*100}% 0`,l.animationValues?s.opacity=l===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=l===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const f in R1){if(u[f]===void 0)continue;const{correct:g,applyTo:M,isCSSVariable:x}=R1[f],v=p==="none"?u[f]:g(u[f],l);if(M){const L=M.length;for(let w=0;w<L;w++)s[M[w]]=v}else x?this.options.visualElement.renderState.vars[f]=v:s[f]=v}this.options.layoutId&&(s.pointerEvents=l===this?Q_(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(dN),this.root.sharedNodes.clear()}}}function Nhe(e){e.updateLayout()}function She(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:c}=e.layout,{animationType:i}=e.options,r=t.source!==e.layout.source;i==="size"?We(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Ve(p);p.min=n[u].min,p.max=p.min+y}):pq(i,t.layoutBox,n)&&We(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Ve(n[u]);p.max=p.min+y,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[u].max=e.relativeTarget[u].min+y)});const s=Kc();z1(s,n,t.layoutBox);const d=Kc();r?z1(d,e.applyTransform(c,!0),t.measuredBox):z1(d,n,t.layoutBox);const h=!dq(s);let l=!1;if(!e.resumeFrom){const u=e.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:p,layout:y}=u;if(p&&y){const m=_e();V1(m,t.layoutBox,p.layoutBox);const f=_e();V1(f,n,y.layoutBox),lq(m,f)||(l=!0),u.options.layoutRoot&&(e.relativeTarget=f,e.relativeTargetOrigin=m,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:d,layoutDelta:s,hasLayoutChanged:h,hasRelativeLayoutChanged:l})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function jhe(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function $he(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function qhe(e){e.clearSnapshot()}function dN(e){e.clearMeasurements()}function lN(e){e.isLayoutDirty=!1}function Ahe(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function hN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function zhe(e){e.resolveTargetDelta()}function Vhe(e){e.calcProjection()}function Phe(e){e.resetSkewAndRotation()}function The(e){e.removeLeadSnapshot()}function uN(e,t,n){e.translate=fe(t.translate,0,n),e.scale=fe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function pN(e,t,n,c){e.min=fe(t.min,n.min,c),e.max=fe(t.max,n.max,c)}function Hhe(e,t,n,c){pN(e.x,t.x,n.x,c),pN(e.y,t.y,n.y,c)}function Dhe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Bhe={duration:.45,ease:[.4,0,.1,1]},yN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),kN=yN("applewebkit/")&&!yN("chrome/")?Math.round:Ze;function mN(e){e.min=kN(e.min),e.max=kN(e.max)}function Rhe(e){mN(e.x),mN(e.y)}function pq(e,t,n){return e==="position"||e==="preserve-aspect"&&!Gle(rN(t),rN(n),.2)}function Fhe(e){return e!==e.root&&e.scroll?.wasRoot}const Ehe=uq({attachResizeListener:(e,t)=>F1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),YL={current:void 0},yq=uq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!YL.current){const e=new Ehe({});e.mount(window),e.setOptions({layoutScroll:!0}),YL.current=e}return YL.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Ohe={pan:{Feature:she},drag:{Feature:rhe,ProjectionNode:yq,MeasureLayout:iq}};function fN(e,t,n){const{props:c}=e;e.animationState&&c.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=c[i];r&&ke.postRender(()=>r(t,G1(t)))}class Uhe extends Vt{mount(){const{current:t}=this.node;t&&(this.unmount=l0e(t,(n,c)=>(fN(this.node,c,"Start"),i=>fN(this.node,i,"End"))))}unmount(){}}class Whe extends Vt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=O1(F1(this.node.current,"focus",()=>this.onFocus()),F1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function gN(e,t,n){const{props:c}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&c.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=c[i];r&&ke.postRender(()=>r(t,G1(t)))}class Ghe extends Vt{mount(){const{current:t}=this.node;t&&(this.unmount=y0e(t,(n,c)=>(gN(this.node,c,"Start"),(i,{success:r})=>gN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const rw=new WeakMap,JL=new WeakMap,Khe=e=>{const t=rw.get(e.target);t&&t(e)},Zhe=e=>{e.forEach(Khe)};function Xhe({root:e,...t}){const n=e||document;JL.has(n)||JL.set(n,{});const c=JL.get(n),i=JSON.stringify(t);return c[i]||(c[i]=new IntersectionObserver(Zhe,{root:e,...t})),c[i]}function Yhe(e,t,n){const c=Xhe(t);return rw.set(e,n),c.observe(e),()=>{rw.delete(e),c.unobserve(e)}}const Jhe={some:0,all:1};class Qhe extends Vt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:c,amount:i="some",once:r}=t,s={root:n?n.current:void 0,rootMargin:c,threshold:typeof i=="number"?i:Jhe[i]},d=h=>{const{isIntersecting:l}=h;if(this.isInView===l||(this.isInView=l,r&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:u,onViewportLeave:p}=this.node.getProps(),y=l?u:p;y&&y(h)};return Yhe(this.node.current,s,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(eue(t,n))&&this.startObserver()}unmount(){}}function eue({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const tue={inView:{Feature:Qhe},tap:{Feature:Ghe},focus:{Feature:Whe},hover:{Feature:Uhe}},aue={layout:{ProjectionNode:yq,MeasureLayout:iq}},nue={...Rle,...tue,...Ohe,...aue},Ow=nle(nue,mle);function kq(e){const t=zt(()=>zc(e)),{isStatic:n}=k.useContext(kL);if(n){const[,c]=k.useState(e);k.useEffect(()=>t.on("change",c),[])}return t}function mq(e,t){const n=kq(t()),c=()=>n.set(t());return c(),pw(()=>{const i=()=>ke.preRender(c,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),vt(c)}}),n}function oue(e){q1.current=[],e();const t=mq(q1.current,e);return q1.current=void 0,t}function cue(e,t,n,c){if(typeof e=="function")return oue(e);const i=typeof t=="function"?t:m0e(t,n,c);return Array.isArray(e)?vN(e,i):vN([e],([r])=>i(r))}function vN(e,t){const n=zt(()=>[]);return mq(e,()=>{n.length=0;const c=e.length;for(let i=0;i<c;i++)n[i]=e[i].get();return t(n)})}class iue{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(c=>{c.start(t.nativeEvent||t,n)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const rue=()=>new iue;function sue(){return zt(rue)}const fq=k.createContext(null);function due(e,t,n,c){if(!c)return e;const i=e.findIndex(u=>u.value===t);if(i===-1)return e;const r=c>0?1:-1,s=e[i+r];if(!s)return e;const d=e[i],h=s.layout,l=fe(h.min,h.max,.5);return r===1&&d.layout.max+n>l||r===-1&&d.layout.min+n<l?_2e(e,i,i+r):e}function lue({children:e,as:t="ul",axis:n="y",onReorder:c,values:i,...r},s){const d=zt(()=>Ow[t]),h=[],l=k.useRef(!1);et(!!i,"Reorder.Group must be provided a values prop","reorder-values");const u={axis:n,registerItem:(p,y)=>{const m=h.findIndex(f=>p===f.value);m!==-1?h[m].layout=y[n]:h.push({value:p,layout:y[n]}),h.sort(pue)},updateOrder:(p,y,m)=>{if(l.current)return;const f=due(h,p,y,m);h!==f&&(l.current=!0,c(f.map(uue).filter(g=>i.indexOf(g)!==-1)))}};return k.useEffect(()=>{l.current=!1}),o.jsx(d,{...r,ref:s,ignoreStrict:!0,children:o.jsx(fq.Provider,{value:u,children:e})})}const hue=k.forwardRef(lue);function uue(e){return e.value}function pue(e,t){return e.layout.min-t.layout.min}function MN(e,t=0){return je(e)?e:kq(t)}function yue({children:e,style:t={},value:n,as:c="li",onDrag:i,layout:r=!0,...s},d){const h=zt(()=>Ow[c]),l=k.useContext(fq),u={x:MN(t.x),y:MN(t.y)},p=cue([u.x,u.y],([g,M])=>g||M?1:"unset");et(!!l,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:m,updateOrder:f}=l;return o.jsx(h,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(g,M)=>{const{velocity:x}=M;x[y]&&f(n,u[y].get(),x[y]),i&&i(g,M)},onLayoutMeasure:g=>m(n,g),ref:d,ignoreStrict:!0,children:e})}const kue=k.forwardRef(yue),lL=[o.jsx(j1,{size:18}),o.jsx(Ct,{size:18}),o.jsx(N1,{size:18}),o.jsx(Nt,{size:18}),o.jsx(v1,{size:18}),o.jsx(g1,{size:18})],mue=({items:e,onReorder:t,draggable:n=!1,className:c,header:i,headerStyle:r,itemsDraggable:s=!0})=>{const[d,h]=k.useState(e??[]);return k.useEffect(()=>{e&&Array.isArray(e)?(e.forEach((l,u)=>{if(l.icon==null&&(l.icon=lL[u%lL.length]),typeof l.text=="string"&&l.text.includes("/")){const p=String(l.text).split("/"),y=p[0].trim(),f=p.slice(1).join("/").trim().match(/^(\d+)(.*)$/);if(f){const g=f[1],M=f[2]??"",x=g.padStart(3,"0");l.text=`${y} / ${x}${M}`}}}),h(e)):h([])},[e]),o.jsxs("div",{className:`trend-list ${c??""}`,draggable:n,style:{position:"relative"},children:[o.jsx("div",{className:"trend-header",style:r,children:i??"Trend"}),o.jsx("div",{className:"trend-list-body",style:{opacity:n?0:1},children:o.jsx(hue,{axis:"y",values:d,onReorder:l=>{h(l),t?.(l)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((l,u)=>o.jsx(fue,{value:l,index:u,itemsDraggable:s},String(l.id)))})}),n&&o.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:o.jsx(a.Move,{size:48,strokeWidth:1.5,style:{opacity:.8}})})]})};function fue({value:e,index:t}){const n=sue(),c=lL[t%lL.length]??null;return o.jsx(kue,{value:e,dragListener:!1,dragControls:n,style:{listStyle:"none"},onDragStart:()=>{try{document.body.classList.add("is-dragging")}catch{}},onDragEnd:()=>{try{document.body.classList.remove("is-dragging")}catch{}},children:o.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[o.jsx("div",{className:"reorder-handle","aria-hidden":!0,onPointerDown:i=>n.start(i),style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",userSelect:"none"},children:o.jsx("svg",{width:"25",height:"25",viewBox:"0 0 24 24","aria-hidden":!0,children:o.jsxs("g",{fill:"currentColor",children:[o.jsx("circle",{cx:"8",cy:"6",r:"2"}),o.jsx("circle",{cx:"16",cy:"6",r:"2"}),o.jsx("circle",{cx:"8",cy:"12",r:"2"}),o.jsx("circle",{cx:"16",cy:"12",r:"2"}),o.jsx("circle",{cx:"8",cy:"18",r:"2"}),o.jsx("circle",{cx:"16",cy:"18",r:"2"})]})})}),o.jsx("div",{style:{flex:1},children:o.jsx(Pj,{title:e.title,subtitle:e.subtitle,text:e.text,background:e.background,titleStyle:e.titleStyle,subtitleStyle:e.subtitleStyle,textStyle:e.textStyle,itemStyle:e.itemStyle,icon:e.icon??c})})]})})}function gue(e,t){return t.required?t.type==="checkbox"&&!e?{isValid:!1,error:`${t.label} est requis`}:!e||typeof e=="string"&&e.trim()===""?{isValid:!1,error:`${t.label} est requis`}:null:null}function vue(e){return!e||typeof e=="string"&&e.trim()===""}function Mue(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function xue(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function _ue(e,t){const n=Number(e);return isNaN(n)?{isValid:!1,error:"Doit être un nombre valide"}:t.validation?.min!==void 0&&n<Number(t.validation.min)?{isValid:!1,error:`Doit être ≥ ${t.validation.min}`}:t.validation?.max!==void 0&&n>Number(t.validation.max)?{isValid:!1,error:`Doit être ≤ ${t.validation.max}`}:null}function Lue(e,t){return t.validation?.minDate&&new Date(e)<new Date(t.validation.minDate)?{isValid:!1,error:`Doit être après ${t.validation.minDate}`}:t.validation?.maxDate&&new Date(e)>new Date(t.validation.maxDate)?{isValid:!1,error:`Doit être avant ${t.validation.maxDate}`}:null}function Iue(e,t){if(t.validation?.acceptedTypes){const n=t.validation.acceptedTypes.split(","),c=e.type;if(!n.some(i=>c.match(i.replace("*",".*"))))return{isValid:!1,error:`Type de fichier non supporté: ${c}`}}return t.validation?.maxFileSize&&e.size>t.validation.maxFileSize?{isValid:!1,error:`Fichier trop volumineux (max ${t.validation.maxFileSize/1048576}MB)`}:null}function bue(e,t){return t.validation?t.validation.minLength&&e.length<t.validation.minLength?{isValid:!1,error:`Minimum ${t.validation.minLength} caractères`}:t.validation.maxLength&&e.length>t.validation.maxLength?{isValid:!1,error:`Maximum ${t.validation.maxLength} caractères`}:t.validation.pattern&&!new RegExp(t.validation.pattern).test(e)?{isValid:!1,error:"Format invalide"}:null:null}function hL(e,t){const n=gue(e,t);if(n)return n;if(vue(e))return{isValid:!0};const c=e.toString();switch(t.type){case"email":{const r=Mue(c);if(r)return r;break}case"url":{const r=xue(c);if(r)return r;break}case"number":{const r=_ue(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=Lue(e,t);if(r)return r;break}case"file":{const r=Iue(e,t);if(r)return r;break}}const i=bue(c,t);return i||{isValid:!0}}function gq(e,t){const n={};let c=!0;for(const i of t){const r=hL(e[i.name],i);r.isValid||(n[i.name]=r.error,c=!1)}return{isValid:c,errors:n}}const wue="_formContainer_14ads_1",Cue="_headerLine_14ads_17",Nue="_formTitle_14ads_25",Sue="_formDescription_14ads_30",jue="_sectionTitle_14ads_37",$ue="_sectionHelp_14ads_44",que="_fieldHelp_14ads_50",Aue="_gridContainer_14ads_58",zue="_fieldGridItem_14ads_70",Vue="_sectionFull_14ads_105",Pue="_formFooter_14ads_110",Tue="_footerLeft_14ads_118",Hue="_footerRight_14ads_119",Due="_cancelLink_14ads_125",Bue="_submitButton_14ads_136",Rue="_fieldLabel_14ads_148",Fue="_inputWrapper_14ads_163",Eue="_inputInner_14ads_187",Oue="_hasPrefix_14ads_196",Uue="_inputBase_14ads_196",Wue="_iconPrefix_14ads_292",Gue="_iconSuffix_14ads_293",Kue="_passwordToggle_14ads_319",Zue="_fieldError_14ads_365",Xue="_fieldInvalid_14ads_372",ye={formContainer:wue,headerLine:Cue,formTitle:Nue,formDescription:Sue,sectionTitle:jue,sectionHelp:$ue,fieldHelp:que,gridContainer:Aue,fieldGridItem:zue,sectionFull:Vue,formFooter:Pue,footerLeft:Tue,footerRight:Hue,cancelLink:Due,submitButton:Bue,fieldLabel:Rue,inputWrapper:Fue,inputInner:Eue,hasPrefix:Oue,inputBase:Uue,iconPrefix:Wue,iconSuffix:Gue,passwordToggle:Kue,fieldError:Zue,fieldInvalid:Xue},vq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const[s,d]=k.useState(!1),h=e.type==="password",l=e.attributes?.showPasswordToggle??!0,u=h?s?"text":"password":e.type,p=e.attributes?.iconComponent??(e.attributes?.icon?mt[e.attributes.icon]:null),y=e.attributes?.iconPosition??"suffix",m=f=>{n(f.target.value)};return o.jsxs("div",{className:ye.inputWrapper,children:[o.jsx("label",{className:`${ye.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),o.jsxs("div",{className:`${ye.inputInner} ${p&&y==="prefix"?ye.hasPrefix:""}`,children:[p&&y==="prefix"&&o.jsx("span",{className:ye.iconPrefix,children:o.jsx(p,{size:16})}),o.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${ye.inputBase} ${i?ye.fieldInvalid:""}`,value:t??"",onChange:m,onBlur:c,disabled:!!e.disabled,"aria-invalid":!!i,"aria-describedby":e.help?`${e.name}-help`:void 0}),h&&l&&o.jsx("button",{type:"button","aria-label":s?"Masquer le mot de passe":"Afficher le mot de passe",className:ye.passwordToggle,onClick:()=>d(f=>!f),children:s?o.jsx(I1,{size:16}):o.jsx(b1,{size:16})}),p&&y==="suffix"&&!h&&o.jsx("span",{className:ye.iconSuffix,children:o.jsx(p,{size:16})})]}),r&&i&&o.jsx("span",{className:ye.fieldError,children:i})]})},Yue="_fieldGroup_yb3zi_7",Jue="_fieldLabel_yb3zi_11",Que="_required_yb3zi_17",epe="_fieldInput_yb3zi_22",tpe="_fieldInvalid_yb3zi_40",ape="_fieldValid_yb3zi_44",npe="_fieldError_yb3zi_48",ope="_radioGroup_yb3zi_57",jt={fieldGroup:Yue,fieldLabel:Jue,required:Que,fieldInput:epe,fieldInvalid:tpe,fieldValid:ape,fieldError:npe,radioGroup:ope},vL=({field:e,children:t,error:n,touched:c})=>{const i=c&&n;return o.jsxs("div",{className:jt.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&o.jsx("label",{className:`${jt.fieldLabel} ${e.required?jt.required:""}`,children:e.label}),t,i&&o.jsx("span",{className:jt.fieldError,children:n})]})},Mq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,h=["form-control",jt.fieldInput,s?jt.fieldInvalid:"",d?jt.fieldValid:""].filter(Boolean).join(" ");return o.jsx(vL,{field:e,error:i,touched:r,children:o.jsx("textarea",{className:h,placeholder:e.placeholder,value:t||"",onChange:l=>n(l.target.value),onBlur:c,rows:4})})},cpe="_wrapper_117u4_1",ipe="_wrapperInvalid_117u4_15",rpe="_nativeSelect_117u4_19",spe="_display_117u4_30",dpe="_topLabel_117u4_37",lpe="_valueLine_117u4_45",hpe="_valuePlaceholder_117u4_53",upe="_valueActive_117u4_57",ppe="_caret_117u4_61",ype="_error_117u4_75",kpe="_optionStyle_117u4_89",Oe={wrapper:cpe,wrapperInvalid:ipe,nativeSelect:rpe,display:spe,topLabel:dpe,valueLine:lpe,valuePlaceholder:hpe,valueActive:upe,caret:ppe,error:ype,optionStyle:kpe},Uw=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=!!(r&&i),d=e.label||"",h=e.placeholder||"",l=e.options?.find(u=>String(u.value)===String(t))?.label??"";return o.jsxs("div",{className:`${Oe.wrapper} ${s?Oe.wrapperInvalid:""} ${t?Oe.wrapperHasValue:""}`,children:[o.jsxs("select",{id:e.name,name:e.name,className:Oe.nativeSelect,value:t??"",onChange:u=>n(u.target.value),onBlur:c,"aria-invalid":s,"aria-label":d,children:[o.jsx("option",{value:"",disabled:!0,hidden:!0,children:h||`Sélectionnez ${d?.toLowerCase()||""}`}),e.options?.map((u,p)=>o.jsx("option",{value:u.value,className:Oe.optionStyle,children:u.label},p))]}),o.jsxs("div",{className:Oe.display,children:[d&&o.jsx("span",{className:Oe.topLabel,children:d}),o.jsx("span",{className:`${Oe.valueLine} ${t?Oe.valueActive:Oe.valuePlaceholder}`,children:t?l:h}),o.jsx("span",{className:Oe.caret,"aria-hidden":"true"})]}),s&&o.jsx("span",{className:Oe.error,children:i})]})},xq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx(vL,{field:e,error:i,touched:r,children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{type:"checkbox",className:"form-check-input",id:e.name,checked:!!t,onChange:s=>n(s.target.checked),onBlur:c}),o.jsx("label",{className:"form-check-label",htmlFor:e.name,children:e.label})]})}),_q=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx(vL,{field:e,error:i,touched:r,children:o.jsx("div",{className:jt.radioGroup,children:e.options?.map(s=>o.jsxs("div",{className:"form-check",children:[o.jsx("input",{type:"radio",className:"form-check-input",id:`${e.name}-${s.value}`,name:e.name,value:s.value,checked:t===s.value,onChange:d=>n(d.target.value),onBlur:c}),o.jsx("label",{className:"form-check-label",htmlFor:`${e.name}-${s.value}`,children:s.label})]},s.value))})}),mpe="_fileInputContainer_r2guc_3",fpe="_customFileInput_r2guc_8",gpe="_fileInputLabel_r2guc_12",vpe="_dragOver_r2guc_39",Mpe="_uploadIcon_r2guc_44",xpe="_uploadText_r2guc_50",_pe="_uploadHint_r2guc_56",Lpe="_fileList_r2guc_60",Ipe="_fileListTitle_r2guc_69",bpe="_fileItem_r2guc_80",wpe="_fileIcon_r2guc_96",Cpe="_fileName_r2guc_102",Npe="_fileSize_r2guc_108",Spe="_removeButton_r2guc_114",jpe="_errorText_r2guc_129",qe={fileInputContainer:mpe,customFileInput:fpe,fileInputLabel:gpe,dragOver:vpe,uploadIcon:Mpe,uploadText:xpe,uploadHint:_pe,fileList:Lpe,fileListTitle:Ipe,fileItem:bpe,fileIcon:wpe,fileName:Cpe,fileSize:Npe,removeButton:Spe,errorText:jpe},Lq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=k.useRef(null),[d,h]=k.useState(!1),l=M=>{n(M.target.files)},u=()=>{s.current&&s.current.click()},p=M=>{M.preventDefault(),h(!0)},y=()=>{h(!1)},m=M=>{M.preventDefault(),h(!1),M.dataTransfer.files&&M.dataTransfer.files.length>0&&n(M.dataTransfer.files)},f=M=>{if(!t)return;const x=Array.from(t);x.splice(M,1);const v=new DataTransfer;x.forEach(L=>v.items.add(L)),n(v.files)},g=M=>{if(M===0)return"0 Bytes";const x=1024,v=["Bytes","KB","MB","GB"],L=Math.floor(Math.log(M)/Math.log(x));return parseFloat((M/Math.pow(x,L)).toFixed(2))+" "+v[L]};return o.jsxs("div",{className:`${qe.fileInputContainer} ${r&&i?qe.hasError:""}`,children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsx("input",{type:"file",id:e.name,name:e.name,multiple:e.attributes?.multiple||!1,accept:e.attributes?.accept,onChange:l,onBlur:c,ref:s,className:qe.customFileInput}),o.jsxs("label",{htmlFor:e.name,className:`${qe.fileInputLabel} ${d?qe.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:m,onClick:u,tabIndex:0,children:[o.jsx("div",{className:qe.uploadIcon,children:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor",viewBox:"0 0 16 16",children:[o.jsx("path",{d:"M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"}),o.jsx("path",{d:"M7.646 1.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 2.707V11.5a.5.5 0 0 1-1 0V2.707L5.354 4.854a.5.5 0 1 1-.708-.708l3-3z"})]})}),o.jsx("div",{className:qe.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),o.jsxs("div",{className:qe.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&o.jsxs("div",{className:qe.fileList,children:[o.jsx("div",{className:qe.fileListTitle,children:"Fichiers sélectionnés:"}),o.jsx("ul",{children:Array.from(t).map((M,x)=>o.jsxs("li",{className:qe.fileItem,children:[o.jsx("div",{className:qe.fileIcon,children:o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:o.jsx("path",{d:"M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3z"})})}),o.jsx("div",{className:qe.fileName,children:M.name}),o.jsx("div",{className:qe.fileSize,children:g(M.size)}),o.jsx("button",{type:"button",className:qe.removeButton,onClick:v=>{v.stopPropagation(),f(x)},"aria-label":`Supprimer ${M.name}`,children:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:[o.jsx("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),o.jsx("path",{fillRule:"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})]})})]},x))})]}),r&&i&&o.jsx("div",{className:qe.errorText,children:i})]})},$pe="_container_ecah4_2",qpe="_label_ecah4_6",Ape="_requiredIndicator_ecah4_13",zpe="_input_ecah4_18",Vpe="_inputError_ecah4_49",Ppe="_errorMessage_ecah4_58",Rc={container:$pe,label:qpe,requiredIndicator:Ape,input:zpe,inputError:Vpe,errorMessage:Ppe},Iq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r,labelColor:s="black",backgroundColor:d="white"})=>{const h=e.type==="month"?"month":e.type==="week"?"week":e.type==="time"?"time":e.type==="datetime-local"?"datetime-local":"date";return o.jsxs("div",{className:Rc.container,children:[o.jsxs("label",{htmlFor:e.name,className:Rc.label,style:{color:s},children:[e.label,e.required&&o.jsx("span",{className:Rc.requiredIndicator,children:"*"})]}),o.jsx("input",{type:h,id:e.name,name:e.name,value:t||"",onChange:l=>n(l.target.value),onBlur:c,className:`${Rc.input} ${r&&i?Rc.inputError:""}`,style:{color:s,backgroundColor:d},min:e.validation?.min,max:e.validation?.max,step:e.type==="time"?e.attributes?.step:void 0,disabled:e.disabled}),r&&i&&o.jsx("div",{className:Rc.errorMessage,children:i})]})},Tpe="_rangeContainer_cyqk3_3",Hpe={rangeContainer:Tpe},bq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsxs("div",{className:`mb-3 ${Hpe.rangeContainer}`,children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,": ",t,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsx("input",{type:"range",id:e.name,name:e.name,value:t||0,onChange:s=>n(s.target.value),onBlur:c,className:`form-range ${r&&i?"is-invalid":""}`,min:e.validation?.min||0,max:e.validation?.max||100,step:e.attributes?.step||1}),r&&i&&o.jsx("div",{className:"invalid-feedback",children:i})]}),Dpe="_colorPickerContainer_1wxgj_2",Bpe="_colorInput_1wxgj_19",Rpe="_colorValue_1wxgj_39",QL={colorPickerContainer:Dpe,colorInput:Bpe,colorValue:Rpe},wq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsxs("div",{className:"mb-3",children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsxs("div",{className:QL.colorPickerContainer,children:[o.jsx("input",{type:"color",id:e.name,name:e.name,value:t||"#000000",onChange:s=>n(s.target.value),onBlur:c,className:QL.colorInput}),o.jsx("span",{className:QL.colorValue,children:t})]}),r&&i&&o.jsx("div",{className:"invalid-feedback",children:i})]}),Cq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=["date","month","week","time","datetime-local"];if(e.type==="file")return o.jsx(Lq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(s.includes(e.type))return o.jsx(Iq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="range")return o.jsx(bq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="color")return o.jsx(wq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});switch(e.type){case"textarea":return o.jsx(Mq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"select":return o.jsx(Uw,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"checkbox":return o.jsx(xq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"radio":return o.jsx(_q,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});default:return o.jsx(vq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})}};var eI,xN;function Fpe(){if(xN)return eI;xN=1;function e(){this.__data__=[],this.size=0}return eI=e,eI}var tI,_N;function Nq(){if(_N)return tI;_N=1;function e(t,n){return t===n||t!==t&&n!==n}return tI=e,tI}var aI,LN;function ML(){if(LN)return aI;LN=1;var e=Nq();function t(n,c){for(var i=n.length;i--;)if(e(n[i][0],c))return i;return-1}return aI=t,aI}var nI,IN;function Epe(){if(IN)return nI;IN=1;var e=ML(),t=Array.prototype,n=t.splice;function c(i){var r=this.__data__,s=e(r,i);if(s<0)return!1;var d=r.length-1;return s==d?r.pop():n.call(r,s,1),--this.size,!0}return nI=c,nI}var oI,bN;function Ope(){if(bN)return oI;bN=1;var e=ML();function t(n){var c=this.__data__,i=e(c,n);return i<0?void 0:c[i][1]}return oI=t,oI}var cI,wN;function Upe(){if(wN)return cI;wN=1;var e=ML();function t(n){return e(this.__data__,n)>-1}return cI=t,cI}var iI,CN;function Wpe(){if(CN)return iI;CN=1;var e=ML();function t(n,c){var i=this.__data__,r=e(i,n);return r<0?(++this.size,i.push([n,c])):i[r][1]=c,this}return iI=t,iI}var rI,NN;function xL(){if(NN)return rI;NN=1;var e=Fpe(),t=Epe(),n=Ope(),c=Upe(),i=Wpe();function r(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var l=s[d];this.set(l[0],l[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,rI=r,rI}var sI,SN;function Gpe(){if(SN)return sI;SN=1;var e=xL();function t(){this.__data__=new e,this.size=0}return sI=t,sI}var dI,jN;function Kpe(){if(jN)return dI;jN=1;function e(t){var n=this.__data__,c=n.delete(t);return this.size=n.size,c}return dI=e,dI}var lI,$N;function Zpe(){if($N)return lI;$N=1;function e(t){return this.__data__.get(t)}return lI=e,lI}var hI,qN;function Xpe(){if(qN)return hI;qN=1;function e(t){return this.__data__.has(t)}return hI=e,hI}var uI,AN;function Sq(){if(AN)return uI;AN=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return uI=e,uI}var pI,zN;function Mt(){if(zN)return pI;zN=1;var e=Sq(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return pI=n,pI}var yI,VN;function Ww(){if(VN)return yI;VN=1;var e=Mt(),t=e.Symbol;return yI=t,yI}var kI,PN;function Ype(){if(PN)return kI;PN=1;var e=Ww(),t=Object.prototype,n=t.hasOwnProperty,c=t.toString,i=e?e.toStringTag:void 0;function r(s){var d=n.call(s,i),h=s[i];try{s[i]=void 0;var l=!0}catch{}var u=c.call(s);return l&&(d?s[i]=h:delete s[i]),u}return kI=r,kI}var mI,TN;function Jpe(){if(TN)return mI;TN=1;var e=Object.prototype,t=e.toString;function n(c){return t.call(c)}return mI=n,mI}var fI,HN;function _L(){if(HN)return fI;HN=1;var e=Ww(),t=Ype(),n=Jpe(),c="[object Null]",i="[object Undefined]",r=e?e.toStringTag:void 0;function s(d){return d==null?d===void 0?i:c:r&&r in Object(d)?t(d):n(d)}return fI=s,fI}var gI,DN;function jq(){if(DN)return gI;DN=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return gI=e,gI}var vI,BN;function $q(){if(BN)return vI;BN=1;var e=_L(),t=jq(),n="[object AsyncFunction]",c="[object Function]",i="[object GeneratorFunction]",r="[object Proxy]";function s(d){if(!t(d))return!1;var h=e(d);return h==c||h==i||h==n||h==r}return vI=s,vI}var MI,RN;function Qpe(){if(RN)return MI;RN=1;var e=Mt(),t=e["__core-js_shared__"];return MI=t,MI}var xI,FN;function eye(){if(FN)return xI;FN=1;var e=Qpe(),t=function(){var c=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}();function n(c){return!!t&&t in c}return xI=n,xI}var _I,EN;function qq(){if(EN)return _I;EN=1;var e=Function.prototype,t=e.toString;function n(c){if(c!=null){try{return t.call(c)}catch{}try{return c+""}catch{}}return""}return _I=n,_I}var LI,ON;function tye(){if(ON)return LI;ON=1;var e=$q(),t=eye(),n=jq(),c=qq(),i=/[\\^$.*+?()[\]{}|]/g,r=/^\[object .+?Constructor\]$/,s=Function.prototype,d=Object.prototype,h=s.toString,l=d.hasOwnProperty,u=RegExp("^"+h.call(l).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(y){if(!n(y)||t(y))return!1;var m=e(y)?u:r;return m.test(c(y))}return LI=p,LI}var II,UN;function aye(){if(UN)return II;UN=1;function e(t,n){return t?.[n]}return II=e,II}var bI,WN;function r1(){if(WN)return bI;WN=1;var e=tye(),t=aye();function n(c,i){var r=t(c,i);return e(r)?r:void 0}return bI=n,bI}var wI,GN;function Gw(){if(GN)return wI;GN=1;var e=r1(),t=Mt(),n=e(t,"Map");return wI=n,wI}var CI,KN;function LL(){if(KN)return CI;KN=1;var e=r1(),t=e(Object,"create");return CI=t,CI}var NI,ZN;function nye(){if(ZN)return NI;ZN=1;var e=LL();function t(){this.__data__=e?e(null):{},this.size=0}return NI=t,NI}var SI,XN;function oye(){if(XN)return SI;XN=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return SI=e,SI}var jI,YN;function cye(){if(YN)return jI;YN=1;var e=LL(),t="__lodash_hash_undefined__",n=Object.prototype,c=n.hasOwnProperty;function i(r){var s=this.__data__;if(e){var d=s[r];return d===t?void 0:d}return c.call(s,r)?s[r]:void 0}return jI=i,jI}var $I,JN;function iye(){if(JN)return $I;JN=1;var e=LL(),t=Object.prototype,n=t.hasOwnProperty;function c(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return $I=c,$I}var qI,QN;function rye(){if(QN)return qI;QN=1;var e=LL(),t="__lodash_hash_undefined__";function n(c,i){var r=this.__data__;return this.size+=this.has(c)?0:1,r[c]=e&&i===void 0?t:i,this}return qI=n,qI}var AI,eS;function sye(){if(eS)return AI;eS=1;var e=nye(),t=oye(),n=cye(),c=iye(),i=rye();function r(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var l=s[d];this.set(l[0],l[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,AI=r,AI}var zI,tS;function dye(){if(tS)return zI;tS=1;var e=sye(),t=xL(),n=Gw();function c(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return zI=c,zI}var VI,aS;function lye(){if(aS)return VI;aS=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return VI=e,VI}var PI,nS;function IL(){if(nS)return PI;nS=1;var e=lye();function t(n,c){var i=n.__data__;return e(c)?i[typeof c=="string"?"string":"hash"]:i.map}return PI=t,PI}var TI,oS;function hye(){if(oS)return TI;oS=1;var e=IL();function t(n){var c=e(this,n).delete(n);return this.size-=c?1:0,c}return TI=t,TI}var HI,cS;function uye(){if(cS)return HI;cS=1;var e=IL();function t(n){return e(this,n).get(n)}return HI=t,HI}var DI,iS;function pye(){if(iS)return DI;iS=1;var e=IL();function t(n){return e(this,n).has(n)}return DI=t,DI}var BI,rS;function yye(){if(rS)return BI;rS=1;var e=IL();function t(n,c){var i=e(this,n),r=i.size;return i.set(n,c),this.size+=i.size==r?0:1,this}return BI=t,BI}var RI,sS;function Aq(){if(sS)return RI;sS=1;var e=dye(),t=hye(),n=uye(),c=pye(),i=yye();function r(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var l=s[d];this.set(l[0],l[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,RI=r,RI}var FI,dS;function kye(){if(dS)return FI;dS=1;var e=xL(),t=Gw(),n=Aq(),c=200;function i(r,s){var d=this.__data__;if(d instanceof e){var h=d.__data__;if(!t||h.length<c-1)return h.push([r,s]),this.size=++d.size,this;d=this.__data__=new n(h)}return d.set(r,s),this.size=d.size,this}return FI=i,FI}var EI,lS;function mye(){if(lS)return EI;lS=1;var e=xL(),t=Gpe(),n=Kpe(),c=Zpe(),i=Xpe(),r=kye();function s(d){var h=this.__data__=new e(d);this.size=h.size}return s.prototype.clear=t,s.prototype.delete=n,s.prototype.get=c,s.prototype.has=i,s.prototype.set=r,EI=s,EI}var OI,hS;function fye(){if(hS)return OI;hS=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return OI=t,OI}var UI,uS;function gye(){if(uS)return UI;uS=1;function e(t){return this.__data__.has(t)}return UI=e,UI}var WI,pS;function vye(){if(pS)return WI;pS=1;var e=Aq(),t=fye(),n=gye();function c(i){var r=-1,s=i==null?0:i.length;for(this.__data__=new e;++r<s;)this.add(i[r])}return c.prototype.add=c.prototype.push=t,c.prototype.has=n,WI=c,WI}var GI,yS;function Mye(){if(yS)return GI;yS=1;function e(t,n){for(var c=-1,i=t==null?0:t.length;++c<i;)if(n(t[c],c,t))return!0;return!1}return GI=e,GI}var KI,kS;function xye(){if(kS)return KI;kS=1;function e(t,n){return t.has(n)}return KI=e,KI}var ZI,mS;function zq(){if(mS)return ZI;mS=1;var e=vye(),t=Mye(),n=xye(),c=1,i=2;function r(s,d,h,l,u,p){var y=h&c,m=s.length,f=d.length;if(m!=f&&!(y&&f>m))return!1;var g=p.get(s),M=p.get(d);if(g&&M)return g==d&&M==s;var x=-1,v=!0,L=h&i?new e:void 0;for(p.set(s,d),p.set(d,s);++x<m;){var w=s[x],C=d[x];if(l)var b=y?l(C,w,x,d,s,p):l(w,C,x,s,d,p);if(b!==void 0){if(b)continue;v=!1;break}if(L){if(!t(d,function(_,I){if(!n(L,I)&&(w===_||u(w,_,h,l,p)))return L.push(I)})){v=!1;break}}else if(!(w===C||u(w,C,h,l,p))){v=!1;break}}return p.delete(s),p.delete(d),v}return ZI=r,ZI}var XI,fS;function _ye(){if(fS)return XI;fS=1;var e=Mt(),t=e.Uint8Array;return XI=t,XI}var YI,gS;function Lye(){if(gS)return YI;gS=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i,r){c[++n]=[r,i]}),c}return YI=e,YI}var JI,vS;function Iye(){if(vS)return JI;vS=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i){c[++n]=i}),c}return JI=e,JI}var QI,MS;function bye(){if(MS)return QI;MS=1;var e=Ww(),t=_ye(),n=Nq(),c=zq(),i=Lye(),r=Iye(),s=1,d=2,h="[object Boolean]",l="[object Date]",u="[object Error]",p="[object Map]",y="[object Number]",m="[object RegExp]",f="[object Set]",g="[object String]",M="[object Symbol]",x="[object ArrayBuffer]",v="[object DataView]",L=e?e.prototype:void 0,w=L?L.valueOf:void 0;function C(b,_,I,j,N,S,A){switch(I){case v:if(b.byteLength!=_.byteLength||b.byteOffset!=_.byteOffset)return!1;b=b.buffer,_=_.buffer;case x:return!(b.byteLength!=_.byteLength||!S(new t(b),new t(_)));case h:case l:case y:return n(+b,+_);case u:return b.name==_.name&&b.message==_.message;case m:case g:return b==_+"";case p:var B=i;case f:var H=j&s;if(B||(B=r),b.size!=_.size&&!H)return!1;var V=A.get(b);if(V)return V==_;j|=d,A.set(b,_);var q=c(B(b),B(_),j,N,S,A);return A.delete(b),q;case M:if(w)return w.call(b)==w.call(_)}return!1}return QI=C,QI}var eb,xS;function wye(){if(xS)return eb;xS=1;function e(t,n){for(var c=-1,i=n.length,r=t.length;++c<i;)t[r+c]=n[c];return t}return eb=e,eb}var tb,_S;function Kw(){if(_S)return tb;_S=1;var e=Array.isArray;return tb=e,tb}var ab,LS;function Cye(){if(LS)return ab;LS=1;var e=wye(),t=Kw();function n(c,i,r){var s=i(c);return t(c)?s:e(s,r(c))}return ab=n,ab}var nb,IS;function Nye(){if(IS)return nb;IS=1;function e(t,n){for(var c=-1,i=t==null?0:t.length,r=0,s=[];++c<i;){var d=t[c];n(d,c,t)&&(s[r++]=d)}return s}return nb=e,nb}var ob,bS;function Sye(){if(bS)return ob;bS=1;function e(){return[]}return ob=e,ob}var cb,wS;function jye(){if(wS)return cb;wS=1;var e=Nye(),t=Sye(),n=Object.prototype,c=n.propertyIsEnumerable,i=Object.getOwnPropertySymbols,r=i?function(s){return s==null?[]:(s=Object(s),e(i(s),function(d){return c.call(s,d)}))}:t;return cb=r,cb}var ib,CS;function $ye(){if(CS)return ib;CS=1;function e(t,n){for(var c=-1,i=Array(t);++c<t;)i[c]=n(c);return i}return ib=e,ib}var rb,NS;function bL(){if(NS)return rb;NS=1;function e(t){return t!=null&&typeof t=="object"}return rb=e,rb}var sb,SS;function qye(){if(SS)return sb;SS=1;var e=_L(),t=bL(),n="[object Arguments]";function c(i){return t(i)&&e(i)==n}return sb=c,sb}var db,jS;function Aye(){if(jS)return db;jS=1;var e=qye(),t=bL(),n=Object.prototype,c=n.hasOwnProperty,i=n.propertyIsEnumerable,r=e(function(){return arguments}())?e:function(s){return t(s)&&c.call(s,"callee")&&!i.call(s,"callee")};return db=r,db}var m1={exports:{}},lb,$S;function zye(){if($S)return lb;$S=1;function e(){return!1}return lb=e,lb}m1.exports;var qS;function Vq(){return qS||(qS=1,function(e,t){var n=Mt(),c=zye(),i=t&&!t.nodeType&&t,r=i&&!0&&e&&!e.nodeType&&e,s=r&&r.exports===i,d=s?n.Buffer:void 0,h=d?d.isBuffer:void 0,l=h||c;e.exports=l}(m1,m1.exports)),m1.exports}var hb,AS;function Vye(){if(AS)return hb;AS=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(c,i){var r=typeof c;return i=i??e,!!i&&(r=="number"||r!="symbol"&&t.test(c))&&c>-1&&c%1==0&&c<i}return hb=n,hb}var ub,zS;function Pq(){if(zS)return ub;zS=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return ub=t,ub}var pb,VS;function Pye(){if(VS)return pb;VS=1;var e=_L(),t=Pq(),n=bL(),c="[object Arguments]",i="[object Array]",r="[object Boolean]",s="[object Date]",d="[object Error]",h="[object Function]",l="[object Map]",u="[object Number]",p="[object Object]",y="[object RegExp]",m="[object Set]",f="[object String]",g="[object WeakMap]",M="[object ArrayBuffer]",x="[object DataView]",v="[object Float32Array]",L="[object Float64Array]",w="[object Int8Array]",C="[object Int16Array]",b="[object Int32Array]",_="[object Uint8Array]",I="[object Uint8ClampedArray]",j="[object Uint16Array]",N="[object Uint32Array]",S={};S[v]=S[L]=S[w]=S[C]=S[b]=S[_]=S[I]=S[j]=S[N]=!0,S[c]=S[i]=S[M]=S[r]=S[x]=S[s]=S[d]=S[h]=S[l]=S[u]=S[p]=S[y]=S[m]=S[f]=S[g]=!1;function A(B){return n(B)&&t(B.length)&&!!S[e(B)]}return pb=A,pb}var yb,PS;function Tye(){if(PS)return yb;PS=1;function e(t){return function(n){return t(n)}}return yb=e,yb}var f1={exports:{}};f1.exports;var TS;function Hye(){return TS||(TS=1,function(e,t){var n=Sq(),c=t&&!t.nodeType&&t,i=c&&!0&&e&&!e.nodeType&&e,r=i&&i.exports===c,s=r&&n.process,d=function(){try{var h=i&&i.require&&i.require("util").types;return h||s&&s.binding&&s.binding("util")}catch{}}();e.exports=d}(f1,f1.exports)),f1.exports}var kb,HS;function Tq(){if(HS)return kb;HS=1;var e=Pye(),t=Tye(),n=Hye(),c=n&&n.isTypedArray,i=c?t(c):e;return kb=i,kb}var mb,DS;function Dye(){if(DS)return mb;DS=1;var e=$ye(),t=Aye(),n=Kw(),c=Vq(),i=Vye(),r=Tq(),s=Object.prototype,d=s.hasOwnProperty;function h(l,u){var p=n(l),y=!p&&t(l),m=!p&&!y&&c(l),f=!p&&!y&&!m&&r(l),g=p||y||m||f,M=g?e(l.length,String):[],x=M.length;for(var v in l)(u||d.call(l,v))&&!(g&&(v=="length"||m&&(v=="offset"||v=="parent")||f&&(v=="buffer"||v=="byteLength"||v=="byteOffset")||i(v,x)))&&M.push(v);return M}return mb=h,mb}var fb,BS;function Bye(){if(BS)return fb;BS=1;var e=Object.prototype;function t(n){var c=n&&n.constructor,i=typeof c=="function"&&c.prototype||e;return n===i}return fb=t,fb}var gb,RS;function Rye(){if(RS)return gb;RS=1;function e(t,n){return function(c){return t(n(c))}}return gb=e,gb}var vb,FS;function Fye(){if(FS)return vb;FS=1;var e=Rye(),t=e(Object.keys,Object);return vb=t,vb}var Mb,ES;function Eye(){if(ES)return Mb;ES=1;var e=Bye(),t=Fye(),n=Object.prototype,c=n.hasOwnProperty;function i(r){if(!e(r))return t(r);var s=[];for(var d in Object(r))c.call(r,d)&&d!="constructor"&&s.push(d);return s}return Mb=i,Mb}var xb,OS;function Oye(){if(OS)return xb;OS=1;var e=$q(),t=Pq();function n(c){return c!=null&&t(c.length)&&!e(c)}return xb=n,xb}var _b,US;function Uye(){if(US)return _b;US=1;var e=Dye(),t=Eye(),n=Oye();function c(i){return n(i)?e(i):t(i)}return _b=c,_b}var Lb,WS;function Wye(){if(WS)return Lb;WS=1;var e=Cye(),t=jye(),n=Uye();function c(i){return e(i,n,t)}return Lb=c,Lb}var Ib,GS;function Gye(){if(GS)return Ib;GS=1;var e=Wye(),t=1,n=Object.prototype,c=n.hasOwnProperty;function i(r,s,d,h,l,u){var p=d&t,y=e(r),m=y.length,f=e(s),g=f.length;if(m!=g&&!p)return!1;for(var M=m;M--;){var x=y[M];if(!(p?x in s:c.call(s,x)))return!1}var v=u.get(r),L=u.get(s);if(v&&L)return v==s&&L==r;var w=!0;u.set(r,s),u.set(s,r);for(var C=p;++M<m;){x=y[M];var b=r[x],_=s[x];if(h)var I=p?h(_,b,x,s,r,u):h(b,_,x,r,s,u);if(!(I===void 0?b===_||l(b,_,d,h,u):I)){w=!1;break}C||(C=x=="constructor")}if(w&&!C){var j=r.constructor,N=s.constructor;j!=N&&"constructor"in r&&"constructor"in s&&!(typeof j=="function"&&j instanceof j&&typeof N=="function"&&N instanceof N)&&(w=!1)}return u.delete(r),u.delete(s),w}return Ib=i,Ib}var bb,KS;function Kye(){if(KS)return bb;KS=1;var e=r1(),t=Mt(),n=e(t,"DataView");return bb=n,bb}var wb,ZS;function Zye(){if(ZS)return wb;ZS=1;var e=r1(),t=Mt(),n=e(t,"Promise");return wb=n,wb}var Cb,XS;function Xye(){if(XS)return Cb;XS=1;var e=r1(),t=Mt(),n=e(t,"Set");return Cb=n,Cb}var Nb,YS;function Yye(){if(YS)return Nb;YS=1;var e=r1(),t=Mt(),n=e(t,"WeakMap");return Nb=n,Nb}var Sb,JS;function Jye(){if(JS)return Sb;JS=1;var e=Kye(),t=Gw(),n=Zye(),c=Xye(),i=Yye(),r=_L(),s=qq(),d="[object Map]",h="[object Object]",l="[object Promise]",u="[object Set]",p="[object WeakMap]",y="[object DataView]",m=s(e),f=s(t),g=s(n),M=s(c),x=s(i),v=r;return(e&&v(new e(new ArrayBuffer(1)))!=y||t&&v(new t)!=d||n&&v(n.resolve())!=l||c&&v(new c)!=u||i&&v(new i)!=p)&&(v=function(L){var w=r(L),C=w==h?L.constructor:void 0,b=C?s(C):"";if(b)switch(b){case m:return y;case f:return d;case g:return l;case M:return u;case x:return p}return w}),Sb=v,Sb}var jb,QS;function Qye(){if(QS)return jb;QS=1;var e=mye(),t=zq(),n=bye(),c=Gye(),i=Jye(),r=Kw(),s=Vq(),d=Tq(),h=1,l="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,m=y.hasOwnProperty;function f(g,M,x,v,L,w){var C=r(g),b=r(M),_=C?u:i(g),I=b?u:i(M);_=_==l?p:_,I=I==l?p:I;var j=_==p,N=I==p,S=_==I;if(S&&s(g)){if(!s(M))return!1;C=!0,j=!1}if(S&&!j)return w||(w=new e),C||d(g)?t(g,M,x,v,L,w):n(g,M,_,x,v,L,w);if(!(x&h)){var A=j&&m.call(g,"__wrapped__"),B=N&&m.call(M,"__wrapped__");if(A||B){var H=A?g.value():g,V=B?M.value():M;return w||(w=new e),L(H,V,x,v,w)}}return S?(w||(w=new e),c(g,M,x,v,L,w)):!1}return jb=f,jb}var $b,ej;function e4e(){if(ej)return $b;ej=1;var e=Qye(),t=bL();function n(c,i,r,s,d){return c===i?!0:c==null||i==null||!t(c)&&!t(i)?c!==c&&i!==i:e(c,i,r,s,n,d)}return $b=n,$b}var qb,tj;function t4e(){if(tj)return qb;tj=1;var e=e4e();function t(n,c){return e(n,c)}return qb=t,qb}var a4e=t4e();const n4e=a.getDefaultExportFromCjs(a4e),o4e=({schema:e,initialData:t={},onSubmit:n,submitLabel:c,submitIcon:i,submitIconPosition:r="left",onCancel:s,cancelLabel:d="Retour",cancelIcon:h})=>{const[l,u]=k.useState(t),[p,y]=k.useState({}),[m,f]=k.useState({}),[g,M]=k.useState(!1),x=k.useRef(t);k.useEffect(()=>{n4e(x.current,t)||(u(t),x.current=t)},[t]);const v=(I,j)=>{const N={...l,[I]:j};if(u(N),m[I]){const S=e.fields.find(A=>A.name===I);if(S){const A=hL(j,S);y(B=>({...B,[I]:A.isValid?"":A.error}))}}},L=I=>{if(!m[I]){f(N=>({...N,[I]:!0}));const j=e.fields.find(N=>N.name===I);if(j){const N=hL(l[I],j);y(S=>({...S,[I]:N.isValid?"":N.error}))}}},w=async I=>{I.preventDefault(),M(!0);const j=e.fields.reduce((S,A)=>(A.type!=="section"&&(S[A.name]=!0),S),{});f(j);const N=gq(l,e.fields.filter(S=>S.type!=="section"));if(y(N.errors),N.isValid)try{await n(l)}catch(S){console.error("Erreur lors de la soumission:",S),y(A=>({...A,__global:"Une erreur est survenue lors de la soumission"}))}M(!1)},C=h?mt[h]:null,b=i&&mt[i]||e.submitIcon&&mt[e.submitIcon]||null,_=e.columns&&e.columns>0?Math.floor(e.columns):12;return o.jsxs("div",{className:ye.formContainer,children:[o.jsx("div",{className:ye.headerLine,children:o.jsx("h2",{className:ye.formTitle,children:e.title})}),e.description&&o.jsx("p",{className:ye.formDescription,children:e.description}),p.__global&&o.jsx("div",{className:`alert alert-danger ${ye.globalError}`,children:p.__global}),o.jsxs("form",{onSubmit:w,children:[o.jsx("div",{className:ye.gridContainer,style:{gridTemplateColumns:`repeat(${_}, minmax(0, 1fr))`},children:e.fields.map(I=>{if(I.type==="section")return o.jsxs("div",{className:ye.sectionFull,children:[o.jsx("h5",{className:ye.sectionTitle,children:I.label}),I.help&&o.jsx("p",{className:ye.sectionHelp,children:I.help})]},I.name);const N={gridColumn:`span ${Math.max(1,Math.min(_,I.gridCol??_))}`};return o.jsxs("div",{className:ye.fieldGridItem,style:N,children:[o.jsx(Cq,{field:I,value:l[I.name],onChange:S=>v(I.name,S),onBlur:()=>L(I.name),error:p[I.name],touched:m[I.name]}),I.help&&o.jsx("small",{className:ye.fieldHelp,children:I.help})]},I.name)})}),o.jsxs("div",{className:ye.formFooter,children:[o.jsx("div",{className:ye.footerLeft,children:s&&o.jsxs("button",{type:"button",className:ye.cancelLink,onClick:s,children:[C&&o.jsx(C,{size:16,className:"me-2"})," ",d]})}),o.jsx("div",{className:ye.footerRight,children:o.jsx(tL,{type:"submit",variant:"primary",size:"md",className:ye.submitButton,disabled:g,children:g?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"spinner-border spinner-border-sm me-2",role:"status"}),"Validation..."]}):o.jsxs(o.Fragment,{children:[b&&(r==="left"||e.submitIconPosition==="left")&&o.jsx(b,{size:16,className:"me-2"}),c||e.submitText||"Valider",b&&(r==="right"||e.submitIconPosition==="right")&&o.jsx(b,{size:16,className:"ms-2"})]})})})]})]})]})};function c4e(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const aj=new Map,i4e=({path:e,style:t,width:n=24,height:c=24,keepColors:i=!1,onClick:r})=>{const[s,d]=k.useState("");return k.useEffect(()=>{e&&(async()=>{try{let l=aj.get(e);l||(l=fetch(e).then(f=>{if(!f.ok)throw new Error(`Failed to load ${e}`);return f.text()}),aj.set(e,l));let u=await l;const p=t?.width||`${n}px`,y=t?.height||`${c}px`;i||(u=u.replace(/fill="[^"]*"/g,'fill="currentColor"'),u=u.replace(/fill='[^']*'/g,"fill='currentColor'"));const m=i?`width="${p}" height="${y}"`:`width="${p}" height="${y}" fill="currentColor"`;u=u.replace(/<svg/,`<svg ${m}`),d(u)}catch(l){console.error(`Failed to load icon: ${e}`,l)}})()},[e,t?.width,t?.height,n,c]),s?o.jsx("span",{onClick:r,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:t?.color||"inherit",...t},dangerouslySetInnerHTML:{__html:s}}):null},r4e="_container_1gljv_85",s4e="_tableWrapper_1gljv_111",d4e="_tableControls_1gljv_117",l4e="_controlsRight_1gljv_128",h4e="_limitedRows_1gljv_151",u4e="_table_1gljv_111",p4e="_headerCell_1gljv_206",y4e="_headerContent_1gljv_220",k4e="_headerWords_1gljv_229",m4e="_headerWord_1gljv_229",f4e="_cellContent_1gljv_276",g4e="_alignLeft_1gljv_286",v4e="_alignCenter_1gljv_290",M4e="_alignRight_1gljv_294",x4e="_tableCell_1gljv_298",_4e="_tableRow_1gljv_308",L4e="_emptyRow_1gljv_385",I4e="_toggleFiltersButton_1gljv_393",b4e="_toggleSortButton_1gljv_394",w4e="_buttonTextCompact_1gljv_415",C4e="_uppercaseSmall_1gljv_450",N4e="_filtersPanel_1gljv_463",S4e="_filtersPanelInline_1gljv_481",j4e="_filtersPanelHorizontal_1gljv_492",$4e="_filtersRow_1gljv_492",q4e="_filtersActionsHorizontal_1gljv_525",A4e="_filterItemInline_1gljv_542",z4e="_filterLabel_1gljv_571",V4e="_filterInput_1gljv_576",P4e="_filterSelect_1gljv_577",T4e="_operatorSelect_1gljv_578",H4e="_operatorInput_1gljv_579",D4e="_activeFilterTag_1gljv_597",B4e="_actionsGroup_1gljv_609",R4e="_applyButton_1gljv_615",F4e="_cancelButton_1gljv_625",E4e="_columnSorterContainer_1gljv_649",O4e="_sorterControls_1gljv_654",U4e="_sortDropdownWrapper_1gljv_659",W4e="_sortDropdown_1gljv_659",G4e="_sortDropdownHeader_1gljv_679",K4e="_closeButton_1gljv_688",Z4e="_sortDropdownContent_1gljv_703",X4e="_sortDropdownItem_1gljv_709",Y4e="_sortDirectionButtons_1gljv_734",J4e="_sortDirectionButton_1gljv_734",Q4e="_activeSort_1gljv_757",e5e="_sortActions_1gljv_764",t5e="_paginationButton_1gljv_842",a5e="_pageSizeSelect_1gljv_844",n5e="_topPagination_1gljv_853",o5e="_paginationContainer_1gljv_861",c5e="_leftGroup_1gljv_874",i5e="_pageSizeControls_1gljv_882",r5e="_paginationInfo_1gljv_908",s5e="_paginationControls_1gljv_916",d5e="_disabledButton_1gljv_947",l5e="_activeButton_1gljv_952",h5e="_navigationButton_1gljv_962",u5e="_operatorFilterContainer_1gljv_1010",p5e="_rangeSeparator_1gljv_1016",y5e="_activeFiltersSection_1gljv_1179",k5e="_activeFiltersRow_1gljv_1184",m5e="_activeFiltersList_1gljv_1192",f5e="_clearAllButton_1gljv_1200",g5e="_removeFilterButton_1gljv_1221",v5e="_sortIndicator_1gljv_1272",M5e="_active_1gljv_349",x5e="_clearSortButton_1gljv_1371",_5e="_loaderSpinner_1gljv_2743",L5e="_loaderSpinnerSmall_1gljv_2755",I5e="_paginationLoading_1gljv_2772",b5e="_loadingButton_1gljv_2780",w5e="_loadingIndicator_1gljv_2791",z={container:r4e,tableWrapper:s4e,tableControls:d4e,controlsRight:l4e,limitedRows:h4e,table:u4e,headerCell:p4e,headerContent:y4e,headerWords:k4e,headerWord:m4e,cellContent:f4e,alignLeft:g4e,alignCenter:v4e,alignRight:M4e,tableCell:x4e,tableRow:_4e,emptyRow:L4e,toggleFiltersButton:I4e,toggleSortButton:b4e,buttonTextCompact:w4e,uppercaseSmall:C4e,filtersPanel:N4e,filtersPanelInline:S4e,filtersPanelHorizontal:j4e,filtersRow:$4e,filtersActionsHorizontal:q4e,filterItemInline:A4e,filterLabel:z4e,filterInput:V4e,filterSelect:P4e,operatorSelect:T4e,operatorInput:H4e,activeFilterTag:D4e,actionsGroup:B4e,applyButton:R4e,cancelButton:F4e,columnSorterContainer:E4e,sorterControls:O4e,sortDropdownWrapper:U4e,sortDropdown:W4e,sortDropdownHeader:G4e,closeButton:K4e,sortDropdownContent:Z4e,sortDropdownItem:X4e,sortDirectionButtons:Y4e,sortDirectionButton:J4e,activeSort:Q4e,sortActions:e5e,paginationButton:t5e,pageSizeSelect:a5e,topPagination:n5e,paginationContainer:o5e,leftGroup:c5e,pageSizeControls:i5e,paginationInfo:r5e,paginationControls:s5e,disabledButton:d5e,activeButton:l5e,navigationButton:h5e,operatorFilterContainer:u5e,rangeSeparator:p5e,activeFiltersSection:y5e,activeFiltersRow:k5e,activeFiltersList:m5e,clearAllButton:f5e,removeFilterButton:g5e,sortIndicator:v5e,active:M5e,clearSortButton:x5e,loaderSpinner:_5e,loaderSpinnerSmall:L5e,paginationLoading:I5e,loadingButton:b5e,loadingIndicator:w5e},C5e=({config:e,value:t,onChange:n,disabled:c})=>o.jsxs("select",{value:t===""?"":String(t),onChange:i=>n(i.target.value===""?"":i.target.value==="true"),disabled:c,className:z.filterSelect,children:[o.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),o.jsx("option",{value:"true",children:"Oui"}),o.jsx("option",{value:"false",children:"Non"})]}),N5e=({config:e,value:t,onChange:n,disabled:c})=>o.jsx("input",{type:"date",value:t||"",onChange:i=>n(i.target.value),placeholder:`Filtrer ${e.label}...`,disabled:c,className:z.filterInput}),S5e=({config:e,value:t,onChange:n,disabled:c})=>{const[i,r]=k.useState([]);k.useEffect(()=>{(async()=>{if(e.asyncOptions)try{const h=await e.asyncOptions();r(h??[])}catch(h){console.error("Erreur chargement options MultiSelect:",h),r([])}else r(e.options??[])})()},[e]);const s=d=>{const h=Array.from(d.target.selectedOptions,l=>l.value);n(h)};return o.jsx("select",{multiple:!0,value:t.map(String),onChange:s,disabled:c,className:z.filterMultiSelect,children:i.map((d,h)=>o.jsx("option",{value:String(d.value),children:d.label},h))})},nj=({config:e,value:t,onChange:n,disabled:c})=>{const[i,r]=k.useState(t||""),s=d=>{const h=d.target.value===""?"":Number(d.target.value);r(h),n(h)};return o.jsx("input",{type:"number",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:c,className:z.filterInput})},j5e=({config:e,value:t,onChange:n,disabled:c=!1})=>{const[i,r]=k.useState([]),[s,d]=k.useState(!1);k.useEffect(()=>{(async()=>{if(e.asyncOptions){d(!0);try{const u=await e.asyncOptions();r(u)}catch(u){console.error("Error loading options:",u)}finally{d(!1)}}else r(e.options||[])})()},[e]);const h=l=>{const u=l.target.value;n(u)};return s?o.jsx("div",{children:"Chargement..."}):o.jsxs("select",{value:String(t||""),onChange:h,disabled:c,className:z.filterInput,children:[o.jsx("option",{value:"",children:"Select..."}),i.map(l=>o.jsx("option",{value:l.value,children:l.label},l.value))]})},$5e=({config:e,value:t,onChange:n,disabled:c=!1})=>{const[i,r]=k.useState("");k.useEffect(()=>{r(typeof t=="string"?t:String(t||""))},[t]);const s=d=>{const h=d.target.value;r(h),n(h)};return o.jsx("input",{type:"text",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:c,className:z.filterInput})},q5e=({config:e,value:t,onChange:n,disabled:c=!1})=>{const[i,r]=k.useState(t?.operator||""),[s,d]=k.useState(t?.value||"");k.useEffect(()=>{i&&s&&n({operator:i,value:s})},[i,s,n]);const h=u=>{r(u.target.value)},l=u=>{d(u.target.value)};return o.jsxs("div",{className:z.operatorFilterContainer,children:[o.jsxs("select",{value:i,onChange:h,disabled:c,className:z.operatorSelect,children:[o.jsx("option",{value:"",children:"Sélectionner un opérateur"}),e.operators.map(u=>o.jsx("option",{value:String(u.value),children:u.label},String(u.value)))]}),o.jsx("input",{type:"text",value:s,onChange:l,placeholder:"Valeur",disabled:c||!i,className:z.operatorInput})]})},A5e=({value:e,onChange:t,disabled:n})=>{const c=e||{},i=s=>{t({...c,start:s.target.value})},r=s=>{t({...c,end:s.target.value})};return o.jsxs("div",{className:z.dateRangeContainer,children:[o.jsx("input",{type:"date",value:c.start||"",onChange:i,disabled:n,className:z.filterInput}),o.jsx("span",{className:z.rangeSeparator,children:"→"}),o.jsx("input",{type:"date",value:c.end||"",onChange:r,disabled:n,className:z.filterInput})]})},z5e=({config:e,value:t,onChange:n,disabled:c})=>{switch(e.type){case"text":case"search":return o.jsx($5e,{config:e,value:t,onChange:n,disabled:c});case"number":return o.jsx(nj,{config:e,value:t,onChange:n,disabled:c});case"range":return o.jsx(nj,{config:e,value:t,onChange:n,disabled:c});case"select":return o.jsx(j5e,{config:e,value:t,onChange:n,disabled:c});case"operator":return o.jsx(q5e,{config:e,value:t,onChange:n,disabled:c});case"multiselect":return o.jsx(S5e,{config:e,value:t,onChange:n,disabled:c});case"date":return o.jsx(N5e,{config:e,value:t,onChange:n,disabled:c});case"daterange":return o.jsx(A5e,{config:e,value:t??{start:"",end:""},onChange:n,disabled:c});case"boolean":return o.jsx(C5e,{config:e,value:t,onChange:n,disabled:c});default:return o.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},Hq=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:c,isControlled:i=!1})=>{const[r,s]=k.useState([]),[d,h]=k.useState(()=>{const f={};return e.forEach(g=>{g.type==="daterange"?f[g.id]={start:"",end:""}:f[g.id]=g.defaultValue??""}),f});k.useEffect(()=>{if(!i)return;const f={...d??{}};e.forEach(g=>{g.id in f||(f[g.id]=g.type==="daterange"?{start:"",end:""}:g.defaultValue??"")}),(t||[]).forEach(g=>{!g||!g.id||(f[g.id]=g.value)}),h(f),s(t??[])},[i,JSON.stringify(t||[]),JSON.stringify(e.map(f=>f.id))]);const l=i?t:r,u=k.useCallback((f,g)=>{h(M=>({...M,[f]:g}))},[]),p=k.useCallback(async()=>{const f=[],g={...d};for(const[M,x]of Object.entries(g)){const v=e.find(C=>C.id===M);if(!v)continue;let L=x;try{typeof x=="function"&&(L=await x(g)),typeof v.executeOnApply=="function"&&(L=await v.executeOnApply(L,g))}catch{continue}if(v.type==="daterange"){const C=L?.start??"",b=L?.end??"",_=typeof C=="string"?C.trim()==="":!C,I=typeof b=="string"?b.trim()==="":!b;if(_&&I)continue}L==null||typeof L=="string"&&L.trim()===""||Array.isArray(L)&&L.length===0||typeof L=="object"&&!Array.isArray(L)&&Object.keys(L).length===0||f.push({id:M,type:v.type,value:L,label:v.label})}return i?n?.(f):(s(f),c?.(f)),f},[d,e,i,n,c]),y=k.useCallback(f=>{h(g=>({...g,[f]:void 0})),u(f,void 0)},[u]),m=k.useCallback(()=>{const f={};e.forEach(g=>{g.type==="daterange"?f[g.id]={start:"",end:""}:f[g.id]=g.defaultValue??""}),h(f),i?n?.([]):(s([]),c?.([]))},[e,i,n,c]);return{appliedFilters:l,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:m}},V5e=(e,t)=>{if(e==null)return!1;const n=t.value;if(n==null)return!1;switch(t.type){case"text":case"search":return String(e).toLowerCase().includes(String(n).toLowerCase());case"number":case"range":return Number(e)===Number(n);case"select":case"multiselect":return Array.isArray(n)?n.includes(e)||n.map(c=>String(c)).includes(String(e)):String(e)===String(n);case"boolean":return!!e==!!n;case"date":return new Date(e).getTime()===new Date(String(n)).getTime();case"daterange":try{if(!n||typeof n!="object")return!1;const c=n;if(!c.start||!c.end)return!1;const i=c.start,r=c.end;if(typeof i!="string"||typeof r!="string"||!i.trim()||!r.trim())return!1;const s=new Date(e).getTime(),d=new Date(i).getTime(),h=new Date(r).getTime();return isNaN(s)||isNaN(d)||isNaN(h)?!1:s>=d&&s<=h}catch(c){return console.error("Error processing daterange filter:",c),!1}case"operator":if(typeof n=="object"&&n!==null){const c=n;if(!("operator"in c)||!("value"in c))return!1;const{operator:i,value:r}=c,s=Number(e),d=Number(r);if(isNaN(s)||isNaN(d))return String(e).includes(String(r));switch(i){case"equals":return s===d;case"gt":return s>d;case"lt":return s<d;case"gte":return s>=d;case"lte":return s<=d;default:return String(e).includes(String(r))}}return!1;default:return String(e).toLowerCase().includes(String(n).toLowerCase())}};function Dq(e,t,n="",c={key:null,direction:"asc"},i=1,r=10,s=[]){const d=Math.max(1,r),h=(n||"").trim().toLowerCase(),l=k.useMemo(()=>{let g=e;return h&&(g=g.filter(M=>t.some(x=>{const v=M.data[x.id];return v==null?!1:String(v).toLowerCase().includes(h)}))),s.length>0&&(g=g.filter(M=>s.every(x=>{try{const v=M.data[x.id];return V5e(v,x)}catch(v){return console.error("Error applying filter:",v),!1}}))),g},[e,t,h,s]),u=k.useMemo(()=>{if(!c?.key)return l;const g=c.key;return[...l].sort((M,x)=>{const v=M.data[g],L=x.data[g];if(v==null)return 1;if(L==null)return-1;if(typeof v=="number"&&typeof L=="number")return c.direction==="desc"?L-v:v-L;if(v instanceof Date&&L instanceof Date){const C=v.getTime()-L.getTime();return c.direction==="desc"?-C:C}const w=String(v).localeCompare(String(L),void 0,{numeric:!0,sensitivity:"base"});return c.direction==="desc"?-w:w})},[l,c]),p=u,y=Math.ceil(u.length/d),m=0,f=Math.min(i*d,u.length);return{paginatedData:p,sortedData:u,filteredData:l,totalPages:y,startIndex:m,endIndex:f}}const Bq=({value:e})=>e,Rq=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),Fq=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),Eq=({value:e})=>{if(!e)return null;const t={success:"success-badge",warning:"warning-badge",error:"error-badge",info:"info-badge",default:"default-badge"},n=typeof e=="object"?e.type:"default",c=typeof e=="object"?e.text:e,i=t[n]||t.default;return k.createElement("span",{className:`badge ${i}`},c)},Oq=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},Uq=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),Wq=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),Gq=({value:e})=>k.createElement("div",{className:"image-container"},k.createElement("img",{src:e,alt:"Table content",className:"table-image",onError:t=>t.currentTarget.style.display="none"})),sw={renderers:{text:Bq,email:Rq,link:Fq,badge:Eq,date:Oq,number:Uq,currency:Wq,image:Gq},icons:{sortAsc:k.createElement(jc,{className:"sort-icon active",size:14}),sortDesc:k.createElement(qt,{className:"sort-icon active",size:14}),sortDefault:k.createElement(Yc,{className:"sort-icon",size:14})}},P5e=(e,t)=>{sw.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),sw.renderers[e]=t},T5e=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:c,isControlled:i=!1,debounceTimeout:r=300,expanded:s,onToggle:d,panelPlacement:h="top",onPanelHeightChange:l,label:u="Advanced-Filters",applyLabel:p="Apply",cancelLabel:y="Cancel",clearLabel:m="Clear",applyDisabled:f=!1,loading:g=!1})=>{const[M,x]=k.useState(!1),v=typeof s=="boolean"?s:M,{appliedFilters:L,tempFilters:w,updateFilter:C,applyFilters:b,clearAllFilters:_}=Hq({filters:e,externalFilters:t,onFiltersChange:n,onApply:c,isControlled:i}),I=k.useRef(null),j=k.useRef(null);k.useEffect(()=>{if(v&&I.current){const V=I.current.getBoundingClientRect().height;l?.(V)}else l?.(0)},[v,e,w,l]);const N=()=>{typeof s=="boolean"?d?.(!s):x(V=>{const q=!V;return d?.(q),q})},S=()=>e.map(V=>{const q=w?.[V.id];return q==null||typeof q=="string"&&q.trim()===""?null:{id:V.id,label:V.label,value:q}}).filter(Boolean),A=async()=>{let V;try{V=await b()}catch{V=void 0}let q=[];V&&Array.isArray(V)&&V.length>0?q=V:L&&L.length>0?q=L:q=S(),n?.(q),c?.(q)},B=()=>{d?.(!1),typeof s!="boolean"&&x(!1)},H=()=>{_(),n?.([]),c?.([])};return k.useEffect(()=>{const V=$=>{v&&j.current&&(j.current.contains($.target)||(d?.(!1),typeof s!="boolean"&&x(!1)))},q=$=>{$.key==="Escape"&&v&&(d?.(!1),typeof s!="boolean"&&x(!1))};return v&&(document.addEventListener("pointerdown",V),document.addEventListener("keydown",q)),()=>{document.removeEventListener("pointerdown",V),document.removeEventListener("keydown",q)}},[v,s,d]),o.jsxs("div",{className:z.advancedFiltersContainer,ref:j,children:[o.jsxs("button",{className:`${z.toggleFiltersButton} ${L.length>0?z.active:""} ${v?z.toggleFiltersButtonOpen:""} ${g?z.loadingButton:""}`,onClick:N,"aria-expanded":v,"aria-controls":"advanced-filters-panel",type:"button",disabled:g,children:[g?o.jsx("span",{className:z.loaderSpinnerSmall}):o.jsx(wt,{size:14}),o.jsx("span",{className:z.buttonTextCompact,children:u}),L.length>0&&!g&&o.jsx("span",{className:z.filterCountBadge,"aria-hidden":!0,children:L.length}),g&&o.jsx("span",{className:z.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),v&&o.jsxs("div",{id:"advanced-filters-panel",ref:I,className:`${z.filtersPanel} ${h==="top"?`${z.filtersPanelInline} ${z.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[o.jsx("div",{className:z.filtersRow,children:e.map(V=>o.jsxs("div",{className:`${z.filterItem} ${z.filterItemInline}`,children:[o.jsxs("label",{className:z.filterLabel,children:[V.label,V.required&&o.jsx("span",{className:z.required,children:"*"})]}),o.jsx(z5e,{config:V,value:w[V.id],onChange:q=>C(V.id,q),disabled:V.disabled})]},V.id))}),o.jsxs("div",{className:z.filtersActionsHorizontal,children:[o.jsx("div",{className:z.activeFiltersSection,children:L.length>0&&o.jsxs("div",{className:z.activeFiltersRow,children:[o.jsx("span",{className:z.activeLabelCompact,children:"Actifs :"}),o.jsx("div",{className:z.activeFiltersList,children:L.map(V=>o.jsxs("div",{className:z.activeFilterTag,children:[V.label??V.id,o.jsx("button",{className:z.removeFilterButton,onClick:()=>C(V.id,void 0),"aria-label":`Supprimer ${V.id}`,type:"button",children:"×"})]},V.id))}),o.jsxs("button",{className:z.clearAllButton,onClick:H,type:"button",children:[o.jsx(Ke,{size:12})," ",m]})]})}),o.jsxs("div",{className:z.actionsGroup,children:[o.jsx("button",{className:z.cancelButton,onClick:B,type:"button",disabled:g,children:y}),o.jsx("button",{className:`${z.applyButton} ${g?z.loadingButton:""}`,onClick:A,type:"button",disabled:f||g,"aria-disabled":f||g,children:g?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:z.loaderSpinnerSmall}),o.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},oj=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},H5e=({columns:e,sortConfig:t,onSort:n,label:c="Sort",loading:i=!1})=>{const[r,s]=k.useState(!1),d=e.filter(f=>f.sortable),h=k.useRef(null),l=t?.key!==null&&t?.key!==void 0,u=(f,g)=>{n({key:f,direction:g}),s(!1)},p=()=>{n({key:null,direction:"asc"}),s(!1)},y=()=>s(f=>!f),m=()=>{s(!1)};return k.useEffect(()=>{if(!r)return;const f=M=>{if(!h.current)return;const x=M.target;x&&!h.current.contains(x)&&s(!1)},g=M=>{M.key==="Escape"&&s(!1)};return document.addEventListener("pointerdown",f),document.addEventListener("keydown",g),()=>{document.removeEventListener("pointerdown",f),document.removeEventListener("keydown",g)}},[r]),k.useEffect(()=>{const f=document.querySelector("[data-table-wrapper]");if(!f)return;const g=f.style.overflow??"";return r?f.style.overflow="hidden":f.style.overflow=g,()=>{f.style.overflow=g}},[r]),o.jsx("div",{className:z.columnSorterContainer,ref:h,children:o.jsx("div",{className:z.sorterControls,children:d.length>0&&o.jsxs("div",{className:z.sortDropdownWrapper,ref:h,children:[o.jsxs("button",{className:`${z.toggleSortButton} ${r?z.toggleSortButtonOpen:""} ${l?z.active:""} ${i?z.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?o.jsx("span",{className:z.loaderSpinnerSmall}):o.jsx(Yc,{size:14}),o.jsx("span",{className:`${z.buttonTextCompact} ${oj(c)?z.uppercaseSmall:""}`,children:c}),l&&!i&&o.jsx("div",{className:z.sortIndicator,children:t?.direction==="asc"?o.jsx(jc,{size:12}):o.jsx(qt,{size:12})})]}),r&&o.jsxs("div",{className:`${z.sortDropdown} ${z.sortDropdownInline}`,role:"menu",children:[o.jsxs("div",{className:z.sortDropdownHeader,children:[o.jsx("span",{children:"Trier par:"}),o.jsx("button",{className:z.closeButton,onClick:m,"aria-label":"Fermer",type:"button",children:o.jsx(Ke,{size:16})})]}),o.jsx("div",{className:z.sortDropdownContent,children:d.map(f=>{const g=String(f.label??f.id),M=oj(g);return o.jsxs("div",{className:z.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:x=>{x.key==="Enter"&&u(f.id,"asc")},children:[o.jsx("span",{className:`${z.columnSorterLabel} ${M?z.uppercaseSmall:""}`,title:g,"aria-label":g,children:g}),o.jsxs("div",{className:z.sortDirectionButtons,children:[o.jsx("button",{className:`${z.sortDirectionButton} ${t?.key===f.id&&t?.direction==="asc"?z.activeSort:""}`,onClick:()=>u(f.id,"asc"),title:"Trier par ordre croissant",type:"button",children:o.jsx(jc,{size:12})}),o.jsx("button",{className:`${z.sortDirectionButton} ${t?.key===f.id&&t?.direction==="desc"?z.activeSort:""}`,onClick:()=>u(f.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:o.jsx(qt,{size:12})})]})]},f.id)})}),l&&o.jsx("div",{className:z.sortActions,children:o.jsxs("button",{className:z.clearSortButton,onClick:p,type:"button",children:[o.jsx(bt,{size:14}),o.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},D5e=({currentPage:e,totalPages:t,pageSize:n,totalItems:c,itemLabel:i="items",onPageChange:r,onPageSizeChange:s,loading:d=!1})=>{const h=Math.max(1,Math.floor(t)),l=Math.min(Math.max(1,Math.floor(e)),h),u=()=>{l>1&&r(l-1)},p=()=>{if(l<t){const g=l+1;r(g)}},y=c>0?(l-1)*n+1:0,m=c>0?Math.min(l*n,c):0,f=()=>{const g=[];let x=Math.max(1,l-Math.floor(2.5)),v=x+5-1;v>h&&(v=h,x=Math.max(1,v-5+1));for(let L=x;L<=v;L++)g.push(L);return g};return o.jsxs("div",{className:z.paginationContainer,role:"navigation","aria-label":"Pagination",children:[o.jsx("div",{className:z.leftGroup,children:s&&o.jsx("div",{className:z.pageSizeControls,children:o.jsx("select",{value:n,onChange:g=>s(Number(g.target.value)),className:z.pageSizeSelect,"aria-label":"Taille de page",disabled:d,children:[10,20,30].map(g=>o.jsx("option",{value:g,children:g},g))})})}),o.jsx("div",{className:z.paginationInfo,"aria-live":"polite",children:d?o.jsxs("span",{className:z.paginationLoading,children:[o.jsx("span",{className:z.loaderSpinner}),o.jsx("span",{children:"Chargement..."})]}):`${y}-${m} ${i}`}),o.jsxs("div",{className:z.paginationControls,children:[o.jsx("button",{onClick:u,disabled:l===1||d,className:`${z.paginationButton} ${z.navigationButton} ${l===1?z.disabledButton:""} ${d?z.loadingButton:""}`,"aria-label":"Page précédente",children:d&&l>1?o.jsx("span",{className:z.loaderSpinnerSmall}):"«"}),f().map(g=>o.jsx("button",{onClick:()=>r(g),disabled:d,"aria-current":l===g?"page":void 0,className:`${z.paginationButton} ${l===g?z.activeButton:""} ${d?z.loadingButton:""}`,children:d&&l===g?o.jsx("span",{className:z.loaderSpinnerSmall}):g},g)),o.jsx("button",{onClick:p,disabled:d||l>=h,className:`${z.paginationButton} ${z.navigationButton} ${d?z.loadingButton:""} ${l>=h?z.disabledButton:""}`,"aria-label":"Page suivante",children:d?o.jsx("span",{className:z.loaderSpinnerSmall}):"»"})]})]})},B5e=(e,t)=>{if(!e)return"";if(t)return e;const n=String(e).trim();if(!n)return n;const c=n.toLowerCase();return c.charAt(0).toUpperCase()+c.slice(1)},R5e=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},F5e=({columns:e})=>o.jsx("thead",{className:z.tableHeader,children:o.jsx("tr",{children:e.map((t,n)=>{const c=t.align==="right"?z.alignRight:t.align==="left"?z.alignLeft:z.alignCenter,i=t.preserveHeaderCase===!0,r=B5e(String(t.label??""),i),s=R5e(r),d=s?r.split(/\s+/):[];return o.jsx("th",{className:`${z.headerCell} ${c}`,style:{width:t.width??void 0},"data-preserve":i?"true":"false",title:t.a11yConfig?.mode==="guide"?t.a11yConfig.description:t.a11yConfig?.mode==="key"?t.a11yConfig.key:void 0,children:o.jsx("div",{className:z.headerContent,children:s?o.jsx("div",{className:z.headerWords,children:d.map((h,l)=>o.jsx("span",{className:z.headerWord,children:h},l))}):o.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),E5e=({value:e,row:t,column:n})=>{const c=n.align==="right"?z.alignRight:n.align==="left"?z.alignLeft:z.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return o.jsx("td",{className:`${z.tableCell} ${c}`,style:{width:n.width??void 0},children:o.jsx("div",{className:z.cellContent,children:i})})},O5e=({row:e,rowId:t,columns:n,onRowClick:c,index:i,getRowStyle:r})=>{const s=r?r(e):{},{backgroundColor:d,accentColor:h,...l}=s||{},u={backgroundColor:d,...l,"--row-accent":h??"transparent"};return o.jsx("tr",{className:`${z.tableRow} ${c?z.clickableRow:""}`,onClick:()=>c?.(e,i),style:u,children:n.map(p=>o.jsx(E5e,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},U5e=({data:e,columns:t,onRowClick:n,startIndex:c,searchTerm:i,getRowStyle:r})=>e.length===0?o.jsx("tbody",{children:o.jsx("tr",{children:o.jsx("td",{colSpan:t.length,className:z.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):o.jsx("tbody",{children:e.map((s,d)=>o.jsx(O5e,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:c+d-1,getRowStyle:r},s.id))}),Kq=({columns:e=[],data:t=[],pagination:n={pageSize:10,currentPage:1},onRowClick:c,searchTerm:i="",className:r="",filterConfig:s=[],externalFilters:d=[],onFiltersChange:h,onApplyFilters:l,onSort:u,filtersControlled:p=!1,debounceTimeout:y=300,getRowStyle:m,background:f,onPageSizeChange:g,onPageChange:M,itemLabel:x="items",advancedFiltersLabel:v="Advanced-Filters",advancedFiltersActiveLabel:L,sortLabel:w="Sort",applyLabel:C="Apply",cancelLabel:b="Cancel",clearLabel:_="Clear",applyDisabled:I=!1,paginationLoading:j=!1,filtersLoading:N=!1,sortLoading:S=!1,totalCount:A=null})=>{const[B,H]=k.useState({key:null,direction:"asc"}),[V,q]=k.useState(n.currentPage??1),[$,P]=k.useState(n.pageSize??10),[T,D]=k.useState(!1),F=k.useRef(null),[G,te]=k.useState([]),ne=p?d:G,Me=p?[]:G;k.useEffect(()=>{const de=n.currentPage??1,Tt=n.pageSize??10;de!==V&&q(de),Tt!==$&&P(Tt)},[n.currentPage,n.pageSize]);const{paginatedData:me,sortedData:Ce,totalPages:he,startIndex:Y}=Dq(t,e,i,B,V,$,Me),ee=Ce.length,ie=typeof A=="number"&&A>=0?A:ee;let ue=he;typeof A=="number"&&A>=0&&(ue=Math.max(1,Math.ceil(A/$)));const re=ee>10;k.useEffect(()=>{const de=Math.max(1,Math.floor(ue));V>de&&q(de),V<1&&q(1)},[ue]);const U=de=>{p||te(de),h?.(de),q(1),M?.(1)},E=de=>{p||te(de),l?.(de),q(1),M?.(1),F.current&&F.current.style.setProperty("--filters-panel-height","0px")},oe=de=>{M?.(de),q(de)},we=de=>{P(de),q(1),g?.(de),M?.(1)},Be=de=>{F.current&&F.current.style.setProperty("--filters-panel-height",`${Math.round(de)}px`)},ge=de=>{H(de),u?.(de)},$e=de=>{D(de),!de&&F.current&&F.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(ne?.length??0)>0&&D(!0)},[ne]),k.useEffect(()=>{s.length>0&&ne.length>0&&D(!0)},[s.length,ne.length]);const Pc=(ne?.length??0)>0&&L?L:v;return o.jsxs("div",{ref:F,className:`${z.container} ${r} ${T?z.filtersOpen:""}`,style:{background:f,"--row-height":"48px","--header-height":"56px"},children:[o.jsx("div",{className:z.tableControls,children:o.jsxs("div",{className:z.controlsRight,children:[o.jsx(H5e,{columns:e,onSort:ge,label:w,sortConfig:B,loading:S}),s.length>0&&o.jsx(T5e,{filters:s,externalFilters:ne,onFiltersChange:U,onApply:E,isControlled:p,debounceTimeout:y,expanded:T,onToggle:$e,panelPlacement:"top",onPanelHeightChange:Be,label:Pc,applyLabel:C,cancelLabel:b,clearLabel:_,applyDisabled:I,loading:N})]})}),o.jsx("div",{className:z.topPagination,children:o.jsx(D5e,{currentPage:V,totalPages:ue,pageSize:$,totalItems:ie,itemLabel:x,onPageChange:oe,onPageSizeChange:we,loading:j})}),o.jsx("div",{className:`${z.tableWrapper} ${re?z.limitedRows:""}`,"data-table-wrapper":!0,children:o.jsxs("table",{className:z.table,children:[o.jsx(F5e,{columns:e}),o.jsx(U5e,{data:me,columns:e,onRowClick:c,startIndex:Y,getRowStyle:m,searchTerm:i})]})})]})};function W5e(e){const{pagination:t,totalCount:n,onPageChange:c,...i}=e,r=t?.pageSize??20,s=t?.currentPage??1,d=k.useMemo(()=>{if(n===null||typeof n>"u")return null;const p=Number(n);if(!Number.isFinite(p)||p<=0)return 1;const y=Number(r);return!Number.isFinite(y)||y<=0?1:Math.max(1,Math.ceil(p/y))},[n,r]),h=s>1,l=d===null?!1:s<d,u=p=>{typeof p=="number"&&(p<1||p<s&&!h||p>s&&!l||c?.(p))};return o.jsx(Kq,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const G5e="_mpRoot_31595_1",K5e="_mpHeader_31595_22",Z5e="_mpTitle_31595_31",X5e="_mpList_31595_35",Y5e="_mpVertical_31595_41",J5e="_mpHorizontal_31595_46",Q5e="_mpItem_31595_55",eke="_mpClickable_31595_95",tke="_mpLeft_31595_117",ake="_mpIcon_31595_125",nke="_mpMeta_31595_140",oke="_mpLabel_31595_145",cke="_mpDate_31595_154",ike="_mpRight_31595_160",rke="_mpValue_31595_168",ske="_mpHint_31595_176",dke="_mpBadge_31595_180",lke="_mpBadgeTop_31595_199",hke="_mpBadgeSub_31595_206",uke="_mpBadgeSmall_31595_213",pke="_mpPill_31595_229",yke="_mpRounded_31595_232",kke="_mpCompact_31595_236",mke="_compactItemWrapper_31595_252",fke="_mpSummaryRoot_31595_265",gke="_mpSummaryInner_31595_269",vke="_mpSummaryFlex_31595_284",Mke="_mpSummaryCardWrapperHorizontal_31595_292",xke="_mpSummaryCardWrapper_31595_292",_ke="_mpSummaryCardHorizontal_31595_303",Lke="_mpSummaryCard_31595_292",Ike="_mpSummaryValue_31595_321",bke="_mpSummaryLabel_31595_327",wke="_mpSummaryBadge_31595_338",Cke="_mpSummaryBadgeSub_31595_357",Nke="_mpEmpty_31595_365",Ske="_mpSummaryVertical_31595_372",jke="_mpIconSquare_31595_380",Z={mpRoot:G5e,mpHeader:K5e,mpTitle:Z5e,mpList:X5e,mpVertical:Y5e,mpHorizontal:J5e,mpItem:Q5e,mpClickable:eke,mpLeft:tke,mpIcon:ake,mpMeta:nke,mpLabel:oke,mpDate:cke,mpRight:ike,mpValue:rke,mpHint:ske,mpBadge:dke,mpBadgeTop:lke,mpBadgeSub:hke,mpBadgeSmall:uke,mpPill:pke,mpRounded:yke,mpCompact:kke,compactItemWrapper:mke,mpSummaryRoot:fke,mpSummaryInner:gke,mpSummaryFlex:vke,mpSummaryCardWrapperHorizontal:Mke,mpSummaryCardWrapper:xke,mpSummaryCardHorizontal:_ke,mpSummaryCard:Lke,mpSummaryValue:Ike,mpSummaryLabel:bke,mpSummaryBadge:wke,mpSummaryBadgeSub:Cke,mpEmpty:Nke,mpSummaryVertical:Ske,mpIconSquare:jke},$t=(e,t=1)=>{if(!e||typeof e!="string")return`rgba(124, 58, 237, ${t})`;const n=e.trim();if(n.toLowerCase()==="transparent")return"rgba(0,0,0,0)";if(/^rgba?\(/i.test(n))return/^rgba\(/i.test(n)?n.replace(/rgba\(([^)]+),\s*([0-9.]+)\s*\)$/,(d,h)=>`rgba(${h.split(",").map(u=>u.trim()).slice(0,3).join(", ")}, ${t})`):n;let c=n.replace("#","").toLowerCase();if(c.length===3&&(c=c.split("").map(d=>d+d).join("")),!/^[0-9a-f]{6}$/i.test(c))return`rgba(124, 58, 237, ${t})`;const i=parseInt(c.slice(0,2),16),r=parseInt(c.slice(2,4),16),s=parseInt(c.slice(4,6),16);return`rgba(${i}, ${r}, ${s}, ${t})`},$ke=({item:e,shape:t,onItemClick:n,color:c,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[Z.mpItem,t==="pill"?Z.mpPill:Z.mpRounded,n?Z.mpClickable:""].filter(Boolean).join(" ");if(i)return o.jsx("div",{className:s,role:n?"button":"group",tabIndex:n?0:-1,onClick:r,onKeyDown:y=>{n&&(y.key==="Enter"||y.key===" ")&&(n(e),y.preventDefault())},"aria-label":n?`Voir les détails de ${e.label}`:void 0,children:i(e)});const d=n?"button":"div",h=n?{onClick:r,className:s,type:"button","aria-label":`Voir les détails de ${e.label}`}:{className:s,role:"group"},l=e.iconComponent,u=e.iconSquareBg,p=e.iconColor;return o.jsxs(d,{...h,children:[o.jsxs("div",{className:Z.mpLeft,children:[l?o.jsx("div",{className:Z.mpIconSquare,style:{background:u??$t(p??c??"#7c3aed",1),border:`1px solid ${$t(p??c??"#7c3aed",.18)}`,color:p??"#ffffff"},children:k.createElement(l,{size:20,color:p??"#fff",strokeWidth:1.8})}):e.icon?o.jsx("div",{className:Z.mpIcon,children:e.icon}):null,o.jsxs("div",{className:Z.mpMeta,children:[o.jsx("div",{className:Z.mpLabel,children:e.label}),e.subLabel&&o.jsx("div",{className:Z.mpDate,children:e.subLabel}),e.date&&o.jsx("div",{className:Z.mpDate,children:e.date})]})]}),o.jsxs("div",{className:Z.mpRight,children:[o.jsx("div",{className:Z.mpValue,style:{color:e.valueColor??c??void 0},children:e.value}),e.badge?o.jsxs("div",{className:[Z.mpBadge,e.badge.small?Z.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??$t(e.badge.color||c||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":$t(e.badge.color||c||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[o.jsx("div",{className:Z.mpBadgeTop,children:e.badge.text}),e.badge.subText&&o.jsx("div",{className:Z.mpBadgeSub,children:e.badge.subText})]}):e.hint?o.jsx("div",{className:Z.mpHint,children:e.hint}):null]})]})},qke=k.memo($ke),cj=({title:e,right:t})=>!e&&!t?null:o.jsxs("div",{className:Z.mpHeader,children:[o.jsx("div",{className:Z.mpTitle,children:e}),o.jsx("div",{children:t})]}),ij=(e,t=1)=>{try{return $t(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Ake=({item:e})=>o.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:14,borderRadius:12,minHeight:88,boxSizing:"border-box",background:e.bgColor??"transparent",border:`1px solid ${e.borderColor??"transparent"}`,boxShadow:"0 4px 10px rgba(15,23,42,0.03)"},children:[o.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[o.jsx("div",{style:{fontSize:13,fontWeight:700,color:"#475569"},children:e.label}),o.jsx("div",{style:{fontSize:26,fontWeight:900,color:"#0f172a",lineHeight:1},children:e.value})]}),o.jsx("div",{title:String(e.label),style:{display:"flex",alignItems:"center",justifyContent:"center",width:48,height:48,borderRadius:10,background:e.iconSquareBg??ij("#7c3aed",.12),border:`1px solid ${ij(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),zke=({item:e,bg:t,onClick:n,width:c,height:i,extraStyle:r})=>o.jsxs("div",{className:Z.mpSummaryCard,style:{background:t,width:c??void 0,height:i??void 0,...r??{}},role:n?"button":"group",tabIndex:n?0:-1,onClick:()=>n?.(e),children:[o.jsx("div",{className:Z.mpSummaryLabel,children:e.label}),o.jsx("div",{className:Z.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&o.jsxs("div",{className:Z.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&o.jsx("div",{className:Z.mpSummaryBadgeSub,children:e.badge.subText})]})]}),rj=(e,t=1)=>{try{return $t(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},sj=e=>o.jsxs("div",{style:{display:"grid",gridTemplateRows:"auto 1fr",width:"100%",gap:8,alignItems:"center",boxSizing:"border-box",minWidth:0},children:[o.jsxs("div",{style:{display:"flex",justifyContent:"space-between-left",alignItems:"baseline",gap:10,width:"100%"},children:[o.jsx("div",{style:{fontWeight:700,fontSize:"clamp(14px, 1.2vw, 16px)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0},children:e.label}),e.subLabel?o.jsx("div",{style:{fontSize:"clamp(13px, 1.1vw, 15px)",fontWeight:600,whiteSpace:"nowrap"},children:e.subLabel}):null]}),o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:15,width:"100%"},children:[o.jsx("div",{style:{fontWeight:900,fontSize:"clamp(16px, 1.6vw, 20px)",color:e.valueColor,lineHeight:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.value}),e.badge?o.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"8px 12px",borderRadius:10,backgroundColor:e.badge.bg?e.badge.bg:rj("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:rj("#7c3aed",.12)}`,color:e.badge.textColor||"#0f172a",fontWeight:700,fontSize:"clamp(12px, 1.2vw, 14px)",width:"120px",height:"52px",textAlign:"center",boxSizing:"border-box",overflow:"hidden",boxShadow:"0 2px 4px rgba(0,0,0,0.1)",lineHeight:1.2,flexShrink:0},children:[o.jsx("div",{style:{fontSize:14,fontWeight:800,lineHeight:1.2,letterSpacing:"0.02em",width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.badge.text}),e.badge.subText?o.jsx("div",{style:{fontSize:13,marginTop:4,fontWeight:700,letterSpacing:"0.01em",width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.badge.subText}):null]}):null]})]}),dj=(e,t)=>{try{if(typeof e=="function"){const n=e(t);if(n!==void 0)return n}}catch{}try{return k.createElement(e,{item:t})}catch(n){return console.warn("chooseDefaultRender: impossible de rendre CompactRenderer",n),null}},Vke=e=>{switch(e){case"image":return t=>k.createElement(Ake,{item:t});case"pertinence":return t=>k.createElement(zke,{item:t});case"alternateHorizontal":return t=>dj(sj,t);case"compact":return t=>dj(sj,t);case"summary":return;case"default":default:return}},Zq=({item:e,orientation:t,bg:n,border:c,valueColor:i,onClick:r,width:s,height:d,extraStyle:h})=>{const u=t==="horizontal"?Z.mpSummaryCardHorizontal:Z.mpSummaryCard;return o.jsxs("div",{className:u,style:{background:n,border:`1px solid ${c}`,width:s??void 0,height:d??void 0,...h??{}},role:r?"button":"group",tabIndex:r?0:-1,onClick:()=>r?.(e),children:[e.badge&&o.jsxs("div",{className:Z.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&o.jsx("div",{className:Z.mpSummaryBadgeSub,children:e.badge.subText})]}),o.jsx("div",{className:Z.mpSummaryValue,style:{color:i},children:e.value}),o.jsx("div",{className:Z.mpSummaryLabel,children:e.label})]})},Pke=["transparent","transparent","transparent","transparent"],Tke=["transparent","transparent","transparent","transparent"],Hke=["#059669","#2563eb","#b45309","#7c3aed"],Dke=(e,t=1)=>{try{return $t(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Xq=e=>{const{items:t=[],layout:n="vertical",orientation:c="auto",shape:i="rounded",color:r="#7c3aed",compact:s=!1,title:d,onItemClick:h,className:l="",loading:u=!1,emptyMessage:p="Aucun élément",renderItem:y,summary:m=!1,summaryBgColors:f=Pke,summaryBorderColors:g=Tke,summaryValueColors:M=Hke,preset:x,background:v}=e,{itemsContainerStyle:L,itemsContainerClassName:w,summaryGridColumns:C,compactItemWidth:b,compactItemHeight:_,compactItemStyle:I,summaryCardWidth:j,summaryCardHeight:N,summaryCardStyle:S}=e,A=n==="vertical",B={"--mp-accent":r,"--mp-accent-soft":Dke(r,.08),"--mp-bg-primary":v},H=[Z.mpRoot,A?Z.mpVertical:Z.mpHorizontal,s?Z.mpCompact:"",m?Z.mpSummaryRoot:"",c!=="auto"?c==="vertical"?Z.mpOrientationVertical:Z.mpOrientationHorizontal:"",l].filter(Boolean).join(" "),V=k.useMemo(()=>y||(Vke(x)??void 0),[y,x]);if(m){const q=c==="horizontal"?Z.mpSummaryFlex:Z.mpSummaryVertical,P={...(C?{display:"grid",gridTemplateColumns:`repeat(${C}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...L??{}};return o.jsxs("div",{className:H,style:B,"aria-busy":u,children:[d&&o.jsx(cj,{title:d}),o.jsx("div",{className:Z.mpSummaryInner,children:o.jsx("div",{className:`${q} ${w??""}`,style:P,children:t.length===0?o.jsx("div",{className:Z.mpEmpty,children:p}):t.map((T,D)=>{const F=T.bgColor??f[D%f.length],G=T.borderColor??g[D%g.length],te=T.valueColor??M[D%M.length];return V?o.jsx("div",{className:c==="horizontal"?Z.mpSummaryCardWrapperHorizontal:Z.mpSummaryCardWrapper,style:{width:j??void 0,height:N??void 0,...S??{}},children:V(T,D)},T.id):o.jsx(Zq,{item:T,orientation:c==="horizontal"?"horizontal":"vertical",bg:F,border:G,valueColor:te,onClick:h,width:j??void 0,height:N??void 0,extraStyle:S},T.id)})})})]})}return o.jsxs("div",{className:H,style:B,"aria-busy":u,children:[d&&o.jsx(cj,{title:d}),o.jsx("div",{className:Z.mpList,style:L,children:u?o.jsx("div",{className:Z.mpEmpty,children:"Chargement…"}):t.length===0?o.jsx("div",{className:Z.mpEmpty,children:p}):t.map(q=>{const $=s?{width:b??void 0,height:_??void 0,boxSizing:"border-box",...I??{}}:void 0;return o.jsx("div",{className:s?Z.compactItemWrapper:void 0,style:$,children:o.jsx(qke,{item:q,shape:i,onItemClick:h,color:r,renderItem:V?P=>V(P,t.indexOf(P)):void 0})},q.id)})})]})};k.memo(Xq);const Bke=({a11yConfig:e,width:t,height:n,colors:c={text:"#0b1220",background:"#fff",contentBackground:"#efeff0"},titles:i={},placeholder:r="Loading Chart",style:s,className:d="",children:h,padding:l="1rem",variant:u="default",showBorder:p=!1,titleKey:y,leftTitleKey:m})=>{const f=t?typeof t=="number"?`${t}px`:t:void 0,g=n?typeof n=="number"?`${n}px`:n:void 0,M=r&&typeof r=="object"&&!k.isValidElement(r)&&("text"in r||"subtext"in r||"icon"in r||"background"in r||"iconSize"in r),x=M?r:void 0,v=x?.icon?mt[x.icon]:void 0,L=28,w=x?.iconSize??L,C=["chart-container",`variant-${u}`,p?"with-border":"",d].filter(Boolean).join(" "),b=c.contentBackground??void 0,_=typeof l=="number"?`${l}px`:l;return o.jsxs("div",{className:C,style:{width:f,height:g,color:c.text,background:c.background,display:"flex",flexDirection:"column",boxSizing:"border-box",padding:_,...s},children:[o.jsxs("div",{className:"chart-header",children:[o.jsxs("div",{title:Q(e,m||y),className:"chart-title-left",style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.left,i.leftSubtitle&&o.jsx("div",{className:"chart-subtitle-left",children:i.leftSubtitle})]}),o.jsx("div",{className:"chart-title-right",children:i.right})]}),o.jsx("div",{className:"chart-content",style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",background:b},children:h||(M&&x?o.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[v&&o.jsx("div",{className:"placeholder-icon",style:{width:w,height:w},children:o.jsx(v,{color:x.iconColor??"currentColor",size:typeof w=="number"?w:parseInt(String(w),10)||L})}),x.text&&o.jsx("div",{className:"placeholder-text",children:x.text}),x.subtext&&o.jsx("div",{className:"placeholder-subtext",children:x.subtext})]}):o.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:r}))})]})},Zw=({id:e,size:t="100%",background:n,icon:c,text:i,subtext:r,onClose:s,onClick:d,style:h,className:l="",colorTextPrimary:u,colorTextSub:p,model:y,fontSize:m,fontWeight:f,a11yConfig:g,titleKey:M})=>{const x=c||y?.icon,v=typeof x=="string",L=v?mt[x]:null,w=v?null:x;return o.jsxs("div",{id:e,className:`alert ${l}`,style:{width:typeof t=="number"?`${t}px`:t,background:n||y?.background,pointerEvents:"auto",...h},role:"alert",onClick:d,title:Q(g,M),children:[L&&o.jsx(L,{className:"alert-icon",size:20,color:u||y?.colorTextPrimary}),w!=null&&o.jsx("span",{className:"alert-icon",style:{display:"flex",alignItems:"center",color:u||y?.colorTextPrimary,flexShrink:0},children:w}),o.jsxs("div",{className:"alert-content",children:[o.jsx("span",{className:"alert-text",style:{color:u||y?.colorTextPrimary,fontSize:m,fontWeight:f},children:i}),r&&o.jsx("span",{className:"alert-subtext",style:{color:p||y?.colorTextSub},children:r})]}),s&&o.jsx("button",{className:"alert-close",onClick:s,"aria-label":"Fermer",children:"✕"})]})},Yq=k.createContext(null),Rke=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,Fke=({children:e,defaultDuration:t=4e3,maxAlerts:n,containerClassName:c,containerStyle:i})=>{const[r,s]=k.useState([]),d=k.useRef(new Map),h=k.useRef(null),l=k.useRef(null),u=k.useRef(n);k.useEffect(()=>()=>{d.current.forEach(_=>window.clearTimeout(_)),d.current.clear()},[]);const p=(_,I)=>{const j=I===void 0||I===0?t:I;if(j===-1)return;const N=window.setTimeout(()=>{f(_)},j);d.current.set(_,N)},y=_=>{const I=d.current.get(_);I&&(window.clearTimeout(I),d.current.delete(_))},m=_=>{const I=Rke(),j={..._,id:I,createdAt:Date.now()};return s(N=>{const S=[j,...N],A=u.current;return typeof A=="number"&&A>=0&&S.length>A?(S.slice(A).forEach(H=>y(H.id)),S.slice(0,A)):S}),p(I,_.duration),I},f=_=>{y(_),s(I=>I.filter(j=>j.id!==_))},g=(_,I)=>{s(j=>j.map(N=>N.id===_?{...N,...I}:N))},M=()=>{d.current.forEach(_=>window.clearTimeout(_)),d.current.clear(),s([])},x=_=>{l.current=_},v=()=>r.slice(),L=k.useMemo(()=>({showAlert:m,dismissAlert:f,updateAlert:g,clearAlerts:M,setContainerRef:x,getAlertsSnapshot:v}),[r]),w=l.current,C=o.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,display:"flex",flexDirection:"column",alignItems:"center",pointerEvents:"none",zIndex:10001,padding:"8px 4px"},children:o.jsx(b0e,{mode:"popLayout",children:r.map(_=>o.jsx(Ow.div,{initial:{opacity:0,y:-10,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.98},transition:{type:"spring",damping:25,stiffness:300},style:{width:"100%",pointerEvents:"auto",boxShadow:"0 6px 20px rgba(0, 0, 0, 0.12)",borderRadius:"8px",marginBottom:"6px",backgroundColor:_.background||_.model?.background||"var(--color-background, #fff)",border:"1px solid rgba(0, 0, 0, 0.08)",overflow:"hidden"},children:o.jsx(Zw,{id:_.id,text:_.text,subtext:_.subtext,icon:_.icon,background:"transparent",colorTextPrimary:_.colorTextPrimary,colorTextSub:_.colorTextSub,model:_.model,onClose:()=>f(_.id),size:"100%",style:{boxShadow:"none"}})},_.id))})}),b=o.jsx("div",{ref:_=>{l.current||(h.current=_)},className:c,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:C});return o.jsxs(Yq.Provider,{value:L,children:[w?lw.createPortal(C,w):b,e]})},Eke=()=>{const e=k.useContext(Yq);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},Oke={default:{background:"#f3f4f6",icon:"Info",colorTextPrimary:"#111827",colorTextSub:"#4b5563"},info:{background:"#dbeafe",icon:"Info",colorTextPrimary:"#1e40af",colorTextSub:"#3b82f6"},success:{background:"#dcfce7",icon:"CheckCircle2",colorTextPrimary:"#166534",colorTextSub:"#22c55e"},warning:{background:"#fef3c7",icon:"AlertTriangle",colorTextPrimary:"#92400e",colorTextSub:"#f59e0b"},error:{background:"#fee2e2",icon:"XCircle",colorTextPrimary:"#991b1b",colorTextSub:"#ef4444"}},Uke="_container_18zbo_1",Wke="_icon_18zbo_9",Gke="_selectWrapper_18zbo_23",Ab={container:Uke,icon:Wke,selectWrapper:Gke},Kke=({options:e,defaultValue:t,onChange:n,label:c})=>{const[i,r]=k.useState(t||e[0]?.value||""),s=d=>{r(d),n?.(d)};return o.jsxs("div",{className:Ab.container,children:[o.jsxs("div",{className:Ab.icon,children:[o.jsx(x1,{size:18}),o.jsx("p",{children:c})]}),o.jsx("div",{className:Ab.selectWrapper,children:o.jsx(Uw,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},Zke=250,Xke=k.forwardRef(({title:e,subtitle:t,size:n="420px",beforeOpen:c,afterOpen:i,beforeClose:r,afterClose:s,style:d,className:h="",children:l,closeOnOverlayClick:u=!0,showCloseButton:p=!0},y)=>{const[m,f]=k.useState(!1),[g,M]=k.useState(!1),x=k.useRef(null),v=k.useRef(null),L=k.useRef(null),w=k.useRef(null);k.useEffect(()=>{const _=x.current;if(!_)return;const I=_.parentElement;return I?(window.getComputedStyle(I).position==="static"&&(I.setAttribute("data-scp-prev-position",I.style.position??""),I.style.position="relative",I.setAttribute("data-scp-position-changed","true")),()=>{if(I.getAttribute("data-scp-position-changed")==="true"){const N=I.getAttribute("data-scp-prev-position")??"";I.style.position=N,I.removeAttribute("data-scp-position-changed"),I.removeAttribute("data-scp-prev-position")}}):void 0},[]),k.useImperativeHandle(y,()=>({open:()=>{m||(c?.(),M(!1),f(!0))},close:()=>{m&&(r?.(),M(!1),f(!1))},toggle:()=>{m?(r?.(),M(!1),f(!1)):(c?.(),M(!1),f(!0))}}),[m,c,r]),k.useEffect(()=>{const _=v.current;w.current&&(window.clearTimeout(w.current),w.current=null);const I=j=>{if(j.target===_&&!(j.propertyName!=="transform"&&j.propertyName!=="opacity"))if(m){M(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}};return _&&(_.addEventListener("transitionend",I),w.current=window.setTimeout(()=>{if(m){M(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}},Zke+60)),m&&(L.current=document.activeElement),()=>{_&&_.removeEventListener("transitionend",I),w.current&&(window.clearTimeout(w.current),w.current=null)}},[m,i,s]),k.useEffect(()=>{const _=I=>{I.key==="Escape"&&m&&(r?.(),M(!1),f(!1))};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[m,r]);const C=()=>{u&&(r?.(),M(!1),f(!1))},b=typeof n=="number"?`${n}px`:n;return o.jsxs("div",{ref:x,className:`scp-inline-root ${m?"open":""}`,"aria-hidden":!m,children:[o.jsx("div",{className:`scp-overlay ${m?"visible":""}`,onMouseDown:C,role:"presentation"}),o.jsxs("aside",{className:`scp-panel ${m?"in":"out"} ${g?"interactive":""} ${h}`,style:{width:b,...d},ref:v,tabIndex:-1,role:"dialog","aria-label":e,children:[o.jsxs("div",{className:"scp-header",children:[o.jsxs("div",{children:[o.jsx("h3",{className:"scp-title",children:e}),t&&o.jsx("div",{className:"scp-subtitle",children:t})]}),p&&o.jsx("button",{className:"scp-close","aria-label":"Close",onClick:()=>{r?.(),M(!1),f(!1)},children:o.jsx(Ke,{size:18})})]}),o.jsx("div",{className:"scp-body",children:l})]})]})});function Yke(e){const t=k.useRef("");k.useEffect(()=>{if(e){t.current=document.body.style.overflow,document.body.style.overflow="hidden";return}document.body.style.overflow=t.current||""},[e])}const Jke="_container_1pfsp_1",Qke="_title_1pfsp_8",lj={container:Jke,title:Qke},e3e=({title:e,fontSize:t,barColor:n,className:c="",style:i={}})=>{const r={...i,"--title-font-size":t,"--bar-color":n};return o.jsx("div",{className:`${lj.container} ${c}`,style:r,children:o.jsx("h2",{className:lj.title,children:e})})},t3e="_modalOverlay_1878x_1",a3e="_modalContainer_1878x_16",n3e="_modalTitle_1878x_29",o3e="_modalInput_1878x_38",c3e="_modalTextarea_1878x_39",i3e="_modalActions_1878x_70",r3e="_cancelBtn_1878x_77",s3e="_saveBtn_1878x_99",d3e="_inputError_1878x_141",l3e="_inlineAlert_1878x_146",Ye={modalOverlay:t3e,modalContainer:a3e,modalTitle:n3e,modalInput:o3e,modalTextarea:c3e,modalActions:i3e,cancelBtn:r3e,saveBtn:s3e,inputError:d3e,inlineAlert:l3e},Vc=({isOpen:e,onClose:t,onSave:n,title:c="Ajouter un élément",fields:i,initialValues:r={},errorMessage:s="",disableSave:d,onFieldChange:h,confirmText:l="Valider",cancelText:u="Annuler"})=>{const[p,y]=k.useState({}),m=k.useRef(null),[f,g]=k.useState(!1),[M,x]=k.useState(!1),v=k.useRef(null);if(k.useEffect(()=>{if(!e)return;const _={};for(const I of i)_[I.name]=Object.prototype.hasOwnProperty.call(r,I.name)?r[I.name]:"";return y(_),requestAnimationFrame(()=>{m.current?.focus();const I=m.current;if(I&&typeof I.selectionStart=="number"){const j=String(I.value??"").length;I.setSelectionRange(j,j)}}),()=>{v.current&&(window.clearTimeout(v.current),v.current=null)}},[e]),k.useEffect(()=>{s&&e?(x(!0),v.current&&(window.clearTimeout(v.current),v.current=null),v.current=window.setTimeout(()=>{x(!1),v.current=null},3e3)):(x(!1),v.current&&(window.clearTimeout(v.current),v.current=null))},[s,e]),!e)return null;const L=(_,I)=>{y(j=>({...j,[_]:I})),h&&h(_,I)},w=async()=>{if(!Object.values(p).some(_=>_===""||_===void 0))try{g(!0);const _=await n(p);if(typeof _=="string"&&_==="duplicate-same"){g(!1);return}y({}),g(!1),t()}catch(_){console.error("AddItemModal onSave error:",_),g(!1),t()}},C=_=>{_.target===_.currentTarget&&t()},b=_=>_.stopPropagation();return o.jsx("div",{className:Ye.modalOverlay,onMouseDown:C,role:"dialog","aria-modal":"true",children:o.jsxs("div",{className:Ye.modalContainer,onMouseDown:b,onClick:b,children:[o.jsx("h2",{className:Ye.modalTitle,children:c}),i.map((_,I)=>{const j=p[_.name]??"",N=I===0&&!!s,S={name:_.name,placeholder:_.placeholder||_.label,value:String(j),onChange:A=>L(_.name,A.target.value),className:_.type==="textarea"?`${Ye.modalTextarea} ${N?Ye.inputError:""}`:`${Ye.modalInput} ${N?Ye.inputError:""}`,tabIndex:0,disabled:f};return I===0&&(S.ref=A=>{m.current=A}),o.jsxs("div",{style:{marginBottom:8},children:[_.type==="textarea"?o.jsx("textarea",{rows:_.rows||4,...S}):o.jsx("input",{type:_.type||"text",...S}),I===0&&M&&s&&o.jsx("div",{style:{marginTop:8},children:o.jsx(Zw,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>x(!1),className:Ye.inlineAlert})})]},_.name)}),o.jsxs("div",{className:Ye.modalActions,children:[o.jsx("button",{className:Ye.cancelBtn,onClick:t,type:"button",disabled:f,children:u}),o.jsx("button",{className:Ye.saveBtn,onClick:w,type:"button",disabled:f||!!d,children:f?"En cours...":l})]})]})})},h3e=({title:e,keyCount:t,onAddKey:n,a11yConfig:c})=>{const[i,r]=k.useState(!1),s=d=>{const h=d.key;n&&h&&n(h)};return o.jsxs("div",{className:"header-container",children:[o.jsxs("div",{className:"header-info",children:[o.jsx("h1",{title:Q(c,e),children:e}),o.jsxs("p",{children:[t," clés"]})]}),o.jsxs("button",{onClick:()=>r(!0),className:"add-key-button",children:[o.jsx($c,{className:"add-key-icon"}),"Clé"]}),o.jsx(Vc,{isOpen:i,title:"Ajouter une clé",onClose:()=>r(!1),onSave:s,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},u3e=({modules:e,onEdit:t,onDelete:n,onAddModule:c,onSelectModule:i,addModalFields:r,addModalTitle:s})=>{const[d,h]=k.useState(!1),[l,u]=k.useState(null),[p,y]=k.useState(null),[m,f]=k.useState(!1),g=()=>h(!0),M=()=>h(!1),x=_=>{if(c){const I=_.code?.trim()||_.id?.trim(),j=_.title?.trim(),N=I||j||String(Date.now()),S=j||I||`Module ${N}`;c({id:N,title:S,subtitle:"",translations:{}})}M()},v=(_,I)=>{_.stopPropagation(),u(I)},L=()=>u(null),w=_=>{if(!l){L();return}const I={...l,title:_.title||l.title,subtitle:""};t&&t(I),L()},C=(_,I)=>{_.stopPropagation(),n&&n(I)},b=_=>{y(_.id),i&&i(_)};return m?o.jsx("div",{className:"module-sidebar collapsed",children:o.jsx(Qc,{size:20,className:"menu-toggle",onClick:()=>f(!1)})}):o.jsxs("div",{className:"module-sidebar",children:[o.jsxs("div",{className:"sidebar-header",children:[o.jsxs("span",{className:"header-text",children:["Modules (",e.length,")"]}),o.jsxs("div",{className:"header-actions",children:[o.jsx(Jc,{size:18,className:"header-folder",onClick:g}),o.jsx(Qc,{size:18,className:"header-menu",onClick:()=>f(!0)})]})]}),o.jsx("hr",{className:"divider"}),o.jsx("div",{className:"module-list",children:e.map(_=>{const I=Object.keys(_.translations||{}).length,j=I>0||_.id===p;return o.jsxs("div",{className:`module-item ${_.id===p?"selected":""}`,onClick:()=>b(_),role:"button",tabIndex:0,onKeyDown:N=>{N.key==="Enter"&&b(_)},children:[o.jsxs("div",{className:"module-left",children:[o.jsx(w1,{size:16,className:"item-folder"}),o.jsxs("div",{className:"module-info",children:[o.jsxs("div",{className:"module-title",children:[_.title,j&&o.jsxs("span",{className:"count",children:[" ",I," "]})]}),_.subtitle?o.jsx("div",{className:"module-subtitle",children:_.subtitle}):null]})]}),o.jsxs("div",{className:"module-actions",children:[t&&o.jsx(e1,{onClick:N=>v(N,_),color:"#777",size:16}),n&&o.jsx(dt,{onClick:N=>C(N,_.id),color:"#777",size:16})]})]},_.id)})}),o.jsx(Vc,{isOpen:d,onClose:M,onSave:x,title:s||"Ajouter un module",fields:r&&r.length?r.map(_=>({name:_.name,label:_.label,type:_.type,placeholder:_.placeholder,rows:_.rows})):[{name:"title",label:"Titre",placeholder:"Titre du module"}]}),l&&o.jsx(Vc,{isOpen:!!l,onClose:L,onSave:w,title:"Éditer le module",initialValues:{title:l.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},Jq=({placeholder:e="Rechercher une clé ou traduction...",value:t="",onChange:n,iconPosition:c="left",iconColor:i="#9ca3af",a11yConfig:r,className:s})=>o.jsxs("div",{className:`search-container icon-${c}`,title:Q(r,e),children:[o.jsx("div",{className:"search-icon-wrapper",children:o.jsx(S1,{className:"search-icon",color:i})}),o.jsx("input",{type:"text",placeholder:e,value:t,onChange:d=>n?.(d.target.value),className:`search-input ${s}`})]}),p3e=({keyName:e,translations:t,availableLanguages:n,onDeleteKey:c,onEditKey:i,onEditTranslation:r,onDeleteTranslation:s,onAddTranslation:d,draggable:h=!1,checkDuplicateLocal:l})=>{const[u,p]=k.useState(!1),[y,m]=k.useState(""),[f,g]=k.useState(null),[M,x]=k.useState(""),[v,L]=k.useState(""),[w,C]=k.useState(!1),[b,_]=k.useState(!1),[I,j]=k.useState(null),[N,S]=k.useState(!1),A=t.map(D=>D.language),B=n.filter(D=>!A.includes(D.code)),H=()=>{y&&v.trim()&&(d?.(e,y,v.trim()),m(""),L(""),p(!1))},V=(D,F)=>{g(D),x(F)},q=D=>{r?.(e,D,M),g(null),x("")},$=()=>{g(null),x("")},P=async D=>{const F=D.name?.trim();if(F){if(j(null),S(!1),F===e||!i)return C(!1),"ok";try{const G=await i(e,F);if(typeof G=="string"&&G==="ok")C(!1),j(null);else{if(typeof G=="string"&&G==="duplicate-same")return j("Une clé existe déjà dans ce module."),S(!0),"duplicate-same";if(typeof G=="string"&&G==="duplicate-other")return C(!1),j(null),"duplicate-other";C(!1)}}catch(G){console.error("Erreur handleRenameSave:",G),j("Erreur lors du renommage.")}}},T=(D,F)=>{if(D!=="name")return;const G=F.trim();j(null),S(!1),G&&typeof l=="function"&&(l(G,e)?(j("Une clé existe déjà dans ce module."),S(!0)):(j(null),S(!1)))};return o.jsxs("div",{className:`translation-key ${b?"collapsed":"expanded"} ${h?"draggable":""}`,children:[o.jsxs("div",{className:"card-header",children:[o.jsxs("div",{className:"header-left",children:[o.jsx("button",{className:"collapse-button",onClick:()=>_(!b),title:b?"Déplier":"Replier",children:b?o.jsx(L1,{className:"collapse-icon"}):o.jsx(qt,{className:"collapse-icon"})}),o.jsx("h3",{className:"card-title",title:e,children:e})]}),o.jsxs("div",{className:"header-actions",children:[o.jsx("button",{className:"action-button",onClick:D=>{D.stopPropagation(),C(!0)},title:"Renommer la clé",children:o.jsx(yt,{className:"action-icon"})}),o.jsx("button",{onClick:D=>{D.stopPropagation(),c?.(e)},className:"action-button delete",title:"Supprimer la clé",children:o.jsx(dt,{className:"action-icon"})})]})]}),o.jsx("div",{className:`translations-container ${b?"":"expanded"}`,children:!h&&o.jsxs(o.Fragment,{children:[t.map(D=>o.jsxs("div",{className:"translation-row",children:[o.jsx("div",{className:"language-code",children:D.language}),o.jsx("div",{className:"translation-content",children:f===D.language?o.jsxs(o.Fragment,{children:[o.jsx("input",{type:"text",value:M,onChange:F=>x(F.target.value),className:"edit-input",autoFocus:!0,onKeyDown:F=>{F.key==="Enter"&&q(D.language),F.key==="Escape"&&$()}}),o.jsx("button",{onClick:()=>q(D.language),className:"save-button",disabled:!M.trim(),children:"Enregistrer"}),o.jsx("button",{onClick:$,className:"cancel-button",children:o.jsx(Ke,{className:"action-icon"})})]}):o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"translation-text",title:D.value,children:D.value}),o.jsx("button",{onClick:()=>V(D.language,D.value),className:"edit-button",title:"Éditer la traduction",children:o.jsx(yt,{className:"action-icon"})}),o.jsx("button",{onClick:()=>s?.(e,D.language),className:"delete-translation-button",title:"Supprimer la traduction",children:o.jsx(Ke,{className:"action-icon"})})]})})]},D.language)),u?o.jsxs("div",{className:"add-language-row",children:[o.jsx("div",{className:"language-code",children:"+"}),o.jsxs("div",{className:"add-language-content",children:[o.jsx("div",{className:"language-select-container",children:o.jsxs("select",{value:y,onChange:D=>m(D.target.value),className:"language-select",children:[o.jsx("option",{value:"",children:"Sélectionnez la langue"}),B.map(D=>o.jsxs("option",{value:D.code,children:[D.name," (",D.code,")"]},D.code))]})}),y&&o.jsx("input",{type:"text",value:v,onChange:D=>L(D.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:D=>{D.key==="Enter"&&H(),D.key==="Escape"&&(p(!1),m(""),L(""))}}),o.jsx("button",{onClick:H,disabled:!y||!v.trim(),className:"save-button",children:"Ajouter"}),o.jsx("button",{onClick:()=>{p(!1),m(""),L("")},className:"cancel-button",children:o.jsx(Ke,{className:"action-icon"})})]})]}):o.jsxs("button",{onClick:()=>p(!0),className:"show-add-button",disabled:B.length===0,children:[o.jsx("span",{className:"plus-icon",children:"+"}),"Ajouter une langue"]})]})}),h&&o.jsxs("div",{className:"drag-overlay",children:[o.jsx(a.Move,{size:24,strokeWidth:1.5}),o.jsx("span",{children:"Glisser pour réorganiser"})]}),o.jsx(Vc,{isOpen:w,onClose:()=>{C(!1),j(null),S(!1)},onSave:P,onFieldChange:T,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:I||"",disableSave:N})]})},y3e="_wrapper_1wvht_1",k3e="_leftGroup_1wvht_12",m3e="_filterButton_1wvht_21",f3e="_open_1wvht_42",g3e="_filterIcon_1wvht_42",v3e="_infoText_1wvht_58",M3e="_pickerContainer_1wvht_66",x3e="_srOnly_1wvht_79",_3e="_pickerLabel_1wvht_91",L3e="_datetime_1wvht_98",I3e="_rightGroup_1wvht_107",b3e="_searchInputWrap_1wvht_116",w3e="_searchInput_1wvht_116",C3e="_searchIcon_1wvht_152",Pe={wrapper:y3e,leftGroup:k3e,filterButton:m3e,open:f3e,filterIcon:g3e,infoText:v3e,pickerContainer:M3e,srOnly:x3e,pickerLabel:_3e,datetime:L3e,rightGroup:I3e,searchInputWrap:b3e,searchInput:w3e,searchIcon:C3e};function N3e({onDateChange:e,onSearch:t,initialDate:n}){const[c,i]=k.useState(!1),[r,s]=k.useState(n??""),d=k.useRef(null);k.useEffect(()=>{function p(y){const m=y.target;d.current&&m&&!d.current.contains(m)&&i(!1)}return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),k.useEffect(()=>{n&&s(n)},[n]);const h=()=>i(p=>!p),l=p=>{const y=p.target.value;s(y),e?.(y)},u=p=>{t?.(p.target.value)};return o.jsxs("div",{className:Pe.wrapper,ref:d,children:[o.jsxs("div",{className:Pe.leftGroup,children:[o.jsxs("button",{type:"button",className:`${Pe.filterButton} ${c?Pe.open:""}`,onClick:h,"aria-expanded":c,"aria-haspopup":"dialog","aria-controls":"entry-datetime",children:[o.jsx("span",{children:"Entry time"}),o.jsx("svg",{className:Pe.filterIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"14",height:"14","aria-hidden":!0,children:o.jsx("path",{fill:"currentColor",d:"M10 18h4v-2h-4v2zm-7-8v2h18V10H3zm3-6v2h12V4H6z"})})]}),o.jsx("div",{className:Pe.infoText,children:"Confidence interval: step ± 15' / exit ± 30'"}),c&&o.jsxs("div",{className:Pe.pickerContainer,role:"dialog","aria-label":"Choisir la date et l’heure",children:[o.jsx("label",{className:Pe.pickerLabel,htmlFor:"entry-datetime",children:o.jsx("span",{className:Pe.srOnly,children:"Choisir la date et l’heure"})}),o.jsx("input",{id:"entry-datetime",className:Pe.datetime,type:"datetime-local",value:r,onChange:l,"aria-label":"Date et heure d’entrée"})]})]}),o.jsx("div",{className:Pe.rightGroup,children:o.jsxs("div",{className:Pe.searchInputWrap,children:[o.jsx("input",{className:Pe.searchInput,placeholder:"Search...",onChange:u,"aria-label":"Search"}),o.jsx("svg",{className:Pe.searchIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"16",height:"16","aria-hidden":!0,children:o.jsx("path",{fill:"currentColor",d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16a6.471 6.471 0 004.23-1.57l.27.28v.79L20 20.49 21.49 19l-5.99-5zM10 15.5A5.5 5.5 0 1115.5 10 5.5 5.5 0 0110 15.5z"})})]})})]})}const S3e=({className:e="",style:t={},title:n,titleClassName:c="",titleStyle:i,data:r,lineClasses:s={},renderCell:d,bg:h,titleBg:l,titleColor:u,itemBg:p,emptyContent:y,colGap:m="1rem"})=>{const f=Array.isArray(r)?r:[],g=f.length===0,M=f.every(w=>typeof w=="string"),x=f.some(w=>Array.isArray(w)),v=(w,C,b)=>d?d(w,C,b):o.jsx("span",{className:"slb-cell-text",children:w}),L=m?{"--col-gap":m}:void 0;return g?o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:h??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{...i,background:l??void 0,color:u??void 0},children:n}),o.jsx("div",{className:"slb-empty",children:y??null})]}):M&&!x?o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:h??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{background:l??void 0,color:u??void 0},children:n}),o.jsx("ul",{className:"slb-list",children:f.map((w,C)=>o.jsx("li",{className:`slb-item ${s[C]||""}`,style:{background:p??void 0},children:v(w,C,0)},C))})]}):o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:h??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{background:l??void 0,color:u??void 0},children:n}),o.jsx("div",{className:"slb-grid",style:L,children:f.map((w,C)=>{const b=s[C]||"";if(Array.isArray(w)){const[_,I]=w;return o.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[o.jsx("div",{className:"slb-grid-left",children:v(_,C,0)}),o.jsx("div",{className:"slb-grid-right",children:v(I,C,1)})]},C)}return o.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[o.jsx("div",{className:"slb-grid-left",children:v(w,C,0)}),o.jsx("div",{className:"slb-grid-right slb-empty-cell","aria-hidden":"true"})]},C)})})]})},j3e=({className:e="",style:t={},title:n,titleColor:c,data:i=[],badgeColor:r="#0ea5e9",badgeColors:s={},badgePadding:d="8px 16px",badgeWidth:h,itemBg:l,lineClasses:u={},colGap:p="1rem"})=>{const y=i.some(f=>Array.isArray(f)),m=p?{"--col-gap":p}:void 0;return o.jsxs("div",{className:`clb-root ${e}`,style:{...t},children:[n&&o.jsx("div",{className:"clb-title",style:c?{color:c}:void 0,children:n}),o.jsx("div",{className:"clb-grid",style:m,children:i.map((f,g)=>{const M=u[g]||"";if(Array.isArray(f)){const[x,v]=f,L=s[g]||r;return o.jsxs("div",{className:`clb-row ${M}`,style:{background:l??void 0},children:[o.jsx("div",{className:"clb-badge-col",children:o.jsx("div",{className:"counter-badge",style:{background:L,padding:d,width:h,minWidth:h},children:x})}),o.jsx("div",{className:"clb-text",children:v})]},g)}return y?o.jsxs("div",{className:`clb-row ${M}`,style:{background:l??void 0},children:[o.jsx("div",{className:"clb-badge-col clb-empty-badge"}),o.jsx("div",{className:"clb-text",children:f})]},g):o.jsx("div",{className:`clb-fullrow ${M}`,style:{background:l??void 0},children:o.jsx("span",{children:f})},g)})})]})},$3e=({className:e="",style:t={},title:n,items:c=[],titleBg:i,titleColor:r,itemBg:s,lineClasses:d={},renderTrendIcon:h,colGap:l="1rem"})=>{const u=l?{"--col-gap":l}:void 0;return o.jsxs("div",{className:`tlb-root ${e}`,style:{...t,background:s??void 0},children:[n&&o.jsx("div",{className:"tlb-title",style:{background:i??void 0,color:r??void 0},children:n}),o.jsx("div",{className:"tlb-grid",style:u,children:c.map((p,y)=>{const m=d[y]||"";return o.jsxs("div",{className:`tlb-row ${m}`,style:{background:s??void 0},children:[o.jsx("div",{className:"tlb-label",children:p.label}),o.jsxs("div",{className:"tlb-value-group",children:[o.jsx("div",{className:"tlb-icon-col",children:h?h(p):p.icon??null}),o.jsxs("div",{className:"tlb-value-wrap",children:[o.jsx("div",{className:"tlb-value",children:p.value}),typeof p.delta<"u"&&o.jsx("div",{className:`tlb-delta ${p.delta>0?"positive":p.delta<0?"negative":"neutral"}`,children:p.deltaLabel??String(p.delta)})]})]})]},y)})})]})},q3e=({className:e="",style:t={},children:n,gap:c="1rem"})=>o.jsx("div",{className:`frc-root ${e}`,style:{...t,"--frc-gap":c},children:k.Children.map(n,i=>o.jsx("div",{className:"frc-item",children:i}))}),A3e=({className:e="",style:t={},children:n,gap:c="1rem",background:i="#D9EEF5"})=>o.jsx("div",{className:`lcc-root ${e}`,style:{background:i,...t,"--lcc-gap":c},children:k.Children.map(n,r=>o.jsx("div",{className:"lcc-cell",children:r}))}),z3e="_overlay_3x4or_2",V3e="_fadeIn_3x4or_1",P3e="_popup_3x4or_17",T3e="_slideUp_3x4or_1",H3e="_header_3x4or_28",D3e="_body_3x4or_40",B3e="_footer_3x4or_51",R3e="_cancelButton_3x4or_59",F3e="_confirmButton_3x4or_77",E3e="_warning_3x4or_97",O3e="_danger_3x4or_106",U3e="_info_3x4or_115",_t={overlay:z3e,fadeIn:V3e,popup:P3e,slideUp:T3e,header:H3e,body:D3e,footer:B3e,cancelButton:R3e,confirmButton:F3e,warning:E3e,danger:O3e,info:U3e},W3e=({isOpen:e,title:t,message:n,onConfirm:c,onCancel:i,confirmText:r="Confirmer",cancelText:s="Annuler",type:d="warning"})=>{if(!e)return null;const h=u=>{u.target===u.currentTarget&&i()},l=u=>{u.key==="Escape"&&i(),u.key==="Enter"&&u.ctrlKey&&c()};return o.jsx("div",{className:_t.overlay,onClick:h,onKeyDown:l,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:o.jsxs("div",{className:`${_t.popup} ${_t[d]}`,children:[o.jsx("div",{className:_t.header,children:o.jsx("h3",{id:"confirmation-title",children:t})}),o.jsx("div",{className:_t.body,children:o.jsx("p",{id:"confirmation-message",children:n})}),o.jsxs("div",{className:_t.footer,children:[o.jsx("button",{className:_t.cancelButton,onClick:i,type:"button",children:s}),o.jsx("button",{className:_t.confirmButton,onClick:c,type:"button",autoFocus:!0,children:r})]})]})})},G3e=()=>{const[e,t]=k.useState({isOpen:!1,title:"",message:"",onConfirm:null}),n=k.useCallback((r,s,d)=>{t({isOpen:!0,title:r,message:s,onConfirm:d})},[]),c=k.useCallback(()=>{t(r=>({...r,isOpen:!1,onConfirm:null}))},[]),i=k.useCallback(()=>{e.onConfirm?.(),c()},[e.onConfirm,c]);return{isOpen:e.isOpen,title:e.title,message:e.message,showConfirmation:n,hideConfirmation:c,handleConfirm:i}},K3e="_container_1l44m_1",Z3e="_selectButton_1l44m_7",X3e="_disabled_1l44m_22",Y3e="_error_1l44m_39",J3e="_outline_1l44m_52",Q3e="_filled_1l44m_58",eme="_sm_1l44m_67",tme="_md_1l44m_73",ame="_lg_1l44m_79",nme="_buttonContent_1l44m_85",ome="_label_1l44m_93",cme="_placeholder_1l44m_103",ime="_iconsContainer_1l44m_108",rme="_loadingSpinner_1l44m_115",sme="_spin_1l44m_1",dme="_arrowIcon_1l44m_133",lme="_arrowIconOpen_1l44m_141",hme="_dropdown_1l44m_146",ume="_dropdownIn_1l44m_1",pme="_searchContainer_1l44m_171",yme="_searchInputWrapper_1l44m_177",kme="_searchIcon_1l44m_183",mme="_searchInput_1l44m_177",fme="_optionsList_1l44m_208",gme="_noResults_1l44m_231",vme="_option_1l44m_208",Mme="_optionHighlighted_1l44m_261",xme="_optionSelected_1l44m_266",_me="_optionDisabled_1l44m_277",Lme="_optionLabel_1l44m_283",Ime="_checkIcon_1l44m_291",bme="_widthFull_1l44m_299",wme="_width64_1l44m_302",Cme="_width80_1l44m_305",Nme="_width96_1l44m_308",se={container:K3e,selectButton:Z3e,disabled:X3e,error:Y3e,default:"_default_1l44m_48",outline:J3e,filled:Q3e,sm:eme,md:tme,lg:ame,buttonContent:nme,label:ome,placeholder:cme,iconsContainer:ime,loadingSpinner:rme,spin:sme,arrowIcon:dme,arrowIconOpen:lme,dropdown:hme,dropdownIn:ume,searchContainer:pme,searchInputWrapper:yme,searchIcon:kme,searchInput:mme,optionsList:fme,noResults:gme,option:vme,optionHighlighted:Mme,optionSelected:xme,optionDisabled:_me,optionLabel:Lme,checkIcon:Ime,widthFull:bme,width64:wme,width80:Cme,width96:Nme},Sme=({options:e,value:t,onChange:n,placeholder:c="Sélectionner une option...",disabled:i=!1,loading:r=!1,error:s=!1,className:d="",size:h="md",variant:l="default",width:u="w-full"})=>{const[p,y]=k.useState(!1),[m,f]=k.useState(""),[g,M]=k.useState(0),[x,v]=k.useState({top:0,left:0,width:0}),L=k.useRef(null),w=k.useRef(null),C=k.useRef(null),b=k.useMemo(()=>m?e.filter(q=>q.label.toLowerCase().includes(m.toLowerCase())):e,[e,m]),_=e.find(q=>q.value===t),I=k.useCallback(()=>{if(L.current){const q=L.current.getBoundingClientRect();v({top:q.top,left:q.left,width:q.width})}},[]);k.useEffect(()=>(p&&(I(),window.addEventListener("scroll",I,!0),window.addEventListener("resize",I)),()=>{window.removeEventListener("scroll",I,!0),window.removeEventListener("resize",I)}),[p,I]),k.useEffect(()=>{const q=$=>{L.current&&!L.current.contains($.target)&&w.current&&!w.current.contains($.target)&&(y(!1),f(""))};return document.addEventListener("mousedown",q),()=>document.removeEventListener("mousedown",q)},[]),k.useEffect(()=>{M(0)},[b]);const j=q=>{q.disabled||(n?.(q.value,q),y(!1),f(""))},N=q=>{f(q.target.value),p||y(!0)},S=q=>{if(!p){(q.key==="ArrowDown"||q.key==="Enter")&&y(!0);return}switch(q.key){case"ArrowDown":q.preventDefault(),M($=>$<b.length-1?$+1:$);break;case"ArrowUp":q.preventDefault(),M($=>$>0?$-1:$);break;case"Enter":q.preventDefault(),b[g]&&j(b[g]);break;case"Escape":y(!1),f("");break}},A=()=>[se.selectButton,se[h],se[l],i?se.disabled:"",s?se.error:"",d].filter(Boolean).join(" "),B=()=>{switch(u){case"w-64":return se.width64;case"w-80":return se.width80;case"w-96":return se.width96;default:return se.widthFull}},H=(q,$)=>[se.option,$===g?se.optionHighlighted:"",q.value===t?se.optionSelected:"",q.disabled?se.optionDisabled:""].filter(Boolean).join(" "),V={position:"fixed",top:x.top+(L.current?.offsetHeight||0)+4,left:x.left,width:x.width,zIndex:9999};return o.jsxs("div",{className:`${se.container} ${B()}`,children:[o.jsx("button",{ref:L,className:A(),onClick:()=>!i&&y(!p),onKeyDown:S,tabIndex:i?-1:0,type:"button","aria-haspopup":"listbox","aria-expanded":p,disabled:i,children:o.jsxs("div",{className:se.buttonContent,children:[o.jsx("span",{className:`${se.label} ${_?"":se.placeholder}`,children:_?_.label:c}),o.jsxs("div",{className:se.iconsContainer,children:[r&&o.jsx("div",{className:se.loadingSpinner}),o.jsx("svg",{className:`${se.arrowIcon} ${p?se.arrowIconOpen:""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})]})}),p&&lw.createPortal(o.jsxs("div",{className:`${se.dropdown} ${B()}`,style:V,ref:w,children:[o.jsx("div",{className:se.searchContainer,children:o.jsxs("div",{className:se.searchInputWrapper,children:[o.jsx("svg",{className:se.searchIcon,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),o.jsx("input",{ref:C,type:"text",value:m,onChange:N,placeholder:"Rechercher...",className:se.searchInput,autoFocus:!0})]})}),o.jsx("div",{className:se.optionsList,children:b.length===0?o.jsx("div",{className:se.noResults,children:"Aucun résultat trouvé"}):o.jsx("ul",{role:"listbox",children:b.map((q,$)=>o.jsx("li",{className:H(q,$),onClick:()=>j(q),onMouseEnter:()=>M($),role:"option","aria-selected":q.value===t,"aria-disabled":q.disabled,children:o.jsxs("div",{className:se.buttonContent,children:[o.jsx("span",{className:se.optionLabel,title:q.label,children:q.label}),q.value===t&&o.jsx("svg",{className:se.checkIcon,fill:"currentColor",viewBox:"0 0 20 20",children:o.jsx("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})]})},q.value))})})]}),document.body)]})},jme="_container_uq7pt_1",$me="_item_uq7pt_7",qme="_mainValue_uq7pt_13",Ame="_label_uq7pt_17",zme="_subValue_uq7pt_22",Vme="_subValueWrapper_uq7pt_27",Pme="_subSeparator_uq7pt_32",Ue={container:jme,item:$me,mainValue:qme,label:Ame,subValue:zme,subValueWrapper:Vme,subSeparator:Pme},Tme=({dms:e,stats:t=[],itemWidth:n="120px",valueFontSize:c="28px",valueFontWeight:i=700,subFontSize:r="16px",subFontWeight:s=600,backgroundColor:d="#ffffff",labelColor:h="#6b7280",valueColor:l="#000000"})=>{const u=(p,y,m)=>{const[f,g]=p.split("/").map(M=>M.trim());return o.jsxs("span",{className:Ue.subValueWrapper,children:[o.jsx("span",{className:Ue.subLeft,style:{color:y},children:f}),o.jsx("span",{className:Ue.subSeparator,children:" / "}),o.jsx("span",{className:Ue.subRight,style:{color:m},children:g})]})};return o.jsxs("div",{className:Ue.container,style:{backgroundColor:d},children:[e&&o.jsxs("div",{className:Ue.item,style:{flex:`1 1 ${n}`},children:[o.jsx("div",{className:Ue.mainValue,style:{fontSize:c,fontWeight:i,color:l},children:e}),o.jsx("div",{className:Ue.label,style:{color:h},children:"DMS"})]}),t.map((p,y)=>o.jsxs("div",{className:Ue.item,style:{flex:`1 1 ${n}`},children:[o.jsx("div",{className:Ue.mainValue,style:{fontSize:c,fontWeight:i,color:l},children:p.value}),o.jsx("div",{className:Ue.label,style:{color:h},children:p.label}),o.jsx("div",{className:Ue.subValue,style:{fontSize:r,fontWeight:s},children:p.subValue&&u(p.subValue,p.subLeftColor,p.subRightColor)})]},y))]})},Hme="_encours_16ist_1",Dme="_header_16ist_19",Bme="_iconWrap_16ist_27",Rme="_title_16ist_36",Fme="_items_16ist_47",Eme="_spaceEvenly_16ist_56",Ome="_item_16ist_47",Ume="_valueContainer_16ist_86",Wme="_value_16ist_86",Gme="_label_16ist_108",ot={encours:Hme,header:Dme,iconWrap:Bme,title:Rme,items:Fme,spaceEvenly:Eme,item:Ome,valueContainer:Ume,value:Wme,label:Gme},Sc=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function Kme(e,t){const n={},c={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=Sc(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=Sc(t.defaultValueFontSize)),e.valueFontWeight!==void 0?n.fontWeight=e.valueFontWeight:t.defaultValueFontWeight!==void 0&&(n.fontWeight=t.defaultValueFontWeight),e.labelColor&&(c.color=e.labelColor),e.labelFontSize!==void 0?c.fontSize=Sc(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(c.fontSize=Sc(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?c.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(c.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:c}}function Zme(){return o.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[o.jsx("circle",{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"1.4"}),o.jsx("path",{d:"M8 12h8",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})]})}function Xme(e){const{title:t,titleColor:n,titleFontSize:c,titleFontWeight:i,icon:r,iconSize:s=18,iconColor:d,defaultValueFontSize:h,defaultValueFontWeight:l,defaultLabelFontSize:u,defaultLabelFontWeight:p,data:y,style:m,bg:f="#ffffff",width:g,gap:M,className:x,ariaLabel:v}=e,L=r?mt[r]:void 0,w={background:f,width:Sc(g),...m},C={};n&&(C.color=n),c!==void 0&&(C.fontSize=Sc(c)),i!==void 0&&(C.fontWeight=i);const b={};return d&&(b.color=d),o.jsxs("section",{className:`${ot.encours} ${x??""}`,style:w,"aria-label":v??t,children:[o.jsxs("div",{className:ot.header,children:[o.jsx("div",{className:ot.iconWrap,"aria-hidden":!0,style:b,children:L?o.jsx(L,{size:typeof s=="number"?s:void 0}):o.jsx(Zme,{})}),o.jsx("div",{className:ot.title,style:C,children:t})]}),o.jsx("div",{className:`${ot.items} ${M===void 0?ot.spaceEvenly:""}`,role:"list",style:M!==void 0?{gap:`${M}px`}:{},children:y.map((_,I)=>{const{valueStyle:j,labelStyle:N}=Kme(_,{defaultValueFontSize:h,defaultValueFontWeight:l,defaultLabelFontSize:u,defaultLabelFontWeight:p});return o.jsx("div",{className:ot.item,role:"listitem",style:{..._.background?{background:_.background}:{},..._.width?{width:Sc(_.width)}:{}},children:o.jsxs("div",{className:ot.valueContainer,children:[o.jsx("div",{className:ot.value,style:j,children:_.value}),_.label&&o.jsx("div",{className:ot.label,style:N,children:_.label})]})},`${String(_.label??_.value)}-${I}`)})})]})}const Yme=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M480-360 280-559h400z"})),Jme=k.memo(Yme),Qme=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"m280-400 200-201 200 201z"})),e6e=k.memo(Qme),t6e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},J.createElement("path",{fill:"#0087BD",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm3.983-3.55q.1 0 .192-.033a.36.36 0 0 0 .158-.117l4.117-4.133q.15-.15.15-.35a.54.54 0 0 0-.15-.367.52.52 0 0 0-.358-.133.5.5 0 0 0-.359.15l-3.75 3.75L5.35 7.583a.48.48 0 0 0-.7 0q-.15.15-.15.367 0 .216.15.35l1.983 2a.48.48 0 0 0 .35.15"})),a6e=k.memo(t6e),n6e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},J.createElement("path",{fill:"#1E2122",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm0-1h10V3H3z"})),o6e=k.memo(n6e),c6e=({items:e,onSave:t,loading:n,disabled:c,saveLabel:i,savingLabel:r,buttonTitle:s,size:d=16,colors:h={bg:"#DADADA",activeBg:"var(--color-primary)",circle:"#FFFFFF",icon:"#1C1B1F",icon2:"#FFFFFF"},style:l,a11yConfig:u})=>{const[p,y]=k.useState(!1),[m,f]=k.useState(e),[g,M]=k.useState(!1);if(k.useEffect(()=>{M(!0)},[]),k.useEffect(()=>{f(e)},[e]),!g)return null;const x=(w,C)=>{C<4||f(b=>b.map(_=>_.component_key===w?{..._,visible:!_.visible}:_))},v=()=>{t(m),y(!1)},L=Q(u,s);return o.jsxs("div",{style:{position:"relative",display:"inline-block",...l},children:[o.jsxs("div",{onClick:()=>{c||y(!p)},style:{display:"flex",alignItems:"center",cursor:c?"not-allowed":"pointer",borderRadius:4,transition:"background 0.2s"},title:L,children:[o.jsx(Aj,{width:d,height:d,fill:h?.icon||"currentColor",style:{transition:"color 0.2s"}}),p?o.jsx(e6e,{width:d,height:d,fill:h?.icon||"currentColor"}):o.jsx(Jme,{width:d,height:d,fill:h?.icon||"currentColor"})]}),p&&o.jsxs("div",{style:{position:"absolute",top:"120%",right:0,minWidth:260,background:"#fff",borderRadius:"0.25rem",boxShadow:"0px 3px 7px 0px rgba(17, 20, 21, 0.05),0px 14px 14px 0px rgba(17, 20, 21, 0.04),0px 30px 18px 0px rgba(17, 20, 21, 0.03), 0px 54px 22px 0px rgba(17, 20, 21, 0.01),0px 85px 24px 0px rgba(17, 20, 21, 0)",zIndex:235465456,padding:"0 0 0.5rem 0"},children:[o.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:m.map((w,C)=>o.jsxs(k.Fragment,{children:[o.jsxs("li",{onClick:()=>x(w.component_key,C),style:{display:"flex",alignItems:"center",padding:"0.5rem",cursor:C<4?"not-allowed":"pointer",transition:"background 0.2s"},onMouseEnter:b=>{C>=4&&(b.currentTarget.style.background="#F9FAFB")},onMouseLeave:b=>{C>=4&&(b.currentTarget.style.background="transparent")},children:[o.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:8,flexShrink:0},children:w.visible?o.jsx(a6e,{width:20,height:20,fill:h?.activeBg||"var(--color-primary, #008FBB)"}):o.jsx(o6e,{width:20,height:20,fill:"#D1D5DB"})}),o.jsx("span",{style:{fontSize:"14px",color:"#111827",fontWeight:400,userSelect:"none"},children:w.label})]}),C===3&&o.jsx("div",{style:{height:1,background:"#E5E7EB",margin:"4px 0"}})]},w.component_key))}),o.jsx("div",{style:{padding:"12px 16px 0 16px",display:"flex",justifyContent:"flex-end"},children:o.jsx("button",{type:"button",onClick:v,disabled:n,style:{padding:"6px 16px",borderRadius:4,border:"none",background:"var(--color-primary, #008FBB)",color:"#fff",fontSize:"14px",fontWeight:500,cursor:n?"not-allowed":"pointer",transition:"opacity 0.2s",opacity:n?.7:1},children:n?r:i})})]})]})},i6e="_container_zhny9_1",r6e="_card_zhny9_15",s6e="_footer_zhny9_33",d6e="_noPaddingMobile_zhny9_51",ei={container:i6e,card:r6e,footer:s6e,noPaddingMobile:d6e},l6e="_board_95t8m_1",h6e="_clickable_95t8m_21",u6e="_sideBar_95t8m_26",p6e="_boardContent_95t8m_32",y6e="_orange_95t8m_40",k6e="_red_95t8m_44",m6e="_green_95t8m_48",f6e="_grey_95t8m_52",g6e="_lightGrey_95t8m_56",v6e="_big_95t8m_61",M6e="_medium_95t8m_66",x6e="_headerRow_95t8m_70",_6e="_iconWrapper_95t8m_75",L6e="_headerTitle_95t8m_80",I6e="_valueArea_95t8m_89",b6e="_titleWhite_95t8m_99",w6e="_titleBlack_95t8m_103",C6e="_valueWhite_95t8m_108",N6e="_valueBlack_95t8m_112",S6e="_valueBlue_95t8m_116",j6e="_bars_95t8m_121",$6e="_bar_95t8m_121",q6e="_barDark_95t8m_135",A6e="_barDim_95t8m_139",z6e="_predictionSection_95t8m_143",V6e="_predictionHeader_95t8m_155",P6e="_predictionBody_95t8m_162",T6e="_hasPrediction_95t8m_170",Ae={board:l6e,clickable:h6e,sideBar:u6e,boardContent:p6e,orange:y6e,red:k6e,green:m6e,grey:f6e,lightGrey:g6e,big:v6e,medium:M6e,headerRow:x6e,iconWrapper:_6e,headerTitle:L6e,valueArea:I6e,titleWhite:b6e,titleBlack:w6e,valueWhite:C6e,valueBlack:N6e,valueBlue:S6e,bars:j6e,bar:$6e,barDark:q6e,barDim:A6e,predictionSection:z6e,predictionHeader:V6e,predictionBody:P6e,hasPrediction:T6e},H6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${Ae.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${Ae.bar} ${r<c?"":e?Ae.barDark:Ae.barDim}`},r))})},St=({a11yConfig:e,iconName:t,label:n,value:c,backgroundColor:i="green",bars:r,lightBars:s=5,size:d="big",valueScale:h,width:l,height:u,className:p="",style:y,titleColor:m="white",valueColor:f="white",titleFontSize:g,titleFontWeight:M,valueFontSize:x,valueFontWeight:v,barColor:L,justifyContent:w="space-between",alignItems:C="flex-start",cardGap:b="",onClick:_,iconColor:I,titleKey:j,predictionValue:N,predictionLabel:S})=>{const A=r!=="none",B=r==="endingDark",{padding:H,...V}=y||{},q=l===void 0&&u===void 0&&i===void 0&&Object.keys(V).length===0?void 0:{...l!==void 0?{width:l}:{},...u!==void 0?{height:u}:{},...i!==void 0?{backgroundColor:i}:{},...V},$=`${Ae.board} ${Ae[d]} ${N!==void 0?Ae.hasPrediction:""} ${p}`;return o.jsxs("div",{className:$,onClick:_,style:h!==void 0?{...q,"--ds-value-scale":h}:q,children:[L&&o.jsx("div",{className:Ae.sideBar,style:{backgroundColor:L}}),o.jsxs("div",{className:Ae.boardContent,style:{padding:H,gap:b},children:[o.jsxs("div",{className:Ae.headerRow,style:{justifyContent:w,alignItems:C},children:[t&&o.jsx("div",{className:Ae.iconWrapper,style:{color:I},children:t}),o.jsx("div",{className:`${Ae.headerTitle} header-title-data-board`,children:o.jsx("span",{title:Q(e,j),"aria-label":e?.description,style:{color:m,...g?{fontSize:g}:{},...M?{fontWeight:M}:{}},children:n})}),A?o.jsx(H6e,{endingDark:B,lightCount:s}):null]}),o.jsx("div",{className:Ae.valueArea,style:{color:f,...x?{fontSize:x}:{},...v?{fontWeight:v}:{}},children:c})]}),N!==void 0&&o.jsxs("div",{className:Ae.predictionSection,children:[o.jsx("div",{className:Ae.predictionHeader,children:S??"PRED."}),o.jsx("div",{className:Ae.predictionBody,children:N})]})]})},D6e="_wrapper_1ydle_10",B6e="_hosp_1ydle_19",R6e="_headerRow_1ydle_54",F6e="_iconWrapper_1ydle_61",E6e="_headerTitle_1ydle_67",O6e="_hospValue_1ydle_76",U6e="_side_1ydle_88",W6e="_mini_1ydle_100",G6e="_miniLabel_1ydle_131",K6e="_miniValue_1ydle_140",Z6e="_miniBars_1ydle_150",X6e="_bars_1ydle_155",Y6e="_bar_1ydle_155",J6e="_barDark_1ydle_169",Q6e="_barDim_1ydle_173",ze={wrapper:D6e,hosp:B6e,headerRow:R6e,iconWrapper:F6e,headerTitle:E6e,hospValue:O6e,side:U6e,mini:W6e,miniLabel:G6e,miniValue:K6e,miniBars:Z6e,bars:X6e,bar:Y6e,barDark:J6e,barDim:Q6e},e8e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${ze.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${ze.bar} ${r<c?"":e?ze.barDark:ze.barDim}`},r))})},Qq=({left:e,right:t,className:n="",style:c,miniTilesCount:i=3})=>{const r=e.bars??"endingDark",s=r!=="none",d=r==="endingDark",h={...c,"--mini-tiles-count":i};return o.jsxs("div",{className:`${ze.wrapper} ${n} data-four-boards`,style:h,children:[o.jsxs("div",{className:`${ze.hosp} ${e.className||""}`,onClick:e.onClick,style:{...e.width?{width:e.width}:{},...e.height?{height:e.height}:{},...e.backgroundColor?{backgroundColor:e.backgroundColor}:{},...e.style||{}},title:Q(e.a11yConfig,e.titleKey),children:[o.jsxs("div",{className:ze.headerRow,children:[o.jsxs("div",{className:`${ze.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&o.jsx("span",{style:{color:e.iconColor},children:e.iconName}),o.jsx("span",{className:ze.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},title:Q(e.a11yConfig,e.titleKey),children:e.label})]}),s?o.jsx(e8e,{endingDark:d,lightCount:e.lightBars??5}):null]}),o.jsx("div",{className:ze.hospValue,style:{color:e.valueColor||"white",...e.valueScale!==void 0?{"--ds-value-scale":e.valueScale}:{},...e.valueFontSize?{fontSize:e.valueFontSize}:{},...e.valueFontWeight?{fontWeight:e.valueFontWeight}:{}},children:e.value})]}),o.jsx("div",{className:ze.side,children:t.map((l,u)=>o.jsxs("div",{className:`${ze.mini} ${l.className||""} icon-wrapper-data-four-boards`,onClick:l.onClick,style:{...l.width?{width:l.width}:{},...l.height?{height:l.height}:{},...l.backgroundColor?{backgroundColor:l.backgroundColor}:{},...l.style||{}},title:Q(l.a11yConfig,l.titleKey),children:[o.jsxs("span",{className:ze.miniLabel,style:{color:l.titleColor||"white",textAlign:"right",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",...l.titleFontSize?{fontSize:l.titleFontSize}:{},...l.titleFontWeight?{fontWeight:l.titleFontWeight}:{}},title:Q(l.a11yConfig,l.titleKey),children:[l.iconName&&o.jsx("span",{style:{color:l.iconColor},children:l.iconName}),l.label]}),o.jsx("span",{className:`${ze.miniValue} mini-value-data-four-boards`,style:{color:l.valueColor||"white",textAlign:"right",...l.valueScale!==void 0?{"--ds-value-scale":l.valueScale}:{},...l.valueFontSize?{fontSize:l.valueFontSize}:{},...l.valueFontWeight?{fontWeight:l.valueFontWeight}:{}},children:l.value}),o.jsx("div",{className:ze.miniBars})]},l.id??`${l.label}-${u}`))})]})},t8e=({items:e,footerLabel:t,width:n,height:c,size:i=320,style:r,className:s="",backgroundColor:d,titleFontSize:h,titleFontWeight:l,valueFontSize:u,valueFontWeight:p,noPaddingLeftRight:y=!1,onItemClick:m})=>{const f={width:n??i,height:c,backgroundColor:d??"var(--ds-navy)",...r},g=e[0],M=e[1],x=e.slice(2,5);return o.jsxs("div",{style:f,className:`${ei.container} ${y?ei.noPaddingMobile:""} ${s}`,children:[o.jsxs("div",{className:ei.card,children:[g?o.jsx(St,{a11yConfig:g.a11yConfig,label:g.label,value:g.value,backgroundColor:g.backgroundColor,bars:g.bars,lightBars:g.lightBars,size:g.size??"big",valueScale:g.valueScale,width:g.width,height:g.height,titleColor:"white",valueColor:"white",titleFontSize:g.titleFontSize??h,titleFontWeight:g.titleFontWeight??l,valueFontSize:g.valueFontSize??u,valueFontWeight:g.valueFontWeight??p,titleKey:g.titleKey,onClick:v=>m?.(0,v)}):null,M&&x.length>0?o.jsx(Qq,{left:{a11yConfig:M.a11yConfig,id:M.id,label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,valueScale:M.valueScale,width:M.width,height:M.height,titleFontSize:M.titleFontSize??h,titleFontWeight:M.titleFontWeight??l,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,titleKey:M.titleKey,onClick:v=>m?.(1,v)},right:x.map((v,L)=>({a11yConfig:v.a11yConfig,id:v.id,label:v.label,value:v.value,backgroundColor:v.backgroundColor,bars:v.bars,lightBars:v.lightBars,valueScale:v.valueScale,width:v.width,height:v.height,titleFontSize:v.titleFontSize??h,titleFontWeight:v.titleFontWeight??l,valueFontSize:v.valueFontSize??u,valueFontWeight:v.valueFontWeight??p,titleKey:v.titleKey,onClick:w=>m?.(2+L,w)}))}):M&&x.length===0?o.jsx(St,{a11yConfig:M.a11yConfig,label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,size:M.size??"big",valueScale:M.valueScale,width:M.width,height:M.height,titleColor:"white",valueColor:"white",titleFontSize:M.titleFontSize??h,titleFontWeight:M.titleFontWeight??l,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,onClick:v=>m?.(1,v)}):null]}),t&&o.jsx("div",{className:ei.footer,children:t})]})},a8e=({x:e,y:t,width:n,payload:c,fontSize:i,fontWeight:r,stroke:s})=>o.jsx("g",{transform:`translate(${e},${t})`,children:o.jsx("foreignObject",{x:-n,y:-35,width:n,height:70,style:{overflow:"visible"},children:o.jsx("div",{style:{fontSize:i,fontWeight:r,color:s,lineHeight:"1.2",display:"flex",justifyContent:"flex-end",textAlign:"right",alignItems:"center",height:"100%",width:"100%",paddingRight:"8px",boxSizing:"border-box"},children:o.jsx("span",{style:{overflowWrap:"break-word",whiteSpace:"normal",display:"block",maxWidth:"100%"},children:c.value})})})}),n8e=({data:e,height:t=360,barColor:n="#0284C7",tooltipEnabled:c=!0,backgroundColor:i="transparent",legendTextColor:r="var(--color-text)",barHeight:s=40,yAxisWidth:d=120,fontSize:h="12px",fontWeight:l="400",domain:u,xAxisLabel:p,margin:y={top:20,right:60,bottom:40,left:0},valueFormatter:m,tickFormatter:f,labelDataKey:g="percentage"})=>{const M=(y.top??20)+(y.bottom??40)+e.length*(s+20),x=Math.max(M,t),v=k.useMemo(()=>{if(!e||e.length===0)return d;const _=(parseFloat(h)||12)*.7,j=Math.max(...e.map(N=>(N.label||"").length))*_+16;return Math.min(Math.max(j,40),d)},[e,h,d]),L=b=>f?f(b):b?.toString()||"",w=b=>m&&g==="value"?m(b):b==null||b===""?"":g==="percentage"?`${b}%`:b.toString(),C=(b,_,I)=>{if(typeof b!="number")return b;const j=m?m(b):b.toString(),N=I?.payload?.percentage;return typeof N=="number"&&Number.isFinite(N)&&g==="percentage"?`${j} (${N.toFixed(1)}%)`:j};return o.jsx("div",{style:{backgroundColor:i,width:"100%"},children:o.jsx(a.ResponsiveContainer,{width:"100%",height:x,children:o.jsxs(a.BarChart,{data:e,layout:"vertical",margin:y,children:[o.jsx(a.CartesianGrid,{opacity:.4,stroke:"#E5E7EB",vertical:!1,horizontal:!0}),o.jsx(a.XAxis,{type:"number",domain:u||[0,"auto"],axisLine:!1,tickLine:!1,fontSize:h,fontWeight:l,stroke:r,tickFormatter:L,label:p?{value:p,position:"insideBottom",offset:-10,style:{textAnchor:"middle",fill:r,fontSize:12,fontWeight:"500"}}:void 0}),o.jsx(a.YAxis,{type:"category",dataKey:"label",stroke:r,axisLine:!1,tickLine:!1,width:v,interval:0,fontSize:h,fontWeight:l,tick:o.jsx(a8e,{fontSize:h,fontWeight:l,stroke:r})}),c&&o.jsx(a.Tooltip,{formatter:C,labelStyle:{color:"var(--color-text)"}}),o.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s,children:o.jsx(a.LabelList,{dataKey:g,position:"right",offset:10,formatter:w,fill:r,fontSize:h,fontWeight:l})})]})})})},o8e="_menu_10i6j_1",c8e="_menuRow_10i6j_18",i8e="_separator_10i6j_33",r8e="_rowLabel_10i6j_39",s8e="_rowLeadingIcon_10i6j_47",d8e="_rowIcon_10i6j_54",Fc={menu:o8e,menuRow:c8e,separator:i8e,rowLabel:r8e,rowLeadingIcon:s8e,rowIcon:d8e},l8e=k.forwardRef(function({isVisible:t,onClose:n,items:c,style:i,position:r,bg:s},d){const h=k.useRef(null),l=d||h;if(k.useEffect(()=>{if(!t)return;const y=m=>{l.current&&!l.current.contains(m.target)&&n?.()};return document.addEventListener("mousedown",y),()=>document.removeEventListener("mousedown",y)},[t,n]),!t)return null;const p={...{top:r?.top,left:r?.left,right:r?.right,bottom:r?.bottom},...s&&{backgroundColor:s},...i};return o.jsx("div",{ref:l,role:"menu",className:Fc.menu,style:p,children:c.map(y=>{if(y.type==="separator")return o.jsx("hr",{className:Fc.separator},y.id);const m=y,f=m.color?{color:m.color}:{},g=m.closeOnClick!==!1;return o.jsxs("button",{role:"menuitem",className:Fc.menuRow,style:f,onClick:()=>{m.onClick?.(),g&&n?.()},children:[o.jsxs("span",{className:Fc.rowLabel,children:[m.leadingIcon&&o.jsx("span",{className:Fc.rowLeadingIcon,children:m.leadingIcon}),o.jsx("span",{children:m.label})]}),m.icon&&o.jsx("span",{className:Fc.rowIcon,children:m.icon})]},m.id)})})}),eA=({user:e,logoutHref:t,logoutTarget:n="_self",onLogout:c,profileHref:i,profileLinkTarget:r="_self",backgroundColor:s="transparent",textColor:d="inherit",roleColor:h="#888",avatarSize:l="32px",padding:u="10px",gap:p="12px",emailFontSize:y="14px",emailFontWeight:m=600,roleFontSize:f="12px",roleFontWeight:g,avatarColor:M="#5b8fb9",backgroundColorAvatar:x="#f1f4f5",dropdownMenuItems:v,dropdownMenuStyle:L,dropdownMenuOffset:w,statusDotColor:C,a11yConfig:b,style:_,className:I=""})=>{const{user:j}=ht(),N=e||j,{currentTheme:S,switchTheme:A}=pL(),B=k.useRef(null),H=k.useRef(null),[V,q]=k.useState(!1),[$,P]=k.useState({}),T=k.useMemo(()=>{const Y=[],ee=({variant:ue})=>ue==="sun"?o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:o.jsx("circle",{cx:"12",cy:"12",r:"4"})}):o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:o.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})});i&&(Y.push({id:"profile",type:"action",label:"Mon profil",onClick:()=>{typeof window>"u"||(r==="_blank"?window.open(i,"_blank","noopener,noreferrer"):window.location.assign(i))}}),Y.push({id:"sep-profile",type:"separator"}));const ie=S==="dark";return Y.push({id:"theme",type:"action",label:ie?"Mode clair":"Mode sombre",icon:o.jsx(ee,{variant:ie?"sun":"moon"}),onClick:()=>{A(ie?"light":"dark")}}),(t||c)&&(Y.push({id:"sep-theme",type:"separator"}),Y.push({id:"logout",type:"action",label:"Se déconnecter",danger:!0,onClick:()=>{if(t){if(typeof window>"u")return;n==="_blank"?window.open(t,"_blank","noopener,noreferrer"):window.location.assign(t);return}c?.()}})),Y},[S,t,n,c,i,r,A]),D=v??T,F=()=>{if(!B.current){q(Y=>!Y);return}if(!V){const Y=B.current.getBoundingClientRect(),ee=window.innerWidth,ie=window.innerHeight,ue=200,re=200,U=4,E=w?.x??0,oe=w?.y??0,Be=ee-Y.right>=ue+U;P(Be?{top:Y.bottom-re+oe,left:Y.right+U+E}:{bottom:ie-Y.top+oe,left:Y.left+E})}q(Y=>!Y)};if(k.useEffect(()=>{if(!V||!B.current)return;const Y=()=>{const ee=B.current.getBoundingClientRect(),ie=window.innerWidth,ue=window.innerHeight,re=200,U=200,E=4,oe=w?.x??0,we=w?.y??0,ge=ie-ee.right>=re+E;P(ge?{top:ee.bottom-U+we,left:ee.right+E+oe}:{bottom:ue-ee.top+we,left:ee.left+oe})};return window.addEventListener("resize",Y),window.addEventListener("orientationchange",Y),()=>{window.removeEventListener("resize",Y),window.removeEventListener("orientationchange",Y)}},[V,w]),k.useEffect(()=>{if(!V||!B.current||!H.current)return;const Y=()=>{const ie=B.current.getBoundingClientRect(),ue=H.current.getBoundingClientRect(),re=w?.x??0,U=w?.y??0;P(E=>E.left!==void 0&&E.top!==void 0&&E.left>=ie.right-1?{top:ie.bottom-ue.height+U,left:E.left+re}:E)},ee=requestAnimationFrame(()=>{setTimeout(Y,0)});return()=>cancelAnimationFrame(ee)},[V,w]),!N)return null;const G=N,te=parseInt(l,10)||40,ne=`${te*.375}px`,Me=`${te*1.375}px`,me=`${te*.2}px`,Ce=`${te*.6}px`,he=()=>{const Y=parseInt(l,10)||40,ee=Math.max(8,Y*.34375),ie=Math.max(2,Y*.05);return o.jsxs(o.Fragment,{children:[o.jsxs("div",{style:{position:"relative",flexShrink:0,userSelect:"none"},children:[G.image?o.jsx("img",{src:G.image,alt:`${G.prenom} ${G.nom}`,style:{width:l,height:l,borderRadius:"50%",objectFit:"cover",userSelect:"none"}}):o.jsxs("div",{style:{width:l,height:l,position:"relative",borderRadius:"50%",backgroundColor:x,overflow:"hidden",userSelect:"none"},children:[o.jsx("div",{style:{width:ne,height:ne,borderRadius:"50%",backgroundColor:M,position:"absolute",top:me,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),o.jsx("div",{style:{width:Me,height:Me,borderRadius:"50%",backgroundColor:M,position:"absolute",top:Ce,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),C&&o.jsx("div",{style:{position:"absolute",bottom:ie,right:ie,width:`${ee}px`,height:`${ee}px`,borderRadius:"50%",backgroundColor:C,border:"2px solid white",zIndex:10}})]}),o.jsxs("div",{style:{display:"flex",flexDirection:"column",minWidth:0,flex:1},children:[o.jsx("span",{style:{fontWeight:m,fontSize:y,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:G.email,children:G.email}),o.jsx("span",{style:{color:h,fontSize:f,fontWeight:g,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:G.role,children:G.role})]})]})};return o.jsxs(o.Fragment,{children:[o.jsx("div",{ref:B,className:`user-info ${I}`,style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:u,backgroundColor:s,gap:p,color:d,width:"100%",boxSizing:"border-box",cursor:"pointer",userSelect:"none",..._},onClick:F,title:Q(b,G.role),role:"button",tabIndex:0,children:o.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:o.jsx(he,{})})}),o.jsx(l8e,{ref:H,isVisible:V,onClose:()=>q(!1),items:D,style:L,position:$})]})},h8e="_navItem_16uqf_1",u8e="_label_16uqf_14",p8e="_icon_16uqf_26",h1={navItem:h8e,label:u8e,icon:p8e},Xw=({label:e,labelKey:t,onClick:n,href:c,isActive:i,icon:r,style:s,className:d="",highlightColor:h="#00aec7",color:l="#333",activeColor:u="#00aec7",highlightBackgroundColor:p="rgba(0, 0, 0, 0.05)",fontSize:y="15px",fontWeight:m="500",sidebarCollapsed:f=!1,padding:g="10px 16px",borderWidth:M="4px",iconGap:x="12px",disabled:v=!1,disabledColor:L,a11yConfig:w})=>{const C=()=>{v||n?.()},b=o.jsxs(o.Fragment,{children:[r&&o.jsx("span",{className:h1.icon,style:{marginRight:f?0:x},children:r}),!f&&o.jsx("span",{className:h1.label,children:e})]}),_=()=>{if(!i)return"transparent";const j=N=>{const S=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(N);return S?{r:parseInt(S[1],16),g:parseInt(S[2],16),b:parseInt(S[3],16)}:null};if(h.startsWith("#")){const N=j(h);if(N)return`rgba(${N.r}, ${N.g}, ${N.b}, 0.08)`}else if(h.startsWith("rgb")){const N=h.match(/\d+/g);if(N&&N.length>=3)return`rgba(${N[0]}, ${N[1]}, ${N[2]}, 0.08)`}return p},I={onClick:C,className:`${h1.navItem} ${i?h1.active:""} ${d} ${v?h1.disabled:""}`,style:{padding:g,color:i?u:v?L||"#999":l,borderLeft:i?`${M} solid ${h}`:`${M} solid transparent`,backgroundColor:_(),fontSize:y,fontWeight:m,cursor:v?"not-allowed":"pointer",textDecoration:"none",...s},"aria-disabled":v};return c&&!n&&!v?o.jsx("a",{href:c,...I,title:Q(w,t),children:b}):o.jsx("div",{...I,role:n?"button":void 0,tabIndex:n&&!v?0:void 0,title:Q(w,t),children:b})},y8e="_navbar_agnn2_1",k8e="_topSection_agnn2_9",m8e="_sectionsContainer_agnn2_14",f8e="_sectionTitle_agnn2_20",g8e="_sectionItems_agnn2_25",v8e="_bottomSection_agnn2_30",M8e="_versionContainer_agnn2_49",ut={navbar:y8e,topSection:k8e,sectionsContainer:m8e,sectionTitle:f8e,sectionItems:g8e,bottomSection:v8e,versionContainer:M8e},x8e=({logoProps:e,logoSpacing:t,navItems:n,padding:c="24px 16px",sectionSpacing:i="32px",itemSpacing:r="4px",backgroundColor:s="#fff",highlightColor:d="#00aec7",highlightBackgroundColor:h="rgba(0, 0, 0, 0.05)",version:l,navSectionStyle:u,navLinkStyle:p,navItemPadding:y="10px 16px",navItemBorderWidth:m="4px",navItemIconGap:f="12px",navItemFontSize:g="15px",navItemFontWeight:M="500",navItemColor:x,sectionTitlePadding:v="16px",sectionTitleFontSize:L="11px",sectionTitleColor:w="#999",sectionTitleWeight:C="500",versionFontSize:b="12px",versionFontWeight:_="400",versionColor:I="#999",userInfoProps:j,style:N,className:S="",width:A="280px",showLogo:B=!0,versionA11yConfig:H,displayNone:V=!1})=>{const q=ht(),$=q.activeNav,P=q.setActiveNav,T=q.user,D=j.user||T;return o.jsxs("div",{className:`${ut.navbar} ${S}`,style:{width:A,backgroundColor:s,padding:c,display:V?"none":"flex",...N},children:[o.jsxs("div",{className:ut.topSection,style:{gap:t},children:[B&&o.jsx("div",{className:ut.logoContainer,children:o.jsx(uL,{...e})}),o.jsx("div",{className:ut.sectionsContainer,style:{gap:i},children:n.map((F,G)=>o.jsxs("div",{className:ut.section,children:[F.title&&o.jsx("div",{className:ut.sectionTitle,title:Q(F.a11yConfig,F.titleKey),style:{fontSize:L,color:w,padding:v,fontWeight:C,border:"4px solid transparent",...u},children:F.title}),o.jsx("div",{className:ut.sectionItems,style:{gap:r},children:F.items.map(te=>o.jsx(Xw,{...te,isActive:te.isActive===null?te.isActive:$===te.id,onClick:()=>{te.onClick&&te.onClick(),te.isActive==null&&P(te.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:h,padding:y,borderWidth:m,iconGap:f,fontSize:g,fontWeight:M,color:x,style:p},te.id))})]},G))})]}),o.jsxs("div",{className:ut.bottomSection,style:{gap:t},children:[o.jsx(eA,{...j,user:D}),l&&o.jsx("div",{className:ut.versionContainer,title:Q(H,l),style:{fontSize:b,fontWeight:_,color:I},children:l})]})]})},_8e="_container_4qege_1",L8e="_titleContainer_4qege_10",I8e="_title_4qege_10",b8e="_inlineToggleContainer_4qege_24",w8e="_rightContentContainer_4qege_30",u1={container:_8e,titleContainer:L8e,title:I8e,inlineToggleContainer:b8e,rightContentContainer:w8e},C8e=({className:e="",style:t,fontSize:n="20px",fontWeight:c="bold",color:i="#000",padding:r="0",margin:s,backgroundColor:d,width:h,height:l,border:u,borderRadius:p,navItems:y,formatTitle:m=M=>M,rightContent:f,inlineToggle:g})=>{const{activeNav:M}=ht(),x=y.find(L=>L.id===M),v=m(x?x.label:M);return v?o.jsxs("div",{className:`${u1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:h,height:l,border:u,borderRadius:p,...t},children:[o.jsxs("div",{className:u1.titleContainer,children:[o.jsx("div",{className:u1.title,style:{fontSize:n,fontWeight:c,color:i},children:v}),g&&o.jsx("div",{className:u1.inlineToggleContainer,children:g})]}),f&&o.jsx("div",{className:u1.rightContentContainer,children:f})]}):null},N8e="_navItem_1hg26_1",S8e="_navItemIcon_1hg26_21",j8e="_navItemLabel_1hg26_29",$8e="_navItemCount_1hg26_36",q8e="_navItemIndicator_1hg26_49",p1={navItem:N8e,navItemIcon:S8e,navItemLabel:j8e,navItemCount:$8e,navItemIndicator:q8e},tA=({a11yConfig:e,label:t,isActive:n,onClick:c,href:i,labelKey:r,icon:s,count:d,activeColor:h="#00aec7",inactiveColor:l="#666",activeBackgroundColor:u="transparent",countBackgroundColor:p,countColor:y="#fff",countBorderRadius:m="10px",countPadding:f="2px 6px",countFontSize:g="12px",countFontWeight:M="500",indicatorColor:x="#00aec7",indicatorHeight:v="3px",padding:L="8px 4px",fontSize:w="14px",fontWeight:C="500",gap:b="8px",style:_,className:I="",disabled:j=!1,onNavigate:N})=>{const S=()=>{j||(c?.(),i&&(N?N(i):window.location.href=i))};return o.jsxs("div",{className:`${p1.navItem} ${I}`,onClick:S,title:Q(e,r),style:{gap:b,padding:L,color:n?h:l,backgroundColor:n?u:"transparent",fontSize:w,fontWeight:C,..._},children:[s&&o.jsx("span",{className:p1.navItemIcon,children:s}),o.jsx("span",{className:p1.navItemLabel,children:t}),d!==void 0&&o.jsx("span",{className:p1.navItemCount,style:{backgroundColor:p,color:y,borderRadius:m,padding:f,fontSize:g,fontWeight:M},children:d}),n&&!j&&o.jsx("div",{className:p1.navItemIndicator,style:{height:v,backgroundColor:x}})]})},A8e="_container_13hsa_1",z8e="_groupHeader_13hsa_8",V8e="_groupHeaderLeft_13hsa_18",P8e="_groupIcon_13hsa_23",T8e="_dropdown_13hsa_29",H8e="_item_13hsa_42",D8e="_itemIcon_13hsa_65",B8e="_chevron_13hsa_72",R8e="_chevronOpen_13hsa_79",pt={container:A8e,groupHeader:z8e,groupHeaderLeft:V8e,groupIcon:P8e,dropdown:T8e,item:H8e,itemIcon:D8e,chevron:B8e,chevronOpen:R8e},F8e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M480-344 240-584l43-43 197 197 197-197 43 43z"})),P1=k.memo(F8e),aA=({groups:e,activeItemId:t,onItemClick:n,style:c,className:i,bgColor:r="transparent",color:s="var(--color-text)",headerBgColor:d="var(--color-indicator)",headerColor:h="var(--color-text)",headerBorderBottomColor:l="var(--color-border)",dropdownBgColor:u="var(--color-background)",itemBgColor:p="transparent",itemHoverBgColor:y="rgba(0,0,0,0.05)",itemColor:m="var(--color-text)",itemActiveColor:f="var(--color-primary)",itemActiveBorderColor:g="var(--color-primary)",itemDividerColor:M="var(--color-border)",iconColor:x="#555555",activeIconColor:v="var(--color-primary)",headerIconColor:L="var(--color-text)",chevronColor:w="var(--color-text)",iconSize:C=22,headerPadding:b="14px 20px",itemPadding:_="14px 20px",iconGap:I=14,borderRadius:j=0})=>{const[N,S]=k.useState(""),A=k.useRef(null);k.useEffect(()=>{const H=V=>{A.current&&!A.current.contains(V.target)&&S("")};return document.addEventListener("mousedown",H),()=>document.removeEventListener("mousedown",H)},[]);const B={backgroundColor:r,color:s,borderRadius:j,...c};return o.jsx("nav",{ref:A,className:[pt.container,i].filter(Boolean).join(" "),style:B,children:e.map(H=>{const V=N===H.id,q={backgroundColor:d,color:h,padding:b,borderBottom:`1px solid ${l}`,gap:I},$={backgroundColor:u};return o.jsxs("div",{children:[o.jsxs("div",{className:pt.groupHeader,style:q,onClick:()=>S(V?"":H.id),role:"button","aria-expanded":V,children:[o.jsxs("div",{className:pt.groupHeaderLeft,style:{gap:I},children:[H.icon&&o.jsx("span",{className:pt.groupIcon,style:{color:L,width:C,height:C},children:H.icon}),o.jsx("span",{children:H.label})]}),o.jsx("span",{className:[pt.chevron,V?pt.chevronOpen:""].join(" "),style:{color:w},children:o.jsx(P1,{width:18,height:18})})]}),V&&o.jsx("div",{className:pt.dropdown,style:$,children:H.items.map(P=>{const T=P.id===t,D={padding:_,gap:I,color:T?f:m,backgroundColor:p,"--item-border-width":T?"4px":"1px","--item-border-color":T?g:M};return o.jsxs("div",{className:pt.item,style:D,onClick:()=>{n?.(H.id,P.id),S("")},role:"menuitem",onMouseEnter:F=>{T||(F.currentTarget.style.backgroundColor=y)},children:[P.icon&&o.jsx("span",{className:pt.itemIcon,style:{color:T?v:x,width:C,height:C},children:P.icon}),o.jsx("span",{children:P.label})]},P.id)})})]},H.id)})})},E8e="_subheaderContent_1glo8_1",O8e="_navContainer_1glo8_11",U8e="_rightContent_1glo8_45",zb={subheaderContent:E8e,navContainer:O8e,rightContent:U8e},W8e=({subNavItems:e,backgroundColor:t="transparent",padding:n="0",margin:c,width:i,height:r="auto",border:s,borderBottom:d="none",itemGap:h="24px",actionsGap:l="16px",itemPadding:u="12px 0",itemFontSize:p="14px",itemFontWeight:y="500",activeItemColor:m="#00aec7",inactiveItemColor:f="#5c6975",indicatorHeight:g="3px",showDraggable:M=!1,showLegend:x=!1,showData:v=!1,className:L="",style:w,countBackgroundColor:C,countColor:b,countBorderRadius:_,countPadding:I,countFontSize:j,countFontWeight:N,navContainerClassName:S,navContainerStyle:A,rightContentClassName:B,rightContentStyle:H,rightActions:V,activeSwitcherColor:q,inactiveSwitcherColor:$,isMobile:P=!1,onNavigate:T})=>{const{activeSubNav:D,setActiveSubNav:F,navCounts:G,activeNav:te}=ht();if(P){const ne=e.find(me=>me.id===D)||e[0],Me=[{id:"current-group",label:ne?.label||te?.toUpperCase()||"MENU",icon:ne?.icon,items:e.map(me=>({id:me.id,label:me.label,icon:me.icon}))}];return o.jsx("div",{className:L,style:w,children:o.jsx(aA,{groups:Me,activeItemId:D,onItemClick:(me,Ce)=>{const he=e.find(Y=>Y.id===Ce);he&&(he.onClick&&he.onClick(),he.href&&(T?T(he.href):he.onNavigate?he.onNavigate(he.href):window.location.href=he.href),F(Ce))},headerBgColor:t})})}return o.jsxs("div",{className:`${zb.subheaderContent} ${L}`,style:{backgroundColor:t,padding:n,margin:c,width:i,height:r,border:s,borderBottom:d,...w},children:[o.jsx("div",{className:`${zb.navContainer} ${S||""}`,style:{gap:h,...A},children:e.map(ne=>{const Me=ne.count!==void 0?ne.count:G[ne.id],me=D===ne.id||ne.isActive;return o.jsx(tA,{...ne,onNavigate:T||ne.onNavigate,count:Me,isActive:me,onClick:()=>{ne.onClick&&ne.onClick(),F(ne.id)},activeColor:m,inactiveColor:f,countBackgroundColor:C,countColor:b,countBorderRadius:_,countPadding:I,countFontSize:j,countFontWeight:N,indicatorColor:m,indicatorHeight:g,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:ne.style},ne.id)})}),o.jsxs("div",{className:`${zb.rightContent} ${B||""}`,style:{gap:l,...H},children:[M&&o.jsx(aL,{size:20,colors:{bg:q,activeBg:$,icon:"#1C1B1F",icon2:"#FFFFFF"}}),x&&o.jsx(nL,{size:20,colors:{bg:q,activeBg:$,icon:"#1C1B1F",icon2:"#FFFFFF"}}),v&&o.jsx(oL,{size:20,colors:{bg:q,activeBg:$,icon:"#1C1B1F",icon2:"#FFFFFF"}}),V]})]})},G8e=({onSwitch:e,size:t="20px",lightIconColor:n="#666",darkIconColor:c="#fff",backgroundColor:i="transparent",padding:r="8px",borderRadius:s="50%",style:d,className:h=""})=>{const[l,u]=k.useState(!1),{currentTheme:p,switchTheme:y}=pL(),m=p!="dark",f=()=>{y(m?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!l||!p?o.jsx(o.Fragment,{}):o.jsx("div",{className:`theme-switcher ${h}`,onClick:f,style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:i,padding:r,borderRadius:s,transition:"all 0.3s ease",...d},children:m?o.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:o.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}):o.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("circle",{cx:"12",cy:"12",r:"5"}),o.jsx("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),o.jsx("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),o.jsx("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),o.jsx("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),o.jsx("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),o.jsx("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),o.jsx("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),o.jsx("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})})},K8e=({initialSortBy:e=null,initialSortOrder:t="asc",onSortChange:n})=>{const[c,i]=k.useState({sortBy:e,sortOrder:t,filters:{}}),r=k.useCallback(s=>{let d="asc";c.sortBy===s&&(d=c.sortOrder==="asc"?"desc":"asc");const h={...c,sortBy:s,sortOrder:d};i(h),n(s,d)},[c,n]);return{tableState:c,handleSort:r}},Z8e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z"})),X8e=k.memo(Z8e),Y8e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z"})),J8e=k.memo(Y8e),Q8e=({columns:e,sortBy:t,sortOrder:n,onSort:c,removeLabelSpan:i=!1})=>o.jsx("thead",{children:o.jsx("tr",{children:e.map((r,s)=>{const d=t===r.key,h=!!r.sortable;return o.jsx("th",{className:`${r.className||""}${h?" sortable":""}`,style:{width:r.width,textAlign:r.align||"left"},onClick:()=>h&&c(String(r.key)),title:Q(r.a11yConfig,r.titleKey),children:o.jsxs("div",{className:`th-content ${r.align?`align-${r.align}`:""}`,children:[i?r.label:o.jsx("span",{children:r.label}),h&&o.jsx("span",{className:"sort-icon-container",style:{display:"inline-flex",alignItems:"center"},children:d&&n==="asc"?o.jsx(J8e,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):o.jsx(X8e,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),efe=({data:e,columns:t,rowKey:n,onRowClick:c,isLoading:i,text:r,rowStyle:s,rowClassName:d,renderSeparator:h})=>!e.length&&!i?o.jsx("tbody",{children:o.jsx("tr",{children:o.jsx("td",{colSpan:t.length,style:{textAlign:"center",padding:"32px"},children:o.jsx("span",{style:{color:"var(--table-text-muted)"},children:r?.noData||"Aucune donnée disponible"})})})}):o.jsx("tbody",{children:e.map((l,u)=>{const p=l[n],y=typeof p=="string"||typeof p=="number"?p:u,m=h?h(l):null;return o.jsx("tr",{onClick:()=>c&&c(l),style:{cursor:c?"pointer":"default",...s?s(l):{}},className:d?d(l,u):"",children:m?o.jsx("td",{colSpan:t.length,children:m}):t.map((f,g)=>o.jsx("td",{style:{width:f.width,textAlign:f.align||"left"},className:f.className,children:f.render?f.render(l):l[f.key]},`${String(f.key)}-${g}`))},y)})}),tfe=({state:e,onPaginationChange:t,onLoadMore:n,infiniteScroll:c,hasMore:i,text:r,isLoading:s})=>{const{page:d,pageSize:h,total:l}=e,u=h===-1?l:h,p=Math.ceil(l/u)||1,y=Math.min(Math.max(1,d),p),m=l===0?0:(y-1)*u+1,f=Math.min(y*u,l),g=x=>{t({page:x})},M=k.useMemo(()=>{if(p<=6)return Array.from({length:p},(j,N)=>N+1);const L=Math.max(y-1,1),w=Math.min(y+1,p),C=L>2,b=w<p-2,_=1,I=p;if(!C&&b)return[...Array.from({length:5},(S,A)=>A+1),"...",p];if(C&&!b){const N=Array.from({length:5},(S,A)=>p-5+A+1);return[_,"...",...N]}if(C&&b){const j=Array.from({length:w-L+1},(N,S)=>L+S);return[_,"...",...j,"...",I]}return[]},[y,p]);return o.jsxs("div",{className:"table-pagination",children:[o.jsx("div",{className:"pagination-summary",children:l>0?o.jsx("span",{children:r?.itemsRange?r.itemsRange(m,f,l):o.jsxs(o.Fragment,{children:[o.jsxs("b",{children:[m,"–",f]})," ","sur ",o.jsx("b",{children:l.toLocaleString()})," éléments"]})}):o.jsx("span",{children:r?.noResults||"0 résultats"})}),o.jsx("div",{className:"pagination-spacer"}),!c&&h!==-1&&p>1&&o.jsxs("div",{className:"pagination-controls",children:[o.jsx("button",{className:"pagination-btn",onClick:()=>g(1),disabled:y===1,title:r?.first||"Premier",children:"<<"}),o.jsx("button",{className:"pagination-btn",onClick:()=>g(y-1),disabled:y===1,title:r?.previous||"Précédent",children:"<"}),(M||[]).map((x,v)=>x==="..."?o.jsx("span",{style:{padding:"0 4px",color:"var(--table-text-muted)"},children:"..."},v):o.jsx("button",{className:`pagination-btn ${x===y?"active":""}`,onClick:()=>g(x),children:x},v)),o.jsx("button",{className:"pagination-btn",onClick:()=>g(y+1),disabled:y===p,title:r?.next||"Suivant",children:">"}),o.jsx("button",{className:"pagination-btn",onClick:()=>g(p),disabled:y===p,title:r?.last||"Dernier",children:">>"})]}),!c&&n&&i&&o.jsx("div",{className:"pagination-load-more",children:o.jsx("button",{className:"btn-load-more",onClick:n,disabled:s,style:{padding:"8px 16px",backgroundColor:"white",border:"1px solid #ddd",borderRadius:"6px",cursor:s?"wait":"pointer",color:"#555",fontWeight:600},children:s?r?.loading||"Chargement...":r?.loadMore||"Charger plus"})})]})},nA=({data:e,columns:t,isLoading:n,pagination:c,onPaginationChange:i,onSortChange:r,rowKey:s,loaderSize:d=40,stickyHeader:h=!0,height:l,minHeight:u="200px",text:p,onLoadMore:y,infiniteScroll:m,hasMore:f,tableState:g,className:M,style:x,rowStyle:v,onRowClick:L,rowClassName:w,titleKey:C,removeLabelSpan:b=!1,a11yConfig:_,renderSeparator:I})=>{const j=k.useMemo(()=>({...p}),[p]),N=k.useRef(null);k.useEffect(()=>{if(!m||!y||!f||n)return;const q=new IntersectionObserver($=>{$[0].isIntersecting&&y()},{threshold:.1});return N.current&&q.observe(N.current),()=>q.disconnect()},[m,y,f,n]);const{tableState:S,handleSort:A}=K8e({initialSortBy:null,onSortChange:r}),B=(g?.sortBy!==void 0?g.sortBy:S.sortBy)??void 0,H=g?.sortOrder!==void 0?g.sortOrder:S.sortOrder,V=q=>{const $=B,P=H;let T="asc";$===q&&(T=P==="asc"?"desc":"asc"),g?.sortBy!==void 0?r(q,T):A(q)};return o.jsxs("div",{className:`table-container ${M||""}`,style:x,title:Q(_,C),children:[o.jsxs("div",{className:"table-frame",style:{height:l??void 0,minHeight:u??void 0},children:[n&&o.jsx("div",{className:"table-loader-overlay",children:o.jsx("div",{className:"spinner",style:{width:d,height:d,borderTopColor:"var(--table-primary)"}})}),o.jsxs("div",{className:`table-wrapper ${h?"sticky-header":""}`,children:[o.jsxs("table",{className:"data-table",children:[o.jsx(Q8e,{columns:t,sortBy:B,sortOrder:H,onSort:V,removeLabelSpan:b}),o.jsx(efe,{data:e,columns:t.map(q=>({...q,render:q.render?$=>q.render($,{}):void 0})),rowKey:s,onRowClick:L,isLoading:n,text:j,rowStyle:typeof v=="function"?v:v?()=>v:void 0,rowClassName:w,renderSeparator:I})]}),m&&o.jsx("div",{ref:N,style:{height:20,margin:10}})]})]}),o.jsx(tfe,{state:c,onPaginationChange:i,text:j,onLoadMore:y,infiniteScroll:m,hasMore:f,isLoading:n})]})},afe="_datePickerContainer_1941b_3",nfe="_label_1941b_16",ofe="_displayNode_1941b_23",cfe="_datePickerButton_1941b_30",ife="_datePickerButtonDisabled_1941b_50",rfe="_datePickerButtonOpen_1941b_59",sfe="_datePickerLabel_1941b_68",dfe="_placeholder_1941b_79",lfe="_chevron_1941b_83",hfe="_errorMessage_1941b_91",ufe="_dropdown_1941b_96",pfe="_calendarHeader_1941b_120",yfe="_navButton_1941b_129",kfe="_headerSelectors_1941b_148",mfe="_monthSelector_1941b_156",ffe="_yearSelector_1941b_157",gfe="_selectorButton_1941b_161",vfe="_selectorChevron_1941b_178",Mfe="_selectorChevronOpen_1941b_183",xfe="_monthDropdown_1941b_187",_fe="_yearDropdown_1941b_188",Lfe="_monthItem_1941b_208",Ife="_yearItem_1941b_209",bfe="_monthItemSelected_1941b_231",wfe="_yearItemSelected_1941b_232",Cfe="_weekdays_1941b_236",Nfe="_weekday_1941b_236",Sfe="_calendarGrid_1941b_252",jfe="_dateCell_1941b_260",$fe="_dateCellSelected_1941b_283",qfe="_dateCellOtherMonth_1941b_287",Afe="_dateCellOtherMonthSelected_1941b_291",zfe="_calendarFooter_1941b_295",Vfe="_cancelButton_1941b_303",Pfe="_applyButton_1941b_304",Tfe="_timePickerContainer_1941b_348",Hfe="_timeGroup_1941b_357",Dfe="_timeLabel_1941b_364",Bfe="_timeInputWrapper_1941b_370",Rfe="_timeInput_1941b_370",Ffe="_timeSeparator_1941b_398",O={datePickerContainer:afe,label:nfe,displayNode:ofe,datePickerButton:cfe,datePickerButtonDisabled:ife,datePickerButtonOpen:rfe,datePickerLabel:sfe,placeholder:dfe,chevron:lfe,errorMessage:hfe,dropdown:ufe,calendarHeader:pfe,navButton:yfe,headerSelectors:kfe,monthSelector:mfe,yearSelector:ffe,selectorButton:gfe,selectorChevron:vfe,selectorChevronOpen:Mfe,monthDropdown:xfe,yearDropdown:_fe,monthItem:Lfe,yearItem:Ife,monthItemSelected:bfe,yearItemSelected:wfe,weekdays:Cfe,weekday:Nfe,calendarGrid:Sfe,dateCell:jfe,dateCellSelected:$fe,dateCellOtherMonth:qfe,dateCellOtherMonthSelected:Afe,calendarFooter:zfe,cancelButton:Vfe,applyButton:Pfe,timePickerContainer:Tfe,timeGroup:Hfe,timeLabel:Dfe,timeInputWrapper:Bfe,timeInput:Rfe,timeSeparator:Ffe},hj=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],Efe=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],dw=({value:e,onChange:t,label:n,placeholder:c="Sélectionner une date...",className:i="",fullWidth:r=!0,disabled:s=!1,error:d,buttonHeight:h="2.75rem",buttonPadding:l="0.75rem 1rem 0.75rem 1rem",dropdownMaxHeight:u="auto",fontSize:p="0.875rem",iconSize:y="1.5rem",labelMarginBottom:m="0.5rem",errorMarginTop:f="0.25rem",dropdownMarginTop:g="0.25rem",itemPadding:M="0.5rem 0.75rem",fontWeight:x="400",buttonBgColor:v,buttonBorderColor:L,buttonTextColor:w,dropdownBgColor:C="#ffffff",itemHoverColor:b,selectedItemBgColor:_,iconColor:I,errorColor:j,labelColor:N,placeholderColor:S,borderRadius:A="var(--radius-content)",borderWidth:B="0.0625rem",boxShadow:H="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:V="0.2s",transitionTiming:q="ease",dateCellSize:$="2.5rem",headerTextColor:P="#6c757d",weekdayTextColor:T="#6c757d",currentMonthDateColor:D="#212529",otherMonthDateColor:F="#adb5bd",selectedDateBgColor:G="#00A6D9",selectedDateTextColor:te="#ffffff",cancelButtonBgColor:ne="#e9ecef",cancelButtonTextColor:Me="#212529",applyButtonBgColor:me="#00A6D9",applyButtonTextColor:Ce="#ffffff",width:he,displayNode:Y=void 0,displayMode:ee="auto",displayNodeAriaLabel:ie,dropdownPosition:ue="bottom",dropdownAlignment:re="right",dropdownWidth:U,withBorder:E=!1,icon:oe,precision:we="day",hoursLabel:Be="Heures",minutesLabel:ge="Minutes",lowerLimit:$e=null,upperLimit:Pt=null,months:Pc,weekdays:de,cancelText:Tt="Annuler",applyText:wL="Appliquer",prevMonthAriaLabel:xe="Mois précédent",nextMonthAriaLabel:Ht="Mois suivant",calendarAriaLabel:rA="Sélecteur de date",openedAriaLabel:sA="Ouvrir le sélecteur de date",selectedDateAriaLabel:dA="Date sélectionnée: ",locale:Yw="fr-FR",rotateIcon:lA=!0})=>{const Dt=R=>{if(R instanceof Date)return isNaN(R.getTime())?null:R;if(typeof R=="string"&&R){const X=new Date(R);return isNaN(X.getTime())?null:X}return null},[tt,Bt]=k.useState(!1),[Tc,hA]=k.useState({top:0,left:0,width:0}),[le,s1]=k.useState(Dt(e)||new Date),[CL,NL]=k.useState(Dt(e)),[SL,jL]=k.useState(Dt(e)?.getHours()??0),[$L,qL]=k.useState(Dt(e)?.getMinutes()??0),[AL,Hc]=k.useState(!1),[zL,Dc]=k.useState(!1),VL=k.useRef(null),K1=k.useRef(null),PL=k.useRef(null),TL=k.useRef(null);k.useEffect(()=>{const R=Dt(e);NL(R),R&&(s1(R),jL(R.getHours()),qL(R.getMinutes()))},[e]);const Bc=k.useCallback(()=>{if(K1.current){const R=K1.current.getBoundingClientRect();hA({top:R.top,left:R.left,width:R.width})}},[]);k.useEffect(()=>(tt&&(Bc(),window.addEventListener("scroll",Bc,!0),window.addEventListener("resize",Bc)),()=>{window.removeEventListener("scroll",Bc,!0),window.removeEventListener("resize",Bc)}),[tt,Bc]),k.useEffect(()=>{const R=X=>{if(VL.current&&!VL.current.contains(X.target)){const Ie=document.getElementById("datepicker-dropdown");if(Ie&&Ie.contains(X.target))return;Bt(!1),Hc(!1),Dc(!1)}PL.current&&!PL.current.contains(X.target)&&Hc(!1),TL.current&&!TL.current.contains(X.target)&&Dc(!1)};return document.addEventListener("mousedown",R),()=>document.removeEventListener("mousedown",R)},[]);const Jw=R=>new Date(R.getFullYear(),R.getMonth()+1,0).getDate(),uA=R=>{const X=new Date(R.getFullYear(),R.getMonth(),1).getDay();return X===0?6:X-1},pA=()=>{const R=[],X=uA(le),Ie=Jw(le),Z1=new Date(le.getFullYear(),le.getMonth()-1,1),xt=Jw(Z1);for(let Xe=X-1;Xe>=0;Xe--)R.push(new Date(le.getFullYear(),le.getMonth()-1,xt-Xe));for(let Xe=1;Xe<=Ie;Xe++)R.push(new Date(le.getFullYear(),le.getMonth(),Xe));const d1=42-R.length;for(let Xe=1;Xe<=d1;Xe++)R.push(new Date(le.getFullYear(),le.getMonth()+1,Xe));return R},yA=(R,X)=>!R||!X?!1:R.getDate()===X.getDate()&&R.getMonth()===X.getMonth()&&R.getFullYear()===X.getFullYear(),kA=R=>R.getMonth()===le.getMonth()&&R.getFullYear()===le.getFullYear(),mA=()=>{s1(new Date(le.getFullYear(),le.getMonth()-1,1))},fA=()=>{s1(new Date(le.getFullYear(),le.getMonth()+1,1))},gA=R=>{if(!s){const X=new Date(R);X.setHours(SL),X.setMinutes($L),NL(X)}},vA=()=>{if(!s){if(CL){const R=new Date(CL);R.setHours(SL),R.setMinutes($L),t(R)}else t(null);Bt(!1)}},MA=()=>{const R=Dt(e);NL(R),R&&(jL(R.getHours()),qL(R.getMinutes())),Bt(!1)},xA=R=>{s1(new Date(le.getFullYear(),R,1)),Hc(!1)},_A=R=>{s1(new Date(R,le.getMonth(),1)),Dc(!1)},LA=()=>{const R=le.getFullYear(),X=[];for(let Ie=R-10;Ie<=R+10;Ie++)X.push(Ie);return X},IA=R=>{if(!s)switch(R.key){case"Enter":case" ":R.preventDefault(),Bt(!tt);break;case"Escape":Bt(!1),Hc(!1),Dc(!1);break;case"Tab":tt&&(Bt(!1),Hc(!1),Dc(!1));break}},bA={width:he||(r?"100%":"auto"),fontSize:p,fontWeight:x},wA={height:h,padding:l,backgroundColor:v||"#ffffff",border:E?void 0:"none",borderColor:d?j||"#dc3545":L||"#dee2e6",color:w||"#212529",borderRadius:A,borderWidth:B,fontWeight:x,transition:`all ${V} ${q}`},CA={backgroundColor:C||"#ffffff",maxHeight:u,borderRadius:A,borderWidth:B,boxShadow:H,transition:`opacity ${V} ${q}, transform ${V} ${q}`,position:"fixed",top:ue==="bottom"?Tc.top+(K1.current?.offsetHeight||0)+parseFloat(g.replace("rem",""))*16:"auto",bottom:ue==="top"?window.innerHeight-Tc.top+parseFloat(g.replace("rem",""))*16:"auto",left:re==="left"?Tc.left:"auto",right:re==="right"?window.innerWidth-(Tc.left+Tc.width):"auto",width:U||(r?Tc.width:"auto"),zIndex:10001},Qw={width:y,height:y,color:I||"#6c757d","--icon-rotation":lA&&tt?"rotate(180deg)":"rotate(0deg)"},NA={color:N||"#212529",marginBottom:m,fontWeight:x},SA={color:S||"#6c757d"},jA={color:j||"#dc3545",marginTop:f},$A=pA(),at=Dt(e),eC=at?we==="minutes"?`${at.toLocaleDateString(Yw)} ${at.getHours().toString().padStart(2,"0")}:${at.getMinutes().toString().padStart(2,"0")}`:at.toLocaleDateString(Yw):"",qA=!!Y&&(ee==="icon"||ee==="auto"&&!at),AA=ie||(at?`${dA}${eC}`:sA);return o.jsxs("div",{className:`${O.datePickerContainer} ${i}`,ref:VL,style:bA,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&o.jsx("label",{className:O.label,style:NA,children:n}),o.jsxs("button",{ref:K1,type:"button",onClick:()=>!s&&Bt(!tt),onKeyDown:IA,className:`
8170
- ${O.datePickerButton}
8171
- ${tt?O.datePickerButtonOpen:""}
8172
- ${s?O.datePickerButtonDisabled:""}
8173
- `,style:wA,disabled:s,"aria-expanded":tt,"aria-haspopup":"dialog","aria-label":AA,"aria-labelledby":n?`${n}-label`:void 0,children:[qA?o.jsx("span",{className:O.displayNode,"aria-hidden":!0,children:Y}):o.jsx("span",{className:`${O.datePickerLabel} ${at?"":O.placeholder}`,style:at?void 0:SA,children:at?eC:c}),oe?o.jsx("span",{className:O.chevron,style:Qw,children:oe}):o.jsx(P1,{fill:"var(--color-text)",className:`${O.chevron} ${tt?O.chevronOpen:""}`,style:Qw})]}),d&&o.jsx("div",{className:O.errorMessage,style:jA,children:d}),tt&&!s&&lw.createPortal(o.jsxs("div",{id:"datepicker-dropdown",className:O.dropdown,style:CA,role:"dialog","aria-label":rA,children:[o.jsxs("div",{className:O.calendarHeader,children:[o.jsx("button",{type:"button",className:O.navButton,onClick:mA,"aria-label":xe,children:"‹"}),o.jsxs("div",{className:O.headerSelectors,children:[o.jsxs("div",{className:O.monthSelector,ref:PL,children:[o.jsxs("button",{type:"button",className:O.selectorButton,onClick:()=>Hc(!AL),style:{color:P,"--hover-color":b},children:[(Pc||hj)[le.getMonth()],o.jsx(P1,{fill:"var(--color-text)",className:`${O.selectorChevron} ${AL?O.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),AL&&o.jsx("div",{className:O.monthDropdown,children:(Pc||hj).map((R,X)=>o.jsx("button",{type:"button",className:`${O.monthItem} ${le.getMonth()===X?O.monthItemSelected:""}`,onClick:()=>xA(X),style:{padding:M,backgroundColor:le.getMonth()===X?_||"#e7f1ff":C},onMouseEnter:Ie=>{b&&le.getMonth()!==X&&(Ie.currentTarget.style.backgroundColor=b)},onMouseLeave:Ie=>{b&&(Ie.currentTarget.style.backgroundColor=le.getMonth()===X?_||"#e7f1ff":C)},children:R},X))})]}),o.jsxs("div",{className:O.yearSelector,ref:TL,children:[o.jsxs("button",{type:"button",className:O.selectorButton,onClick:()=>Dc(!zL),style:{color:P,"--hover-color":b},children:[le.getFullYear(),o.jsx(P1,{fill:"var(--color-text)",className:`${O.selectorChevron} ${zL?O.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),zL&&o.jsx("div",{className:O.yearDropdown,children:LA().map(R=>o.jsx("button",{type:"button",className:`${O.yearItem} ${le.getFullYear()===R?O.yearItemSelected:""}`,onClick:()=>_A(R),style:{padding:M,backgroundColor:le.getFullYear()===R?_||"#e7f1ff":C},onMouseEnter:X=>{b&&le.getFullYear()!==R&&(X.currentTarget.style.backgroundColor=b)},onMouseLeave:X=>{b&&(X.currentTarget.style.backgroundColor=le.getFullYear()===R?_||"#e7f1ff":C)},children:R},R))})]})]}),o.jsx("button",{type:"button",className:O.navButton,onClick:fA,"aria-label":Ht,children:"›"})]}),o.jsx("div",{className:O.weekdays,children:(de||Efe).map(R=>o.jsx("div",{className:O.weekday,style:{color:T},children:R},R))}),o.jsx("div",{className:O.calendarGrid,children:$A.map((R,X)=>{if(!R)return null;const Ie=yA(R,CL),Z1=kA(R),xt=!!($e&&R<$e||Pt&&R>Pt);return o.jsx("button",{type:"button",className:`${O.dateCell} ${Ie?O.dateCellSelected:""} ${Ie?O.dateCellOtherMonthSelected:""} ${Z1?"":O.dateCellOtherMonth} ${xt?O.dateCellDisabled:""}`,onClick:()=>!xt&&gA(R),disabled:xt,style:{width:$,height:$,color:Ie?te:Z1?D:F,backgroundColor:Ie?G:"transparent",opacity:xt?.4:1,cursor:xt?"not-allowed":"pointer"},onMouseEnter:d1=>{!Ie&&!xt&&b&&(d1.currentTarget.style.backgroundColor=b)},onMouseLeave:d1=>{Ie||(d1.currentTarget.style.backgroundColor="transparent")},children:R.getDate()},X)})}),we==="minutes"&&o.jsxs("div",{className:O.timePickerContainer,children:[o.jsxs("div",{className:O.timeGroup,children:[o.jsx("span",{className:O.timeLabel,children:Be}),o.jsx("div",{className:O.timeInputWrapper,children:o.jsx("input",{type:"number",min:"0",max:"23",value:SL,onChange:R=>{const X=parseInt(R.target.value);!isNaN(X)&&X>=0&&X<=23&&jL(X)},className:O.timeInput})})]}),o.jsx("span",{className:O.timeSeparator,children:":"}),o.jsxs("div",{className:O.timeGroup,children:[o.jsx("span",{className:O.timeLabel,children:ge}),o.jsx("div",{className:O.timeInputWrapper,children:o.jsx("input",{type:"number",min:"0",max:"59",value:$L,onChange:R=>{const X=parseInt(R.target.value);!isNaN(X)&&X>=0&&X<=59&&qL(X)},className:O.timeInput})})]})]}),o.jsxs("div",{className:O.calendarFooter,children:[o.jsx("button",{type:"button",className:O.cancelButton,onClick:MA,style:{backgroundColor:ne,color:Me,borderRadius:A,padding:M},children:Tt}),o.jsx("button",{type:"button",className:O.applyButton,onClick:vA,style:{backgroundColor:me,color:Ce,borderRadius:A,padding:M},children:wL})]})]}),document.body)]})},Ofe="_selectContainer_1ptm9_1",Ufe="_label_1ptm9_15",Wfe="_selectButton_1ptm9_23",Gfe="_selectButtonDisabled_1ptm9_43",Kfe="_selectButtonOpen_1ptm9_48",Zfe="_selectButtonContent_1ptm9_58",Xfe="_selectIcon_1ptm9_66",Yfe="_selectLabel_1ptm9_72",Jfe="_placeholder_1ptm9_79",Qfe="_chevron_1ptm9_84",ege="_errorMessage_1ptm9_93",tge="_dropdown_1ptm9_99",age="_dropdownContent_1ptm9_123",nge="_item_1ptm9_129",oge="_itemSelected_1ptm9_151",cge="_itemContent_1ptm9_155",ige="_itemIcon_1ptm9_162",rge="_itemLabel_1ptm9_168",be={selectContainer:Ofe,label:Ufe,selectButton:Wfe,selectButtonDisabled:Gfe,selectButtonOpen:Kfe,selectButtonContent:Zfe,selectIcon:Xfe,selectLabel:Yfe,placeholder:Jfe,chevron:Qfe,errorMessage:ege,dropdown:tge,dropdownContent:age,item:nge,itemSelected:oge,itemContent:cge,itemIcon:ige,itemLabel:rge},oA=({items:e,value:t,onChange:n,label:c,placeholder:i="Sélectionner...",className:r="",fullWidth:s=!0,disabled:d=!1,error:h,buttonHeight:l="var(--select-button-height, 2.75rem)",buttonPadding:u="var(--select-button-padding, 0.75rem)",dropdownMaxHeight:p="var(--select-dropdown-max-height, 15rem)",fontSize:y="var(--select-font-size, 0.875rem)",fontWeight:m,iconSize:f="var(--select-icon-size, 1.5rem)",labelMarginBottom:g="var(--select-label-margin-bottom, 0.5rem)",errorMarginTop:M="var(--select-error-margin-top, 0.25rem)",dropdownMarginTop:x="var(--select-dropdown-margin-top, 0.25rem)",itemPadding:v="var(--select-item-padding, 0.5rem 0.75rem)",gap:L="var(--select-gap, 0.5rem)",buttonBgColor:w,buttonBorderColor:C,buttonTextColor:b,dropdownBgColor:_,itemHoverColor:I,selectedItemBgColor:j,iconColor:N,errorColor:S,labelColor:A,placeholderColor:B,border:H,borderRadius:V="var(--select-border-radius, 0.5rem)",borderWidth:q="var(--select-border-width, 0.0625rem)",boxShadow:$="var(--select-box-shadow, 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1))",transitionDuration:P="var(--select-transition-duration, 0.2s)",transitionTiming:T="var(--select-transition-timing, ease)",scrollbarWidth:D="var(--select-scrollbar-width, 0.375rem)",scrollbarTrackColor:F="var(--select-scrollbar-track-color, #f1f1f1)",scrollbarThumbColor:G="var(--select-scrollbar-thumb-color, #c1c1c1)",width:te,minWidth:ne,dropdownPosition:Me="bottom",dropdownAlignment:me="right",dropdownWidth:Ce,a11yConfig:he,titleKey:Y})=>{const[ee,ie]=k.useState(!1),ue=k.useRef(null),re=e.find(xe=>xe.value===t);k.useEffect(()=>{const xe=Ht=>{ue.current&&!ue.current.contains(Ht.target)&&ie(!1)};return document.addEventListener("mousedown",xe),()=>document.removeEventListener("mousedown",xe)},[]);const U=xe=>{d||(n(xe),ie(!1))},E=xe=>{if(!d)switch(xe.key){case"Enter":case" ":xe.preventDefault(),ie(!ee);break;case"Escape":ie(!1);break;case"Tab":ee&&ie(!1);break}},oe={width:te||(s?"100%":"auto"),minWidth:ne,fontSize:y},we={height:l,padding:u,backgroundColor:w||"var(--select-button-bg-color, #ffffff)",border:H,borderColor:h?S||"var(--select-error-color, #dc3545)":C||"var(--select-button-border-color, #dee2e6)",color:b||"var(--select-button-text-color, #212529)",borderRadius:V,borderWidth:q,transition:`all ${P} ${T}`,fontWeight:m},Be={backgroundColor:_||"var(--select-dropdown-bg-color, #ffffff)",maxHeight:p,borderRadius:V,borderWidth:q,boxShadow:$,transition:`opacity ${P} ${T}, transform ${P} ${T}`,position:"absolute",top:Me==="bottom"?"100%":"auto",bottom:Me==="top"?"100%":"auto",left:me==="left"?0:"auto",right:me==="right"?0:"auto",width:Ce||(s?"100%":"auto"),marginTop:Me==="bottom"?x:0,marginBottom:Me==="top"?x:0,zIndex:1001},ge={width:f,height:f,color:N||"var(--select-icon-color, #6c757d)","--icon-rotation":ee?"rotate(180deg)":"rotate(0deg)"},$e={color:A||"var(--select-label-color, #212529)",marginBottom:g},Pt={color:B||"var(--select-placeholder-color, #6c757d)"},Pc={color:S||"var(--select-error-color, #dc3545)",marginTop:M},de={padding:v,transition:`background-color ${P} ${T}`,fontWeight:m},Tt={gap:L},wL={"--scrollbar-width":D,"--scrollbar-track-color":F,"--scrollbar-thumb-color":G};return o.jsxs("div",{className:`${be.selectContainer} ${r}`,ref:ue,style:oe,"data-fullwidth":s,"data-disabled":d,"data-error":!!h,title:Q(he,Y),children:[c&&o.jsx("label",{className:be.label,style:$e,children:c}),o.jsxs("button",{type:"button",onClick:()=>!d&&ie(!ee),onKeyDown:E,className:`
8169
+ `),()=>{M.contains(g)&&M.removeChild(g)}},[t]),o.jsx(x0e,{isPresent:t,childRef:r,sizeRef:s,children:J.cloneElement(e,{ref:h})})}const L0e=({children:e,initial:t,isPresent:n,onExitComplete:c,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:h})=>{const l=zt(I0e),u=k.useId();let p=!0,y=k.useMemo(()=>(p=!1,{id:u,initial:t,isPresent:n,custom:i,onExitComplete:m=>{l.set(m,!0);for(const f of l.values())if(!f)return;c&&c()},register:m=>(l.set(m,!1),()=>l.delete(m))}),[n,l,c]);return r&&p&&(y={...y}),k.useMemo(()=>{l.forEach((m,f)=>l.set(f,!1))},[n]),J.useEffect(()=>{!n&&!l.size&&c&&c()},[n]),s==="popLayout"&&(e=o.jsx(_0e,{isPresent:n,anchorX:d,root:h,children:e})),o.jsx(yL.Provider,{value:y,children:e})};function I0e(){return new Map}function N$(e=!0){const t=k.useContext(yL);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:c,register:i}=t,r=k.useId();k.useEffect(()=>{if(e)return i(r)},[e]);const s=k.useCallback(()=>e&&c&&c(r),[r,c,e]);return!n&&c?[!1,s]:[!0]}const J1=e=>e.key||"";function wC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const b0e=({children:e,custom:t,initial:n=!0,onExitComplete:c,presenceAffectsLayout:i=!0,mode:r="sync",propagate:s=!1,anchorX:d="left",root:h})=>{const[l,u]=N$(s),p=k.useMemo(()=>wC(e),[e]),y=s&&!l?[]:p.map(J1),m=k.useRef(!0),f=k.useRef(p),g=zt(()=>new Map),[M,x]=k.useState(p),[v,L]=k.useState(p);pw(()=>{m.current=!1,f.current=p;for(let b=0;b<v.length;b++){const _=J1(v[b]);y.includes(_)?g.delete(_):g.get(_)!==!0&&g.set(_,!1)}},[v,y.length,y.join("-")]);const w=[];if(p!==M){let b=[...p];for(let _=0;_<v.length;_++){const I=v[_],j=J1(I);y.includes(j)||(b.splice(_,0,I),w.push(I))}return r==="wait"&&w.length&&(b=w),L(wC(b)),x(p),null}process.env.NODE_ENV!=="production"&&r==="wait"&&v.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:C}=k.useContext(hw);return o.jsx(o.Fragment,{children:v.map(b=>{const _=J1(b),I=s&&!l?!1:p===v||y.includes(_),j=()=>{if(g.has(_))g.set(_,!0);else return;let N=!0;g.forEach(S=>{S||(N=!1)}),N&&(C?.(),L(f.current),s&&u?.(),c&&c())};return o.jsx(L0e,{isPresent:I,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:h,onExitComplete:I?void 0:j,anchorX:d,children:b},_)})})},S$=k.createContext({strict:!1}),CC={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},a1={};for(const e in CC)a1[e]={isEnabled:t=>CC[e].some(n=>!!t[n])};function w0e(e){for(const t in e)a1[t]={...a1[t],...e[t]}}const C0e=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function sL(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||C0e.has(e)}let j$=e=>!sL(e);function N0e(e){typeof e=="function"&&(j$=t=>t.startsWith("on")?!sL(t):e(t))}try{N0e(require("@emotion/is-prop-valid").default)}catch{}function S0e(e,t,n){const c={};for(const i in e)i==="values"&&typeof e.values=="object"||(j$(i)||n===!0&&sL(i)||!t&&!sL(i)||e.draggable&&i.startsWith("onDrag"))&&(c[i]=e[i]);return c}const mL=k.createContext({});function fL(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function B1(e){return typeof e=="string"||Array.isArray(e)}const Vw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Pw=["initial",...Vw];function gL(e){return fL(e.animate)||Pw.some(t=>B1(e[t]))}function $$(e){return!!(gL(e)||e.variants)}function j0e(e,t){if(gL(e)){const{initial:n,animate:c}=e;return{initial:n===!1||B1(n)?n:void 0,animate:B1(c)?c:void 0}}return e.inherit!==!1?t:{}}function $0e(e){const{initial:t,animate:n}=j0e(e,k.useContext(mL));return k.useMemo(()=>({initial:t,animate:n}),[NC(t),NC(n)])}function NC(e){return Array.isArray(e)?e.join(" "):e}const R1={};function q0e(e){for(const t in e)R1[t]=e[t],xw(t)&&(R1[t].isCSSVariable=!0)}function q$(e,{layout:t,layoutId:n}){return i1.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!R1[e]||e==="opacity")}const A0e={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},z0e=c1.length;function V0e(e,t,n){let c="",i=!0;for(let r=0;r<z0e;r++){const s=c1[r],d=e[s];if(d===void 0)continue;let h=!0;if(typeof d=="number"?h=d===(s.startsWith("scale")?1:0):h=parseFloat(d)===0,!h||n){const l=_$(d,qw[s]);if(!h){i=!1;const u=A0e[s]||s;c+=`${u}(${l}) `}n&&(t[s]=l)}}return c=c.trim(),n?c=n(t,i?"":c):i&&(c="none"),c}function Tw(e,t,n){const{style:c,vars:i,transformOrigin:r}=e;let s=!1,d=!1;for(const h in t){const l=t[h];if(i1.has(h)){s=!0;continue}else if(xw(h)){i[h]=l;continue}else{const u=_$(l,qw[h]);h.startsWith("origin")?(d=!0,r[h]=u):c[h]=u}}if(t.transform||(s||n?c.transform=V0e(t,e.transform,n):c.transform&&(c.transform="none")),d){const{originX:h="50%",originY:l="50%",originZ:u=0}=r;c.transformOrigin=`${h} ${l} ${u}`}}const Hw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function A$(e,t,n){for(const c in t)!je(t[c])&&!q$(c,n)&&(e[c]=t[c])}function P0e({transformTemplate:e},t){return k.useMemo(()=>{const n=Hw();return Tw(n,t,e),Object.assign({},n.vars,n.style)},[t])}function T0e(e,t){const n=e.style||{},c={};return A$(c,n,e),Object.assign(c,P0e(e,t)),c}function H0e(e,t){const n={},c=T0e(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,c.userSelect=c.WebkitUserSelect=c.WebkitTouchCallout="none",c.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=c,n}const D0e={offset:"stroke-dashoffset",array:"stroke-dasharray"},B0e={offset:"strokeDashoffset",array:"strokeDasharray"};function R0e(e,t,n=1,c=0,i=!0){e.pathLength=1;const r=i?D0e:B0e;e[r.offset]=K.transform(-c);const s=K.transform(t),d=K.transform(n);e[r.array]=`${s} ${d}`}function z$(e,{attrX:t,attrY:n,attrScale:c,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},h,l,u){if(Tw(e,d,l),h){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:y}=e;p.transform&&(y.transform=p.transform,delete p.transform),(y.transform||p.transformOrigin)&&(y.transformOrigin=p.transformOrigin??"50% 50%",delete p.transformOrigin),y.transform&&(y.transformBox=u?.transformBox??"fill-box",delete p.transformBox),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),c!==void 0&&(p.scale=c),i!==void 0&&R0e(p,i,r,s,!1)}const V$=()=>({...Hw(),attrs:{}}),P$=e=>typeof e=="string"&&e.toLowerCase()==="svg";function F0e(e,t,n,c){const i=k.useMemo(()=>{const r=V$();return z$(r,t,P$(c),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};A$(r,e.style,e),i.style={...r,...i.style}}return i}const E0e=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Dw(e){return typeof e!="string"||e.includes("-")?!1:!!(E0e.indexOf(e)>-1||/[A-Z]/u.test(e))}function O0e(e,t,n,{latestValues:c},i,r=!1){const d=(Dw(e)?F0e:H0e)(t,c,i,e),h=S0e(t,typeof e=="string",r),l=e!==k.Fragment?{...h,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>je(u)?u.get():u,[u]);return k.createElement(e,{...l,children:p})}function SC(e){const t=[{},{}];return e?.values.forEach((n,c)=>{t[0][c]=n.get(),t[1][c]=n.getVelocity()}),t}function Bw(e,t,n,c){if(typeof t=="function"){const[i,r]=SC(c);t=t(n!==void 0?n:e.custom,i,r)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,r]=SC(c);t=t(n!==void 0?n:e.custom,i,r)}return t}function Q_(e){return je(e)?e.get():e}function U0e({scrapeMotionValuesFromProps:e,createRenderState:t},n,c,i){return{latestValues:W0e(n,c,i,e),renderState:t()}}function W0e(e,t,n,c){const i={},r=c(e,{});for(const y in r)i[y]=Q_(r[y]);let{initial:s,animate:d}=e;const h=gL(e),l=$$(e);t&&l&&!h&&e.inherit!==!1&&(s===void 0&&(s=t.initial),d===void 0&&(d=t.animate));let u=n?n.initial===!1:!1;u=u||s===!1;const p=u?d:s;if(p&&typeof p!="boolean"&&!fL(p)){const y=Array.isArray(p)?p:[p];for(let m=0;m<y.length;m++){const f=Bw(e,y[m]);if(f){const{transitionEnd:g,transition:M,...x}=f;for(const v in x){let L=x[v];if(Array.isArray(L)){const w=u?L.length-1:0;L=L[w]}L!==null&&(i[v]=L)}for(const v in g)i[v]=g[v]}}}return i}const T$=e=>(t,n)=>{const c=k.useContext(mL),i=k.useContext(yL),r=()=>U0e(e,t,c,i);return n?r():zt(r)};function Rw(e,t,n){const{style:c}=e,i={};for(const r in c)(je(c[r])||t.style&&je(t.style[r])||q$(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=c[r]);return i}const G0e=T$({scrapeMotionValuesFromProps:Rw,createRenderState:Hw});function H$(e,t,n){const c=Rw(e,t,n);for(const i in e)if(je(e[i])||je(t[i])){const r=c1.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;c[r]=e[i]}return c}const K0e=T$({scrapeMotionValuesFromProps:H$,createRenderState:V$}),Z0e=Symbol.for("motionComponentSymbol");function Uc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function X0e(e,t,n){return k.useCallback(c=>{c&&e.onMount&&e.onMount(c),t&&(c?t.mount(c):t.unmount()),n&&(typeof n=="function"?n(c):Uc(n)&&(n.current=c))},[t])}const Fw=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Y0e="framerAppearId",D$="data-"+Fw(Y0e),B$=k.createContext({});function J0e(e,t,n,c,i){const{visualElement:r}=k.useContext(mL),s=k.useContext(S$),d=k.useContext(yL),h=k.useContext(kL).reducedMotion,l=k.useRef(null);c=c||s.renderer,!l.current&&c&&(l.current=c(e,{visualState:t,parent:r,props:n,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:h}));const u=l.current,p=k.useContext(B$);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&Q0e(l.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const m=n[D$],f=k.useRef(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return pw(()=>{u&&(y.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),f.current&&u.animationState&&u.animationState.animateChanges())}),k.useEffect(()=>{u&&(!f.current&&u.animationState&&u.animationState.animateChanges(),f.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),f.current=!1),u.enteringChildren=void 0)}),u}function Q0e(e,t,n,c){const{layoutId:i,layout:r,drag:s,dragConstraints:d,layoutScroll:h,layoutRoot:l,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:R$(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&Uc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:c,crossfade:u,layoutScroll:h,layoutRoot:l})}function R$(e){if(e)return e.options.allowProjection!==!1?e.projection:R$(e.parent)}function OL(e,{forwardMotionProps:t=!1}={},n,c){n&&w0e(n);const i=Dw(e)?K0e:G0e;function r(d,h){let l;const u={...k.useContext(kL),...d,layoutId:ele(d)},{isStatic:p}=u,y=$0e(d),m=i(d,p);if(!p&&uw){tle(u,n);const f=ale(u);l=f.MeasureLayout,y.visualElement=J0e(e,m,u,c,f.ProjectionNode)}return o.jsxs(mL.Provider,{value:y,children:[l&&y.visualElement?o.jsx(l,{visualElement:y.visualElement,...u}):null,O0e(e,d,X0e(m,y.visualElement,h),m,p,t)]})}r.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const s=k.forwardRef(r);return s[Z0e]=e,s}function ele({layoutId:e}){const t=k.useContext(hw).id;return t&&e!==void 0?t+"-"+e:e}function tle(e,t){const n=k.useContext(S$).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?n1(!1,c,"lazy-strict-mode"):et(!1,c,"lazy-strict-mode")}}function ale(e){const{drag:t,layout:n}=a1;if(!t&&!n)return{};const c={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function nle(e,t){if(typeof Proxy>"u")return OL;const n=new Map,c=(r,s)=>OL(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&gw(!1,"motion() is deprecated. Use motion.create() instead."),c(r,s));return new Proxy(i,{get:(r,s)=>s==="create"?c:(n.has(s)||n.set(s,OL(s,void 0,e,t)),n.get(s))})}function F$({top:e,left:t,right:n,bottom:c}){return{x:{min:t,max:n},y:{min:e,max:c}}}function ole({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function cle(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),c=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:c.y,right:c.x}}function UL(e){return e===void 0||e===1}function ew({scale:e,scaleX:t,scaleY:n}){return!UL(e)||!UL(t)||!UL(n)}function wc(e){return ew(e)||E$(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function E$(e){return jC(e.x)||jC(e.y)}function jC(e){return e&&e!=="0%"}function dL(e,t,n){const c=e-n,i=t*c;return n+i}function $C(e,t,n,c,i){return i!==void 0&&(e=dL(e,i,c)),dL(e,n,c)+t}function tw(e,t=0,n=1,c,i){e.min=$C(e.min,t,n,c,i),e.max=$C(e.max,t,n,c,i)}function O$(e,{x:t,y:n}){tw(e.x,t.translate,t.scale,t.originPoint),tw(e.y,n.translate,n.scale,n.originPoint)}const qC=.999999999999,AC=1.0000000000001;function ile(e,t,n,c=!1){const i=n.length;if(!i)return;t.x=t.y=1;let r,s;for(let d=0;d<i;d++){r=n[d],s=r.projectionDelta;const{visualElement:h}=r.options;h&&h.props.style&&h.props.style.display==="contents"||(c&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Gc(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,O$(e,s)),c&&wc(r.latestValues)&&Gc(e,r.latestValues))}t.x<AC&&t.x>qC&&(t.x=1),t.y<AC&&t.y>qC&&(t.y=1)}function Wc(e,t){e.min=e.min+t,e.max=e.max+t}function zC(e,t,n,c,i=.5){const r=fe(e.min,e.max,i);tw(e,t,n,r,c)}function Gc(e,t){zC(e.x,t.x,t.scaleX,t.scale,t.originX),zC(e.y,t.y,t.scaleY,t.scale,t.originY)}function U$(e,t){return F$(cle(e.getBoundingClientRect(),t))}function rle(e,t,n){const c=U$(e,n),{scroll:i}=t;return i&&(Wc(c.x,i.offset.x),Wc(c.y,i.offset.y)),c}const VC=()=>({translate:0,scale:1,origin:0,originPoint:0}),Kc=()=>({x:VC(),y:VC()}),PC=()=>({min:0,max:0}),_e=()=>({x:PC(),y:PC()}),aw={current:null},W$={current:!1};function sle(){if(W$.current=!0,!!uw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>aw.current=e.matches;e.addEventListener("change",t),t()}else aw.current=!1}const dle=new WeakMap;function lle(e,t,n){for(const c in t){const i=t[c],r=n[c];if(je(i))e.addValue(c,i);else if(je(r))e.addValue(c,zc(i,{owner:e}));else if(r!==i)if(e.hasValue(c)){const s=e.getValue(c);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(c);e.addValue(c,zc(s!==void 0?s:i,{owner:e}))}}for(const c in n)t[c]===void 0&&e.removeValue(c);return t}const TC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class hle{scrapeMotionValuesFromProps(t,n,c){return{}}constructor({parent:t,props:n,presenceContext:c,reducedMotionConfig:i,blockInitialAnimation:r,visualState:s},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=jw,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const y=De.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,ke.render(this.render,!1,!0))};const{latestValues:h,renderState:l}=s;this.latestValues=h,this.baseTarget={...h},this.initialValues=n.initial?{...h}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=c,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=d,this.blockInitialAnimation=!!r,this.isControllingVariants=gL(n),this.isVariantNode=$$(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...p}=this.scrapeMotionValuesFromProps(n,{},this);for(const y in p){const m=p[y];h[y]!==void 0&&je(m)&&m.set(h[y])}}mount(t){this.current=t,dle.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,c)=>this.bindToMotionValue(c,n)),W$.current||sle(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:aw.current,process.env.NODE_ENV!=="production"&&gw(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),vt(this.notifyUpdate),vt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const c=i1.has(t);c&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ke.preRender(this.notifyUpdate),c&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),r&&r(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in a1){const n=a1[t];if(!n)continue;const{isEnabled:c,Feature:i}=n;if(!this.features[t]&&i&&c(this.props)&&(this.features[t]=new i(this)),this.features[t]){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):_e()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let c=0;c<TC.length;c++){const i=TC[c];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const r="on"+i,s=t[r];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=lle(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const c=this.values.get(t);n!==c&&(c&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let c=this.values.get(t);return c===void 0&&n!==void 0&&(c=zc(n===null?void 0:n,{owner:this}),this.addValue(t,c)),c}readValue(t,n){let c=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return c!=null&&(typeof c=="string"&&(Tj(c)||Dj(c))?c=parseFloat(c):!g0e(c)&&At.test(n)&&(c=x$(t,n)),this.setBaseTarget(t,je(c)?c.get():c)),je(c)?c.get():c}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let c;if(typeof n=="string"||typeof n=="object"){const r=Bw(this.props,n,this.presenceContext?.custom);r&&(c=r[t])}if(n&&c!==void 0)return c;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!je(i)?i:this.initialValues[t]!==void 0&&c===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new fw),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Aw.render(this.render)}}class G$ extends hle{constructor(){super(...arguments),this.KeyframeResolver=c0e}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:c}){delete n[t],delete c[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;je(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function K$(e,{style:t,vars:n},c,i){const r=e.style;let s;for(s in t)r[s]=t[s];i?.applyProjectionStyles(r,c);for(s in n)r.setProperty(s,n[s])}function ule(e){return window.getComputedStyle(e)}class ple extends G${constructor(){super(...arguments),this.type="html",this.renderInstance=K$}readValueFromInstance(t,n){if(i1.has(n))return this.projection?.isProjecting?Gb(n):Lde(t,n);{const c=ule(t),i=(xw(n)?c.getPropertyValue(n):c[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return U$(t,n)}build(t,n,c){Tw(t,n,c.transformTemplate)}scrapeMotionValuesFromProps(t,n,c){return Rw(t,n,c)}}const Z$=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function yle(e,t,n,c){K$(e,t,void 0,c);for(const i in t.attrs)e.setAttribute(Z$.has(i)?i:Fw(i),t.attrs[i])}class kle extends G${constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=_e}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(i1.has(n)){const c=M$(n);return c&&c.default||0}return n=Z$.has(n)?n:Fw(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,c){return H$(t,n,c)}build(t,n,c){z$(t,n,this.isSVGTag,c.transformTemplate,c.style)}renderInstance(t,n,c,i){yle(t,n,c,i)}mount(t){this.isSVGTag=P$(t.tagName),super.mount(t)}}const mle=(e,t)=>Dw(e)?new kle(t):new ple(t,{allowProjection:e!==k.Fragment});function t1(e,t,n){const c=e.getProps();return Bw(c,t,n!==void 0?n:c.custom,e)}const nw=e=>Array.isArray(e);function fle(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,zc(n))}function gle(e){return nw(e)?e[e.length-1]||0:e}function vle(e,t){const n=t1(e,t);let{transitionEnd:c={},transition:i={},...r}=n||{};r={...r,...c};for(const s in r){const d=gle(r[s]);fle(e,s,d)}}function Mle(e){return!!(je(e)&&e.add)}function ow(e,t){const n=e.getValue("willChange");if(Mle(n))return n.add(t);if(!n&&gt.WillChange){const c=new gt.WillChange("auto");e.addValue("willChange",c),c.add(t)}}function X$(e){return e.props[D$]}const xle=e=>e!==null;function _le(e,{repeat:t,repeatType:n="loop"},c){const i=e.filter(xle),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const Lle={type:"spring",stiffness:500,damping:25,restSpeed:10},Ile=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ble={type:"keyframes",duration:.8},wle={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Cle=(e,{keyframes:t})=>t.length>2?ble:i1.has(e)?e.startsWith("scale")?Ile(t[1]):Lle:wle;function Nle({when:e,delay:t,delayChildren:n,staggerChildren:c,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:d,from:h,elapsed:l,...u}){return!!Object.keys(u).length}const Ew=(e,t,n,c={},i,r)=>s=>{const d=$w(c,e)||{},h=d.delay||c.delay||0;let{elapsed:l=0}=c;l=l-Qe(h);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-l,onUpdate:y=>{t.set(y),d.onUpdate&&d.onUpdate(y)},onComplete:()=>{s(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:r?void 0:i};Nle(d)||Object.assign(u,Cle(e,u)),u.duration&&(u.duration=Qe(u.duration)),u.repeatDelay&&(u.repeatDelay=Qe(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Jb(u),u.delay===0&&(p=!0)),(gt.instantAnimations||gt.skipAnimations)&&(p=!0,Jb(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=_le(u.keyframes,d);if(y!==void 0){ke.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new Sw(u):new Wde(u)};function Sle({protectedKeys:e,needsAnimating:t},n){const c=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,c}function Y$(e,t,{delay:n=0,transitionOverride:c,type:i}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:s,...d}=t;c&&(r=c);const h=[],l=i&&e.animationState&&e.animationState.getState()[i];for(const u in d){const p=e.getValue(u,e.latestValues[u]??null),y=d[u];if(y===void 0||l&&Sle(l,u))continue;const m={delay:n,...$w(r||{},u)},f=p.get();if(f!==void 0&&!p.isAnimating&&!Array.isArray(y)&&y===f&&!m.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){const x=X$(e);if(x){const v=window.MotionHandoffAnimation(x,u,ke);v!==null&&(m.startTime=v,g=!0)}}ow(e,u),p.start(Ew(u,p,y,e.shouldReduceMotion&&f$.has(u)?{type:!1}:m,e,g));const M=p.animation;M&&h.push(M)}return s&&Promise.all(h).then(()=>{ke.update(()=>{s&&vle(e,s)})}),h}function J$(e,t,n,c=0,i=1){const r=Array.from(e).sort((l,u)=>l.sortNodePosition(u)).indexOf(t),s=e.size,d=(s-1)*c;return typeof n=="function"?n(r,s):i===1?r*c:d-r*c}function cw(e,t,n={}){const c=t1(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=c||{};n.transitionOverride&&(i=n.transitionOverride);const r=c?()=>Promise.all(Y$(e,c,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(h=0)=>{const{delayChildren:l=0,staggerChildren:u,staggerDirection:p}=i;return jle(e,t,h,l,u,p,n)}:()=>Promise.resolve(),{when:d}=i;if(d){const[h,l]=d==="beforeChildren"?[r,s]:[s,r];return h().then(()=>l())}else return Promise.all([r(),s(n.delay)])}function jle(e,t,n=0,c=0,i=0,r=1,s){const d=[];for(const h of e.variantChildren)h.notify("AnimationStart",t),d.push(cw(h,t,{...s,delay:n+(typeof c=="function"?0:c)+J$(e.variantChildren,h,c,i,r)}).then(()=>h.notify("AnimationComplete",t)));return Promise.all(d)}function $le(e,t,n={}){e.notify("AnimationStart",t);let c;if(Array.isArray(t)){const i=t.map(r=>cw(e,r,n));c=Promise.all(i)}else if(typeof t=="string")c=cw(e,t,n);else{const i=typeof t=="function"?t1(e,t,n.custom):t;c=Promise.all(Y$(e,i,n))}return c.then(()=>{e.notify("AnimationComplete",t)})}function Q$(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let c=0;c<n;c++)if(t[c]!==e[c])return!1;return!0}const qle=Pw.length;function eq(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?eq(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<qle;n++){const c=Pw[n],i=e.props[c];(B1(i)||i===!1)&&(t[c]=i)}return t}const Ale=[...Vw].reverse(),zle=Vw.length;function Vle(e){return t=>Promise.all(t.map(({animation:n,options:c})=>$le(e,n,c)))}function Ple(e){let t=Vle(e),n=HC(),c=!0;const i=h=>(l,u)=>{const p=t1(e,u,h==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:y,transitionEnd:m,...f}=p;l={...l,...f,...m}}return l};function r(h){t=h(e)}function s(h){const{props:l}=e,u=eq(e.parent)||{},p=[],y=new Set;let m={},f=1/0;for(let M=0;M<zle;M++){const x=Ale[M],v=n[x],L=l[x]!==void 0?l[x]:u[x],w=B1(L),C=x===h?v.isActive:null;C===!1&&(f=M);let b=L===u[x]&&L!==l[x]&&w;if(b&&c&&e.manuallyAnimateOnMount&&(b=!1),v.protectedKeys={...m},!v.isActive&&C===null||!L&&!v.prevProp||fL(L)||typeof L=="boolean")continue;const _=Tle(v.prevProp,L);let I=_||x===h&&v.isActive&&!b&&w||M>f&&w,j=!1;const N=Array.isArray(L)?L:[L];let S=N.reduce(i(x),{});C===!1&&(S={});const{prevResolvedValues:A={}}=v,B={...A,...S},T=q=>{I=!0,y.has(q)&&(j=!0,y.delete(q)),v.needsAnimating[q]=!0;const P=e.getValue(q);P&&(P.liveStyle=!1)};for(const q in B){const P=S[q],H=A[q];if(m.hasOwnProperty(q))continue;let D=!1;nw(P)&&nw(H)?D=!Q$(P,H):D=P!==H,D?P!=null?T(q):y.add(q):P!==void 0&&y.has(q)?T(q):v.protectedKeys[q]=!0}v.prevProp=L,v.prevResolvedValues=S,v.isActive&&(m={...m,...S}),c&&e.blockInitialAnimation&&(I=!1);const V=b&&_;I&&(!V||j)&&p.push(...N.map(q=>{const P={type:x};if(typeof q=="string"&&c&&!V&&e.manuallyAnimateOnMount&&e.parent){const{parent:H}=e,D=t1(H,q);if(H.enteringChildren&&D){const{delayChildren:F}=D.transition||{};P.delay=J$(H.enteringChildren,e,F)}}return{animation:q,options:P}}))}if(y.size){const M={};if(typeof l.initial!="boolean"){const x=t1(e,Array.isArray(l.initial)?l.initial[0]:l.initial);x&&x.transition&&(M.transition=x.transition)}y.forEach(x=>{const v=e.getBaseTarget(x),L=e.getValue(x);L&&(L.liveStyle=!0),M[x]=v??null}),p.push({animation:M})}let g=!!p.length;return c&&(l.initial===!1||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(g=!1),c=!1,g?t(p):Promise.resolve()}function d(h,l){if(n[h].isActive===l)return Promise.resolve();e.variantChildren?.forEach(p=>p.animationState?.setActive(h,l)),n[h].isActive=l;const u=s(h);for(const p in n)n[p].protectedKeys={};return u}return{animateChanges:s,setActive:d,setAnimateFunction:r,getState:()=>n,reset:()=>{n=HC()}}}function Tle(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Q$(t,e):!1}function Rt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function HC(){return{animate:Rt(!0),whileInView:Rt(),whileHover:Rt(),whileTap:Rt(),whileDrag:Rt(),whileFocus:Rt(),exit:Rt()}}class Vt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Hle extends Vt{constructor(t){super(t),t.animationState||(t.animationState=Ple(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();fL(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Dle=0;class Ble extends Vt{constructor(){super(...arguments),this.id=Dle++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:c}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===c)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const Rle={animation:{Feature:Hle},exit:{Feature:Ble}};function F1(e,t,n,c={passive:!0}){return e.addEventListener(t,n,c),()=>e.removeEventListener(t,n)}function G1(e){return{point:{x:e.pageX,y:e.pageY}}}const Fle=e=>t=>zw(t)&&e(t,G1(t));function A1(e,t,n,c){return F1(e,t,Fle(n),c)}const tq=1e-4,Ele=1-tq,Ole=1+tq,aq=.01,Ule=0-aq,Wle=0+aq;function Ve(e){return e.max-e.min}function Gle(e,t,n){return Math.abs(e-t)<=n}function DC(e,t,n,c=.5){e.origin=c,e.originPoint=fe(t.min,t.max,e.origin),e.scale=Ve(n)/Ve(t),e.translate=fe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Ele&&e.scale<=Ole||isNaN(e.scale))&&(e.scale=1),(e.translate>=Ule&&e.translate<=Wle||isNaN(e.translate))&&(e.translate=0)}function z1(e,t,n,c){DC(e.x,t.x,n.x,c?c.originX:void 0),DC(e.y,t.y,n.y,c?c.originY:void 0)}function BC(e,t,n){e.min=n.min+t.min,e.max=e.min+Ve(t)}function Kle(e,t,n){BC(e.x,t.x,n.x),BC(e.y,t.y,n.y)}function RC(e,t,n){e.min=t.min-n.min,e.max=e.min+Ve(t)}function V1(e,t,n){RC(e.x,t.x,n.x),RC(e.y,t.y,n.y)}function We(e){return[e("x"),e("y")]}const nq=({current:e})=>e?e.ownerDocument.defaultView:null,FC=(e,t)=>Math.abs(e-t);function Zle(e,t){const n=FC(e.x,t.x),c=FC(e.y,t.y);return Math.sqrt(n**2+c**2)}class oq{constructor(t,n,{transformPagePoint:c,contextWindow:i=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=GL(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,f=Zle(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!m&&!f)return;const{point:g}=y,{timestamp:M}=Se;this.history.push({...g,timestamp:M});const{onStart:x,onMove:v}=this.handlers;m||(x&&x(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,y)},this.handlePointerMove=(y,m)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=WL(m,this.transformPagePoint),ke.update(this.updatePoint,!0)},this.handlePointerUp=(y,m)=>{this.end();const{onEnd:f,onSessionEnd:g,resumeAnimation:M}=this.handlers;if(this.dragSnapToOrigin&&M&&M(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=GL(y.type==="pointercancel"?this.lastMoveEventInfo:WL(m,this.transformPagePoint),this.history);this.startEvent&&f&&f(y,x),g&&g(y,x)},!zw(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=c,this.distanceThreshold=s,this.contextWindow=i||window;const d=G1(t),h=WL(d,this.transformPagePoint),{point:l}=h,{timestamp:u}=Se;this.history=[{...l,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,GL(h,this.history)),this.removeListeners=O1(A1(this.contextWindow,"pointermove",this.handlePointerMove),A1(this.contextWindow,"pointerup",this.handlePointerUp),A1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),vt(this.updatePoint)}}function WL(e,t){return t?{point:t(e.point)}:e}function EC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function GL({point:e},t){return{point:e,delta:EC(e,cq(t)),offset:EC(e,Xle(t)),velocity:Yle(t,.1)}}function Xle(e){return e[0]}function cq(e){return e[e.length-1]}function Yle(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,c=null;const i=cq(e);for(;n>=0&&(c=e[n],!(i.timestamp-c.timestamp>Qe(t)));)n--;if(!c)return{x:0,y:0};const r=Ge(i.timestamp-c.timestamp);if(r===0)return{x:0,y:0};const s={x:(i.x-c.x)/r,y:(i.y-c.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Jle(e,{min:t,max:n},c){return t!==void 0&&e<t?e=c?fe(t,e,c.min):Math.max(e,t):n!==void 0&&e>n&&(e=c?fe(n,e,c.max):Math.min(e,n)),e}function OC(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Qle(e,{top:t,left:n,bottom:c,right:i}){return{x:OC(e.x,n,i),y:OC(e.y,t,c)}}function UC(e,t){let n=t.min-e.min,c=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,c]=[c,n]),{min:n,max:c}}function ehe(e,t){return{x:UC(e.x,t.x),y:UC(e.y,t.y)}}function the(e,t){let n=.5;const c=Ve(e),i=Ve(t);return i>c?n=T1(t.min,t.max-c,e.min):c>i&&(n=T1(e.min,e.max-i,t.min)),ft(0,1,n)}function ahe(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const iw=.35;function nhe(e=iw){return e===!1?e=0:e===!0&&(e=iw),{x:WC(e,"left","right"),y:WC(e,"top","bottom")}}function WC(e,t,n){return{min:GC(e,t),max:GC(e,n)}}function GC(e,t){return typeof e=="number"?e:e[t]||0}const ohe=new WeakMap;class che{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=_e(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:c}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=p=>{const{dragSnapToOrigin:y}=this.getProps();y?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(G1(p).point)},s=(p,y)=>{const{drag:m,dragPropagation:f,onDragStart:g}=this.getProps();if(m&&!f&&(this.openDragLock&&this.openDragLock(),this.openDragLock=d0e(m),!this.openDragLock))return;this.latestPointerEvent=p,this.latestPanInfo=y,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),We(x=>{let v=this.getAxisMotionValue(x).get()||0;if(lt.test(v)){const{projection:L}=this.visualElement;if(L&&L.layout){const w=L.layout.layoutBox[x];w&&(v=Ve(w)*(parseFloat(v)/100))}}this.originPoint[x]=v}),g&&ke.postRender(()=>g(p,y)),ow(this.visualElement,"transform");const{animationState:M}=this.visualElement;M&&M.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:m,dragDirectionLock:f,onDirectionLock:g,onDrag:M}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:x}=y;if(f&&this.currentDirection===null){this.currentDirection=ihe(x),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",y.point,x),this.updateAxis("y",y.point,x),this.visualElement.render(),M&&M(p,y)},h=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>We(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new oq(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:h,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:c,contextWindow:nq(this.visualElement)})}stop(t,n){const c=t||this.latestPointerEvent,i=n||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!c)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:d}=this.getProps();d&&ke.postRender(()=>d(c,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:c}=this.getProps();!c&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,c){const{drag:i}=this.getProps();if(!c||!Q1(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+c[t];this.constraints&&this.constraints[t]&&(s=Jle(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),c=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&Uc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&c?this.constraints=Qle(c.layoutBox,t):this.constraints=!1,this.elastic=nhe(n),i!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&We(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=ahe(c.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Uc(t))return!1;const c=t.current;et(c!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=rle(c,i.root,this.visualElement.getTransformPagePoint());let s=ehe(i.layout.layoutBox,r);if(n){const d=n(ole(s));this.hasMutatedConstraints=!!d,d&&(s=F$(d))}return s}startAnimation(t){const{drag:n,dragMomentum:c,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:d}=this.getProps(),h=this.constraints||{},l=We(u=>{if(!Q1(u,n,this.currentDirection))return;let p=h&&h[u]||{};s&&(p={min:0,max:0});const y=i?200:1e6,m=i?40:1e7,f={type:"inertia",velocity:c?t[u]:0,bounceStiffness:y,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...r,...p};return this.startAxisValueAnimation(u,f)});return Promise.all(l).then(d)}startAxisValueAnimation(t,n){const c=this.getAxisMotionValue(t);return ow(this.visualElement,t),c.start(Ew(t,c,0,n,this.visualElement,!1))}stopAnimation(){We(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){We(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,c=this.visualElement.getProps(),i=c[n];return i||this.visualElement.getValue(t,(c.initial?c.initial[t]:void 0)||0)}snapToCursor(t){We(n=>{const{drag:c}=this.getProps();if(!Q1(n,c,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:d}=i.layout.layoutBox[n];r.set(t[n]-fe(s,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:c}=this.visualElement;if(!Uc(n)||!c||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};We(s=>{const d=this.getAxisMotionValue(s);if(d&&this.constraints!==!1){const h=d.get();i[s]=the({min:h,max:h},this.constraints[s])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",c.root&&c.root.updateScroll(),c.updateLayout(),this.resolveConstraints(),We(s=>{if(!Q1(s,t,null))return;const d=this.getAxisMotionValue(s),{min:h,max:l}=this.constraints[s];d.set(fe(h,l,i[s]))})}addListeners(){if(!this.visualElement.current)return;ohe.set(this.visualElement,this);const t=this.visualElement.current,n=A1(t,"pointerdown",h=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(h)}),c=()=>{const{dragConstraints:h}=this.getProps();Uc(h)&&h.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",c);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ke.read(c);const s=F1(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:h,hasLayoutChanged:l})=>{this.isDragging&&l&&(We(u=>{const p=this.getAxisMotionValue(u);p&&(this.originPoint[u]+=h[u].translate,p.set(p.get()+h[u].translate))}),this.visualElement.render())});return()=>{s(),n(),r(),d&&d()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:c=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=iw,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:c,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function Q1(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function ihe(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class rhe extends Vt{constructor(t){super(t),this.removeGroupControls=Ze,this.removeListeners=Ze,this.controls=new che(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ze}unmount(){this.removeGroupControls(),this.removeListeners()}}const KC=e=>(t,n)=>{e&&ke.postRender(()=>e(t,n))};class she extends Vt{constructor(){super(...arguments),this.removePointerDownListener=Ze}onPointerDown(t){this.session=new oq(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nq(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:c,onPanEnd:i}=this.node.getProps();return{onSessionStart:KC(t),onStart:KC(n),onMove:c,onEnd:(r,s)=>{delete this.session,i&&ke.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=A1(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const eL={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ZC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const l1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(K.test(e))e=parseFloat(e);else return e;const n=ZC(e,t.target.x),c=ZC(e,t.target.y);return`${n}% ${c}%`}},dhe={correct:(e,{treeScale:t,projectionDelta:n})=>{const c=e,i=At.parse(e);if(i.length>5)return c;const r=At.createTransformer(e),s=typeof i[0]!="number"?1:0,d=n.x.scale*t.x,h=n.y.scale*t.y;i[0+s]/=d,i[1+s]/=h;const l=fe(d,h,.5);return typeof i[2+s]=="number"&&(i[2+s]/=l),typeof i[3+s]=="number"&&(i[3+s]/=l),r(i)}};let KL=!1;class lhe extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c,layoutId:i}=this.props,{projection:r}=t;q0e(hhe),r&&(n.group&&n.group.add(r),c&&c.register&&i&&c.register(r),KL&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),eL.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:c,drag:i,isPresent:r}=this.props,{projection:s}=c;return s&&(s.isPresent=r,KL=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||ke.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Aw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c}=this.props,{projection:i}=t;KL=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),c&&c.deregister&&c.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function iq(e){const[t,n]=N$(),c=k.useContext(hw);return o.jsx(lhe,{...e,layoutGroup:c,switchLayoutGroup:k.useContext(B$),isPresent:t,safeToRemove:n})}const hhe={borderRadius:{...l1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:l1,borderTopRightRadius:l1,borderBottomLeftRadius:l1,borderBottomRightRadius:l1,boxShadow:dhe};function uhe(e,t,n){const c=je(e)?e:zc(e);return c.start(Ew("",c,t,n)),c.animation}const phe=(e,t)=>e.depth-t.depth;class yhe{constructor(){this.children=[],this.isDirty=!1}add(t){yw(this.children,t),this.isDirty=!0}remove(t){kw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(phe),this.isDirty=!1,this.children.forEach(t)}}function khe(e,t){const n=De.now(),c=({timestamp:i})=>{const r=i-n;r>=t&&(vt(c),e(r-t))};return ke.setup(c,!0),()=>vt(c)}const rq=["TopLeft","TopRight","BottomLeft","BottomRight"],mhe=rq.length,XC=e=>typeof e=="string"?parseFloat(e):e,YC=e=>typeof e=="number"||K.test(e);function fhe(e,t,n,c,i,r){i?(e.opacity=fe(0,n.opacity??1,ghe(c)),e.opacityExit=fe(t.opacity??1,0,vhe(c))):r&&(e.opacity=fe(t.opacity??1,n.opacity??1,c));for(let s=0;s<mhe;s++){const d=`border${rq[s]}Radius`;let h=JC(t,d),l=JC(n,d);if(h===void 0&&l===void 0)continue;h||(h=0),l||(l=0),h===0||l===0||YC(h)===YC(l)?(e[d]=Math.max(fe(XC(h),XC(l),c),0),(lt.test(l)||lt.test(h))&&(e[d]+="%")):e[d]=l}(t.rotate||n.rotate)&&(e.rotate=fe(t.rotate||0,n.rotate||0,c))}function JC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const ghe=sq(0,.5,Gj),vhe=sq(.5,.95,Ze);function sq(e,t,n){return c=>c<e?0:c>t?1:n(T1(e,t,c))}function QC(e,t){e.min=t.min,e.max=t.max}function Ee(e,t){QC(e.x,t.x),QC(e.y,t.y)}function eN(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function tN(e,t,n,c,i){return e-=t,e=dL(e,1/n,c),i!==void 0&&(e=dL(e,1/i,c)),e}function Mhe(e,t=0,n=1,c=.5,i,r=e,s=e){if(lt.test(t)&&(t=parseFloat(t),t=fe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let d=fe(r.min,r.max,c);e===r&&(d-=t),e.min=tN(e.min,t,n,d,i),e.max=tN(e.max,t,n,d,i)}function aN(e,t,[n,c,i],r,s){Mhe(e,t[n],t[c],t[i],t.scale,r,s)}const xhe=["x","scaleX","originX"],_he=["y","scaleY","originY"];function nN(e,t,n,c){aN(e.x,t,xhe,n?n.x:void 0,c?c.x:void 0),aN(e.y,t,_he,n?n.y:void 0,c?c.y:void 0)}function oN(e){return e.translate===0&&e.scale===1}function dq(e){return oN(e.x)&&oN(e.y)}function cN(e,t){return e.min===t.min&&e.max===t.max}function Lhe(e,t){return cN(e.x,t.x)&&cN(e.y,t.y)}function iN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function lq(e,t){return iN(e.x,t.x)&&iN(e.y,t.y)}function rN(e){return Ve(e.x)/Ve(e.y)}function sN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Ihe{constructor(){this.members=[]}add(t){yw(this.members,t),t.scheduleRender()}remove(t){if(kw(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let c;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){c=r;break}}return c?(this.promote(c),!0):!1}promote(t,n){const c=this.lead;if(t!==c&&(this.prevLead=c,this.lead=t,t.show(),c)){c.instance&&c.scheduleRender(),t.scheduleRender(),t.resumeFrom=c,n&&(t.resumeFrom.preserveOpacity=!0),c.snapshot&&(t.snapshot=c.snapshot,t.snapshot.latestValues=c.animationValues||c.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&c.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:c}=t;n.onExitComplete&&n.onExitComplete(),c&&c.options.onExitComplete&&c.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function bhe(e,t,n){let c="";const i=e.x.translate/t.x,r=e.y.translate/t.y,s=n?.z||0;if((i||r||s)&&(c=`translate3d(${i}px, ${r}px, ${s}px) `),(t.x!==1||t.y!==1)&&(c+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:l,rotate:u,rotateX:p,rotateY:y,skewX:m,skewY:f}=n;l&&(c=`perspective(${l}px) ${c}`),u&&(c+=`rotate(${u}deg) `),p&&(c+=`rotateX(${p}deg) `),y&&(c+=`rotateY(${y}deg) `),m&&(c+=`skewX(${m}deg) `),f&&(c+=`skewY(${f}deg) `)}const d=e.x.scale*t.x,h=e.y.scale*t.y;return(d!==1||h!==1)&&(c+=`scale(${d}, ${h})`),c||"none"}const ZL=["","X","Y","Z"],whe=1e3;let Che=0;function XL(e,t,n,c){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),c&&(c[e]=0))}function hq(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=X$(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ke,!(i||r))}const{parent:c}=e;c&&!c.hasCheckedOptimisedAppear&&hq(c)}function uq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:c,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=Che++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(jhe),this.nodes.forEach(zhe),this.nodes.forEach(Vhe),this.nodes.forEach($he)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let h=0;h<this.path.length;h++)this.path[h].shouldResetTransform=!0;this.root===this&&(this.nodes=new yhe)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new fw),this.eventHandlers.get(s).add(d)}notifyListeners(s,...d){const h=this.eventHandlers.get(s);h&&h.notify(...d)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=C$(s)&&!k0e(s),this.instance=s;const{layoutId:d,layout:h,visualElement:l}=this.options;if(l&&!l.current&&l.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(h||d)&&(this.isLayoutDirty=!0),e){let u,p=0;const y=()=>this.root.updateBlockedByResize=!1;ke.read(()=>{p=window.innerWidth}),e(s,()=>{const m=window.innerWidth;m!==p&&(p=m,this.root.updateBlockedByResize=!0,u&&u(),u=khe(y,250),eL.hasAnimatedSinceResize&&(eL.hasAnimatedSinceResize=!1,this.nodes.forEach(hN)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&l&&(d||h)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:p,hasRelativeLayoutChanged:y,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const f=this.options.transition||l.getDefaultTransition()||Bhe,{onLayoutAnimationStart:g,onLayoutAnimationComplete:M}=l.getProps(),x=!this.targetLayout||!lq(this.targetLayout,m),v=!p&&y;if(this.options.layoutRoot||this.resumeFrom||v||p&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const L={...$w(f,"layout"),onPlay:g,onComplete:M};(l.shouldReduceMotion||this.options.layoutRoot)&&(L.delay=0,L.type=!1),this.startAnimation(L),this.setAnimationOrigin(u,v)}else p||hN(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),vt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Phe),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&hq(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const p=this.path[u];p.shouldResetTransform=!0,p.updateScroll("snapshot"),p.options.layoutRoot&&p.willUpdate(!1)}const{layoutId:d,layout:h}=this.options;if(d===void 0&&!h)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(dN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(lN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Ahe),this.nodes.forEach(Nhe),this.nodes.forEach(She)):this.nodes.forEach(lN),this.clearAllSnapshots();const d=De.now();Se.delta=ft(0,1e3/60,d-Se.timestamp),Se.timestamp=d,Se.isProcessing=!0,HL.update.process(Se),HL.preRender.process(Se),HL.render.process(Se),Se.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Aw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(qhe),this.sharedNodes.forEach(The)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ke.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ke.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ve(this.snapshot.measuredBox.x)&&!Ve(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let h=0;h<this.path.length;h++)this.path[h].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=_e(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(d=!1),d&&this.instance){const h=c(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:h,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:h}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!dq(this.projectionDelta),h=this.getTransformTemplate(),l=h?h(this.latestValues,""):void 0,u=l!==this.prevTransformTemplateValue;s&&this.instance&&(d||wc(this.latestValues)||u)&&(i(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const d=this.measurePageBox();let h=this.removeElementScroll(d);return s&&(h=this.removeTransform(h)),Rhe(h),{animationId:this.root.animationId,measuredBox:d,layoutBox:h,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return _e();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Fhe))){const{scroll:l}=this.root;l&&(Wc(d.x,l.offset.x),Wc(d.y,l.offset.y))}return d}removeElementScroll(s){const d=_e();if(Ee(d,s),this.scroll?.wasRoot)return d;for(let h=0;h<this.path.length;h++){const l=this.path[h],{scroll:u,options:p}=l;l!==this.root&&u&&p.layoutScroll&&(u.wasRoot&&Ee(d,s),Wc(d.x,u.offset.x),Wc(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const h=_e();Ee(h,s);for(let l=0;l<this.path.length;l++){const u=this.path[l];!d&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Gc(h,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),wc(u.latestValues)&&Gc(h,u.latestValues)}return wc(this.latestValues)&&Gc(h,this.latestValues),h}removeTransform(s){const d=_e();Ee(d,s);for(let h=0;h<this.path.length;h++){const l=this.path[h];if(!l.instance||!wc(l.latestValues))continue;ew(l.latestValues)&&l.updateSnapshot();const u=_e(),p=l.measurePageBox();Ee(u,p),nN(d,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,u)}return wc(this.latestValues)&&nN(d,this.latestValues),d}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Se.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const h=!!this.resumingFrom||this!==d;if(!(s||h&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:p}=this.options;if(!(!this.layout||!(u||p))){if(this.resolvedRelativeTargetAt=Se.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=_e(),this.relativeTargetOrigin=_e(),V1(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),Ee(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=_e(),this.targetWithTransforms=_e()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Kle(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ee(this.target,this.layout.layoutBox),O$(this.target,this.targetDelta)):Ee(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const y=this.getClosestProjectingParent();y&&!!y.resumingFrom==!!this.resumingFrom&&!y.options.layoutScroll&&y.target&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=_e(),this.relativeTargetOrigin=_e(),V1(this.relativeTargetOrigin,this.target,y.target),Ee(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||ew(this.parent.latestValues)||E$(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const s=this.getLead(),d=!!this.resumingFrom||this!==s;let h=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(h=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(h=!1),this.resolvedRelativeTargetAt===Se.timestamp&&(h=!1),h)return;const{layout:l,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(l||u))return;Ee(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;ile(this.layoutCorrected,this.treeScale,this.path,d),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=_e());const{target:m}=s;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(eN(this.prevProjectionDelta.x,this.projectionDelta.x),eN(this.prevProjectionDelta.y,this.projectionDelta.y)),z1(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!sN(this.projectionDelta.x,this.prevProjectionDelta.x)||!sN(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.visualElement?.scheduleRender(),s){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Kc(),this.projectionDelta=Kc(),this.projectionDeltaWithTransform=Kc()}setAnimationOrigin(s,d=!1){const h=this.snapshot,l=h?h.latestValues:{},u={...this.latestValues},p=Kc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=_e(),m=h?h.source:void 0,f=this.layout?this.layout.source:void 0,g=m!==f,M=this.getStack(),x=!M||M.members.length<=1,v=!!(g&&!x&&this.options.crossfade===!0&&!this.path.some(Dhe));this.animationProgress=0;let L;this.mixTargetDelta=w=>{const C=w/1e3;uN(p.x,s.x,C),uN(p.y,s.y,C),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(V1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Hhe(this.relativeTarget,this.relativeTargetOrigin,y,C),L&&Lhe(this.relativeTarget,L)&&(this.isProjectionDirty=!1),L||(L=_e()),Ee(L,this.relativeTarget)),g&&(this.animationValues=u,fhe(u,l,this.latestValues,C,v,x)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(vt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ke.update(()=>{eL.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=zc(0)),this.currentAnimation=uhe(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),s.onUpdate&&s.onUpdate(d)},onStop:()=>{},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(whe),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:d,target:h,layout:l,latestValues:u}=s;if(!(!d||!h||!l)){if(this!==s&&this.layout&&l&&pq(this.options.animationType,this.layout.layoutBox,l.layoutBox)){h=this.target||_e();const p=Ve(this.layout.layoutBox.x);h.x.min=s.target.x.min,h.x.max=h.x.min+p;const y=Ve(this.layout.layoutBox.y);h.y.min=s.target.y.min,h.y.max=h.y.min+y}Ee(d,h),Gc(d,u),z1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Ihe),this.sharedNodes.get(s).add(d);const l=d.options.initialPromotionConfig;d.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(d):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){const{layoutId:s}=this.options;return s?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:s}=this.options;return s?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:d,preserveFollowOpacity:h}={}){const l=this.getStack();l&&l.promote(this,h),s&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let d=!1;const{latestValues:h}=s;if((h.z||h.rotate||h.rotateX||h.rotateY||h.rotateZ||h.skewX||h.skewY)&&(d=!0),!d)return;const l={};h.z&&XL("z",s,l,this.animationValues);for(let u=0;u<ZL.length;u++)XL(`rotate${ZL[u]}`,s,l,this.animationValues),XL(`skew${ZL[u]}`,s,l,this.animationValues);s.render();for(const u in l)s.setStaticValue(u,l[u]),this.animationValues&&(this.animationValues[u]=l[u]);s.scheduleRender()}applyProjectionStyles(s,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const h=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=Q_(d?.pointerEvents)||"",s.transform=h?h(this.latestValues,""):"none";return}const l=this.getLead();if(!this.projectionDelta||!this.layout||!l.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=Q_(d?.pointerEvents)||""),this.hasProjected&&!wc(this.latestValues)&&(s.transform=h?h({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=l.animationValues||l.latestValues;this.applyTransformsToTarget();let p=bhe(this.projectionDeltaWithTransform,this.treeScale,u);h&&(p=h(u,p)),s.transform=p;const{x:y,y:m}=this.projectionDelta;s.transformOrigin=`${y.origin*100}% ${m.origin*100}% 0`,l.animationValues?s.opacity=l===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=l===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const f in R1){if(u[f]===void 0)continue;const{correct:g,applyTo:M,isCSSVariable:x}=R1[f],v=p==="none"?u[f]:g(u[f],l);if(M){const L=M.length;for(let w=0;w<L;w++)s[M[w]]=v}else x?this.options.visualElement.renderState.vars[f]=v:s[f]=v}this.options.layoutId&&(s.pointerEvents=l===this?Q_(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(dN),this.root.sharedNodes.clear()}}}function Nhe(e){e.updateLayout()}function She(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:c}=e.layout,{animationType:i}=e.options,r=t.source!==e.layout.source;i==="size"?We(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Ve(p);p.min=n[u].min,p.max=p.min+y}):pq(i,t.layoutBox,n)&&We(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Ve(n[u]);p.max=p.min+y,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[u].max=e.relativeTarget[u].min+y)});const s=Kc();z1(s,n,t.layoutBox);const d=Kc();r?z1(d,e.applyTransform(c,!0),t.measuredBox):z1(d,n,t.layoutBox);const h=!dq(s);let l=!1;if(!e.resumeFrom){const u=e.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:p,layout:y}=u;if(p&&y){const m=_e();V1(m,t.layoutBox,p.layoutBox);const f=_e();V1(f,n,y.layoutBox),lq(m,f)||(l=!0),u.options.layoutRoot&&(e.relativeTarget=f,e.relativeTargetOrigin=m,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:d,layoutDelta:s,hasLayoutChanged:h,hasRelativeLayoutChanged:l})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function jhe(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function $he(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function qhe(e){e.clearSnapshot()}function dN(e){e.clearMeasurements()}function lN(e){e.isLayoutDirty=!1}function Ahe(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function hN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function zhe(e){e.resolveTargetDelta()}function Vhe(e){e.calcProjection()}function Phe(e){e.resetSkewAndRotation()}function The(e){e.removeLeadSnapshot()}function uN(e,t,n){e.translate=fe(t.translate,0,n),e.scale=fe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function pN(e,t,n,c){e.min=fe(t.min,n.min,c),e.max=fe(t.max,n.max,c)}function Hhe(e,t,n,c){pN(e.x,t.x,n.x,c),pN(e.y,t.y,n.y,c)}function Dhe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Bhe={duration:.45,ease:[.4,0,.1,1]},yN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),kN=yN("applewebkit/")&&!yN("chrome/")?Math.round:Ze;function mN(e){e.min=kN(e.min),e.max=kN(e.max)}function Rhe(e){mN(e.x),mN(e.y)}function pq(e,t,n){return e==="position"||e==="preserve-aspect"&&!Gle(rN(t),rN(n),.2)}function Fhe(e){return e!==e.root&&e.scroll?.wasRoot}const Ehe=uq({attachResizeListener:(e,t)=>F1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),YL={current:void 0},yq=uq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!YL.current){const e=new Ehe({});e.mount(window),e.setOptions({layoutScroll:!0}),YL.current=e}return YL.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Ohe={pan:{Feature:she},drag:{Feature:rhe,ProjectionNode:yq,MeasureLayout:iq}};function fN(e,t,n){const{props:c}=e;e.animationState&&c.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=c[i];r&&ke.postRender(()=>r(t,G1(t)))}class Uhe extends Vt{mount(){const{current:t}=this.node;t&&(this.unmount=l0e(t,(n,c)=>(fN(this.node,c,"Start"),i=>fN(this.node,i,"End"))))}unmount(){}}class Whe extends Vt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=O1(F1(this.node.current,"focus",()=>this.onFocus()),F1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function gN(e,t,n){const{props:c}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&c.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=c[i];r&&ke.postRender(()=>r(t,G1(t)))}class Ghe extends Vt{mount(){const{current:t}=this.node;t&&(this.unmount=y0e(t,(n,c)=>(gN(this.node,c,"Start"),(i,{success:r})=>gN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const rw=new WeakMap,JL=new WeakMap,Khe=e=>{const t=rw.get(e.target);t&&t(e)},Zhe=e=>{e.forEach(Khe)};function Xhe({root:e,...t}){const n=e||document;JL.has(n)||JL.set(n,{});const c=JL.get(n),i=JSON.stringify(t);return c[i]||(c[i]=new IntersectionObserver(Zhe,{root:e,...t})),c[i]}function Yhe(e,t,n){const c=Xhe(t);return rw.set(e,n),c.observe(e),()=>{rw.delete(e),c.unobserve(e)}}const Jhe={some:0,all:1};class Qhe extends Vt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:c,amount:i="some",once:r}=t,s={root:n?n.current:void 0,rootMargin:c,threshold:typeof i=="number"?i:Jhe[i]},d=h=>{const{isIntersecting:l}=h;if(this.isInView===l||(this.isInView=l,r&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:u,onViewportLeave:p}=this.node.getProps(),y=l?u:p;y&&y(h)};return Yhe(this.node.current,s,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(eue(t,n))&&this.startObserver()}unmount(){}}function eue({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const tue={inView:{Feature:Qhe},tap:{Feature:Ghe},focus:{Feature:Whe},hover:{Feature:Uhe}},aue={layout:{ProjectionNode:yq,MeasureLayout:iq}},nue={...Rle,...tue,...Ohe,...aue},Ow=nle(nue,mle);function kq(e){const t=zt(()=>zc(e)),{isStatic:n}=k.useContext(kL);if(n){const[,c]=k.useState(e);k.useEffect(()=>t.on("change",c),[])}return t}function mq(e,t){const n=kq(t()),c=()=>n.set(t());return c(),pw(()=>{const i=()=>ke.preRender(c,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),vt(c)}}),n}function oue(e){q1.current=[],e();const t=mq(q1.current,e);return q1.current=void 0,t}function cue(e,t,n,c){if(typeof e=="function")return oue(e);const i=typeof t=="function"?t:m0e(t,n,c);return Array.isArray(e)?vN(e,i):vN([e],([r])=>i(r))}function vN(e,t){const n=zt(()=>[]);return mq(e,()=>{n.length=0;const c=e.length;for(let i=0;i<c;i++)n[i]=e[i].get();return t(n)})}class iue{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(c=>{c.start(t.nativeEvent||t,n)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const rue=()=>new iue;function sue(){return zt(rue)}const fq=k.createContext(null);function due(e,t,n,c){if(!c)return e;const i=e.findIndex(u=>u.value===t);if(i===-1)return e;const r=c>0?1:-1,s=e[i+r];if(!s)return e;const d=e[i],h=s.layout,l=fe(h.min,h.max,.5);return r===1&&d.layout.max+n>l||r===-1&&d.layout.min+n<l?_2e(e,i,i+r):e}function lue({children:e,as:t="ul",axis:n="y",onReorder:c,values:i,...r},s){const d=zt(()=>Ow[t]),h=[],l=k.useRef(!1);et(!!i,"Reorder.Group must be provided a values prop","reorder-values");const u={axis:n,registerItem:(p,y)=>{const m=h.findIndex(f=>p===f.value);m!==-1?h[m].layout=y[n]:h.push({value:p,layout:y[n]}),h.sort(pue)},updateOrder:(p,y,m)=>{if(l.current)return;const f=due(h,p,y,m);h!==f&&(l.current=!0,c(f.map(uue).filter(g=>i.indexOf(g)!==-1)))}};return k.useEffect(()=>{l.current=!1}),o.jsx(d,{...r,ref:s,ignoreStrict:!0,children:o.jsx(fq.Provider,{value:u,children:e})})}const hue=k.forwardRef(lue);function uue(e){return e.value}function pue(e,t){return e.layout.min-t.layout.min}function MN(e,t=0){return je(e)?e:kq(t)}function yue({children:e,style:t={},value:n,as:c="li",onDrag:i,layout:r=!0,...s},d){const h=zt(()=>Ow[c]),l=k.useContext(fq),u={x:MN(t.x),y:MN(t.y)},p=cue([u.x,u.y],([g,M])=>g||M?1:"unset");et(!!l,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:m,updateOrder:f}=l;return o.jsx(h,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(g,M)=>{const{velocity:x}=M;x[y]&&f(n,u[y].get(),x[y]),i&&i(g,M)},onLayoutMeasure:g=>m(n,g),ref:d,ignoreStrict:!0,children:e})}const kue=k.forwardRef(yue),lL=[o.jsx(j1,{size:18}),o.jsx(Ct,{size:18}),o.jsx(N1,{size:18}),o.jsx(Nt,{size:18}),o.jsx(v1,{size:18}),o.jsx(g1,{size:18})],mue=({items:e,onReorder:t,draggable:n=!1,className:c,header:i,headerStyle:r,itemsDraggable:s=!0})=>{const[d,h]=k.useState(e??[]);return k.useEffect(()=>{e&&Array.isArray(e)?(e.forEach((l,u)=>{if(l.icon==null&&(l.icon=lL[u%lL.length]),typeof l.text=="string"&&l.text.includes("/")){const p=String(l.text).split("/"),y=p[0].trim(),f=p.slice(1).join("/").trim().match(/^(\d+)(.*)$/);if(f){const g=f[1],M=f[2]??"",x=g.padStart(3,"0");l.text=`${y} / ${x}${M}`}}}),h(e)):h([])},[e]),o.jsxs("div",{className:`trend-list ${c??""}`,draggable:n,style:{position:"relative"},children:[o.jsx("div",{className:"trend-header",style:r,children:i??"Trend"}),o.jsx("div",{className:"trend-list-body",style:{opacity:n?0:1},children:o.jsx(hue,{axis:"y",values:d,onReorder:l=>{h(l),t?.(l)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((l,u)=>o.jsx(fue,{value:l,index:u,itemsDraggable:s},String(l.id)))})}),n&&o.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:o.jsx(a.Move,{size:48,strokeWidth:1.5,style:{opacity:.8}})})]})};function fue({value:e,index:t}){const n=sue(),c=lL[t%lL.length]??null;return o.jsx(kue,{value:e,dragListener:!1,dragControls:n,style:{listStyle:"none"},onDragStart:()=>{try{document.body.classList.add("is-dragging")}catch{}},onDragEnd:()=>{try{document.body.classList.remove("is-dragging")}catch{}},children:o.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[o.jsx("div",{className:"reorder-handle","aria-hidden":!0,onPointerDown:i=>n.start(i),style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",userSelect:"none"},children:o.jsx("svg",{width:"25",height:"25",viewBox:"0 0 24 24","aria-hidden":!0,children:o.jsxs("g",{fill:"currentColor",children:[o.jsx("circle",{cx:"8",cy:"6",r:"2"}),o.jsx("circle",{cx:"16",cy:"6",r:"2"}),o.jsx("circle",{cx:"8",cy:"12",r:"2"}),o.jsx("circle",{cx:"16",cy:"12",r:"2"}),o.jsx("circle",{cx:"8",cy:"18",r:"2"}),o.jsx("circle",{cx:"16",cy:"18",r:"2"})]})})}),o.jsx("div",{style:{flex:1},children:o.jsx(Pj,{title:e.title,subtitle:e.subtitle,text:e.text,background:e.background,titleStyle:e.titleStyle,subtitleStyle:e.subtitleStyle,textStyle:e.textStyle,itemStyle:e.itemStyle,icon:e.icon??c})})]})})}function gue(e,t){return t.required?t.type==="checkbox"&&!e?{isValid:!1,error:`${t.label} est requis`}:!e||typeof e=="string"&&e.trim()===""?{isValid:!1,error:`${t.label} est requis`}:null:null}function vue(e){return!e||typeof e=="string"&&e.trim()===""}function Mue(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function xue(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function _ue(e,t){const n=Number(e);return isNaN(n)?{isValid:!1,error:"Doit être un nombre valide"}:t.validation?.min!==void 0&&n<Number(t.validation.min)?{isValid:!1,error:`Doit être ≥ ${t.validation.min}`}:t.validation?.max!==void 0&&n>Number(t.validation.max)?{isValid:!1,error:`Doit être ≤ ${t.validation.max}`}:null}function Lue(e,t){return t.validation?.minDate&&new Date(e)<new Date(t.validation.minDate)?{isValid:!1,error:`Doit être après ${t.validation.minDate}`}:t.validation?.maxDate&&new Date(e)>new Date(t.validation.maxDate)?{isValid:!1,error:`Doit être avant ${t.validation.maxDate}`}:null}function Iue(e,t){if(t.validation?.acceptedTypes){const n=t.validation.acceptedTypes.split(","),c=e.type;if(!n.some(i=>c.match(i.replace("*",".*"))))return{isValid:!1,error:`Type de fichier non supporté: ${c}`}}return t.validation?.maxFileSize&&e.size>t.validation.maxFileSize?{isValid:!1,error:`Fichier trop volumineux (max ${t.validation.maxFileSize/1048576}MB)`}:null}function bue(e,t){return t.validation?t.validation.minLength&&e.length<t.validation.minLength?{isValid:!1,error:`Minimum ${t.validation.minLength} caractères`}:t.validation.maxLength&&e.length>t.validation.maxLength?{isValid:!1,error:`Maximum ${t.validation.maxLength} caractères`}:t.validation.pattern&&!new RegExp(t.validation.pattern).test(e)?{isValid:!1,error:"Format invalide"}:null:null}function hL(e,t){const n=gue(e,t);if(n)return n;if(vue(e))return{isValid:!0};const c=e.toString();switch(t.type){case"email":{const r=Mue(c);if(r)return r;break}case"url":{const r=xue(c);if(r)return r;break}case"number":{const r=_ue(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=Lue(e,t);if(r)return r;break}case"file":{const r=Iue(e,t);if(r)return r;break}}const i=bue(c,t);return i||{isValid:!0}}function gq(e,t){const n={};let c=!0;for(const i of t){const r=hL(e[i.name],i);r.isValid||(n[i.name]=r.error,c=!1)}return{isValid:c,errors:n}}const wue="_formContainer_14ads_1",Cue="_headerLine_14ads_17",Nue="_formTitle_14ads_25",Sue="_formDescription_14ads_30",jue="_sectionTitle_14ads_37",$ue="_sectionHelp_14ads_44",que="_fieldHelp_14ads_50",Aue="_gridContainer_14ads_58",zue="_fieldGridItem_14ads_70",Vue="_sectionFull_14ads_105",Pue="_formFooter_14ads_110",Tue="_footerLeft_14ads_118",Hue="_footerRight_14ads_119",Due="_cancelLink_14ads_125",Bue="_submitButton_14ads_136",Rue="_fieldLabel_14ads_148",Fue="_inputWrapper_14ads_163",Eue="_inputInner_14ads_187",Oue="_hasPrefix_14ads_196",Uue="_inputBase_14ads_196",Wue="_iconPrefix_14ads_292",Gue="_iconSuffix_14ads_293",Kue="_passwordToggle_14ads_319",Zue="_fieldError_14ads_365",Xue="_fieldInvalid_14ads_372",ye={formContainer:wue,headerLine:Cue,formTitle:Nue,formDescription:Sue,sectionTitle:jue,sectionHelp:$ue,fieldHelp:que,gridContainer:Aue,fieldGridItem:zue,sectionFull:Vue,formFooter:Pue,footerLeft:Tue,footerRight:Hue,cancelLink:Due,submitButton:Bue,fieldLabel:Rue,inputWrapper:Fue,inputInner:Eue,hasPrefix:Oue,inputBase:Uue,iconPrefix:Wue,iconSuffix:Gue,passwordToggle:Kue,fieldError:Zue,fieldInvalid:Xue},vq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const[s,d]=k.useState(!1),h=e.type==="password",l=e.attributes?.showPasswordToggle??!0,u=h?s?"text":"password":e.type,p=e.attributes?.iconComponent??(e.attributes?.icon?mt[e.attributes.icon]:null),y=e.attributes?.iconPosition??"suffix",m=f=>{n(f.target.value)};return o.jsxs("div",{className:ye.inputWrapper,children:[o.jsx("label",{className:`${ye.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),o.jsxs("div",{className:`${ye.inputInner} ${p&&y==="prefix"?ye.hasPrefix:""}`,children:[p&&y==="prefix"&&o.jsx("span",{className:ye.iconPrefix,children:o.jsx(p,{size:16})}),o.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${ye.inputBase} ${i?ye.fieldInvalid:""}`,value:t??"",onChange:m,onBlur:c,disabled:!!e.disabled,"aria-invalid":!!i,"aria-describedby":e.help?`${e.name}-help`:void 0}),h&&l&&o.jsx("button",{type:"button","aria-label":s?"Masquer le mot de passe":"Afficher le mot de passe",className:ye.passwordToggle,onClick:()=>d(f=>!f),children:s?o.jsx(I1,{size:16}):o.jsx(b1,{size:16})}),p&&y==="suffix"&&!h&&o.jsx("span",{className:ye.iconSuffix,children:o.jsx(p,{size:16})})]}),r&&i&&o.jsx("span",{className:ye.fieldError,children:i})]})},Yue="_fieldGroup_yb3zi_7",Jue="_fieldLabel_yb3zi_11",Que="_required_yb3zi_17",epe="_fieldInput_yb3zi_22",tpe="_fieldInvalid_yb3zi_40",ape="_fieldValid_yb3zi_44",npe="_fieldError_yb3zi_48",ope="_radioGroup_yb3zi_57",jt={fieldGroup:Yue,fieldLabel:Jue,required:Que,fieldInput:epe,fieldInvalid:tpe,fieldValid:ape,fieldError:npe,radioGroup:ope},vL=({field:e,children:t,error:n,touched:c})=>{const i=c&&n;return o.jsxs("div",{className:jt.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&o.jsx("label",{className:`${jt.fieldLabel} ${e.required?jt.required:""}`,children:e.label}),t,i&&o.jsx("span",{className:jt.fieldError,children:n})]})},Mq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,h=["form-control",jt.fieldInput,s?jt.fieldInvalid:"",d?jt.fieldValid:""].filter(Boolean).join(" ");return o.jsx(vL,{field:e,error:i,touched:r,children:o.jsx("textarea",{className:h,placeholder:e.placeholder,value:t||"",onChange:l=>n(l.target.value),onBlur:c,rows:4})})},cpe="_wrapper_117u4_1",ipe="_wrapperInvalid_117u4_15",rpe="_nativeSelect_117u4_19",spe="_display_117u4_30",dpe="_topLabel_117u4_37",lpe="_valueLine_117u4_45",hpe="_valuePlaceholder_117u4_53",upe="_valueActive_117u4_57",ppe="_caret_117u4_61",ype="_error_117u4_75",kpe="_optionStyle_117u4_89",Oe={wrapper:cpe,wrapperInvalid:ipe,nativeSelect:rpe,display:spe,topLabel:dpe,valueLine:lpe,valuePlaceholder:hpe,valueActive:upe,caret:ppe,error:ype,optionStyle:kpe},Uw=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=!!(r&&i),d=e.label||"",h=e.placeholder||"",l=e.options?.find(u=>String(u.value)===String(t))?.label??"";return o.jsxs("div",{className:`${Oe.wrapper} ${s?Oe.wrapperInvalid:""} ${t?Oe.wrapperHasValue:""}`,children:[o.jsxs("select",{id:e.name,name:e.name,className:Oe.nativeSelect,value:t??"",onChange:u=>n(u.target.value),onBlur:c,"aria-invalid":s,"aria-label":d,children:[o.jsx("option",{value:"",disabled:!0,hidden:!0,children:h||`Sélectionnez ${d?.toLowerCase()||""}`}),e.options?.map((u,p)=>o.jsx("option",{value:u.value,className:Oe.optionStyle,children:u.label},p))]}),o.jsxs("div",{className:Oe.display,children:[d&&o.jsx("span",{className:Oe.topLabel,children:d}),o.jsx("span",{className:`${Oe.valueLine} ${t?Oe.valueActive:Oe.valuePlaceholder}`,children:t?l:h}),o.jsx("span",{className:Oe.caret,"aria-hidden":"true"})]}),s&&o.jsx("span",{className:Oe.error,children:i})]})},xq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx(vL,{field:e,error:i,touched:r,children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{type:"checkbox",className:"form-check-input",id:e.name,checked:!!t,onChange:s=>n(s.target.checked),onBlur:c}),o.jsx("label",{className:"form-check-label",htmlFor:e.name,children:e.label})]})}),_q=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx(vL,{field:e,error:i,touched:r,children:o.jsx("div",{className:jt.radioGroup,children:e.options?.map(s=>o.jsxs("div",{className:"form-check",children:[o.jsx("input",{type:"radio",className:"form-check-input",id:`${e.name}-${s.value}`,name:e.name,value:s.value,checked:t===s.value,onChange:d=>n(d.target.value),onBlur:c}),o.jsx("label",{className:"form-check-label",htmlFor:`${e.name}-${s.value}`,children:s.label})]},s.value))})}),mpe="_fileInputContainer_r2guc_3",fpe="_customFileInput_r2guc_8",gpe="_fileInputLabel_r2guc_12",vpe="_dragOver_r2guc_39",Mpe="_uploadIcon_r2guc_44",xpe="_uploadText_r2guc_50",_pe="_uploadHint_r2guc_56",Lpe="_fileList_r2guc_60",Ipe="_fileListTitle_r2guc_69",bpe="_fileItem_r2guc_80",wpe="_fileIcon_r2guc_96",Cpe="_fileName_r2guc_102",Npe="_fileSize_r2guc_108",Spe="_removeButton_r2guc_114",jpe="_errorText_r2guc_129",qe={fileInputContainer:mpe,customFileInput:fpe,fileInputLabel:gpe,dragOver:vpe,uploadIcon:Mpe,uploadText:xpe,uploadHint:_pe,fileList:Lpe,fileListTitle:Ipe,fileItem:bpe,fileIcon:wpe,fileName:Cpe,fileSize:Npe,removeButton:Spe,errorText:jpe},Lq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=k.useRef(null),[d,h]=k.useState(!1),l=M=>{n(M.target.files)},u=()=>{s.current&&s.current.click()},p=M=>{M.preventDefault(),h(!0)},y=()=>{h(!1)},m=M=>{M.preventDefault(),h(!1),M.dataTransfer.files&&M.dataTransfer.files.length>0&&n(M.dataTransfer.files)},f=M=>{if(!t)return;const x=Array.from(t);x.splice(M,1);const v=new DataTransfer;x.forEach(L=>v.items.add(L)),n(v.files)},g=M=>{if(M===0)return"0 Bytes";const x=1024,v=["Bytes","KB","MB","GB"],L=Math.floor(Math.log(M)/Math.log(x));return parseFloat((M/Math.pow(x,L)).toFixed(2))+" "+v[L]};return o.jsxs("div",{className:`${qe.fileInputContainer} ${r&&i?qe.hasError:""}`,children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsx("input",{type:"file",id:e.name,name:e.name,multiple:e.attributes?.multiple||!1,accept:e.attributes?.accept,onChange:l,onBlur:c,ref:s,className:qe.customFileInput}),o.jsxs("label",{htmlFor:e.name,className:`${qe.fileInputLabel} ${d?qe.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:m,onClick:u,tabIndex:0,children:[o.jsx("div",{className:qe.uploadIcon,children:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor",viewBox:"0 0 16 16",children:[o.jsx("path",{d:"M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"}),o.jsx("path",{d:"M7.646 1.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 2.707V11.5a.5.5 0 0 1-1 0V2.707L5.354 4.854a.5.5 0 1 1-.708-.708l3-3z"})]})}),o.jsx("div",{className:qe.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),o.jsxs("div",{className:qe.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&o.jsxs("div",{className:qe.fileList,children:[o.jsx("div",{className:qe.fileListTitle,children:"Fichiers sélectionnés:"}),o.jsx("ul",{children:Array.from(t).map((M,x)=>o.jsxs("li",{className:qe.fileItem,children:[o.jsx("div",{className:qe.fileIcon,children:o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:o.jsx("path",{d:"M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3z"})})}),o.jsx("div",{className:qe.fileName,children:M.name}),o.jsx("div",{className:qe.fileSize,children:g(M.size)}),o.jsx("button",{type:"button",className:qe.removeButton,onClick:v=>{v.stopPropagation(),f(x)},"aria-label":`Supprimer ${M.name}`,children:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:[o.jsx("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),o.jsx("path",{fillRule:"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})]})})]},x))})]}),r&&i&&o.jsx("div",{className:qe.errorText,children:i})]})},$pe="_container_ecah4_2",qpe="_label_ecah4_6",Ape="_requiredIndicator_ecah4_13",zpe="_input_ecah4_18",Vpe="_inputError_ecah4_49",Ppe="_errorMessage_ecah4_58",Rc={container:$pe,label:qpe,requiredIndicator:Ape,input:zpe,inputError:Vpe,errorMessage:Ppe},Iq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r,labelColor:s="black",backgroundColor:d="white"})=>{const h=e.type==="month"?"month":e.type==="week"?"week":e.type==="time"?"time":e.type==="datetime-local"?"datetime-local":"date";return o.jsxs("div",{className:Rc.container,children:[o.jsxs("label",{htmlFor:e.name,className:Rc.label,style:{color:s},children:[e.label,e.required&&o.jsx("span",{className:Rc.requiredIndicator,children:"*"})]}),o.jsx("input",{type:h,id:e.name,name:e.name,value:t||"",onChange:l=>n(l.target.value),onBlur:c,className:`${Rc.input} ${r&&i?Rc.inputError:""}`,style:{color:s,backgroundColor:d},min:e.validation?.min,max:e.validation?.max,step:e.type==="time"?e.attributes?.step:void 0,disabled:e.disabled}),r&&i&&o.jsx("div",{className:Rc.errorMessage,children:i})]})},Tpe="_rangeContainer_cyqk3_3",Hpe={rangeContainer:Tpe},bq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsxs("div",{className:`mb-3 ${Hpe.rangeContainer}`,children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,": ",t,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsx("input",{type:"range",id:e.name,name:e.name,value:t||0,onChange:s=>n(s.target.value),onBlur:c,className:`form-range ${r&&i?"is-invalid":""}`,min:e.validation?.min||0,max:e.validation?.max||100,step:e.attributes?.step||1}),r&&i&&o.jsx("div",{className:"invalid-feedback",children:i})]}),Dpe="_colorPickerContainer_1wxgj_2",Bpe="_colorInput_1wxgj_19",Rpe="_colorValue_1wxgj_39",QL={colorPickerContainer:Dpe,colorInput:Bpe,colorValue:Rpe},wq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsxs("div",{className:"mb-3",children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsxs("div",{className:QL.colorPickerContainer,children:[o.jsx("input",{type:"color",id:e.name,name:e.name,value:t||"#000000",onChange:s=>n(s.target.value),onBlur:c,className:QL.colorInput}),o.jsx("span",{className:QL.colorValue,children:t})]}),r&&i&&o.jsx("div",{className:"invalid-feedback",children:i})]}),Cq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=["date","month","week","time","datetime-local"];if(e.type==="file")return o.jsx(Lq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(s.includes(e.type))return o.jsx(Iq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="range")return o.jsx(bq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="color")return o.jsx(wq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});switch(e.type){case"textarea":return o.jsx(Mq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"select":return o.jsx(Uw,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"checkbox":return o.jsx(xq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"radio":return o.jsx(_q,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});default:return o.jsx(vq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})}};var eI,xN;function Fpe(){if(xN)return eI;xN=1;function e(){this.__data__=[],this.size=0}return eI=e,eI}var tI,_N;function Nq(){if(_N)return tI;_N=1;function e(t,n){return t===n||t!==t&&n!==n}return tI=e,tI}var aI,LN;function ML(){if(LN)return aI;LN=1;var e=Nq();function t(n,c){for(var i=n.length;i--;)if(e(n[i][0],c))return i;return-1}return aI=t,aI}var nI,IN;function Epe(){if(IN)return nI;IN=1;var e=ML(),t=Array.prototype,n=t.splice;function c(i){var r=this.__data__,s=e(r,i);if(s<0)return!1;var d=r.length-1;return s==d?r.pop():n.call(r,s,1),--this.size,!0}return nI=c,nI}var oI,bN;function Ope(){if(bN)return oI;bN=1;var e=ML();function t(n){var c=this.__data__,i=e(c,n);return i<0?void 0:c[i][1]}return oI=t,oI}var cI,wN;function Upe(){if(wN)return cI;wN=1;var e=ML();function t(n){return e(this.__data__,n)>-1}return cI=t,cI}var iI,CN;function Wpe(){if(CN)return iI;CN=1;var e=ML();function t(n,c){var i=this.__data__,r=e(i,n);return r<0?(++this.size,i.push([n,c])):i[r][1]=c,this}return iI=t,iI}var rI,NN;function xL(){if(NN)return rI;NN=1;var e=Fpe(),t=Epe(),n=Ope(),c=Upe(),i=Wpe();function r(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var l=s[d];this.set(l[0],l[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,rI=r,rI}var sI,SN;function Gpe(){if(SN)return sI;SN=1;var e=xL();function t(){this.__data__=new e,this.size=0}return sI=t,sI}var dI,jN;function Kpe(){if(jN)return dI;jN=1;function e(t){var n=this.__data__,c=n.delete(t);return this.size=n.size,c}return dI=e,dI}var lI,$N;function Zpe(){if($N)return lI;$N=1;function e(t){return this.__data__.get(t)}return lI=e,lI}var hI,qN;function Xpe(){if(qN)return hI;qN=1;function e(t){return this.__data__.has(t)}return hI=e,hI}var uI,AN;function Sq(){if(AN)return uI;AN=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return uI=e,uI}var pI,zN;function Mt(){if(zN)return pI;zN=1;var e=Sq(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return pI=n,pI}var yI,VN;function Ww(){if(VN)return yI;VN=1;var e=Mt(),t=e.Symbol;return yI=t,yI}var kI,PN;function Ype(){if(PN)return kI;PN=1;var e=Ww(),t=Object.prototype,n=t.hasOwnProperty,c=t.toString,i=e?e.toStringTag:void 0;function r(s){var d=n.call(s,i),h=s[i];try{s[i]=void 0;var l=!0}catch{}var u=c.call(s);return l&&(d?s[i]=h:delete s[i]),u}return kI=r,kI}var mI,TN;function Jpe(){if(TN)return mI;TN=1;var e=Object.prototype,t=e.toString;function n(c){return t.call(c)}return mI=n,mI}var fI,HN;function _L(){if(HN)return fI;HN=1;var e=Ww(),t=Ype(),n=Jpe(),c="[object Null]",i="[object Undefined]",r=e?e.toStringTag:void 0;function s(d){return d==null?d===void 0?i:c:r&&r in Object(d)?t(d):n(d)}return fI=s,fI}var gI,DN;function jq(){if(DN)return gI;DN=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return gI=e,gI}var vI,BN;function $q(){if(BN)return vI;BN=1;var e=_L(),t=jq(),n="[object AsyncFunction]",c="[object Function]",i="[object GeneratorFunction]",r="[object Proxy]";function s(d){if(!t(d))return!1;var h=e(d);return h==c||h==i||h==n||h==r}return vI=s,vI}var MI,RN;function Qpe(){if(RN)return MI;RN=1;var e=Mt(),t=e["__core-js_shared__"];return MI=t,MI}var xI,FN;function eye(){if(FN)return xI;FN=1;var e=Qpe(),t=function(){var c=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}();function n(c){return!!t&&t in c}return xI=n,xI}var _I,EN;function qq(){if(EN)return _I;EN=1;var e=Function.prototype,t=e.toString;function n(c){if(c!=null){try{return t.call(c)}catch{}try{return c+""}catch{}}return""}return _I=n,_I}var LI,ON;function tye(){if(ON)return LI;ON=1;var e=$q(),t=eye(),n=jq(),c=qq(),i=/[\\^$.*+?()[\]{}|]/g,r=/^\[object .+?Constructor\]$/,s=Function.prototype,d=Object.prototype,h=s.toString,l=d.hasOwnProperty,u=RegExp("^"+h.call(l).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(y){if(!n(y)||t(y))return!1;var m=e(y)?u:r;return m.test(c(y))}return LI=p,LI}var II,UN;function aye(){if(UN)return II;UN=1;function e(t,n){return t?.[n]}return II=e,II}var bI,WN;function r1(){if(WN)return bI;WN=1;var e=tye(),t=aye();function n(c,i){var r=t(c,i);return e(r)?r:void 0}return bI=n,bI}var wI,GN;function Gw(){if(GN)return wI;GN=1;var e=r1(),t=Mt(),n=e(t,"Map");return wI=n,wI}var CI,KN;function LL(){if(KN)return CI;KN=1;var e=r1(),t=e(Object,"create");return CI=t,CI}var NI,ZN;function nye(){if(ZN)return NI;ZN=1;var e=LL();function t(){this.__data__=e?e(null):{},this.size=0}return NI=t,NI}var SI,XN;function oye(){if(XN)return SI;XN=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return SI=e,SI}var jI,YN;function cye(){if(YN)return jI;YN=1;var e=LL(),t="__lodash_hash_undefined__",n=Object.prototype,c=n.hasOwnProperty;function i(r){var s=this.__data__;if(e){var d=s[r];return d===t?void 0:d}return c.call(s,r)?s[r]:void 0}return jI=i,jI}var $I,JN;function iye(){if(JN)return $I;JN=1;var e=LL(),t=Object.prototype,n=t.hasOwnProperty;function c(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return $I=c,$I}var qI,QN;function rye(){if(QN)return qI;QN=1;var e=LL(),t="__lodash_hash_undefined__";function n(c,i){var r=this.__data__;return this.size+=this.has(c)?0:1,r[c]=e&&i===void 0?t:i,this}return qI=n,qI}var AI,eS;function sye(){if(eS)return AI;eS=1;var e=nye(),t=oye(),n=cye(),c=iye(),i=rye();function r(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var l=s[d];this.set(l[0],l[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,AI=r,AI}var zI,tS;function dye(){if(tS)return zI;tS=1;var e=sye(),t=xL(),n=Gw();function c(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return zI=c,zI}var VI,aS;function lye(){if(aS)return VI;aS=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return VI=e,VI}var PI,nS;function IL(){if(nS)return PI;nS=1;var e=lye();function t(n,c){var i=n.__data__;return e(c)?i[typeof c=="string"?"string":"hash"]:i.map}return PI=t,PI}var TI,oS;function hye(){if(oS)return TI;oS=1;var e=IL();function t(n){var c=e(this,n).delete(n);return this.size-=c?1:0,c}return TI=t,TI}var HI,cS;function uye(){if(cS)return HI;cS=1;var e=IL();function t(n){return e(this,n).get(n)}return HI=t,HI}var DI,iS;function pye(){if(iS)return DI;iS=1;var e=IL();function t(n){return e(this,n).has(n)}return DI=t,DI}var BI,rS;function yye(){if(rS)return BI;rS=1;var e=IL();function t(n,c){var i=e(this,n),r=i.size;return i.set(n,c),this.size+=i.size==r?0:1,this}return BI=t,BI}var RI,sS;function Aq(){if(sS)return RI;sS=1;var e=dye(),t=hye(),n=uye(),c=pye(),i=yye();function r(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var l=s[d];this.set(l[0],l[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,RI=r,RI}var FI,dS;function kye(){if(dS)return FI;dS=1;var e=xL(),t=Gw(),n=Aq(),c=200;function i(r,s){var d=this.__data__;if(d instanceof e){var h=d.__data__;if(!t||h.length<c-1)return h.push([r,s]),this.size=++d.size,this;d=this.__data__=new n(h)}return d.set(r,s),this.size=d.size,this}return FI=i,FI}var EI,lS;function mye(){if(lS)return EI;lS=1;var e=xL(),t=Gpe(),n=Kpe(),c=Zpe(),i=Xpe(),r=kye();function s(d){var h=this.__data__=new e(d);this.size=h.size}return s.prototype.clear=t,s.prototype.delete=n,s.prototype.get=c,s.prototype.has=i,s.prototype.set=r,EI=s,EI}var OI,hS;function fye(){if(hS)return OI;hS=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return OI=t,OI}var UI,uS;function gye(){if(uS)return UI;uS=1;function e(t){return this.__data__.has(t)}return UI=e,UI}var WI,pS;function vye(){if(pS)return WI;pS=1;var e=Aq(),t=fye(),n=gye();function c(i){var r=-1,s=i==null?0:i.length;for(this.__data__=new e;++r<s;)this.add(i[r])}return c.prototype.add=c.prototype.push=t,c.prototype.has=n,WI=c,WI}var GI,yS;function Mye(){if(yS)return GI;yS=1;function e(t,n){for(var c=-1,i=t==null?0:t.length;++c<i;)if(n(t[c],c,t))return!0;return!1}return GI=e,GI}var KI,kS;function xye(){if(kS)return KI;kS=1;function e(t,n){return t.has(n)}return KI=e,KI}var ZI,mS;function zq(){if(mS)return ZI;mS=1;var e=vye(),t=Mye(),n=xye(),c=1,i=2;function r(s,d,h,l,u,p){var y=h&c,m=s.length,f=d.length;if(m!=f&&!(y&&f>m))return!1;var g=p.get(s),M=p.get(d);if(g&&M)return g==d&&M==s;var x=-1,v=!0,L=h&i?new e:void 0;for(p.set(s,d),p.set(d,s);++x<m;){var w=s[x],C=d[x];if(l)var b=y?l(C,w,x,d,s,p):l(w,C,x,s,d,p);if(b!==void 0){if(b)continue;v=!1;break}if(L){if(!t(d,function(_,I){if(!n(L,I)&&(w===_||u(w,_,h,l,p)))return L.push(I)})){v=!1;break}}else if(!(w===C||u(w,C,h,l,p))){v=!1;break}}return p.delete(s),p.delete(d),v}return ZI=r,ZI}var XI,fS;function _ye(){if(fS)return XI;fS=1;var e=Mt(),t=e.Uint8Array;return XI=t,XI}var YI,gS;function Lye(){if(gS)return YI;gS=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i,r){c[++n]=[r,i]}),c}return YI=e,YI}var JI,vS;function Iye(){if(vS)return JI;vS=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i){c[++n]=i}),c}return JI=e,JI}var QI,MS;function bye(){if(MS)return QI;MS=1;var e=Ww(),t=_ye(),n=Nq(),c=zq(),i=Lye(),r=Iye(),s=1,d=2,h="[object Boolean]",l="[object Date]",u="[object Error]",p="[object Map]",y="[object Number]",m="[object RegExp]",f="[object Set]",g="[object String]",M="[object Symbol]",x="[object ArrayBuffer]",v="[object DataView]",L=e?e.prototype:void 0,w=L?L.valueOf:void 0;function C(b,_,I,j,N,S,A){switch(I){case v:if(b.byteLength!=_.byteLength||b.byteOffset!=_.byteOffset)return!1;b=b.buffer,_=_.buffer;case x:return!(b.byteLength!=_.byteLength||!S(new t(b),new t(_)));case h:case l:case y:return n(+b,+_);case u:return b.name==_.name&&b.message==_.message;case m:case g:return b==_+"";case p:var B=i;case f:var T=j&s;if(B||(B=r),b.size!=_.size&&!T)return!1;var V=A.get(b);if(V)return V==_;j|=d,A.set(b,_);var $=c(B(b),B(_),j,N,S,A);return A.delete(b),$;case M:if(w)return w.call(b)==w.call(_)}return!1}return QI=C,QI}var eb,xS;function wye(){if(xS)return eb;xS=1;function e(t,n){for(var c=-1,i=n.length,r=t.length;++c<i;)t[r+c]=n[c];return t}return eb=e,eb}var tb,_S;function Kw(){if(_S)return tb;_S=1;var e=Array.isArray;return tb=e,tb}var ab,LS;function Cye(){if(LS)return ab;LS=1;var e=wye(),t=Kw();function n(c,i,r){var s=i(c);return t(c)?s:e(s,r(c))}return ab=n,ab}var nb,IS;function Nye(){if(IS)return nb;IS=1;function e(t,n){for(var c=-1,i=t==null?0:t.length,r=0,s=[];++c<i;){var d=t[c];n(d,c,t)&&(s[r++]=d)}return s}return nb=e,nb}var ob,bS;function Sye(){if(bS)return ob;bS=1;function e(){return[]}return ob=e,ob}var cb,wS;function jye(){if(wS)return cb;wS=1;var e=Nye(),t=Sye(),n=Object.prototype,c=n.propertyIsEnumerable,i=Object.getOwnPropertySymbols,r=i?function(s){return s==null?[]:(s=Object(s),e(i(s),function(d){return c.call(s,d)}))}:t;return cb=r,cb}var ib,CS;function $ye(){if(CS)return ib;CS=1;function e(t,n){for(var c=-1,i=Array(t);++c<t;)i[c]=n(c);return i}return ib=e,ib}var rb,NS;function bL(){if(NS)return rb;NS=1;function e(t){return t!=null&&typeof t=="object"}return rb=e,rb}var sb,SS;function qye(){if(SS)return sb;SS=1;var e=_L(),t=bL(),n="[object Arguments]";function c(i){return t(i)&&e(i)==n}return sb=c,sb}var db,jS;function Aye(){if(jS)return db;jS=1;var e=qye(),t=bL(),n=Object.prototype,c=n.hasOwnProperty,i=n.propertyIsEnumerable,r=e(function(){return arguments}())?e:function(s){return t(s)&&c.call(s,"callee")&&!i.call(s,"callee")};return db=r,db}var m1={exports:{}},lb,$S;function zye(){if($S)return lb;$S=1;function e(){return!1}return lb=e,lb}m1.exports;var qS;function Vq(){return qS||(qS=1,function(e,t){var n=Mt(),c=zye(),i=t&&!t.nodeType&&t,r=i&&!0&&e&&!e.nodeType&&e,s=r&&r.exports===i,d=s?n.Buffer:void 0,h=d?d.isBuffer:void 0,l=h||c;e.exports=l}(m1,m1.exports)),m1.exports}var hb,AS;function Vye(){if(AS)return hb;AS=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(c,i){var r=typeof c;return i=i??e,!!i&&(r=="number"||r!="symbol"&&t.test(c))&&c>-1&&c%1==0&&c<i}return hb=n,hb}var ub,zS;function Pq(){if(zS)return ub;zS=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return ub=t,ub}var pb,VS;function Pye(){if(VS)return pb;VS=1;var e=_L(),t=Pq(),n=bL(),c="[object Arguments]",i="[object Array]",r="[object Boolean]",s="[object Date]",d="[object Error]",h="[object Function]",l="[object Map]",u="[object Number]",p="[object Object]",y="[object RegExp]",m="[object Set]",f="[object String]",g="[object WeakMap]",M="[object ArrayBuffer]",x="[object DataView]",v="[object Float32Array]",L="[object Float64Array]",w="[object Int8Array]",C="[object Int16Array]",b="[object Int32Array]",_="[object Uint8Array]",I="[object Uint8ClampedArray]",j="[object Uint16Array]",N="[object Uint32Array]",S={};S[v]=S[L]=S[w]=S[C]=S[b]=S[_]=S[I]=S[j]=S[N]=!0,S[c]=S[i]=S[M]=S[r]=S[x]=S[s]=S[d]=S[h]=S[l]=S[u]=S[p]=S[y]=S[m]=S[f]=S[g]=!1;function A(B){return n(B)&&t(B.length)&&!!S[e(B)]}return pb=A,pb}var yb,PS;function Tye(){if(PS)return yb;PS=1;function e(t){return function(n){return t(n)}}return yb=e,yb}var f1={exports:{}};f1.exports;var TS;function Hye(){return TS||(TS=1,function(e,t){var n=Sq(),c=t&&!t.nodeType&&t,i=c&&!0&&e&&!e.nodeType&&e,r=i&&i.exports===c,s=r&&n.process,d=function(){try{var h=i&&i.require&&i.require("util").types;return h||s&&s.binding&&s.binding("util")}catch{}}();e.exports=d}(f1,f1.exports)),f1.exports}var kb,HS;function Tq(){if(HS)return kb;HS=1;var e=Pye(),t=Tye(),n=Hye(),c=n&&n.isTypedArray,i=c?t(c):e;return kb=i,kb}var mb,DS;function Dye(){if(DS)return mb;DS=1;var e=$ye(),t=Aye(),n=Kw(),c=Vq(),i=Vye(),r=Tq(),s=Object.prototype,d=s.hasOwnProperty;function h(l,u){var p=n(l),y=!p&&t(l),m=!p&&!y&&c(l),f=!p&&!y&&!m&&r(l),g=p||y||m||f,M=g?e(l.length,String):[],x=M.length;for(var v in l)(u||d.call(l,v))&&!(g&&(v=="length"||m&&(v=="offset"||v=="parent")||f&&(v=="buffer"||v=="byteLength"||v=="byteOffset")||i(v,x)))&&M.push(v);return M}return mb=h,mb}var fb,BS;function Bye(){if(BS)return fb;BS=1;var e=Object.prototype;function t(n){var c=n&&n.constructor,i=typeof c=="function"&&c.prototype||e;return n===i}return fb=t,fb}var gb,RS;function Rye(){if(RS)return gb;RS=1;function e(t,n){return function(c){return t(n(c))}}return gb=e,gb}var vb,FS;function Fye(){if(FS)return vb;FS=1;var e=Rye(),t=e(Object.keys,Object);return vb=t,vb}var Mb,ES;function Eye(){if(ES)return Mb;ES=1;var e=Bye(),t=Fye(),n=Object.prototype,c=n.hasOwnProperty;function i(r){if(!e(r))return t(r);var s=[];for(var d in Object(r))c.call(r,d)&&d!="constructor"&&s.push(d);return s}return Mb=i,Mb}var xb,OS;function Oye(){if(OS)return xb;OS=1;var e=$q(),t=Pq();function n(c){return c!=null&&t(c.length)&&!e(c)}return xb=n,xb}var _b,US;function Uye(){if(US)return _b;US=1;var e=Dye(),t=Eye(),n=Oye();function c(i){return n(i)?e(i):t(i)}return _b=c,_b}var Lb,WS;function Wye(){if(WS)return Lb;WS=1;var e=Cye(),t=jye(),n=Uye();function c(i){return e(i,n,t)}return Lb=c,Lb}var Ib,GS;function Gye(){if(GS)return Ib;GS=1;var e=Wye(),t=1,n=Object.prototype,c=n.hasOwnProperty;function i(r,s,d,h,l,u){var p=d&t,y=e(r),m=y.length,f=e(s),g=f.length;if(m!=g&&!p)return!1;for(var M=m;M--;){var x=y[M];if(!(p?x in s:c.call(s,x)))return!1}var v=u.get(r),L=u.get(s);if(v&&L)return v==s&&L==r;var w=!0;u.set(r,s),u.set(s,r);for(var C=p;++M<m;){x=y[M];var b=r[x],_=s[x];if(h)var I=p?h(_,b,x,s,r,u):h(b,_,x,r,s,u);if(!(I===void 0?b===_||l(b,_,d,h,u):I)){w=!1;break}C||(C=x=="constructor")}if(w&&!C){var j=r.constructor,N=s.constructor;j!=N&&"constructor"in r&&"constructor"in s&&!(typeof j=="function"&&j instanceof j&&typeof N=="function"&&N instanceof N)&&(w=!1)}return u.delete(r),u.delete(s),w}return Ib=i,Ib}var bb,KS;function Kye(){if(KS)return bb;KS=1;var e=r1(),t=Mt(),n=e(t,"DataView");return bb=n,bb}var wb,ZS;function Zye(){if(ZS)return wb;ZS=1;var e=r1(),t=Mt(),n=e(t,"Promise");return wb=n,wb}var Cb,XS;function Xye(){if(XS)return Cb;XS=1;var e=r1(),t=Mt(),n=e(t,"Set");return Cb=n,Cb}var Nb,YS;function Yye(){if(YS)return Nb;YS=1;var e=r1(),t=Mt(),n=e(t,"WeakMap");return Nb=n,Nb}var Sb,JS;function Jye(){if(JS)return Sb;JS=1;var e=Kye(),t=Gw(),n=Zye(),c=Xye(),i=Yye(),r=_L(),s=qq(),d="[object Map]",h="[object Object]",l="[object Promise]",u="[object Set]",p="[object WeakMap]",y="[object DataView]",m=s(e),f=s(t),g=s(n),M=s(c),x=s(i),v=r;return(e&&v(new e(new ArrayBuffer(1)))!=y||t&&v(new t)!=d||n&&v(n.resolve())!=l||c&&v(new c)!=u||i&&v(new i)!=p)&&(v=function(L){var w=r(L),C=w==h?L.constructor:void 0,b=C?s(C):"";if(b)switch(b){case m:return y;case f:return d;case g:return l;case M:return u;case x:return p}return w}),Sb=v,Sb}var jb,QS;function Qye(){if(QS)return jb;QS=1;var e=mye(),t=zq(),n=bye(),c=Gye(),i=Jye(),r=Kw(),s=Vq(),d=Tq(),h=1,l="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,m=y.hasOwnProperty;function f(g,M,x,v,L,w){var C=r(g),b=r(M),_=C?u:i(g),I=b?u:i(M);_=_==l?p:_,I=I==l?p:I;var j=_==p,N=I==p,S=_==I;if(S&&s(g)){if(!s(M))return!1;C=!0,j=!1}if(S&&!j)return w||(w=new e),C||d(g)?t(g,M,x,v,L,w):n(g,M,_,x,v,L,w);if(!(x&h)){var A=j&&m.call(g,"__wrapped__"),B=N&&m.call(M,"__wrapped__");if(A||B){var T=A?g.value():g,V=B?M.value():M;return w||(w=new e),L(T,V,x,v,w)}}return S?(w||(w=new e),c(g,M,x,v,L,w)):!1}return jb=f,jb}var $b,ej;function e4e(){if(ej)return $b;ej=1;var e=Qye(),t=bL();function n(c,i,r,s,d){return c===i?!0:c==null||i==null||!t(c)&&!t(i)?c!==c&&i!==i:e(c,i,r,s,n,d)}return $b=n,$b}var qb,tj;function t4e(){if(tj)return qb;tj=1;var e=e4e();function t(n,c){return e(n,c)}return qb=t,qb}var a4e=t4e();const n4e=a.getDefaultExportFromCjs(a4e),o4e=({schema:e,initialData:t={},onSubmit:n,submitLabel:c,submitIcon:i,submitIconPosition:r="left",onCancel:s,cancelLabel:d="Retour",cancelIcon:h})=>{const[l,u]=k.useState(t),[p,y]=k.useState({}),[m,f]=k.useState({}),[g,M]=k.useState(!1),x=k.useRef(t);k.useEffect(()=>{n4e(x.current,t)||(u(t),x.current=t)},[t]);const v=(I,j)=>{const N={...l,[I]:j};if(u(N),m[I]){const S=e.fields.find(A=>A.name===I);if(S){const A=hL(j,S);y(B=>({...B,[I]:A.isValid?"":A.error}))}}},L=I=>{if(!m[I]){f(N=>({...N,[I]:!0}));const j=e.fields.find(N=>N.name===I);if(j){const N=hL(l[I],j);y(S=>({...S,[I]:N.isValid?"":N.error}))}}},w=async I=>{I.preventDefault(),M(!0);const j=e.fields.reduce((S,A)=>(A.type!=="section"&&(S[A.name]=!0),S),{});f(j);const N=gq(l,e.fields.filter(S=>S.type!=="section"));if(y(N.errors),N.isValid)try{await n(l)}catch(S){console.error("Erreur lors de la soumission:",S),y(A=>({...A,__global:"Une erreur est survenue lors de la soumission"}))}M(!1)},C=h?mt[h]:null,b=i&&mt[i]||e.submitIcon&&mt[e.submitIcon]||null,_=e.columns&&e.columns>0?Math.floor(e.columns):12;return o.jsxs("div",{className:ye.formContainer,children:[o.jsx("div",{className:ye.headerLine,children:o.jsx("h2",{className:ye.formTitle,children:e.title})}),e.description&&o.jsx("p",{className:ye.formDescription,children:e.description}),p.__global&&o.jsx("div",{className:`alert alert-danger ${ye.globalError}`,children:p.__global}),o.jsxs("form",{onSubmit:w,children:[o.jsx("div",{className:ye.gridContainer,style:{gridTemplateColumns:`repeat(${_}, minmax(0, 1fr))`},children:e.fields.map(I=>{if(I.type==="section")return o.jsxs("div",{className:ye.sectionFull,children:[o.jsx("h5",{className:ye.sectionTitle,children:I.label}),I.help&&o.jsx("p",{className:ye.sectionHelp,children:I.help})]},I.name);const N={gridColumn:`span ${Math.max(1,Math.min(_,I.gridCol??_))}`};return o.jsxs("div",{className:ye.fieldGridItem,style:N,children:[o.jsx(Cq,{field:I,value:l[I.name],onChange:S=>v(I.name,S),onBlur:()=>L(I.name),error:p[I.name],touched:m[I.name]}),I.help&&o.jsx("small",{className:ye.fieldHelp,children:I.help})]},I.name)})}),o.jsxs("div",{className:ye.formFooter,children:[o.jsx("div",{className:ye.footerLeft,children:s&&o.jsxs("button",{type:"button",className:ye.cancelLink,onClick:s,children:[C&&o.jsx(C,{size:16,className:"me-2"})," ",d]})}),o.jsx("div",{className:ye.footerRight,children:o.jsx(tL,{type:"submit",variant:"primary",size:"md",className:ye.submitButton,disabled:g,children:g?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"spinner-border spinner-border-sm me-2",role:"status"}),"Validation..."]}):o.jsxs(o.Fragment,{children:[b&&(r==="left"||e.submitIconPosition==="left")&&o.jsx(b,{size:16,className:"me-2"}),c||e.submitText||"Valider",b&&(r==="right"||e.submitIconPosition==="right")&&o.jsx(b,{size:16,className:"ms-2"})]})})})]})]})]})};function c4e(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const aj=new Map,i4e=({path:e,style:t,width:n=24,height:c=24,keepColors:i=!1,onClick:r})=>{const[s,d]=k.useState("");return k.useEffect(()=>{e&&(async()=>{try{let l=aj.get(e);l||(l=fetch(e).then(f=>{if(!f.ok)throw new Error(`Failed to load ${e}`);return f.text()}),aj.set(e,l));let u=await l;const p=t?.width||`${n}px`,y=t?.height||`${c}px`;i||(u=u.replace(/fill="[^"]*"/g,'fill="currentColor"'),u=u.replace(/fill='[^']*'/g,"fill='currentColor'"));const m=i?`width="${p}" height="${y}"`:`width="${p}" height="${y}" fill="currentColor"`;u=u.replace(/<svg/,`<svg ${m}`),d(u)}catch(l){console.error(`Failed to load icon: ${e}`,l)}})()},[e,t?.width,t?.height,n,c]),s?o.jsx("span",{onClick:r,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:t?.color||"inherit",...t},dangerouslySetInnerHTML:{__html:s}}):null},r4e="_container_1gljv_85",s4e="_tableWrapper_1gljv_111",d4e="_tableControls_1gljv_117",l4e="_controlsRight_1gljv_128",h4e="_limitedRows_1gljv_151",u4e="_table_1gljv_111",p4e="_headerCell_1gljv_206",y4e="_headerContent_1gljv_220",k4e="_headerWords_1gljv_229",m4e="_headerWord_1gljv_229",f4e="_cellContent_1gljv_276",g4e="_alignLeft_1gljv_286",v4e="_alignCenter_1gljv_290",M4e="_alignRight_1gljv_294",x4e="_tableCell_1gljv_298",_4e="_tableRow_1gljv_308",L4e="_emptyRow_1gljv_385",I4e="_toggleFiltersButton_1gljv_393",b4e="_toggleSortButton_1gljv_394",w4e="_buttonTextCompact_1gljv_415",C4e="_uppercaseSmall_1gljv_450",N4e="_filtersPanel_1gljv_463",S4e="_filtersPanelInline_1gljv_481",j4e="_filtersPanelHorizontal_1gljv_492",$4e="_filtersRow_1gljv_492",q4e="_filtersActionsHorizontal_1gljv_525",A4e="_filterItemInline_1gljv_542",z4e="_filterLabel_1gljv_571",V4e="_filterInput_1gljv_576",P4e="_filterSelect_1gljv_577",T4e="_operatorSelect_1gljv_578",H4e="_operatorInput_1gljv_579",D4e="_activeFilterTag_1gljv_597",B4e="_actionsGroup_1gljv_609",R4e="_applyButton_1gljv_615",F4e="_cancelButton_1gljv_625",E4e="_columnSorterContainer_1gljv_649",O4e="_sorterControls_1gljv_654",U4e="_sortDropdownWrapper_1gljv_659",W4e="_sortDropdown_1gljv_659",G4e="_sortDropdownHeader_1gljv_679",K4e="_closeButton_1gljv_688",Z4e="_sortDropdownContent_1gljv_703",X4e="_sortDropdownItem_1gljv_709",Y4e="_sortDirectionButtons_1gljv_734",J4e="_sortDirectionButton_1gljv_734",Q4e="_activeSort_1gljv_757",e5e="_sortActions_1gljv_764",t5e="_paginationButton_1gljv_842",a5e="_pageSizeSelect_1gljv_844",n5e="_topPagination_1gljv_853",o5e="_paginationContainer_1gljv_861",c5e="_leftGroup_1gljv_874",i5e="_pageSizeControls_1gljv_882",r5e="_paginationInfo_1gljv_908",s5e="_paginationControls_1gljv_916",d5e="_disabledButton_1gljv_947",l5e="_activeButton_1gljv_952",h5e="_navigationButton_1gljv_962",u5e="_operatorFilterContainer_1gljv_1010",p5e="_rangeSeparator_1gljv_1016",y5e="_activeFiltersSection_1gljv_1179",k5e="_activeFiltersRow_1gljv_1184",m5e="_activeFiltersList_1gljv_1192",f5e="_clearAllButton_1gljv_1200",g5e="_removeFilterButton_1gljv_1221",v5e="_sortIndicator_1gljv_1272",M5e="_active_1gljv_349",x5e="_clearSortButton_1gljv_1371",_5e="_loaderSpinner_1gljv_2743",L5e="_loaderSpinnerSmall_1gljv_2755",I5e="_paginationLoading_1gljv_2772",b5e="_loadingButton_1gljv_2780",w5e="_loadingIndicator_1gljv_2791",z={container:r4e,tableWrapper:s4e,tableControls:d4e,controlsRight:l4e,limitedRows:h4e,table:u4e,headerCell:p4e,headerContent:y4e,headerWords:k4e,headerWord:m4e,cellContent:f4e,alignLeft:g4e,alignCenter:v4e,alignRight:M4e,tableCell:x4e,tableRow:_4e,emptyRow:L4e,toggleFiltersButton:I4e,toggleSortButton:b4e,buttonTextCompact:w4e,uppercaseSmall:C4e,filtersPanel:N4e,filtersPanelInline:S4e,filtersPanelHorizontal:j4e,filtersRow:$4e,filtersActionsHorizontal:q4e,filterItemInline:A4e,filterLabel:z4e,filterInput:V4e,filterSelect:P4e,operatorSelect:T4e,operatorInput:H4e,activeFilterTag:D4e,actionsGroup:B4e,applyButton:R4e,cancelButton:F4e,columnSorterContainer:E4e,sorterControls:O4e,sortDropdownWrapper:U4e,sortDropdown:W4e,sortDropdownHeader:G4e,closeButton:K4e,sortDropdownContent:Z4e,sortDropdownItem:X4e,sortDirectionButtons:Y4e,sortDirectionButton:J4e,activeSort:Q4e,sortActions:e5e,paginationButton:t5e,pageSizeSelect:a5e,topPagination:n5e,paginationContainer:o5e,leftGroup:c5e,pageSizeControls:i5e,paginationInfo:r5e,paginationControls:s5e,disabledButton:d5e,activeButton:l5e,navigationButton:h5e,operatorFilterContainer:u5e,rangeSeparator:p5e,activeFiltersSection:y5e,activeFiltersRow:k5e,activeFiltersList:m5e,clearAllButton:f5e,removeFilterButton:g5e,sortIndicator:v5e,active:M5e,clearSortButton:x5e,loaderSpinner:_5e,loaderSpinnerSmall:L5e,paginationLoading:I5e,loadingButton:b5e,loadingIndicator:w5e},C5e=({config:e,value:t,onChange:n,disabled:c})=>o.jsxs("select",{value:t===""?"":String(t),onChange:i=>n(i.target.value===""?"":i.target.value==="true"),disabled:c,className:z.filterSelect,children:[o.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),o.jsx("option",{value:"true",children:"Oui"}),o.jsx("option",{value:"false",children:"Non"})]}),N5e=({config:e,value:t,onChange:n,disabled:c})=>o.jsx("input",{type:"date",value:t||"",onChange:i=>n(i.target.value),placeholder:`Filtrer ${e.label}...`,disabled:c,className:z.filterInput}),S5e=({config:e,value:t,onChange:n,disabled:c})=>{const[i,r]=k.useState([]);k.useEffect(()=>{(async()=>{if(e.asyncOptions)try{const h=await e.asyncOptions();r(h??[])}catch(h){console.error("Erreur chargement options MultiSelect:",h),r([])}else r(e.options??[])})()},[e]);const s=d=>{const h=Array.from(d.target.selectedOptions,l=>l.value);n(h)};return o.jsx("select",{multiple:!0,value:t.map(String),onChange:s,disabled:c,className:z.filterMultiSelect,children:i.map((d,h)=>o.jsx("option",{value:String(d.value),children:d.label},h))})},nj=({config:e,value:t,onChange:n,disabled:c})=>{const[i,r]=k.useState(t||""),s=d=>{const h=d.target.value===""?"":Number(d.target.value);r(h),n(h)};return o.jsx("input",{type:"number",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:c,className:z.filterInput})},j5e=({config:e,value:t,onChange:n,disabled:c=!1})=>{const[i,r]=k.useState([]),[s,d]=k.useState(!1);k.useEffect(()=>{(async()=>{if(e.asyncOptions){d(!0);try{const u=await e.asyncOptions();r(u)}catch(u){console.error("Error loading options:",u)}finally{d(!1)}}else r(e.options||[])})()},[e]);const h=l=>{const u=l.target.value;n(u)};return s?o.jsx("div",{children:"Chargement..."}):o.jsxs("select",{value:String(t||""),onChange:h,disabled:c,className:z.filterInput,children:[o.jsx("option",{value:"",children:"Select..."}),i.map(l=>o.jsx("option",{value:l.value,children:l.label},l.value))]})},$5e=({config:e,value:t,onChange:n,disabled:c=!1})=>{const[i,r]=k.useState("");k.useEffect(()=>{r(typeof t=="string"?t:String(t||""))},[t]);const s=d=>{const h=d.target.value;r(h),n(h)};return o.jsx("input",{type:"text",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:c,className:z.filterInput})},q5e=({config:e,value:t,onChange:n,disabled:c=!1})=>{const[i,r]=k.useState(t?.operator||""),[s,d]=k.useState(t?.value||"");k.useEffect(()=>{i&&s&&n({operator:i,value:s})},[i,s,n]);const h=u=>{r(u.target.value)},l=u=>{d(u.target.value)};return o.jsxs("div",{className:z.operatorFilterContainer,children:[o.jsxs("select",{value:i,onChange:h,disabled:c,className:z.operatorSelect,children:[o.jsx("option",{value:"",children:"Sélectionner un opérateur"}),e.operators.map(u=>o.jsx("option",{value:String(u.value),children:u.label},String(u.value)))]}),o.jsx("input",{type:"text",value:s,onChange:l,placeholder:"Valeur",disabled:c||!i,className:z.operatorInput})]})},A5e=({value:e,onChange:t,disabled:n})=>{const c=e||{},i=s=>{t({...c,start:s.target.value})},r=s=>{t({...c,end:s.target.value})};return o.jsxs("div",{className:z.dateRangeContainer,children:[o.jsx("input",{type:"date",value:c.start||"",onChange:i,disabled:n,className:z.filterInput}),o.jsx("span",{className:z.rangeSeparator,children:"→"}),o.jsx("input",{type:"date",value:c.end||"",onChange:r,disabled:n,className:z.filterInput})]})},z5e=({config:e,value:t,onChange:n,disabled:c})=>{switch(e.type){case"text":case"search":return o.jsx($5e,{config:e,value:t,onChange:n,disabled:c});case"number":return o.jsx(nj,{config:e,value:t,onChange:n,disabled:c});case"range":return o.jsx(nj,{config:e,value:t,onChange:n,disabled:c});case"select":return o.jsx(j5e,{config:e,value:t,onChange:n,disabled:c});case"operator":return o.jsx(q5e,{config:e,value:t,onChange:n,disabled:c});case"multiselect":return o.jsx(S5e,{config:e,value:t,onChange:n,disabled:c});case"date":return o.jsx(N5e,{config:e,value:t,onChange:n,disabled:c});case"daterange":return o.jsx(A5e,{config:e,value:t??{start:"",end:""},onChange:n,disabled:c});case"boolean":return o.jsx(C5e,{config:e,value:t,onChange:n,disabled:c});default:return o.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},Hq=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:c,isControlled:i=!1})=>{const[r,s]=k.useState([]),[d,h]=k.useState(()=>{const f={};return e.forEach(g=>{g.type==="daterange"?f[g.id]={start:"",end:""}:f[g.id]=g.defaultValue??""}),f});k.useEffect(()=>{if(!i)return;const f={...d??{}};e.forEach(g=>{g.id in f||(f[g.id]=g.type==="daterange"?{start:"",end:""}:g.defaultValue??"")}),(t||[]).forEach(g=>{!g||!g.id||(f[g.id]=g.value)}),h(f),s(t??[])},[i,JSON.stringify(t||[]),JSON.stringify(e.map(f=>f.id))]);const l=i?t:r,u=k.useCallback((f,g)=>{h(M=>({...M,[f]:g}))},[]),p=k.useCallback(async()=>{const f=[],g={...d};for(const[M,x]of Object.entries(g)){const v=e.find(C=>C.id===M);if(!v)continue;let L=x;try{typeof x=="function"&&(L=await x(g)),typeof v.executeOnApply=="function"&&(L=await v.executeOnApply(L,g))}catch{continue}if(v.type==="daterange"){const C=L?.start??"",b=L?.end??"",_=typeof C=="string"?C.trim()==="":!C,I=typeof b=="string"?b.trim()==="":!b;if(_&&I)continue}L==null||typeof L=="string"&&L.trim()===""||Array.isArray(L)&&L.length===0||typeof L=="object"&&!Array.isArray(L)&&Object.keys(L).length===0||f.push({id:M,type:v.type,value:L,label:v.label})}return i?n?.(f):(s(f),c?.(f)),f},[d,e,i,n,c]),y=k.useCallback(f=>{h(g=>({...g,[f]:void 0})),u(f,void 0)},[u]),m=k.useCallback(()=>{const f={};e.forEach(g=>{g.type==="daterange"?f[g.id]={start:"",end:""}:f[g.id]=g.defaultValue??""}),h(f),i?n?.([]):(s([]),c?.([]))},[e,i,n,c]);return{appliedFilters:l,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:m}},V5e=(e,t)=>{if(e==null)return!1;const n=t.value;if(n==null)return!1;switch(t.type){case"text":case"search":return String(e).toLowerCase().includes(String(n).toLowerCase());case"number":case"range":return Number(e)===Number(n);case"select":case"multiselect":return Array.isArray(n)?n.includes(e)||n.map(c=>String(c)).includes(String(e)):String(e)===String(n);case"boolean":return!!e==!!n;case"date":return new Date(e).getTime()===new Date(String(n)).getTime();case"daterange":try{if(!n||typeof n!="object")return!1;const c=n;if(!c.start||!c.end)return!1;const i=c.start,r=c.end;if(typeof i!="string"||typeof r!="string"||!i.trim()||!r.trim())return!1;const s=new Date(e).getTime(),d=new Date(i).getTime(),h=new Date(r).getTime();return isNaN(s)||isNaN(d)||isNaN(h)?!1:s>=d&&s<=h}catch(c){return console.error("Error processing daterange filter:",c),!1}case"operator":if(typeof n=="object"&&n!==null){const c=n;if(!("operator"in c)||!("value"in c))return!1;const{operator:i,value:r}=c,s=Number(e),d=Number(r);if(isNaN(s)||isNaN(d))return String(e).includes(String(r));switch(i){case"equals":return s===d;case"gt":return s>d;case"lt":return s<d;case"gte":return s>=d;case"lte":return s<=d;default:return String(e).includes(String(r))}}return!1;default:return String(e).toLowerCase().includes(String(n).toLowerCase())}};function Dq(e,t,n="",c={key:null,direction:"asc"},i=1,r=10,s=[]){const d=Math.max(1,r),h=(n||"").trim().toLowerCase(),l=k.useMemo(()=>{let g=e;return h&&(g=g.filter(M=>t.some(x=>{const v=M.data[x.id];return v==null?!1:String(v).toLowerCase().includes(h)}))),s.length>0&&(g=g.filter(M=>s.every(x=>{try{const v=M.data[x.id];return V5e(v,x)}catch(v){return console.error("Error applying filter:",v),!1}}))),g},[e,t,h,s]),u=k.useMemo(()=>{if(!c?.key)return l;const g=c.key;return[...l].sort((M,x)=>{const v=M.data[g],L=x.data[g];if(v==null)return 1;if(L==null)return-1;if(typeof v=="number"&&typeof L=="number")return c.direction==="desc"?L-v:v-L;if(v instanceof Date&&L instanceof Date){const C=v.getTime()-L.getTime();return c.direction==="desc"?-C:C}const w=String(v).localeCompare(String(L),void 0,{numeric:!0,sensitivity:"base"});return c.direction==="desc"?-w:w})},[l,c]),p=u,y=Math.ceil(u.length/d),m=0,f=Math.min(i*d,u.length);return{paginatedData:p,sortedData:u,filteredData:l,totalPages:y,startIndex:m,endIndex:f}}const Bq=({value:e})=>e,Rq=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),Fq=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),Eq=({value:e})=>{if(!e)return null;const t={success:"success-badge",warning:"warning-badge",error:"error-badge",info:"info-badge",default:"default-badge"},n=typeof e=="object"?e.type:"default",c=typeof e=="object"?e.text:e,i=t[n]||t.default;return k.createElement("span",{className:`badge ${i}`},c)},Oq=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},Uq=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),Wq=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),Gq=({value:e})=>k.createElement("div",{className:"image-container"},k.createElement("img",{src:e,alt:"Table content",className:"table-image",onError:t=>t.currentTarget.style.display="none"})),sw={renderers:{text:Bq,email:Rq,link:Fq,badge:Eq,date:Oq,number:Uq,currency:Wq,image:Gq},icons:{sortAsc:k.createElement(jc,{className:"sort-icon active",size:14}),sortDesc:k.createElement(qt,{className:"sort-icon active",size:14}),sortDefault:k.createElement(Yc,{className:"sort-icon",size:14})}},P5e=(e,t)=>{sw.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),sw.renderers[e]=t},T5e=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:c,isControlled:i=!1,debounceTimeout:r=300,expanded:s,onToggle:d,panelPlacement:h="top",onPanelHeightChange:l,label:u="Advanced-Filters",applyLabel:p="Apply",cancelLabel:y="Cancel",clearLabel:m="Clear",applyDisabled:f=!1,loading:g=!1})=>{const[M,x]=k.useState(!1),v=typeof s=="boolean"?s:M,{appliedFilters:L,tempFilters:w,updateFilter:C,applyFilters:b,clearAllFilters:_}=Hq({filters:e,externalFilters:t,onFiltersChange:n,onApply:c,isControlled:i}),I=k.useRef(null),j=k.useRef(null);k.useEffect(()=>{if(v&&I.current){const V=I.current.getBoundingClientRect().height;l?.(V)}else l?.(0)},[v,e,w,l]);const N=()=>{typeof s=="boolean"?d?.(!s):x(V=>{const $=!V;return d?.($),$})},S=()=>e.map(V=>{const $=w?.[V.id];return $==null||typeof $=="string"&&$.trim()===""?null:{id:V.id,label:V.label,value:$}}).filter(Boolean),A=async()=>{let V;try{V=await b()}catch{V=void 0}let $=[];V&&Array.isArray(V)&&V.length>0?$=V:L&&L.length>0?$=L:$=S(),n?.($),c?.($)},B=()=>{d?.(!1),typeof s!="boolean"&&x(!1)},T=()=>{_(),n?.([]),c?.([])};return k.useEffect(()=>{const V=q=>{v&&j.current&&(j.current.contains(q.target)||(d?.(!1),typeof s!="boolean"&&x(!1)))},$=q=>{q.key==="Escape"&&v&&(d?.(!1),typeof s!="boolean"&&x(!1))};return v&&(document.addEventListener("pointerdown",V),document.addEventListener("keydown",$)),()=>{document.removeEventListener("pointerdown",V),document.removeEventListener("keydown",$)}},[v,s,d]),o.jsxs("div",{className:z.advancedFiltersContainer,ref:j,children:[o.jsxs("button",{className:`${z.toggleFiltersButton} ${L.length>0?z.active:""} ${v?z.toggleFiltersButtonOpen:""} ${g?z.loadingButton:""}`,onClick:N,"aria-expanded":v,"aria-controls":"advanced-filters-panel",type:"button",disabled:g,children:[g?o.jsx("span",{className:z.loaderSpinnerSmall}):o.jsx(wt,{size:14}),o.jsx("span",{className:z.buttonTextCompact,children:u}),L.length>0&&!g&&o.jsx("span",{className:z.filterCountBadge,"aria-hidden":!0,children:L.length}),g&&o.jsx("span",{className:z.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),v&&o.jsxs("div",{id:"advanced-filters-panel",ref:I,className:`${z.filtersPanel} ${h==="top"?`${z.filtersPanelInline} ${z.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[o.jsx("div",{className:z.filtersRow,children:e.map(V=>o.jsxs("div",{className:`${z.filterItem} ${z.filterItemInline}`,children:[o.jsxs("label",{className:z.filterLabel,children:[V.label,V.required&&o.jsx("span",{className:z.required,children:"*"})]}),o.jsx(z5e,{config:V,value:w[V.id],onChange:$=>C(V.id,$),disabled:V.disabled})]},V.id))}),o.jsxs("div",{className:z.filtersActionsHorizontal,children:[o.jsx("div",{className:z.activeFiltersSection,children:L.length>0&&o.jsxs("div",{className:z.activeFiltersRow,children:[o.jsx("span",{className:z.activeLabelCompact,children:"Actifs :"}),o.jsx("div",{className:z.activeFiltersList,children:L.map(V=>o.jsxs("div",{className:z.activeFilterTag,children:[V.label??V.id,o.jsx("button",{className:z.removeFilterButton,onClick:()=>C(V.id,void 0),"aria-label":`Supprimer ${V.id}`,type:"button",children:"×"})]},V.id))}),o.jsxs("button",{className:z.clearAllButton,onClick:T,type:"button",children:[o.jsx(Ke,{size:12})," ",m]})]})}),o.jsxs("div",{className:z.actionsGroup,children:[o.jsx("button",{className:z.cancelButton,onClick:B,type:"button",disabled:g,children:y}),o.jsx("button",{className:`${z.applyButton} ${g?z.loadingButton:""}`,onClick:A,type:"button",disabled:f||g,"aria-disabled":f||g,children:g?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:z.loaderSpinnerSmall}),o.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},oj=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},H5e=({columns:e,sortConfig:t,onSort:n,label:c="Sort",loading:i=!1})=>{const[r,s]=k.useState(!1),d=e.filter(f=>f.sortable),h=k.useRef(null),l=t?.key!==null&&t?.key!==void 0,u=(f,g)=>{n({key:f,direction:g}),s(!1)},p=()=>{n({key:null,direction:"asc"}),s(!1)},y=()=>s(f=>!f),m=()=>{s(!1)};return k.useEffect(()=>{if(!r)return;const f=M=>{if(!h.current)return;const x=M.target;x&&!h.current.contains(x)&&s(!1)},g=M=>{M.key==="Escape"&&s(!1)};return document.addEventListener("pointerdown",f),document.addEventListener("keydown",g),()=>{document.removeEventListener("pointerdown",f),document.removeEventListener("keydown",g)}},[r]),k.useEffect(()=>{const f=document.querySelector("[data-table-wrapper]");if(!f)return;const g=f.style.overflow??"";return r?f.style.overflow="hidden":f.style.overflow=g,()=>{f.style.overflow=g}},[r]),o.jsx("div",{className:z.columnSorterContainer,ref:h,children:o.jsx("div",{className:z.sorterControls,children:d.length>0&&o.jsxs("div",{className:z.sortDropdownWrapper,ref:h,children:[o.jsxs("button",{className:`${z.toggleSortButton} ${r?z.toggleSortButtonOpen:""} ${l?z.active:""} ${i?z.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?o.jsx("span",{className:z.loaderSpinnerSmall}):o.jsx(Yc,{size:14}),o.jsx("span",{className:`${z.buttonTextCompact} ${oj(c)?z.uppercaseSmall:""}`,children:c}),l&&!i&&o.jsx("div",{className:z.sortIndicator,children:t?.direction==="asc"?o.jsx(jc,{size:12}):o.jsx(qt,{size:12})})]}),r&&o.jsxs("div",{className:`${z.sortDropdown} ${z.sortDropdownInline}`,role:"menu",children:[o.jsxs("div",{className:z.sortDropdownHeader,children:[o.jsx("span",{children:"Trier par:"}),o.jsx("button",{className:z.closeButton,onClick:m,"aria-label":"Fermer",type:"button",children:o.jsx(Ke,{size:16})})]}),o.jsx("div",{className:z.sortDropdownContent,children:d.map(f=>{const g=String(f.label??f.id),M=oj(g);return o.jsxs("div",{className:z.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:x=>{x.key==="Enter"&&u(f.id,"asc")},children:[o.jsx("span",{className:`${z.columnSorterLabel} ${M?z.uppercaseSmall:""}`,title:g,"aria-label":g,children:g}),o.jsxs("div",{className:z.sortDirectionButtons,children:[o.jsx("button",{className:`${z.sortDirectionButton} ${t?.key===f.id&&t?.direction==="asc"?z.activeSort:""}`,onClick:()=>u(f.id,"asc"),title:"Trier par ordre croissant",type:"button",children:o.jsx(jc,{size:12})}),o.jsx("button",{className:`${z.sortDirectionButton} ${t?.key===f.id&&t?.direction==="desc"?z.activeSort:""}`,onClick:()=>u(f.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:o.jsx(qt,{size:12})})]})]},f.id)})}),l&&o.jsx("div",{className:z.sortActions,children:o.jsxs("button",{className:z.clearSortButton,onClick:p,type:"button",children:[o.jsx(bt,{size:14}),o.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},D5e=({currentPage:e,totalPages:t,pageSize:n,totalItems:c,itemLabel:i="items",onPageChange:r,onPageSizeChange:s,loading:d=!1})=>{const h=Math.max(1,Math.floor(t)),l=Math.min(Math.max(1,Math.floor(e)),h),u=()=>{l>1&&r(l-1)},p=()=>{if(l<t){const g=l+1;r(g)}},y=c>0?(l-1)*n+1:0,m=c>0?Math.min(l*n,c):0,f=()=>{const g=[];let x=Math.max(1,l-Math.floor(2.5)),v=x+5-1;v>h&&(v=h,x=Math.max(1,v-5+1));for(let L=x;L<=v;L++)g.push(L);return g};return o.jsxs("div",{className:z.paginationContainer,role:"navigation","aria-label":"Pagination",children:[o.jsx("div",{className:z.leftGroup,children:s&&o.jsx("div",{className:z.pageSizeControls,children:o.jsx("select",{value:n,onChange:g=>s(Number(g.target.value)),className:z.pageSizeSelect,"aria-label":"Taille de page",disabled:d,children:[10,20,30].map(g=>o.jsx("option",{value:g,children:g},g))})})}),o.jsx("div",{className:z.paginationInfo,"aria-live":"polite",children:d?o.jsxs("span",{className:z.paginationLoading,children:[o.jsx("span",{className:z.loaderSpinner}),o.jsx("span",{children:"Chargement..."})]}):`${y}-${m} ${i}`}),o.jsxs("div",{className:z.paginationControls,children:[o.jsx("button",{onClick:u,disabled:l===1||d,className:`${z.paginationButton} ${z.navigationButton} ${l===1?z.disabledButton:""} ${d?z.loadingButton:""}`,"aria-label":"Page précédente",children:d&&l>1?o.jsx("span",{className:z.loaderSpinnerSmall}):"«"}),f().map(g=>o.jsx("button",{onClick:()=>r(g),disabled:d,"aria-current":l===g?"page":void 0,className:`${z.paginationButton} ${l===g?z.activeButton:""} ${d?z.loadingButton:""}`,children:d&&l===g?o.jsx("span",{className:z.loaderSpinnerSmall}):g},g)),o.jsx("button",{onClick:p,disabled:d||l>=h,className:`${z.paginationButton} ${z.navigationButton} ${d?z.loadingButton:""} ${l>=h?z.disabledButton:""}`,"aria-label":"Page suivante",children:d?o.jsx("span",{className:z.loaderSpinnerSmall}):"»"})]})]})},B5e=(e,t)=>{if(!e)return"";if(t)return e;const n=String(e).trim();if(!n)return n;const c=n.toLowerCase();return c.charAt(0).toUpperCase()+c.slice(1)},R5e=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},F5e=({columns:e})=>o.jsx("thead",{className:z.tableHeader,children:o.jsx("tr",{children:e.map((t,n)=>{const c=t.align==="right"?z.alignRight:t.align==="left"?z.alignLeft:z.alignCenter,i=t.preserveHeaderCase===!0,r=B5e(String(t.label??""),i),s=R5e(r),d=s?r.split(/\s+/):[];return o.jsx("th",{className:`${z.headerCell} ${c}`,style:{width:t.width??void 0},"data-preserve":i?"true":"false",title:t.a11yConfig?.mode==="guide"?t.a11yConfig.description:t.a11yConfig?.mode==="key"?t.a11yConfig.key:void 0,children:o.jsx("div",{className:z.headerContent,children:s?o.jsx("div",{className:z.headerWords,children:d.map((h,l)=>o.jsx("span",{className:z.headerWord,children:h},l))}):o.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),E5e=({value:e,row:t,column:n})=>{const c=n.align==="right"?z.alignRight:n.align==="left"?z.alignLeft:z.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return o.jsx("td",{className:`${z.tableCell} ${c}`,style:{width:n.width??void 0},children:o.jsx("div",{className:z.cellContent,children:i})})},O5e=({row:e,rowId:t,columns:n,onRowClick:c,index:i,getRowStyle:r})=>{const s=r?r(e):{},{backgroundColor:d,accentColor:h,...l}=s||{},u={backgroundColor:d,...l,"--row-accent":h??"transparent"};return o.jsx("tr",{className:`${z.tableRow} ${c?z.clickableRow:""}`,onClick:()=>c?.(e,i),style:u,children:n.map(p=>o.jsx(E5e,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},U5e=({data:e,columns:t,onRowClick:n,startIndex:c,searchTerm:i,getRowStyle:r})=>e.length===0?o.jsx("tbody",{children:o.jsx("tr",{children:o.jsx("td",{colSpan:t.length,className:z.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):o.jsx("tbody",{children:e.map((s,d)=>o.jsx(O5e,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:c+d-1,getRowStyle:r},s.id))}),Kq=({columns:e=[],data:t=[],pagination:n={pageSize:10,currentPage:1},onRowClick:c,searchTerm:i="",className:r="",filterConfig:s=[],externalFilters:d=[],onFiltersChange:h,onApplyFilters:l,onSort:u,filtersControlled:p=!1,debounceTimeout:y=300,getRowStyle:m,background:f,onPageSizeChange:g,onPageChange:M,itemLabel:x="items",advancedFiltersLabel:v="Advanced-Filters",advancedFiltersActiveLabel:L,sortLabel:w="Sort",applyLabel:C="Apply",cancelLabel:b="Cancel",clearLabel:_="Clear",applyDisabled:I=!1,paginationLoading:j=!1,filtersLoading:N=!1,sortLoading:S=!1,totalCount:A=null})=>{const[B,T]=k.useState({key:null,direction:"asc"}),[V,$]=k.useState(n.currentPage??1),[q,P]=k.useState(n.pageSize??10),[H,D]=k.useState(!1),F=k.useRef(null),[G,oe]=k.useState([]),ae=p?d:G,Me=p?[]:G;k.useEffect(()=>{const de=n.currentPage??1,Tt=n.pageSize??10;de!==V&&$(de),Tt!==q&&P(Tt)},[n.currentPage,n.pageSize]);const{paginatedData:me,sortedData:Ce,totalPages:he,startIndex:Y}=Dq(t,e,i,B,V,q,Me),ee=Ce.length,ie=typeof A=="number"&&A>=0?A:ee;let ue=he;typeof A=="number"&&A>=0&&(ue=Math.max(1,Math.ceil(A/q)));const re=ee>10;k.useEffect(()=>{const de=Math.max(1,Math.floor(ue));V>de&&$(de),V<1&&$(1)},[ue]);const W=de=>{p||oe(de),h?.(de),$(1),M?.(1)},O=de=>{p||oe(de),l?.(de),$(1),M?.(1),F.current&&F.current.style.setProperty("--filters-panel-height","0px")},ne=de=>{M?.(de),$(de)},we=de=>{P(de),$(1),g?.(de),M?.(1)},Be=de=>{F.current&&F.current.style.setProperty("--filters-panel-height",`${Math.round(de)}px`)},ge=de=>{T(de),u?.(de)},$e=de=>{D(de),!de&&F.current&&F.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(ae?.length??0)>0&&D(!0)},[ae]),k.useEffect(()=>{s.length>0&&ae.length>0&&D(!0)},[s.length,ae.length]);const Pc=(ae?.length??0)>0&&L?L:v;return o.jsxs("div",{ref:F,className:`${z.container} ${r} ${H?z.filtersOpen:""}`,style:{background:f,"--row-height":"48px","--header-height":"56px"},children:[o.jsx("div",{className:z.tableControls,children:o.jsxs("div",{className:z.controlsRight,children:[o.jsx(H5e,{columns:e,onSort:ge,label:w,sortConfig:B,loading:S}),s.length>0&&o.jsx(T5e,{filters:s,externalFilters:ae,onFiltersChange:W,onApply:O,isControlled:p,debounceTimeout:y,expanded:H,onToggle:$e,panelPlacement:"top",onPanelHeightChange:Be,label:Pc,applyLabel:C,cancelLabel:b,clearLabel:_,applyDisabled:I,loading:N})]})}),o.jsx("div",{className:z.topPagination,children:o.jsx(D5e,{currentPage:V,totalPages:ue,pageSize:q,totalItems:ie,itemLabel:x,onPageChange:ne,onPageSizeChange:we,loading:j})}),o.jsx("div",{className:`${z.tableWrapper} ${re?z.limitedRows:""}`,"data-table-wrapper":!0,children:o.jsxs("table",{className:z.table,children:[o.jsx(F5e,{columns:e}),o.jsx(U5e,{data:me,columns:e,onRowClick:c,startIndex:Y,getRowStyle:m,searchTerm:i})]})})]})};function W5e(e){const{pagination:t,totalCount:n,onPageChange:c,...i}=e,r=t?.pageSize??20,s=t?.currentPage??1,d=k.useMemo(()=>{if(n===null||typeof n>"u")return null;const p=Number(n);if(!Number.isFinite(p)||p<=0)return 1;const y=Number(r);return!Number.isFinite(y)||y<=0?1:Math.max(1,Math.ceil(p/y))},[n,r]),h=s>1,l=d===null?!1:s<d,u=p=>{typeof p=="number"&&(p<1||p<s&&!h||p>s&&!l||c?.(p))};return o.jsx(Kq,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const G5e="_mpRoot_31595_1",K5e="_mpHeader_31595_22",Z5e="_mpTitle_31595_31",X5e="_mpList_31595_35",Y5e="_mpVertical_31595_41",J5e="_mpHorizontal_31595_46",Q5e="_mpItem_31595_55",eke="_mpClickable_31595_95",tke="_mpLeft_31595_117",ake="_mpIcon_31595_125",nke="_mpMeta_31595_140",oke="_mpLabel_31595_145",cke="_mpDate_31595_154",ike="_mpRight_31595_160",rke="_mpValue_31595_168",ske="_mpHint_31595_176",dke="_mpBadge_31595_180",lke="_mpBadgeTop_31595_199",hke="_mpBadgeSub_31595_206",uke="_mpBadgeSmall_31595_213",pke="_mpPill_31595_229",yke="_mpRounded_31595_232",kke="_mpCompact_31595_236",mke="_compactItemWrapper_31595_252",fke="_mpSummaryRoot_31595_265",gke="_mpSummaryInner_31595_269",vke="_mpSummaryFlex_31595_284",Mke="_mpSummaryCardWrapperHorizontal_31595_292",xke="_mpSummaryCardWrapper_31595_292",_ke="_mpSummaryCardHorizontal_31595_303",Lke="_mpSummaryCard_31595_292",Ike="_mpSummaryValue_31595_321",bke="_mpSummaryLabel_31595_327",wke="_mpSummaryBadge_31595_338",Cke="_mpSummaryBadgeSub_31595_357",Nke="_mpEmpty_31595_365",Ske="_mpSummaryVertical_31595_372",jke="_mpIconSquare_31595_380",Z={mpRoot:G5e,mpHeader:K5e,mpTitle:Z5e,mpList:X5e,mpVertical:Y5e,mpHorizontal:J5e,mpItem:Q5e,mpClickable:eke,mpLeft:tke,mpIcon:ake,mpMeta:nke,mpLabel:oke,mpDate:cke,mpRight:ike,mpValue:rke,mpHint:ske,mpBadge:dke,mpBadgeTop:lke,mpBadgeSub:hke,mpBadgeSmall:uke,mpPill:pke,mpRounded:yke,mpCompact:kke,compactItemWrapper:mke,mpSummaryRoot:fke,mpSummaryInner:gke,mpSummaryFlex:vke,mpSummaryCardWrapperHorizontal:Mke,mpSummaryCardWrapper:xke,mpSummaryCardHorizontal:_ke,mpSummaryCard:Lke,mpSummaryValue:Ike,mpSummaryLabel:bke,mpSummaryBadge:wke,mpSummaryBadgeSub:Cke,mpEmpty:Nke,mpSummaryVertical:Ske,mpIconSquare:jke},$t=(e,t=1)=>{if(!e||typeof e!="string")return`rgba(124, 58, 237, ${t})`;const n=e.trim();if(n.toLowerCase()==="transparent")return"rgba(0,0,0,0)";if(/^rgba?\(/i.test(n))return/^rgba\(/i.test(n)?n.replace(/rgba\(([^)]+),\s*([0-9.]+)\s*\)$/,(d,h)=>`rgba(${h.split(",").map(u=>u.trim()).slice(0,3).join(", ")}, ${t})`):n;let c=n.replace("#","").toLowerCase();if(c.length===3&&(c=c.split("").map(d=>d+d).join("")),!/^[0-9a-f]{6}$/i.test(c))return`rgba(124, 58, 237, ${t})`;const i=parseInt(c.slice(0,2),16),r=parseInt(c.slice(2,4),16),s=parseInt(c.slice(4,6),16);return`rgba(${i}, ${r}, ${s}, ${t})`},$ke=({item:e,shape:t,onItemClick:n,color:c,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[Z.mpItem,t==="pill"?Z.mpPill:Z.mpRounded,n?Z.mpClickable:""].filter(Boolean).join(" ");if(i)return o.jsx("div",{className:s,role:n?"button":"group",tabIndex:n?0:-1,onClick:r,onKeyDown:y=>{n&&(y.key==="Enter"||y.key===" ")&&(n(e),y.preventDefault())},"aria-label":n?`Voir les détails de ${e.label}`:void 0,children:i(e)});const d=n?"button":"div",h=n?{onClick:r,className:s,type:"button","aria-label":`Voir les détails de ${e.label}`}:{className:s,role:"group"},l=e.iconComponent,u=e.iconSquareBg,p=e.iconColor;return o.jsxs(d,{...h,children:[o.jsxs("div",{className:Z.mpLeft,children:[l?o.jsx("div",{className:Z.mpIconSquare,style:{background:u??$t(p??c??"#7c3aed",1),border:`1px solid ${$t(p??c??"#7c3aed",.18)}`,color:p??"#ffffff"},children:k.createElement(l,{size:20,color:p??"#fff",strokeWidth:1.8})}):e.icon?o.jsx("div",{className:Z.mpIcon,children:e.icon}):null,o.jsxs("div",{className:Z.mpMeta,children:[o.jsx("div",{className:Z.mpLabel,children:e.label}),e.subLabel&&o.jsx("div",{className:Z.mpDate,children:e.subLabel}),e.date&&o.jsx("div",{className:Z.mpDate,children:e.date})]})]}),o.jsxs("div",{className:Z.mpRight,children:[o.jsx("div",{className:Z.mpValue,style:{color:e.valueColor??c??void 0},children:e.value}),e.badge?o.jsxs("div",{className:[Z.mpBadge,e.badge.small?Z.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??$t(e.badge.color||c||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":$t(e.badge.color||c||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[o.jsx("div",{className:Z.mpBadgeTop,children:e.badge.text}),e.badge.subText&&o.jsx("div",{className:Z.mpBadgeSub,children:e.badge.subText})]}):e.hint?o.jsx("div",{className:Z.mpHint,children:e.hint}):null]})]})},qke=k.memo($ke),cj=({title:e,right:t})=>!e&&!t?null:o.jsxs("div",{className:Z.mpHeader,children:[o.jsx("div",{className:Z.mpTitle,children:e}),o.jsx("div",{children:t})]}),ij=(e,t=1)=>{try{return $t(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Ake=({item:e})=>o.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:14,borderRadius:12,minHeight:88,boxSizing:"border-box",background:e.bgColor??"transparent",border:`1px solid ${e.borderColor??"transparent"}`,boxShadow:"0 4px 10px rgba(15,23,42,0.03)"},children:[o.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[o.jsx("div",{style:{fontSize:13,fontWeight:700,color:"#475569"},children:e.label}),o.jsx("div",{style:{fontSize:26,fontWeight:900,color:"#0f172a",lineHeight:1},children:e.value})]}),o.jsx("div",{title:String(e.label),style:{display:"flex",alignItems:"center",justifyContent:"center",width:48,height:48,borderRadius:10,background:e.iconSquareBg??ij("#7c3aed",.12),border:`1px solid ${ij(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),zke=({item:e,bg:t,onClick:n,width:c,height:i,extraStyle:r})=>o.jsxs("div",{className:Z.mpSummaryCard,style:{background:t,width:c??void 0,height:i??void 0,...r??{}},role:n?"button":"group",tabIndex:n?0:-1,onClick:()=>n?.(e),children:[o.jsx("div",{className:Z.mpSummaryLabel,children:e.label}),o.jsx("div",{className:Z.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&o.jsxs("div",{className:Z.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&o.jsx("div",{className:Z.mpSummaryBadgeSub,children:e.badge.subText})]})]}),rj=(e,t=1)=>{try{return $t(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},sj=e=>o.jsxs("div",{style:{display:"grid",gridTemplateRows:"auto 1fr",width:"100%",gap:8,alignItems:"center",boxSizing:"border-box",minWidth:0},children:[o.jsxs("div",{style:{display:"flex",justifyContent:"space-between-left",alignItems:"baseline",gap:10,width:"100%"},children:[o.jsx("div",{style:{fontWeight:700,fontSize:"clamp(14px, 1.2vw, 16px)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0},children:e.label}),e.subLabel?o.jsx("div",{style:{fontSize:"clamp(13px, 1.1vw, 15px)",fontWeight:600,whiteSpace:"nowrap"},children:e.subLabel}):null]}),o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:15,width:"100%"},children:[o.jsx("div",{style:{fontWeight:900,fontSize:"clamp(16px, 1.6vw, 20px)",color:e.valueColor,lineHeight:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.value}),e.badge?o.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"8px 12px",borderRadius:10,backgroundColor:e.badge.bg?e.badge.bg:rj("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:rj("#7c3aed",.12)}`,color:e.badge.textColor||"#0f172a",fontWeight:700,fontSize:"clamp(12px, 1.2vw, 14px)",width:"120px",height:"52px",textAlign:"center",boxSizing:"border-box",overflow:"hidden",boxShadow:"0 2px 4px rgba(0,0,0,0.1)",lineHeight:1.2,flexShrink:0},children:[o.jsx("div",{style:{fontSize:14,fontWeight:800,lineHeight:1.2,letterSpacing:"0.02em",width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.badge.text}),e.badge.subText?o.jsx("div",{style:{fontSize:13,marginTop:4,fontWeight:700,letterSpacing:"0.01em",width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.badge.subText}):null]}):null]})]}),dj=(e,t)=>{try{if(typeof e=="function"){const n=e(t);if(n!==void 0)return n}}catch{}try{return k.createElement(e,{item:t})}catch(n){return console.warn("chooseDefaultRender: impossible de rendre CompactRenderer",n),null}},Vke=e=>{switch(e){case"image":return t=>k.createElement(Ake,{item:t});case"pertinence":return t=>k.createElement(zke,{item:t});case"alternateHorizontal":return t=>dj(sj,t);case"compact":return t=>dj(sj,t);case"summary":return;case"default":default:return}},Zq=({item:e,orientation:t,bg:n,border:c,valueColor:i,onClick:r,width:s,height:d,extraStyle:h})=>{const u=t==="horizontal"?Z.mpSummaryCardHorizontal:Z.mpSummaryCard;return o.jsxs("div",{className:u,style:{background:n,border:`1px solid ${c}`,width:s??void 0,height:d??void 0,...h??{}},role:r?"button":"group",tabIndex:r?0:-1,onClick:()=>r?.(e),children:[e.badge&&o.jsxs("div",{className:Z.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&o.jsx("div",{className:Z.mpSummaryBadgeSub,children:e.badge.subText})]}),o.jsx("div",{className:Z.mpSummaryValue,style:{color:i},children:e.value}),o.jsx("div",{className:Z.mpSummaryLabel,children:e.label})]})},Pke=["transparent","transparent","transparent","transparent"],Tke=["transparent","transparent","transparent","transparent"],Hke=["#059669","#2563eb","#b45309","#7c3aed"],Dke=(e,t=1)=>{try{return $t(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Xq=e=>{const{items:t=[],layout:n="vertical",orientation:c="auto",shape:i="rounded",color:r="#7c3aed",compact:s=!1,title:d,onItemClick:h,className:l="",loading:u=!1,emptyMessage:p="Aucun élément",renderItem:y,summary:m=!1,summaryBgColors:f=Pke,summaryBorderColors:g=Tke,summaryValueColors:M=Hke,preset:x,background:v}=e,{itemsContainerStyle:L,itemsContainerClassName:w,summaryGridColumns:C,compactItemWidth:b,compactItemHeight:_,compactItemStyle:I,summaryCardWidth:j,summaryCardHeight:N,summaryCardStyle:S}=e,A=n==="vertical",B={"--mp-accent":r,"--mp-accent-soft":Dke(r,.08),"--mp-bg-primary":v},T=[Z.mpRoot,A?Z.mpVertical:Z.mpHorizontal,s?Z.mpCompact:"",m?Z.mpSummaryRoot:"",c!=="auto"?c==="vertical"?Z.mpOrientationVertical:Z.mpOrientationHorizontal:"",l].filter(Boolean).join(" "),V=k.useMemo(()=>y||(Vke(x)??void 0),[y,x]);if(m){const $=c==="horizontal"?Z.mpSummaryFlex:Z.mpSummaryVertical,P={...(C?{display:"grid",gridTemplateColumns:`repeat(${C}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...L??{}};return o.jsxs("div",{className:T,style:B,"aria-busy":u,children:[d&&o.jsx(cj,{title:d}),o.jsx("div",{className:Z.mpSummaryInner,children:o.jsx("div",{className:`${$} ${w??""}`,style:P,children:t.length===0?o.jsx("div",{className:Z.mpEmpty,children:p}):t.map((H,D)=>{const F=H.bgColor??f[D%f.length],G=H.borderColor??g[D%g.length],oe=H.valueColor??M[D%M.length];return V?o.jsx("div",{className:c==="horizontal"?Z.mpSummaryCardWrapperHorizontal:Z.mpSummaryCardWrapper,style:{width:j??void 0,height:N??void 0,...S??{}},children:V(H,D)},H.id):o.jsx(Zq,{item:H,orientation:c==="horizontal"?"horizontal":"vertical",bg:F,border:G,valueColor:oe,onClick:h,width:j??void 0,height:N??void 0,extraStyle:S},H.id)})})})]})}return o.jsxs("div",{className:T,style:B,"aria-busy":u,children:[d&&o.jsx(cj,{title:d}),o.jsx("div",{className:Z.mpList,style:L,children:u?o.jsx("div",{className:Z.mpEmpty,children:"Chargement…"}):t.length===0?o.jsx("div",{className:Z.mpEmpty,children:p}):t.map($=>{const q=s?{width:b??void 0,height:_??void 0,boxSizing:"border-box",...I??{}}:void 0;return o.jsx("div",{className:s?Z.compactItemWrapper:void 0,style:q,children:o.jsx(qke,{item:$,shape:i,onItemClick:h,color:r,renderItem:V?P=>V(P,t.indexOf(P)):void 0})},$.id)})})]})};k.memo(Xq);const Bke=({a11yConfig:e,width:t,height:n,colors:c={text:"#0b1220",background:"#fff",contentBackground:"#efeff0"},titles:i={},placeholder:r="Loading Chart",style:s,className:d="",children:h,padding:l="1rem",variant:u="default",showBorder:p=!1,titleKey:y,leftTitleKey:m})=>{const f=t?typeof t=="number"?`${t}px`:t:void 0,g=n?typeof n=="number"?`${n}px`:n:void 0,M=r&&typeof r=="object"&&!k.isValidElement(r)&&("text"in r||"subtext"in r||"icon"in r||"background"in r||"iconSize"in r),x=M?r:void 0,v=x?.icon?mt[x.icon]:void 0,L=28,w=x?.iconSize??L,C=["chart-container",`variant-${u}`,p?"with-border":"",d].filter(Boolean).join(" "),b=c.contentBackground??void 0,_=typeof l=="number"?`${l}px`:l;return o.jsxs("div",{className:C,style:{width:f,height:g,color:c.text,background:c.background,display:"flex",flexDirection:"column",boxSizing:"border-box",padding:_,...s},children:[o.jsxs("div",{className:"chart-header",children:[o.jsxs("div",{title:Q(e,m||y),className:"chart-title-left",style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.left,i.leftSubtitle&&o.jsx("div",{className:"chart-subtitle-left",children:i.leftSubtitle})]}),o.jsx("div",{className:"chart-title-right",children:i.right})]}),o.jsx("div",{className:"chart-content",style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",background:b},children:h||(M&&x?o.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[v&&o.jsx("div",{className:"placeholder-icon",style:{width:w,height:w},children:o.jsx(v,{color:x.iconColor??"currentColor",size:typeof w=="number"?w:parseInt(String(w),10)||L})}),x.text&&o.jsx("div",{className:"placeholder-text",children:x.text}),x.subtext&&o.jsx("div",{className:"placeholder-subtext",children:x.subtext})]}):o.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:r}))})]})},Zw=({id:e,size:t="100%",background:n,icon:c,text:i,subtext:r,onClose:s,onClick:d,style:h,className:l="",colorTextPrimary:u,colorTextSub:p,model:y,fontSize:m,fontWeight:f,a11yConfig:g,titleKey:M})=>{const x=c||y?.icon,v=typeof x=="string",L=v?mt[x]:null,w=v?null:x;return o.jsxs("div",{id:e,className:`alert ${l}`,style:{width:typeof t=="number"?`${t}px`:t,background:n||y?.background,pointerEvents:"auto",...h},role:"alert",onClick:d,title:Q(g,M),children:[L&&o.jsx(L,{className:"alert-icon",size:20,color:u||y?.colorTextPrimary}),w!=null&&o.jsx("span",{className:"alert-icon",style:{display:"flex",alignItems:"center",color:u||y?.colorTextPrimary,flexShrink:0},children:w}),o.jsxs("div",{className:"alert-content",children:[o.jsx("span",{className:"alert-text",style:{color:u||y?.colorTextPrimary,fontSize:m,fontWeight:f},children:i}),r&&o.jsx("span",{className:"alert-subtext",style:{color:p||y?.colorTextSub},children:r})]}),s&&o.jsx("button",{className:"alert-close",onClick:s,"aria-label":"Fermer",children:"✕"})]})},Yq=k.createContext(null),Rke=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,Fke=({children:e,defaultDuration:t=4e3,maxAlerts:n,containerClassName:c,containerStyle:i})=>{const[r,s]=k.useState([]),d=k.useRef(new Map),h=k.useRef(null),l=k.useRef(null),u=k.useRef(n);k.useEffect(()=>()=>{d.current.forEach(_=>window.clearTimeout(_)),d.current.clear()},[]);const p=(_,I)=>{const j=I===void 0||I===0?t:I;if(j===-1)return;const N=window.setTimeout(()=>{f(_)},j);d.current.set(_,N)},y=_=>{const I=d.current.get(_);I&&(window.clearTimeout(I),d.current.delete(_))},m=_=>{const I=Rke(),j={..._,id:I,createdAt:Date.now()};return s(N=>{const S=[j,...N],A=u.current;return typeof A=="number"&&A>=0&&S.length>A?(S.slice(A).forEach(T=>y(T.id)),S.slice(0,A)):S}),p(I,_.duration),I},f=_=>{y(_),s(I=>I.filter(j=>j.id!==_))},g=(_,I)=>{s(j=>j.map(N=>N.id===_?{...N,...I}:N))},M=()=>{d.current.forEach(_=>window.clearTimeout(_)),d.current.clear(),s([])},x=_=>{l.current=_},v=()=>r.slice(),L=k.useMemo(()=>({showAlert:m,dismissAlert:f,updateAlert:g,clearAlerts:M,setContainerRef:x,getAlertsSnapshot:v}),[r]),w=l.current,C=o.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,display:"flex",flexDirection:"column",alignItems:"center",pointerEvents:"none",zIndex:10001,padding:"8px 4px"},children:o.jsx(b0e,{mode:"popLayout",children:r.map(_=>o.jsx(Ow.div,{initial:{opacity:0,y:-10,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.98},transition:{type:"spring",damping:25,stiffness:300},style:{width:"100%",pointerEvents:"auto",boxShadow:"0 6px 20px rgba(0, 0, 0, 0.12)",borderRadius:"8px",marginBottom:"6px",backgroundColor:_.background||_.model?.background||"var(--color-background, #fff)",border:"1px solid rgba(0, 0, 0, 0.08)",overflow:"hidden"},children:o.jsx(Zw,{id:_.id,text:_.text,subtext:_.subtext,icon:_.icon,background:"transparent",colorTextPrimary:_.colorTextPrimary,colorTextSub:_.colorTextSub,model:_.model,onClose:()=>f(_.id),size:"100%",style:{boxShadow:"none"}})},_.id))})}),b=o.jsx("div",{ref:_=>{l.current||(h.current=_)},className:c,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:C});return o.jsxs(Yq.Provider,{value:L,children:[w?lw.createPortal(C,w):b,e]})},Eke=()=>{const e=k.useContext(Yq);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},Oke={default:{background:"#f3f4f6",icon:"Info",colorTextPrimary:"#111827",colorTextSub:"#4b5563"},info:{background:"#dbeafe",icon:"Info",colorTextPrimary:"#1e40af",colorTextSub:"#3b82f6"},success:{background:"#dcfce7",icon:"CheckCircle2",colorTextPrimary:"#166534",colorTextSub:"#22c55e"},warning:{background:"#fef3c7",icon:"AlertTriangle",colorTextPrimary:"#92400e",colorTextSub:"#f59e0b"},error:{background:"#fee2e2",icon:"XCircle",colorTextPrimary:"#991b1b",colorTextSub:"#ef4444"}},Uke="_container_18zbo_1",Wke="_icon_18zbo_9",Gke="_selectWrapper_18zbo_23",Ab={container:Uke,icon:Wke,selectWrapper:Gke},Kke=({options:e,defaultValue:t,onChange:n,label:c})=>{const[i,r]=k.useState(t||e[0]?.value||""),s=d=>{r(d),n?.(d)};return o.jsxs("div",{className:Ab.container,children:[o.jsxs("div",{className:Ab.icon,children:[o.jsx(x1,{size:18}),o.jsx("p",{children:c})]}),o.jsx("div",{className:Ab.selectWrapper,children:o.jsx(Uw,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},Zke=250,Xke=k.forwardRef(({title:e,subtitle:t,size:n="420px",beforeOpen:c,afterOpen:i,beforeClose:r,afterClose:s,style:d,className:h="",children:l,closeOnOverlayClick:u=!0,showCloseButton:p=!0},y)=>{const[m,f]=k.useState(!1),[g,M]=k.useState(!1),x=k.useRef(null),v=k.useRef(null),L=k.useRef(null),w=k.useRef(null);k.useEffect(()=>{const _=x.current;if(!_)return;const I=_.parentElement;return I?(window.getComputedStyle(I).position==="static"&&(I.setAttribute("data-scp-prev-position",I.style.position??""),I.style.position="relative",I.setAttribute("data-scp-position-changed","true")),()=>{if(I.getAttribute("data-scp-position-changed")==="true"){const N=I.getAttribute("data-scp-prev-position")??"";I.style.position=N,I.removeAttribute("data-scp-position-changed"),I.removeAttribute("data-scp-prev-position")}}):void 0},[]),k.useImperativeHandle(y,()=>({open:()=>{m||(c?.(),M(!1),f(!0))},close:()=>{m&&(r?.(),M(!1),f(!1))},toggle:()=>{m?(r?.(),M(!1),f(!1)):(c?.(),M(!1),f(!0))}}),[m,c,r]),k.useEffect(()=>{const _=v.current;w.current&&(window.clearTimeout(w.current),w.current=null);const I=j=>{if(j.target===_&&!(j.propertyName!=="transform"&&j.propertyName!=="opacity"))if(m){M(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}};return _&&(_.addEventListener("transitionend",I),w.current=window.setTimeout(()=>{if(m){M(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}},Zke+60)),m&&(L.current=document.activeElement),()=>{_&&_.removeEventListener("transitionend",I),w.current&&(window.clearTimeout(w.current),w.current=null)}},[m,i,s]),k.useEffect(()=>{const _=I=>{I.key==="Escape"&&m&&(r?.(),M(!1),f(!1))};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[m,r]);const C=()=>{u&&(r?.(),M(!1),f(!1))},b=typeof n=="number"?`${n}px`:n;return o.jsxs("div",{ref:x,className:`scp-inline-root ${m?"open":""}`,"aria-hidden":!m,children:[o.jsx("div",{className:`scp-overlay ${m?"visible":""}`,onMouseDown:C,role:"presentation"}),o.jsxs("aside",{className:`scp-panel ${m?"in":"out"} ${g?"interactive":""} ${h}`,style:{width:b,...d},ref:v,tabIndex:-1,role:"dialog","aria-label":e,children:[o.jsxs("div",{className:"scp-header",children:[o.jsxs("div",{children:[o.jsx("h3",{className:"scp-title",children:e}),t&&o.jsx("div",{className:"scp-subtitle",children:t})]}),p&&o.jsx("button",{className:"scp-close","aria-label":"Close",onClick:()=>{r?.(),M(!1),f(!1)},children:o.jsx(Ke,{size:18})})]}),o.jsx("div",{className:"scp-body",children:l})]})]})});function Yke(e){const t=k.useRef("");k.useEffect(()=>{if(e){t.current=document.body.style.overflow,document.body.style.overflow="hidden";return}document.body.style.overflow=t.current||""},[e])}const Jke="_container_1pfsp_1",Qke="_title_1pfsp_8",lj={container:Jke,title:Qke},e3e=({title:e,fontSize:t,barColor:n,className:c="",style:i={}})=>{const r={...i,"--title-font-size":t,"--bar-color":n};return o.jsx("div",{className:`${lj.container} ${c}`,style:r,children:o.jsx("h2",{className:lj.title,children:e})})},t3e="_modalOverlay_1878x_1",a3e="_modalContainer_1878x_16",n3e="_modalTitle_1878x_29",o3e="_modalInput_1878x_38",c3e="_modalTextarea_1878x_39",i3e="_modalActions_1878x_70",r3e="_cancelBtn_1878x_77",s3e="_saveBtn_1878x_99",d3e="_inputError_1878x_141",l3e="_inlineAlert_1878x_146",Ye={modalOverlay:t3e,modalContainer:a3e,modalTitle:n3e,modalInput:o3e,modalTextarea:c3e,modalActions:i3e,cancelBtn:r3e,saveBtn:s3e,inputError:d3e,inlineAlert:l3e},Vc=({isOpen:e,onClose:t,onSave:n,title:c="Ajouter un élément",fields:i,initialValues:r={},errorMessage:s="",disableSave:d,onFieldChange:h,confirmText:l="Valider",cancelText:u="Annuler"})=>{const[p,y]=k.useState({}),m=k.useRef(null),[f,g]=k.useState(!1),[M,x]=k.useState(!1),v=k.useRef(null);if(k.useEffect(()=>{if(!e)return;const _={};for(const I of i)_[I.name]=Object.prototype.hasOwnProperty.call(r,I.name)?r[I.name]:"";return y(_),requestAnimationFrame(()=>{m.current?.focus();const I=m.current;if(I&&typeof I.selectionStart=="number"){const j=String(I.value??"").length;I.setSelectionRange(j,j)}}),()=>{v.current&&(window.clearTimeout(v.current),v.current=null)}},[e]),k.useEffect(()=>{s&&e?(x(!0),v.current&&(window.clearTimeout(v.current),v.current=null),v.current=window.setTimeout(()=>{x(!1),v.current=null},3e3)):(x(!1),v.current&&(window.clearTimeout(v.current),v.current=null))},[s,e]),!e)return null;const L=(_,I)=>{y(j=>({...j,[_]:I})),h&&h(_,I)},w=async()=>{if(!Object.values(p).some(_=>_===""||_===void 0))try{g(!0);const _=await n(p);if(typeof _=="string"&&_==="duplicate-same"){g(!1);return}y({}),g(!1),t()}catch(_){console.error("AddItemModal onSave error:",_),g(!1),t()}},C=_=>{_.target===_.currentTarget&&t()},b=_=>_.stopPropagation();return o.jsx("div",{className:Ye.modalOverlay,onMouseDown:C,role:"dialog","aria-modal":"true",children:o.jsxs("div",{className:Ye.modalContainer,onMouseDown:b,onClick:b,children:[o.jsx("h2",{className:Ye.modalTitle,children:c}),i.map((_,I)=>{const j=p[_.name]??"",N=I===0&&!!s,S={name:_.name,placeholder:_.placeholder||_.label,value:String(j),onChange:A=>L(_.name,A.target.value),className:_.type==="textarea"?`${Ye.modalTextarea} ${N?Ye.inputError:""}`:`${Ye.modalInput} ${N?Ye.inputError:""}`,tabIndex:0,disabled:f};return I===0&&(S.ref=A=>{m.current=A}),o.jsxs("div",{style:{marginBottom:8},children:[_.type==="textarea"?o.jsx("textarea",{rows:_.rows||4,...S}):o.jsx("input",{type:_.type||"text",...S}),I===0&&M&&s&&o.jsx("div",{style:{marginTop:8},children:o.jsx(Zw,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>x(!1),className:Ye.inlineAlert})})]},_.name)}),o.jsxs("div",{className:Ye.modalActions,children:[o.jsx("button",{className:Ye.cancelBtn,onClick:t,type:"button",disabled:f,children:u}),o.jsx("button",{className:Ye.saveBtn,onClick:w,type:"button",disabled:f||!!d,children:f?"En cours...":l})]})]})})},h3e=({title:e,keyCount:t,onAddKey:n,a11yConfig:c})=>{const[i,r]=k.useState(!1),s=d=>{const h=d.key;n&&h&&n(h)};return o.jsxs("div",{className:"header-container",children:[o.jsxs("div",{className:"header-info",children:[o.jsx("h1",{title:Q(c,e),children:e}),o.jsxs("p",{children:[t," clés"]})]}),o.jsxs("button",{onClick:()=>r(!0),className:"add-key-button",children:[o.jsx($c,{className:"add-key-icon"}),"Clé"]}),o.jsx(Vc,{isOpen:i,title:"Ajouter une clé",onClose:()=>r(!1),onSave:s,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},u3e=({modules:e,onEdit:t,onDelete:n,onAddModule:c,onSelectModule:i,addModalFields:r,addModalTitle:s})=>{const[d,h]=k.useState(!1),[l,u]=k.useState(null),[p,y]=k.useState(null),[m,f]=k.useState(!1),g=()=>h(!0),M=()=>h(!1),x=_=>{if(c){const I=_.code?.trim()||_.id?.trim(),j=_.title?.trim(),N=I||j||String(Date.now()),S=j||I||`Module ${N}`;c({id:N,title:S,subtitle:"",translations:{}})}M()},v=(_,I)=>{_.stopPropagation(),u(I)},L=()=>u(null),w=_=>{if(!l){L();return}const I={...l,title:_.title||l.title,subtitle:""};t&&t(I),L()},C=(_,I)=>{_.stopPropagation(),n&&n(I)},b=_=>{y(_.id),i&&i(_)};return m?o.jsx("div",{className:"module-sidebar collapsed",children:o.jsx(Qc,{size:20,className:"menu-toggle",onClick:()=>f(!1)})}):o.jsxs("div",{className:"module-sidebar",children:[o.jsxs("div",{className:"sidebar-header",children:[o.jsxs("span",{className:"header-text",children:["Modules (",e.length,")"]}),o.jsxs("div",{className:"header-actions",children:[o.jsx(Jc,{size:18,className:"header-folder",onClick:g}),o.jsx(Qc,{size:18,className:"header-menu",onClick:()=>f(!0)})]})]}),o.jsx("hr",{className:"divider"}),o.jsx("div",{className:"module-list",children:e.map(_=>{const I=Object.keys(_.translations||{}).length,j=I>0||_.id===p;return o.jsxs("div",{className:`module-item ${_.id===p?"selected":""}`,onClick:()=>b(_),role:"button",tabIndex:0,onKeyDown:N=>{N.key==="Enter"&&b(_)},children:[o.jsxs("div",{className:"module-left",children:[o.jsx(w1,{size:16,className:"item-folder"}),o.jsxs("div",{className:"module-info",children:[o.jsxs("div",{className:"module-title",children:[_.title,j&&o.jsxs("span",{className:"count",children:[" ",I," "]})]}),_.subtitle?o.jsx("div",{className:"module-subtitle",children:_.subtitle}):null]})]}),o.jsxs("div",{className:"module-actions",children:[t&&o.jsx(e1,{onClick:N=>v(N,_),color:"#777",size:16}),n&&o.jsx(dt,{onClick:N=>C(N,_.id),color:"#777",size:16})]})]},_.id)})}),o.jsx(Vc,{isOpen:d,onClose:M,onSave:x,title:s||"Ajouter un module",fields:r&&r.length?r.map(_=>({name:_.name,label:_.label,type:_.type,placeholder:_.placeholder,rows:_.rows})):[{name:"title",label:"Titre",placeholder:"Titre du module"}]}),l&&o.jsx(Vc,{isOpen:!!l,onClose:L,onSave:w,title:"Éditer le module",initialValues:{title:l.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},Jq=({placeholder:e="Rechercher une clé ou traduction...",value:t="",onChange:n,iconPosition:c="left",iconColor:i="#9ca3af",a11yConfig:r,className:s})=>o.jsxs("div",{className:`search-container icon-${c}`,title:Q(r,e),children:[o.jsx("div",{className:"search-icon-wrapper",children:o.jsx(S1,{className:"search-icon",color:i})}),o.jsx("input",{type:"text",placeholder:e,value:t,onChange:d=>n?.(d.target.value),className:`search-input ${s}`})]}),p3e=({keyName:e,translations:t,availableLanguages:n,onDeleteKey:c,onEditKey:i,onEditTranslation:r,onDeleteTranslation:s,onAddTranslation:d,draggable:h=!1,checkDuplicateLocal:l})=>{const[u,p]=k.useState(!1),[y,m]=k.useState(""),[f,g]=k.useState(null),[M,x]=k.useState(""),[v,L]=k.useState(""),[w,C]=k.useState(!1),[b,_]=k.useState(!1),[I,j]=k.useState(null),[N,S]=k.useState(!1),A=t.map(D=>D.language),B=n.filter(D=>!A.includes(D.code)),T=()=>{y&&v.trim()&&(d?.(e,y,v.trim()),m(""),L(""),p(!1))},V=(D,F)=>{g(D),x(F)},$=D=>{r?.(e,D,M),g(null),x("")},q=()=>{g(null),x("")},P=async D=>{const F=D.name?.trim();if(F){if(j(null),S(!1),F===e||!i)return C(!1),"ok";try{const G=await i(e,F);if(typeof G=="string"&&G==="ok")C(!1),j(null);else{if(typeof G=="string"&&G==="duplicate-same")return j("Une clé existe déjà dans ce module."),S(!0),"duplicate-same";if(typeof G=="string"&&G==="duplicate-other")return C(!1),j(null),"duplicate-other";C(!1)}}catch(G){console.error("Erreur handleRenameSave:",G),j("Erreur lors du renommage.")}}},H=(D,F)=>{if(D!=="name")return;const G=F.trim();j(null),S(!1),G&&typeof l=="function"&&(l(G,e)?(j("Une clé existe déjà dans ce module."),S(!0)):(j(null),S(!1)))};return o.jsxs("div",{className:`translation-key ${b?"collapsed":"expanded"} ${h?"draggable":""}`,children:[o.jsxs("div",{className:"card-header",children:[o.jsxs("div",{className:"header-left",children:[o.jsx("button",{className:"collapse-button",onClick:()=>_(!b),title:b?"Déplier":"Replier",children:b?o.jsx(L1,{className:"collapse-icon"}):o.jsx(qt,{className:"collapse-icon"})}),o.jsx("h3",{className:"card-title",title:e,children:e})]}),o.jsxs("div",{className:"header-actions",children:[o.jsx("button",{className:"action-button",onClick:D=>{D.stopPropagation(),C(!0)},title:"Renommer la clé",children:o.jsx(yt,{className:"action-icon"})}),o.jsx("button",{onClick:D=>{D.stopPropagation(),c?.(e)},className:"action-button delete",title:"Supprimer la clé",children:o.jsx(dt,{className:"action-icon"})})]})]}),o.jsx("div",{className:`translations-container ${b?"":"expanded"}`,children:!h&&o.jsxs(o.Fragment,{children:[t.map(D=>o.jsxs("div",{className:"translation-row",children:[o.jsx("div",{className:"language-code",children:D.language}),o.jsx("div",{className:"translation-content",children:f===D.language?o.jsxs(o.Fragment,{children:[o.jsx("input",{type:"text",value:M,onChange:F=>x(F.target.value),className:"edit-input",autoFocus:!0,onKeyDown:F=>{F.key==="Enter"&&$(D.language),F.key==="Escape"&&q()}}),o.jsx("button",{onClick:()=>$(D.language),className:"save-button",disabled:!M.trim(),children:"Enregistrer"}),o.jsx("button",{onClick:q,className:"cancel-button",children:o.jsx(Ke,{className:"action-icon"})})]}):o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"translation-text",title:D.value,children:D.value}),o.jsx("button",{onClick:()=>V(D.language,D.value),className:"edit-button",title:"Éditer la traduction",children:o.jsx(yt,{className:"action-icon"})}),o.jsx("button",{onClick:()=>s?.(e,D.language),className:"delete-translation-button",title:"Supprimer la traduction",children:o.jsx(Ke,{className:"action-icon"})})]})})]},D.language)),u?o.jsxs("div",{className:"add-language-row",children:[o.jsx("div",{className:"language-code",children:"+"}),o.jsxs("div",{className:"add-language-content",children:[o.jsx("div",{className:"language-select-container",children:o.jsxs("select",{value:y,onChange:D=>m(D.target.value),className:"language-select",children:[o.jsx("option",{value:"",children:"Sélectionnez la langue"}),B.map(D=>o.jsxs("option",{value:D.code,children:[D.name," (",D.code,")"]},D.code))]})}),y&&o.jsx("input",{type:"text",value:v,onChange:D=>L(D.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:D=>{D.key==="Enter"&&T(),D.key==="Escape"&&(p(!1),m(""),L(""))}}),o.jsx("button",{onClick:T,disabled:!y||!v.trim(),className:"save-button",children:"Ajouter"}),o.jsx("button",{onClick:()=>{p(!1),m(""),L("")},className:"cancel-button",children:o.jsx(Ke,{className:"action-icon"})})]})]}):o.jsxs("button",{onClick:()=>p(!0),className:"show-add-button",disabled:B.length===0,children:[o.jsx("span",{className:"plus-icon",children:"+"}),"Ajouter une langue"]})]})}),h&&o.jsxs("div",{className:"drag-overlay",children:[o.jsx(a.Move,{size:24,strokeWidth:1.5}),o.jsx("span",{children:"Glisser pour réorganiser"})]}),o.jsx(Vc,{isOpen:w,onClose:()=>{C(!1),j(null),S(!1)},onSave:P,onFieldChange:H,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:I||"",disableSave:N})]})},y3e="_wrapper_1wvht_1",k3e="_leftGroup_1wvht_12",m3e="_filterButton_1wvht_21",f3e="_open_1wvht_42",g3e="_filterIcon_1wvht_42",v3e="_infoText_1wvht_58",M3e="_pickerContainer_1wvht_66",x3e="_srOnly_1wvht_79",_3e="_pickerLabel_1wvht_91",L3e="_datetime_1wvht_98",I3e="_rightGroup_1wvht_107",b3e="_searchInputWrap_1wvht_116",w3e="_searchInput_1wvht_116",C3e="_searchIcon_1wvht_152",Pe={wrapper:y3e,leftGroup:k3e,filterButton:m3e,open:f3e,filterIcon:g3e,infoText:v3e,pickerContainer:M3e,srOnly:x3e,pickerLabel:_3e,datetime:L3e,rightGroup:I3e,searchInputWrap:b3e,searchInput:w3e,searchIcon:C3e};function N3e({onDateChange:e,onSearch:t,initialDate:n}){const[c,i]=k.useState(!1),[r,s]=k.useState(n??""),d=k.useRef(null);k.useEffect(()=>{function p(y){const m=y.target;d.current&&m&&!d.current.contains(m)&&i(!1)}return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),k.useEffect(()=>{n&&s(n)},[n]);const h=()=>i(p=>!p),l=p=>{const y=p.target.value;s(y),e?.(y)},u=p=>{t?.(p.target.value)};return o.jsxs("div",{className:Pe.wrapper,ref:d,children:[o.jsxs("div",{className:Pe.leftGroup,children:[o.jsxs("button",{type:"button",className:`${Pe.filterButton} ${c?Pe.open:""}`,onClick:h,"aria-expanded":c,"aria-haspopup":"dialog","aria-controls":"entry-datetime",children:[o.jsx("span",{children:"Entry time"}),o.jsx("svg",{className:Pe.filterIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"14",height:"14","aria-hidden":!0,children:o.jsx("path",{fill:"currentColor",d:"M10 18h4v-2h-4v2zm-7-8v2h18V10H3zm3-6v2h12V4H6z"})})]}),o.jsx("div",{className:Pe.infoText,children:"Confidence interval: step ± 15' / exit ± 30'"}),c&&o.jsxs("div",{className:Pe.pickerContainer,role:"dialog","aria-label":"Choisir la date et l’heure",children:[o.jsx("label",{className:Pe.pickerLabel,htmlFor:"entry-datetime",children:o.jsx("span",{className:Pe.srOnly,children:"Choisir la date et l’heure"})}),o.jsx("input",{id:"entry-datetime",className:Pe.datetime,type:"datetime-local",value:r,onChange:l,"aria-label":"Date et heure d’entrée"})]})]}),o.jsx("div",{className:Pe.rightGroup,children:o.jsxs("div",{className:Pe.searchInputWrap,children:[o.jsx("input",{className:Pe.searchInput,placeholder:"Search...",onChange:u,"aria-label":"Search"}),o.jsx("svg",{className:Pe.searchIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"16",height:"16","aria-hidden":!0,children:o.jsx("path",{fill:"currentColor",d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16a6.471 6.471 0 004.23-1.57l.27.28v.79L20 20.49 21.49 19l-5.99-5zM10 15.5A5.5 5.5 0 1115.5 10 5.5 5.5 0 0110 15.5z"})})]})})]})}const S3e=({className:e="",style:t={},title:n,titleClassName:c="",titleStyle:i,data:r,lineClasses:s={},renderCell:d,bg:h,titleBg:l,titleColor:u,itemBg:p,emptyContent:y,colGap:m="1rem"})=>{const f=Array.isArray(r)?r:[],g=f.length===0,M=f.every(w=>typeof w=="string"),x=f.some(w=>Array.isArray(w)),v=(w,C,b)=>d?d(w,C,b):o.jsx("span",{className:"slb-cell-text",children:w}),L=m?{"--col-gap":m}:void 0;return g?o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:h??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{...i,background:l??void 0,color:u??void 0},children:n}),o.jsx("div",{className:"slb-empty",children:y??null})]}):M&&!x?o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:h??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{background:l??void 0,color:u??void 0},children:n}),o.jsx("ul",{className:"slb-list",children:f.map((w,C)=>o.jsx("li",{className:`slb-item ${s[C]||""}`,style:{background:p??void 0},children:v(w,C,0)},C))})]}):o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:h??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{background:l??void 0,color:u??void 0},children:n}),o.jsx("div",{className:"slb-grid",style:L,children:f.map((w,C)=>{const b=s[C]||"";if(Array.isArray(w)){const[_,I]=w;return o.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[o.jsx("div",{className:"slb-grid-left",children:v(_,C,0)}),o.jsx("div",{className:"slb-grid-right",children:v(I,C,1)})]},C)}return o.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[o.jsx("div",{className:"slb-grid-left",children:v(w,C,0)}),o.jsx("div",{className:"slb-grid-right slb-empty-cell","aria-hidden":"true"})]},C)})})]})},j3e=({className:e="",style:t={},title:n,titleColor:c,data:i=[],badgeColor:r="#0ea5e9",badgeColors:s={},badgePadding:d="8px 16px",badgeWidth:h,itemBg:l,lineClasses:u={},colGap:p="1rem"})=>{const y=i.some(f=>Array.isArray(f)),m=p?{"--col-gap":p}:void 0;return o.jsxs("div",{className:`clb-root ${e}`,style:{...t},children:[n&&o.jsx("div",{className:"clb-title",style:c?{color:c}:void 0,children:n}),o.jsx("div",{className:"clb-grid",style:m,children:i.map((f,g)=>{const M=u[g]||"";if(Array.isArray(f)){const[x,v]=f,L=s[g]||r;return o.jsxs("div",{className:`clb-row ${M}`,style:{background:l??void 0},children:[o.jsx("div",{className:"clb-badge-col",children:o.jsx("div",{className:"counter-badge",style:{background:L,padding:d,width:h,minWidth:h},children:x})}),o.jsx("div",{className:"clb-text",children:v})]},g)}return y?o.jsxs("div",{className:`clb-row ${M}`,style:{background:l??void 0},children:[o.jsx("div",{className:"clb-badge-col clb-empty-badge"}),o.jsx("div",{className:"clb-text",children:f})]},g):o.jsx("div",{className:`clb-fullrow ${M}`,style:{background:l??void 0},children:o.jsx("span",{children:f})},g)})})]})},$3e=({className:e="",style:t={},title:n,items:c=[],titleBg:i,titleColor:r,itemBg:s,lineClasses:d={},renderTrendIcon:h,colGap:l="1rem"})=>{const u=l?{"--col-gap":l}:void 0;return o.jsxs("div",{className:`tlb-root ${e}`,style:{...t,background:s??void 0},children:[n&&o.jsx("div",{className:"tlb-title",style:{background:i??void 0,color:r??void 0},children:n}),o.jsx("div",{className:"tlb-grid",style:u,children:c.map((p,y)=>{const m=d[y]||"";return o.jsxs("div",{className:`tlb-row ${m}`,style:{background:s??void 0},children:[o.jsx("div",{className:"tlb-label",children:p.label}),o.jsxs("div",{className:"tlb-value-group",children:[o.jsx("div",{className:"tlb-icon-col",children:h?h(p):p.icon??null}),o.jsxs("div",{className:"tlb-value-wrap",children:[o.jsx("div",{className:"tlb-value",children:p.value}),typeof p.delta<"u"&&o.jsx("div",{className:`tlb-delta ${p.delta>0?"positive":p.delta<0?"negative":"neutral"}`,children:p.deltaLabel??String(p.delta)})]})]})]},y)})})]})},q3e=({className:e="",style:t={},children:n,gap:c="1rem"})=>o.jsx("div",{className:`frc-root ${e}`,style:{...t,"--frc-gap":c},children:k.Children.map(n,i=>o.jsx("div",{className:"frc-item",children:i}))}),A3e=({className:e="",style:t={},children:n,gap:c="1rem",background:i="#D9EEF5"})=>o.jsx("div",{className:`lcc-root ${e}`,style:{background:i,...t,"--lcc-gap":c},children:k.Children.map(n,r=>o.jsx("div",{className:"lcc-cell",children:r}))}),z3e="_overlay_3x4or_2",V3e="_fadeIn_3x4or_1",P3e="_popup_3x4or_17",T3e="_slideUp_3x4or_1",H3e="_header_3x4or_28",D3e="_body_3x4or_40",B3e="_footer_3x4or_51",R3e="_cancelButton_3x4or_59",F3e="_confirmButton_3x4or_77",E3e="_warning_3x4or_97",O3e="_danger_3x4or_106",U3e="_info_3x4or_115",_t={overlay:z3e,fadeIn:V3e,popup:P3e,slideUp:T3e,header:H3e,body:D3e,footer:B3e,cancelButton:R3e,confirmButton:F3e,warning:E3e,danger:O3e,info:U3e},W3e=({isOpen:e,title:t,message:n,onConfirm:c,onCancel:i,confirmText:r="Confirmer",cancelText:s="Annuler",type:d="warning"})=>{if(!e)return null;const h=u=>{u.target===u.currentTarget&&i()},l=u=>{u.key==="Escape"&&i(),u.key==="Enter"&&u.ctrlKey&&c()};return o.jsx("div",{className:_t.overlay,onClick:h,onKeyDown:l,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:o.jsxs("div",{className:`${_t.popup} ${_t[d]}`,children:[o.jsx("div",{className:_t.header,children:o.jsx("h3",{id:"confirmation-title",children:t})}),o.jsx("div",{className:_t.body,children:o.jsx("p",{id:"confirmation-message",children:n})}),o.jsxs("div",{className:_t.footer,children:[o.jsx("button",{className:_t.cancelButton,onClick:i,type:"button",children:s}),o.jsx("button",{className:_t.confirmButton,onClick:c,type:"button",autoFocus:!0,children:r})]})]})})},G3e=()=>{const[e,t]=k.useState({isOpen:!1,title:"",message:"",onConfirm:null}),n=k.useCallback((r,s,d)=>{t({isOpen:!0,title:r,message:s,onConfirm:d})},[]),c=k.useCallback(()=>{t(r=>({...r,isOpen:!1,onConfirm:null}))},[]),i=k.useCallback(()=>{e.onConfirm?.(),c()},[e.onConfirm,c]);return{isOpen:e.isOpen,title:e.title,message:e.message,showConfirmation:n,hideConfirmation:c,handleConfirm:i}},K3e="_container_1l44m_1",Z3e="_selectButton_1l44m_7",X3e="_disabled_1l44m_22",Y3e="_error_1l44m_39",J3e="_outline_1l44m_52",Q3e="_filled_1l44m_58",eme="_sm_1l44m_67",tme="_md_1l44m_73",ame="_lg_1l44m_79",nme="_buttonContent_1l44m_85",ome="_label_1l44m_93",cme="_placeholder_1l44m_103",ime="_iconsContainer_1l44m_108",rme="_loadingSpinner_1l44m_115",sme="_spin_1l44m_1",dme="_arrowIcon_1l44m_133",lme="_arrowIconOpen_1l44m_141",hme="_dropdown_1l44m_146",ume="_dropdownIn_1l44m_1",pme="_searchContainer_1l44m_171",yme="_searchInputWrapper_1l44m_177",kme="_searchIcon_1l44m_183",mme="_searchInput_1l44m_177",fme="_optionsList_1l44m_208",gme="_noResults_1l44m_231",vme="_option_1l44m_208",Mme="_optionHighlighted_1l44m_261",xme="_optionSelected_1l44m_266",_me="_optionDisabled_1l44m_277",Lme="_optionLabel_1l44m_283",Ime="_checkIcon_1l44m_291",bme="_widthFull_1l44m_299",wme="_width64_1l44m_302",Cme="_width80_1l44m_305",Nme="_width96_1l44m_308",se={container:K3e,selectButton:Z3e,disabled:X3e,error:Y3e,default:"_default_1l44m_48",outline:J3e,filled:Q3e,sm:eme,md:tme,lg:ame,buttonContent:nme,label:ome,placeholder:cme,iconsContainer:ime,loadingSpinner:rme,spin:sme,arrowIcon:dme,arrowIconOpen:lme,dropdown:hme,dropdownIn:ume,searchContainer:pme,searchInputWrapper:yme,searchIcon:kme,searchInput:mme,optionsList:fme,noResults:gme,option:vme,optionHighlighted:Mme,optionSelected:xme,optionDisabled:_me,optionLabel:Lme,checkIcon:Ime,widthFull:bme,width64:wme,width80:Cme,width96:Nme},Sme=({options:e,value:t,onChange:n,placeholder:c="Sélectionner une option...",disabled:i=!1,loading:r=!1,error:s=!1,className:d="",size:h="md",variant:l="default",width:u="w-full"})=>{const[p,y]=k.useState(!1),[m,f]=k.useState(""),[g,M]=k.useState(0),[x,v]=k.useState({top:0,left:0,width:0}),L=k.useRef(null),w=k.useRef(null),C=k.useRef(null),b=k.useMemo(()=>m?e.filter($=>$.label.toLowerCase().includes(m.toLowerCase())):e,[e,m]),_=e.find($=>$.value===t),I=k.useCallback(()=>{if(L.current){const $=L.current.getBoundingClientRect();v({top:$.top,left:$.left,width:$.width})}},[]);k.useEffect(()=>(p&&(I(),window.addEventListener("scroll",I,!0),window.addEventListener("resize",I)),()=>{window.removeEventListener("scroll",I,!0),window.removeEventListener("resize",I)}),[p,I]),k.useEffect(()=>{const $=q=>{L.current&&!L.current.contains(q.target)&&w.current&&!w.current.contains(q.target)&&(y(!1),f(""))};return document.addEventListener("mousedown",$),()=>document.removeEventListener("mousedown",$)},[]),k.useEffect(()=>{M(0)},[b]);const j=$=>{$.disabled||(n?.($.value,$),y(!1),f(""))},N=$=>{f($.target.value),p||y(!0)},S=$=>{if(!p){($.key==="ArrowDown"||$.key==="Enter")&&y(!0);return}switch($.key){case"ArrowDown":$.preventDefault(),M(q=>q<b.length-1?q+1:q);break;case"ArrowUp":$.preventDefault(),M(q=>q>0?q-1:q);break;case"Enter":$.preventDefault(),b[g]&&j(b[g]);break;case"Escape":y(!1),f("");break}},A=()=>[se.selectButton,se[h],se[l],i?se.disabled:"",s?se.error:"",d].filter(Boolean).join(" "),B=()=>{switch(u){case"w-64":return se.width64;case"w-80":return se.width80;case"w-96":return se.width96;default:return se.widthFull}},T=($,q)=>[se.option,q===g?se.optionHighlighted:"",$.value===t?se.optionSelected:"",$.disabled?se.optionDisabled:""].filter(Boolean).join(" "),V={position:"fixed",top:x.top+(L.current?.offsetHeight||0)+4,left:x.left,width:x.width,zIndex:9999};return o.jsxs("div",{className:`${se.container} ${B()}`,children:[o.jsx("button",{ref:L,className:A(),onClick:()=>!i&&y(!p),onKeyDown:S,tabIndex:i?-1:0,type:"button","aria-haspopup":"listbox","aria-expanded":p,disabled:i,children:o.jsxs("div",{className:se.buttonContent,children:[o.jsx("span",{className:`${se.label} ${_?"":se.placeholder}`,children:_?_.label:c}),o.jsxs("div",{className:se.iconsContainer,children:[r&&o.jsx("div",{className:se.loadingSpinner}),o.jsx("svg",{className:`${se.arrowIcon} ${p?se.arrowIconOpen:""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})]})}),p&&lw.createPortal(o.jsxs("div",{className:`${se.dropdown} ${B()}`,style:V,ref:w,children:[o.jsx("div",{className:se.searchContainer,children:o.jsxs("div",{className:se.searchInputWrapper,children:[o.jsx("svg",{className:se.searchIcon,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),o.jsx("input",{ref:C,type:"text",value:m,onChange:N,placeholder:"Rechercher...",className:se.searchInput,autoFocus:!0})]})}),o.jsx("div",{className:se.optionsList,children:b.length===0?o.jsx("div",{className:se.noResults,children:"Aucun résultat trouvé"}):o.jsx("ul",{role:"listbox",children:b.map(($,q)=>o.jsx("li",{className:T($,q),onClick:()=>j($),onMouseEnter:()=>M(q),role:"option","aria-selected":$.value===t,"aria-disabled":$.disabled,children:o.jsxs("div",{className:se.buttonContent,children:[o.jsx("span",{className:se.optionLabel,title:$.label,children:$.label}),$.value===t&&o.jsx("svg",{className:se.checkIcon,fill:"currentColor",viewBox:"0 0 20 20",children:o.jsx("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})]})},$.value))})})]}),document.body)]})},jme="_container_uq7pt_1",$me="_item_uq7pt_7",qme="_mainValue_uq7pt_13",Ame="_label_uq7pt_17",zme="_subValue_uq7pt_22",Vme="_subValueWrapper_uq7pt_27",Pme="_subSeparator_uq7pt_32",Ue={container:jme,item:$me,mainValue:qme,label:Ame,subValue:zme,subValueWrapper:Vme,subSeparator:Pme},Tme=({dms:e,stats:t=[],itemWidth:n="120px",valueFontSize:c="28px",valueFontWeight:i=700,subFontSize:r="16px",subFontWeight:s=600,backgroundColor:d="#ffffff",labelColor:h="#6b7280",valueColor:l="#000000"})=>{const u=(p,y,m)=>{const[f,g]=p.split("/").map(M=>M.trim());return o.jsxs("span",{className:Ue.subValueWrapper,children:[o.jsx("span",{className:Ue.subLeft,style:{color:y},children:f}),o.jsx("span",{className:Ue.subSeparator,children:" / "}),o.jsx("span",{className:Ue.subRight,style:{color:m},children:g})]})};return o.jsxs("div",{className:Ue.container,style:{backgroundColor:d},children:[e&&o.jsxs("div",{className:Ue.item,style:{flex:`1 1 ${n}`},children:[o.jsx("div",{className:Ue.mainValue,style:{fontSize:c,fontWeight:i,color:l},children:e}),o.jsx("div",{className:Ue.label,style:{color:h},children:"DMS"})]}),t.map((p,y)=>o.jsxs("div",{className:Ue.item,style:{flex:`1 1 ${n}`},children:[o.jsx("div",{className:Ue.mainValue,style:{fontSize:c,fontWeight:i,color:l},children:p.value}),o.jsx("div",{className:Ue.label,style:{color:h},children:p.label}),o.jsx("div",{className:Ue.subValue,style:{fontSize:r,fontWeight:s},children:p.subValue&&u(p.subValue,p.subLeftColor,p.subRightColor)})]},y))]})},Hme="_encours_16ist_1",Dme="_header_16ist_19",Bme="_iconWrap_16ist_27",Rme="_title_16ist_36",Fme="_items_16ist_47",Eme="_spaceEvenly_16ist_56",Ome="_item_16ist_47",Ume="_valueContainer_16ist_86",Wme="_value_16ist_86",Gme="_label_16ist_108",ot={encours:Hme,header:Dme,iconWrap:Bme,title:Rme,items:Fme,spaceEvenly:Eme,item:Ome,valueContainer:Ume,value:Wme,label:Gme},Sc=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function Kme(e,t){const n={},c={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=Sc(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=Sc(t.defaultValueFontSize)),e.valueFontWeight!==void 0?n.fontWeight=e.valueFontWeight:t.defaultValueFontWeight!==void 0&&(n.fontWeight=t.defaultValueFontWeight),e.labelColor&&(c.color=e.labelColor),e.labelFontSize!==void 0?c.fontSize=Sc(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(c.fontSize=Sc(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?c.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(c.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:c}}function Zme(){return o.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[o.jsx("circle",{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"1.4"}),o.jsx("path",{d:"M8 12h8",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})]})}function Xme(e){const{title:t,titleColor:n,titleFontSize:c,titleFontWeight:i,icon:r,iconSize:s=18,iconColor:d,defaultValueFontSize:h,defaultValueFontWeight:l,defaultLabelFontSize:u,defaultLabelFontWeight:p,data:y,style:m,bg:f="#ffffff",width:g,gap:M,className:x,ariaLabel:v}=e,L=r?mt[r]:void 0,w={background:f,width:Sc(g),...m},C={};n&&(C.color=n),c!==void 0&&(C.fontSize=Sc(c)),i!==void 0&&(C.fontWeight=i);const b={};return d&&(b.color=d),o.jsxs("section",{className:`${ot.encours} ${x??""}`,style:w,"aria-label":v??t,children:[o.jsxs("div",{className:ot.header,children:[o.jsx("div",{className:ot.iconWrap,"aria-hidden":!0,style:b,children:L?o.jsx(L,{size:typeof s=="number"?s:void 0}):o.jsx(Zme,{})}),o.jsx("div",{className:ot.title,style:C,children:t})]}),o.jsx("div",{className:`${ot.items} ${M===void 0?ot.spaceEvenly:""}`,role:"list",style:M!==void 0?{gap:`${M}px`}:{},children:y.map((_,I)=>{const{valueStyle:j,labelStyle:N}=Kme(_,{defaultValueFontSize:h,defaultValueFontWeight:l,defaultLabelFontSize:u,defaultLabelFontWeight:p});return o.jsx("div",{className:ot.item,role:"listitem",style:{..._.background?{background:_.background}:{},..._.width?{width:Sc(_.width)}:{}},children:o.jsxs("div",{className:ot.valueContainer,children:[o.jsx("div",{className:ot.value,style:j,children:_.value}),_.label&&o.jsx("div",{className:ot.label,style:N,children:_.label})]})},`${String(_.label??_.value)}-${I}`)})})]})}const Yme=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M480-360 280-559h400z"})),Jme=k.memo(Yme),Qme=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"m280-400 200-201 200 201z"})),e6e=k.memo(Qme),t6e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},J.createElement("path",{fill:"#0087BD",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm3.983-3.55q.1 0 .192-.033a.36.36 0 0 0 .158-.117l4.117-4.133q.15-.15.15-.35a.54.54 0 0 0-.15-.367.52.52 0 0 0-.358-.133.5.5 0 0 0-.359.15l-3.75 3.75L5.35 7.583a.48.48 0 0 0-.7 0q-.15.15-.15.367 0 .216.15.35l1.983 2a.48.48 0 0 0 .35.15"})),a6e=k.memo(t6e),n6e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},J.createElement("path",{fill:"#1E2122",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm0-1h10V3H3z"})),o6e=k.memo(n6e),c6e=({items:e,onSave:t,loading:n,disabled:c,saveLabel:i,savingLabel:r,buttonTitle:s,size:d=16,colors:h={bg:"#DADADA",activeBg:"var(--color-primary)",circle:"#FFFFFF",icon:"#1C1B1F",icon2:"#FFFFFF"},style:l,a11yConfig:u})=>{const[p,y]=k.useState(!1),[m,f]=k.useState(e),[g,M]=k.useState(!1);if(k.useEffect(()=>{M(!0)},[]),k.useEffect(()=>{f(e)},[e]),!g)return null;const x=(w,C)=>{C<4||f(b=>b.map(_=>_.component_key===w?{..._,visible:!_.visible}:_))},v=()=>{t(m),y(!1)},L=Q(u,s);return o.jsxs("div",{style:{position:"relative",display:"inline-block",...l},children:[o.jsxs("div",{onClick:()=>{c||y(!p)},style:{display:"flex",alignItems:"center",cursor:c?"not-allowed":"pointer",borderRadius:4,transition:"background 0.2s"},title:L,children:[o.jsx(Aj,{width:d,height:d,fill:h?.icon||"currentColor",style:{transition:"color 0.2s"}}),p?o.jsx(e6e,{width:d,height:d,fill:h?.icon||"currentColor"}):o.jsx(Jme,{width:d,height:d,fill:h?.icon||"currentColor"})]}),p&&o.jsxs("div",{style:{position:"absolute",top:"120%",right:0,minWidth:260,background:"#fff",borderRadius:"0.25rem",boxShadow:"0px 3px 7px 0px rgba(17, 20, 21, 0.05),0px 14px 14px 0px rgba(17, 20, 21, 0.04),0px 30px 18px 0px rgba(17, 20, 21, 0.03), 0px 54px 22px 0px rgba(17, 20, 21, 0.01),0px 85px 24px 0px rgba(17, 20, 21, 0)",zIndex:235465456,padding:"0 0 0.5rem 0"},children:[o.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:m.map((w,C)=>o.jsxs(k.Fragment,{children:[o.jsxs("li",{onClick:()=>x(w.component_key,C),style:{display:"flex",alignItems:"center",padding:"0.5rem",cursor:C<4?"not-allowed":"pointer",transition:"background 0.2s"},onMouseEnter:b=>{C>=4&&(b.currentTarget.style.background="#F9FAFB")},onMouseLeave:b=>{C>=4&&(b.currentTarget.style.background="transparent")},children:[o.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:8,flexShrink:0},children:w.visible?o.jsx(a6e,{width:20,height:20,fill:h?.activeBg||"var(--color-primary, #008FBB)"}):o.jsx(o6e,{width:20,height:20,fill:"#D1D5DB"})}),o.jsx("span",{style:{fontSize:"14px",color:"#111827",fontWeight:400,userSelect:"none"},children:w.label})]}),C===3&&o.jsx("div",{style:{height:1,background:"#E5E7EB",margin:"4px 0"}})]},w.component_key))}),o.jsx("div",{style:{padding:"12px 16px 0 16px",display:"flex",justifyContent:"flex-end"},children:o.jsx("button",{type:"button",onClick:v,disabled:n,style:{padding:"6px 16px",borderRadius:4,border:"none",background:"var(--color-primary, #008FBB)",color:"#fff",fontSize:"14px",fontWeight:500,cursor:n?"not-allowed":"pointer",transition:"opacity 0.2s",opacity:n?.7:1},children:n?r:i})})]})]})},i6e="_container_zhny9_1",r6e="_card_zhny9_15",s6e="_footer_zhny9_33",d6e="_noPaddingMobile_zhny9_51",ei={container:i6e,card:r6e,footer:s6e,noPaddingMobile:d6e},l6e="_board_95t8m_1",h6e="_clickable_95t8m_21",u6e="_sideBar_95t8m_26",p6e="_boardContent_95t8m_32",y6e="_orange_95t8m_40",k6e="_red_95t8m_44",m6e="_green_95t8m_48",f6e="_grey_95t8m_52",g6e="_lightGrey_95t8m_56",v6e="_big_95t8m_61",M6e="_medium_95t8m_66",x6e="_headerRow_95t8m_70",_6e="_iconWrapper_95t8m_75",L6e="_headerTitle_95t8m_80",I6e="_valueArea_95t8m_89",b6e="_titleWhite_95t8m_99",w6e="_titleBlack_95t8m_103",C6e="_valueWhite_95t8m_108",N6e="_valueBlack_95t8m_112",S6e="_valueBlue_95t8m_116",j6e="_bars_95t8m_121",$6e="_bar_95t8m_121",q6e="_barDark_95t8m_135",A6e="_barDim_95t8m_139",z6e="_predictionSection_95t8m_143",V6e="_predictionHeader_95t8m_155",P6e="_predictionBody_95t8m_162",T6e="_hasPrediction_95t8m_170",Ae={board:l6e,clickable:h6e,sideBar:u6e,boardContent:p6e,orange:y6e,red:k6e,green:m6e,grey:f6e,lightGrey:g6e,big:v6e,medium:M6e,headerRow:x6e,iconWrapper:_6e,headerTitle:L6e,valueArea:I6e,titleWhite:b6e,titleBlack:w6e,valueWhite:C6e,valueBlack:N6e,valueBlue:S6e,bars:j6e,bar:$6e,barDark:q6e,barDim:A6e,predictionSection:z6e,predictionHeader:V6e,predictionBody:P6e,hasPrediction:T6e},H6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${Ae.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${Ae.bar} ${r<c?"":e?Ae.barDark:Ae.barDim}`},r))})},St=({a11yConfig:e,iconName:t,label:n,value:c,backgroundColor:i="green",bars:r,lightBars:s=5,size:d="big",valueScale:h,width:l,height:u,className:p="",style:y,titleColor:m="white",valueColor:f="white",titleFontSize:g,titleFontWeight:M,valueFontSize:x,valueFontWeight:v,barColor:L,justifyContent:w="space-between",alignItems:C="flex-start",cardGap:b="",onClick:_,iconColor:I,titleKey:j,predictionValue:N,predictionLabel:S})=>{const A=r!=="none",B=r==="endingDark",{padding:T,...V}=y||{},$=l===void 0&&u===void 0&&i===void 0&&Object.keys(V).length===0?void 0:{...l!==void 0?{width:l}:{},...u!==void 0?{height:u}:{},...i!==void 0?{backgroundColor:i}:{},...V},q=`${Ae.board} ${Ae[d]} ${N!==void 0?Ae.hasPrediction:""} ${p}`;return o.jsxs("div",{className:q,onClick:_,style:h!==void 0?{...$,"--ds-value-scale":h}:$,children:[L&&o.jsx("div",{className:Ae.sideBar,style:{backgroundColor:L}}),o.jsxs("div",{className:Ae.boardContent,style:{padding:T,gap:b},children:[o.jsxs("div",{className:Ae.headerRow,style:{justifyContent:w,alignItems:C},children:[t&&o.jsx("div",{className:Ae.iconWrapper,style:{color:I},children:t}),o.jsx("div",{className:`${Ae.headerTitle} header-title-data-board`,children:o.jsx("span",{title:Q(e,j),"aria-label":e?.description,style:{color:m,...g?{fontSize:g}:{},...M?{fontWeight:M}:{}},children:n})}),A?o.jsx(H6e,{endingDark:B,lightCount:s}):null]}),o.jsx("div",{className:Ae.valueArea,style:{color:f,...x?{fontSize:x}:{},...v?{fontWeight:v}:{}},children:c})]}),N!==void 0&&o.jsxs("div",{className:Ae.predictionSection,children:[o.jsx("div",{className:Ae.predictionHeader,children:S??"PRED."}),o.jsx("div",{className:Ae.predictionBody,children:N})]})]})},D6e="_wrapper_1ydle_10",B6e="_hosp_1ydle_19",R6e="_headerRow_1ydle_54",F6e="_iconWrapper_1ydle_61",E6e="_headerTitle_1ydle_67",O6e="_hospValue_1ydle_76",U6e="_side_1ydle_88",W6e="_mini_1ydle_100",G6e="_miniLabel_1ydle_131",K6e="_miniValue_1ydle_140",Z6e="_miniBars_1ydle_150",X6e="_bars_1ydle_155",Y6e="_bar_1ydle_155",J6e="_barDark_1ydle_169",Q6e="_barDim_1ydle_173",ze={wrapper:D6e,hosp:B6e,headerRow:R6e,iconWrapper:F6e,headerTitle:E6e,hospValue:O6e,side:U6e,mini:W6e,miniLabel:G6e,miniValue:K6e,miniBars:Z6e,bars:X6e,bar:Y6e,barDark:J6e,barDim:Q6e},e8e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${ze.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${ze.bar} ${r<c?"":e?ze.barDark:ze.barDim}`},r))})},Qq=({left:e,right:t,className:n="",style:c,miniTilesCount:i=3})=>{const r=e.bars??"endingDark",s=r!=="none",d=r==="endingDark",h={...c,"--mini-tiles-count":i};return o.jsxs("div",{className:`${ze.wrapper} ${n} data-four-boards`,style:h,children:[o.jsxs("div",{className:`${ze.hosp} ${e.className||""}`,onClick:e.onClick,style:{...e.width?{width:e.width}:{},...e.height?{height:e.height}:{},...e.backgroundColor?{backgroundColor:e.backgroundColor}:{},...e.style||{}},title:Q(e.a11yConfig,e.titleKey),children:[o.jsxs("div",{className:ze.headerRow,children:[o.jsxs("div",{className:`${ze.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&o.jsx("span",{style:{color:e.iconColor},children:e.iconName}),o.jsx("span",{className:ze.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},title:Q(e.a11yConfig,e.titleKey),children:e.label})]}),s?o.jsx(e8e,{endingDark:d,lightCount:e.lightBars??5}):null]}),o.jsx("div",{className:ze.hospValue,style:{color:e.valueColor||"white",...e.valueScale!==void 0?{"--ds-value-scale":e.valueScale}:{},...e.valueFontSize?{fontSize:e.valueFontSize}:{},...e.valueFontWeight?{fontWeight:e.valueFontWeight}:{}},children:e.value})]}),o.jsx("div",{className:ze.side,children:t.map((l,u)=>o.jsxs("div",{className:`${ze.mini} ${l.className||""} icon-wrapper-data-four-boards`,onClick:l.onClick,style:{...l.width?{width:l.width}:{},...l.height?{height:l.height}:{},...l.backgroundColor?{backgroundColor:l.backgroundColor}:{},...l.style||{}},title:Q(l.a11yConfig,l.titleKey),children:[o.jsxs("span",{className:ze.miniLabel,style:{color:l.titleColor||"white",textAlign:"right",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",...l.titleFontSize?{fontSize:l.titleFontSize}:{},...l.titleFontWeight?{fontWeight:l.titleFontWeight}:{}},title:Q(l.a11yConfig,l.titleKey),children:[l.iconName&&o.jsx("span",{style:{color:l.iconColor},children:l.iconName}),l.label]}),o.jsx("span",{className:`${ze.miniValue} mini-value-data-four-boards`,style:{color:l.valueColor||"white",textAlign:"right",...l.valueScale!==void 0?{"--ds-value-scale":l.valueScale}:{},...l.valueFontSize?{fontSize:l.valueFontSize}:{},...l.valueFontWeight?{fontWeight:l.valueFontWeight}:{}},children:l.value}),o.jsx("div",{className:ze.miniBars})]},l.id??`${l.label}-${u}`))})]})},t8e=({items:e,footerLabel:t,width:n,height:c,size:i=320,style:r,className:s="",backgroundColor:d,titleFontSize:h,titleFontWeight:l,valueFontSize:u,valueFontWeight:p,noPaddingLeftRight:y=!1,onItemClick:m})=>{const f={width:n??i,height:c,backgroundColor:d??"var(--ds-navy)",...r},g=e[0],M=e[1],x=e.slice(2,5);return o.jsxs("div",{style:f,className:`${ei.container} ${y?ei.noPaddingMobile:""} ${s}`,children:[o.jsxs("div",{className:ei.card,children:[g?o.jsx(St,{a11yConfig:g.a11yConfig,label:g.label,value:g.value,backgroundColor:g.backgroundColor,bars:g.bars,lightBars:g.lightBars,size:g.size??"big",valueScale:g.valueScale,width:g.width,height:g.height,titleColor:"white",valueColor:"white",titleFontSize:g.titleFontSize??h,titleFontWeight:g.titleFontWeight??l,valueFontSize:g.valueFontSize??u,valueFontWeight:g.valueFontWeight??p,titleKey:g.titleKey,onClick:v=>m?.(0,v)}):null,M&&x.length>0?o.jsx(Qq,{left:{a11yConfig:M.a11yConfig,id:M.id,label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,valueScale:M.valueScale,width:M.width,height:M.height,titleFontSize:M.titleFontSize??h,titleFontWeight:M.titleFontWeight??l,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,titleKey:M.titleKey,onClick:v=>m?.(1,v)},right:x.map((v,L)=>({a11yConfig:v.a11yConfig,id:v.id,label:v.label,value:v.value,backgroundColor:v.backgroundColor,bars:v.bars,lightBars:v.lightBars,valueScale:v.valueScale,width:v.width,height:v.height,titleFontSize:v.titleFontSize??h,titleFontWeight:v.titleFontWeight??l,valueFontSize:v.valueFontSize??u,valueFontWeight:v.valueFontWeight??p,titleKey:v.titleKey,onClick:w=>m?.(2+L,w)}))}):M&&x.length===0?o.jsx(St,{a11yConfig:M.a11yConfig,label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,size:M.size??"big",valueScale:M.valueScale,width:M.width,height:M.height,titleColor:"white",valueColor:"white",titleFontSize:M.titleFontSize??h,titleFontWeight:M.titleFontWeight??l,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,onClick:v=>m?.(1,v)}):null]}),t&&o.jsx("div",{className:ei.footer,children:t})]})},a8e=({x:e,y:t,width:n,payload:c,fontSize:i,fontWeight:r,stroke:s})=>o.jsx("g",{transform:`translate(${e},${t})`,children:o.jsx("foreignObject",{x:-n,y:-35,width:n,height:70,style:{overflow:"visible"},children:o.jsx("div",{style:{fontSize:i,fontWeight:r,color:s,lineHeight:"1.2",display:"flex",justifyContent:"flex-end",textAlign:"right",alignItems:"center",height:"100%",width:"100%",paddingRight:"8px",boxSizing:"border-box"},children:o.jsx("span",{style:{overflowWrap:"break-word",whiteSpace:"normal",display:"block",maxWidth:"100%"},children:c.value})})})}),n8e=({data:e,height:t=360,barColor:n="#0284C7",tooltipEnabled:c=!0,backgroundColor:i="transparent",legendTextColor:r="var(--color-text)",barHeight:s=40,yAxisWidth:d=120,fontSize:h="12px",fontWeight:l="400",domain:u,xAxisLabel:p,margin:y={top:20,right:60,bottom:40,left:0},valueFormatter:m,tickFormatter:f,labelDataKey:g="percentage"})=>{const M=(y.top??20)+(y.bottom??40)+e.length*(s+20),x=Math.max(M,t),v=k.useMemo(()=>{if(!e||e.length===0)return d;const _=(parseFloat(h)||12)*.7,j=Math.max(...e.map(N=>(N.label||"").length))*_+16;return Math.min(Math.max(j,40),d)},[e,h,d]),L=b=>f?f(b):b?.toString()||"",w=b=>m&&g==="value"?m(b):b==null||b===""?"":g==="percentage"?`${b}%`:b.toString(),C=(b,_,I)=>{if(typeof b!="number")return b;const j=m?m(b):b.toString(),N=I?.payload?.percentage;return typeof N=="number"&&Number.isFinite(N)&&g==="percentage"?`${j} (${N.toFixed(1)}%)`:j};return o.jsx("div",{style:{backgroundColor:i,width:"100%"},children:o.jsx(a.ResponsiveContainer,{width:"100%",height:x,children:o.jsxs(a.BarChart,{data:e,layout:"vertical",margin:y,children:[o.jsx(a.CartesianGrid,{opacity:.4,stroke:"#E5E7EB",vertical:!1,horizontal:!0}),o.jsx(a.XAxis,{type:"number",domain:u||[0,"auto"],axisLine:!1,tickLine:!1,fontSize:h,fontWeight:l,stroke:r,tickFormatter:L,label:p?{value:p,position:"insideBottom",offset:-10,style:{textAnchor:"middle",fill:r,fontSize:12,fontWeight:"500"}}:void 0}),o.jsx(a.YAxis,{type:"category",dataKey:"label",stroke:r,axisLine:!1,tickLine:!1,width:v,interval:0,fontSize:h,fontWeight:l,tick:o.jsx(a8e,{fontSize:h,fontWeight:l,stroke:r})}),c&&o.jsx(a.Tooltip,{formatter:C,labelStyle:{color:"var(--color-text)"}}),o.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s,children:o.jsx(a.LabelList,{dataKey:g,position:"right",offset:10,formatter:w,fill:r,fontSize:h,fontWeight:l})})]})})})},o8e="_menu_10i6j_1",c8e="_menuRow_10i6j_18",i8e="_separator_10i6j_33",r8e="_rowLabel_10i6j_39",s8e="_rowLeadingIcon_10i6j_47",d8e="_rowIcon_10i6j_54",Fc={menu:o8e,menuRow:c8e,separator:i8e,rowLabel:r8e,rowLeadingIcon:s8e,rowIcon:d8e},l8e=k.forwardRef(function({isVisible:t,onClose:n,items:c,style:i,position:r,bg:s},d){const h=k.useRef(null),l=d||h;if(k.useEffect(()=>{if(!t)return;const y=m=>{l.current&&!l.current.contains(m.target)&&n?.()};return document.addEventListener("mousedown",y),()=>document.removeEventListener("mousedown",y)},[t,n]),!t)return null;const p={...{top:r?.top,left:r?.left,right:r?.right,bottom:r?.bottom},...s&&{backgroundColor:s},...i};return o.jsx("div",{ref:l,role:"menu",className:Fc.menu,style:p,children:c.map(y=>{if(y.type==="separator")return o.jsx("hr",{className:Fc.separator},y.id);const m=y,f=m.color?{color:m.color}:{},g=m.closeOnClick!==!1;return o.jsxs("button",{role:"menuitem",className:Fc.menuRow,style:f,onClick:()=>{m.onClick?.(),g&&n?.()},children:[o.jsxs("span",{className:Fc.rowLabel,children:[m.leadingIcon&&o.jsx("span",{className:Fc.rowLeadingIcon,children:m.leadingIcon}),o.jsx("span",{children:m.label})]}),m.icon&&o.jsx("span",{className:Fc.rowIcon,children:m.icon})]},m.id)})})}),eA=({user:e,logoutHref:t,logoutTarget:n="_self",onLogout:c,profileHref:i,profileLinkTarget:r="_self",backgroundColor:s="transparent",textColor:d="inherit",roleColor:h="#888",avatarSize:l="32px",padding:u="10px",gap:p="12px",emailFontSize:y="14px",emailFontWeight:m=600,roleFontSize:f="12px",roleFontWeight:g,avatarColor:M="#5b8fb9",backgroundColorAvatar:x="#f1f4f5",dropdownMenuItems:v,dropdownMenuStyle:L,dropdownMenuOffset:w,statusDotColor:C,a11yConfig:b,style:_,className:I=""})=>{const{user:j}=ht(),N=e||j,{currentTheme:S,switchTheme:A}=pL(),B=k.useRef(null),T=k.useRef(null),[V,$]=k.useState(!1),[q,P]=k.useState({}),H=k.useMemo(()=>{const Y=[],ee=({variant:ue})=>ue==="sun"?o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:o.jsx("circle",{cx:"12",cy:"12",r:"4"})}):o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:o.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})});i&&(Y.push({id:"profile",type:"action",label:"Mon profil",onClick:()=>{typeof window>"u"||(r==="_blank"?window.open(i,"_blank","noopener,noreferrer"):window.location.assign(i))}}),Y.push({id:"sep-profile",type:"separator"}));const ie=S==="dark";return Y.push({id:"theme",type:"action",label:ie?"Mode clair":"Mode sombre",icon:o.jsx(ee,{variant:ie?"sun":"moon"}),onClick:()=>{A(ie?"light":"dark")}}),(t||c)&&(Y.push({id:"sep-theme",type:"separator"}),Y.push({id:"logout",type:"action",label:"Se déconnecter",danger:!0,onClick:()=>{if(t){if(typeof window>"u")return;n==="_blank"?window.open(t,"_blank","noopener,noreferrer"):window.location.assign(t);return}c?.()}})),Y},[S,t,n,c,i,r,A]),D=v??H,F=()=>{if(!B.current){$(Y=>!Y);return}if(!V){const Y=B.current.getBoundingClientRect(),ee=window.innerWidth,ie=window.innerHeight,ue=200,re=200,W=4,O=w?.x??0,ne=w?.y??0,Be=ee-Y.right>=ue+W;P(Be?{top:Y.bottom-re+ne,left:Y.right+W+O}:{bottom:ie-Y.top+ne,left:Y.left+O})}$(Y=>!Y)};if(k.useEffect(()=>{if(!V||!B.current)return;const Y=()=>{const ee=B.current.getBoundingClientRect(),ie=window.innerWidth,ue=window.innerHeight,re=200,W=200,O=4,ne=w?.x??0,we=w?.y??0,ge=ie-ee.right>=re+O;P(ge?{top:ee.bottom-W+we,left:ee.right+O+ne}:{bottom:ue-ee.top+we,left:ee.left+ne})};return window.addEventListener("resize",Y),window.addEventListener("orientationchange",Y),()=>{window.removeEventListener("resize",Y),window.removeEventListener("orientationchange",Y)}},[V,w]),k.useEffect(()=>{if(!V||!B.current||!T.current)return;const Y=()=>{const ie=B.current.getBoundingClientRect(),ue=T.current.getBoundingClientRect(),re=w?.x??0,W=w?.y??0;P(O=>O.left!==void 0&&O.top!==void 0&&O.left>=ie.right-1?{top:ie.bottom-ue.height+W,left:O.left+re}:O)},ee=requestAnimationFrame(()=>{setTimeout(Y,0)});return()=>cancelAnimationFrame(ee)},[V,w]),!N)return null;const G=N,oe=parseInt(l,10)||40,ae=`${oe*.375}px`,Me=`${oe*1.375}px`,me=`${oe*.2}px`,Ce=`${oe*.6}px`,he=()=>{const Y=parseInt(l,10)||40,ee=Math.max(8,Y*.34375),ie=Math.max(2,Y*.05);return o.jsxs(o.Fragment,{children:[o.jsxs("div",{style:{position:"relative",flexShrink:0,userSelect:"none"},children:[G.image?o.jsx("img",{src:G.image,alt:`${G.prenom} ${G.nom}`,style:{width:l,height:l,borderRadius:"50%",objectFit:"cover",userSelect:"none"}}):o.jsxs("div",{style:{width:l,height:l,position:"relative",borderRadius:"50%",backgroundColor:x,overflow:"hidden",userSelect:"none"},children:[o.jsx("div",{style:{width:ae,height:ae,borderRadius:"50%",backgroundColor:M,position:"absolute",top:me,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),o.jsx("div",{style:{width:Me,height:Me,borderRadius:"50%",backgroundColor:M,position:"absolute",top:Ce,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),C&&o.jsx("div",{style:{position:"absolute",bottom:ie,right:ie,width:`${ee}px`,height:`${ee}px`,borderRadius:"50%",backgroundColor:C,border:"2px solid white",zIndex:10}})]}),o.jsxs("div",{style:{display:"flex",flexDirection:"column",minWidth:0,flex:1},children:[o.jsx("span",{style:{fontWeight:m,fontSize:y,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:G.email,children:G.email}),o.jsx("span",{style:{color:h,fontSize:f,fontWeight:g,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:G.role,children:G.role})]})]})};return o.jsxs(o.Fragment,{children:[o.jsx("div",{ref:B,className:`user-info ${I}`,style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:u,backgroundColor:s,gap:p,color:d,width:"100%",boxSizing:"border-box",cursor:"pointer",userSelect:"none",..._},onClick:F,title:Q(b,G.role),role:"button",tabIndex:0,children:o.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:o.jsx(he,{})})}),o.jsx(l8e,{ref:T,isVisible:V,onClose:()=>$(!1),items:D,style:L,position:q})]})},h8e="_navItem_16uqf_1",u8e="_label_16uqf_14",p8e="_icon_16uqf_26",h1={navItem:h8e,label:u8e,icon:p8e},Xw=({label:e,labelKey:t,onClick:n,href:c,isActive:i,icon:r,style:s,className:d="",highlightColor:h="#00aec7",color:l="#333",activeColor:u="#00aec7",highlightBackgroundColor:p="rgba(0, 0, 0, 0.05)",fontSize:y="15px",fontWeight:m="500",sidebarCollapsed:f=!1,padding:g="10px 16px",borderWidth:M="4px",iconGap:x="12px",disabled:v=!1,disabledColor:L,a11yConfig:w})=>{const C=()=>{v||n?.()},b=o.jsxs(o.Fragment,{children:[r&&o.jsx("span",{className:h1.icon,style:{marginRight:f?0:x},children:r}),!f&&o.jsx("span",{className:h1.label,children:e})]}),_=()=>{if(!i)return"transparent";const j=N=>{const S=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(N);return S?{r:parseInt(S[1],16),g:parseInt(S[2],16),b:parseInt(S[3],16)}:null};if(h.startsWith("#")){const N=j(h);if(N)return`rgba(${N.r}, ${N.g}, ${N.b}, 0.08)`}else if(h.startsWith("rgb")){const N=h.match(/\d+/g);if(N&&N.length>=3)return`rgba(${N[0]}, ${N[1]}, ${N[2]}, 0.08)`}return p},I={onClick:C,className:`${h1.navItem} ${i?h1.active:""} ${d} ${v?h1.disabled:""}`,style:{padding:g,color:i?u:v?L||"#999":l,borderLeft:i?`${M} solid ${h}`:`${M} solid transparent`,backgroundColor:_(),fontSize:y,fontWeight:m,cursor:v?"not-allowed":"pointer",textDecoration:"none",...s},"aria-disabled":v};return c&&!n&&!v?o.jsx("a",{href:c,...I,title:Q(w,t),children:b}):o.jsx("div",{...I,role:n?"button":void 0,tabIndex:n&&!v?0:void 0,title:Q(w,t),children:b})},y8e="_navbar_agnn2_1",k8e="_topSection_agnn2_9",m8e="_sectionsContainer_agnn2_14",f8e="_sectionTitle_agnn2_20",g8e="_sectionItems_agnn2_25",v8e="_bottomSection_agnn2_30",M8e="_versionContainer_agnn2_49",ut={navbar:y8e,topSection:k8e,sectionsContainer:m8e,sectionTitle:f8e,sectionItems:g8e,bottomSection:v8e,versionContainer:M8e},x8e=({logoProps:e,logoSpacing:t,navItems:n,padding:c="24px 16px",sectionSpacing:i="32px",itemSpacing:r="4px",backgroundColor:s="#fff",highlightColor:d="#00aec7",highlightBackgroundColor:h="rgba(0, 0, 0, 0.05)",version:l,navSectionStyle:u,navLinkStyle:p,navItemPadding:y="10px 16px",navItemBorderWidth:m="4px",navItemIconGap:f="12px",navItemFontSize:g="15px",navItemFontWeight:M="500",navItemColor:x,sectionTitlePadding:v="16px",sectionTitleFontSize:L="11px",sectionTitleColor:w="#999",sectionTitleWeight:C="500",versionFontSize:b="12px",versionFontWeight:_="400",versionColor:I="#999",userInfoProps:j,style:N,className:S="",width:A="280px",showLogo:B=!0,versionA11yConfig:T,displayNone:V=!1})=>{const $=ht(),q=$.activeNav,P=$.setActiveNav,H=$.user,D=j.user||H;return o.jsxs("div",{className:`${ut.navbar} ${S}`,style:{width:A,backgroundColor:s,padding:c,display:V?"none":"flex",...N},children:[o.jsxs("div",{className:ut.topSection,style:{gap:t},children:[B&&o.jsx("div",{className:ut.logoContainer,children:o.jsx(uL,{...e})}),o.jsx("div",{className:ut.sectionsContainer,style:{gap:i},children:n.map((F,G)=>o.jsxs("div",{className:ut.section,children:[F.title&&o.jsx("div",{className:ut.sectionTitle,title:Q(F.a11yConfig,F.titleKey),style:{fontSize:L,color:w,padding:v,fontWeight:C,border:"4px solid transparent",...u},children:F.title}),o.jsx("div",{className:ut.sectionItems,style:{gap:r},children:F.items.map(oe=>o.jsx(Xw,{...oe,isActive:oe.isActive===null?oe.isActive:q===oe.id,onClick:()=>{oe.onClick&&oe.onClick(),oe.isActive==null&&P(oe.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:h,padding:y,borderWidth:m,iconGap:f,fontSize:g,fontWeight:M,color:x,style:p},oe.id))})]},G))})]}),o.jsxs("div",{className:ut.bottomSection,style:{gap:t},children:[o.jsx(eA,{...j,user:D}),l&&o.jsx("div",{className:ut.versionContainer,title:Q(T,l),style:{fontSize:b,fontWeight:_,color:I},children:l})]})]})},_8e="_container_4qege_1",L8e="_titleContainer_4qege_10",I8e="_title_4qege_10",b8e="_inlineToggleContainer_4qege_24",w8e="_rightContentContainer_4qege_30",u1={container:_8e,titleContainer:L8e,title:I8e,inlineToggleContainer:b8e,rightContentContainer:w8e},C8e=({className:e="",style:t,fontSize:n="20px",fontWeight:c="bold",color:i="#000",padding:r="0",margin:s,backgroundColor:d,width:h,height:l,border:u,borderRadius:p,navItems:y,formatTitle:m=M=>M,rightContent:f,inlineToggle:g})=>{const{activeNav:M}=ht(),x=y.find(L=>L.id===M),v=m(x?x.label:M);return v?o.jsxs("div",{className:`${u1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:h,height:l,border:u,borderRadius:p,...t},children:[o.jsxs("div",{className:u1.titleContainer,children:[o.jsx("div",{className:u1.title,style:{fontSize:n,fontWeight:c,color:i},children:v}),g&&o.jsx("div",{className:u1.inlineToggleContainer,children:g})]}),f&&o.jsx("div",{className:u1.rightContentContainer,children:f})]}):null},N8e="_navItem_1hg26_1",S8e="_navItemIcon_1hg26_21",j8e="_navItemLabel_1hg26_29",$8e="_navItemCount_1hg26_36",q8e="_navItemIndicator_1hg26_49",p1={navItem:N8e,navItemIcon:S8e,navItemLabel:j8e,navItemCount:$8e,navItemIndicator:q8e},tA=({a11yConfig:e,label:t,isActive:n,onClick:c,href:i,labelKey:r,icon:s,count:d,activeColor:h="#00aec7",inactiveColor:l="#666",activeBackgroundColor:u="transparent",countBackgroundColor:p,countColor:y="#fff",countBorderRadius:m="10px",countPadding:f="2px 6px",countFontSize:g="12px",countFontWeight:M="500",indicatorColor:x="#00aec7",indicatorHeight:v="3px",padding:L="8px 4px",fontSize:w="14px",fontWeight:C="500",gap:b="8px",style:_,className:I="",disabled:j=!1,onNavigate:N})=>{const S=()=>{j||(c?.(),i&&(N?N(i):window.location.href=i))};return o.jsxs("div",{className:`${p1.navItem} ${I}`,onClick:S,title:Q(e,r),style:{gap:b,padding:L,color:n?h:l,backgroundColor:n?u:"transparent",fontSize:w,fontWeight:C,..._},children:[s&&o.jsx("span",{className:p1.navItemIcon,children:s}),o.jsx("span",{className:p1.navItemLabel,children:t}),d!==void 0&&o.jsx("span",{className:p1.navItemCount,style:{backgroundColor:p,color:y,borderRadius:m,padding:f,fontSize:g,fontWeight:M},children:d}),n&&!j&&o.jsx("div",{className:p1.navItemIndicator,style:{height:v,backgroundColor:x}})]})},A8e="_container_13hsa_1",z8e="_groupHeader_13hsa_8",V8e="_groupHeaderLeft_13hsa_18",P8e="_groupIcon_13hsa_23",T8e="_dropdown_13hsa_29",H8e="_item_13hsa_42",D8e="_itemIcon_13hsa_65",B8e="_chevron_13hsa_72",R8e="_chevronOpen_13hsa_79",pt={container:A8e,groupHeader:z8e,groupHeaderLeft:V8e,groupIcon:P8e,dropdown:T8e,item:H8e,itemIcon:D8e,chevron:B8e,chevronOpen:R8e},F8e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M480-344 240-584l43-43 197 197 197-197 43 43z"})),P1=k.memo(F8e),aA=({groups:e,activeItemId:t,onItemClick:n,style:c,className:i,bgColor:r="transparent",color:s="var(--color-text)",headerBgColor:d="var(--color-indicator)",headerColor:h="var(--color-text)",headerBorderBottomColor:l="var(--color-border)",dropdownBgColor:u="var(--color-background)",itemBgColor:p="transparent",itemHoverBgColor:y="rgba(0,0,0,0.05)",itemColor:m="var(--color-text)",itemActiveColor:f="var(--color-primary)",itemActiveBorderColor:g="var(--color-primary)",itemDividerColor:M="var(--color-border)",iconColor:x="#555555",activeIconColor:v="var(--color-primary)",headerIconColor:L="var(--color-text)",chevronColor:w="var(--color-text)",iconSize:C=22,headerPadding:b="14px 20px",itemPadding:_="14px 20px",iconGap:I=14,borderRadius:j=0})=>{const[N,S]=k.useState(""),A=k.useRef(null);k.useEffect(()=>{const T=V=>{A.current&&!A.current.contains(V.target)&&S("")};return document.addEventListener("mousedown",T),()=>document.removeEventListener("mousedown",T)},[]);const B={backgroundColor:r,color:s,borderRadius:j,...c};return o.jsx("nav",{ref:A,className:[pt.container,i].filter(Boolean).join(" "),style:B,children:e.map(T=>{const V=N===T.id,$={backgroundColor:d,color:h,padding:b,borderBottom:`1px solid ${l}`,gap:I},q={backgroundColor:u};return o.jsxs("div",{children:[o.jsxs("div",{className:pt.groupHeader,style:$,onClick:()=>S(V?"":T.id),role:"button","aria-expanded":V,children:[o.jsxs("div",{className:pt.groupHeaderLeft,style:{gap:I},children:[T.icon&&o.jsx("span",{className:pt.groupIcon,style:{color:L,width:C,height:C},children:T.icon}),o.jsx("span",{children:T.label})]}),o.jsx("span",{className:[pt.chevron,V?pt.chevronOpen:""].join(" "),style:{color:w},children:o.jsx(P1,{width:18,height:18})})]}),V&&o.jsx("div",{className:pt.dropdown,style:q,children:T.items.map(P=>{const H=P.id===t,D={padding:_,gap:I,color:H?f:m,backgroundColor:p,"--item-border-width":H?"4px":"1px","--item-border-color":H?g:M};return o.jsxs("div",{className:pt.item,style:D,onClick:()=>{n?.(T.id,P.id),S("")},role:"menuitem",onMouseEnter:F=>{H||(F.currentTarget.style.backgroundColor=y)},children:[P.icon&&o.jsx("span",{className:pt.itemIcon,style:{color:H?v:x,width:C,height:C},children:P.icon}),o.jsx("span",{children:P.label})]},P.id)})})]},T.id)})})},E8e="_subheaderContent_1glo8_1",O8e="_navContainer_1glo8_11",U8e="_rightContent_1glo8_45",zb={subheaderContent:E8e,navContainer:O8e,rightContent:U8e},W8e=({subNavItems:e,backgroundColor:t="transparent",padding:n="0",margin:c,width:i,height:r="auto",border:s,borderBottom:d="none",itemGap:h="24px",actionsGap:l="16px",itemPadding:u="12px 0",itemFontSize:p="14px",itemFontWeight:y="500",activeItemColor:m="#00aec7",inactiveItemColor:f="#5c6975",indicatorHeight:g="3px",showDraggable:M=!1,showLegend:x=!1,showData:v=!1,className:L="",style:w,countBackgroundColor:C,countColor:b,countBorderRadius:_,countPadding:I,countFontSize:j,countFontWeight:N,navContainerClassName:S,navContainerStyle:A,rightContentClassName:B,rightContentStyle:T,rightActions:V,activeSwitcherColor:$,inactiveSwitcherColor:q,isMobile:P=!1,onNavigate:H})=>{const{activeSubNav:D,setActiveSubNav:F,navCounts:G,activeNav:oe}=ht();if(P){const ae=e.find(me=>me.id===D)||e[0],Me=[{id:"current-group",label:ae?.label||oe?.toUpperCase()||"MENU",icon:ae?.icon,items:e.map(me=>({id:me.id,label:me.label,icon:me.icon}))}];return o.jsx("div",{className:L,style:w,children:o.jsx(aA,{groups:Me,activeItemId:D,onItemClick:(me,Ce)=>{const he=e.find(Y=>Y.id===Ce);he&&(he.onClick&&he.onClick(),he.href&&(H?H(he.href):he.onNavigate?he.onNavigate(he.href):window.location.href=he.href),F(Ce))},headerBgColor:t})})}return o.jsxs("div",{className:`${zb.subheaderContent} ${L}`,style:{backgroundColor:t,padding:n,margin:c,width:i,height:r,border:s,borderBottom:d,...w},children:[o.jsx("div",{className:`${zb.navContainer} ${S||""}`,style:{gap:h,...A},children:e.map(ae=>{const Me=ae.count!==void 0?ae.count:G[ae.id],me=D===ae.id||ae.isActive;return o.jsx(tA,{...ae,onNavigate:H||ae.onNavigate,count:Me,isActive:me,onClick:()=>{ae.onClick&&ae.onClick(),F(ae.id)},activeColor:m,inactiveColor:f,countBackgroundColor:C,countColor:b,countBorderRadius:_,countPadding:I,countFontSize:j,countFontWeight:N,indicatorColor:m,indicatorHeight:g,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:ae.style},ae.id)})}),o.jsxs("div",{className:`${zb.rightContent} ${B||""}`,style:{gap:l,...T},children:[M&&o.jsx(aL,{size:20,colors:{bg:$,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),x&&o.jsx(nL,{size:20,colors:{bg:$,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),v&&o.jsx(oL,{size:20,colors:{bg:$,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),V]})]})},G8e=({onSwitch:e,size:t="20px",lightIconColor:n="#666",darkIconColor:c="#fff",backgroundColor:i="transparent",padding:r="8px",borderRadius:s="50%",style:d,className:h=""})=>{const[l,u]=k.useState(!1),{currentTheme:p,switchTheme:y}=pL(),m=p!="dark",f=()=>{y(m?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!l||!p?o.jsx(o.Fragment,{}):o.jsx("div",{className:`theme-switcher ${h}`,onClick:f,style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:i,padding:r,borderRadius:s,transition:"all 0.3s ease",...d},children:m?o.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:o.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}):o.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("circle",{cx:"12",cy:"12",r:"5"}),o.jsx("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),o.jsx("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),o.jsx("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),o.jsx("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),o.jsx("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),o.jsx("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),o.jsx("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),o.jsx("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})})},K8e=({initialSortBy:e=null,initialSortOrder:t="asc",onSortChange:n})=>{const[c,i]=k.useState({sortBy:e,sortOrder:t,filters:{}}),r=k.useCallback(s=>{let d="asc";c.sortBy===s&&(d=c.sortOrder==="asc"?"desc":"asc");const h={...c,sortBy:s,sortOrder:d};i(h),n(s,d)},[c,n]);return{tableState:c,handleSort:r}},Z8e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z"})),X8e=k.memo(Z8e),Y8e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z"})),J8e=k.memo(Y8e),Q8e=({columns:e,sortBy:t,sortOrder:n,onSort:c,removeLabelSpan:i=!1})=>o.jsx("thead",{children:o.jsx("tr",{children:e.map((r,s)=>{const d=t===r.key,h=!!r.sortable;return o.jsx("th",{className:`${r.className||""}${h?" sortable":""}`,style:{width:r.width,textAlign:r.align||"left"},onClick:()=>h&&c(String(r.key)),title:Q(r.a11yConfig,r.titleKey),children:o.jsxs("div",{className:`th-content ${r.align?`align-${r.align}`:""}`,children:[i?r.label:o.jsx("span",{children:r.label}),h&&o.jsx("span",{className:"sort-icon-container",style:{display:"inline-flex",alignItems:"center"},children:d&&n==="asc"?o.jsx(J8e,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):o.jsx(X8e,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),efe=({data:e,columns:t,rowKey:n,onRowClick:c,isLoading:i,text:r,rowStyle:s,rowClassName:d,renderSeparator:h})=>!e.length&&!i?o.jsx("tbody",{children:o.jsx("tr",{children:o.jsx("td",{colSpan:t.length,style:{textAlign:"center",padding:"32px"},children:o.jsx("span",{style:{color:"var(--table-text-muted)"},children:r?.noData||"Aucune donnée disponible"})})})}):o.jsx("tbody",{children:e.map((l,u)=>{const p=l[n],y=typeof p=="string"||typeof p=="number"?p:u,m=h?h(l):null;return o.jsx("tr",{onClick:()=>c&&c(l),style:{cursor:c?"pointer":"default",...s?s(l):{}},className:d?d(l,u):"",children:m?o.jsx("td",{colSpan:t.length,children:m}):t.map((f,g)=>o.jsx("td",{style:{width:f.width,textAlign:f.align||"left"},className:f.className,children:f.render?f.render(l):l[f.key]},`${String(f.key)}-${g}`))},y)})}),tfe=({state:e,onPaginationChange:t,onLoadMore:n,infiniteScroll:c,hasMore:i,text:r,isLoading:s})=>{const{page:d,pageSize:h,total:l}=e,u=h===-1?l:h,p=Math.ceil(l/u)||1,y=Math.min(Math.max(1,d),p),m=l===0?0:(y-1)*u+1,f=Math.min(y*u,l),g=x=>{t({page:x})},M=k.useMemo(()=>{if(p<=6)return Array.from({length:p},(j,N)=>N+1);const L=Math.max(y-1,1),w=Math.min(y+1,p),C=L>2,b=w<p-2,_=1,I=p;if(!C&&b)return[...Array.from({length:5},(S,A)=>A+1),"...",p];if(C&&!b){const N=Array.from({length:5},(S,A)=>p-5+A+1);return[_,"...",...N]}if(C&&b){const j=Array.from({length:w-L+1},(N,S)=>L+S);return[_,"...",...j,"...",I]}return[]},[y,p]);return o.jsxs("div",{className:"table-pagination",children:[o.jsx("div",{className:"pagination-summary",children:l>0?o.jsx("span",{children:r?.itemsRange?r.itemsRange(m,f,l):o.jsxs(o.Fragment,{children:[o.jsxs("b",{children:[m,"–",f]})," ","sur ",o.jsx("b",{children:l.toLocaleString()})," éléments"]})}):o.jsx("span",{children:r?.noResults||"0 résultats"})}),o.jsx("div",{className:"pagination-spacer"}),!c&&h!==-1&&p>1&&o.jsxs("div",{className:"pagination-controls",children:[o.jsx("button",{className:"pagination-btn",onClick:()=>g(1),disabled:y===1,title:r?.first||"Premier",children:"<<"}),o.jsx("button",{className:"pagination-btn",onClick:()=>g(y-1),disabled:y===1,title:r?.previous||"Précédent",children:"<"}),(M||[]).map((x,v)=>x==="..."?o.jsx("span",{style:{padding:"0 4px",color:"var(--table-text-muted)"},children:"..."},v):o.jsx("button",{className:`pagination-btn ${x===y?"active":""}`,onClick:()=>g(x),children:x},v)),o.jsx("button",{className:"pagination-btn",onClick:()=>g(y+1),disabled:y===p,title:r?.next||"Suivant",children:">"}),o.jsx("button",{className:"pagination-btn",onClick:()=>g(p),disabled:y===p,title:r?.last||"Dernier",children:">>"})]}),!c&&n&&i&&o.jsx("div",{className:"pagination-load-more",children:o.jsx("button",{className:"btn-load-more",onClick:n,disabled:s,style:{padding:"8px 16px",backgroundColor:"white",border:"1px solid #ddd",borderRadius:"6px",cursor:s?"wait":"pointer",color:"#555",fontWeight:600},children:s?r?.loading||"Chargement...":r?.loadMore||"Charger plus"})})]})},nA=({data:e,columns:t,isLoading:n,pagination:c,onPaginationChange:i,onSortChange:r,rowKey:s,loaderSize:d=40,stickyHeader:h=!0,height:l,minHeight:u="200px",text:p,onLoadMore:y,infiniteScroll:m,hasMore:f,tableState:g,className:M,style:x,rowStyle:v,onRowClick:L,rowClassName:w,titleKey:C,removeLabelSpan:b=!1,a11yConfig:_,renderSeparator:I})=>{const j=k.useMemo(()=>({...p}),[p]),N=k.useRef(null);k.useEffect(()=>{if(!m||!y||!f||n)return;const $=new IntersectionObserver(q=>{q[0].isIntersecting&&y()},{threshold:.1});return N.current&&$.observe(N.current),()=>$.disconnect()},[m,y,f,n]);const{tableState:S,handleSort:A}=K8e({initialSortBy:null,onSortChange:r}),B=(g?.sortBy!==void 0?g.sortBy:S.sortBy)??void 0,T=g?.sortOrder!==void 0?g.sortOrder:S.sortOrder,V=$=>{const q=B,P=T;let H="asc";q===$&&(H=P==="asc"?"desc":"asc"),g?.sortBy!==void 0?r($,H):A($)};return o.jsxs("div",{className:`table-container ${M||""}`,style:x,title:Q(_,C),children:[o.jsxs("div",{className:"table-frame",style:{height:l??void 0,minHeight:u??void 0},children:[n&&o.jsx("div",{className:"table-loader-overlay",children:o.jsx("div",{className:"spinner",style:{width:d,height:d,borderTopColor:"var(--table-primary)"}})}),o.jsxs("div",{className:`table-wrapper ${h?"sticky-header":""}`,children:[o.jsxs("table",{className:"data-table",children:[o.jsx(Q8e,{columns:t,sortBy:B,sortOrder:T,onSort:V,removeLabelSpan:b}),o.jsx(efe,{data:e,columns:t.map($=>({...$,render:$.render?q=>$.render(q,{}):void 0})),rowKey:s,onRowClick:L,isLoading:n,text:j,rowStyle:typeof v=="function"?v:v?()=>v:void 0,rowClassName:w,renderSeparator:I})]}),m&&o.jsx("div",{ref:N,style:{height:20,margin:10}})]})]}),o.jsx(tfe,{state:c,onPaginationChange:i,text:j,onLoadMore:y,infiniteScroll:m,hasMore:f,isLoading:n})]})},afe="_datePickerContainer_1941b_3",nfe="_label_1941b_16",ofe="_displayNode_1941b_23",cfe="_datePickerButton_1941b_30",ife="_datePickerButtonDisabled_1941b_50",rfe="_datePickerButtonOpen_1941b_59",sfe="_datePickerLabel_1941b_68",dfe="_placeholder_1941b_79",lfe="_chevron_1941b_83",hfe="_errorMessage_1941b_91",ufe="_dropdown_1941b_96",pfe="_calendarHeader_1941b_120",yfe="_navButton_1941b_129",kfe="_headerSelectors_1941b_148",mfe="_monthSelector_1941b_156",ffe="_yearSelector_1941b_157",gfe="_selectorButton_1941b_161",vfe="_selectorChevron_1941b_178",Mfe="_selectorChevronOpen_1941b_183",xfe="_monthDropdown_1941b_187",_fe="_yearDropdown_1941b_188",Lfe="_monthItem_1941b_208",Ife="_yearItem_1941b_209",bfe="_monthItemSelected_1941b_231",wfe="_yearItemSelected_1941b_232",Cfe="_weekdays_1941b_236",Nfe="_weekday_1941b_236",Sfe="_calendarGrid_1941b_252",jfe="_dateCell_1941b_260",$fe="_dateCellSelected_1941b_283",qfe="_dateCellOtherMonth_1941b_287",Afe="_dateCellOtherMonthSelected_1941b_291",zfe="_calendarFooter_1941b_295",Vfe="_cancelButton_1941b_303",Pfe="_applyButton_1941b_304",Tfe="_timePickerContainer_1941b_348",Hfe="_timeGroup_1941b_357",Dfe="_timeLabel_1941b_364",Bfe="_timeInputWrapper_1941b_370",Rfe="_timeInput_1941b_370",Ffe="_timeSeparator_1941b_398",U={datePickerContainer:afe,label:nfe,displayNode:ofe,datePickerButton:cfe,datePickerButtonDisabled:ife,datePickerButtonOpen:rfe,datePickerLabel:sfe,placeholder:dfe,chevron:lfe,errorMessage:hfe,dropdown:ufe,calendarHeader:pfe,navButton:yfe,headerSelectors:kfe,monthSelector:mfe,yearSelector:ffe,selectorButton:gfe,selectorChevron:vfe,selectorChevronOpen:Mfe,monthDropdown:xfe,yearDropdown:_fe,monthItem:Lfe,yearItem:Ife,monthItemSelected:bfe,yearItemSelected:wfe,weekdays:Cfe,weekday:Nfe,calendarGrid:Sfe,dateCell:jfe,dateCellSelected:$fe,dateCellOtherMonth:qfe,dateCellOtherMonthSelected:Afe,calendarFooter:zfe,cancelButton:Vfe,applyButton:Pfe,timePickerContainer:Tfe,timeGroup:Hfe,timeLabel:Dfe,timeInputWrapper:Bfe,timeInput:Rfe,timeSeparator:Ffe},hj=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],Efe=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],dw=({value:e,onChange:t,label:n,placeholder:c="Sélectionner une date...",className:i="",fullWidth:r=!0,disabled:s=!1,error:d,buttonHeight:h="2.75rem",buttonPadding:l="0.75rem 1rem 0.75rem 1rem",dropdownMaxHeight:u="auto",fontSize:p="0.875rem",iconSize:y="1.5rem",labelMarginBottom:m="0.5rem",errorMarginTop:f="0.25rem",dropdownMarginTop:g="0.25rem",itemPadding:M="0.5rem 0.75rem",fontWeight:x="400",buttonBgColor:v,buttonBorderColor:L,buttonTextColor:w,dropdownBgColor:C="#ffffff",itemHoverColor:b,selectedItemBgColor:_,iconColor:I,errorColor:j,labelColor:N,placeholderColor:S,borderRadius:A="var(--radius-content)",borderWidth:B="0.0625rem",boxShadow:T="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:V="0.2s",transitionTiming:$="ease",dateCellSize:q="2.5rem",headerTextColor:P="#6c757d",weekdayTextColor:H="#6c757d",currentMonthDateColor:D="#212529",otherMonthDateColor:F="#adb5bd",selectedDateBgColor:G="#00A6D9",selectedDateTextColor:oe="#ffffff",cancelButtonBgColor:ae="#e9ecef",cancelButtonTextColor:Me="#212529",applyButtonBgColor:me="#00A6D9",applyButtonTextColor:Ce="#ffffff",width:he,displayNode:Y=void 0,displayMode:ee="auto",displayNodeAriaLabel:ie,dropdownPosition:ue="bottom",dropdownAlignment:re="right",dropdownWidth:W,withBorder:O=!1,icon:ne,precision:we="day",hoursLabel:Be="Heures",minutesLabel:ge="Minutes",lowerLimit:$e=null,upperLimit:Pt=null,months:Pc,weekdays:de,cancelText:Tt="Annuler",applyText:wL="Appliquer",prevMonthAriaLabel:xe="Mois précédent",nextMonthAriaLabel:Ht="Mois suivant",calendarAriaLabel:rA="Sélecteur de date",openedAriaLabel:sA="Ouvrir le sélecteur de date",selectedDateAriaLabel:dA="Date sélectionnée: ",locale:Yw="fr-FR",rotateIcon:lA=!0})=>{const Dt=R=>{if(R instanceof Date)return isNaN(R.getTime())?null:R;if(typeof R=="string"&&R){const X=new Date(R);return isNaN(X.getTime())?null:X}return null},[tt,Bt]=k.useState(!1),[Tc,hA]=k.useState({top:0,left:0,width:0}),[le,s1]=k.useState(Dt(e)||new Date),[CL,NL]=k.useState(Dt(e)),[SL,jL]=k.useState(Dt(e)?.getHours()??0),[$L,qL]=k.useState(Dt(e)?.getMinutes()??0),[AL,Hc]=k.useState(!1),[zL,Dc]=k.useState(!1),VL=k.useRef(null),K1=k.useRef(null),PL=k.useRef(null),TL=k.useRef(null);k.useEffect(()=>{const R=Dt(e);NL(R),R&&(s1(R),jL(R.getHours()),qL(R.getMinutes()))},[e]);const Bc=k.useCallback(()=>{if(K1.current){const R=K1.current.getBoundingClientRect();hA({top:R.top,left:R.left,width:R.width})}},[]);k.useEffect(()=>(tt&&(Bc(),window.addEventListener("scroll",Bc,!0),window.addEventListener("resize",Bc)),()=>{window.removeEventListener("scroll",Bc,!0),window.removeEventListener("resize",Bc)}),[tt,Bc]),k.useEffect(()=>{const R=X=>{if(VL.current&&!VL.current.contains(X.target)){const Ie=document.getElementById("datepicker-dropdown");if(Ie&&Ie.contains(X.target))return;Bt(!1),Hc(!1),Dc(!1)}PL.current&&!PL.current.contains(X.target)&&Hc(!1),TL.current&&!TL.current.contains(X.target)&&Dc(!1)};return document.addEventListener("mousedown",R),()=>document.removeEventListener("mousedown",R)},[]);const Jw=R=>new Date(R.getFullYear(),R.getMonth()+1,0).getDate(),uA=R=>{const X=new Date(R.getFullYear(),R.getMonth(),1).getDay();return X===0?6:X-1},pA=()=>{const R=[],X=uA(le),Ie=Jw(le),Z1=new Date(le.getFullYear(),le.getMonth()-1,1),xt=Jw(Z1);for(let Xe=X-1;Xe>=0;Xe--)R.push(new Date(le.getFullYear(),le.getMonth()-1,xt-Xe));for(let Xe=1;Xe<=Ie;Xe++)R.push(new Date(le.getFullYear(),le.getMonth(),Xe));const d1=42-R.length;for(let Xe=1;Xe<=d1;Xe++)R.push(new Date(le.getFullYear(),le.getMonth()+1,Xe));return R},yA=(R,X)=>!R||!X?!1:R.getDate()===X.getDate()&&R.getMonth()===X.getMonth()&&R.getFullYear()===X.getFullYear(),kA=R=>R.getMonth()===le.getMonth()&&R.getFullYear()===le.getFullYear(),mA=()=>{s1(new Date(le.getFullYear(),le.getMonth()-1,1))},fA=()=>{s1(new Date(le.getFullYear(),le.getMonth()+1,1))},gA=R=>{if(!s){const X=new Date(R);X.setHours(SL),X.setMinutes($L),NL(X)}},vA=()=>{if(!s){if(CL){const R=new Date(CL);R.setHours(SL),R.setMinutes($L),t(R)}else t(null);Bt(!1)}},MA=()=>{const R=Dt(e);NL(R),R&&(jL(R.getHours()),qL(R.getMinutes())),Bt(!1)},xA=R=>{s1(new Date(le.getFullYear(),R,1)),Hc(!1)},_A=R=>{s1(new Date(R,le.getMonth(),1)),Dc(!1)},LA=()=>{const R=le.getFullYear(),X=[];for(let Ie=R-10;Ie<=R+10;Ie++)X.push(Ie);return X},IA=R=>{if(!s)switch(R.key){case"Enter":case" ":R.preventDefault(),Bt(!tt);break;case"Escape":Bt(!1),Hc(!1),Dc(!1);break;case"Tab":tt&&(Bt(!1),Hc(!1),Dc(!1));break}},bA={width:he||(r?"100%":"auto"),fontSize:p,fontWeight:x},wA={height:h,padding:l,backgroundColor:v||"#ffffff",border:O?void 0:"none",borderColor:d?j||"#dc3545":L||"#dee2e6",color:w||"#212529",borderRadius:A,borderWidth:B,fontWeight:x,transition:`all ${V} ${$}`},CA={backgroundColor:C||"#ffffff",maxHeight:u,borderRadius:A,borderWidth:B,boxShadow:T,transition:`opacity ${V} ${$}, transform ${V} ${$}`,position:"fixed",top:ue==="bottom"?Tc.top+(K1.current?.offsetHeight||0)+parseFloat(g.replace("rem",""))*16:"auto",bottom:ue==="top"?window.innerHeight-Tc.top+parseFloat(g.replace("rem",""))*16:"auto",left:re==="left"?Tc.left:"auto",right:re==="right"?window.innerWidth-(Tc.left+Tc.width):"auto",width:W||(r?Tc.width:"auto"),zIndex:10001},Qw={width:y,height:y,color:I||"#6c757d","--icon-rotation":lA&&tt?"rotate(180deg)":"rotate(0deg)"},NA={color:N||"#212529",marginBottom:m,fontWeight:x},SA={color:S||"#6c757d"},jA={color:j||"#dc3545",marginTop:f},$A=pA(),at=Dt(e),eC=at?we==="minutes"?`${at.toLocaleDateString(Yw)} ${at.getHours().toString().padStart(2,"0")}:${at.getMinutes().toString().padStart(2,"0")}`:at.toLocaleDateString(Yw):"",qA=!!Y&&(ee==="icon"||ee==="auto"&&!at),AA=ie||(at?`${dA}${eC}`:sA);return o.jsxs("div",{className:`${U.datePickerContainer} ${i}`,ref:VL,style:bA,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&o.jsx("label",{className:U.label,style:NA,children:n}),o.jsxs("button",{ref:K1,type:"button",onClick:()=>!s&&Bt(!tt),onKeyDown:IA,className:`
8170
+ ${U.datePickerButton}
8171
+ ${tt?U.datePickerButtonOpen:""}
8172
+ ${s?U.datePickerButtonDisabled:""}
8173
+ `,style:wA,disabled:s,"aria-expanded":tt,"aria-haspopup":"dialog","aria-label":AA,"aria-labelledby":n?`${n}-label`:void 0,children:[qA?o.jsx("span",{className:U.displayNode,"aria-hidden":!0,children:Y}):o.jsx("span",{className:`${U.datePickerLabel} ${at?"":U.placeholder}`,style:at?void 0:SA,children:at?eC:c}),ne?o.jsx("span",{className:U.chevron,style:Qw,children:ne}):o.jsx(P1,{fill:"var(--color-text)",className:`${U.chevron} ${tt?U.chevronOpen:""}`,style:Qw})]}),d&&o.jsx("div",{className:U.errorMessage,style:jA,children:d}),tt&&!s&&lw.createPortal(o.jsxs("div",{id:"datepicker-dropdown",className:U.dropdown,style:CA,role:"dialog","aria-label":rA,children:[o.jsxs("div",{className:U.calendarHeader,children:[o.jsx("button",{type:"button",className:U.navButton,onClick:mA,"aria-label":xe,children:"‹"}),o.jsxs("div",{className:U.headerSelectors,children:[o.jsxs("div",{className:U.monthSelector,ref:PL,children:[o.jsxs("button",{type:"button",className:U.selectorButton,onClick:()=>Hc(!AL),style:{color:P,"--hover-color":b},children:[(Pc||hj)[le.getMonth()],o.jsx(P1,{fill:"var(--color-text)",className:`${U.selectorChevron} ${AL?U.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),AL&&o.jsx("div",{className:U.monthDropdown,children:(Pc||hj).map((R,X)=>o.jsx("button",{type:"button",className:`${U.monthItem} ${le.getMonth()===X?U.monthItemSelected:""}`,onClick:()=>xA(X),style:{padding:M,backgroundColor:le.getMonth()===X?_||"#e7f1ff":C},onMouseEnter:Ie=>{b&&le.getMonth()!==X&&(Ie.currentTarget.style.backgroundColor=b)},onMouseLeave:Ie=>{b&&(Ie.currentTarget.style.backgroundColor=le.getMonth()===X?_||"#e7f1ff":C)},children:R},X))})]}),o.jsxs("div",{className:U.yearSelector,ref:TL,children:[o.jsxs("button",{type:"button",className:U.selectorButton,onClick:()=>Dc(!zL),style:{color:P,"--hover-color":b},children:[le.getFullYear(),o.jsx(P1,{fill:"var(--color-text)",className:`${U.selectorChevron} ${zL?U.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),zL&&o.jsx("div",{className:U.yearDropdown,children:LA().map(R=>o.jsx("button",{type:"button",className:`${U.yearItem} ${le.getFullYear()===R?U.yearItemSelected:""}`,onClick:()=>_A(R),style:{padding:M,backgroundColor:le.getFullYear()===R?_||"#e7f1ff":C},onMouseEnter:X=>{b&&le.getFullYear()!==R&&(X.currentTarget.style.backgroundColor=b)},onMouseLeave:X=>{b&&(X.currentTarget.style.backgroundColor=le.getFullYear()===R?_||"#e7f1ff":C)},children:R},R))})]})]}),o.jsx("button",{type:"button",className:U.navButton,onClick:fA,"aria-label":Ht,children:"›"})]}),o.jsx("div",{className:U.weekdays,children:(de||Efe).map(R=>o.jsx("div",{className:U.weekday,style:{color:H},children:R},R))}),o.jsx("div",{className:U.calendarGrid,children:$A.map((R,X)=>{if(!R)return null;const Ie=yA(R,CL),Z1=kA(R),xt=!!($e&&R<$e||Pt&&R>Pt);return o.jsx("button",{type:"button",className:`${U.dateCell} ${Ie?U.dateCellSelected:""} ${Ie?U.dateCellOtherMonthSelected:""} ${Z1?"":U.dateCellOtherMonth} ${xt?U.dateCellDisabled:""}`,onClick:()=>!xt&&gA(R),disabled:xt,style:{width:q,height:q,color:Ie?oe:Z1?D:F,backgroundColor:Ie?G:"transparent",opacity:xt?.4:1,cursor:xt?"not-allowed":"pointer"},onMouseEnter:d1=>{!Ie&&!xt&&b&&(d1.currentTarget.style.backgroundColor=b)},onMouseLeave:d1=>{Ie||(d1.currentTarget.style.backgroundColor="transparent")},children:R.getDate()},X)})}),we==="minutes"&&o.jsxs("div",{className:U.timePickerContainer,children:[o.jsxs("div",{className:U.timeGroup,children:[o.jsx("span",{className:U.timeLabel,children:Be}),o.jsx("div",{className:U.timeInputWrapper,children:o.jsx("input",{type:"number",min:"0",max:"23",value:SL,onChange:R=>{const X=parseInt(R.target.value);!isNaN(X)&&X>=0&&X<=23&&jL(X)},className:U.timeInput})})]}),o.jsx("span",{className:U.timeSeparator,children:":"}),o.jsxs("div",{className:U.timeGroup,children:[o.jsx("span",{className:U.timeLabel,children:ge}),o.jsx("div",{className:U.timeInputWrapper,children:o.jsx("input",{type:"number",min:"0",max:"59",value:$L,onChange:R=>{const X=parseInt(R.target.value);!isNaN(X)&&X>=0&&X<=59&&qL(X)},className:U.timeInput})})]})]}),o.jsxs("div",{className:U.calendarFooter,children:[o.jsx("button",{type:"button",className:U.cancelButton,onClick:MA,style:{backgroundColor:ae,color:Me,borderRadius:A,padding:M},children:Tt}),o.jsx("button",{type:"button",className:U.applyButton,onClick:vA,style:{backgroundColor:me,color:Ce,borderRadius:A,padding:M},children:wL})]})]}),document.body)]})},Ofe="_selectContainer_1ptm9_1",Ufe="_label_1ptm9_15",Wfe="_selectButton_1ptm9_23",Gfe="_selectButtonDisabled_1ptm9_43",Kfe="_selectButtonOpen_1ptm9_48",Zfe="_selectButtonContent_1ptm9_58",Xfe="_selectIcon_1ptm9_66",Yfe="_selectLabel_1ptm9_72",Jfe="_placeholder_1ptm9_79",Qfe="_chevron_1ptm9_84",ege="_errorMessage_1ptm9_93",tge="_dropdown_1ptm9_99",age="_dropdownContent_1ptm9_123",nge="_item_1ptm9_129",oge="_itemSelected_1ptm9_151",cge="_itemContent_1ptm9_155",ige="_itemIcon_1ptm9_162",rge="_itemLabel_1ptm9_168",be={selectContainer:Ofe,label:Ufe,selectButton:Wfe,selectButtonDisabled:Gfe,selectButtonOpen:Kfe,selectButtonContent:Zfe,selectIcon:Xfe,selectLabel:Yfe,placeholder:Jfe,chevron:Qfe,errorMessage:ege,dropdown:tge,dropdownContent:age,item:nge,itemSelected:oge,itemContent:cge,itemIcon:ige,itemLabel:rge},oA=({items:e,value:t,onChange:n,label:c,placeholder:i="Sélectionner...",className:r="",fullWidth:s=!0,disabled:d=!1,error:h,buttonHeight:l="var(--select-button-height, 2.75rem)",buttonPadding:u="var(--select-button-padding, 0.75rem)",dropdownMaxHeight:p="var(--select-dropdown-max-height, 15rem)",fontSize:y="var(--select-font-size, 0.875rem)",fontWeight:m,iconSize:f="var(--select-icon-size, 1.5rem)",labelMarginBottom:g="var(--select-label-margin-bottom, 0.5rem)",errorMarginTop:M="var(--select-error-margin-top, 0.25rem)",dropdownMarginTop:x="var(--select-dropdown-margin-top, 0.25rem)",itemPadding:v="var(--select-item-padding, 0.5rem 0.75rem)",gap:L="var(--select-gap, 0.5rem)",buttonBgColor:w,buttonBorderColor:C,buttonTextColor:b,dropdownBgColor:_,itemHoverColor:I,selectedItemBgColor:j,iconColor:N,errorColor:S,labelColor:A,placeholderColor:B,border:T,borderRadius:V="var(--select-border-radius, 0.5rem)",borderWidth:$="var(--select-border-width, 0.0625rem)",boxShadow:q="var(--select-box-shadow, 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1))",transitionDuration:P="var(--select-transition-duration, 0.2s)",transitionTiming:H="var(--select-transition-timing, ease)",scrollbarWidth:D="var(--select-scrollbar-width, 0.375rem)",scrollbarTrackColor:F="var(--select-scrollbar-track-color, #f1f1f1)",scrollbarThumbColor:G="var(--select-scrollbar-thumb-color, #c1c1c1)",width:oe,minWidth:ae,dropdownPosition:Me="bottom",dropdownAlignment:me="right",dropdownWidth:Ce,a11yConfig:he,titleKey:Y})=>{const[ee,ie]=k.useState(!1),ue=k.useRef(null),re=e.find(xe=>xe.value===t);k.useEffect(()=>{const xe=Ht=>{ue.current&&!ue.current.contains(Ht.target)&&ie(!1)};return document.addEventListener("mousedown",xe),()=>document.removeEventListener("mousedown",xe)},[]);const W=xe=>{d||(n(xe),ie(!1))},O=xe=>{if(!d)switch(xe.key){case"Enter":case" ":xe.preventDefault(),ie(!ee);break;case"Escape":ie(!1);break;case"Tab":ee&&ie(!1);break}},ne={width:oe||(s?"100%":"auto"),minWidth:ae,fontSize:y},we={height:l,padding:u,backgroundColor:w||"var(--select-button-bg-color, #ffffff)",border:T,borderColor:h?S||"var(--select-error-color, #dc3545)":C||"var(--select-button-border-color, #dee2e6)",color:b||"var(--select-button-text-color, #212529)",borderRadius:V,borderWidth:$,transition:`all ${P} ${H}`,fontWeight:m},Be={backgroundColor:_||"var(--select-dropdown-bg-color, #ffffff)",maxHeight:p,borderRadius:V,borderWidth:$,boxShadow:q,transition:`opacity ${P} ${H}, transform ${P} ${H}`,position:"absolute",top:Me==="bottom"?"100%":"auto",bottom:Me==="top"?"100%":"auto",left:me==="left"?0:"auto",right:me==="right"?0:"auto",width:Ce||(s?"100%":"auto"),marginTop:Me==="bottom"?x:0,marginBottom:Me==="top"?x:0,zIndex:1001},ge={width:f,height:f,color:N||"var(--select-icon-color, #6c757d)","--icon-rotation":ee?"rotate(180deg)":"rotate(0deg)"},$e={color:A||"var(--select-label-color, #212529)",marginBottom:g},Pt={color:B||"var(--select-placeholder-color, #6c757d)"},Pc={color:S||"var(--select-error-color, #dc3545)",marginTop:M},de={padding:v,transition:`background-color ${P} ${H}`,fontWeight:m},Tt={gap:L},wL={"--scrollbar-width":D,"--scrollbar-track-color":F,"--scrollbar-thumb-color":G};return o.jsxs("div",{className:`${be.selectContainer} ${r}`,ref:ue,style:ne,"data-fullwidth":s,"data-disabled":d,"data-error":!!h,title:Q(he,Y),children:[c&&o.jsx("label",{className:be.label,style:$e,children:c}),o.jsxs("button",{type:"button",onClick:()=>!d&&ie(!ee),onKeyDown:O,className:`
8174
8174
  ${be.selectButton}
8175
8175
  ${ee?be.selectButtonOpen:""}
8176
8176
  ${d?be.selectButtonDisabled:""}
8177
- `,style:we,disabled:d,"aria-expanded":ee,"aria-haspopup":"listbox","aria-labelledby":c?`${c}-label`:void 0,children:[o.jsxs("div",{className:be.selectButtonContent,style:Tt,children:[re?.icon&&o.jsx("span",{className:be.selectIcon,style:ge,children:re.icon}),o.jsx("span",{className:`${be.selectLabel} ${re?"":be.placeholder}`,style:re?void 0:Pt,children:re?re.label:i})]}),o.jsx(P1,{fill:"var(--color-text)",className:`${be.chevron} ${ee?be.chevronOpen:""}`,style:ge})]}),h&&o.jsx("div",{className:be.errorMessage,style:Pc,children:h}),ee&&!d&&o.jsx("div",{className:be.dropdown,style:Be,role:"listbox","aria-label":c||"Options de sélection",children:o.jsx("div",{className:be.dropdownContent,style:wL,children:e.map(xe=>o.jsx("button",{type:"button",onClick:()=>U(xe.value),className:`
8177
+ `,style:we,disabled:d,"aria-expanded":ee,"aria-haspopup":"listbox","aria-labelledby":c?`${c}-label`:void 0,children:[o.jsxs("div",{className:be.selectButtonContent,style:Tt,children:[re?.icon&&o.jsx("span",{className:be.selectIcon,style:ge,children:re.icon}),o.jsx("span",{className:`${be.selectLabel} ${re?"":be.placeholder}`,style:re?void 0:Pt,children:re?re.label:i})]}),o.jsx(P1,{fill:"var(--color-text)",className:`${be.chevron} ${ee?be.chevronOpen:""}`,style:ge})]}),h&&o.jsx("div",{className:be.errorMessage,style:Pc,children:h}),ee&&!d&&o.jsx("div",{className:be.dropdown,style:Be,role:"listbox","aria-label":c||"Options de sélection",children:o.jsx("div",{className:be.dropdownContent,style:wL,children:e.map(xe=>o.jsx("button",{type:"button",onClick:()=>W(xe.value),className:`
8178
8178
  ${be.item}
8179
8179
  ${t===xe.value?be.itemSelected:""}
8180
- `,style:{...de,backgroundColor:t===xe.value?j||"#F0F4F6":"transparent"},onMouseEnter:Ht=>{I&&(Ht.currentTarget.style.backgroundColor=I)},onMouseLeave:Ht=>{I&&(Ht.currentTarget.style.backgroundColor=t===xe.value?j||"#F0F4F6":"transparent")},role:"option","aria-selected":t===xe.value,children:o.jsxs("div",{className:be.itemContent,style:Tt,children:[xe.icon&&o.jsx("span",{className:be.itemIcon,style:ge,children:xe.icon}),o.jsx("span",{className:be.itemLabel,children:xe.label})]})},xe.value))})})]})},sge="_filterBar_1hlqe_3",dge="_label_1hlqe_11",uj={filterBar:sge,label:dge},lge=({label:e="Filtres",startDate:t,endDate:n,granularity:c,onStartDateChange:i,onEndDateChange:r,onGranularityChange:s,granularityItems:d,startDatePlaceholder:h="Date début",endDatePlaceholder:l="Date fin",granularityPlaceholder:u="Sélectionner...",className:p="",disabled:y=!1,gap:m="0.75rem",labelFontSize:f="0.875rem",labelFontWeight:g="400",labelColor:M="#212529",labelMarginRight:x="1rem",startDateWidth:v,endDateWidth:L,selectWidth:w,datePickerProps:C={},selectProps:b={},rightContent:_,extraContent:I})=>{const j={fontSize:f,fontWeight:g,color:M,marginRight:x},N={gap:m};return o.jsxs("div",{className:`${uj.filterBar} ${p}`,style:N,children:[e&&o.jsx("span",{className:uj.label,style:j,children:e}),o.jsx(dw,{value:t,onChange:i,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:v,...C}),o.jsx(dw,{value:n,onChange:r,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:L,...C}),o.jsx(oA,{items:d,value:c,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:w,...b}),I,_&&o.jsx("div",{style:{marginLeft:"auto"},children:_})]})},hge="_container_1x6mq_16",uge="_disabled_1x6mq_26",pge="_predStyle_1x6mq_32",yge="_realStyle_1x6mq_36",kge="_predGap_1x6mq_40",mge="_realGap_1x6mq_44",fge="_big_1x6mq_49",gge="_medium_1x6mq_53",vge="_iconWrapper_1x6mq_58",Mge="_predRelative_1x6mq_68",xge="_realRelative_1x6mq_72",_ge="_iconImg_1x6mq_76",Lge="_content_1x6mq_84",Ige="_header_1x6mq_93",bge="_predJustify_1x6mq_99",wge="_realJustify_1x6mq_103",Cge="_predHeaderLineHeight_1x6mq_116",Nge="_realHeaderLineHeight_1x6mq_120",Sge="_title_1x6mq_129",jge="_titleBlack_1x6mq_144",$ge="_titleWhite_1x6mq_148",qge="_subtitle_1x6mq_153",Age="_valueRowHorizontal_1x6mq_163",zge="_valueRowVertical_1x6mq_171",Vge="_singleValue_1x6mq_180",Pge="_primaryRow_1x6mq_184",Tge="_maxBadge_1x6mq_191",Hge="_valuePrimary_1x6mq_203",Dge="_valuePrimaryBlack_1x6mq_210",Bge="_valuePrimaryWhite_1x6mq_214",Rge="_valueSlash_1x6mq_219",Fge="_valueSecondary_1x6mq_226",Ege="_valueSecondaryBlue_1x6mq_232",Oge="_valueSecondaryWhite_1x6mq_236",Uge="_valueSecondaryBlack_1x6mq_240",Wge="_valueStacked_1x6mq_245",Gge="_stackedTop_1x6mq_254",Kge="_stackedBottom_1x6mq_255",pe={container:hge,disabled:uge,predStyle:pge,realStyle:yge,predGap:kge,realGap:mge,big:fge,medium:gge,iconWrapper:vge,predRelative:Mge,realRelative:xge,iconImg:_ge,content:Lge,header:Ige,predJustify:bge,realJustify:wge,predHeaderLineHeight:Cge,realHeaderLineHeight:Nge,title:Sge,titleBlack:jge,titleWhite:$ge,subtitle:qge,valueRowHorizontal:Age,valueRowVertical:zge,singleValue:Vge,primaryRow:Pge,maxBadge:Tge,valuePrimary:Hge,valuePrimaryBlack:Dge,valuePrimaryWhite:Bge,valueSlash:Rge,valueSecondary:Fge,valueSecondaryBlue:Ege,valueSecondaryWhite:Oge,valueSecondaryBlack:Uge,valueStacked:Wge,stackedTop:Gge,stackedBottom:Kge},Zge=({a11yConfig:e,iconName:t,title:n,subtitle:c,showSubtitle:i,realised:r="-",prediction:s="-",size:d="big",titleColor:h="black",valueColor:l="blue",realValueColor:u,className:p="",style:y="",variant:m="horizontal",showMax:f=!1,titleFontSize:g,titleFontWeight:M,subtitleFontSize:x,subtitleFontWeight:v,primaryFontSize:L,primaryFontWeight:w,secondaryFontSize:C,secondaryFontWeight:b,backgroundColor:_="#f2f9fc",gap:I="",disabled:j=!1,positionRelative:N="",justifyContent:S="",headerLineHeight:A="",headerMinHeight:B="",contentSpace:H="",titleKey:V,subtitleKey:q,subtitleA11yKey:$,maxBadgeKey:P,maxBadgeA11yKey:T,predictionKey:D,predictionA11yKey:F,realisedKey:G,realisedA11yKey:te})=>{const ne=i!==void 0?i:!!c,Me=`${pe.container} ${pe[d]} ${pe[y]} ${j?pe.disabled:""}`,me=l==="white"?pe.valuePrimaryWhite:pe.valuePrimaryBlack,Ce=l==="blue"?pe.valueSecondaryBlue:l==="white"?pe.valueSecondaryWhite:pe.valueSecondaryBlack,he=re=>re===void 0?void 0:typeof re=="number"?`${re}px`:re,Y=re=>re===void 0?void 0:re,ee=m==="vertical",ie=s!=null&&s!==""&&s!=="-"&&s!=="—",ue=ee?pe.valueRowVertical:pe.valueRowHorizontal;return o.jsxs("div",{className:`${Me} ${p}`,style:{backgroundColor:_},children:[t&&o.jsx("div",{className:`${pe.iconWrapper} ${pe[N]}`,children:t}),o.jsxs("div",{className:`${pe.content} ${pe[I]} ${ie?"":pe.singleValue} content-indicator-v2`,style:{justifyContent:H},children:[o.jsx("div",{className:`${pe.header} ${pe[S]} ${pe[A]} header-indicator-v2`,style:{minHeight:B},children:o.jsx("h6",{className:`${pe.title}`,style:{fontSize:he(g),fontWeight:Y(M),color:h},title:Q(e,V),children:n})}),ne&&c?o.jsx("div",{className:"subtitle-container",children:o.jsx("span",{className:pe.subtitle,style:{fontSize:he(x),fontWeight:Y(v)},title:Q(e,q,$),children:c})}):null,o.jsxs("div",{className:`${ue} count-indicator-v2`,children:[o.jsxs("div",{className:pe.primaryRow,children:[f&&o.jsx("span",{className:`${pe.maxBadge} max-badge-indicator-v2`,title:Q(e,P,T),children:"MAX"}),o.jsx("span",{className:`${pe.valuePrimary} ${me}`,style:{fontSize:he(L||(!ie&&ee?"1.75rem":void 0)),fontWeight:Y(w),color:u||void 0},title:Q(e,G,te),children:r})]}),ie&&o.jsxs(o.Fragment,{children:[!ee&&o.jsx("span",{className:pe.valueSlash,style:{fontSize:he(C),fontWeight:Y(b)},children:"/"}),o.jsx("span",{className:`${pe.valueSecondary} ${Ce}`,style:{fontSize:he(C),fontWeight:Y(b)},title:Q(e,D,F),children:s})]})]})]})]})},Xge="_banner_f10in_2",Yge="_iep_f10in_14",Jge="_groupSmall_f10in_24",Qge="_genre_f10in_34",e7e="_gravite_f10in_42",t7e="_orientationContainer_f10in_48",a7e="_service_f10in_61",n7e="_roomBedContainer_f10in_71",o7e="_room_f10in_71",c7e="_bed_f10in_87",i7e="_bedUf_f10in_92",r7e="_statusContainer_f10in_97",s7e="_status_f10in_97",d7e="_centeredWarn_f10in_124",Te={banner:Xge,iep:Yge,groupSmall:Jge,genre:Qge,gravite:e7e,orientationContainer:t7e,service:a7e,roomBedContainer:n7e,room:o7e,bed:c7e,bedUf:i7e,statusContainer:r7e,status:s7e,centeredWarn:d7e},l7e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},J.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},J.createElement("path",{fill:"#D9D9D9",d:"M0 0h16v16H0z"})),J.createElement("g",{mask:"url(#a)"},J.createElement("path",{fill:"#C60000",d:"M.666 14 7.999 1.333 15.333 14zm2.3-1.333h10.067L7.999 4zm5.508-.859a.65.65 0 0 0 .192-.475.65.65 0 0 0-.192-.475.65.65 0 0 0-.475-.191.65.65 0 0 0-.475.191.65.65 0 0 0-.191.475q0 .285.191.475A.65.65 0 0 0 8 12a.65.65 0 0 0 .475-.192M7.333 10h1.333V6.667H7.333z"}))),pj=k.memo(l7e),h7e=({patient:e,genre:t,gravite:n,bed:c,bed_uf:i,room:r,orientation:s,status:d,backgroundColor:h="#ffffff",primaryFontColor:l="#111827",secondaryFontColor:u="#6b7280",statusFontColor:p="#0284c7",statusBackgroundColor:y="#e0f2fe",genreBackgroundColor:m="#9ca3af",genreFontSize:f,style:g,warn:M=!1,warnMessage:x,warnColor:v="#F94134"})=>o.jsxs("div",{className:Te.banner,style:{backgroundColor:h,...g},children:[o.jsxs("div",{className:Te.iep,children:[o.jsx("div",{style:{color:u},children:e.iep??"--"}),o.jsxs("div",{style:{color:l},children:[((e.nom||"").trim().split(/\s+/)[0]||"").substring(0,3).toUpperCase(),"."," ",((e.prenom||"").trim().split(/\s+/)[0]||"").substring(0,3).toLowerCase().replace(/^./,L=>L.toUpperCase()),".(",e.age,")"]})]}),o.jsxs("div",{className:Te.groupSmall,children:[o.jsx("span",{className:`${Te.genre} genre-info-banner`,style:{color:"#ffffff",background:m,fontSize:f},children:t??"--"}),o.jsx("span",{className:`${Te.gravite} gravite-info-banner`,children:n??"--"})]}),o.jsx("div",{className:Te.orientationContainer,children:o.jsx("div",{className:Te.service,style:{color:l},children:s??"--"})}),o.jsxs("div",{className:Te.roomBedContainer,children:[i&&o.jsx("span",{className:Te.bedUf,children:i}),o.jsx("span",{className:Te.room,children:r??"--"}),o.jsx("span",{className:Te.bed,children:c??"--"})]}),o.jsxs("div",{className:Te.statusContainer,children:[d?o.jsx("div",{className:`${Te.status} status-info-banner`,style:{color:p,backgroundColor:y},children:d}):M&&o.jsxs("div",{className:Te.centeredWarn,style:{textTransform:"uppercase"},children:[o.jsx(pj,{color:v,width:20,height:20,style:{marginRight:"6px"}}),o.jsx("span",{style:{color:v,fontSize:"12px",fontWeight:600},children:x})]}),d&&M&&o.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:v,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[o.jsx(pj,{color:v,width:12,height:12,style:{marginRight:"4px"}}),o.jsx("span",{children:x})]})]})]}),u7e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z"})),p7e=k.memo(u7e),y7e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231z"})),cA=k.memo(y7e),k7e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),m7e=k.memo(k7e),f7e="_overlay_1uxex_1",g7e="_container_1uxex_11",v7e="_fullscreen_1uxex_24",M7e="_header_1uxex_30",x7e="_headerActions_1uxex_42",_7e="_iconButton_1uxex_47",L7e="_body_1uxex_58",I7e="_sidebar_1uxex_65",b7e="_content_1uxex_91",w7e="_contentHeader_1uxex_98",C7e="_childrenWrapper_1uxex_114",N7e="_footer_1uxex_138",S7e="_baseButton_1uxex_146",j7e="_noOverlay_1uxex_160",$7e="_contained_1uxex_168",Ne={overlay:f7e,container:g7e,fullscreen:v7e,header:M7e,headerActions:x7e,iconButton:_7e,body:L7e,sidebar:I7e,content:b7e,contentHeader:w7e,childrenWrapper:C7e,footer:N7e,baseButton:S7e,noOverlay:j7e,contained:$7e},q7e=({headerText:e,headerTextColor:t="var(--color-text)",backgroundColor:n="var(--color-background)",headerFontSize:c="1rem",headerFontWeight:i="600",isOpen:r,onClose:s,leftButton:d,rightButton:h,children:l,contentTitle:u,contentBackgroundColor:p="var(--color-content-background)",sideContent:y,hideMaximize:m=!1,hideHeader:f=!1,hideSidebar:g=!1,onDelete:M,deleteLabel:x="Supprimer",width:v="75%",maxWidth:L="none",height:w="85%",maxHeight:C="85%",borderRadius:b="0.5rem",childrenPadding:_="1rem",overflow:I="auto",contentHeaderAction:j,contentFooterAction:N,hideFooter:S=!1,hideOverlay:A=!1,position:B,a11yConfig:H})=>{const[V,q]=k.useState(!1),$=k.useRef(null);if(k.useEffect(()=>{if(!r||!A)return;const T=D=>{(D.type==="scroll"||D.type==="wheel"||D.type==="touchmove"||$.current&&!$.current.contains(D.target))&&s()};return document.addEventListener("mousedown",T),document.addEventListener("scroll",T,!0),document.addEventListener("wheel",T,{passive:!0,capture:!0}),document.addEventListener("touchmove",T,{passive:!0,capture:!0}),()=>{document.removeEventListener("mousedown",T),document.removeEventListener("scroll",T,!0),document.removeEventListener("wheel",T,!0),document.removeEventListener("touchmove",T,!0)}},[r,A,s]),!r)return null;const P=(T,D=!1)=>o.jsx(tL,{onClick:T.disabled?void 0:T.onClick,className:Ne.baseButton,disabled:T.disabled,style:{background:T.backgroundColor??(D?"#008FBB":"#ffffff"),color:T.textColor??(D?"#ffffff":"#374151"),border:T.borderColor||D?"none":void 0,cursor:T.disabled?T.cursor??"not-allowed":T.cursor??"pointer",filter:T.disabled?T.filter??"grayscale(0.5)":T.filter??"none",opacity:T.disabled?.65:1},title:Q(T.a11yConfig,T.text),children:T.text});return o.jsx("div",{className:A?Ne.noOverlay:Ne.overlay,onClick:s,children:o.jsxs("div",{ref:$,className:`${Ne.container} ${V?Ne.fullscreen:""} ${A?Ne.contained:""}`,onClick:T=>T.stopPropagation(),style:{width:V?"100%":v,maxWidth:V?"none":L,height:V?"100%":w,maxHeight:V?"100%":C,borderRadius:V?"0":b,overflow:I,...B||{}},children:[!f&&o.jsxs("header",{className:Ne.header,style:{backgroundColor:n},children:[o.jsx("h2",{style:{fontSize:c,fontWeight:i,color:t},title:Q(H,e),children:e}),o.jsxs("div",{className:Ne.headerActions,children:[!m&&o.jsx("button",{onClick:()=>q(!V),className:Ne.iconButton,title:V?"Réduire":"Agrandir",children:V?o.jsx(m7e,{width:22,height:22,fill:t}):o.jsx(p7e,{width:22,height:22,fill:t})}),o.jsx("button",{onClick:s,className:Ne.iconButton,title:"Fermer",children:o.jsx(cA,{width:22,height:22,fill:t})})]})]}),o.jsxs("div",{className:Ne.body,style:{overflow:I},children:[y&&!g&&o.jsx("aside",{className:Ne.sidebar,children:y}),o.jsxs("main",{className:Ne.content,style:{backgroundColor:p,overflow:I},children:[u&&o.jsxs("header",{className:Ne.contentHeader,style:{backgroundColor:n},children:[o.jsx("span",{style:{color:t},children:u}),j]}),o.jsx("div",{className:Ne.childrenWrapper,style:{padding:_,overflow:I},children:l})]})]}),!S&&o.jsxs("footer",{className:Ne.footer,style:{backgroundColor:n},children:[M&&o.jsx(tL,{onClick:M,className:Ne.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:x}),N,P(d),P(h,!0)]})]})})},A7e="_container_1vb1c_1",z7e="_searchWrapper_1vb1c_10",V7e="_navItems_1vb1c_17",Vb={container:A7e,searchWrapper:z7e,navItems:V7e},P7e=({items:e,activeId:t,activeColor:n="#00aec7",backgroundColor:c="#fff",textColor:i="#000",onItemClick:r,searchValue:s="",onSearchChange:d,searchPlaceholder:h="Rechercher",width:l="100%",className:u=""})=>o.jsxs("div",{className:`${Vb.container} ${u}`,style:{width:l,backgroundColor:c,color:i},children:[o.jsx("div",{className:Vb.searchWrapper,children:o.jsx(Jq,{value:s,onChange:d,placeholder:h,iconPosition:"right",iconColor:"var(--color-text)"})}),o.jsx("div",{className:Vb.navItems,children:e.map(p=>o.jsx(Xw,{id:p.id,label:p.label,icon:p.icon,isActive:t===p.id,onClick:()=>r?.(p.id),activeColor:n,color:i,fontWeight:"600",fontSize:"0.75rem",padding:"0.75rem 1rem",iconGap:"0.5rem"},p.id))})]}),T7e=({modules:e,selectedModuleId:t,onSelectModule:n,onAddModule:c,onItemAdd:i,onEditModule:r,onDeleteModule:s,onReorder:d,title:h="Modules",titleKey:l,addModuleTitle:u="Ajouter un module",addModuleLabel:p="Titre",addModulePlaceholder:y="Nom du module",renameModuleTitle:m="Renommer le module",renameModuleLabel:f="Titre",renameModulePlaceholder:g="Nom du module",confirmText:M="Valider",cancelText:x="Annuler",headerLabel:v,headerLabelKey:L,showAddIcon:w=!0,showCount:C=!0,showToggle:b=!1,showActions:_=!0,onToggle:I,a11yConfig:j})=>{const[N,S]=k.useState(!1),[A,B]=k.useState(null),[H,V]=k.useState(null),[q,$]=k.useState(null),[P,T]=k.useState(null),D=()=>{T(U=>U===null?"asc":U==="asc"?"desc":null),I&&I()},F=k.useMemo(()=>P?[...e].sort((U,E)=>{const oe=U.title.toLowerCase(),we=E.title.toLowerCase();return P==="asc"?oe.localeCompare(we):we.localeCompare(oe)}):e,[e,P]),G=()=>S(!0),te=()=>S(!1),ne=U=>{const E=U.title?.trim();E&&c&&c(E),te()},Me=(U,E)=>{U.stopPropagation(),B(E)},me=()=>B(null),Ce=U=>{const E=U.title?.trim();A&&E&&r&&r(A,E),me()},he=(U,E)=>{U.stopPropagation(),s&&s(E)},Y=(U,E)=>{U.stopPropagation(),i&&i(E)},ee=(U,E)=>{V(E),U.dataTransfer.effectAllowed="move"},ie=(U,E)=>{H!==null&&(U.preventDefault(),U.dataTransfer.dropEffect="move",E!==q&&$(E))},ue=(U,E)=>{if(U.preventDefault(),H===null||H===E||!d)return;const oe=[...F],[we]=oe.splice(H,1);oe.splice(E,0,we),T(null),d(oe),V(null),$(null)},re=()=>{V(null),$(null)};return o.jsxs("div",{className:"module-sidebar-v2",children:[o.jsx("div",{className:"sidebar-header",children:v?o.jsxs("div",{className:"header-label-container",onClick:D,children:[o.jsx("div",{className:"header-label",title:Q(j,L),children:v}),P==="asc"?o.jsx(Xc,{size:12,className:"header-toggle-icon",strokeWidth:3}):o.jsx(Zc,{size:12,className:"header-toggle-icon",strokeWidth:3})]}):o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"header-title",title:Q(j,l),children:[b&&(P==="asc"?o.jsx(Xc,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:D}):o.jsx(Zc,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:D})),h," ",C&&`(${F.length})`]}),w&&o.jsx(Jc,{size:18,className:"add-view-icon",onClick:G})]})}),o.jsx("div",{className:"module-list",children:F.map((U,E)=>o.jsxs("div",{className:`module-item ${U.id===t?"selected":""} ${q===E&&H!==E?"drag-over":""} ${H===E?"dragging":""}`,onClick:()=>n&&n(U),draggable:!!d,onDragStart:d?oe=>ee(oe,E):void 0,onDragOver:d?oe=>ie(oe,E):void 0,onDrop:d?oe=>ue(oe,E):void 0,onDragEnd:d?re:void 0,children:[U.icon||o.jsx(C1,{size:18,className:"drag-handle"}),o.jsxs("div",{className:"module-content",title:Q(U.a11yConfig,U.titleKey),children:[o.jsx("div",{className:"module-title",children:U.title}),U.subtitle&&o.jsx("div",{className:"module-subtitle",children:U.subtitle})]}),typeof U.count<"u"&&o.jsx("span",{className:"module-count",children:U.count}),_&&o.jsxs("div",{className:"module-actions",children:[i&&o.jsx($c,{size:14,className:"action-icon add",onClick:oe=>Y(oe,U)}),r&&o.jsx(kt,{size:12,className:"action-icon edit",onClick:oe=>Me(oe,U)}),s&&o.jsx(dt,{size:12,className:"action-icon delete",onClick:oe=>he(oe,U)})]})]},U.id))}),o.jsx(Vc,{isOpen:N,onClose:te,onSave:ne,title:u,fields:[{name:"title",label:p,placeholder:y}],confirmText:M,cancelText:x}),A&&o.jsx(Vc,{isOpen:!!A,onClose:me,onSave:Ce,title:m,initialValues:{title:A.title},fields:[{name:"title",label:f,placeholder:g}],confirmText:M,cancelText:x})]})},H7e=({keyName:e,translations:t,availableLanguages:n,onChange:c,onRename:i,onDelete:r,a11yConfig:s})=>{const[d,h]=k.useState(!1),[l,u]=k.useState(e),[p,y]=k.useState(null),[m,f]=k.useState(""),[g,M]=k.useState(!1),[x,v]=k.useState(""),[L,w]=k.useState(""),C=k.useMemo(()=>{const q={};return Array.isArray(t)&&t.forEach($=>{$&&$.language&&(q[$.language.toUpperCase()]=$.value)}),q},[t]),b=k.useMemo(()=>n,[n]),_=()=>{h(!1),l!==e&&l.trim()!==""?i&&i(l.trim()):u(e)},I=q=>{q.key==="Enter"?_():q.key==="Escape"&&(u(e),h(!1))},j=q=>{const $=q.toUpperCase();y($),f(C[$]||"")},N=()=>{p&&(c(p,m),y(null),f(""))},S=q=>{q.key==="Enter"?N():q.key==="Escape"&&(y(null),f(""))},A=()=>{M(!0),b.length>0&&v(b[0].toUpperCase()),w("")},B=()=>{x&&L.trim()&&(c(x,L.trim()),M(!1),v(""),w(""))},H=()=>{M(!1),v(""),w("")},V=q=>{q.key==="Enter"?B():q.key==="Escape"&&H()};return o.jsxs("div",{className:"translation-key-v2",children:[o.jsxs("div",{className:"header",children:[d?o.jsx("input",{className:"key-name-input",value:l,onChange:q=>u(q.target.value),onBlur:_,onKeyDown:I,autoFocus:!0}):o.jsx("h3",{className:"header-title",title:Q(s,e),children:e}),o.jsxs("div",{className:"header-actions",children:[o.jsx(kt,{size:16,className:"action-icon edit",onClick:()=>h(!0)}),o.jsx(dt,{size:16,className:"action-icon delete",onClick:r})]})]}),o.jsxs("div",{className:"translations-list",children:[n.map(q=>{const $=q.toUpperCase(),P=C[$]||"",T=p===$;return o.jsxs("div",{className:"lang-row",children:[o.jsx("div",{className:"lang-label",children:$}),T?o.jsx("input",{className:"translation-input editing",value:m,onChange:D=>f(D.target.value),onBlur:N,onKeyDown:S,placeholder:"Entrez la traduction...",autoFocus:!0}):o.jsx("div",{className:`translation-value ${P?"":"empty"}`,onClick:()=>j(q),title:"Cliquer pour éditer",children:P||"Cliquer pour ajouter..."})]},q)}),g?o.jsxs("div",{className:"lang-row add-row",children:[o.jsx("select",{className:"lang-select",value:x,onChange:q=>v(q.target.value),children:b.map(q=>o.jsx("option",{value:q.toUpperCase(),children:q.toUpperCase()},q))}),o.jsx("input",{className:"translation-input editing",value:L,onChange:q=>w(q.target.value),onKeyDown:V,placeholder:"Mot",autoFocus:!0}),o.jsxs("div",{className:"add-actions",children:[o.jsx(_1,{size:18,className:"action-icon confirm",onClick:B}),o.jsx(Ke,{size:18,className:"action-icon cancel",onClick:H})]})]}):b.length>0&&o.jsxs("button",{className:"add-translation-btn",onClick:A,children:[o.jsx($c,{size:16}),o.jsx("span",{children:"Ajouter"})]})]})]})},D7e="_overlay_1jz4r_1",B7e="_modal_1jz4r_15",R7e="_body_1jz4r_27",F7e="_footer_1jz4r_46",E7e="_confirmButton_1jz4r_55",O7e="_danger_1jz4r_75",U7e="_cancelButton_1jz4r_83",Lt={overlay:D7e,modal:B7e,body:R7e,footer:F7e,confirmButton:E7e,danger:O7e,cancelButton:U7e},W7e=({isOpen:e,message:t,onConfirm:n,onCancel:c,confirmText:i="Confirmer",cancelText:r="Annuler",isDanger:s=!1,hideFooter:d=!1,secondaryConfirmText:h,onSecondaryConfirm:l})=>e?o.jsx("div",{className:Lt.overlay,onClick:c,children:o.jsxs("div",{className:Lt.modal,onClick:u=>u.stopPropagation(),children:[o.jsx("div",{className:Lt.body,children:typeof t=="string"?o.jsx("p",{children:t}):t}),!d&&o.jsxs("div",{className:Lt.footer,children:[i&&o.jsx("button",{className:`${Lt.confirmButton} ${s?Lt.danger:""}`,onClick:n,children:i}),h&&l&&o.jsx("button",{className:Lt.confirmButton,onClick:l,children:h}),r&&o.jsx("button",{className:Lt.cancelButton,onClick:c,children:r})]})]})}):null,G7e="_card_1ildr_1",K7e="_topIcon_1ildr_17",Z7e="_title_1ildr_24",X7e="_text_1ildr_31",Y7e="_bottomIcon_1ildr_37",y1={card:G7e,topIcon:K7e,title:Z7e,text:X7e,bottomIcon:Y7e},J7e=({topIcon:e,title:t,text:n,bottomIcon:c,onClick:i,className:r="",headerTextColor:s="#000",textColor:d="#4b5563",backgroundColor:h="#fff",a11yConfig:l})=>o.jsxs("div",{className:`${y1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:h},title:Q(l,t),children:[e&&o.jsx("div",{className:y1.topIcon,children:e}),o.jsx("h3",{className:y1.title,style:{color:s},children:t}),o.jsx("p",{className:y1.text,style:{color:d},children:n}),c&&o.jsx("div",{className:y1.bottomIcon,children:c})]}),Q7e="_container_1bmmf_1",eve="_disabled_1bmmf_9",tve="_selectBox_1bmmf_14",ave="_selectBoxOpen_1bmmf_36",nve="_tagsContainer_1bmmf_41",ove="_tagsContainerWrap_1bmmf_51",cve="_tag_1bmmf_41",ive="_tagLabel_1bmmf_72",rve="_removeBtnContainer_1bmmf_78",sve="_removeBtn_1bmmf_78",dve="_searchInput_1bmmf_103",lve="_placeholder_1bmmf_123",hve="_actions_1bmmf_130",uve="_clearBtn_1bmmf_137",pve="_chevron_1bmmf_159",yve="_chevronOpen_1bmmf_165",kve="_dropdown_1bmmf_169",mve="_option_1bmmf_183",fve="_optionHeader_1bmmf_196",gve="_noOptions_1bmmf_212",vve="_overflowBlock_1bmmf_219",Mve="_overflowEllipsis_1bmmf_226",xve="_overflowBadge_1bmmf_233",_ve="_overflowBadgeWrap_1bmmf_256",Lve="_overflowDropdown_1bmmf_262",Ive="_overflowDropdownItem_1bmmf_278",bve="_overflowDropdownItemLabel_1bmmf_289",wve="_overflowDropdownItemRemove_1bmmf_296",ce={container:Q7e,disabled:eve,selectBox:tve,selectBoxOpen:ave,tagsContainer:nve,tagsContainerWrap:ove,tag:cve,tagLabel:ive,removeBtnContainer:rve,removeBtn:sve,searchInput:dve,placeholder:lve,actions:hve,clearBtn:uve,chevron:pve,chevronOpen:yve,dropdown:kve,option:mve,optionHeader:fve,noOptions:gve,overflowBlock:vve,overflowEllipsis:Mve,overflowBadge:xve,overflowBadgeWrap:_ve,overflowDropdown:Lve,overflowDropdownItem:Ive,overflowDropdownItemLabel:bve,overflowDropdownItemRemove:wve},Cve=({options:e,noOptionsMessage:t="",value:n,onChange:c,placeholder:i="Sélectionner...",isSearchable:r=!0,className:s="",disabled:d=!1,allowWrap:h=!1})=>{const[l,u]=k.useState(!1),[p,y]=k.useState(""),m=k.useRef(null),f=k.useRef(null),g=k.useRef(null),M=k.useRef(null),[x,v]=k.useState(null),[L,w]=k.useState(!1),C=k.useRef([]),b=k.useRef(null),_=k.useMemo(()=>{const $=new Map(e.map(P=>[P.value,P]));return n.map(P=>$.get(P)).filter(P=>P!==void 0)},[e,n]),I=k.useMemo(()=>e.filter($=>!n.includes($.value)),[e,n]),j=k.useMemo(()=>{let $=I;return p&&($=$.filter(P=>P.label.toLowerCase().includes(p.toLowerCase()))),$.filter((P,T)=>{if(!P.isHeader)return!0;for(let D=T+1;D<$.length&&!$[D].isHeader;D++)return!0;return!1})},[I,p]);k.useEffect(()=>{const $=P=>{const T=P.target;m.current&&!m.current.contains(T)&&(u(!1),y(""),v(null),w(!1))};return document.addEventListener("mousedown",$),()=>document.removeEventListener("mousedown",$)},[]),k.useEffect(()=>{if(h)return;if(_.length===0){v(null),C.current=[];return}_.length>C.current.length&&v(null);const $=()=>{const F=g.current,G=M.current;if(!F||!G)return;const te=G.getBoundingClientRect().width,ne=G.querySelector(`.${ce.actions}`),Me=ne?ne.getBoundingClientRect().width:80,me=56,Ce=r?80:0,he=16,Y=Array.from(F.querySelectorAll(`.${ce.tag}`));Y.length===_.length&&(C.current=Y.map(ge=>{const $e=ge.getBoundingClientRect(),Pt=ge.scrollWidth;return Math.max($e.width,Pt,ge.offsetWidth||0)}));const ee=C.current,ie=ee.length>0?ee.reduce((ge,$e)=>ge+$e,0)/ee.length:120,ue=_.length<=ee.length?ee.slice(0,_.length):[...ee,...Array(_.length-ee.length).fill(ie)],re=4,U=Math.max(0,te-Me-Ce-he);let E=0,oe=0;for(let ge=0;ge<_.length;ge++){const $e=ue[ge]??120;if(E+$e+re>U)break;E+=$e+re,oe++}if(oe>=_.length){v(null);return}const we=Math.max(0,te-me-Me-Ce-he);E=0;let Be=0;for(let ge=0;ge<_.length;ge++){const $e=ue[ge]??120;if(E+$e+re>we)break;E+=$e+re,Be++}Be<_.length&&Be>0?v(Be):v(null)},P=requestAnimationFrame(()=>{$()}),T=setTimeout($,100),D=new ResizeObserver(()=>{$()});return M.current&&D.observe(M.current),()=>{cancelAnimationFrame(P),clearTimeout(T),D.disconnect()}},[_,r,l,h]);const N=()=>{if(d)return;const $=!l;$&&w(!1),u($),$&&r&&setTimeout(()=>f.current?.focus(),0)},S=$=>{if(n.includes($.value))return;w(!1);const P=[..._,$];c(P),y(""),v(null),u(!1)},A=$=>{$.preventDefault(),$.stopPropagation(),w(P=>!P)},B=x!=null&&x<_.length?_.slice(x):[],H=($,P)=>{P.stopPropagation();const T=_.filter(D=>D.value!==$);c(T)},V=$=>{$.stopPropagation(),c([])},q=$=>{$.stopPropagation(),l||u(!0)};return o.jsxs("div",{className:`${ce.container} ${s} ${d?ce.disabled:""}`,ref:m,children:[o.jsxs("div",{ref:M,className:`${ce.selectBox} ${l?ce.selectBoxOpen:""}`,onClick:N,role:"combobox","aria-expanded":l,"aria-haspopup":"listbox",children:[o.jsxs("div",{className:`${ce.tagsContainer} ${h?ce.tagsContainerWrap:""}`,ref:g,children:[x!==null&&x>0?_.slice(0,x).map(($,P)=>o.jsxs("div",{className:ce.tag,children:[o.jsx("div",{className:ce.tagLabel,children:o.jsx("span",{children:$.label})}),o.jsx("div",{className:ce.removeBtnContainer,children:o.jsx("button",{type:"button",className:ce.removeBtn,onClick:T=>H($.value,T),"aria-label":`Supprimer ${$.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${$.value}-${P}`)):_.map(($,P)=>o.jsxs("div",{className:ce.tag,children:[o.jsx("div",{className:ce.tagLabel,children:o.jsx("span",{children:$.label})}),o.jsx("div",{className:ce.removeBtnContainer,children:o.jsx("button",{type:"button",className:ce.removeBtn,onClick:T=>H($.value,T),"aria-label":`Supprimer ${$.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${$.value}-${P}`)),r?o.jsx("input",{ref:f,type:"text",className:ce.searchInput,placeholder:_.length===0?i:"",value:p,onChange:$=>{y($.target.value),l||u(!0)},onClick:q,disabled:d}):_.length===0&&o.jsx("span",{className:ce.placeholder,children:i})]}),!h&&x!==null&&x<_.length&&o.jsxs("div",{className:ce.overflowBlock,children:[o.jsx("span",{className:ce.overflowEllipsis,children:"..."}),o.jsxs("div",{className:ce.overflowBadgeWrap,children:[o.jsx("button",{ref:b,type:"button",className:ce.overflowBadge,onClick:A,"aria-label":`Afficher ${B.length} éléments cachés`,children:B.length}),L&&B.length>0&&o.jsx("div",{className:ce.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:B.map(($,P)=>o.jsxs("div",{className:ce.overflowDropdownItem,children:[o.jsx("span",{className:ce.overflowDropdownItemLabel,children:$.label}),o.jsx("button",{type:"button",className:ce.overflowDropdownItemRemove,onClick:T=>{T.stopPropagation(),H($.value,T)},"aria-label":`Supprimer ${$.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]},`hidden-${$.value}-${P}`))})]})]}),o.jsxs("div",{className:ce.actions,children:[_.length>0&&o.jsx("button",{type:"button",className:ce.clearBtn,onClick:V,"aria-label":"Effacer tout",children:o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:o.jsx("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}),o.jsx("svg",{className:`${ce.chevron} ${l?ce.chevronOpen:""}`,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:o.jsx("path",{d:"M6 9l6 6 6-6"})})]})]}),l&&!d&&o.jsx("div",{className:ce.dropdown,role:"listbox",children:j.length>0?j.map(($,P)=>o.jsx("div",{className:`${ce.option} ${$.isHeader?ce.optionHeader:""}`,onClick:()=>!$.isHeader&&S($),role:"option","aria-selected":!1,children:$.label},`opt-${$.value}-${P}`)):o.jsx("div",{className:ce.noOptions,children:t})})]})},Nve="_container_h7jek_1",Sve={container:Nve},jve=({a11yConfigs:e=[],titleKeys:t=[],labels:n=[],data:c=[],selectedUfs:i=[],icons:r=[],lastCardTextColor:s="black",boardColors:d={}})=>{const h=k.useMemo(()=>{const p=i.length===0?c:c.filter(m=>m&&i.includes(String(m.uf).replace(/^0+/,""))),y=new Set;return p.filter(m=>{if(!m||!m.uf)return!1;const f=String(m.uf).replace(/^0+/,"");return y.has(f)?!1:(y.add(f),!0)})},[c,i]),l=k.useMemo(()=>h.reduce((p,y)=>({disponibles:p.disponibles+(y.totalAvailable??y.disponibles??0),homme:p.homme+(y.availableMen??y.disponibleHomme??0),femme:p.femme+(y.availableWomen??y.disponibleFemme??0),indifferencie:p.indifferencie+(y.availableIndifferentSex??y.indifferences??0),sorties:p.sorties+(y.outToday??y.sortie24??0)}),{disponibles:0,homme:0,femme:0,indifferencie:0,sorties:0}),[h]),u=p=>d.disponibles?d.disponibles:p>3?"#35994E":p>=1?"#EF6C00":"#C62828";return o.jsxs("div",{className:Sve.container,children:[o.jsx(St,{a11yConfig:e[0],titleKey:t[0],label:n[0],value:l.disponibles.toLocaleString("fr-FR"),iconName:r[0],backgroundColor:u(l.disponibles),valueFontSize:"2.5rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"white",valueColor:"white",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(St,{a11yConfig:e[1],titleKey:t[1],label:n[1],value:l.homme.toLocaleString("fr-FR"),iconName:r[1],backgroundColor:d.homme??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(St,{a11yConfig:e[2],titleKey:t[2],label:n[2],value:l.femme.toLocaleString("fr-FR"),iconName:r[2],backgroundColor:d.femme??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(St,{a11yConfig:e[3],titleKey:t[3],label:n[3],value:l.indifferencie.toLocaleString("fr-FR"),iconName:r[3],backgroundColor:d.indifferencie??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(St,{a11yConfig:e[4],titleKey:t[4],label:n[4],value:l.sorties.toLocaleString("fr-FR"),iconName:r[4],backgroundColor:d.sorties??"#F2F9FC",valueFontSize:"3rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:s,valueColor:s,titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}})]})},$ve="_container_1pt6c_1",qve="_chartContainer_1pt6c_14",Ave="_legend_1pt6c_22",zve="_legendItem_1pt6c_29",Vve="_leftSection_1pt6c_41",Pve="_colorIndicator_1pt6c_47",Tve="_label_1pt6c_54",Hve="_rightSection_1pt6c_60",Dve="_ratio_1pt6c_66",Bve="_value1_1pt6c_73",Rve="_separator_1pt6c_78",Fve="_value2_1pt6c_82",Eve="_statusIndicator_1pt6c_87",Ove="_inactive_1pt6c_102",He={container:$ve,chartContainer:qve,legend:Ave,legendItem:zve,leftSection:Vve,colorIndicator:Pve,label:Tve,rightSection:Hve,ratio:Dve,value1:Bve,separator:Rve,value2:Fve,statusIndicator:Eve,inactive:Ove},yj=Math.PI/180,Uve=({data:e,height:t=400,bg:n,backgroundColor:c,color:i,fontSize:r,fontWeight:s,padding:d,margin:h,borderRadius:l,className:u="",style:p={},labelColor:y,ratioColor:m,separatorColor:f,borderColor:g,hideDonut:M=!0,hideColorIndicator:x=!1})=>{const[v,L]=k.useState(new Set(e.map(N=>N.nom))),w=N=>{const S=new Set(v);S.has(N)?S.size>1&&S.delete(N):S.add(N),L(S)},C={...p,"--bg-color":n||c||"transparent","--text-color":i||"inherit","--font-size":r||"14px","--font-weight":s||"400","--padding":d||"0","--margin":h||"0","--border-radius":l||"0","--label-color":y||"inherit","--ratio-color":m||"inherit","--separator-color":f||"#03a9f4","--border-color":g||"#e0e0e0"},b=k.useMemo(()=>e.map(N=>({...N,displayValue:v.has(N.nom)?N.value:0})),[e,v]),_=k.useMemo(()=>e.every(N=>N.value===0),[e]),I=k.useMemo(()=>_?1:b.reduce((N,S)=>N+S.displayValue,0)||1,[_,b]),j=k.useCallback(({cx:N,cy:S,midAngle:A,innerRadius:B,outerRadius:H,value:V})=>{if(V===0||_)return null;const q=B+(H-B)*.5,$=N+q*Math.cos(-A*yj),P=S+q*Math.sin(-A*yj),T=Math.round(V/I*100);return o.jsx(a.Text,{x:$,y:P,fill:"white",textAnchor:"middle",dominantBaseline:"central",fontSize:12,fontWeight:"bold",children:`${T}%`})},[I,_]);return o.jsxs("div",{className:`${He.container} ${u}`,style:C,children:[!M&&o.jsx("div",{className:He.chartContainer,style:{height:t/2+100},children:o.jsx(a.ResponsiveContainer,{width:"100%",height:"100%",children:o.jsx(a.PieChart,{children:o.jsx(a.Pie,{data:_?[{displayValue:1,color:"#A3C2CB"}]:b,cx:"50%",cy:"50%",innerRadius:45,outerRadius:75,paddingAngle:0,dataKey:"displayValue",stroke:"white",strokeWidth:_?0:2,startAngle:90,endAngle:450,labelLine:!1,label:j,isAnimationActive:!1,children:_?o.jsx(a.Cell,{fill:"#A3C2CB"}):b.map((N,S)=>o.jsx(a.Cell,{fill:N.color},`cell-${S}`))})})})}),o.jsx("div",{className:He.legend,children:e.map((N,S)=>{const A=v.has(N.nom);return o.jsxs("div",{className:`${He.legendItem} ${!M&&!A?He.inactive:""}`,onClick:()=>w(N.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[o.jsxs("div",{className:He.leftSection,children:[!x&&o.jsx("div",{className:He.colorIndicator,style:{backgroundColor:N.color,opacity:M||A?1:.3}}),o.jsx("span",{className:He.label,style:{opacity:M||A?1:.5},children:N.nom})]}),o.jsxs("div",{className:He.rightSection,style:{opacity:M||A?1:.5},children:[o.jsxs("div",{className:He.ratio,children:[o.jsx("span",{className:He.value1,children:N.value1}),o.jsx("span",{className:He.separator,children:"/"}),o.jsx("span",{className:He.value2,children:N.value2})]}),N.statusColor&&o.jsx("div",{className:He.statusIndicator,style:{backgroundColor:N.statusColor}})]})]},`legend-${S}`)})})]})},Wve="_container_1pc4v_1",Gve="_leftGroup_1pc4v_10",Kve="_iconBtn_1pc4v_16",ti={container:Wve,leftGroup:Gve,iconBtn:Kve},Zve=e=>J.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},J.createElement("path",{d:"M3 12h18M3 6h18M3 18h18"})),Xve=k.memo(Zve),Yve=e=>J.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},J.createElement("path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8m-4-6-4-4-4 4m4-4v13"})),iA=k.memo(Yve),Jve=({menuIcon:e,logoProps:t,actionIcon:n,style:c,className:i,bgColor:r="var(--header-bg)",color:s="var(--color-text)",borderBottomColor:d="var(--color-border)",borderBottomWidth:h=1,height:l="8vh",onMenuClick:u,onActionClick:p})=>{const y={backgroundColor:r,color:s,borderBottom:`${h}px solid ${d}`,height:l,...c};return o.jsxs("header",{className:[ti.container,i].filter(Boolean).join(" "),style:y,children:[o.jsxs("div",{className:ti.leftGroup,children:[o.jsx("button",{className:ti.iconBtn,onClick:u,"aria-label":"Menu",style:{color:"inherit"},children:e??o.jsx(Xve,{width:22,height:22})}),o.jsx(uL,{...t,size:"medium"})]}),o.jsx("button",{className:ti.iconBtn,onClick:p,"aria-label":"Action",style:{color:"inherit"},children:n??o.jsx(iA,{width:22,height:22})})]})},Qve="_container_24g3e_1",e9e="_iconBtn_24g3e_10",t9e="_title_24g3e_22",ai={container:Qve,iconBtn:e9e,title:t9e},a9e=({title:e="Menu",closeIcon:t,actionIcon:n,style:c,className:i,titleStyle:r,bgColor:s="var(--header-bg)",color:d="var(--color-text)",borderBottomColor:h="transparent",borderBottomWidth:l=0,height:u="8vh",onClose:p,onAction:y})=>{const m={backgroundColor:s,color:d,borderBottom:`${l}px solid ${h}`,height:u,...c};return o.jsxs("div",{className:[ai.container,i].filter(Boolean).join(" "),style:m,children:[o.jsx("button",{className:ai.iconBtn,onClick:p,"aria-label":"Fermer",style:{color:"inherit"},children:t??o.jsx(cA,{width:22,height:22})}),o.jsx("span",{className:ai.title,style:{fontWeight:"var(--font-weight-h)",fontSize:"var(--h5)",...r},children:e.toUpperCase()}),o.jsx("button",{className:ai.iconBtn,onClick:y,"aria-label":"Partager",style:{color:"inherit"},children:n??o.jsx(iA,{width:22,height:22})})]})},n9e=({title:e,countLabel:t="UF",actionIcon:n=o.jsx(dt,{size:16}),onAction:c,items:i=[],onItemClick:r,activeColor:s="#0083bb",id:d,children:h})=>{const l=k.useMemo(()=>i.filter(u=>u.active).length,[i]);return o.jsxs(o9e,{id:d,children:[o.jsxs(c9e,{children:[o.jsxs(i9e,{children:[o.jsx(r9e,{children:e}),o.jsxs(s9e,{children:["(",l," ",t,")"]})]}),c&&o.jsx(d9e,{onClick:c,title:"Action",children:n})]}),o.jsx(l9e,{children:o.jsx(h9e,{children:i.map(u=>o.jsx(p9e,{item:u,activeColor:s,onItemClick:r},u.id))})}),h&&o.jsx(y9e,{children:h})]})},o9e=ae.div`
8180
+ `,style:{...de,backgroundColor:t===xe.value?j||"#F0F4F6":"transparent"},onMouseEnter:Ht=>{I&&(Ht.currentTarget.style.backgroundColor=I)},onMouseLeave:Ht=>{I&&(Ht.currentTarget.style.backgroundColor=t===xe.value?j||"#F0F4F6":"transparent")},role:"option","aria-selected":t===xe.value,children:o.jsxs("div",{className:be.itemContent,style:Tt,children:[xe.icon&&o.jsx("span",{className:be.itemIcon,style:ge,children:xe.icon}),o.jsx("span",{className:be.itemLabel,children:xe.label})]})},xe.value))})})]})},sge="_filterBar_1hlqe_3",dge="_label_1hlqe_11",uj={filterBar:sge,label:dge},lge=({label:e="Filtres",startDate:t,endDate:n,granularity:c,onStartDateChange:i,onEndDateChange:r,onGranularityChange:s,granularityItems:d,startDatePlaceholder:h="Date début",endDatePlaceholder:l="Date fin",granularityPlaceholder:u="Sélectionner...",className:p="",disabled:y=!1,gap:m="0.75rem",labelFontSize:f="0.875rem",labelFontWeight:g="400",labelColor:M="#212529",labelMarginRight:x="1rem",startDateWidth:v,endDateWidth:L,selectWidth:w,datePickerProps:C={},selectProps:b={},rightContent:_,extraContent:I})=>{const j={fontSize:f,fontWeight:g,color:M,marginRight:x},N={gap:m};return o.jsxs("div",{className:`${uj.filterBar} ${p}`,style:N,children:[e&&o.jsx("span",{className:uj.label,style:j,children:e}),o.jsx(dw,{value:t,onChange:i,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:v,...C}),o.jsx(dw,{value:n,onChange:r,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:L,...C}),o.jsx(oA,{items:d,value:c,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:w,...b}),I,_&&o.jsx("div",{style:{marginLeft:"auto"},children:_})]})},hge="_container_1x6mq_16",uge="_disabled_1x6mq_26",pge="_predStyle_1x6mq_32",yge="_realStyle_1x6mq_36",kge="_predGap_1x6mq_40",mge="_realGap_1x6mq_44",fge="_big_1x6mq_49",gge="_medium_1x6mq_53",vge="_iconWrapper_1x6mq_58",Mge="_predRelative_1x6mq_68",xge="_realRelative_1x6mq_72",_ge="_iconImg_1x6mq_76",Lge="_content_1x6mq_84",Ige="_header_1x6mq_93",bge="_predJustify_1x6mq_99",wge="_realJustify_1x6mq_103",Cge="_predHeaderLineHeight_1x6mq_116",Nge="_realHeaderLineHeight_1x6mq_120",Sge="_title_1x6mq_129",jge="_titleBlack_1x6mq_144",$ge="_titleWhite_1x6mq_148",qge="_subtitle_1x6mq_153",Age="_valueRowHorizontal_1x6mq_163",zge="_valueRowVertical_1x6mq_171",Vge="_singleValue_1x6mq_180",Pge="_primaryRow_1x6mq_184",Tge="_maxBadge_1x6mq_191",Hge="_valuePrimary_1x6mq_203",Dge="_valuePrimaryBlack_1x6mq_210",Bge="_valuePrimaryWhite_1x6mq_214",Rge="_valueSlash_1x6mq_219",Fge="_valueSecondary_1x6mq_226",Ege="_valueSecondaryBlue_1x6mq_232",Oge="_valueSecondaryWhite_1x6mq_236",Uge="_valueSecondaryBlack_1x6mq_240",Wge="_valueStacked_1x6mq_245",Gge="_stackedTop_1x6mq_254",Kge="_stackedBottom_1x6mq_255",pe={container:hge,disabled:uge,predStyle:pge,realStyle:yge,predGap:kge,realGap:mge,big:fge,medium:gge,iconWrapper:vge,predRelative:Mge,realRelative:xge,iconImg:_ge,content:Lge,header:Ige,predJustify:bge,realJustify:wge,predHeaderLineHeight:Cge,realHeaderLineHeight:Nge,title:Sge,titleBlack:jge,titleWhite:$ge,subtitle:qge,valueRowHorizontal:Age,valueRowVertical:zge,singleValue:Vge,primaryRow:Pge,maxBadge:Tge,valuePrimary:Hge,valuePrimaryBlack:Dge,valuePrimaryWhite:Bge,valueSlash:Rge,valueSecondary:Fge,valueSecondaryBlue:Ege,valueSecondaryWhite:Oge,valueSecondaryBlack:Uge,valueStacked:Wge,stackedTop:Gge,stackedBottom:Kge},Zge=({a11yConfig:e,iconName:t,title:n,subtitle:c,showSubtitle:i,realised:r="-",prediction:s="-",size:d="big",titleColor:h="black",valueColor:l="blue",realValueColor:u,className:p="",style:y="",variant:m="horizontal",showMax:f=!1,titleFontSize:g,titleFontWeight:M,subtitleFontSize:x,subtitleFontWeight:v,primaryFontSize:L,primaryFontWeight:w,secondaryFontSize:C,secondaryFontWeight:b,backgroundColor:_="#f2f9fc",gap:I="",disabled:j=!1,positionRelative:N="",justifyContent:S="",headerLineHeight:A="",headerMinHeight:B="",contentSpace:T="",titleKey:V,subtitleKey:$,subtitleA11yKey:q,maxBadgeKey:P,maxBadgeA11yKey:H,predictionKey:D,predictionA11yKey:F,realisedKey:G,realisedA11yKey:oe})=>{const ae=i!==void 0?i:!!c,Me=`${pe.container} ${pe[d]} ${pe[y]} ${j?pe.disabled:""}`,me=l==="white"?pe.valuePrimaryWhite:pe.valuePrimaryBlack,Ce=l==="blue"?pe.valueSecondaryBlue:l==="white"?pe.valueSecondaryWhite:pe.valueSecondaryBlack,he=re=>re===void 0?void 0:typeof re=="number"?`${re}px`:re,Y=re=>re===void 0?void 0:re,ee=m==="vertical",ie=s!=null&&s!==""&&s!=="-"&&s!=="—",ue=ee?pe.valueRowVertical:pe.valueRowHorizontal;return o.jsxs("div",{className:`${Me} ${p}`,style:{backgroundColor:_},children:[t&&o.jsx("div",{className:`${pe.iconWrapper} ${pe[N]}`,children:t}),o.jsxs("div",{className:`${pe.content} ${pe[I]} ${ie?"":pe.singleValue} content-indicator-v2`,style:{justifyContent:T},children:[o.jsx("div",{className:`${pe.header} ${pe[S]} ${pe[A]} header-indicator-v2`,style:{minHeight:B},children:o.jsx("h6",{className:`${pe.title}`,style:{fontSize:he(g),fontWeight:Y(M),color:h},title:Q(e,V),children:n})}),ae&&c?o.jsx("div",{className:"subtitle-container",children:o.jsx("span",{className:pe.subtitle,style:{fontSize:he(x),fontWeight:Y(v)},title:Q(e,$,q),children:c})}):null,o.jsxs("div",{className:`${ue} count-indicator-v2`,children:[o.jsxs("div",{className:pe.primaryRow,children:[f&&o.jsx("span",{className:`${pe.maxBadge} max-badge-indicator-v2`,title:Q(e,P,H),children:"MAX"}),o.jsx("span",{className:`${pe.valuePrimary} ${me}`,style:{fontSize:he(L||(!ie&&ee?"1.75rem":void 0)),fontWeight:Y(w),color:u||void 0},title:Q(e,G,oe),children:r})]}),ie&&o.jsxs(o.Fragment,{children:[!ee&&o.jsx("span",{className:pe.valueSlash,style:{fontSize:he(C),fontWeight:Y(b)},children:"/"}),o.jsx("span",{className:`${pe.valueSecondary} ${Ce}`,style:{fontSize:he(C),fontWeight:Y(b)},title:Q(e,D,F),children:s})]})]})]})]})},Xge="_banner_f10in_2",Yge="_iep_f10in_14",Jge="_groupSmall_f10in_24",Qge="_genre_f10in_34",e7e="_gravite_f10in_42",t7e="_orientationContainer_f10in_48",a7e="_service_f10in_61",n7e="_roomBedContainer_f10in_71",o7e="_room_f10in_71",c7e="_bed_f10in_87",i7e="_bedUf_f10in_92",r7e="_statusContainer_f10in_97",s7e="_status_f10in_97",d7e="_centeredWarn_f10in_124",Te={banner:Xge,iep:Yge,groupSmall:Jge,genre:Qge,gravite:e7e,orientationContainer:t7e,service:a7e,roomBedContainer:n7e,room:o7e,bed:c7e,bedUf:i7e,statusContainer:r7e,status:s7e,centeredWarn:d7e},l7e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},J.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},J.createElement("path",{fill:"#D9D9D9",d:"M0 0h16v16H0z"})),J.createElement("g",{mask:"url(#a)"},J.createElement("path",{fill:"#C60000",d:"M.666 14 7.999 1.333 15.333 14zm2.3-1.333h10.067L7.999 4zm5.508-.859a.65.65 0 0 0 .192-.475.65.65 0 0 0-.192-.475.65.65 0 0 0-.475-.191.65.65 0 0 0-.475.191.65.65 0 0 0-.191.475q0 .285.191.475A.65.65 0 0 0 8 12a.65.65 0 0 0 .475-.192M7.333 10h1.333V6.667H7.333z"}))),pj=k.memo(l7e),h7e=({patient:e,genre:t,gravite:n,bed:c,bed_uf:i,room:r,orientation:s,status:d,backgroundColor:h="#ffffff",primaryFontColor:l="#111827",secondaryFontColor:u="#6b7280",statusFontColor:p="#0284c7",statusBackgroundColor:y="#e0f2fe",genreBackgroundColor:m="#9ca3af",genreFontSize:f,style:g,warn:M=!1,warnMessage:x,warnColor:v="#F94134"})=>o.jsxs("div",{className:Te.banner,style:{backgroundColor:h,...g},children:[o.jsxs("div",{className:Te.iep,children:[o.jsx("div",{style:{color:u},children:e.iep??"--"}),o.jsxs("div",{style:{color:l},children:[((e.nom||"").trim().split(/\s+/)[0]||"").substring(0,3).toUpperCase(),"."," ",((e.prenom||"").trim().split(/\s+/)[0]||"").substring(0,3).toLowerCase().replace(/^./,L=>L.toUpperCase()),".(",e.age,")"]})]}),o.jsxs("div",{className:Te.groupSmall,children:[o.jsx("span",{className:`${Te.genre} genre-info-banner`,style:{color:"#ffffff",background:m,fontSize:f},children:t??"--"}),o.jsx("span",{className:`${Te.gravite} gravite-info-banner`,children:n??"--"})]}),o.jsx("div",{className:Te.orientationContainer,children:o.jsx("div",{className:Te.service,style:{color:l},children:s??"--"})}),o.jsxs("div",{className:Te.roomBedContainer,children:[i&&o.jsx("span",{className:Te.bedUf,children:i}),o.jsx("span",{className:Te.room,children:r??"--"}),o.jsx("span",{className:Te.bed,children:c??"--"})]}),o.jsxs("div",{className:Te.statusContainer,children:[d?o.jsx("div",{className:`${Te.status} status-info-banner`,style:{color:p,backgroundColor:y},children:d}):M&&o.jsxs("div",{className:Te.centeredWarn,style:{textTransform:"uppercase"},children:[o.jsx(pj,{color:v,width:20,height:20,style:{marginRight:"6px"}}),o.jsx("span",{style:{color:v,fontSize:"12px",fontWeight:600},children:x})]}),d&&M&&o.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:v,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[o.jsx(pj,{color:v,width:12,height:12,style:{marginRight:"4px"}}),o.jsx("span",{children:x})]})]})]}),u7e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z"})),p7e=k.memo(u7e),y7e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231z"})),cA=k.memo(y7e),k7e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),m7e=k.memo(k7e),f7e="_overlay_1uxex_1",g7e="_container_1uxex_11",v7e="_fullscreen_1uxex_24",M7e="_header_1uxex_30",x7e="_headerActions_1uxex_42",_7e="_iconButton_1uxex_47",L7e="_body_1uxex_58",I7e="_sidebar_1uxex_65",b7e="_content_1uxex_91",w7e="_contentHeader_1uxex_98",C7e="_childrenWrapper_1uxex_114",N7e="_footer_1uxex_138",S7e="_baseButton_1uxex_146",j7e="_noOverlay_1uxex_160",$7e="_contained_1uxex_168",Ne={overlay:f7e,container:g7e,fullscreen:v7e,header:M7e,headerActions:x7e,iconButton:_7e,body:L7e,sidebar:I7e,content:b7e,contentHeader:w7e,childrenWrapper:C7e,footer:N7e,baseButton:S7e,noOverlay:j7e,contained:$7e},q7e=({headerText:e,headerTextColor:t="var(--color-text)",backgroundColor:n="var(--color-background)",headerFontSize:c="1rem",headerFontWeight:i="600",isOpen:r,onClose:s,leftButton:d,rightButton:h,children:l,contentTitle:u,contentBackgroundColor:p="var(--color-content-background)",sideContent:y,hideMaximize:m=!1,hideHeader:f=!1,hideSidebar:g=!1,onDelete:M,deleteLabel:x="Supprimer",width:v="75%",maxWidth:L="none",height:w="85%",maxHeight:C="85%",borderRadius:b="0.5rem",childrenPadding:_="1rem",overflow:I="auto",contentHeaderAction:j,contentFooterAction:N,hideFooter:S=!1,hideOverlay:A=!1,position:B,a11yConfig:T})=>{const[V,$]=k.useState(!1),q=k.useRef(null);if(k.useEffect(()=>{if(!r||!A)return;const H=D=>{(D.type==="scroll"||D.type==="wheel"||D.type==="touchmove"||q.current&&!q.current.contains(D.target))&&s()};return document.addEventListener("mousedown",H),document.addEventListener("scroll",H,!0),document.addEventListener("wheel",H,{passive:!0,capture:!0}),document.addEventListener("touchmove",H,{passive:!0,capture:!0}),()=>{document.removeEventListener("mousedown",H),document.removeEventListener("scroll",H,!0),document.removeEventListener("wheel",H,!0),document.removeEventListener("touchmove",H,!0)}},[r,A,s]),!r)return null;const P=(H,D=!1)=>o.jsx(tL,{onClick:H.disabled?void 0:H.onClick,className:Ne.baseButton,disabled:H.disabled,style:{background:H.backgroundColor??(D?"#008FBB":"#ffffff"),color:H.textColor??(D?"#ffffff":"#374151"),border:H.borderColor||D?"none":void 0,cursor:H.disabled?H.cursor??"not-allowed":H.cursor??"pointer",filter:H.disabled?H.filter??"grayscale(0.5)":H.filter??"none",opacity:H.disabled?.65:1},title:Q(H.a11yConfig,H.text),children:H.text});return o.jsx("div",{className:A?Ne.noOverlay:Ne.overlay,onClick:s,children:o.jsxs("div",{ref:q,className:`${Ne.container} ${V?Ne.fullscreen:""} ${A?Ne.contained:""}`,onClick:H=>H.stopPropagation(),style:{width:V?"100%":v,maxWidth:V?"none":L,height:V?"100%":w,maxHeight:V?"100%":C,borderRadius:V?"0":b,overflow:I,...B||{}},children:[!f&&o.jsxs("header",{className:Ne.header,style:{backgroundColor:n},children:[o.jsx("h2",{style:{fontSize:c,fontWeight:i,color:t},title:Q(T,e),children:e}),o.jsxs("div",{className:Ne.headerActions,children:[!m&&o.jsx("button",{onClick:()=>$(!V),className:Ne.iconButton,title:V?"Réduire":"Agrandir",children:V?o.jsx(m7e,{width:22,height:22,fill:t}):o.jsx(p7e,{width:22,height:22,fill:t})}),o.jsx("button",{onClick:s,className:Ne.iconButton,title:"Fermer",children:o.jsx(cA,{width:22,height:22,fill:t})})]})]}),o.jsxs("div",{className:Ne.body,style:{overflow:I},children:[y&&!g&&o.jsx("aside",{className:Ne.sidebar,children:y}),o.jsxs("main",{className:Ne.content,style:{backgroundColor:p,overflow:I},children:[u&&o.jsxs("header",{className:Ne.contentHeader,style:{backgroundColor:n},children:[o.jsx("span",{style:{color:t},children:u}),j]}),o.jsx("div",{className:Ne.childrenWrapper,style:{padding:_,overflow:I},children:l})]})]}),!S&&o.jsxs("footer",{className:Ne.footer,style:{backgroundColor:n},children:[M&&o.jsx(tL,{onClick:M,className:Ne.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:x}),N,P(d),P(h,!0)]})]})})},A7e="_container_1vb1c_1",z7e="_searchWrapper_1vb1c_10",V7e="_navItems_1vb1c_17",Vb={container:A7e,searchWrapper:z7e,navItems:V7e},P7e=({items:e,activeId:t,activeColor:n="#00aec7",backgroundColor:c="#fff",textColor:i="#000",onItemClick:r,searchValue:s="",onSearchChange:d,searchPlaceholder:h="Rechercher",width:l="100%",className:u=""})=>o.jsxs("div",{className:`${Vb.container} ${u}`,style:{width:l,backgroundColor:c,color:i},children:[o.jsx("div",{className:Vb.searchWrapper,children:o.jsx(Jq,{value:s,onChange:d,placeholder:h,iconPosition:"right",iconColor:"var(--color-text)"})}),o.jsx("div",{className:Vb.navItems,children:e.map(p=>o.jsx(Xw,{id:p.id,label:p.label,icon:p.icon,isActive:t===p.id,onClick:()=>r?.(p.id),activeColor:n,color:i,fontWeight:"600",fontSize:"0.75rem",padding:"0.75rem 1rem",iconGap:"0.5rem"},p.id))})]}),T7e=({modules:e,selectedModuleId:t,onSelectModule:n,onAddModule:c,onItemAdd:i,onEditModule:r,onDeleteModule:s,onReorder:d,title:h="Modules",titleKey:l,addModuleTitle:u="Ajouter un module",addModuleLabel:p="Titre",addModulePlaceholder:y="Nom du module",renameModuleTitle:m="Renommer le module",renameModuleLabel:f="Titre",renameModulePlaceholder:g="Nom du module",confirmText:M="Valider",cancelText:x="Annuler",headerLabel:v,headerLabelKey:L,showAddIcon:w=!0,showCount:C=!0,showToggle:b=!1,showActions:_=!0,onToggle:I,a11yConfig:j})=>{const[N,S]=k.useState(!1),[A,B]=k.useState(null),[T,V]=k.useState(null),[$,q]=k.useState(null),[P,H]=k.useState(null),D=()=>{H(W=>W===null?"asc":W==="asc"?"desc":null),I&&I()},F=k.useMemo(()=>P?[...e].sort((W,O)=>{const ne=W.title.toLowerCase(),we=O.title.toLowerCase();return P==="asc"?ne.localeCompare(we):we.localeCompare(ne)}):e,[e,P]),G=()=>S(!0),oe=()=>S(!1),ae=W=>{const O=W.title?.trim();O&&c&&c(O),oe()},Me=(W,O)=>{W.stopPropagation(),B(O)},me=()=>B(null),Ce=W=>{const O=W.title?.trim();A&&O&&r&&r(A,O),me()},he=(W,O)=>{W.stopPropagation(),s&&s(O)},Y=(W,O)=>{W.stopPropagation(),i&&i(O)},ee=(W,O)=>{V(O),W.dataTransfer.effectAllowed="move"},ie=(W,O)=>{T!==null&&(W.preventDefault(),W.dataTransfer.dropEffect="move",O!==$&&q(O))},ue=(W,O)=>{if(W.preventDefault(),T===null||T===O||!d)return;const ne=[...F],[we]=ne.splice(T,1);ne.splice(O,0,we),H(null),d(ne),V(null),q(null)},re=()=>{V(null),q(null)};return o.jsxs("div",{className:"module-sidebar-v2",children:[o.jsx("div",{className:"sidebar-header",children:v?o.jsxs("div",{className:"header-label-container",onClick:D,children:[o.jsx("div",{className:"header-label",title:Q(j,L),children:v}),P==="asc"?o.jsx(Xc,{size:12,className:"header-toggle-icon",strokeWidth:3}):o.jsx(Zc,{size:12,className:"header-toggle-icon",strokeWidth:3})]}):o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"header-title",title:Q(j,l),children:[b&&(P==="asc"?o.jsx(Xc,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:D}):o.jsx(Zc,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:D})),h," ",C&&`(${F.length})`]}),w&&o.jsx(Jc,{size:18,className:"add-view-icon",onClick:G})]})}),o.jsx("div",{className:"module-list",children:F.map((W,O)=>o.jsxs("div",{className:`module-item ${W.id===t?"selected":""} ${$===O&&T!==O?"drag-over":""} ${T===O?"dragging":""}`,onClick:()=>n&&n(W),draggable:!!d,onDragStart:d?ne=>ee(ne,O):void 0,onDragOver:d?ne=>ie(ne,O):void 0,onDrop:d?ne=>ue(ne,O):void 0,onDragEnd:d?re:void 0,children:[W.icon||o.jsx(C1,{size:18,className:"drag-handle"}),o.jsxs("div",{className:"module-content",title:Q(W.a11yConfig,W.titleKey),children:[o.jsx("div",{className:"module-title",children:W.title}),W.subtitle&&o.jsx("div",{className:"module-subtitle",children:W.subtitle})]}),typeof W.count<"u"&&o.jsx("span",{className:"module-count",children:W.count}),_&&o.jsxs("div",{className:"module-actions",children:[i&&o.jsx($c,{size:14,className:"action-icon add",onClick:ne=>Y(ne,W)}),r&&o.jsx(kt,{size:12,className:"action-icon edit",onClick:ne=>Me(ne,W)}),s&&o.jsx(dt,{size:12,className:"action-icon delete",onClick:ne=>he(ne,W)})]})]},W.id))}),o.jsx(Vc,{isOpen:N,onClose:oe,onSave:ae,title:u,fields:[{name:"title",label:p,placeholder:y}],confirmText:M,cancelText:x}),A&&o.jsx(Vc,{isOpen:!!A,onClose:me,onSave:Ce,title:m,initialValues:{title:A.title},fields:[{name:"title",label:f,placeholder:g}],confirmText:M,cancelText:x})]})},H7e=({keyName:e,translations:t,availableLanguages:n,onChange:c,onRename:i,onDelete:r,a11yConfig:s})=>{const[d,h]=k.useState(!1),[l,u]=k.useState(e),[p,y]=k.useState(null),[m,f]=k.useState(""),[g,M]=k.useState(!1),[x,v]=k.useState(""),[L,w]=k.useState(""),C=k.useMemo(()=>{const $={};return Array.isArray(t)&&t.forEach(q=>{q&&q.language&&($[q.language.toUpperCase()]=q.value)}),$},[t]),b=k.useMemo(()=>n,[n]),_=()=>{h(!1),l!==e&&l.trim()!==""?i&&i(l.trim()):u(e)},I=$=>{$.key==="Enter"?_():$.key==="Escape"&&(u(e),h(!1))},j=$=>{const q=$.toUpperCase();y(q),f(C[q]||"")},N=()=>{p&&(c(p,m),y(null),f(""))},S=$=>{$.key==="Enter"?N():$.key==="Escape"&&(y(null),f(""))},A=()=>{M(!0),b.length>0&&v(b[0].toUpperCase()),w("")},B=()=>{x&&L.trim()&&(c(x,L.trim()),M(!1),v(""),w(""))},T=()=>{M(!1),v(""),w("")},V=$=>{$.key==="Enter"?B():$.key==="Escape"&&T()};return o.jsxs("div",{className:"translation-key-v2",children:[o.jsxs("div",{className:"header",children:[d?o.jsx("input",{className:"key-name-input",value:l,onChange:$=>u($.target.value),onBlur:_,onKeyDown:I,autoFocus:!0}):o.jsx("h3",{className:"header-title",title:Q(s,e),children:e}),o.jsxs("div",{className:"header-actions",children:[o.jsx(kt,{size:16,className:"action-icon edit",onClick:()=>h(!0)}),o.jsx(dt,{size:16,className:"action-icon delete",onClick:r})]})]}),o.jsxs("div",{className:"translations-list",children:[n.map($=>{const q=$.toUpperCase(),P=C[q]||"",H=p===q;return o.jsxs("div",{className:"lang-row",children:[o.jsx("div",{className:"lang-label",children:q}),H?o.jsx("input",{className:"translation-input editing",value:m,onChange:D=>f(D.target.value),onBlur:N,onKeyDown:S,placeholder:"Entrez la traduction...",autoFocus:!0}):o.jsx("div",{className:`translation-value ${P?"":"empty"}`,onClick:()=>j($),title:"Cliquer pour éditer",children:P||"Cliquer pour ajouter..."})]},$)}),g?o.jsxs("div",{className:"lang-row add-row",children:[o.jsx("select",{className:"lang-select",value:x,onChange:$=>v($.target.value),children:b.map($=>o.jsx("option",{value:$.toUpperCase(),children:$.toUpperCase()},$))}),o.jsx("input",{className:"translation-input editing",value:L,onChange:$=>w($.target.value),onKeyDown:V,placeholder:"Mot",autoFocus:!0}),o.jsxs("div",{className:"add-actions",children:[o.jsx(_1,{size:18,className:"action-icon confirm",onClick:B}),o.jsx(Ke,{size:18,className:"action-icon cancel",onClick:T})]})]}):b.length>0&&o.jsxs("button",{className:"add-translation-btn",onClick:A,children:[o.jsx($c,{size:16}),o.jsx("span",{children:"Ajouter"})]})]})]})},D7e="_overlay_1jz4r_1",B7e="_modal_1jz4r_15",R7e="_body_1jz4r_27",F7e="_footer_1jz4r_46",E7e="_confirmButton_1jz4r_55",O7e="_danger_1jz4r_75",U7e="_cancelButton_1jz4r_83",Lt={overlay:D7e,modal:B7e,body:R7e,footer:F7e,confirmButton:E7e,danger:O7e,cancelButton:U7e},W7e=({isOpen:e,message:t,onConfirm:n,onCancel:c,confirmText:i="Confirmer",cancelText:r="Annuler",isDanger:s=!1,hideFooter:d=!1,secondaryConfirmText:h,onSecondaryConfirm:l})=>e?o.jsx("div",{className:Lt.overlay,onClick:c,children:o.jsxs("div",{className:Lt.modal,onClick:u=>u.stopPropagation(),children:[o.jsx("div",{className:Lt.body,children:typeof t=="string"?o.jsx("p",{children:t}):t}),!d&&o.jsxs("div",{className:Lt.footer,children:[i&&o.jsx("button",{className:`${Lt.confirmButton} ${s?Lt.danger:""}`,onClick:n,children:i}),h&&l&&o.jsx("button",{className:Lt.confirmButton,onClick:l,children:h}),r&&o.jsx("button",{className:Lt.cancelButton,onClick:c,children:r})]})]})}):null,G7e="_card_1ildr_1",K7e="_topIcon_1ildr_17",Z7e="_title_1ildr_24",X7e="_text_1ildr_31",Y7e="_bottomIcon_1ildr_37",y1={card:G7e,topIcon:K7e,title:Z7e,text:X7e,bottomIcon:Y7e},J7e=({topIcon:e,title:t,text:n,bottomIcon:c,onClick:i,className:r="",headerTextColor:s="#000",textColor:d="#4b5563",backgroundColor:h="#fff",a11yConfig:l})=>o.jsxs("div",{className:`${y1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:h},title:Q(l,t),children:[e&&o.jsx("div",{className:y1.topIcon,children:e}),o.jsx("h3",{className:y1.title,style:{color:s},children:t}),o.jsx("p",{className:y1.text,style:{color:d},children:n}),c&&o.jsx("div",{className:y1.bottomIcon,children:c})]}),Q7e="_container_1bmmf_1",eve="_disabled_1bmmf_9",tve="_selectBox_1bmmf_14",ave="_selectBoxOpen_1bmmf_36",nve="_tagsContainer_1bmmf_41",ove="_tagsContainerWrap_1bmmf_51",cve="_tag_1bmmf_41",ive="_tagLabel_1bmmf_72",rve="_removeBtnContainer_1bmmf_78",sve="_removeBtn_1bmmf_78",dve="_searchInput_1bmmf_103",lve="_placeholder_1bmmf_123",hve="_actions_1bmmf_130",uve="_clearBtn_1bmmf_137",pve="_chevron_1bmmf_159",yve="_chevronOpen_1bmmf_165",kve="_dropdown_1bmmf_169",mve="_option_1bmmf_183",fve="_optionHeader_1bmmf_196",gve="_noOptions_1bmmf_212",vve="_overflowBlock_1bmmf_219",Mve="_overflowEllipsis_1bmmf_226",xve="_overflowBadge_1bmmf_233",_ve="_overflowBadgeWrap_1bmmf_256",Lve="_overflowDropdown_1bmmf_262",Ive="_overflowDropdownItem_1bmmf_278",bve="_overflowDropdownItemLabel_1bmmf_289",wve="_overflowDropdownItemRemove_1bmmf_296",ce={container:Q7e,disabled:eve,selectBox:tve,selectBoxOpen:ave,tagsContainer:nve,tagsContainerWrap:ove,tag:cve,tagLabel:ive,removeBtnContainer:rve,removeBtn:sve,searchInput:dve,placeholder:lve,actions:hve,clearBtn:uve,chevron:pve,chevronOpen:yve,dropdown:kve,option:mve,optionHeader:fve,noOptions:gve,overflowBlock:vve,overflowEllipsis:Mve,overflowBadge:xve,overflowBadgeWrap:_ve,overflowDropdown:Lve,overflowDropdownItem:Ive,overflowDropdownItemLabel:bve,overflowDropdownItemRemove:wve},Cve=({options:e,noOptionsMessage:t="",value:n,onChange:c,placeholder:i="Sélectionner...",isSearchable:r=!0,className:s="",disabled:d=!1,allowWrap:h=!1})=>{const[l,u]=k.useState(!1),[p,y]=k.useState(""),m=k.useRef(null),f=k.useRef(null),g=k.useRef(null),M=k.useRef(null),[x,v]=k.useState(null),[L,w]=k.useState(!1),C=k.useRef([]),b=k.useRef(null),_=k.useMemo(()=>{const q=new Map(e.map(P=>[P.value,P]));return n.map(P=>q.get(P)).filter(P=>P!==void 0)},[e,n]),I=k.useMemo(()=>e.filter(q=>!n.includes(q.value)),[e,n]),j=k.useMemo(()=>{let q=I;return p&&(q=q.filter(P=>P.label.toLowerCase().includes(p.toLowerCase()))),q.filter((P,H)=>{if(!P.isHeader)return!0;for(let D=H+1;D<q.length&&!q[D].isHeader;D++)return!0;return!1})},[I,p]);k.useEffect(()=>{const q=P=>{const H=P.target;m.current&&!m.current.contains(H)&&(u(!1),y(""),v(null),w(!1))};return document.addEventListener("mousedown",q),()=>document.removeEventListener("mousedown",q)},[]),k.useEffect(()=>{if(h)return;if(_.length===0){v(null),C.current=[];return}_.length>C.current.length&&v(null);const q=()=>{const F=g.current,G=M.current;if(!F||!G)return;const oe=G.getBoundingClientRect().width,ae=G.querySelector(`.${ce.actions}`),Me=ae?ae.getBoundingClientRect().width:80,me=56,Ce=r?80:0,he=16,Y=Array.from(F.querySelectorAll(`.${ce.tag}`));Y.length===_.length&&(C.current=Y.map(ge=>{const $e=ge.getBoundingClientRect(),Pt=ge.scrollWidth;return Math.max($e.width,Pt,ge.offsetWidth||0)}));const ee=C.current,ie=ee.length>0?ee.reduce((ge,$e)=>ge+$e,0)/ee.length:120,ue=_.length<=ee.length?ee.slice(0,_.length):[...ee,...Array(_.length-ee.length).fill(ie)],re=4,W=Math.max(0,oe-Me-Ce-he);let O=0,ne=0;for(let ge=0;ge<_.length;ge++){const $e=ue[ge]??120;if(O+$e+re>W)break;O+=$e+re,ne++}if(ne>=_.length){v(null);return}const we=Math.max(0,oe-me-Me-Ce-he);O=0;let Be=0;for(let ge=0;ge<_.length;ge++){const $e=ue[ge]??120;if(O+$e+re>we)break;O+=$e+re,Be++}Be<_.length&&Be>0?v(Be):v(null)},P=requestAnimationFrame(()=>{q()}),H=setTimeout(q,100),D=new ResizeObserver(()=>{q()});return M.current&&D.observe(M.current),()=>{cancelAnimationFrame(P),clearTimeout(H),D.disconnect()}},[_,r,l,h]);const N=()=>{if(d)return;const q=!l;q&&w(!1),u(q),q&&r&&setTimeout(()=>f.current?.focus(),0)},S=q=>{if(n.includes(q.value))return;w(!1);const P=[..._,q];c(P),y(""),v(null),u(!1)},A=q=>{q.preventDefault(),q.stopPropagation(),w(P=>!P)},B=x!=null&&x<_.length?_.slice(x):[],T=(q,P)=>{P.stopPropagation();const H=_.filter(D=>D.value!==q);c(H)},V=q=>{q.stopPropagation(),c([])},$=q=>{q.stopPropagation(),l||u(!0)};return o.jsxs("div",{className:`${ce.container} ${s} ${d?ce.disabled:""}`,ref:m,children:[o.jsxs("div",{ref:M,className:`${ce.selectBox} ${l?ce.selectBoxOpen:""}`,onClick:N,role:"combobox","aria-expanded":l,"aria-haspopup":"listbox",children:[o.jsxs("div",{className:`${ce.tagsContainer} ${h?ce.tagsContainerWrap:""}`,ref:g,children:[x!==null&&x>0?_.slice(0,x).map((q,P)=>o.jsxs("div",{className:ce.tag,children:[o.jsx("div",{className:ce.tagLabel,children:o.jsx("span",{children:q.label})}),o.jsx("div",{className:ce.removeBtnContainer,children:o.jsx("button",{type:"button",className:ce.removeBtn,onClick:H=>T(q.value,H),"aria-label":`Supprimer ${q.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${q.value}-${P}`)):_.map((q,P)=>o.jsxs("div",{className:ce.tag,children:[o.jsx("div",{className:ce.tagLabel,children:o.jsx("span",{children:q.label})}),o.jsx("div",{className:ce.removeBtnContainer,children:o.jsx("button",{type:"button",className:ce.removeBtn,onClick:H=>T(q.value,H),"aria-label":`Supprimer ${q.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${q.value}-${P}`)),r?o.jsx("input",{ref:f,type:"text",className:ce.searchInput,placeholder:_.length===0?i:"",value:p,onChange:q=>{y(q.target.value),l||u(!0)},onClick:$,disabled:d}):_.length===0&&o.jsx("span",{className:ce.placeholder,children:i})]}),!h&&x!==null&&x<_.length&&o.jsxs("div",{className:ce.overflowBlock,children:[o.jsx("span",{className:ce.overflowEllipsis,children:"..."}),o.jsxs("div",{className:ce.overflowBadgeWrap,children:[o.jsx("button",{ref:b,type:"button",className:ce.overflowBadge,onClick:A,"aria-label":`Afficher ${B.length} éléments cachés`,children:B.length}),L&&B.length>0&&o.jsx("div",{className:ce.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:B.map((q,P)=>o.jsxs("div",{className:ce.overflowDropdownItem,children:[o.jsx("span",{className:ce.overflowDropdownItemLabel,children:q.label}),o.jsx("button",{type:"button",className:ce.overflowDropdownItemRemove,onClick:H=>{H.stopPropagation(),T(q.value,H)},"aria-label":`Supprimer ${q.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]},`hidden-${q.value}-${P}`))})]})]}),o.jsxs("div",{className:ce.actions,children:[_.length>0&&o.jsx("button",{type:"button",className:ce.clearBtn,onClick:V,"aria-label":"Effacer tout",children:o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:o.jsx("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}),o.jsx("svg",{className:`${ce.chevron} ${l?ce.chevronOpen:""}`,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:o.jsx("path",{d:"M6 9l6 6 6-6"})})]})]}),l&&!d&&o.jsx("div",{className:ce.dropdown,role:"listbox",children:j.length>0?j.map((q,P)=>o.jsx("div",{className:`${ce.option} ${q.isHeader?ce.optionHeader:""}`,onClick:()=>!q.isHeader&&S(q),role:"option","aria-selected":!1,children:q.label},`opt-${q.value}-${P}`)):o.jsx("div",{className:ce.noOptions,children:t})})]})},Nve="_container_h7jek_1",Sve={container:Nve},jve=({a11yConfigs:e=[],titleKeys:t=[],labels:n=[],data:c=[],selectedUfs:i=[],icons:r=[],lastCardTextColor:s="black",boardColors:d={}})=>{const h=k.useMemo(()=>{const p=i.length===0?c:c.filter(m=>m&&i.includes(String(m.uf).replace(/^0+/,""))),y=new Set;return p.filter(m=>{if(!m||!m.uf)return!1;const f=String(m.uf).replace(/^0+/,"");return y.has(f)?!1:(y.add(f),!0)})},[c,i]),l=k.useMemo(()=>h.reduce((p,y)=>({disponibles:p.disponibles+(y.totalAvailable??y.disponibles??0),homme:p.homme+(y.availableMen??y.disponibleHomme??0),femme:p.femme+(y.availableWomen??y.disponibleFemme??0),indifferencie:p.indifferencie+(y.availableIndifferentSex??y.indifferences??0),sorties:p.sorties+(y.outToday??y.sortie24??0)}),{disponibles:0,homme:0,femme:0,indifferencie:0,sorties:0}),[h]),u=p=>d.disponibles?d.disponibles:p>3?"#35994E":p>=1?"#EF6C00":"#C62828";return o.jsxs("div",{className:Sve.container,children:[o.jsx(St,{a11yConfig:e[0],titleKey:t[0],label:n[0],value:l.disponibles.toLocaleString("fr-FR"),iconName:r[0],backgroundColor:u(l.disponibles),valueFontSize:"2.5rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"white",valueColor:"white",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(St,{a11yConfig:e[1],titleKey:t[1],label:n[1],value:l.homme.toLocaleString("fr-FR"),iconName:r[1],backgroundColor:d.homme??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(St,{a11yConfig:e[2],titleKey:t[2],label:n[2],value:l.femme.toLocaleString("fr-FR"),iconName:r[2],backgroundColor:d.femme??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(St,{a11yConfig:e[3],titleKey:t[3],label:n[3],value:l.indifferencie.toLocaleString("fr-FR"),iconName:r[3],backgroundColor:d.indifferencie??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(St,{a11yConfig:e[4],titleKey:t[4],label:n[4],value:l.sorties.toLocaleString("fr-FR"),iconName:r[4],backgroundColor:d.sorties??"#F2F9FC",valueFontSize:"3rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:s,valueColor:s,titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}})]})},$ve="_container_1pt6c_1",qve="_chartContainer_1pt6c_14",Ave="_legend_1pt6c_22",zve="_legendItem_1pt6c_29",Vve="_leftSection_1pt6c_41",Pve="_colorIndicator_1pt6c_47",Tve="_label_1pt6c_54",Hve="_rightSection_1pt6c_60",Dve="_ratio_1pt6c_66",Bve="_value1_1pt6c_73",Rve="_separator_1pt6c_78",Fve="_value2_1pt6c_82",Eve="_statusIndicator_1pt6c_87",Ove="_inactive_1pt6c_102",He={container:$ve,chartContainer:qve,legend:Ave,legendItem:zve,leftSection:Vve,colorIndicator:Pve,label:Tve,rightSection:Hve,ratio:Dve,value1:Bve,separator:Rve,value2:Fve,statusIndicator:Eve,inactive:Ove},yj=Math.PI/180,Uve=({data:e,height:t=400,bg:n,backgroundColor:c,color:i,fontSize:r,fontWeight:s,padding:d,margin:h,borderRadius:l,className:u="",style:p={},labelColor:y,ratioColor:m,separatorColor:f,borderColor:g,hideDonut:M=!0,hideColorIndicator:x=!1})=>{const[v,L]=k.useState(new Set(e.map(N=>N.nom))),w=N=>{const S=new Set(v);S.has(N)?S.size>1&&S.delete(N):S.add(N),L(S)},C={...p,"--bg-color":n||c||"transparent","--text-color":i||"inherit","--font-size":r||"14px","--font-weight":s||"400","--padding":d||"0","--margin":h||"0","--border-radius":l||"0","--label-color":y||"inherit","--ratio-color":m||"inherit","--separator-color":f||"#03a9f4","--border-color":g||"#e0e0e0"},b=k.useMemo(()=>e.map(N=>({...N,displayValue:v.has(N.nom)?N.value:0})),[e,v]),_=k.useMemo(()=>e.every(N=>N.value===0),[e]),I=k.useMemo(()=>_?1:b.reduce((N,S)=>N+S.displayValue,0)||1,[_,b]),j=k.useCallback(({cx:N,cy:S,midAngle:A,innerRadius:B,outerRadius:T,value:V})=>{if(V===0||_)return null;const $=B+(T-B)*.5,q=N+$*Math.cos(-A*yj),P=S+$*Math.sin(-A*yj),H=Math.round(V/I*100);return o.jsx(a.Text,{x:q,y:P,fill:"white",textAnchor:"middle",dominantBaseline:"central",fontSize:12,fontWeight:"bold",children:`${H}%`})},[I,_]);return o.jsxs("div",{className:`${He.container} ${u}`,style:C,children:[!M&&o.jsx("div",{className:He.chartContainer,style:{height:t/2+100},children:o.jsx(a.ResponsiveContainer,{width:"100%",height:"100%",children:o.jsx(a.PieChart,{children:o.jsx(a.Pie,{data:_?[{displayValue:1,color:"#A3C2CB"}]:b,cx:"50%",cy:"50%",innerRadius:45,outerRadius:75,paddingAngle:0,dataKey:"displayValue",stroke:"white",strokeWidth:_?0:2,startAngle:90,endAngle:450,labelLine:!1,label:j,isAnimationActive:!1,children:_?o.jsx(a.Cell,{fill:"#A3C2CB"}):b.map((N,S)=>o.jsx(a.Cell,{fill:N.color},`cell-${S}`))})})})}),o.jsx("div",{className:He.legend,children:e.map((N,S)=>{const A=v.has(N.nom);return o.jsxs("div",{className:`${He.legendItem} ${!M&&!A?He.inactive:""}`,onClick:()=>w(N.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[o.jsxs("div",{className:He.leftSection,children:[!x&&o.jsx("div",{className:He.colorIndicator,style:{backgroundColor:N.color,opacity:M||A?1:.3}}),o.jsx("span",{className:He.label,style:{opacity:M||A?1:.5},children:N.nom})]}),o.jsxs("div",{className:He.rightSection,style:{opacity:M||A?1:.5},children:[o.jsxs("div",{className:He.ratio,children:[o.jsx("span",{className:He.value1,children:N.value1}),o.jsx("span",{className:He.separator,children:"/"}),o.jsx("span",{className:He.value2,children:N.value2})]}),N.statusColor&&o.jsx("div",{className:He.statusIndicator,style:{backgroundColor:N.statusColor}})]})]},`legend-${S}`)})})]})},Wve="_container_1pc4v_1",Gve="_leftGroup_1pc4v_10",Kve="_iconBtn_1pc4v_16",ti={container:Wve,leftGroup:Gve,iconBtn:Kve},Zve=e=>J.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},J.createElement("path",{d:"M3 12h18M3 6h18M3 18h18"})),Xve=k.memo(Zve),Yve=e=>J.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},J.createElement("path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8m-4-6-4-4-4 4m4-4v13"})),iA=k.memo(Yve),Jve=({menuIcon:e,logoProps:t,actionIcon:n,style:c,className:i,bgColor:r="var(--header-bg)",color:s="var(--color-text)",borderBottomColor:d="var(--color-border)",borderBottomWidth:h=1,height:l="8vh",onMenuClick:u,onActionClick:p})=>{const y={backgroundColor:r,color:s,borderBottom:`${h}px solid ${d}`,height:l,...c};return o.jsxs("header",{className:[ti.container,i].filter(Boolean).join(" "),style:y,children:[o.jsxs("div",{className:ti.leftGroup,children:[o.jsx("button",{className:ti.iconBtn,onClick:u,"aria-label":"Menu",style:{color:"inherit"},children:e??o.jsx(Xve,{width:22,height:22})}),o.jsx(uL,{...t,size:"medium"})]}),o.jsx("button",{className:ti.iconBtn,onClick:p,"aria-label":"Action",style:{color:"inherit"},children:n??o.jsx(iA,{width:22,height:22})})]})},Qve="_container_24g3e_1",e9e="_iconBtn_24g3e_10",t9e="_title_24g3e_22",ai={container:Qve,iconBtn:e9e,title:t9e},a9e=({title:e="Menu",closeIcon:t,actionIcon:n,style:c,className:i,titleStyle:r,bgColor:s="var(--header-bg)",color:d="var(--color-text)",borderBottomColor:h="transparent",borderBottomWidth:l=0,height:u="8vh",onClose:p,onAction:y})=>{const m={backgroundColor:s,color:d,borderBottom:`${l}px solid ${h}`,height:u,...c};return o.jsxs("div",{className:[ai.container,i].filter(Boolean).join(" "),style:m,children:[o.jsx("button",{className:ai.iconBtn,onClick:p,"aria-label":"Fermer",style:{color:"inherit"},children:t??o.jsx(cA,{width:22,height:22})}),o.jsx("span",{className:ai.title,style:{fontWeight:"var(--font-weight-h)",fontSize:"var(--h5)",...r},children:e.toUpperCase()}),o.jsx("button",{className:ai.iconBtn,onClick:y,"aria-label":"Partager",style:{color:"inherit"},children:n??o.jsx(iA,{width:22,height:22})})]})},n9e=({title:e,countLabel:t="UF",actionIcon:n=o.jsx(dt,{size:16}),onAction:c,items:i=[],onItemClick:r,activeColor:s="#0083bb",id:d,children:h})=>{const l=k.useMemo(()=>i.filter(u=>u.active).length,[i]);return o.jsxs(o9e,{id:d,children:[o.jsxs(c9e,{children:[o.jsxs(i9e,{children:[o.jsx(r9e,{children:e}),o.jsxs(s9e,{children:["(",l," ",t,")"]})]}),c&&o.jsx(d9e,{onClick:c,title:"Action",children:n})]}),o.jsx(l9e,{children:o.jsx(h9e,{children:i.map(u=>o.jsx(p9e,{item:u,activeColor:s,onItemClick:r},u.id))})}),h&&o.jsx(y9e,{children:h})]})},o9e=te.div`
8181
8181
  background: white;
8182
8182
  border: 1px solid #ddd;
8183
8183
  border-radius: 4px;
@@ -8187,7 +8187,7 @@
8187
8187
  height: 100%;
8188
8188
  display: flex;
8189
8189
  flex-direction: column;
8190
- `,c9e=ae.div`
8190
+ `,c9e=te.div`
8191
8191
  display: flex;
8192
8192
  justify-content: space-between;
8193
8193
  align-items: center;
@@ -8196,20 +8196,20 @@
8196
8196
  height: 3rem;
8197
8197
  box-sizing: border-box;
8198
8198
  border-bottom: 1px solid #efefef;
8199
- `,i9e=ae.div`
8199
+ `,i9e=te.div`
8200
8200
  display: flex;
8201
8201
  align-items: baseline;
8202
8202
  gap: 8px;
8203
- `,r9e=ae.h2`
8203
+ `,r9e=te.h2`
8204
8204
  margin: 0;
8205
8205
  font-size: 1rem;
8206
8206
  font-weight: 800;
8207
8207
  color: #1a1a1a;
8208
- `,s9e=ae.span`
8208
+ `,s9e=te.span`
8209
8209
  font-size: 0.9rem;
8210
8210
  font-weight: 500;
8211
8211
  color: #718096;
8212
- `,d9e=ae.button`
8212
+ `,d9e=te.button`
8213
8213
  background: transparent;
8214
8214
  border: none;
8215
8215
  cursor: pointer;
@@ -8222,14 +8222,14 @@
8222
8222
  &:hover {
8223
8223
  opacity: 0.7;
8224
8224
  }
8225
- `,l9e=ae.div`
8225
+ `,l9e=te.div`
8226
8226
  padding: 15px;
8227
- `,h9e=ae.div`
8227
+ `,h9e=te.div`
8228
8228
  display: flex;
8229
8229
  flex-wrap: wrap;
8230
8230
  gap: 8px;
8231
8231
  justify-content: flex-start;
8232
- `,u9e=ae.div`
8232
+ `,u9e=te.div`
8233
8233
  padding: 0.5rem;
8234
8234
  display: flex;
8235
8235
  width: 4rem;
@@ -8248,21 +8248,21 @@
8248
8248
  &:hover {
8249
8249
  border-color: ${e=>e.$activeColor};
8250
8250
  }
8251
- `,p9e=k.memo(({item:e,activeColor:t,onItemClick:n})=>o.jsx(u9e,{$active:e.active,$activeColor:t,onClick:()=>n?.(e),children:e.label})),y9e=ae.div`
8251
+ `,p9e=k.memo(({item:e,activeColor:t,onItemClick:n})=>o.jsx(u9e,{$active:e.active,$activeColor:t,onClick:()=>n?.(e),children:e.label})),y9e=te.div`
8252
8252
  padding: 0 15px 15px 15px;
8253
8253
  display: flex;
8254
8254
  justify-content: flex-end;
8255
- `,k9e=({value:e,min:t=0,max:n=100,step:c=1,onChange:i,label:r,className:s="",disabled:d=!1,fullWidth:h=!0,trackHeight:l="6px",trackColor:u="#f0f2f5",trackFillColor:p="#00A6D9",thumbColor:y="#ffffff",thumbBorderColor:m="#00A6D9",thumbSize:f="20px",thumbBorderWidth:g="2px",ariaLabel:M,ariaLabelledBy:x,a11yConfig:v})=>{const L=n!==t?(e-t)/(n-t)*100:0,w=b=>{i(Number(b.target.value))},C=Q(v,r);return o.jsxs(m9e,{className:s,title:C,$fullWidth:h,children:[r&&o.jsx(f9e,{id:x?void 0:`${r}-label`,children:r}),o.jsx(g9e,{type:"range",min:t,max:n,step:c,value:e,onChange:w,disabled:d,"aria-label":M,"aria-labelledby":x||(r?`${r}-label`:void 0),"aria-valuemin":t,"aria-valuemax":n,"aria-valuenow":e,$percentage:L,$trackHeight:l,$trackColor:u,$trackFillColor:p,$thumbSize:f,$thumbColor:y,$thumbBorderColor:m,$thumbBorderWidth:g})]})},m9e=ae.div`
8255
+ `,k9e=({value:e,min:t=0,max:n=100,step:c=1,onChange:i,label:r,className:s="",disabled:d=!1,fullWidth:h=!0,trackHeight:l="6px",trackColor:u="#f0f2f5",trackFillColor:p="#00A6D9",thumbColor:y="#ffffff",thumbBorderColor:m="#00A6D9",thumbSize:f="20px",thumbBorderWidth:g="2px",ariaLabel:M,ariaLabelledBy:x,a11yConfig:v})=>{const L=n!==t?(e-t)/(n-t)*100:0,w=b=>{i(Number(b.target.value))},C=Q(v,r);return o.jsxs(m9e,{className:s,title:C,$fullWidth:h,children:[r&&o.jsx(f9e,{id:x?void 0:`${r}-label`,children:r}),o.jsx(g9e,{type:"range",min:t,max:n,step:c,value:e,onChange:w,disabled:d,"aria-label":M,"aria-labelledby":x||(r?`${r}-label`:void 0),"aria-valuemin":t,"aria-valuemax":n,"aria-valuenow":e,$percentage:L,$trackHeight:l,$trackColor:u,$trackFillColor:p,$thumbSize:f,$thumbColor:y,$thumbBorderColor:m,$thumbBorderWidth:g})]})},m9e=te.div`
8256
8256
  display: flex;
8257
8257
  flex-direction: column;
8258
8258
  gap: 0.5rem;
8259
8259
  font-family: inherit;
8260
8260
  width: ${({$fullWidth:e})=>e?"100%":"auto"};
8261
- `,f9e=ae.label`
8261
+ `,f9e=te.label`
8262
8262
  font-size: 0.875rem;
8263
8263
  font-weight: 500;
8264
8264
  color: var(--color-text, #212529);
8265
- `,g9e=ae.input`
8265
+ `,g9e=te.input`
8266
8266
  -webkit-appearance: none;
8267
8267
  appearance: none;
8268
8268
  width: 100%;
@@ -8363,18 +8363,18 @@
8363
8363
  &:focus::-webkit-slider-runnable-track {
8364
8364
  outline: none;
8365
8365
  }
8366
- `,v9e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",...e},J.createElement("mask",{id:"a",width:20,height:20,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},J.createElement("path",{fill:"#D9D9D9",d:"M0 0h20v20H0z"})),J.createElement("g",{mask:"url(#a)"},J.createElement("path",{fill:"#1C1B1F",d:"M10.75 10.375V7.748a.73.73 0 0 0-.214-.53.7.7 0 0 0-.531-.218.74.74 0 0 0-.536.214.7.7 0 0 0-.218.53v2.954q0 .149.062.288.063.139.174.25l2.076 2.076q.23.23.531.22a.77.77 0 0 0 .532-.24.73.73 0 0 0 0-1.063zM10 18a6.8 6.8 0 0 1-2.731-.554 7.1 7.1 0 0 1-2.217-1.498 7.1 7.1 0 0 1-1.497-2.216A6.8 6.8 0 0 1 3 11q0-1.458.554-2.732t1.497-2.217A7.1 7.1 0 0 1 7.27 4.554 6.8 6.8 0 0 1 10 4q1.458 0 2.732.554 1.274.555 2.216 1.497a7.1 7.1 0 0 1 1.498 2.217Q17 9.542 17 11t-.555 2.732a7.1 7.1 0 0 1-1.497 2.217 7.1 7.1 0 0 1-2.216 1.497A6.8 6.8 0 0 1 10 18M1.939 6.458a.73.73 0 0 1 0-1.062l2.48-2.48a.73.73 0 0 1 1.062 0 .73.73 0 0 1 0 1.063l-2.5 2.5a.68.68 0 0 1-.521.219.76.76 0 0 1-.52-.24m16.146 0a.73.73 0 0 1-1.062 0l-2.48-2.479a.73.73 0 0 1 0-1.062.73.73 0 0 1 1.063 0l2.479 2.5q.23.228.23.52a.72.72 0 0 1-.23.521M9.996 16.5q2.296 0 3.9-1.6t1.605-3.895-1.6-3.9T10.005 5.5t-3.9 1.6T4.5 10.995t1.6 3.9T9.995 16.5"}))),M9e=k.memo(v9e),x9e=({value:e,onChange:t,label:n,placeholder:c="00:00",disabled:i=!1,fullWidth:r=!0,cancelText:s,applyText:d,hoursLabel:h,minutesLabel:l,dropdownAlignment:u="left",maxHours:p=23,ariaLabel:y,ariaLabelledBy:m,a11yConfig:f})=>{const[g,M]=k.useState(!1),x=k.useRef(null),v=N=>{if(N instanceof Date)return{h:N.getHours().toString().padStart(2,"0"),m:N.getMinutes().toString().padStart(2,"0")};if(typeof N=="string"&&N.includes(":")){const S=N.split(":");return{h:S[0].padStart(2,"0"),m:S[1].padStart(2,"0")}}return{h:"00",m:"00"}},[L,w]=k.useState("00"),[C,b]=k.useState("00");k.useEffect(()=>{const N=v(e);w(N.h),b(N.m)},[e,g]),k.useEffect(()=>{const N=S=>{x.current&&!x.current.contains(S.target)&&M(!1)};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]);const _=()=>{const N=parseInt(L)||0,S=parseInt(C)||0,A=Math.min(p,Math.max(0,N)).toString().padStart(2,"0"),B=Math.min(59,Math.max(0,S)).toString().padStart(2,"0");t(`${A}:${B}`),M(!1)},I=e?typeof e=="string"?e:`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}`:"",j=Q(f,n);return o.jsxs(_9e,{ref:x,$fullWidth:r,title:j,children:[n&&o.jsx(L9e,{id:m?void 0:`${n}-label`,children:n}),o.jsx(I9e,{type:"button",$isOpen:g,$disabled:i,onClick:()=>!i&&M(!g),disabled:i,"aria-label":y,"aria-labelledby":m||(n?`${n}-label`:void 0),"aria-expanded":g,"aria-haspopup":"listbox",children:o.jsxs(b9e,{children:[o.jsx(w9e,{$isPlaceholder:!I,children:I||c}),o.jsx(C9e,{})]})}),g&&o.jsxs(N9e,{$alignment:u,children:[o.jsxs(S9e,{children:[o.jsxs(kj,{children:[o.jsx(mj,{children:h}),o.jsx(fj,{children:o.jsx(gj,{type:"number",min:"0",max:p.toString(),$wide:p>99,value:L,onChange:N=>{const S=N.target.value;if(S===""){w("");return}const A=parseInt(S);!isNaN(A)&&A>=0&&A<=p&&w(S)},autoFocus:!0})})]}),o.jsx(j9e,{children:":"}),o.jsxs(kj,{children:[o.jsx(mj,{children:l}),o.jsx(fj,{children:o.jsx(gj,{type:"number",min:"0",max:"59",value:C,onChange:N=>{const S=N.target.value;if(S===""){b("");return}const A=parseInt(S);!isNaN(A)&&A>=0&&A<=59&&b(S.slice(-2))}})})]})]}),o.jsxs($9e,{children:[o.jsx(vj,{className:"cancel",onClick:()=>M(!1),children:s}),o.jsx(vj,{className:"apply",onClick:_,children:d})]})]})]})},_9e=ae.div`
8366
+ `,v9e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",...e},J.createElement("mask",{id:"a",width:20,height:20,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},J.createElement("path",{fill:"#D9D9D9",d:"M0 0h20v20H0z"})),J.createElement("g",{mask:"url(#a)"},J.createElement("path",{fill:"#1C1B1F",d:"M10.75 10.375V7.748a.73.73 0 0 0-.214-.53.7.7 0 0 0-.531-.218.74.74 0 0 0-.536.214.7.7 0 0 0-.218.53v2.954q0 .149.062.288.063.139.174.25l2.076 2.076q.23.23.531.22a.77.77 0 0 0 .532-.24.73.73 0 0 0 0-1.063zM10 18a6.8 6.8 0 0 1-2.731-.554 7.1 7.1 0 0 1-2.217-1.498 7.1 7.1 0 0 1-1.497-2.216A6.8 6.8 0 0 1 3 11q0-1.458.554-2.732t1.497-2.217A7.1 7.1 0 0 1 7.27 4.554 6.8 6.8 0 0 1 10 4q1.458 0 2.732.554 1.274.555 2.216 1.497a7.1 7.1 0 0 1 1.498 2.217Q17 9.542 17 11t-.555 2.732a7.1 7.1 0 0 1-1.497 2.217 7.1 7.1 0 0 1-2.216 1.497A6.8 6.8 0 0 1 10 18M1.939 6.458a.73.73 0 0 1 0-1.062l2.48-2.48a.73.73 0 0 1 1.062 0 .73.73 0 0 1 0 1.063l-2.5 2.5a.68.68 0 0 1-.521.219.76.76 0 0 1-.52-.24m16.146 0a.73.73 0 0 1-1.062 0l-2.48-2.479a.73.73 0 0 1 0-1.062.73.73 0 0 1 1.063 0l2.479 2.5q.23.228.23.52a.72.72 0 0 1-.23.521M9.996 16.5q2.296 0 3.9-1.6t1.605-3.895-1.6-3.9T10.005 5.5t-3.9 1.6T4.5 10.995t1.6 3.9T9.995 16.5"}))),M9e=k.memo(v9e),x9e=({value:e,onChange:t,label:n,placeholder:c="00:00",disabled:i=!1,fullWidth:r=!0,cancelText:s,applyText:d,hoursLabel:h,minutesLabel:l,dropdownAlignment:u="left",maxHours:p=23,ariaLabel:y,ariaLabelledBy:m,a11yConfig:f})=>{const[g,M]=k.useState(!1),x=k.useRef(null),v=N=>{if(N instanceof Date)return{h:N.getHours().toString().padStart(2,"0"),m:N.getMinutes().toString().padStart(2,"0")};if(typeof N=="string"&&N.includes(":")){const S=N.split(":");return{h:S[0].padStart(2,"0"),m:S[1].padStart(2,"0")}}return{h:"00",m:"00"}},[L,w]=k.useState("00"),[C,b]=k.useState("00");k.useEffect(()=>{const N=v(e);w(N.h),b(N.m)},[e,g]),k.useEffect(()=>{const N=S=>{x.current&&!x.current.contains(S.target)&&M(!1)};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]);const _=()=>{const N=parseInt(L)||0,S=parseInt(C)||0,A=Math.min(p,Math.max(0,N)).toString().padStart(2,"0"),B=Math.min(59,Math.max(0,S)).toString().padStart(2,"0");t(`${A}:${B}`),M(!1)},I=e?typeof e=="string"?e:`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}`:"",j=Q(f,n);return o.jsxs(_9e,{ref:x,$fullWidth:r,title:j,children:[n&&o.jsx(L9e,{id:m?void 0:`${n}-label`,children:n}),o.jsx(I9e,{type:"button",$isOpen:g,$disabled:i,onClick:()=>!i&&M(!g),disabled:i,"aria-label":y,"aria-labelledby":m||(n?`${n}-label`:void 0),"aria-expanded":g,"aria-haspopup":"listbox",children:o.jsxs(b9e,{children:[o.jsx(w9e,{$isPlaceholder:!I,children:I||c}),o.jsx(C9e,{})]})}),g&&o.jsxs(N9e,{$alignment:u,children:[o.jsxs(S9e,{children:[o.jsxs(kj,{children:[o.jsx(mj,{children:h}),o.jsx(fj,{children:o.jsx(gj,{type:"number",min:"0",max:p.toString(),$wide:p>99,value:L,onChange:N=>{const S=N.target.value;if(S===""){w("");return}const A=parseInt(S);!isNaN(A)&&A>=0&&A<=p&&w(S)},autoFocus:!0})})]}),o.jsx(j9e,{children:":"}),o.jsxs(kj,{children:[o.jsx(mj,{children:l}),o.jsx(fj,{children:o.jsx(gj,{type:"number",min:"0",max:"59",value:C,onChange:N=>{const S=N.target.value;if(S===""){b("");return}const A=parseInt(S);!isNaN(A)&&A>=0&&A<=59&&b(S.slice(-2))}})})]})]}),o.jsxs($9e,{children:[o.jsx(vj,{className:"cancel",onClick:()=>M(!1),children:s}),o.jsx(vj,{className:"apply",onClick:_,children:d})]})]})]})},_9e=te.div`
8367
8367
  position: relative;
8368
8368
  display: inline-block;
8369
8369
  max-width: 100%;
8370
8370
  ${({$fullWidth:e})=>e&&"width: 100%; display: block;"}
8371
- `,L9e=ae.label`
8371
+ `,L9e=te.label`
8372
8372
  display: block;
8373
8373
  font-size: 0.875rem;
8374
8374
  font-weight: 500;
8375
8375
  margin-bottom: 0.5rem;
8376
8376
  color: var(--color-text, #212529);
8377
- `,I9e=ae.button`
8377
+ `,I9e=te.button`
8378
8378
  width: 100%;
8379
8379
  display: flex;
8380
8380
  align-items: center;
@@ -8395,18 +8395,18 @@
8395
8395
  &:hover {
8396
8396
  ${({$disabled:e})=>!e&&"border-color: #86b7fe;"}
8397
8397
  }
8398
- `,b9e=ae.div`
8398
+ `,b9e=te.div`
8399
8399
  display: flex;
8400
8400
  align-items: center;
8401
8401
  justify-content: space-between;
8402
8402
  width: 100%;
8403
8403
  gap: 0.5rem;
8404
- `,w9e=ae.span`
8404
+ `,w9e=te.span`
8405
8405
  color: ${({$isPlaceholder:e})=>e?"#adb5bd":"inherit"};
8406
- `,C9e=ae(M9e)`
8406
+ `,C9e=te(M9e)`
8407
8407
  color: #6c757d;
8408
8408
  flex-shrink: 0;
8409
- `,N9e=ae.div`
8409
+ `,N9e=te.div`
8410
8410
  position: absolute;
8411
8411
  top: 100%;
8412
8412
  ${({$alignment:e})=>e==="right"?"right: 0;":"left: 0;"}
@@ -8420,28 +8420,28 @@
8420
8420
  flex-direction: column;
8421
8421
  gap: 1rem;
8422
8422
  min-width: 160px;
8423
- `,S9e=ae.div`
8423
+ `,S9e=te.div`
8424
8424
  display: flex;
8425
8425
  align-items: center;
8426
8426
  justify-content: center;
8427
8427
  gap: 0.5rem;
8428
- `,kj=ae.div`
8428
+ `,kj=te.div`
8429
8429
  display: flex;
8430
8430
  flex-direction: column;
8431
8431
  align-items: center;
8432
8432
  gap: 0.25rem;
8433
- `,mj=ae.span`
8433
+ `,mj=te.span`
8434
8434
  font-size: 0.75rem;
8435
8435
  color: #6c757d;
8436
8436
  font-weight: 500;
8437
- `,fj=ae.div`
8437
+ `,fj=te.div`
8438
8438
  background-color: #f8f9fa;
8439
8439
  border: 1px solid #dee2e6;
8440
8440
  border-radius: 6px;
8441
8441
  padding: 0.25rem 0.5rem;
8442
8442
  display: flex;
8443
8443
  align-items: center;
8444
- `,gj=ae.input`
8444
+ `,gj=te.input`
8445
8445
  width: ${({$wide:e})=>e?"3rem":"2.2rem"};
8446
8446
  border: none;
8447
8447
  background: none;
@@ -8464,16 +8464,16 @@
8464
8464
  -webkit-appearance: none;
8465
8465
  margin: 0;
8466
8466
  }
8467
- `,j9e=ae.span`
8467
+ `,j9e=te.span`
8468
8468
  font-size: 1.25rem;
8469
8469
  font-weight: 600;
8470
8470
  color: #adb5bd;
8471
8471
  margin-top: 1rem;
8472
- `,$9e=ae.div`
8472
+ `,$9e=te.div`
8473
8473
  display: flex;
8474
8474
  gap: 0.5rem;
8475
8475
  margin-top: 0.5rem;
8476
- `,vj=ae.button`
8476
+ `,vj=te.button`
8477
8477
  flex: 1;
8478
8478
  border: none;
8479
8479
  padding: 0.5rem;
@@ -8496,7 +8496,7 @@
8496
8496
  background-color: #00a6d9;
8497
8497
  color: #ffffff;
8498
8498
  }
8499
- `,q9e=({title:e="Liste d'attente",onClose:t,onBack:n,content:c,footer:i,className:r,a11yConfig:s,ariaLabel:d})=>{const h=Q(s,e);return o.jsxs(A9e,{className:r,title:h,role:"region","aria-label":d||e,children:[o.jsxs("div",{className:"header",children:[o.jsxs("div",{className:"header-left",children:[n&&o.jsx("span",{className:"back-btn",onClick:n,role:"button","aria-label":"Retour",tabIndex:0,onKeyDown:l=>l.key==="Enter"&&n(),children:o.jsx(M1,{size:24})}),o.jsx("p",{children:e})]}),t&&o.jsx("span",{className:"close-btn",onClick:t,role:"button","aria-label":"Fermer",tabIndex:0,onKeyDown:l=>l.key==="Enter"&&t(),children:o.jsx(Ke,{size:24})})]}),o.jsx("div",{className:"content",children:c}),i&&o.jsx("div",{className:"footer",children:i})]})},A9e=ae.div`
8499
+ `,q9e=({title:e="Liste d'attente",onClose:t,onBack:n,content:c,footer:i,className:r,a11yConfig:s,ariaLabel:d})=>{const h=Q(s,e);return o.jsxs(A9e,{className:r,title:h,role:"region","aria-label":d||e,children:[o.jsxs("div",{className:"header",children:[o.jsxs("div",{className:"header-left",children:[n&&o.jsx("span",{className:"back-btn",onClick:n,role:"button","aria-label":"Retour",tabIndex:0,onKeyDown:l=>l.key==="Enter"&&n(),children:o.jsx(M1,{size:24})}),o.jsx("p",{children:e})]}),t&&o.jsx("span",{className:"close-btn",onClick:t,role:"button","aria-label":"Fermer",tabIndex:0,onKeyDown:l=>l.key==="Enter"&&t(),children:o.jsx(Ke,{size:24})})]}),o.jsx("div",{className:"content",children:c}),i&&o.jsx("div",{className:"footer",children:i})]})},A9e=te.div`
8500
8500
  width: 100%;
8501
8501
  height: 100%;
8502
8502
  display: flex;
@@ -8545,12 +8545,12 @@
8545
8545
  border-bottom-left-radius: 0.5rem;
8546
8546
  border-bottom-right-radius: 0.5rem;
8547
8547
  }
8548
- `,z9e=({items:e,title:t,backgroundColor:n,textColor:c,columns:i=1,vertical:r=!1,onEdit:s,onClick:d,className:h,a11yConfig:l,ariaLabel:u})=>{const p=Q(l,typeof t=="string"?t:void 0);return o.jsxs(P9e,{$bgColor:n,$textColor:c,$isClickable:!!d,className:h,onClick:d,title:p,role:d?"button":"region","aria-label":u||(typeof t=="string"?t:"Information patient"),tabIndex:d?0:void 0,onKeyDown:y=>d&&y.key==="Enter"&&d(),children:[o.jsxs(T9e,{className:"patient-info-content",children:[t&&o.jsx(V9e,{className:"patient-info-title",children:t}),o.jsx(H9e,{$columns:i,className:"patient-info-grid",children:e.map((y,m)=>o.jsxs(D9e,{$columns:i,$vertical:r,className:"patient-info-item",children:[y.label&&o.jsx(B9e,{$columns:i,$vertical:r,className:"patient-info-label",children:y.label}),o.jsx(R9e,{className:"patient-info-value",children:y.value})]},m))})]}),s&&o.jsx(F9e,{onClick:y=>{y.stopPropagation(),s()},"aria-label":"Modifier les informations",children:o.jsx(e1,{size:20})})]})},V9e=ae.div`
8548
+ `,z9e=({items:e,title:t,backgroundColor:n,textColor:c,columns:i=1,vertical:r=!1,onEdit:s,onClick:d,className:h,a11yConfig:l,ariaLabel:u})=>{const p=Q(l,typeof t=="string"?t:void 0);return o.jsxs(P9e,{$bgColor:n,$textColor:c,$isClickable:!!d,className:h,onClick:d,title:p,role:d?"button":"region","aria-label":u||(typeof t=="string"?t:"Information patient"),tabIndex:d?0:void 0,onKeyDown:y=>d&&y.key==="Enter"&&d(),children:[o.jsxs(T9e,{className:"patient-info-content",children:[t&&o.jsx(V9e,{className:"patient-info-title",children:t}),o.jsx(H9e,{$columns:i,className:"patient-info-grid",children:e.map((y,m)=>o.jsxs(D9e,{$columns:i,$vertical:r,className:"patient-info-item",children:[y.label&&o.jsx(B9e,{$columns:i,$vertical:r,className:"patient-info-label",children:y.label}),o.jsx(R9e,{className:"patient-info-value",children:y.value})]},m))})]}),s&&o.jsx(F9e,{onClick:y=>{y.stopPropagation(),s()},"aria-label":"Modifier les informations",children:o.jsx(e1,{size:20})})]})},V9e=te.div`
8549
8549
  font-size: 1rem;
8550
8550
  font-weight: 600;
8551
8551
  border-bottom: 1px solid #d2d6d8;
8552
8552
  padding-bottom: 0.5rem;
8553
- `,P9e=ae.div`
8553
+ `,P9e=te.div`
8554
8554
  background-color: ${e=>e.$bgColor||"#ffffff"};
8555
8555
  color: ${e=>e.$textColor||"#1c1b1f"};
8556
8556
  border-radius: 0.5rem;
@@ -8560,32 +8560,32 @@
8560
8560
  width: 100%;
8561
8561
  box-sizing: border-box;
8562
8562
  cursor: ${e=>e.$isClickable?"pointer":"default"};
8563
- `,T9e=ae.div`
8563
+ `,T9e=te.div`
8564
8564
  flex: 1;
8565
8565
  display: flex;
8566
8566
  flex-direction: column;
8567
8567
  gap: 0.75rem;
8568
- `,H9e=ae.div`
8568
+ `,H9e=te.div`
8569
8569
  display: grid;
8570
8570
  grid-template-columns: ${e=>e.$columns===2?"repeat(2, 1fr)":"1fr"};
8571
8571
  gap: ${e=>e.$columns===2?"0.5rem 1rem":"0.5rem"};
8572
- `,D9e=ae.div`
8572
+ `,D9e=te.div`
8573
8573
  display: flex;
8574
8574
  flex-direction: ${e=>e.$columns===2||e.$vertical?"column":"row"};
8575
8575
  font-size: 0.625rem;
8576
8576
  line-height: 1.2;
8577
8577
  gap: ${e=>e.$columns===2||e.$vertical?"0.1rem":"0"};
8578
- `,B9e=ae.div`
8578
+ `,B9e=te.div`
8579
8579
  width: ${e=>e.$columns===2||e.$vertical?"auto":"10rem"};
8580
8580
  flex-shrink: 0;
8581
8581
  color: inherit;
8582
8582
  font-weight: 500;
8583
- `,R9e=ae.div`
8583
+ `,R9e=te.div`
8584
8584
  flex: 1;
8585
8585
  font-weight: 600;
8586
8586
  white-space: pre-wrap;
8587
8587
  word-break: break-word;
8588
- `,F9e=ae.button`
8588
+ `,F9e=te.button`
8589
8589
  flex-shrink: 0;
8590
8590
  background: none;
8591
8591
  border: none;
@@ -8602,9 +8602,9 @@
8602
8602
  &:hover {
8603
8603
  opacity: 1;
8604
8604
  }
8605
- `,E9e="_patientCard_959et_1",O9e="_notAllowedCursor_959et_16",U9e="_innerPadding_959et_26",W9e="_noFooterMargin_959et_33",G9e="_topArea_959et_37",K9e="_small_959et_46",Z9e="_header_959et_59",X9e="_headerLeft_959et_66",Y9e="_headerRight_959et_72",J9e="_uf_959et_77",Q9e="_rmBadge_959et_85",eMe="_roomBed_959et_99",tMe="_content_959et_106",aMe="_body_959et_118",nMe="_upperBodyContent_959et_140",oMe="_patientInfo_959et_150",cMe="_iep_959et_155",iMe="_name_959et_160",rMe="_birthName_959et_167",sMe="_firstNames_959et_172",dMe="_dobAge_959et_177",lMe="_duration_959et_182",hMe="_comment_959et_188",uMe="_timeline_959et_195",pMe="_destination_959et_199",yMe="_arrow_959et_211",kMe="_progressBar_959et_220",mMe="_progressFill_959et_230",fMe="_progressDate_959et_240",gMe="_footer_959et_251",vMe="_actionsLeft_959et_260",MMe="_actionsRight_959et_261",xMe="_iconWrap_959et_267",_Me="_centerLabelHuge_959et_286",LMe="_labelYellow_959et_293",IMe="_expectedBottom_959et_312",bMe="_expectedPrefix_959et_320",wMe="_expectedDate_959et_326",CMe="_notesView_959et_347",NMe="_notesHeader_959et_355",SMe="_notesTitle_959et_361",jMe="_notesList_959et_367",$Me="_noteItem_959et_373",qMe="_reservationView_959et_378",AMe="_reservationName_959et_384",zMe="_reservationNote_959et_390",VMe="_bottomArea_959et_395",PMe="_bottomLeftSymbol_959et_403",W={patientCard:E9e,notAllowedCursor:O9e,innerPadding:U9e,noFooterMargin:W9e,topArea:G9e,small:K9e,header:Z9e,headerLeft:X9e,headerRight:Y9e,uf:J9e,rmBadge:Q9e,roomBed:eMe,content:tMe,body:aMe,upperBodyContent:nMe,patientInfo:oMe,iep:cMe,name:iMe,birthName:rMe,firstNames:sMe,dobAge:dMe,duration:lMe,comment:hMe,timeline:uMe,destination:pMe,arrow:yMe,progressBar:kMe,progressFill:mMe,progressDate:fMe,footer:gMe,actionsLeft:vMe,actionsRight:MMe,iconWrap:xMe,centerLabelHuge:_Me,labelYellow:LMe,expectedBottom:IMe,expectedPrefix:bMe,expectedDate:wMe,notesView:CMe,notesHeader:NMe,notesTitle:SMe,notesList:jMe,noteItem:$Me,reservationView:qMe,reservationName:AMe,reservationNote:zMe,bottomArea:VMe,bottomLeftSymbol:PMe},TMe=({size:e="large",className:t="",customStyle:n,topAreaStyle:c,headerLeft:i,headerRight:r,centerHugeLabel:s,iep:d,nameLine:h,birthName:l,birthNamePrefix:u,firstNamesLine:p,dobAgeLine:y,stayDuration:m,comment:f,expectedDate:g,expectedDatePrefix:M,showTimeline:x=!1,destination:v,progress:L=0,progressTrackColor:w,progressFillColor:C,progressLabel:b,showFooter:_=!1,leftIcons:I=[],rightIcons:j=[],activeView:N="default",notesHeaderTitle:S,notesHeaderIcon:A,notesList:B=[],reservationName:H,reservationNote:V,isYellowLabel:q=!1,bottomLeftSymbol:$,cursorNotAllowed:P=!1,rmBadge:T})=>{const D=e==="small",F=`
8606
- ${W.patientCard}
8607
- ${D?W.small:""}
8608
- ${P?W.notAllowedCursor:""}
8605
+ `,E9e="_patientCard_19tlr_1",O9e="_notAllowedCursor_19tlr_16",U9e="_innerPadding_19tlr_26",W9e="_noFooterMargin_19tlr_33",G9e="_topArea_19tlr_37",K9e="_small_19tlr_46",Z9e="_header_19tlr_59",X9e="_headerLeft_19tlr_66",Y9e="_headerRight_19tlr_72",J9e="_uf_19tlr_77",Q9e="_rmBadge_19tlr_85",eMe="_roomBed_19tlr_99",tMe="_content_19tlr_106",aMe="_body_19tlr_118",nMe="_upperBodyContent_19tlr_140",oMe="_patientInfo_19tlr_150",cMe="_iep_19tlr_155",iMe="_name_19tlr_160",rMe="_birthName_19tlr_167",sMe="_firstNames_19tlr_172",dMe="_dobAge_19tlr_177",lMe="_duration_19tlr_182",hMe="_comment_19tlr_188",uMe="_timeline_19tlr_195",pMe="_destination_19tlr_199",yMe="_arrow_19tlr_211",kMe="_progressBar_19tlr_220",mMe="_progressFill_19tlr_230",fMe="_progressDate_19tlr_240",gMe="_footer_19tlr_251",vMe="_actionsLeft_19tlr_260",MMe="_actionsRight_19tlr_261",xMe="_iconWrap_19tlr_267",_Me="_centerLabelHuge_19tlr_286",LMe="_labelYellow_19tlr_293",IMe="_expectedBottom_19tlr_312",bMe="_expectedPrefix_19tlr_320",wMe="_expectedDate_19tlr_326",CMe="_notesView_19tlr_347",NMe="_notesHeader_19tlr_355",SMe="_notesTitle_19tlr_361",jMe="_notesList_19tlr_367",$Me="_noteItem_19tlr_373",qMe="_reservationView_19tlr_378",AMe="_reservationNote_19tlr_390",zMe="_bottomArea_19tlr_395",VMe="_bottomLeftSymbol_19tlr_403",E={patientCard:E9e,notAllowedCursor:O9e,innerPadding:U9e,noFooterMargin:W9e,topArea:G9e,small:K9e,header:Z9e,headerLeft:X9e,headerRight:Y9e,uf:J9e,rmBadge:Q9e,roomBed:eMe,content:tMe,body:aMe,upperBodyContent:nMe,patientInfo:oMe,iep:cMe,name:iMe,birthName:rMe,firstNames:sMe,dobAge:dMe,duration:lMe,comment:hMe,timeline:uMe,destination:pMe,arrow:yMe,progressBar:kMe,progressFill:mMe,progressDate:fMe,footer:gMe,actionsLeft:vMe,actionsRight:MMe,iconWrap:xMe,centerLabelHuge:_Me,labelYellow:LMe,expectedBottom:IMe,expectedPrefix:bMe,expectedDate:wMe,notesView:CMe,notesHeader:NMe,notesTitle:SMe,notesList:jMe,noteItem:$Me,reservationView:qMe,reservationNote:AMe,bottomArea:zMe,bottomLeftSymbol:VMe},PMe=({size:e="large",className:t="",customStyle:n,topAreaStyle:c,headerLeft:i,headerRight:r,centerHugeLabel:s,iep:d,nameLine:h,birthName:l,birthNamePrefix:u,firstNamesLine:p,dobAgeLine:y,stayDuration:m,comment:f,expectedDate:g,expectedDatePrefix:M,showTimeline:x=!1,destination:v,progress:L=0,progressTrackColor:w,progressFillColor:C,progressLabel:b,showFooter:_=!1,leftIcons:I=[],rightIcons:j=[],activeView:N="default",notesHeaderTitle:S,notesHeaderIcon:A,notesList:B=[],reservationNote:T,isYellowLabel:V=!1,bottomLeftSymbol:$,cursorNotAllowed:q=!1,rmBadge:P})=>{const H=e==="small",D=`
8606
+ ${E.patientCard}
8607
+ ${H?E.small:""}
8608
+ ${q?E.notAllowedCursor:""}
8609
8609
  ${t}
8610
- `.trim();return o.jsx("div",{className:F,style:n,children:o.jsxs("div",{className:W.innerPadding,children:[o.jsxs("div",{className:`${W.topArea} ${_?"":W.noFooterMargin}`,style:c,children:[o.jsxs("div",{className:W.header,children:[o.jsxs("div",{className:W.headerLeft,children:[i&&o.jsx("div",{className:W.uf,children:i}),T&&o.jsx("div",{className:W.rmBadge,children:T})]}),o.jsx("div",{className:W.headerRight,children:r&&o.jsx("span",{className:W.roomBed,children:r})})]}),o.jsxs("div",{className:W.content,children:[o.jsxs("div",{className:W.body,children:[N==="default"&&o.jsxs(o.Fragment,{children:[s&&o.jsx("div",{className:`${W.centerLabelHuge} ${q?W.labelYellow:""}`,children:s}),o.jsxs("div",{className:W.upperBodyContent,children:[o.jsxs("div",{className:W.patientInfo,children:[d&&o.jsx("div",{className:W.iep,children:d}),h&&o.jsx("div",{className:W.name,children:h}),l&&o.jsxs("div",{className:W.birthName,children:["(",u?`${u} ${l}`:l,")"]}),p&&o.jsx("div",{className:W.firstNames,children:p}),y&&o.jsx("div",{className:W.dobAge,children:y})]}),m&&o.jsx("div",{className:W.duration,children:m}),f&&o.jsx("div",{className:W.comment,children:f})]}),g&&o.jsxs("div",{className:W.expectedBottom,children:[M&&o.jsx("div",{className:W.expectedPrefix,children:M}),o.jsx("div",{className:W.expectedDate,children:g})]})]}),N==="notes"&&o.jsxs("div",{className:W.notesView,children:[o.jsxs("div",{className:W.notesHeader,children:[A,o.jsx("span",{className:W.notesTitle,children:S})]}),o.jsx("div",{className:W.notesList,children:B.map((G,te)=>o.jsx("div",{className:W.noteItem,children:G},te))})]}),N==="reservation"&&o.jsxs("div",{className:W.reservationView,children:[o.jsx("div",{className:W.reservationName,children:H}),V&&o.jsx("div",{className:W.reservationNote,children:V})]})]}),($||x)&&o.jsxs("div",{className:W.bottomArea,children:[$&&o.jsx("div",{className:W.bottomLeftSymbol,children:$}),x&&o.jsxs("div",{className:W.timeline,children:[v&&N!=="reservation"&&o.jsxs("div",{className:W.destination,children:[o.jsx("span",{className:W.arrow,children:"→"}),o.jsx("span",{children:v.prefix}),o.jsx("strong",{children:v.name}),o.jsx("span",{children:v.suffix})]}),o.jsxs("div",{className:W.progressBar,style:w?{backgroundColor:w}:void 0,children:[o.jsx("div",{className:W.progressFill,style:{width:`${L}%`,backgroundColor:C}}),b&&o.jsx("span",{className:W.progressDate,children:b})]})]})]})]})]}),_&&o.jsxs("div",{className:W.footer,children:[o.jsx("div",{className:W.actionsLeft,children:I.map((G,te)=>o.jsx("div",{className:W.iconWrap,children:G},`left-${te}`))}),o.jsx("div",{className:W.actionsRight,children:j.map((G,te)=>o.jsx("div",{className:W.iconWrap,children:G},`right-${te}`))})]})]})})},HMe=({title:e,titleBold:t,titleKey:n,items:c,className:i="",width:r,style:s,labelStyle:d,valueStyle:h,headerStyle:l,a11yConfig:u,onItemClick:p,onDeleteItem:y})=>{const m={width:r||"100%",...s};return o.jsxs("div",{className:`data-list-v2-container ${i}`,style:m,children:[(e||t)&&o.jsx("div",{className:"data-list-v2-header",style:l,children:o.jsxs("h2",{className:"header-title",title:Q(u,n),children:[e&&o.jsx("span",{className:"title-regular",children:e}),t&&o.jsx("span",{className:"title-bold",children:t})]})}),o.jsx("div",{className:"data-list-v2-content",children:c.map(f=>o.jsxs("div",{className:`data-list-v2-item ${p?"interactive":""} ${f.showValueLine?"with-value-line":""}`,onClick:()=>p?.(f),children:[o.jsx("div",{className:"item-label-col",style:d,children:o.jsx("div",{className:"item-label",title:Q(f.a11yConfig,f.labelKey),children:f.label})}),o.jsxs("div",{className:"item-value-col",style:h,children:[o.jsx("div",{className:"item-value",title:Q(f.a11yConfig,f.valueKey),children:f.value}),y&&o.jsx("div",{className:"item-delete-action",onClick:g=>{g.stopPropagation(),y(f)},children:o.jsx(dt,{size:16})})]})]},f.id))})]})},DMe=({id:e,data:t,children:n,className:c,onDragStart:i,onDragEnd:r})=>{const s=h=>{h.dataTransfer.setData("text/plain",e),t&&h.dataTransfer.setData("application/json",JSON.stringify(t)),h.dataTransfer.effectAllowed="move",i&&i(h,t)},d=h=>{r&&r(h)};return o.jsx("div",{draggable:!0,onDragStart:s,onDragEnd:d,style:{cursor:"grab"},className:c,children:n})},BMe=({id:e,onDrop:t,children:n,className:c="",activeClassName:i="is-drag-over"})=>{const[r,s]=k.useState(!1),d=k.useRef(0),h=m=>{m.preventDefault(),d.current+=1,d.current>0&&s(!0)},l=m=>{m.preventDefault(),m.dataTransfer.dropEffect="move"},u=m=>{m.preventDefault(),d.current-=1,d.current===0&&s(!1)},p=m=>{m.preventDefault(),s(!1),d.current=0;const f=m.dataTransfer.getData("text/plain");let g;try{const M=m.dataTransfer.getData("application/json");M&&(g=JSON.parse(M))}catch(M){console.error("Failed to parse drag data",M)}f&&t(f,g)},y=`${c} ${r?i:""}`.trim();return o.jsx("div",{onDragEnter:h,onDragOver:l,onDragLeave:u,onDrop:p,className:y,"data-droppable-id":e,children:n})};exports.LineChart=a.LineChart;exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=J7e;exports.AddItemModal=Vc;exports.Alert=Zw;exports.AlertsProvider=Fke;exports.BadgeList=Mj;exports.BadgeRenderer=Eq;exports.Button=tL;exports.ChartContainer=Bke;exports.CheckboxInput=xq;exports.CircularProgress=Pb;exports.ColorInput=wq;exports.ComponentVisibilityManager=Db;exports.ComponentVisibilityToggle=c6e;exports.ConfirmationModal=W7e;exports.ConfirmationPopup=W3e;exports.CounterListBox=j3e;exports.CurrencyRenderer=Wq;exports.DashboardSummary=Tme;exports.DataBoard=St;exports.DataFourBoards=Qq;exports.DataListV2=HMe;exports.DateInput=Iq;exports.DatePicker=dw;exports.DateRenderer=Oq;exports.DayStatCard=l2e;exports.DayStatCardV2=t8e;exports.DonutChartRatio=Uve;exports.Draggable=DMe;exports.DraggableProvider=y2e;exports.DraggableSwitcherButton=aL;exports.Droppable=BMe;exports.DynamicForm=o4e;exports.DynamicIcon=i4e;exports.DynamicInput=Cq;exports.EmailRenderer=Rq;exports.Encours=Xme;exports.EntryControl=N3e;exports.FileInput=Lq;exports.FilterBar=lge;exports.FiltreEtiquette=Cve;exports.FlexRowContainer=q3e;exports.Grid=Lj;exports.Header=M2e;exports.HorizontalBarChart=n8e;exports.IconText=zj;exports.ImageRenderer=Gq;exports.IndicatorItemV2=Zge;exports.InfoBanner=h7e;exports.InputWrapper=vL;exports.LegendFilterProvider=m2e;exports.LegendFilterSwitcherButton=nL;exports.LinkRenderer=Fq;exports.ListContentContainer=A3e;exports.Logo=uL;exports.MetricsPanel=Xq;exports.MobileMenuHeader=a9e;exports.MobileNavMenu=aA;exports.MobileTopBar=Jve;exports.ModuleHeader=h3e;exports.ModuleSideBar=u3e;exports.ModuleSideBarV2=T7e;exports.NavBar=Ij;exports.NavBarV2=x8e;exports.NavItem=Tb;exports.NavItemV2=Xw;exports.NavProvider=h2e;exports.NumberRenderer=Uq;exports.PatientCard=TMe;exports.PatientDetailsPanel=q9e;exports.PatientInfoCard=z9e;exports.PeriodSelect=Kke;exports.PopUp=q7e;exports.RadioInput=_q;exports.RangeInput=bq;exports.ScrollableHorizontale=Vj;exports.SearchBar=Jq;exports.Select=oA;exports.SelectFilter=Sme;exports.SelectInput=Uw;exports.SettingNavBar=P7e;exports.ShowDataProvider=f2e;exports.ShowDataSwitcherButton=oL;exports.SideComponent=Xke;exports.SimpleListBox=S3e;exports.Slider=k9e;exports.SubHeaderContent=W8e;exports.SubHeaderNavItem=tA;exports.SubHeaderTitle=C8e;exports.SubNavBar=x2e;exports.SummaryAvailable=jve;exports.SummaryCard=Zq;exports.Switcher=E1;exports.TableLayout=nA;exports.TableauDynamique=Kq;exports.TableauDynamiqueSafePagination=W5e;exports.TableauxComponent=nA;exports.TextInput=vq;exports.TextRenderer=Bq;exports.TextareaInput=Mq;exports.ThemeProvider=u2e;exports.ThemeSwitcher=G8e;exports.ThemeSwitcherButton=Hb;exports.TimePicker=x9e;exports.Title=e3e;exports.TranslationKey=p3e;exports.TranslationKeyV2=H7e;exports.TrendItem=Pj;exports.TrendList=mue;exports.TrendListBox=$3e;exports.UnitGrid=n9e;exports.UserInfo=eA;exports.alertModels=Oke;exports.getA11yTooltip=Q;exports.getFormSchema=c4e;exports.hexToRgba=$t;exports.registerRenderer=P5e;exports.tableConfig=sw;exports.useAlerts=Eke;exports.useBodyScrollLock=Yke;exports.useConfirmationPopup=G3e;exports.useDraggableSwitcher=Nj;exports.useFilters=Hq;exports.useLegendFilterSwitcher=jj;exports.useNavigation=ht;exports.useShowDataSwitcher=qj;exports.useTableData=Dq;exports.useThemeContext=wj;exports.useThemeSwitcher=pL;exports.validateField=hL;exports.validateForm=gq;
8610
+ `.trim();return o.jsx("div",{className:D,style:n,children:o.jsxs("div",{className:E.innerPadding,children:[o.jsxs("div",{className:`${E.topArea} ${_?"":E.noFooterMargin}`,style:c,children:[o.jsxs("div",{className:E.header,children:[o.jsxs("div",{className:E.headerLeft,children:[i&&o.jsx("div",{className:E.uf,children:i}),P&&o.jsx("div",{className:E.rmBadge,children:P})]}),o.jsx("div",{className:E.headerRight,children:r&&o.jsx("span",{className:E.roomBed,children:r})})]}),o.jsxs("div",{className:E.content,children:[o.jsxs("div",{className:E.body,children:[N==="default"&&o.jsxs(o.Fragment,{children:[s&&o.jsx("div",{className:`${E.centerLabelHuge} ${V?E.labelYellow:""}`,children:s}),o.jsxs("div",{className:E.upperBodyContent,children:[o.jsxs("div",{className:E.patientInfo,children:[d&&o.jsx("div",{className:E.iep,children:d}),h&&o.jsx("div",{className:E.name,children:h}),l&&o.jsxs("div",{className:E.birthName,children:["(",u?`${u} ${l}`:l,")"]}),p&&o.jsx("div",{className:E.firstNames,children:p}),y&&o.jsx("div",{className:E.dobAge,children:y})]}),m&&o.jsx("div",{className:E.duration,children:m}),f&&o.jsx("div",{className:E.comment,children:f})]}),g&&o.jsxs("div",{className:E.expectedBottom,children:[M&&o.jsx("div",{className:E.expectedPrefix,children:M}),o.jsx("div",{className:E.expectedDate,children:g})]})]}),N==="notes"&&o.jsxs("div",{className:E.notesView,children:[o.jsxs("div",{className:E.notesHeader,children:[A,o.jsx("span",{className:E.notesTitle,children:S})]}),o.jsx("div",{className:E.notesList,children:B.map((F,G)=>o.jsx("div",{className:E.noteItem,children:F},G))})]}),N==="reservation"&&o.jsxs("div",{className:E.reservationView,children:[o.jsx("div",{className:E.upperBodyContent,children:o.jsxs("div",{className:E.patientInfo,children:[d&&o.jsx("div",{className:E.iep,children:d}),h&&o.jsx("div",{className:E.name,children:h}),l&&o.jsxs("div",{className:E.birthName,children:["(",u?`${u} ${l}`:l,")"]}),p&&o.jsx("div",{className:E.firstNames,children:p}),y&&o.jsx("div",{className:E.dobAge,children:y})]})}),T&&o.jsx("div",{className:E.reservationNote,children:T})]})]}),($||x)&&o.jsxs("div",{className:E.bottomArea,children:[$&&o.jsx("div",{className:E.bottomLeftSymbol,children:$}),x&&o.jsxs("div",{className:E.timeline,children:[v&&N!=="reservation"&&o.jsxs("div",{className:E.destination,children:[o.jsx("span",{className:E.arrow,children:"→"}),o.jsx("span",{children:v.prefix}),o.jsx("strong",{children:v.name}),o.jsx("span",{children:v.suffix})]}),o.jsxs("div",{className:E.progressBar,style:w?{backgroundColor:w}:void 0,children:[o.jsx("div",{className:E.progressFill,style:{width:`${L}%`,backgroundColor:C}}),b&&o.jsx("span",{className:E.progressDate,children:b})]})]})]})]})]}),_&&o.jsxs("div",{className:E.footer,children:[o.jsx("div",{className:E.actionsLeft,children:I.map((F,G)=>o.jsx("div",{className:E.iconWrap,children:F},`left-${G}`))}),o.jsx("div",{className:E.actionsRight,children:j.map((F,G)=>o.jsx("div",{className:E.iconWrap,children:F},`right-${G}`))})]})]})})},TMe=({title:e,titleBold:t,titleKey:n,items:c,className:i="",width:r,style:s,labelStyle:d,valueStyle:h,headerStyle:l,a11yConfig:u,onItemClick:p,onDeleteItem:y})=>{const m={width:r||"100%",...s};return o.jsxs("div",{className:`data-list-v2-container ${i}`,style:m,children:[(e||t)&&o.jsx("div",{className:"data-list-v2-header",style:l,children:o.jsxs("h2",{className:"header-title",title:Q(u,n),children:[e&&o.jsx("span",{className:"title-regular",children:e}),t&&o.jsx("span",{className:"title-bold",children:t})]})}),o.jsx("div",{className:"data-list-v2-content",children:c.map(f=>o.jsxs("div",{className:`data-list-v2-item ${p?"interactive":""} ${f.showValueLine?"with-value-line":""}`,onClick:()=>p?.(f),children:[o.jsx("div",{className:"item-label-col",style:d,children:o.jsx("div",{className:"item-label",title:Q(f.a11yConfig,f.labelKey),children:f.label})}),o.jsxs("div",{className:"item-value-col",style:h,children:[o.jsx("div",{className:"item-value",title:Q(f.a11yConfig,f.valueKey),children:f.value}),y&&o.jsx("div",{className:"item-delete-action",onClick:g=>{g.stopPropagation(),y(f)},children:o.jsx(dt,{size:16})})]})]},f.id))})]})},HMe=({id:e,data:t,children:n,className:c,onDragStart:i,onDragEnd:r})=>{const s=h=>{h.dataTransfer.setData("text/plain",e),t&&h.dataTransfer.setData("application/json",JSON.stringify(t)),h.dataTransfer.effectAllowed="move",i&&i(h,t)},d=h=>{r&&r(h)};return o.jsx("div",{draggable:!0,onDragStart:s,onDragEnd:d,style:{cursor:"grab"},className:c,children:n})},DMe=({id:e,onDrop:t,children:n,className:c="",activeClassName:i="is-drag-over"})=>{const[r,s]=k.useState(!1),d=k.useRef(0),h=m=>{m.preventDefault(),d.current+=1,d.current>0&&s(!0)},l=m=>{m.preventDefault(),m.dataTransfer.dropEffect="move"},u=m=>{m.preventDefault(),d.current-=1,d.current===0&&s(!1)},p=m=>{m.preventDefault(),s(!1),d.current=0;const f=m.dataTransfer.getData("text/plain");let g;try{const M=m.dataTransfer.getData("application/json");M&&(g=JSON.parse(M))}catch(M){console.error("Failed to parse drag data",M)}f&&t(f,g)},y=`${c} ${r?i:""}`.trim();return o.jsx("div",{onDragEnter:h,onDragOver:l,onDragLeave:u,onDrop:p,className:y,"data-droppable-id":e,children:n})};exports.LineChart=a.LineChart;exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=J7e;exports.AddItemModal=Vc;exports.Alert=Zw;exports.AlertsProvider=Fke;exports.BadgeList=Mj;exports.BadgeRenderer=Eq;exports.Button=tL;exports.ChartContainer=Bke;exports.CheckboxInput=xq;exports.CircularProgress=Pb;exports.ColorInput=wq;exports.ComponentVisibilityManager=Db;exports.ComponentVisibilityToggle=c6e;exports.ConfirmationModal=W7e;exports.ConfirmationPopup=W3e;exports.CounterListBox=j3e;exports.CurrencyRenderer=Wq;exports.DashboardSummary=Tme;exports.DataBoard=St;exports.DataFourBoards=Qq;exports.DataListV2=TMe;exports.DateInput=Iq;exports.DatePicker=dw;exports.DateRenderer=Oq;exports.DayStatCard=l2e;exports.DayStatCardV2=t8e;exports.DonutChartRatio=Uve;exports.Draggable=HMe;exports.DraggableProvider=y2e;exports.DraggableSwitcherButton=aL;exports.Droppable=DMe;exports.DynamicForm=o4e;exports.DynamicIcon=i4e;exports.DynamicInput=Cq;exports.EmailRenderer=Rq;exports.Encours=Xme;exports.EntryControl=N3e;exports.FileInput=Lq;exports.FilterBar=lge;exports.FiltreEtiquette=Cve;exports.FlexRowContainer=q3e;exports.Grid=Lj;exports.Header=M2e;exports.HorizontalBarChart=n8e;exports.IconText=zj;exports.ImageRenderer=Gq;exports.IndicatorItemV2=Zge;exports.InfoBanner=h7e;exports.InputWrapper=vL;exports.LegendFilterProvider=m2e;exports.LegendFilterSwitcherButton=nL;exports.LinkRenderer=Fq;exports.ListContentContainer=A3e;exports.Logo=uL;exports.MetricsPanel=Xq;exports.MobileMenuHeader=a9e;exports.MobileNavMenu=aA;exports.MobileTopBar=Jve;exports.ModuleHeader=h3e;exports.ModuleSideBar=u3e;exports.ModuleSideBarV2=T7e;exports.NavBar=Ij;exports.NavBarV2=x8e;exports.NavItem=Tb;exports.NavItemV2=Xw;exports.NavProvider=h2e;exports.NumberRenderer=Uq;exports.PatientCard=PMe;exports.PatientDetailsPanel=q9e;exports.PatientInfoCard=z9e;exports.PeriodSelect=Kke;exports.PopUp=q7e;exports.RadioInput=_q;exports.RangeInput=bq;exports.ScrollableHorizontale=Vj;exports.SearchBar=Jq;exports.Select=oA;exports.SelectFilter=Sme;exports.SelectInput=Uw;exports.SettingNavBar=P7e;exports.ShowDataProvider=f2e;exports.ShowDataSwitcherButton=oL;exports.SideComponent=Xke;exports.SimpleListBox=S3e;exports.Slider=k9e;exports.SubHeaderContent=W8e;exports.SubHeaderNavItem=tA;exports.SubHeaderTitle=C8e;exports.SubNavBar=x2e;exports.SummaryAvailable=jve;exports.SummaryCard=Zq;exports.Switcher=E1;exports.TableLayout=nA;exports.TableauDynamique=Kq;exports.TableauDynamiqueSafePagination=W5e;exports.TableauxComponent=nA;exports.TextInput=vq;exports.TextRenderer=Bq;exports.TextareaInput=Mq;exports.ThemeProvider=u2e;exports.ThemeSwitcher=G8e;exports.ThemeSwitcherButton=Hb;exports.TimePicker=x9e;exports.Title=e3e;exports.TranslationKey=p3e;exports.TranslationKeyV2=H7e;exports.TrendItem=Pj;exports.TrendList=mue;exports.TrendListBox=$3e;exports.UnitGrid=n9e;exports.UserInfo=eA;exports.alertModels=Oke;exports.getA11yTooltip=Q;exports.getFormSchema=c4e;exports.hexToRgba=$t;exports.registerRenderer=P5e;exports.tableConfig=sw;exports.useAlerts=Eke;exports.useBodyScrollLock=Yke;exports.useConfirmationPopup=G3e;exports.useDraggableSwitcher=Nj;exports.useFilters=Hq;exports.useLegendFilterSwitcher=jj;exports.useNavigation=ht;exports.useShowDataSwitcher=qj;exports.useTableData=Dq;exports.useThemeContext=wj;exports.useThemeSwitcher=pL;exports.validateField=hL;exports.validateForm=gq;