@tsiky/components-r19 8.2.3 → 8.2.4

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-fj7XLRyj.cjs"),F=require("styled-components"),Iw=require("react-dom");function Pz(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 te=Pz(k),Tz="_button_1kuwt_2",Hz="_primary_1kuwt_21",Dz="_secondary_1kuwt_26",Bz="_accent_1kuwt_31",Rz="_outline_1kuwt_36",Fz="_success_1kuwt_41",Ez="_danger_1kuwt_46",Oz="_warning_1kuwt_51",Uz="_info_1kuwt_56",Wz="_sm_1kuwt_62",Gz="_md_1kuwt_67",Kz="_lg_1kuwt_72",Ze={button:Tz,primary:Hz,secondary:Dz,accent:Bz,outline:Rz,success:Fz,danger:Ez,warning:Oz,info:Uz,sm:Wz,md:Gz,lg:Kz};function Y(e,t,n,c){if(!e||!e.mode||e.mode==="none")return;const{mode:i,moduleName:r,key:s,description:d,titleKey:l,textLabel:h="Texte",guideLabel:u="Guide"}=e,p=n||s,y=c||d,f=t||l,g=(m,x)=>{const M=x?x.trim():"";return M?M.includes(":")?`${m} : ${M.replace(/\s*:\s*/g," : ")}`:r?`${m} : ${r} : ${M}`:`${m} : ${M}`:`${m} : `};if(i==="key"){const m=[f?.trim()?g(h||"Texte",f):null,p?.trim()?g(u||"Guide",p):null].filter(Boolean);return m.length>0?m.join(" | "):void 0}if(i==="guide")return y||void 0}const yL=({children:e,variant:t="primary",size:n="md",className:c="",type:i="button",a11yConfig:r,...s})=>{const d={primary:Ze.primary,secondary:Ze.secondary,accent:Ze.accent,outline:Ze.outline,success:Ze.success,danger:Ze.danger,warning:Ze.warning,info:Ze.info},l={sm:Ze.sm,md:Ze.md,lg:Ze.lg},h=[Ze.button,d[t]??"",l[n]??"",c].filter(Boolean).join(" ");return o.jsx("button",{type:i,className:h,...s,title:s.title||Y(r,typeof e=="string"?e:void 0),children:e})},Zb=({progress:e,size:t,strokeWidth:n,color:c="#FFD700",bgColor:i="#eef2f6",textColor:r,textTop:s,textBottom:d,label:l,labelColor:h,textTopStyle:u,textBottomStyle:p,className:y=""})=>{t||(t=150);const f=n||t*.1;t+=f;const g=Math.min(5,Math.max(0,Math.floor(e))),m=t/2,x=(t-f)/2,M=2*Math.PI*x,I=M/5*(1-.1),b=M-I;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:m,cy:m,r:x-f/2,fill:i,stroke:"none",style:{filter:"drop-shadow(0px 0px 1px rgba(0,0,0,0.4))"}}),Array.from({length:5}).map((w,C)=>{const _=-90+C*72;return C>=g?null:o.jsx("circle",{cx:m,cy:m,r:x,fill:"transparent",stroke:c,strokeWidth:f,strokeLinecap:"butt",strokeDasharray:`${I} ${b}`,strokeDashoffset:0,transform:`rotate(${_} ${m} ${m})`,style:{transition:"stroke 0.3s ease"}},C)})]}),(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})]})]}),l&&o.jsx("div",{className:"circular-progress-label",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-medium)",color:h||r||"inherit"},children:l})]})},Zz="_wrapper_12x8x_1",Xz="_list_12x8x_12",Yz="_item_12x8x_22",Jz="_badge_12x8x_30",Qz="_text_12x8x_42",eV="_tooltip_12x8x_49",dt={wrapper:Zz,list:Xz,item:Yz,badge:Jz,text:Qz,tooltip:eV};function Qj({data:e,style:t,defaultBadgeColor:n="#2E7D32",defaultTextColor:c="#000",bgColor:i="transparent",activateTooltip:r=!0,maxVisible:s=3,width:d="auto",gap:l=0}){const[h,u]=k.useState(!1),[p,y]=k.useState(null),f=k.useRef(null);k.useEffect(()=>{function M(v){v.key==="Escape"&&u(!1)}return h&&document.addEventListener("keydown",M),()=>document.removeEventListener("keydown",M)},[h]),k.useEffect(()=>{function M(v){f.current&&!f.current.contains(v.target)&&u(!1)}return h&&document.addEventListener("mousedown",M),()=>document.removeEventListener("mousedown",M)},[h]);function g(M){r&&(M.preventDefault(),y({x:M.clientX,y:M.clientY}),u(!0))}const m=e.slice(0,s),x=M=>typeof M=="number"?`${M}px`:M;return o.jsxs("div",{className:dt.wrapper,style:{width:x(d),background:i,...t,"--gap":x(l)},onContextMenu:g,"aria-label":"liste-badges",children:[o.jsx("ul",{className:dt.list,children:m.map((M,v)=>o.jsxs("li",{className:dt.item,children:[o.jsx("span",{className:dt.badge,style:{backgroundColor:M.badgeColor??n},"aria-hidden":!0}),o.jsx("span",{className:dt.text,style:{color:M.textColor??c},children:M.text})]},v))}),r&&h&&p&&o.jsx("div",{className:dt.tooltip,style:{left:p.x+8,top:p.y+8,backgroundColor:i,"--gap":x(l)},role:"dialog","aria-modal":"false",ref:f,children:o.jsx("ul",{className:dt.list,children:e.map((M,v)=>o.jsxs("li",{className:dt.item,children:[o.jsx("span",{className:dt.badge,style:{backgroundColor:M.badgeColor??n}}),o.jsx("span",{className:dt.text,style:{color:M.textColor??"#000"},children:M.text})]},v))})})]})}/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),k=require("react"),a=require("./LineChart-fj7XLRyj.cjs"),F=require("styled-components"),Iw=require("react-dom");function Pz(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 Z=Pz(k),Tz="_button_1kuwt_2",Hz="_primary_1kuwt_21",Dz="_secondary_1kuwt_26",Bz="_accent_1kuwt_31",Rz="_outline_1kuwt_36",Fz="_success_1kuwt_41",Ez="_danger_1kuwt_46",Oz="_warning_1kuwt_51",Uz="_info_1kuwt_56",Wz="_sm_1kuwt_62",Gz="_md_1kuwt_67",Kz="_lg_1kuwt_72",Ze={button:Tz,primary:Hz,secondary:Dz,accent:Bz,outline:Rz,success:Fz,danger:Ez,warning:Oz,info:Uz,sm:Wz,md:Gz,lg:Kz};function J(e,t,n,c){if(!e||!e.mode||e.mode==="none")return;const{mode:i,moduleName:r,key:s,description:d,titleKey:l,textLabel:h="Texte",guideLabel:u="Guide"}=e,p=n||s,y=c||d,f=t||l,g=(m,x)=>{const M=x?x.trim():"";return M?M.includes(":")?`${m} : ${M.replace(/\s*:\s*/g," : ")}`:r?`${m} : ${r} : ${M}`:`${m} : ${M}`:`${m} : `};if(i==="key"){const m=[f?.trim()?g(h||"Texte",f):null,p?.trim()?g(u||"Guide",p):null].filter(Boolean);return m.length>0?m.join(" | "):void 0}if(i==="guide")return y||void 0}const yL=({children:e,variant:t="primary",size:n="md",className:c="",type:i="button",a11yConfig:r,...s})=>{const d={primary:Ze.primary,secondary:Ze.secondary,accent:Ze.accent,outline:Ze.outline,success:Ze.success,danger:Ze.danger,warning:Ze.warning,info:Ze.info},l={sm:Ze.sm,md:Ze.md,lg:Ze.lg},h=[Ze.button,d[t]??"",l[n]??"",c].filter(Boolean).join(" ");return o.jsx("button",{type:i,className:h,...s,title:s.title||J(r,typeof e=="string"?e:void 0),children:e})},Zb=({progress:e,size:t,strokeWidth:n,color:c="#FFD700",bgColor:i="#eef2f6",textColor:r,textTop:s,textBottom:d,label:l,labelColor:h,textTopStyle:u,textBottomStyle:p,className:y=""})=>{t||(t=150);const f=n||t*.1;t+=f;const g=Math.min(5,Math.max(0,Math.floor(e))),m=t/2,x=(t-f)/2,M=2*Math.PI*x,L=M/5*(1-.1),b=M-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:m,cy:m,r:x-f/2,fill:i,stroke:"none",style:{filter:"drop-shadow(0px 0px 1px rgba(0,0,0,0.4))"}}),Array.from({length:5}).map((C,N)=>{const _=-90+N*72;return N>=g?null:o.jsx("circle",{cx:m,cy:m,r:x,fill:"transparent",stroke:c,strokeWidth:f,strokeLinecap:"butt",strokeDasharray:`${L} ${b}`,strokeDashoffset:0,transform:`rotate(${_} ${m} ${m})`,style:{transition:"stroke 0.3s ease"}},N)})]}),(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})]})]}),l&&o.jsx("div",{className:"circular-progress-label",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-medium)",color:h||r||"inherit"},children:l})]})},Zz="_wrapper_12x8x_1",Xz="_list_12x8x_12",Yz="_item_12x8x_22",Jz="_badge_12x8x_30",Qz="_text_12x8x_42",eV="_tooltip_12x8x_49",dt={wrapper:Zz,list:Xz,item:Yz,badge:Jz,text:Qz,tooltip:eV};function Qj({data:e,style:t,defaultBadgeColor:n="#2E7D32",defaultTextColor:c="#000",bgColor:i="transparent",activateTooltip:r=!0,maxVisible:s=3,width:d="auto",gap:l=0}){const[h,u]=k.useState(!1),[p,y]=k.useState(null),f=k.useRef(null);k.useEffect(()=>{function M(v){v.key==="Escape"&&u(!1)}return h&&document.addEventListener("keydown",M),()=>document.removeEventListener("keydown",M)},[h]),k.useEffect(()=>{function M(v){f.current&&!f.current.contains(v.target)&&u(!1)}return h&&document.addEventListener("mousedown",M),()=>document.removeEventListener("mousedown",M)},[h]);function g(M){r&&(M.preventDefault(),y({x:M.clientX,y:M.clientY}),u(!0))}const m=e.slice(0,s),x=M=>typeof M=="number"?`${M}px`:M;return o.jsxs("div",{className:dt.wrapper,style:{width:x(d),background:i,...t,"--gap":x(l)},onContextMenu:g,"aria-label":"liste-badges",children:[o.jsx("ul",{className:dt.list,children:m.map((M,v)=>o.jsxs("li",{className:dt.item,children:[o.jsx("span",{className:dt.badge,style:{backgroundColor:M.badgeColor??n},"aria-hidden":!0}),o.jsx("span",{className:dt.text,style:{color:M.textColor??c},children:M.text})]},v))}),r&&h&&p&&o.jsx("div",{className:dt.tooltip,style:{left:p.x+8,top:p.y+8,backgroundColor:i,"--gap":x(l)},role:"dialog","aria-modal":"false",ref:f,children:o.jsx("ul",{className:dt.list,children:e.map((M,v)=>o.jsxs("li",{className:dt.item,children:[o.jsx("span",{className:dt.badge,style:{backgroundColor:M.badgeColor??n}}),o.jsx("span",{className:dt.text,style:{color:M.textColor??"#000"},children:M.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 _t=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:mi,AArrowDownIcon:mi,AArrowUp:fi,AArrowUpIcon:fi,ALargeSmall:gi,ALargeSmallIcon:gi,Accessibility:I1,AccessibilityIcon:I1,Activity:b1,ActivityIcon:b1,ActivitySquare:Vt,ActivitySquareIcon:Vt,AirVent:vi,AirVentIcon:vi,Airplay:xi,AirplayIcon:xi,AlarmCheck:Ot,AlarmCheckIcon:Ot,AlarmClock:_i,AlarmClockCheck:Ot,AlarmClockCheckIcon:Ot,AlarmClockIcon:_i,AlarmClockMinus:Ut,AlarmClockMinusIcon:Ut,AlarmClockOff:Mi,AlarmClockOffIcon:Mi,AlarmClockPlus:Wt,AlarmClockPlusIcon:Wt,AlarmMinus:Ut,AlarmMinusIcon:Ut,AlarmPlus:Wt,AlarmPlusIcon:Wt,AlarmSmoke:Li,AlarmSmokeIcon:Li,Album:Ii,AlbumIcon:Ii,AlertCircle:xa,AlertCircleIcon:xa,AlertOctagon:En,AlertOctagonIcon:En,AlertTriangle:yc,AlertTriangleIcon:yc,AlignCenter:ji,AlignCenterHorizontal:bi,AlignCenterHorizontalIcon:bi,AlignCenterIcon:ji,AlignCenterVertical:wi,AlignCenterVerticalIcon:wi,AlignEndHorizontal:Ci,AlignEndHorizontalIcon:Ci,AlignEndVertical:Ni,AlignEndVerticalIcon:Ni,AlignHorizontalDistributeCenter:Si,AlignHorizontalDistributeCenterIcon:Si,AlignHorizontalDistributeEnd:$i,AlignHorizontalDistributeEndIcon:$i,AlignHorizontalDistributeStart:qi,AlignHorizontalDistributeStartIcon:qi,AlignHorizontalJustifyCenter:Ai,AlignHorizontalJustifyCenterIcon:Ai,AlignHorizontalJustifyEnd:zi,AlignHorizontalJustifyEndIcon:zi,AlignHorizontalJustifyStart:Vi,AlignHorizontalJustifyStartIcon:Vi,AlignHorizontalSpaceAround:Pi,AlignHorizontalSpaceAroundIcon:Pi,AlignHorizontalSpaceBetween:Hi,AlignHorizontalSpaceBetweenIcon:Hi,AlignJustify:Ti,AlignJustifyIcon:Ti,AlignLeft:Di,AlignLeftIcon:Di,AlignRight:Bi,AlignRightIcon:Bi,AlignStartHorizontal:Ri,AlignStartHorizontalIcon:Ri,AlignStartVertical:Fi,AlignStartVerticalIcon:Fi,AlignVerticalDistributeCenter:Oi,AlignVerticalDistributeCenterIcon:Oi,AlignVerticalDistributeEnd:Ei,AlignVerticalDistributeEndIcon:Ei,AlignVerticalDistributeStart:Wi,AlignVerticalDistributeStartIcon:Wi,AlignVerticalJustifyCenter:Ui,AlignVerticalJustifyCenterIcon:Ui,AlignVerticalJustifyEnd:Gi,AlignVerticalJustifyEndIcon:Gi,AlignVerticalJustifyStart:Ki,AlignVerticalJustifyStartIcon:Ki,AlignVerticalSpaceAround:Xi,AlignVerticalSpaceAroundIcon:Xi,AlignVerticalSpaceBetween:Zi,AlignVerticalSpaceBetweenIcon:Zi,Ambulance:Yi,AmbulanceIcon:Yi,Ampersand:Ji,AmpersandIcon:Ji,Ampersands:Qi,AmpersandsIcon:Qi,Amphora:er,AmphoraIcon:er,Anchor:tr,AnchorIcon:tr,Angry:ar,AngryIcon:ar,Annoyed:nr,AnnoyedIcon:nr,Antenna:or,AntennaIcon:or,Anvil:cr,AnvilIcon:cr,Aperture:ir,ApertureIcon:ir,AppWindow:sr,AppWindowIcon:sr,AppWindowMac:rr,AppWindowMacIcon:rr,Apple:dr,AppleIcon:dr,Archive:ur,ArchiveIcon:ur,ArchiveRestore:lr,ArchiveRestoreIcon:lr,ArchiveX:hr,ArchiveXIcon:hr,AreaChart:ra,AreaChartIcon:ra,Armchair:pr,ArmchairIcon:pr,ArrowBigDown:kr,ArrowBigDownDash:yr,ArrowBigDownDashIcon:yr,ArrowBigDownIcon:kr,ArrowBigLeft:fr,ArrowBigLeftDash:mr,ArrowBigLeftDashIcon:mr,ArrowBigLeftIcon:fr,ArrowBigRight:vr,ArrowBigRightDash:gr,ArrowBigRightDashIcon:gr,ArrowBigRightIcon:vr,ArrowBigUp:Mr,ArrowBigUpDash:xr,ArrowBigUpDashIcon:xr,ArrowBigUpIcon:Mr,ArrowDown:e1,ArrowDown01:_r,ArrowDown01Icon:_r,ArrowDown10:Lr,ArrowDown10Icon:Lr,ArrowDownAZ:Gt,ArrowDownAZIcon:Gt,ArrowDownAz:Gt,ArrowDownAzIcon:Gt,ArrowDownCircle:Ma,ArrowDownCircleIcon:Ma,ArrowDownFromLine:Ir,ArrowDownFromLineIcon:Ir,ArrowDownIcon:e1,ArrowDownLeft:br,ArrowDownLeftFromCircle:La,ArrowDownLeftFromCircleIcon:La,ArrowDownLeftFromSquare:fo,ArrowDownLeftFromSquareIcon:fo,ArrowDownLeftIcon:br,ArrowDownLeftSquare:po,ArrowDownLeftSquareIcon:po,ArrowDownNarrowWide:wr,ArrowDownNarrowWideIcon:wr,ArrowDownRight:Cr,ArrowDownRightFromCircle:Ia,ArrowDownRightFromCircleIcon:Ia,ArrowDownRightFromSquare:go,ArrowDownRightFromSquareIcon:go,ArrowDownRightIcon:Cr,ArrowDownRightSquare:yo,ArrowDownRightSquareIcon:yo,ArrowDownSquare:ko,ArrowDownSquareIcon:ko,ArrowDownToDot:Nr,ArrowDownToDotIcon:Nr,ArrowDownToLine:Sr,ArrowDownToLineIcon:Sr,ArrowDownUp:jr,ArrowDownUpIcon:jr,ArrowDownWideNarrow:Kt,ArrowDownWideNarrowIcon:Kt,ArrowDownZA:Zt,ArrowDownZAIcon:Zt,ArrowDownZa:Zt,ArrowDownZaIcon:Zt,ArrowLeft:w1,ArrowLeftCircle:_a,ArrowLeftCircleIcon:_a,ArrowLeftFromLine:$r,ArrowLeftFromLineIcon:$r,ArrowLeftIcon:w1,ArrowLeftRight:qr,ArrowLeftRightIcon:qr,ArrowLeftSquare:mo,ArrowLeftSquareIcon:mo,ArrowLeftToLine:Ar,ArrowLeftToLineIcon:Ar,ArrowRight:Tr,ArrowRightCircle:Ca,ArrowRightCircleIcon:Ca,ArrowRightFromLine:zr,ArrowRightFromLineIcon:zr,ArrowRightIcon:Tr,ArrowRightLeft:Vr,ArrowRightLeftIcon:Vr,ArrowRightSquare:Mo,ArrowRightSquareIcon:Mo,ArrowRightToLine:Pr,ArrowRightToLineIcon:Pr,ArrowUp:t1,ArrowUp01:Hr,ArrowUp01Icon:Hr,ArrowUp10:Dr,ArrowUp10Icon:Dr,ArrowUpAZ:Xt,ArrowUpAZIcon:Xt,ArrowUpAz:Xt,ArrowUpAzIcon:Xt,ArrowUpCircle:Na,ArrowUpCircleIcon:Na,ArrowUpDown:Br,ArrowUpDownIcon:Br,ArrowUpFromDot:Rr,ArrowUpFromDotIcon:Rr,ArrowUpFromLine:Fr,ArrowUpFromLineIcon:Fr,ArrowUpIcon:t1,ArrowUpLeft:Er,ArrowUpLeftFromCircle:ba,ArrowUpLeftFromCircleIcon:ba,ArrowUpLeftFromSquare:vo,ArrowUpLeftFromSquareIcon:vo,ArrowUpLeftIcon:Er,ArrowUpLeftSquare:_o,ArrowUpLeftSquareIcon:_o,ArrowUpNarrowWide:Yt,ArrowUpNarrowWideIcon:Yt,ArrowUpRight:Or,ArrowUpRightFromCircle:wa,ArrowUpRightFromCircleIcon:wa,ArrowUpRightFromSquare:xo,ArrowUpRightFromSquareIcon:xo,ArrowUpRightIcon:Or,ArrowUpRightSquare:Lo,ArrowUpRightSquareIcon:Lo,ArrowUpSquare:Io,ArrowUpSquareIcon:Io,ArrowUpToLine:Ur,ArrowUpToLineIcon:Ur,ArrowUpWideNarrow:Wr,ArrowUpWideNarrowIcon:Wr,ArrowUpZA:Jt,ArrowUpZAIcon:Jt,ArrowUpZa:Jt,ArrowUpZaIcon:Jt,ArrowsUpFromLine:Gr,ArrowsUpFromLineIcon:Gr,Asterisk:Kr,AsteriskIcon:Kr,AsteriskSquare:bo,AsteriskSquareIcon:bo,AtSign:Zr,AtSignIcon:Zr,Atom:Xr,AtomIcon:Xr,AudioLines:Yr,AudioLinesIcon:Yr,AudioWaveform:Jr,AudioWaveformIcon:Jr,Award:Qr,AwardIcon:Qr,Axe:es,AxeIcon:es,Axis3D:Qt,Axis3DIcon:Qt,Axis3d:Qt,Axis3dIcon:Qt,Baby:ts,BabyIcon:ts,Backpack:as,BackpackIcon:as,Badge:gs,BadgeAlert:ns,BadgeAlertIcon:ns,BadgeCent:os,BadgeCentIcon:os,BadgeCheck:ea,BadgeCheckIcon:ea,BadgeDollarSign:cs,BadgeDollarSignIcon:cs,BadgeEuro:is,BadgeEuroIcon:is,BadgeHelp:ta,BadgeHelpIcon:ta,BadgeIcon:gs,BadgeIndianRupee:rs,BadgeIndianRupeeIcon:rs,BadgeInfo:ss,BadgeInfoIcon:ss,BadgeJapaneseYen:ls,BadgeJapaneseYenIcon:ls,BadgeMinus:ds,BadgeMinusIcon:ds,BadgePercent:hs,BadgePercentIcon:hs,BadgePlus:us,BadgePlusIcon:us,BadgePoundSterling:ps,BadgePoundSterlingIcon:ps,BadgeQuestionMark:ta,BadgeQuestionMarkIcon:ta,BadgeRussianRuble:ys,BadgeRussianRubleIcon:ys,BadgeSwissFranc:ks,BadgeSwissFrancIcon:ks,BadgeTurkishLira:ms,BadgeTurkishLiraIcon:ms,BadgeX:fs,BadgeXIcon:fs,BaggageClaim:vs,BaggageClaimIcon:vs,Ban:xs,BanIcon:xs,Banana:Ms,BananaIcon:Ms,Bandage:_s,BandageIcon:_s,Banknote:ws,BanknoteArrowDown:Ls,BanknoteArrowDownIcon:Ls,BanknoteArrowUp:Is,BanknoteArrowUpIcon:Is,BanknoteIcon:ws,BanknoteX:bs,BanknoteXIcon:bs,BarChart:ka,BarChart2:ma,BarChart2Icon:ma,BarChart3:pa,BarChart3Icon:pa,BarChart4:ua,BarChart4Icon:ua,BarChartBig:ha,BarChartBigIcon:ha,BarChartHorizontal:da,BarChartHorizontalBig:sa,BarChartHorizontalBigIcon:sa,BarChartHorizontalIcon:da,BarChartIcon:ka,Barcode:Cs,BarcodeIcon:Cs,Barrel:Ns,BarrelIcon:Ns,Baseline:Ss,BaselineIcon:Ss,Bath:js,BathIcon:js,Battery:Ts,BatteryCharging:$s,BatteryChargingIcon:$s,BatteryFull:qs,BatteryFullIcon:qs,BatteryIcon:Ts,BatteryLow:As,BatteryLowIcon:As,BatteryMedium:zs,BatteryMediumIcon:zs,BatteryPlus:Vs,BatteryPlusIcon:Vs,BatteryWarning:Ps,BatteryWarningIcon:Ps,Beaker:Hs,BeakerIcon:Hs,Bean:Bs,BeanIcon:Bs,BeanOff:Ds,BeanOffIcon:Ds,Bed:Es,BedDouble:Rs,BedDoubleIcon:Rs,BedIcon:Es,BedSingle:Fs,BedSingleIcon:Fs,Beef:Os,BeefIcon:Os,Beer:Ws,BeerIcon:Ws,BeerOff:Us,BeerOffIcon:Us,Bell:Js,BellDot:Gs,BellDotIcon:Gs,BellElectric:Ks,BellElectricIcon:Ks,BellIcon:Js,BellMinus:Zs,BellMinusIcon:Zs,BellOff:Xs,BellOffIcon:Xs,BellPlus:Ys,BellPlusIcon:Ys,BellRing:Qs,BellRingIcon:Qs,BetweenHorizonalEnd:aa,BetweenHorizonalEndIcon:aa,BetweenHorizonalStart:na,BetweenHorizonalStartIcon:na,BetweenHorizontalEnd:aa,BetweenHorizontalEndIcon:aa,BetweenHorizontalStart:na,BetweenHorizontalStartIcon:na,BetweenVerticalEnd:t2,BetweenVerticalEndIcon:t2,BetweenVerticalStart:e2,BetweenVerticalStartIcon:e2,BicepsFlexed:a2,BicepsFlexedIcon:a2,Bike:o2,BikeIcon:o2,Binary:n2,BinaryIcon:n2,Binoculars:c2,BinocularsIcon:c2,Biohazard:i2,BiohazardIcon:i2,Bird:r2,BirdIcon:r2,Bitcoin:s2,BitcoinIcon:s2,Blend:d2,BlendIcon:d2,Blinds:l2,BlindsIcon:l2,Blocks:h2,BlocksIcon:h2,Bluetooth:k2,BluetoothConnected:u2,BluetoothConnectedIcon:u2,BluetoothIcon:k2,BluetoothOff:p2,BluetoothOffIcon:p2,BluetoothSearching:y2,BluetoothSearchingIcon:y2,Bold:m2,BoldIcon:m2,Bolt:f2,BoltIcon:f2,Bomb:g2,BombIcon:g2,Bone:v2,BoneIcon:v2,Book:E2,BookA:x2,BookAIcon:x2,BookAlert:M2,BookAlertIcon:M2,BookAudio:_2,BookAudioIcon:_2,BookCheck:L2,BookCheckIcon:L2,BookCopy:I2,BookCopyIcon:I2,BookDashed:oa,BookDashedIcon:oa,BookDown:b2,BookDownIcon:b2,BookHeadphones:w2,BookHeadphonesIcon:w2,BookHeart:C2,BookHeartIcon:C2,BookIcon:E2,BookImage:N2,BookImageIcon:N2,BookKey:S2,BookKeyIcon:S2,BookLock:j2,BookLockIcon:j2,BookMarked:q2,BookMarkedIcon:q2,BookMinus:$2,BookMinusIcon:$2,BookOpen:V2,BookOpenCheck:A2,BookOpenCheckIcon:A2,BookOpenIcon:V2,BookOpenText:z2,BookOpenTextIcon:z2,BookPlus:P2,BookPlusIcon:P2,BookTemplate:oa,BookTemplateIcon:oa,BookText:T2,BookTextIcon:T2,BookType:H2,BookTypeIcon:H2,BookUp:B2,BookUp2:D2,BookUp2Icon:D2,BookUpIcon:B2,BookUser:R2,BookUserIcon:R2,BookX:F2,BookXIcon:F2,Bookmark:K2,BookmarkCheck:O2,BookmarkCheckIcon:O2,BookmarkIcon:K2,BookmarkMinus:U2,BookmarkMinusIcon:U2,BookmarkPlus:W2,BookmarkPlusIcon:W2,BookmarkX:G2,BookmarkXIcon:G2,BoomBox:Z2,BoomBoxIcon:Z2,Bot:J2,BotIcon:J2,BotMessageSquare:X2,BotMessageSquareIcon:X2,BotOff:Y2,BotOffIcon:Y2,BottleWine:Q2,BottleWineIcon:Q2,BowArrow:ed,BowArrowIcon:ed,Box:td,BoxIcon:td,BoxSelect:Po,BoxSelectIcon:Po,Boxes:ad,BoxesIcon:ad,Braces:ca,BracesIcon:ca,Brackets:nd,BracketsIcon:nd,Brain:id,BrainCircuit:od,BrainCircuitIcon:od,BrainCog:cd,BrainCogIcon:cd,BrainIcon:id,BrickWall:dd,BrickWallFire:rd,BrickWallFireIcon:rd,BrickWallIcon:dd,BrickWallShield:sd,BrickWallShieldIcon:sd,Briefcase:pd,BriefcaseBusiness:ld,BriefcaseBusinessIcon:ld,BriefcaseConveyorBelt:hd,BriefcaseConveyorBeltIcon:hd,BriefcaseIcon:pd,BriefcaseMedical:ud,BriefcaseMedicalIcon:ud,BringToFront:yd,BringToFrontIcon:yd,Brush:md,BrushCleaning:kd,BrushCleaningIcon:kd,BrushIcon:md,Bubbles:fd,BubblesIcon:fd,Bug:Md,BugIcon:Md,BugOff:gd,BugOffIcon:gd,BugPlay:vd,BugPlayIcon:vd,Building:_d,Building2:xd,Building2Icon:xd,BuildingIcon:_d,Bus:Id,BusFront:Ld,BusFrontIcon:Ld,BusIcon:Id,Cable:wd,CableCar:bd,CableCarIcon:bd,CableIcon:wd,Cake:Nd,CakeIcon:Nd,CakeSlice:Cd,CakeSliceIcon:Cd,Calculator:Sd,CalculatorIcon:Sd,Calendar:C1,Calendar1:jd,Calendar1Icon:jd,CalendarArrowDown:$d,CalendarArrowDownIcon:$d,CalendarArrowUp:qd,CalendarArrowUpIcon:qd,CalendarCheck:zd,CalendarCheck2:Ad,CalendarCheck2Icon:Ad,CalendarCheckIcon:zd,CalendarClock:Vd,CalendarClockIcon:Vd,CalendarCog:Pd,CalendarCogIcon:Pd,CalendarDays:Td,CalendarDaysIcon:Td,CalendarFold:Hd,CalendarFoldIcon:Hd,CalendarHeart:Dd,CalendarHeartIcon:Dd,CalendarIcon:C1,CalendarMinus:Rd,CalendarMinus2:Bd,CalendarMinus2Icon:Bd,CalendarMinusIcon:Rd,CalendarOff:Fd,CalendarOffIcon:Fd,CalendarPlus:Od,CalendarPlus2:Ed,CalendarPlus2Icon:Ed,CalendarPlusIcon:Od,CalendarRange:Ud,CalendarRangeIcon:Ud,CalendarSearch:Wd,CalendarSearchIcon:Wd,CalendarSync:Gd,CalendarSyncIcon:Gd,CalendarX:Zd,CalendarX2:Kd,CalendarX2Icon:Kd,CalendarXIcon:Zd,Camera:Yd,CameraIcon:Yd,CameraOff:Xd,CameraOffIcon:Xd,CandlestickChart:la,CandlestickChartIcon:la,Candy:e0,CandyCane:Jd,CandyCaneIcon:Jd,CandyIcon:e0,CandyOff:Qd,CandyOffIcon:Qd,Cannabis:t0,CannabisIcon:t0,Captions:ia,CaptionsIcon:ia,CaptionsOff:a0,CaptionsOffIcon:a0,Car:c0,CarFront:n0,CarFrontIcon:n0,CarIcon:c0,CarTaxiFront:o0,CarTaxiFrontIcon:o0,Caravan:i0,CaravanIcon:i0,CardSim:r0,CardSimIcon:r0,Carrot:s0,CarrotIcon:s0,CaseLower:d0,CaseLowerIcon:d0,CaseSensitive:l0,CaseSensitiveIcon:l0,CaseUpper:h0,CaseUpperIcon:h0,CassetteTape:u0,CassetteTapeIcon:u0,Cast:p0,CastIcon:p0,Castle:k0,CastleIcon:k0,Cat:y0,CatIcon:y0,Cctv:m0,CctvIcon:m0,ChartArea:ra,ChartAreaIcon:ra,ChartBar:da,ChartBarBig:sa,ChartBarBigIcon:sa,ChartBarDecreasing:f0,ChartBarDecreasingIcon:f0,ChartBarIcon:da,ChartBarIncreasing:g0,ChartBarIncreasingIcon:g0,ChartBarStacked:v0,ChartBarStackedIcon:v0,ChartCandlestick:la,ChartCandlestickIcon:la,ChartColumn:pa,ChartColumnBig:ha,ChartColumnBigIcon:ha,ChartColumnDecreasing:x0,ChartColumnDecreasingIcon:x0,ChartColumnIcon:pa,ChartColumnIncreasing:ua,ChartColumnIncreasingIcon:ua,ChartColumnStacked:M0,ChartColumnStackedIcon:M0,ChartGantt:_0,ChartGanttIcon:_0,ChartLine:ya,ChartLineIcon:ya,ChartNetwork:L0,ChartNetworkIcon:L0,ChartNoAxesColumn:ma,ChartNoAxesColumnDecreasing:I0,ChartNoAxesColumnDecreasingIcon:I0,ChartNoAxesColumnIcon:ma,ChartNoAxesColumnIncreasing:ka,ChartNoAxesColumnIncreasingIcon:ka,ChartNoAxesCombined:b0,ChartNoAxesCombinedIcon:b0,ChartNoAxesGantt:fa,ChartNoAxesGanttIcon:fa,ChartPie:ga,ChartPieIcon:ga,ChartScatter:va,ChartScatterIcon:va,ChartSpline:w0,ChartSplineIcon:w0,Check:N1,CheckCheck:C0,CheckCheckIcon:C0,CheckCircle:Sa,CheckCircle2:ja,CheckCircle2Icon:ja,CheckCircleIcon:Sa,CheckIcon:N1,CheckLine:N0,CheckLineIcon:N0,CheckSquare:Co,CheckSquare2:No,CheckSquare2Icon:No,CheckSquareIcon:Co,ChefHat:S0,ChefHatIcon:S0,Cherry:j0,CherryIcon:j0,ChevronDown:Ht,ChevronDownCircle:$a,ChevronDownCircleIcon:$a,ChevronDownIcon:Ht,ChevronDownSquare:So,ChevronDownSquareIcon:So,ChevronFirst:$0,ChevronFirstIcon:$0,ChevronLast:q0,ChevronLastIcon:q0,ChevronLeft:A0,ChevronLeftCircle:qa,ChevronLeftCircleIcon:qa,ChevronLeftIcon:A0,ChevronLeftSquare:jo,ChevronLeftSquareIcon:jo,ChevronRight:S1,ChevronRightCircle:Aa,ChevronRightCircleIcon:Aa,ChevronRightIcon:S1,ChevronRightSquare:$o,ChevronRightSquareIcon:$o,ChevronUp:qc,ChevronUpCircle:za,ChevronUpCircleIcon:za,ChevronUpIcon:qc,ChevronUpSquare:qo,ChevronUpSquareIcon:qo,ChevronsDown:V0,ChevronsDownIcon:V0,ChevronsDownUp:z0,ChevronsDownUpIcon:z0,ChevronsLeft:T0,ChevronsLeftIcon:T0,ChevronsLeftRight:P0,ChevronsLeftRightEllipsis:H0,ChevronsLeftRightEllipsisIcon:H0,ChevronsLeftRightIcon:P0,ChevronsRight:B0,ChevronsRightIcon:B0,ChevronsRightLeft:D0,ChevronsRightLeftIcon:D0,ChevronsUp:R0,ChevronsUpDown:a1,ChevronsUpDownIcon:a1,ChevronsUpIcon:R0,Chrome:F0,ChromeIcon:F0,Church:E0,ChurchIcon:E0,Cigarette:U0,CigaretteIcon:U0,CigaretteOff:O0,CigaretteOffIcon:O0,Circle:cl,CircleAlert:xa,CircleAlertIcon:xa,CircleArrowDown:Ma,CircleArrowDownIcon:Ma,CircleArrowLeft:_a,CircleArrowLeftIcon:_a,CircleArrowOutDownLeft:La,CircleArrowOutDownLeftIcon:La,CircleArrowOutDownRight:Ia,CircleArrowOutDownRightIcon:Ia,CircleArrowOutUpLeft:ba,CircleArrowOutUpLeftIcon:ba,CircleArrowOutUpRight:wa,CircleArrowOutUpRightIcon:wa,CircleArrowRight:Ca,CircleArrowRightIcon:Ca,CircleArrowUp:Na,CircleArrowUpIcon:Na,CircleCheck:ja,CircleCheckBig:Sa,CircleCheckBigIcon:Sa,CircleCheckIcon:ja,CircleChevronDown:$a,CircleChevronDownIcon:$a,CircleChevronLeft:qa,CircleChevronLeftIcon:qa,CircleChevronRight:Aa,CircleChevronRightIcon:Aa,CircleChevronUp:za,CircleChevronUpIcon:za,CircleDashed:W0,CircleDashedIcon:W0,CircleDivide:Va,CircleDivideIcon:Va,CircleDollarSign:K0,CircleDollarSignIcon:K0,CircleDot:Z0,CircleDotDashed:G0,CircleDotDashedIcon:G0,CircleDotIcon:Z0,CircleEllipsis:X0,CircleEllipsisIcon:X0,CircleEqual:Y0,CircleEqualIcon:Y0,CircleFadingArrowUp:Q0,CircleFadingArrowUpIcon:Q0,CircleFadingPlus:J0,CircleFadingPlusIcon:J0,CircleGauge:Pa,CircleGaugeIcon:Pa,CircleHelp:ht,CircleHelpIcon:ht,CircleIcon:cl,CircleMinus:Ta,CircleMinusIcon:Ta,CircleOff:el,CircleOffIcon:el,CircleParking:Ba,CircleParkingIcon:Ba,CircleParkingOff:Ha,CircleParkingOffIcon:Ha,CirclePause:Da,CirclePauseIcon:Da,CirclePercent:Ra,CirclePercentIcon:Ra,CirclePlay:Fa,CirclePlayIcon:Fa,CirclePlus:Ea,CirclePlusIcon:Ea,CirclePoundSterling:tl,CirclePoundSterlingIcon:tl,CirclePower:Oa,CirclePowerIcon:Oa,CircleQuestionMark:ht,CircleQuestionMarkIcon:ht,CircleSlash:al,CircleSlash2:Ua,CircleSlash2Icon:Ua,CircleSlashIcon:al,CircleSlashed:Ua,CircleSlashedIcon:Ua,CircleSmall:nl,CircleSmallIcon:nl,CircleStar:ol,CircleStarIcon:ol,CircleStop:Wa,CircleStopIcon:Wa,CircleUser:Ka,CircleUserIcon:Ka,CircleUserRound:Ga,CircleUserRoundIcon:Ga,CircleX:qt,CircleXIcon:qt,CircuitBoard:il,CircuitBoardIcon:il,Citrus:rl,CitrusIcon:rl,Clapperboard:sl,ClapperboardIcon:sl,Clipboard:gl,ClipboardCheck:dl,ClipboardCheckIcon:dl,ClipboardClock:ll,ClipboardClockIcon:ll,ClipboardCopy:hl,ClipboardCopyIcon:hl,ClipboardEdit:Xa,ClipboardEditIcon:Xa,ClipboardIcon:gl,ClipboardList:ul,ClipboardListIcon:ul,ClipboardMinus:pl,ClipboardMinusIcon:pl,ClipboardPaste:yl,ClipboardPasteIcon:yl,ClipboardPen:Xa,ClipboardPenIcon:Xa,ClipboardPenLine:Za,ClipboardPenLineIcon:Za,ClipboardPlus:kl,ClipboardPlusIcon:kl,ClipboardSignature:Za,ClipboardSignatureIcon:Za,ClipboardType:ml,ClipboardTypeIcon:ml,ClipboardX:fl,ClipboardXIcon:fl,Clock:Pl,Clock1:xl,Clock10:vl,Clock10Icon:vl,Clock11:Ml,Clock11Icon:Ml,Clock12:_l,Clock12Icon:_l,Clock1Icon:xl,Clock2:Ll,Clock2Icon:Ll,Clock3:Il,Clock3Icon:Il,Clock4:bl,Clock4Icon:bl,Clock5:wl,Clock5Icon:wl,Clock6:Cl,Clock6Icon:Cl,Clock7:Nl,Clock7Icon:Nl,Clock8:Sl,Clock8Icon:Sl,Clock9:jl,Clock9Icon:jl,ClockAlert:$l,ClockAlertIcon:$l,ClockArrowDown:ql,ClockArrowDownIcon:ql,ClockArrowUp:Al,ClockArrowUpIcon:Al,ClockFading:zl,ClockFadingIcon:zl,ClockIcon:Pl,ClockPlus:Vl,ClockPlusIcon:Vl,ClosedCaption:Tl,ClosedCaptionIcon:Tl,Cloud:Ql,CloudAlert:Hl,CloudAlertIcon:Hl,CloudCheck:Dl,CloudCheckIcon:Dl,CloudCog:Bl,CloudCogIcon:Bl,CloudDownload:Ya,CloudDownloadIcon:Ya,CloudDrizzle:Rl,CloudDrizzleIcon:Rl,CloudFog:Fl,CloudFogIcon:Fl,CloudHail:El,CloudHailIcon:El,CloudIcon:Ql,CloudLightning:Ol,CloudLightningIcon:Ol,CloudMoon:Wl,CloudMoonIcon:Wl,CloudMoonRain:Ul,CloudMoonRainIcon:Ul,CloudOff:Gl,CloudOffIcon:Gl,CloudRain:Zl,CloudRainIcon:Zl,CloudRainWind:Kl,CloudRainWindIcon:Kl,CloudSnow:Xl,CloudSnowIcon:Xl,CloudSun:Jl,CloudSunIcon:Jl,CloudSunRain:Yl,CloudSunRainIcon:Yl,CloudUpload:Ja,CloudUploadIcon:Ja,Cloudy:eh,CloudyIcon:eh,Clover:th,CloverIcon:th,Club:ah,ClubIcon:ah,Code:nh,Code2:Qa,Code2Icon:Qa,CodeIcon:nh,CodeSquare:Ao,CodeSquareIcon:Ao,CodeXml:Qa,CodeXmlIcon:Qa,Codepen:oh,CodepenIcon:oh,Codesandbox:ch,CodesandboxIcon:ch,Coffee:ih,CoffeeIcon:ih,Cog:rh,CogIcon:rh,Coins:sh,CoinsIcon:sh,Columns:en,Columns2:en,Columns2Icon:en,Columns3:tn,Columns3Cog:ut,Columns3CogIcon:ut,Columns3Icon:tn,Columns4:dh,Columns4Icon:dh,ColumnsIcon:en,ColumnsSettings:ut,ColumnsSettingsIcon:ut,Combine:lh,CombineIcon:lh,Command:hh,CommandIcon:hh,Compass:uh,CompassIcon:uh,Component:ph,ComponentIcon:ph,Computer:yh,ComputerIcon:yh,ConciergeBell:kh,ConciergeBellIcon:kh,Cone:mh,ConeIcon:mh,Construction:fh,ConstructionIcon:fh,Contact:gh,Contact2:an,Contact2Icon:an,ContactIcon:gh,ContactRound:an,ContactRoundIcon:an,Container:vh,ContainerIcon:vh,Contrast:Mh,ContrastIcon:Mh,Cookie:xh,CookieIcon:xh,CookingPot:Lh,CookingPotIcon:Lh,Copy:Nh,CopyCheck:_h,CopyCheckIcon:_h,CopyIcon:Nh,CopyMinus:Ih,CopyMinusIcon:Ih,CopyPlus:bh,CopyPlusIcon:bh,CopySlash:wh,CopySlashIcon:wh,CopyX:Ch,CopyXIcon:Ch,Copyleft:Sh,CopyleftIcon:Sh,Copyright:jh,CopyrightIcon:jh,CornerDownLeft:$h,CornerDownLeftIcon:$h,CornerDownRight:qh,CornerDownRightIcon:qh,CornerLeftDown:Ah,CornerLeftDownIcon:Ah,CornerLeftUp:zh,CornerLeftUpIcon:zh,CornerRightDown:Vh,CornerRightDownIcon:Vh,CornerRightUp:Ph,CornerRightUpIcon:Ph,CornerUpLeft:Th,CornerUpLeftIcon:Th,CornerUpRight:Hh,CornerUpRightIcon:Hh,Cpu:Dh,CpuIcon:Dh,CreativeCommons:Bh,CreativeCommonsIcon:Bh,CreditCard:Rh,CreditCardIcon:Rh,Croissant:Fh,CroissantIcon:Fh,Crop:Eh,CropIcon:Eh,Cross:Oh,CrossIcon:Oh,Crosshair:Uh,CrosshairIcon:Uh,Crown:Wh,CrownIcon:Wh,Cuboid:Gh,CuboidIcon:Gh,CupSoda:Kh,CupSodaIcon:Kh,CurlyBraces:ca,CurlyBracesIcon:ca,Currency:Zh,CurrencyIcon:Zh,Cylinder:Xh,CylinderIcon:Xh,Dam:Yh,DamIcon:Yh,Database:eu,DatabaseBackup:Jh,DatabaseBackupIcon:Jh,DatabaseIcon:eu,DatabaseZap:Qh,DatabaseZapIcon:Qh,DecimalsArrowLeft:tu,DecimalsArrowLeftIcon:tu,DecimalsArrowRight:au,DecimalsArrowRightIcon:au,Delete:nu,DeleteIcon:nu,Dessert:ou,DessertIcon:ou,Diameter:cu,DiameterIcon:cu,Diamond:su,DiamondIcon:su,DiamondMinus:iu,DiamondMinusIcon:iu,DiamondPercent:nn,DiamondPercentIcon:nn,DiamondPlus:ru,DiamondPlusIcon:ru,Dice1:du,Dice1Icon:du,Dice2:lu,Dice2Icon:lu,Dice3:hu,Dice3Icon:hu,Dice4:uu,Dice4Icon:uu,Dice5:pu,Dice5Icon:pu,Dice6:yu,Dice6Icon:yu,Dices:ku,DicesIcon:ku,Diff:mu,DiffIcon:mu,Disc:xu,Disc2:fu,Disc2Icon:fu,Disc3:gu,Disc3Icon:gu,DiscAlbum:vu,DiscAlbumIcon:vu,DiscIcon:xu,Divide:Mu,DivideCircle:Va,DivideCircleIcon:Va,DivideIcon:Mu,DivideSquare:To,DivideSquareIcon:To,Dna:Lu,DnaIcon:Lu,DnaOff:_u,DnaOffIcon:_u,Dock:Iu,DockIcon:Iu,Dog:bu,DogIcon:bu,DollarSign:wu,DollarSignIcon:wu,Donut:Cu,DonutIcon:Cu,DoorClosed:Su,DoorClosedIcon:Su,DoorClosedLocked:Nu,DoorClosedLockedIcon:Nu,DoorOpen:ju,DoorOpenIcon:ju,Dot:$u,DotIcon:$u,DotSquare:Do,DotSquareIcon:Do,Download:Au,DownloadCloud:Ya,DownloadCloudIcon:Ya,DownloadIcon:Au,DraftingCompass:qu,DraftingCompassIcon:qu,Drama:zu,DramaIcon:zu,Dribbble:Vu,DribbbleIcon:Vu,Drill:Pu,DrillIcon:Pu,Drone:Tu,DroneIcon:Tu,Droplet:Du,DropletIcon:Du,DropletOff:Hu,DropletOffIcon:Hu,Droplets:Bu,DropletsIcon:Bu,Drum:Ru,DrumIcon:Ru,Drumstick:Fu,DrumstickIcon:Fu,Dumbbell:Eu,DumbbellIcon:Eu,Ear:Uu,EarIcon:Uu,EarOff:Ou,EarOffIcon:Ou,Earth:on,EarthIcon:on,EarthLock:Wu,EarthLockIcon:Wu,Eclipse:Gu,EclipseIcon:Gu,Edit:Ge,Edit2:xt,Edit2Icon:xt,Edit3:vt,Edit3Icon:vt,EditIcon:Ge,Egg:Xu,EggFried:Ku,EggFriedIcon:Ku,EggIcon:Xu,EggOff:Zu,EggOffIcon:Zu,Ellipsis:rn,EllipsisIcon:rn,EllipsisVertical:cn,EllipsisVerticalIcon:cn,Equal:Qu,EqualApproximately:Yu,EqualApproximatelyIcon:Yu,EqualIcon:Qu,EqualNot:Ju,EqualNotIcon:Ju,EqualSquare:Ho,EqualSquareIcon:Ho,Eraser:ep,EraserIcon:ep,EthernetPort:tp,EthernetPortIcon:tp,Euro:ap,EuroIcon:ap,Expand:op,ExpandIcon:op,ExternalLink:np,ExternalLinkIcon:np,Eye:$1,EyeClosed:cp,EyeClosedIcon:cp,EyeIcon:$1,EyeOff:j1,EyeOffIcon:j1,Facebook:ip,FacebookIcon:ip,Factory:rp,FactoryIcon:rp,Fan:sp,FanIcon:sp,FastForward:dp,FastForwardIcon:dp,Feather:lp,FeatherIcon:lp,Fence:hp,FenceIcon:hp,FerrisWheel:up,FerrisWheelIcon:up,Figma:pp,FigmaIcon:pp,File:ry,FileArchive:yp,FileArchiveIcon:yp,FileAudio:mp,FileAudio2:kp,FileAudio2Icon:kp,FileAudioIcon:mp,FileAxis3D:sn,FileAxis3DIcon:sn,FileAxis3d:sn,FileAxis3dIcon:sn,FileBadge:vp,FileBadge2:fp,FileBadge2Icon:fp,FileBadgeIcon:vp,FileBarChart:dn,FileBarChart2:ln,FileBarChart2Icon:ln,FileBarChartIcon:dn,FileBox:gp,FileBoxIcon:gp,FileChartColumn:ln,FileChartColumnIcon:ln,FileChartColumnIncreasing:dn,FileChartColumnIncreasingIcon:dn,FileChartLine:hn,FileChartLineIcon:hn,FileChartPie:un,FileChartPieIcon:un,FileCheck:Mp,FileCheck2:xp,FileCheck2Icon:xp,FileCheckIcon:Mp,FileClock:_p,FileClockIcon:_p,FileCode:Lp,FileCode2:Ip,FileCode2Icon:Ip,FileCodeIcon:Lp,FileCog:pn,FileCog2:pn,FileCog2Icon:pn,FileCogIcon:pn,FileDiff:bp,FileDiffIcon:bp,FileDigit:wp,FileDigitIcon:wp,FileDown:Cp,FileDownIcon:Cp,FileEdit:kn,FileEditIcon:kn,FileHeart:Np,FileHeartIcon:Np,FileIcon:ry,FileImage:Sp,FileImageIcon:Sp,FileInput:jp,FileInputIcon:jp,FileJson:qp,FileJson2:$p,FileJson2Icon:$p,FileJsonIcon:qp,FileKey:zp,FileKey2:Ap,FileKey2Icon:Ap,FileKeyIcon:zp,FileLineChart:hn,FileLineChartIcon:hn,FileLock:Pp,FileLock2:Vp,FileLock2Icon:Vp,FileLockIcon:Pp,FileMinus:Hp,FileMinus2:Tp,FileMinus2Icon:Tp,FileMinusIcon:Hp,FileMusic:Dp,FileMusicIcon:Dp,FileOutput:Bp,FileOutputIcon:Bp,FilePen:kn,FilePenIcon:kn,FilePenLine:yn,FilePenLineIcon:yn,FilePieChart:un,FilePieChartIcon:un,FilePlay:mn,FilePlayIcon:mn,FilePlus:Fp,FilePlus2:Rp,FilePlus2Icon:Rp,FilePlusIcon:Fp,FileQuestion:fn,FileQuestionIcon:fn,FileQuestionMark:fn,FileQuestionMarkIcon:fn,FileScan:Ep,FileScanIcon:Ep,FileSearch:Up,FileSearch2:Op,FileSearch2Icon:Op,FileSearchIcon:Up,FileSignature:yn,FileSignatureIcon:yn,FileSliders:Wp,FileSlidersIcon:Wp,FileSpreadsheet:Gp,FileSpreadsheetIcon:Gp,FileStack:Kp,FileStackIcon:Kp,FileSymlink:Zp,FileSymlinkIcon:Zp,FileTerminal:Xp,FileTerminalIcon:Xp,FileText:Yp,FileTextIcon:Yp,FileType:Qp,FileType2:Jp,FileType2Icon:Jp,FileTypeIcon:Qp,FileUp:ey,FileUpIcon:ey,FileUser:ty,FileUserIcon:ty,FileVideo:mn,FileVideo2:gn,FileVideo2Icon:gn,FileVideoCamera:gn,FileVideoCameraIcon:gn,FileVideoIcon:mn,FileVolume:ny,FileVolume2:ay,FileVolume2Icon:ay,FileVolumeIcon:ny,FileWarning:oy,FileWarningIcon:oy,FileX:iy,FileX2:cy,FileX2Icon:cy,FileXIcon:iy,Files:sy,FilesIcon:sy,Film:dy,FilmIcon:dy,Filter:At,FilterIcon:At,FilterX:Mn,FilterXIcon:Mn,Fingerprint:ly,FingerprintIcon:ly,FireExtinguisher:hy,FireExtinguisherIcon:hy,Fish:py,FishIcon:py,FishOff:uy,FishOffIcon:uy,FishSymbol:yy,FishSymbolIcon:yy,Flag:gy,FlagIcon:gy,FlagOff:ky,FlagOffIcon:ky,FlagTriangleLeft:my,FlagTriangleLeftIcon:my,FlagTriangleRight:fy,FlagTriangleRightIcon:fy,Flame:xy,FlameIcon:xy,FlameKindling:vy,FlameKindlingIcon:vy,Flashlight:_y,FlashlightIcon:_y,FlashlightOff:My,FlashlightOffIcon:My,FlaskConical:Iy,FlaskConicalIcon:Iy,FlaskConicalOff:Ly,FlaskConicalOffIcon:Ly,FlaskRound:by,FlaskRoundIcon:by,FlipHorizontal:Cy,FlipHorizontal2:wy,FlipHorizontal2Icon:wy,FlipHorizontalIcon:Cy,FlipVertical:Sy,FlipVertical2:Ny,FlipVertical2Icon:Ny,FlipVerticalIcon:Sy,Flower:$y,Flower2:jy,Flower2Icon:jy,FlowerIcon:$y,Focus:qy,FocusIcon:qy,FoldHorizontal:Ay,FoldHorizontalIcon:Ay,FoldVertical:zy,FoldVerticalIcon:zy,Folder:q1,FolderArchive:Vy,FolderArchiveIcon:Vy,FolderCheck:Py,FolderCheckIcon:Py,FolderClock:Ty,FolderClockIcon:Ty,FolderClosed:Hy,FolderClosedIcon:Hy,FolderCode:Dy,FolderCodeIcon:Dy,FolderCog:vn,FolderCog2:vn,FolderCog2Icon:vn,FolderCogIcon:vn,FolderDot:By,FolderDotIcon:By,FolderDown:Ry,FolderDownIcon:Ry,FolderEdit:xn,FolderEditIcon:xn,FolderGit:Ey,FolderGit2:Fy,FolderGit2Icon:Fy,FolderGitIcon:Ey,FolderHeart:Oy,FolderHeartIcon:Oy,FolderIcon:q1,FolderInput:Uy,FolderInputIcon:Uy,FolderKanban:Wy,FolderKanbanIcon:Wy,FolderKey:Gy,FolderKeyIcon:Gy,FolderLock:Ky,FolderLockIcon:Ky,FolderMinus:Zy,FolderMinusIcon:Zy,FolderOpen:Yy,FolderOpenDot:Xy,FolderOpenDotIcon:Xy,FolderOpenIcon:Yy,FolderOutput:Jy,FolderOutputIcon:Jy,FolderPen:xn,FolderPenIcon:xn,FolderPlus:Ac,FolderPlusIcon:Ac,FolderRoot:Qy,FolderRootIcon:Qy,FolderSearch:t4,FolderSearch2:e4,FolderSearch2Icon:e4,FolderSearchIcon:t4,FolderSymlink:a4,FolderSymlinkIcon:a4,FolderSync:n4,FolderSyncIcon:n4,FolderTree:o4,FolderTreeIcon:o4,FolderUp:c4,FolderUpIcon:c4,FolderX:i4,FolderXIcon:i4,Folders:r4,FoldersIcon:r4,Footprints:s4,FootprintsIcon:s4,ForkKnife:bc,ForkKnifeCrossed:Ic,ForkKnifeCrossedIcon:Ic,ForkKnifeIcon:bc,Forklift:d4,ForkliftIcon:d4,FormInput:ao,FormInputIcon:ao,Forward:l4,ForwardIcon:l4,Frame:h4,FrameIcon:h4,Framer:u4,FramerIcon:u4,Frown:p4,FrownIcon:p4,Fuel:y4,FuelIcon:y4,Fullscreen:k4,FullscreenIcon:k4,FunctionSquare:Bo,FunctionSquareIcon:Bo,Funnel:At,FunnelIcon:At,FunnelPlus:m4,FunnelPlusIcon:m4,FunnelX:Mn,FunnelXIcon:Mn,GalleryHorizontal:g4,GalleryHorizontalEnd:f4,GalleryHorizontalEndIcon:f4,GalleryHorizontalIcon:g4,GalleryThumbnails:v4,GalleryThumbnailsIcon:v4,GalleryVertical:M4,GalleryVerticalEnd:x4,GalleryVerticalEndIcon:x4,GalleryVerticalIcon:M4,Gamepad:L4,Gamepad2:_4,Gamepad2Icon:_4,GamepadIcon:L4,GanttChart:fa,GanttChartIcon:fa,GanttChartSquare:yt,GanttChartSquareIcon:yt,Gauge:I4,GaugeCircle:Pa,GaugeCircleIcon:Pa,GaugeIcon:I4,Gavel:b4,GavelIcon:b4,Gem:w4,GemIcon:w4,GeorgianLari:C4,GeorgianLariIcon:C4,Ghost:N4,GhostIcon:N4,Gift:S4,GiftIcon:S4,GitBranch:$4,GitBranchIcon:$4,GitBranchPlus:j4,GitBranchPlusIcon:j4,GitCommit:_n,GitCommitHorizontal:_n,GitCommitHorizontalIcon:_n,GitCommitIcon:_n,GitCommitVertical:q4,GitCommitVerticalIcon:q4,GitCompare:z4,GitCompareArrows:A4,GitCompareArrowsIcon:A4,GitCompareIcon:z4,GitFork:V4,GitForkIcon:V4,GitGraph:P4,GitGraphIcon:P4,GitMerge:T4,GitMergeIcon:T4,GitPullRequest:E4,GitPullRequestArrow:H4,GitPullRequestArrowIcon:H4,GitPullRequestClosed:D4,GitPullRequestClosedIcon:D4,GitPullRequestCreate:R4,GitPullRequestCreateArrow:B4,GitPullRequestCreateArrowIcon:B4,GitPullRequestCreateIcon:R4,GitPullRequestDraft:F4,GitPullRequestDraftIcon:F4,GitPullRequestIcon:E4,Github:O4,GithubIcon:O4,Gitlab:U4,GitlabIcon:U4,GlassWater:W4,GlassWaterIcon:W4,Glasses:G4,GlassesIcon:G4,Globe:Z4,Globe2:on,Globe2Icon:on,GlobeIcon:Z4,GlobeLock:K4,GlobeLockIcon:K4,Goal:X4,GoalIcon:X4,Gpu:Y4,GpuIcon:Y4,Grab:Cn,GrabIcon:Cn,GraduationCap:J4,GraduationCapIcon:J4,Grape:Q4,GrapeIcon:Q4,Grid:pt,Grid2X2:wn,Grid2X2Check:Ln,Grid2X2CheckIcon:Ln,Grid2X2Icon:wn,Grid2X2Plus:In,Grid2X2PlusIcon:In,Grid2X2X:bn,Grid2X2XIcon:bn,Grid2x2:wn,Grid2x2Check:Ln,Grid2x2CheckIcon:Ln,Grid2x2Icon:wn,Grid2x2Plus:In,Grid2x2PlusIcon:In,Grid2x2X:bn,Grid2x2XIcon:bn,Grid3X3:pt,Grid3X3Icon:pt,Grid3x2:e5,Grid3x2Icon:e5,Grid3x3:pt,Grid3x3Icon:pt,GridIcon:pt,Grip:a5,GripHorizontal:t5,GripHorizontalIcon:t5,GripIcon:a5,GripVertical:A1,GripVerticalIcon:A1,Group:n5,GroupIcon:n5,Guitar:o5,GuitarIcon:o5,Ham:c5,HamIcon:c5,Hamburger:i5,HamburgerIcon:i5,Hammer:r5,HammerIcon:r5,Hand:p5,HandCoins:s5,HandCoinsIcon:s5,HandFist:d5,HandFistIcon:d5,HandGrab:Cn,HandGrabIcon:Cn,HandHeart:l5,HandHeartIcon:l5,HandHelping:Nn,HandHelpingIcon:Nn,HandIcon:p5,HandMetal:h5,HandMetalIcon:h5,HandPlatter:u5,HandPlatterIcon:u5,Handbag:y5,HandbagIcon:y5,Handshake:k5,HandshakeIcon:k5,HardDrive:g5,HardDriveDownload:m5,HardDriveDownloadIcon:m5,HardDriveIcon:g5,HardDriveUpload:f5,HardDriveUploadIcon:f5,HardHat:v5,HardHatIcon:v5,Hash:x5,HashIcon:x5,HatGlasses:M5,HatGlassesIcon:M5,Haze:_5,HazeIcon:_5,HdmiPort:L5,HdmiPortIcon:L5,Heading:j5,Heading1:I5,Heading1Icon:I5,Heading2:b5,Heading2Icon:b5,Heading3:w5,Heading3Icon:w5,Heading4:C5,Heading4Icon:C5,Heading5:N5,Heading5Icon:N5,Heading6:S5,Heading6Icon:S5,HeadingIcon:j5,HeadphoneOff:$5,HeadphoneOffIcon:$5,Headphones:q5,HeadphonesIcon:q5,Headset:A5,HeadsetIcon:A5,Heart:B5,HeartCrack:z5,HeartCrackIcon:z5,HeartHandshake:V5,HeartHandshakeIcon:V5,HeartIcon:B5,HeartMinus:P5,HeartMinusIcon:P5,HeartOff:T5,HeartOffIcon:T5,HeartPlus:H5,HeartPlusIcon:H5,HeartPulse:D5,HeartPulseIcon:D5,Heater:R5,HeaterIcon:R5,HelpCircle:ht,HelpCircleIcon:ht,HelpingHand:Nn,HelpingHandIcon:Nn,Hexagon:F5,HexagonIcon:F5,Highlighter:E5,HighlighterIcon:E5,History:O5,HistoryIcon:O5,Home:zt,HomeIcon:zt,Hop:W5,HopIcon:W5,HopOff:U5,HopOffIcon:U5,Hospital:z1,HospitalIcon:z1,Hotel:G5,HotelIcon:G5,Hourglass:K5,HourglassIcon:K5,House:zt,HouseIcon:zt,HousePlug:Z5,HousePlugIcon:Z5,HousePlus:Y5,HousePlusIcon:Y5,HouseWifi:X5,HouseWifiIcon:X5,IceCream:jn,IceCream2:Sn,IceCream2Icon:Sn,IceCreamBowl:Sn,IceCreamBowlIcon:Sn,IceCreamCone:jn,IceCreamConeIcon:jn,IceCreamIcon:jn,Icon:a.Icon,IdCard:Q5,IdCardIcon:Q5,IdCardLanyard:J5,IdCardLanyardIcon:J5,Image:rk,ImageDown:ek,ImageDownIcon:ek,ImageIcon:rk,ImageMinus:tk,ImageMinusIcon:tk,ImageOff:ak,ImageOffIcon:ak,ImagePlay:nk,ImagePlayIcon:nk,ImagePlus:ok,ImagePlusIcon:ok,ImageUp:ck,ImageUpIcon:ck,ImageUpscale:ik,ImageUpscaleIcon:ik,Images:sk,ImagesIcon:sk,Import:dk,ImportIcon:dk,Inbox:lk,InboxIcon:lk,Indent:qn,IndentDecrease:$n,IndentDecreaseIcon:$n,IndentIcon:qn,IndentIncrease:qn,IndentIncreaseIcon:qn,IndianRupee:hk,IndianRupeeIcon:hk,Infinity:uk,InfinityIcon:uk,Info:pk,InfoIcon:pk,Inspect:Go,InspectIcon:Go,InspectionPanel:yk,InspectionPanelIcon:yk,Instagram:kk,InstagramIcon:kk,Italic:mk,ItalicIcon:mk,IterationCcw:fk,IterationCcwIcon:fk,IterationCw:gk,IterationCwIcon:gk,JapaneseYen:xk,JapaneseYenIcon:xk,Joystick:vk,JoystickIcon:vk,Kanban:Mk,KanbanIcon:Mk,KanbanSquare:Ro,KanbanSquareDashed:zo,KanbanSquareDashedIcon:zo,KanbanSquareIcon:Ro,Kayak:_k,KayakIcon:_k,Key:bk,KeyIcon:bk,KeyRound:Lk,KeyRoundIcon:Lk,KeySquare:Ik,KeySquareIcon:Ik,Keyboard:Nk,KeyboardIcon:Nk,KeyboardMusic:wk,KeyboardMusicIcon:wk,KeyboardOff:Ck,KeyboardOffIcon:Ck,Lamp:zk,LampCeiling:Sk,LampCeilingIcon:Sk,LampDesk:$k,LampDeskIcon:$k,LampFloor:jk,LampFloorIcon:jk,LampIcon:zk,LampWallDown:qk,LampWallDownIcon:qk,LampWallUp:Ak,LampWallUpIcon:Ak,LandPlot:Vk,LandPlotIcon:Vk,Landmark:Pk,LandmarkIcon:Pk,Languages:Tk,LanguagesIcon:Tk,Laptop:Dk,Laptop2:An,Laptop2Icon:An,LaptopIcon:Dk,LaptopMinimal:An,LaptopMinimalCheck:Hk,LaptopMinimalCheckIcon:Hk,LaptopMinimalIcon:An,Lasso:Rk,LassoIcon:Rk,LassoSelect:Bk,LassoSelectIcon:Bk,Laugh:Fk,LaughIcon:Fk,Layers:zn,Layers2:Ek,Layers2Icon:Ek,Layers3:zn,Layers3Icon:zn,LayersIcon:zn,Layout:eo,LayoutDashboard:Ok,LayoutDashboardIcon:Ok,LayoutGrid:Uk,LayoutGridIcon:Uk,LayoutIcon:eo,LayoutList:Wk,LayoutListIcon:Wk,LayoutPanelLeft:Gk,LayoutPanelLeftIcon:Gk,LayoutPanelTop:Kk,LayoutPanelTopIcon:Kk,LayoutTemplate:Zk,LayoutTemplateIcon:Zk,Leaf:Xk,LeafIcon:Xk,LeafyGreen:Jk,LeafyGreenIcon:Jk,Lectern:Yk,LecternIcon:Yk,LetterText:Qk,LetterTextIcon:Qk,Library:tm,LibraryBig:em,LibraryBigIcon:em,LibraryIcon:tm,LibrarySquare:Fo,LibrarySquareIcon:Fo,LifeBuoy:am,LifeBuoyIcon:am,Ligature:nm,LigatureIcon:nm,Lightbulb:cm,LightbulbIcon:cm,LightbulbOff:om,LightbulbOffIcon:om,LineChart:ya,LineChartIcon:ya,LineSquiggle:im,LineSquiggleIcon:im,Link:dm,Link2:rm,Link2Icon:rm,Link2Off:sm,Link2OffIcon:sm,LinkIcon:dm,Linkedin:lm,LinkedinIcon:lm,List:Cm,ListCheck:hm,ListCheckIcon:hm,ListChecks:um,ListChecksIcon:um,ListCollapse:pm,ListCollapseIcon:pm,ListEnd:ym,ListEndIcon:ym,ListFilter:fm,ListFilterIcon:fm,ListFilterPlus:km,ListFilterPlusIcon:km,ListIcon:Cm,ListMinus:mm,ListMinusIcon:mm,ListMusic:gm,ListMusicIcon:gm,ListOrdered:vm,ListOrderedIcon:vm,ListPlus:xm,ListPlusIcon:xm,ListRestart:Mm,ListRestartIcon:Mm,ListStart:_m,ListStartIcon:_m,ListTodo:Lm,ListTodoIcon:Lm,ListTree:Im,ListTreeIcon:Im,ListVideo:bm,ListVideoIcon:bm,ListX:wm,ListXIcon:wm,Loader:Sm,Loader2:Vn,Loader2Icon:Vn,LoaderCircle:Vn,LoaderCircleIcon:Vn,LoaderIcon:Sm,LoaderPinwheel:Nm,LoaderPinwheelIcon:Nm,Locate:qm,LocateFixed:jm,LocateFixedIcon:jm,LocateIcon:qm,LocateOff:$m,LocateOffIcon:$m,LocationEdit:Dn,LocationEditIcon:Dn,Lock:zm,LockIcon:zm,LockKeyhole:Am,LockKeyholeIcon:Am,LockKeyholeOpen:Pn,LockKeyholeOpenIcon:Pn,LockOpen:Tn,LockOpenIcon:Tn,LogIn:Vm,LogInIcon:Vm,LogOut:Pm,LogOutIcon:Pm,Logs:Tm,LogsIcon:Tm,Lollipop:Hm,LollipopIcon:Hm,LucideAArrowDown:mi,LucideAArrowUp:fi,LucideALargeSmall:gi,LucideAccessibility:I1,LucideActivity:b1,LucideActivitySquare:Vt,LucideAirVent:vi,LucideAirplay:xi,LucideAlarmCheck:Ot,LucideAlarmClock:_i,LucideAlarmClockCheck:Ot,LucideAlarmClockMinus:Ut,LucideAlarmClockOff:Mi,LucideAlarmClockPlus:Wt,LucideAlarmMinus:Ut,LucideAlarmPlus:Wt,LucideAlarmSmoke:Li,LucideAlbum:Ii,LucideAlertCircle:xa,LucideAlertOctagon:En,LucideAlertTriangle:yc,LucideAlignCenter:ji,LucideAlignCenterHorizontal:bi,LucideAlignCenterVertical:wi,LucideAlignEndHorizontal:Ci,LucideAlignEndVertical:Ni,LucideAlignHorizontalDistributeCenter:Si,LucideAlignHorizontalDistributeEnd:$i,LucideAlignHorizontalDistributeStart:qi,LucideAlignHorizontalJustifyCenter:Ai,LucideAlignHorizontalJustifyEnd:zi,LucideAlignHorizontalJustifyStart:Vi,LucideAlignHorizontalSpaceAround:Pi,LucideAlignHorizontalSpaceBetween:Hi,LucideAlignJustify:Ti,LucideAlignLeft:Di,LucideAlignRight:Bi,LucideAlignStartHorizontal:Ri,LucideAlignStartVertical:Fi,LucideAlignVerticalDistributeCenter:Oi,LucideAlignVerticalDistributeEnd:Ei,LucideAlignVerticalDistributeStart:Wi,LucideAlignVerticalJustifyCenter:Ui,LucideAlignVerticalJustifyEnd:Gi,LucideAlignVerticalJustifyStart:Ki,LucideAlignVerticalSpaceAround:Xi,LucideAlignVerticalSpaceBetween:Zi,LucideAmbulance:Yi,LucideAmpersand:Ji,LucideAmpersands:Qi,LucideAmphora:er,LucideAnchor:tr,LucideAngry:ar,LucideAnnoyed:nr,LucideAntenna:or,LucideAnvil:cr,LucideAperture:ir,LucideAppWindow:sr,LucideAppWindowMac:rr,LucideApple:dr,LucideArchive:ur,LucideArchiveRestore:lr,LucideArchiveX:hr,LucideAreaChart:ra,LucideArmchair:pr,LucideArrowBigDown:kr,LucideArrowBigDownDash:yr,LucideArrowBigLeft:fr,LucideArrowBigLeftDash:mr,LucideArrowBigRight:vr,LucideArrowBigRightDash:gr,LucideArrowBigUp:Mr,LucideArrowBigUpDash:xr,LucideArrowDown:e1,LucideArrowDown01:_r,LucideArrowDown10:Lr,LucideArrowDownAZ:Gt,LucideArrowDownAz:Gt,LucideArrowDownCircle:Ma,LucideArrowDownFromLine:Ir,LucideArrowDownLeft:br,LucideArrowDownLeftFromCircle:La,LucideArrowDownLeftFromSquare:fo,LucideArrowDownLeftSquare:po,LucideArrowDownNarrowWide:wr,LucideArrowDownRight:Cr,LucideArrowDownRightFromCircle:Ia,LucideArrowDownRightFromSquare:go,LucideArrowDownRightSquare:yo,LucideArrowDownSquare:ko,LucideArrowDownToDot:Nr,LucideArrowDownToLine:Sr,LucideArrowDownUp:jr,LucideArrowDownWideNarrow:Kt,LucideArrowDownZA:Zt,LucideArrowDownZa:Zt,LucideArrowLeft:w1,LucideArrowLeftCircle:_a,LucideArrowLeftFromLine:$r,LucideArrowLeftRight:qr,LucideArrowLeftSquare:mo,LucideArrowLeftToLine:Ar,LucideArrowRight:Tr,LucideArrowRightCircle:Ca,LucideArrowRightFromLine:zr,LucideArrowRightLeft:Vr,LucideArrowRightSquare:Mo,LucideArrowRightToLine:Pr,LucideArrowUp:t1,LucideArrowUp01:Hr,LucideArrowUp10:Dr,LucideArrowUpAZ:Xt,LucideArrowUpAz:Xt,LucideArrowUpCircle:Na,LucideArrowUpDown:Br,LucideArrowUpFromDot:Rr,LucideArrowUpFromLine:Fr,LucideArrowUpLeft:Er,LucideArrowUpLeftFromCircle:ba,LucideArrowUpLeftFromSquare:vo,LucideArrowUpLeftSquare:_o,LucideArrowUpNarrowWide:Yt,LucideArrowUpRight:Or,LucideArrowUpRightFromCircle:wa,LucideArrowUpRightFromSquare:xo,LucideArrowUpRightSquare:Lo,LucideArrowUpSquare:Io,LucideArrowUpToLine:Ur,LucideArrowUpWideNarrow:Wr,LucideArrowUpZA:Jt,LucideArrowUpZa:Jt,LucideArrowsUpFromLine:Gr,LucideAsterisk:Kr,LucideAsteriskSquare:bo,LucideAtSign:Zr,LucideAtom:Xr,LucideAudioLines:Yr,LucideAudioWaveform:Jr,LucideAward:Qr,LucideAxe:es,LucideAxis3D:Qt,LucideAxis3d:Qt,LucideBaby:ts,LucideBackpack:as,LucideBadge:gs,LucideBadgeAlert:ns,LucideBadgeCent:os,LucideBadgeCheck:ea,LucideBadgeDollarSign:cs,LucideBadgeEuro:is,LucideBadgeHelp:ta,LucideBadgeIndianRupee:rs,LucideBadgeInfo:ss,LucideBadgeJapaneseYen:ls,LucideBadgeMinus:ds,LucideBadgePercent:hs,LucideBadgePlus:us,LucideBadgePoundSterling:ps,LucideBadgeQuestionMark:ta,LucideBadgeRussianRuble:ys,LucideBadgeSwissFranc:ks,LucideBadgeTurkishLira:ms,LucideBadgeX:fs,LucideBaggageClaim:vs,LucideBan:xs,LucideBanana:Ms,LucideBandage:_s,LucideBanknote:ws,LucideBanknoteArrowDown:Ls,LucideBanknoteArrowUp:Is,LucideBanknoteX:bs,LucideBarChart:ka,LucideBarChart2:ma,LucideBarChart3:pa,LucideBarChart4:ua,LucideBarChartBig:ha,LucideBarChartHorizontal:da,LucideBarChartHorizontalBig:sa,LucideBarcode:Cs,LucideBarrel:Ns,LucideBaseline:Ss,LucideBath:js,LucideBattery:Ts,LucideBatteryCharging:$s,LucideBatteryFull:qs,LucideBatteryLow:As,LucideBatteryMedium:zs,LucideBatteryPlus:Vs,LucideBatteryWarning:Ps,LucideBeaker:Hs,LucideBean:Bs,LucideBeanOff:Ds,LucideBed:Es,LucideBedDouble:Rs,LucideBedSingle:Fs,LucideBeef:Os,LucideBeer:Ws,LucideBeerOff:Us,LucideBell:Js,LucideBellDot:Gs,LucideBellElectric:Ks,LucideBellMinus:Zs,LucideBellOff:Xs,LucideBellPlus:Ys,LucideBellRing:Qs,LucideBetweenHorizonalEnd:aa,LucideBetweenHorizonalStart:na,LucideBetweenHorizontalEnd:aa,LucideBetweenHorizontalStart:na,LucideBetweenVerticalEnd:t2,LucideBetweenVerticalStart:e2,LucideBicepsFlexed:a2,LucideBike:o2,LucideBinary:n2,LucideBinoculars:c2,LucideBiohazard:i2,LucideBird:r2,LucideBitcoin:s2,LucideBlend:d2,LucideBlinds:l2,LucideBlocks:h2,LucideBluetooth:k2,LucideBluetoothConnected:u2,LucideBluetoothOff:p2,LucideBluetoothSearching:y2,LucideBold:m2,LucideBolt:f2,LucideBomb:g2,LucideBone:v2,LucideBook:E2,LucideBookA:x2,LucideBookAlert:M2,LucideBookAudio:_2,LucideBookCheck:L2,LucideBookCopy:I2,LucideBookDashed:oa,LucideBookDown:b2,LucideBookHeadphones:w2,LucideBookHeart:C2,LucideBookImage:N2,LucideBookKey:S2,LucideBookLock:j2,LucideBookMarked:q2,LucideBookMinus:$2,LucideBookOpen:V2,LucideBookOpenCheck:A2,LucideBookOpenText:z2,LucideBookPlus:P2,LucideBookTemplate:oa,LucideBookText:T2,LucideBookType:H2,LucideBookUp:B2,LucideBookUp2:D2,LucideBookUser:R2,LucideBookX:F2,LucideBookmark:K2,LucideBookmarkCheck:O2,LucideBookmarkMinus:U2,LucideBookmarkPlus:W2,LucideBookmarkX:G2,LucideBoomBox:Z2,LucideBot:J2,LucideBotMessageSquare:X2,LucideBotOff:Y2,LucideBottleWine:Q2,LucideBowArrow:ed,LucideBox:td,LucideBoxSelect:Po,LucideBoxes:ad,LucideBraces:ca,LucideBrackets:nd,LucideBrain:id,LucideBrainCircuit:od,LucideBrainCog:cd,LucideBrickWall:dd,LucideBrickWallFire:rd,LucideBrickWallShield:sd,LucideBriefcase:pd,LucideBriefcaseBusiness:ld,LucideBriefcaseConveyorBelt:hd,LucideBriefcaseMedical:ud,LucideBringToFront:yd,LucideBrush:md,LucideBrushCleaning:kd,LucideBubbles:fd,LucideBug:Md,LucideBugOff:gd,LucideBugPlay:vd,LucideBuilding:_d,LucideBuilding2:xd,LucideBus:Id,LucideBusFront:Ld,LucideCable:wd,LucideCableCar:bd,LucideCake:Nd,LucideCakeSlice:Cd,LucideCalculator:Sd,LucideCalendar:C1,LucideCalendar1:jd,LucideCalendarArrowDown:$d,LucideCalendarArrowUp:qd,LucideCalendarCheck:zd,LucideCalendarCheck2:Ad,LucideCalendarClock:Vd,LucideCalendarCog:Pd,LucideCalendarDays:Td,LucideCalendarFold:Hd,LucideCalendarHeart:Dd,LucideCalendarMinus:Rd,LucideCalendarMinus2:Bd,LucideCalendarOff:Fd,LucideCalendarPlus:Od,LucideCalendarPlus2:Ed,LucideCalendarRange:Ud,LucideCalendarSearch:Wd,LucideCalendarSync:Gd,LucideCalendarX:Zd,LucideCalendarX2:Kd,LucideCamera:Yd,LucideCameraOff:Xd,LucideCandlestickChart:la,LucideCandy:e0,LucideCandyCane:Jd,LucideCandyOff:Qd,LucideCannabis:t0,LucideCaptions:ia,LucideCaptionsOff:a0,LucideCar:c0,LucideCarFront:n0,LucideCarTaxiFront:o0,LucideCaravan:i0,LucideCardSim:r0,LucideCarrot:s0,LucideCaseLower:d0,LucideCaseSensitive:l0,LucideCaseUpper:h0,LucideCassetteTape:u0,LucideCast:p0,LucideCastle:k0,LucideCat:y0,LucideCctv:m0,LucideChartArea:ra,LucideChartBar:da,LucideChartBarBig:sa,LucideChartBarDecreasing:f0,LucideChartBarIncreasing:g0,LucideChartBarStacked:v0,LucideChartCandlestick:la,LucideChartColumn:pa,LucideChartColumnBig:ha,LucideChartColumnDecreasing:x0,LucideChartColumnIncreasing:ua,LucideChartColumnStacked:M0,LucideChartGantt:_0,LucideChartLine:ya,LucideChartNetwork:L0,LucideChartNoAxesColumn:ma,LucideChartNoAxesColumnDecreasing:I0,LucideChartNoAxesColumnIncreasing:ka,LucideChartNoAxesCombined:b0,LucideChartNoAxesGantt:fa,LucideChartPie:ga,LucideChartScatter:va,LucideChartSpline:w0,LucideCheck:N1,LucideCheckCheck:C0,LucideCheckCircle:Sa,LucideCheckCircle2:ja,LucideCheckLine:N0,LucideCheckSquare:Co,LucideCheckSquare2:No,LucideChefHat:S0,LucideCherry:j0,LucideChevronDown:Ht,LucideChevronDownCircle:$a,LucideChevronDownSquare:So,LucideChevronFirst:$0,LucideChevronLast:q0,LucideChevronLeft:A0,LucideChevronLeftCircle:qa,LucideChevronLeftSquare:jo,LucideChevronRight:S1,LucideChevronRightCircle:Aa,LucideChevronRightSquare:$o,LucideChevronUp:qc,LucideChevronUpCircle:za,LucideChevronUpSquare:qo,LucideChevronsDown:V0,LucideChevronsDownUp:z0,LucideChevronsLeft:T0,LucideChevronsLeftRight:P0,LucideChevronsLeftRightEllipsis:H0,LucideChevronsRight:B0,LucideChevronsRightLeft:D0,LucideChevronsUp:R0,LucideChevronsUpDown:a1,LucideChrome:F0,LucideChurch:E0,LucideCigarette:U0,LucideCigaretteOff:O0,LucideCircle:cl,LucideCircleAlert:xa,LucideCircleArrowDown:Ma,LucideCircleArrowLeft:_a,LucideCircleArrowOutDownLeft:La,LucideCircleArrowOutDownRight:Ia,LucideCircleArrowOutUpLeft:ba,LucideCircleArrowOutUpRight:wa,LucideCircleArrowRight:Ca,LucideCircleArrowUp:Na,LucideCircleCheck:ja,LucideCircleCheckBig:Sa,LucideCircleChevronDown:$a,LucideCircleChevronLeft:qa,LucideCircleChevronRight:Aa,LucideCircleChevronUp:za,LucideCircleDashed:W0,LucideCircleDivide:Va,LucideCircleDollarSign:K0,LucideCircleDot:Z0,LucideCircleDotDashed:G0,LucideCircleEllipsis:X0,LucideCircleEqual:Y0,LucideCircleFadingArrowUp:Q0,LucideCircleFadingPlus:J0,LucideCircleGauge:Pa,LucideCircleHelp:ht,LucideCircleMinus:Ta,LucideCircleOff:el,LucideCircleParking:Ba,LucideCircleParkingOff:Ha,LucideCirclePause:Da,LucideCirclePercent:Ra,LucideCirclePlay:Fa,LucideCirclePlus:Ea,LucideCirclePoundSterling:tl,LucideCirclePower:Oa,LucideCircleQuestionMark:ht,LucideCircleSlash:al,LucideCircleSlash2:Ua,LucideCircleSlashed:Ua,LucideCircleSmall:nl,LucideCircleStar:ol,LucideCircleStop:Wa,LucideCircleUser:Ka,LucideCircleUserRound:Ga,LucideCircleX:qt,LucideCircuitBoard:il,LucideCitrus:rl,LucideClapperboard:sl,LucideClipboard:gl,LucideClipboardCheck:dl,LucideClipboardClock:ll,LucideClipboardCopy:hl,LucideClipboardEdit:Xa,LucideClipboardList:ul,LucideClipboardMinus:pl,LucideClipboardPaste:yl,LucideClipboardPen:Xa,LucideClipboardPenLine:Za,LucideClipboardPlus:kl,LucideClipboardSignature:Za,LucideClipboardType:ml,LucideClipboardX:fl,LucideClock:Pl,LucideClock1:xl,LucideClock10:vl,LucideClock11:Ml,LucideClock12:_l,LucideClock2:Ll,LucideClock3:Il,LucideClock4:bl,LucideClock5:wl,LucideClock6:Cl,LucideClock7:Nl,LucideClock8:Sl,LucideClock9:jl,LucideClockAlert:$l,LucideClockArrowDown:ql,LucideClockArrowUp:Al,LucideClockFading:zl,LucideClockPlus:Vl,LucideClosedCaption:Tl,LucideCloud:Ql,LucideCloudAlert:Hl,LucideCloudCheck:Dl,LucideCloudCog:Bl,LucideCloudDownload:Ya,LucideCloudDrizzle:Rl,LucideCloudFog:Fl,LucideCloudHail:El,LucideCloudLightning:Ol,LucideCloudMoon:Wl,LucideCloudMoonRain:Ul,LucideCloudOff:Gl,LucideCloudRain:Zl,LucideCloudRainWind:Kl,LucideCloudSnow:Xl,LucideCloudSun:Jl,LucideCloudSunRain:Yl,LucideCloudUpload:Ja,LucideCloudy:eh,LucideClover:th,LucideClub:ah,LucideCode:nh,LucideCode2:Qa,LucideCodeSquare:Ao,LucideCodeXml:Qa,LucideCodepen:oh,LucideCodesandbox:ch,LucideCoffee:ih,LucideCog:rh,LucideCoins:sh,LucideColumns:en,LucideColumns2:en,LucideColumns3:tn,LucideColumns3Cog:ut,LucideColumns4:dh,LucideColumnsSettings:ut,LucideCombine:lh,LucideCommand:hh,LucideCompass:uh,LucideComponent:ph,LucideComputer:yh,LucideConciergeBell:kh,LucideCone:mh,LucideConstruction:fh,LucideContact:gh,LucideContact2:an,LucideContactRound:an,LucideContainer:vh,LucideContrast:Mh,LucideCookie:xh,LucideCookingPot:Lh,LucideCopy:Nh,LucideCopyCheck:_h,LucideCopyMinus:Ih,LucideCopyPlus:bh,LucideCopySlash:wh,LucideCopyX:Ch,LucideCopyleft:Sh,LucideCopyright:jh,LucideCornerDownLeft:$h,LucideCornerDownRight:qh,LucideCornerLeftDown:Ah,LucideCornerLeftUp:zh,LucideCornerRightDown:Vh,LucideCornerRightUp:Ph,LucideCornerUpLeft:Th,LucideCornerUpRight:Hh,LucideCpu:Dh,LucideCreativeCommons:Bh,LucideCreditCard:Rh,LucideCroissant:Fh,LucideCrop:Eh,LucideCross:Oh,LucideCrosshair:Uh,LucideCrown:Wh,LucideCuboid:Gh,LucideCupSoda:Kh,LucideCurlyBraces:ca,LucideCurrency:Zh,LucideCylinder:Xh,LucideDam:Yh,LucideDatabase:eu,LucideDatabaseBackup:Jh,LucideDatabaseZap:Qh,LucideDecimalsArrowLeft:tu,LucideDecimalsArrowRight:au,LucideDelete:nu,LucideDessert:ou,LucideDiameter:cu,LucideDiamond:su,LucideDiamondMinus:iu,LucideDiamondPercent:nn,LucideDiamondPlus:ru,LucideDice1:du,LucideDice2:lu,LucideDice3:hu,LucideDice4:uu,LucideDice5:pu,LucideDice6:yu,LucideDices:ku,LucideDiff:mu,LucideDisc:xu,LucideDisc2:fu,LucideDisc3:gu,LucideDiscAlbum:vu,LucideDivide:Mu,LucideDivideCircle:Va,LucideDivideSquare:To,LucideDna:Lu,LucideDnaOff:_u,LucideDock:Iu,LucideDog:bu,LucideDollarSign:wu,LucideDonut:Cu,LucideDoorClosed:Su,LucideDoorClosedLocked:Nu,LucideDoorOpen:ju,LucideDot:$u,LucideDotSquare:Do,LucideDownload:Au,LucideDownloadCloud:Ya,LucideDraftingCompass:qu,LucideDrama:zu,LucideDribbble:Vu,LucideDrill:Pu,LucideDrone:Tu,LucideDroplet:Du,LucideDropletOff:Hu,LucideDroplets:Bu,LucideDrum:Ru,LucideDrumstick:Fu,LucideDumbbell:Eu,LucideEar:Uu,LucideEarOff:Ou,LucideEarth:on,LucideEarthLock:Wu,LucideEclipse:Gu,LucideEdit:Ge,LucideEdit2:xt,LucideEdit3:vt,LucideEgg:Xu,LucideEggFried:Ku,LucideEggOff:Zu,LucideEllipsis:rn,LucideEllipsisVertical:cn,LucideEqual:Qu,LucideEqualApproximately:Yu,LucideEqualNot:Ju,LucideEqualSquare:Ho,LucideEraser:ep,LucideEthernetPort:tp,LucideEuro:ap,LucideExpand:op,LucideExternalLink:np,LucideEye:$1,LucideEyeClosed:cp,LucideEyeOff:j1,LucideFacebook:ip,LucideFactory:rp,LucideFan:sp,LucideFastForward:dp,LucideFeather:lp,LucideFence:hp,LucideFerrisWheel:up,LucideFigma:pp,LucideFile:ry,LucideFileArchive:yp,LucideFileAudio:mp,LucideFileAudio2:kp,LucideFileAxis3D:sn,LucideFileAxis3d:sn,LucideFileBadge:vp,LucideFileBadge2:fp,LucideFileBarChart:dn,LucideFileBarChart2:ln,LucideFileBox:gp,LucideFileChartColumn:ln,LucideFileChartColumnIncreasing:dn,LucideFileChartLine:hn,LucideFileChartPie:un,LucideFileCheck:Mp,LucideFileCheck2:xp,LucideFileClock:_p,LucideFileCode:Lp,LucideFileCode2:Ip,LucideFileCog:pn,LucideFileCog2:pn,LucideFileDiff:bp,LucideFileDigit:wp,LucideFileDown:Cp,LucideFileEdit:kn,LucideFileHeart:Np,LucideFileImage:Sp,LucideFileInput:jp,LucideFileJson:qp,LucideFileJson2:$p,LucideFileKey:zp,LucideFileKey2:Ap,LucideFileLineChart:hn,LucideFileLock:Pp,LucideFileLock2:Vp,LucideFileMinus:Hp,LucideFileMinus2:Tp,LucideFileMusic:Dp,LucideFileOutput:Bp,LucideFilePen:kn,LucideFilePenLine:yn,LucideFilePieChart:un,LucideFilePlay:mn,LucideFilePlus:Fp,LucideFilePlus2:Rp,LucideFileQuestion:fn,LucideFileQuestionMark:fn,LucideFileScan:Ep,LucideFileSearch:Up,LucideFileSearch2:Op,LucideFileSignature:yn,LucideFileSliders:Wp,LucideFileSpreadsheet:Gp,LucideFileStack:Kp,LucideFileSymlink:Zp,LucideFileTerminal:Xp,LucideFileText:Yp,LucideFileType:Qp,LucideFileType2:Jp,LucideFileUp:ey,LucideFileUser:ty,LucideFileVideo:mn,LucideFileVideo2:gn,LucideFileVideoCamera:gn,LucideFileVolume:ny,LucideFileVolume2:ay,LucideFileWarning:oy,LucideFileX:iy,LucideFileX2:cy,LucideFiles:sy,LucideFilm:dy,LucideFilter:At,LucideFilterX:Mn,LucideFingerprint:ly,LucideFireExtinguisher:hy,LucideFish:py,LucideFishOff:uy,LucideFishSymbol:yy,LucideFlag:gy,LucideFlagOff:ky,LucideFlagTriangleLeft:my,LucideFlagTriangleRight:fy,LucideFlame:xy,LucideFlameKindling:vy,LucideFlashlight:_y,LucideFlashlightOff:My,LucideFlaskConical:Iy,LucideFlaskConicalOff:Ly,LucideFlaskRound:by,LucideFlipHorizontal:Cy,LucideFlipHorizontal2:wy,LucideFlipVertical:Sy,LucideFlipVertical2:Ny,LucideFlower:$y,LucideFlower2:jy,LucideFocus:qy,LucideFoldHorizontal:Ay,LucideFoldVertical:zy,LucideFolder:q1,LucideFolderArchive:Vy,LucideFolderCheck:Py,LucideFolderClock:Ty,LucideFolderClosed:Hy,LucideFolderCode:Dy,LucideFolderCog:vn,LucideFolderCog2:vn,LucideFolderDot:By,LucideFolderDown:Ry,LucideFolderEdit:xn,LucideFolderGit:Ey,LucideFolderGit2:Fy,LucideFolderHeart:Oy,LucideFolderInput:Uy,LucideFolderKanban:Wy,LucideFolderKey:Gy,LucideFolderLock:Ky,LucideFolderMinus:Zy,LucideFolderOpen:Yy,LucideFolderOpenDot:Xy,LucideFolderOutput:Jy,LucideFolderPen:xn,LucideFolderPlus:Ac,LucideFolderRoot:Qy,LucideFolderSearch:t4,LucideFolderSearch2:e4,LucideFolderSymlink:a4,LucideFolderSync:n4,LucideFolderTree:o4,LucideFolderUp:c4,LucideFolderX:i4,LucideFolders:r4,LucideFootprints:s4,LucideForkKnife:bc,LucideForkKnifeCrossed:Ic,LucideForklift:d4,LucideFormInput:ao,LucideForward:l4,LucideFrame:h4,LucideFramer:u4,LucideFrown:p4,LucideFuel:y4,LucideFullscreen:k4,LucideFunctionSquare:Bo,LucideFunnel:At,LucideFunnelPlus:m4,LucideFunnelX:Mn,LucideGalleryHorizontal:g4,LucideGalleryHorizontalEnd:f4,LucideGalleryThumbnails:v4,LucideGalleryVertical:M4,LucideGalleryVerticalEnd:x4,LucideGamepad:L4,LucideGamepad2:_4,LucideGanttChart:fa,LucideGanttChartSquare:yt,LucideGauge:I4,LucideGaugeCircle:Pa,LucideGavel:b4,LucideGem:w4,LucideGeorgianLari:C4,LucideGhost:N4,LucideGift:S4,LucideGitBranch:$4,LucideGitBranchPlus:j4,LucideGitCommit:_n,LucideGitCommitHorizontal:_n,LucideGitCommitVertical:q4,LucideGitCompare:z4,LucideGitCompareArrows:A4,LucideGitFork:V4,LucideGitGraph:P4,LucideGitMerge:T4,LucideGitPullRequest:E4,LucideGitPullRequestArrow:H4,LucideGitPullRequestClosed:D4,LucideGitPullRequestCreate:R4,LucideGitPullRequestCreateArrow:B4,LucideGitPullRequestDraft:F4,LucideGithub:O4,LucideGitlab:U4,LucideGlassWater:W4,LucideGlasses:G4,LucideGlobe:Z4,LucideGlobe2:on,LucideGlobeLock:K4,LucideGoal:X4,LucideGpu:Y4,LucideGrab:Cn,LucideGraduationCap:J4,LucideGrape:Q4,LucideGrid:pt,LucideGrid2X2:wn,LucideGrid2X2Check:Ln,LucideGrid2X2Plus:In,LucideGrid2X2X:bn,LucideGrid2x2:wn,LucideGrid2x2Check:Ln,LucideGrid2x2Plus:In,LucideGrid2x2X:bn,LucideGrid3X3:pt,LucideGrid3x2:e5,LucideGrid3x3:pt,LucideGrip:a5,LucideGripHorizontal:t5,LucideGripVertical:A1,LucideGroup:n5,LucideGuitar:o5,LucideHam:c5,LucideHamburger:i5,LucideHammer:r5,LucideHand:p5,LucideHandCoins:s5,LucideHandFist:d5,LucideHandGrab:Cn,LucideHandHeart:l5,LucideHandHelping:Nn,LucideHandMetal:h5,LucideHandPlatter:u5,LucideHandbag:y5,LucideHandshake:k5,LucideHardDrive:g5,LucideHardDriveDownload:m5,LucideHardDriveUpload:f5,LucideHardHat:v5,LucideHash:x5,LucideHatGlasses:M5,LucideHaze:_5,LucideHdmiPort:L5,LucideHeading:j5,LucideHeading1:I5,LucideHeading2:b5,LucideHeading3:w5,LucideHeading4:C5,LucideHeading5:N5,LucideHeading6:S5,LucideHeadphoneOff:$5,LucideHeadphones:q5,LucideHeadset:A5,LucideHeart:B5,LucideHeartCrack:z5,LucideHeartHandshake:V5,LucideHeartMinus:P5,LucideHeartOff:T5,LucideHeartPlus:H5,LucideHeartPulse:D5,LucideHeater:R5,LucideHelpCircle:ht,LucideHelpingHand:Nn,LucideHexagon:F5,LucideHighlighter:E5,LucideHistory:O5,LucideHome:zt,LucideHop:W5,LucideHopOff:U5,LucideHospital:z1,LucideHotel:G5,LucideHourglass:K5,LucideHouse:zt,LucideHousePlug:Z5,LucideHousePlus:Y5,LucideHouseWifi:X5,LucideIceCream:jn,LucideIceCream2:Sn,LucideIceCreamBowl:Sn,LucideIceCreamCone:jn,LucideIdCard:Q5,LucideIdCardLanyard:J5,LucideImage:rk,LucideImageDown:ek,LucideImageMinus:tk,LucideImageOff:ak,LucideImagePlay:nk,LucideImagePlus:ok,LucideImageUp:ck,LucideImageUpscale:ik,LucideImages:sk,LucideImport:dk,LucideInbox:lk,LucideIndent:qn,LucideIndentDecrease:$n,LucideIndentIncrease:qn,LucideIndianRupee:hk,LucideInfinity:uk,LucideInfo:pk,LucideInspect:Go,LucideInspectionPanel:yk,LucideInstagram:kk,LucideItalic:mk,LucideIterationCcw:fk,LucideIterationCw:gk,LucideJapaneseYen:xk,LucideJoystick:vk,LucideKanban:Mk,LucideKanbanSquare:Ro,LucideKanbanSquareDashed:zo,LucideKayak:_k,LucideKey:bk,LucideKeyRound:Lk,LucideKeySquare:Ik,LucideKeyboard:Nk,LucideKeyboardMusic:wk,LucideKeyboardOff:Ck,LucideLamp:zk,LucideLampCeiling:Sk,LucideLampDesk:$k,LucideLampFloor:jk,LucideLampWallDown:qk,LucideLampWallUp:Ak,LucideLandPlot:Vk,LucideLandmark:Pk,LucideLanguages:Tk,LucideLaptop:Dk,LucideLaptop2:An,LucideLaptopMinimal:An,LucideLaptopMinimalCheck:Hk,LucideLasso:Rk,LucideLassoSelect:Bk,LucideLaugh:Fk,LucideLayers:zn,LucideLayers2:Ek,LucideLayers3:zn,LucideLayout:eo,LucideLayoutDashboard:Ok,LucideLayoutGrid:Uk,LucideLayoutList:Wk,LucideLayoutPanelLeft:Gk,LucideLayoutPanelTop:Kk,LucideLayoutTemplate:Zk,LucideLeaf:Xk,LucideLeafyGreen:Jk,LucideLectern:Yk,LucideLetterText:Qk,LucideLibrary:tm,LucideLibraryBig:em,LucideLibrarySquare:Fo,LucideLifeBuoy:am,LucideLigature:nm,LucideLightbulb:cm,LucideLightbulbOff:om,LucideLineChart:ya,LucideLineSquiggle:im,LucideLink:dm,LucideLink2:rm,LucideLink2Off:sm,LucideLinkedin:lm,LucideList:Cm,LucideListCheck:hm,LucideListChecks:um,LucideListCollapse:pm,LucideListEnd:ym,LucideListFilter:fm,LucideListFilterPlus:km,LucideListMinus:mm,LucideListMusic:gm,LucideListOrdered:vm,LucideListPlus:xm,LucideListRestart:Mm,LucideListStart:_m,LucideListTodo:Lm,LucideListTree:Im,LucideListVideo:bm,LucideListX:wm,LucideLoader:Sm,LucideLoader2:Vn,LucideLoaderCircle:Vn,LucideLoaderPinwheel:Nm,LucideLocate:qm,LucideLocateFixed:jm,LucideLocateOff:$m,LucideLocationEdit:Dn,LucideLock:zm,LucideLockKeyhole:Am,LucideLockKeyholeOpen:Pn,LucideLockOpen:Tn,LucideLogIn:Vm,LucideLogOut:Pm,LucideLogs:Tm,LucideLollipop:Hm,LucideLuggage:Dm,LucideMSquare:Eo,LucideMagnet:Bm,LucideMail:Gm,LucideMailCheck:Rm,LucideMailMinus:Fm,LucideMailOpen:Em,LucideMailPlus:Om,LucideMailQuestion:Hn,LucideMailQuestionMark:Hn,LucideMailSearch:Um,LucideMailWarning:Wm,LucideMailX:Km,LucideMailbox:Zm,LucideMails:Xm,LucideMap:h3,LucideMapMinus:Ym,LucideMapPin:s3,LucideMapPinCheck:Jm,LucideMapPinCheckInside:Qm,LucideMapPinHouse:e3,LucideMapPinMinus:a3,LucideMapPinMinusInside:t3,LucideMapPinOff:n3,LucideMapPinPen:Dn,LucideMapPinPlus:c3,LucideMapPinPlusInside:o3,LucideMapPinX:r3,LucideMapPinXInside:i3,LucideMapPinned:d3,LucideMapPlus:l3,LucideMars:p3,LucideMarsStroke:u3,LucideMartini:y3,LucideMaximize:f3,LucideMaximize2:k3,LucideMedal:m3,LucideMegaphone:v3,LucideMegaphoneOff:g3,LucideMeh:x3,LucideMemoryStick:M3,LucideMenu:n1,LucideMenuSquare:Oo,LucideMerge:_3,LucideMessageCircle:q3,LucideMessageCircleCode:L3,LucideMessageCircleDashed:I3,LucideMessageCircleHeart:b3,LucideMessageCircleMore:w3,LucideMessageCircleOff:C3,LucideMessageCirclePlus:N3,LucideMessageCircleQuestion:Bn,LucideMessageCircleQuestionMark:Bn,LucideMessageCircleReply:S3,LucideMessageCircleWarning:j3,LucideMessageCircleX:$3,LucideMessageSquare:K3,LucideMessageSquareCode:A3,LucideMessageSquareDashed:z3,LucideMessageSquareDiff:V3,LucideMessageSquareDot:P3,LucideMessageSquareHeart:T3,LucideMessageSquareLock:H3,LucideMessageSquareMore:D3,LucideMessageSquareOff:B3,LucideMessageSquarePlus:R3,LucideMessageSquareQuote:F3,LucideMessageSquareReply:E3,LucideMessageSquareShare:O3,LucideMessageSquareText:U3,LucideMessageSquareWarning:W3,LucideMessageSquareX:G3,LucideMessagesSquare:Z3,LucideMic:Y3,LucideMic2:Rn,LucideMicOff:X3,LucideMicVocal:Rn,LucideMicrochip:J3,LucideMicroscope:Q3,LucideMicrowave:ef,LucideMilestone:tf,LucideMilk:nf,LucideMilkOff:af,LucideMinimize:cf,LucideMinimize2:of,LucideMinus:rf,LucideMinusCircle:Ta,LucideMinusSquare:Uo,LucideMonitor:xf,LucideMonitorCheck:sf,LucideMonitorCog:df,LucideMonitorDot:lf,LucideMonitorDown:hf,LucideMonitorOff:uf,LucideMonitorPause:yf,LucideMonitorPlay:pf,LucideMonitorSmartphone:kf,LucideMonitorSpeaker:mf,LucideMonitorStop:ff,LucideMonitorUp:gf,LucideMonitorX:vf,LucideMoon:_f,LucideMoonStar:Mf,LucideMoreHorizontal:rn,LucideMoreVertical:cn,LucideMountain:If,LucideMountainSnow:Lf,LucideMouse:jf,LucideMouseOff:bf,LucideMousePointer:Nf,LucideMousePointer2:wf,LucideMousePointerBan:Cf,LucideMousePointerClick:Sf,LucideMousePointerSquareDashed:Vo,LucideMove:a.Move,LucideMove3D:Fn,LucideMove3d:Fn,LucideMoveDiagonal:qf,LucideMoveDiagonal2:$f,LucideMoveDown:Pf,LucideMoveDownLeft:Af,LucideMoveDownRight:zf,LucideMoveHorizontal:Vf,LucideMoveLeft:Tf,LucideMoveRight:Hf,LucideMoveUp:Rf,LucideMoveUpLeft:Df,LucideMoveUpRight:Bf,LucideMoveVertical:Ff,LucideMusic:Wf,LucideMusic2:Ef,LucideMusic3:Of,LucideMusic4:Uf,LucideNavigation:Xf,LucideNavigation2:Kf,LucideNavigation2Off:Gf,LucideNavigationOff:Zf,LucideNetwork:Yf,LucideNewspaper:Jf,LucideNfc:Qf,LucideNonBinary:e6,LucideNotebook:o6,LucideNotebookPen:t6,LucideNotebookTabs:a6,LucideNotebookText:n6,LucideNotepadText:i6,LucideNotepadTextDashed:c6,LucideNut:s6,LucideNutOff:r6,LucideOctagon:l6,LucideOctagonAlert:En,LucideOctagonMinus:d6,LucideOctagonPause:On,LucideOctagonX:Un,LucideOmega:h6,LucideOption:u6,LucideOrbit:p6,LucideOrigami:y6,LucideOutdent:$n,LucidePackage:_6,LucidePackage2:k6,LucidePackageCheck:m6,LucidePackageMinus:f6,LucidePackageOpen:g6,LucidePackagePlus:v6,LucidePackageSearch:x6,LucidePackageX:M6,LucidePaintBucket:L6,LucidePaintRoller:I6,LucidePaintbrush:b6,LucidePaintbrush2:Wn,LucidePaintbrushVertical:Wn,LucidePalette:w6,LucidePalmtree:pc,LucidePanda:C6,LucidePanelBottom:j6,LucidePanelBottomClose:N6,LucidePanelBottomDashed:Gn,LucidePanelBottomInactive:Gn,LucidePanelBottomOpen:S6,LucidePanelLeft:Yn,LucidePanelLeftClose:Kn,LucidePanelLeftDashed:Zn,LucidePanelLeftInactive:Zn,LucidePanelLeftOpen:Xn,LucidePanelRight:A6,LucidePanelRightClose:$6,LucidePanelRightDashed:Jn,LucidePanelRightInactive:Jn,LucidePanelRightOpen:q6,LucidePanelTop:P6,LucidePanelTopClose:z6,LucidePanelTopDashed:Qn,LucidePanelTopInactive:Qn,LucidePanelTopOpen:V6,LucidePanelsLeftBottom:T6,LucidePanelsLeftRight:tn,LucidePanelsRightBottom:H6,LucidePanelsTopBottom:co,LucidePanelsTopLeft:eo,LucidePaperclip:D6,LucideParentheses:B6,LucideParkingCircle:Ba,LucideParkingCircleOff:Ha,LucideParkingMeter:R6,LucideParkingSquare:Ko,LucideParkingSquareOff:Wo,LucidePartyPopper:F6,LucidePause:E6,LucidePauseCircle:Da,LucidePauseOctagon:On,LucidePawPrint:O6,LucidePcCase:U6,LucidePen:xt,LucidePenBox:Ge,LucidePenLine:vt,LucidePenOff:G6,LucidePenSquare:Ge,LucidePenTool:W6,LucidePencil:o1,LucidePencilLine:K6,LucidePencilOff:Z6,LucidePencilRuler:X6,LucidePentagon:Y6,LucidePercent:J6,LucidePercentCircle:Ra,LucidePercentDiamond:nn,LucidePercentSquare:Zo,LucidePersonStanding:e8,LucidePhilippinePeso:Q6,LucidePhone:i8,LucidePhoneCall:t8,LucidePhoneForwarded:a8,LucidePhoneIncoming:n8,LucidePhoneMissed:o8,LucidePhoneOff:c8,LucidePhoneOutgoing:r8,LucidePi:s8,LucidePiSquare:Xo,LucidePiano:d8,LucidePickaxe:l8,LucidePictureInPicture:u8,LucidePictureInPicture2:h8,LucidePieChart:ga,LucidePiggyBank:p8,LucidePilcrow:k8,LucidePilcrowLeft:y8,LucidePilcrowRight:m8,LucidePilcrowSquare:Yo,LucidePill:g8,LucidePillBottle:f8,LucidePin:x8,LucidePinOff:v8,LucidePipette:M8,LucidePizza:_8,LucidePlane:b8,LucidePlaneLanding:L8,LucidePlaneTakeoff:I8,LucidePlay:w8,LucidePlayCircle:Fa,LucidePlaySquare:Jo,LucidePlug:N8,LucidePlug2:C8,LucidePlugZap:to,LucidePlugZap2:to,LucidePlus:zc,LucidePlusCircle:Ea,LucidePlusSquare:Qo,LucidePocket:j8,LucidePocketKnife:S8,LucidePodcast:$8,LucidePointer:A8,LucidePointerOff:q8,LucidePopcorn:V8,LucidePopsicle:z8,LucidePoundSterling:P8,LucidePower:H8,LucidePowerCircle:Oa,LucidePowerOff:T8,LucidePowerSquare:ec,LucidePresentation:D8,LucidePrinter:R8,LucidePrinterCheck:B8,LucideProjector:F8,LucideProportions:E8,LucidePuzzle:U8,LucidePyramid:O8,LucideQrCode:W8,LucideQuote:G8,LucideRabbit:K8,LucideRadar:Z8,LucideRadiation:X8,LucideRadical:Y8,LucideRadio:eg,LucideRadioReceiver:J8,LucideRadioTower:Q8,LucideRadius:tg,LucideRailSymbol:ag,LucideRainbow:ng,LucideRat:og,LucideRatio:cg,LucideReceipt:kg,LucideReceiptCent:ig,LucideReceiptEuro:sg,LucideReceiptIndianRupee:rg,LucideReceiptJapaneseYen:dg,LucideReceiptPoundSterling:lg,LucideReceiptRussianRuble:hg,LucideReceiptSwissFranc:ug,LucideReceiptText:pg,LucideReceiptTurkishLira:yg,LucideRectangleCircle:mg,LucideRectangleEllipsis:ao,LucideRectangleGoggles:fg,LucideRectangleHorizontal:gg,LucideRectangleVertical:vg,LucideRecycle:xg,LucideRedo:Lg,LucideRedo2:Mg,LucideRedoDot:_g,LucideRefreshCcw:bg,LucideRefreshCcwDot:Ig,LucideRefreshCw:Cg,LucideRefreshCwOff:wg,LucideRefrigerator:Ng,LucideRegex:Sg,LucideRemoveFormatting:jg,LucideRepeat:Ag,LucideRepeat1:$g,LucideRepeat2:qg,LucideReplace:Vg,LucideReplaceAll:zg,LucideReply:Hg,LucideReplyAll:Pg,LucideRewind:Tg,LucideRibbon:Dg,LucideRocket:Bg,LucideRockingChair:Eg,LucideRollerCoaster:Rg,LucideRose:Fg,LucideRotate3D:no,LucideRotate3d:no,LucideRotateCcw:Wg,LucideRotateCcwKey:Og,LucideRotateCcwSquare:Ug,LucideRotateCw:Kg,LucideRotateCwSquare:Gg,LucideRoute:Xg,LucideRouteOff:Zg,LucideRouter:Yg,LucideRows:oo,LucideRows2:oo,LucideRows3:co,LucideRows4:Jg,LucideRss:Qg,LucideRuler:t7,LucideRulerDimensionLine:e7,LucideRussianRuble:a7,LucideSailboat:n7,LucideSalad:o7,LucideSandwich:c7,LucideSatellite:r7,LucideSatelliteDish:i7,LucideSaudiRiyal:s7,LucideSave:u7,LucideSaveAll:d7,LucideSaveOff:l7,LucideScale:h7,LucideScale3D:io,LucideScale3d:io,LucideScaling:p7,LucideScan:_7,LucideScanBarcode:y7,LucideScanEye:k7,LucideScanFace:m7,LucideScanHeart:f7,LucideScanLine:g7,LucideScanQrCode:v7,LucideScanSearch:x7,LucideScanText:M7,LucideScatterChart:va,LucideSchool:L7,LucideSchool2:mc,LucideScissors:b7,LucideScissorsLineDashed:I7,LucideScissorsSquare:tc,LucideScissorsSquareDashedBottom:wo,LucideScreenShare:w7,LucideScreenShareOff:C7,LucideScroll:S7,LucideScrollText:N7,LucideSearch:V1,LucideSearchCheck:j7,LucideSearchCode:$7,LucideSearchSlash:q7,LucideSearchX:A7,LucideSection:z7,LucideSend:P7,LucideSendHorizonal:ro,LucideSendHorizontal:ro,LucideSendToBack:V7,LucideSeparatorHorizontal:T7,LucideSeparatorVertical:H7,LucideServer:F7,LucideServerCog:D7,LucideServerCrash:R7,LucideServerOff:B7,LucideSettings:O7,LucideSettings2:E7,LucideShapes:U7,LucideShare:G7,LucideShare2:W7,LucideSheet:K7,LucideShell:Z7,LucideShield:cv,LucideShieldAlert:X7,LucideShieldBan:Y7,LucideShieldCheck:J7,LucideShieldClose:lo,LucideShieldEllipsis:Q7,LucideShieldHalf:ev,LucideShieldMinus:av,LucideShieldOff:tv,LucideShieldPlus:nv,LucideShieldQuestion:so,LucideShieldQuestionMark:so,LucideShieldUser:ov,LucideShieldX:lo,LucideShip:rv,LucideShipWheel:iv,LucideShirt:sv,LucideShoppingBag:dv,LucideShoppingBasket:lv,LucideShoppingCart:hv,LucideShovel:uv,LucideShowerHead:pv,LucideShredder:yv,LucideShrimp:kv,LucideShrink:mv,LucideShrub:fv,LucideShuffle:vv,LucideSidebar:Yn,LucideSidebarClose:Kn,LucideSidebarOpen:Xn,LucideSigma:gv,LucideSigmaSquare:ac,LucideSignal:Iv,LucideSignalHigh:xv,LucideSignalLow:Mv,LucideSignalMedium:_v,LucideSignalZero:Lv,LucideSignature:bv,LucideSignpost:Cv,LucideSignpostBig:wv,LucideSiren:Nv,LucideSkipBack:Sv,LucideSkipForward:jv,LucideSkull:$v,LucideSlack:qv,LucideSlash:Av,LucideSlashSquare:nc,LucideSlice:zv,LucideSliders:ho,LucideSlidersHorizontal:Vv,LucideSlidersVertical:ho,LucideSmartphone:Hv,LucideSmartphoneCharging:Pv,LucideSmartphoneNfc:Tv,LucideSmile:Bv,LucideSmilePlus:Dv,LucideSnail:Rv,LucideSnowflake:Fv,LucideSoapDispenserDroplet:Ev,LucideSofa:Ov,LucideSortAsc:Yt,LucideSortDesc:Kt,LucideSoup:Uv,LucideSpace:Wv,LucideSpade:Gv,LucideSparkle:Kv,LucideSparkles:uo,LucideSpeaker:Zv,LucideSpeech:Xv,LucideSpellCheck:Jv,LucideSpellCheck2:Yv,LucideSpline:e9,LucideSplinePointer:Qv,LucideSplit:t9,LucideSplitSquareHorizontal:oc,LucideSplitSquareVertical:cc,LucideSpool:a9,LucideSpotlight:n9,LucideSprayCan:o9,LucideSprout:c9,LucideSquare:m9,LucideSquareActivity:Vt,LucideSquareArrowDown:ko,LucideSquareArrowDownLeft:po,LucideSquareArrowDownRight:yo,LucideSquareArrowLeft:mo,LucideSquareArrowOutDownLeft:fo,LucideSquareArrowOutDownRight:go,LucideSquareArrowOutUpLeft:vo,LucideSquareArrowOutUpRight:xo,LucideSquareArrowRight:Mo,LucideSquareArrowUp:Io,LucideSquareArrowUpLeft:_o,LucideSquareArrowUpRight:Lo,LucideSquareAsterisk:bo,LucideSquareBottomDashedScissors:wo,LucideSquareChartGantt:yt,LucideSquareCheck:No,LucideSquareCheckBig:Co,LucideSquareChevronDown:So,LucideSquareChevronLeft:jo,LucideSquareChevronRight:$o,LucideSquareChevronUp:qo,LucideSquareCode:Ao,LucideSquareDashed:Po,LucideSquareDashedBottom:r9,LucideSquareDashedBottomCode:i9,LucideSquareDashedKanban:zo,LucideSquareDashedMousePointer:Vo,LucideSquareDashedTopSolid:s9,LucideSquareDivide:To,LucideSquareDot:Do,LucideSquareEqual:Ho,LucideSquareFunction:Bo,LucideSquareGanttChart:yt,LucideSquareKanban:Ro,LucideSquareLibrary:Fo,LucideSquareM:Eo,LucideSquareMenu:Oo,LucideSquareMinus:Uo,LucideSquareMousePointer:Go,LucideSquareParking:Ko,LucideSquareParkingOff:Wo,LucideSquarePause:d9,LucideSquarePen:Ge,LucideSquarePercent:Zo,LucideSquarePi:Xo,LucideSquarePilcrow:Yo,LucideSquarePlay:Jo,LucideSquarePlus:Qo,LucideSquarePower:ec,LucideSquareRadical:l9,LucideSquareRoundCorner:h9,LucideSquareScissors:tc,LucideSquareSigma:ac,LucideSquareSlash:nc,LucideSquareSplitHorizontal:oc,LucideSquareSplitVertical:cc,LucideSquareSquare:u9,LucideSquareStack:p9,LucideSquareStar:y9,LucideSquareStop:k9,LucideSquareTerminal:ic,LucideSquareUser:sc,LucideSquareUserRound:rc,LucideSquareX:dc,LucideSquaresExclude:f9,LucideSquaresIntersect:g9,LucideSquaresSubtract:v9,LucideSquaresUnite:x9,LucideSquircle:_9,LucideSquircleDashed:M9,LucideSquirrel:L9,LucideStamp:I9,LucideStar:N9,LucideStarHalf:b9,LucideStarOff:w9,LucideStars:uo,LucideStepBack:C9,LucideStepForward:S9,LucideStethoscope:j9,LucideSticker:$9,LucideStickyNote:q9,LucideStopCircle:Wa,LucideStore:A9,LucideStretchHorizontal:z9,LucideStretchVertical:V9,LucideStrikethrough:P9,LucideSubscript:T9,LucideSubtitles:ia,LucideSun:E9,LucideSunDim:H9,LucideSunMedium:D9,LucideSunMoon:B9,LucideSunSnow:R9,LucideSunrise:F9,LucideSunset:O9,LucideSuperscript:U9,LucideSwatchBook:W9,LucideSwissFranc:G9,LucideSwitchCamera:K9,LucideSword:Z9,LucideSwords:Y9,LucideSyringe:X9,LucideTable:cx,LucideTable2:J9,LucideTableCellsMerge:Q9,LucideTableCellsSplit:ex,LucideTableColumnsSplit:tx,LucideTableConfig:ut,LucideTableOfContents:ax,LucideTableProperties:nx,LucideTableRowsSplit:ox,LucideTablet:rx,LucideTabletSmartphone:ix,LucideTablets:sx,LucideTag:dx,LucideTags:lx,LucideTally1:hx,LucideTally2:ux,LucideTally3:px,LucideTally4:yx,LucideTally5:kx,LucideTangent:mx,LucideTarget:fx,LucideTelescope:gx,LucideTent:xx,LucideTentTree:vx,LucideTerminal:Mx,LucideTerminalSquare:ic,LucideTestTube:_x,LucideTestTube2:lc,LucideTestTubeDiagonal:lc,LucideTestTubes:Lx,LucideText:Nx,LucideTextCursor:bx,LucideTextCursorInput:Ix,LucideTextQuote:wx,LucideTextSearch:Cx,LucideTextSelect:hc,LucideTextSelection:hc,LucideTheater:Sx,LucideThermometer:Ax,LucideThermometerSnowflake:jx,LucideThermometerSun:$x,LucideThumbsDown:qx,LucideThumbsUp:zx,LucideTicket:Rx,LucideTicketCheck:Vx,LucideTicketMinus:Px,LucideTicketPercent:Tx,LucideTicketPlus:Hx,LucideTicketSlash:Dx,LucideTicketX:Bx,LucideTickets:Ex,LucideTicketsPlane:Fx,LucideTimer:Wx,LucideTimerOff:Ox,LucideTimerReset:Ux,LucideToggleLeft:Gx,LucideToggleRight:Kx,LucideToilet:Zx,LucideToolCase:Xx,LucideTornado:Jx,LucideTorus:Yx,LucideTouchpad:eM,LucideTouchpadOff:Qx,LucideTowerControl:aM,LucideToyBrick:tM,LucideTractor:nM,LucideTrafficCone:oM,LucideTrain:uc,LucideTrainFront:iM,LucideTrainFrontTunnel:cM,LucideTrainTrack:rM,LucideTramFront:uc,LucideTransgender:sM,LucideTrash:dM,LucideTrash2:kt,LucideTreeDeciduous:lM,LucideTreePalm:pc,LucideTreePine:hM,LucideTrees:uM,LucideTrello:pM,LucideTrendingDown:yM,LucideTrendingUp:kM,LucideTrendingUpDown:mM,LucideTriangle:gM,LucideTriangleAlert:yc,LucideTriangleDashed:fM,LucideTriangleRight:vM,LucideTrophy:xM,LucideTruck:_M,LucideTruckElectric:MM,LucideTurkishLira:LM,LucideTurntable:IM,LucideTurtle:bM,LucideTv:CM,LucideTv2:kc,LucideTvMinimal:kc,LucideTvMinimalPlay:wM,LucideTwitch:NM,LucideTwitter:SM,LucideType:$M,LucideTypeOutline:jM,LucideUmbrella:AM,LucideUmbrellaOff:qM,LucideUnderline:zM,LucideUndo:TM,LucideUndo2:VM,LucideUndoDot:PM,LucideUnfoldHorizontal:HM,LucideUnfoldVertical:DM,LucideUngroup:BM,LucideUniversity:mc,LucideUnlink:OM,LucideUnlink2:RM,LucideUnlock:Tn,LucideUnlockKeyhole:Pn,LucideUnplug:FM,LucideUpload:EM,LucideUploadCloud:Ja,LucideUsb:UM,LucideUser:a_,LucideUser2:_c,LucideUserCheck:WM,LucideUserCheck2:fc,LucideUserCircle:Ka,LucideUserCircle2:Ga,LucideUserCog:GM,LucideUserCog2:gc,LucideUserLock:KM,LucideUserMinus:ZM,LucideUserMinus2:vc,LucideUserPen:XM,LucideUserPlus:P1,LucideUserPlus2:xc,LucideUserRound:_c,LucideUserRoundCheck:fc,LucideUserRoundCog:gc,LucideUserRoundMinus:vc,LucideUserRoundPen:YM,LucideUserRoundPlus:xc,LucideUserRoundSearch:JM,LucideUserRoundX:Mc,LucideUserSearch:QM,LucideUserSquare:sc,LucideUserSquare2:rc,LucideUserStar:e_,LucideUserX:t_,LucideUserX2:Mc,LucideUsers:n_,LucideUsers2:Lc,LucideUsersRound:Lc,LucideUtensils:bc,LucideUtensilsCrossed:Ic,LucideUtilityPole:o_,LucideVariable:c_,LucideVault:i_,LucideVectorSquare:r_,LucideVegan:s_,LucideVenetianMask:d_,LucideVenus:p_,LucideVenusAndMars:l_,LucideVerified:ea,LucideVibrate:u_,LucideVibrateOff:h_,LucideVideo:k_,LucideVideoOff:y_,LucideVideotape:m_,LucideView:g_,LucideVoicemail:f_,LucideVolleyball:v_,LucideVolume:b_,LucideVolume1:x_,LucideVolume2:M_,LucideVolumeOff:__,LucideVolumeX:L_,LucideVote:I_,LucideWallet:C_,LucideWallet2:wc,LucideWalletCards:w_,LucideWalletMinimal:wc,LucideWallpaper:N_,LucideWand:S_,LucideWand2:Cc,LucideWandSparkles:Cc,LucideWarehouse:j_,LucideWashingMachine:$_,LucideWatch:q_,LucideWaves:z_,LucideWavesLadder:A_,LucideWaypoints:V_,LucideWebcam:P_,LucideWebhook:D_,LucideWebhookOff:T_,LucideWeight:H_,LucideWheat:R_,LucideWheatOff:B_,LucideWholeWord:F_,LucideWifi:X_,LucideWifiCog:E_,LucideWifiHigh:O_,LucideWifiLow:U_,LucideWifiOff:W_,LucideWifiPen:G_,LucideWifiSync:K_,LucideWifiZero:Z_,LucideWind:J_,LucideWindArrowDown:Y_,LucideWine:eL,LucideWineOff:Q_,LucideWorkflow:tL,LucideWorm:aL,LucideWrapText:nL,LucideWrench:oL,LucideX:at,LucideXCircle:qt,LucideXOctagon:Un,LucideXSquare:dc,LucideYoutube:iL,LucideZap:rL,LucideZapOff:cL,LucideZoomIn:sL,LucideZoomOut:dL,Luggage:Dm,LuggageIcon:Dm,MSquare:Eo,MSquareIcon:Eo,Magnet:Bm,MagnetIcon:Bm,Mail:Gm,MailCheck:Rm,MailCheckIcon:Rm,MailIcon:Gm,MailMinus:Fm,MailMinusIcon:Fm,MailOpen:Em,MailOpenIcon:Em,MailPlus:Om,MailPlusIcon:Om,MailQuestion:Hn,MailQuestionIcon:Hn,MailQuestionMark:Hn,MailQuestionMarkIcon:Hn,MailSearch:Um,MailSearchIcon:Um,MailWarning:Wm,MailWarningIcon:Wm,MailX:Km,MailXIcon:Km,Mailbox:Zm,MailboxIcon:Zm,Mails:Xm,MailsIcon:Xm,Map:h3,MapIcon:h3,MapMinus:Ym,MapMinusIcon:Ym,MapPin:s3,MapPinCheck:Jm,MapPinCheckIcon:Jm,MapPinCheckInside:Qm,MapPinCheckInsideIcon:Qm,MapPinHouse:e3,MapPinHouseIcon:e3,MapPinIcon:s3,MapPinMinus:a3,MapPinMinusIcon:a3,MapPinMinusInside:t3,MapPinMinusInsideIcon:t3,MapPinOff:n3,MapPinOffIcon:n3,MapPinPen:Dn,MapPinPenIcon:Dn,MapPinPlus:c3,MapPinPlusIcon:c3,MapPinPlusInside:o3,MapPinPlusInsideIcon:o3,MapPinX:r3,MapPinXIcon:r3,MapPinXInside:i3,MapPinXInsideIcon:i3,MapPinned:d3,MapPinnedIcon:d3,MapPlus:l3,MapPlusIcon:l3,Mars:p3,MarsIcon:p3,MarsStroke:u3,MarsStrokeIcon:u3,Martini:y3,MartiniIcon:y3,Maximize:f3,Maximize2:k3,Maximize2Icon:k3,MaximizeIcon:f3,Medal:m3,MedalIcon:m3,Megaphone:v3,MegaphoneIcon:v3,MegaphoneOff:g3,MegaphoneOffIcon:g3,Meh:x3,MehIcon:x3,MemoryStick:M3,MemoryStickIcon:M3,Menu:n1,MenuIcon:n1,MenuSquare:Oo,MenuSquareIcon:Oo,Merge:_3,MergeIcon:_3,MessageCircle:q3,MessageCircleCode:L3,MessageCircleCodeIcon:L3,MessageCircleDashed:I3,MessageCircleDashedIcon:I3,MessageCircleHeart:b3,MessageCircleHeartIcon:b3,MessageCircleIcon:q3,MessageCircleMore:w3,MessageCircleMoreIcon:w3,MessageCircleOff:C3,MessageCircleOffIcon:C3,MessageCirclePlus:N3,MessageCirclePlusIcon:N3,MessageCircleQuestion:Bn,MessageCircleQuestionIcon:Bn,MessageCircleQuestionMark:Bn,MessageCircleQuestionMarkIcon:Bn,MessageCircleReply:S3,MessageCircleReplyIcon:S3,MessageCircleWarning:j3,MessageCircleWarningIcon:j3,MessageCircleX:$3,MessageCircleXIcon:$3,MessageSquare:K3,MessageSquareCode:A3,MessageSquareCodeIcon:A3,MessageSquareDashed:z3,MessageSquareDashedIcon:z3,MessageSquareDiff:V3,MessageSquareDiffIcon:V3,MessageSquareDot:P3,MessageSquareDotIcon:P3,MessageSquareHeart:T3,MessageSquareHeartIcon:T3,MessageSquareIcon:K3,MessageSquareLock:H3,MessageSquareLockIcon:H3,MessageSquareMore:D3,MessageSquareMoreIcon:D3,MessageSquareOff:B3,MessageSquareOffIcon:B3,MessageSquarePlus:R3,MessageSquarePlusIcon:R3,MessageSquareQuote:F3,MessageSquareQuoteIcon:F3,MessageSquareReply:E3,MessageSquareReplyIcon:E3,MessageSquareShare:O3,MessageSquareShareIcon:O3,MessageSquareText:U3,MessageSquareTextIcon:U3,MessageSquareWarning:W3,MessageSquareWarningIcon:W3,MessageSquareX:G3,MessageSquareXIcon:G3,MessagesSquare:Z3,MessagesSquareIcon:Z3,Mic:Y3,Mic2:Rn,Mic2Icon:Rn,MicIcon:Y3,MicOff:X3,MicOffIcon:X3,MicVocal:Rn,MicVocalIcon:Rn,Microchip:J3,MicrochipIcon:J3,Microscope:Q3,MicroscopeIcon:Q3,Microwave:ef,MicrowaveIcon:ef,Milestone:tf,MilestoneIcon:tf,Milk:nf,MilkIcon:nf,MilkOff:af,MilkOffIcon:af,Minimize:cf,Minimize2:of,Minimize2Icon:of,MinimizeIcon:cf,Minus:rf,MinusCircle:Ta,MinusCircleIcon:Ta,MinusIcon:rf,MinusSquare:Uo,MinusSquareIcon:Uo,Monitor:xf,MonitorCheck:sf,MonitorCheckIcon:sf,MonitorCog:df,MonitorCogIcon:df,MonitorDot:lf,MonitorDotIcon:lf,MonitorDown:hf,MonitorDownIcon:hf,MonitorIcon:xf,MonitorOff:uf,MonitorOffIcon:uf,MonitorPause:yf,MonitorPauseIcon:yf,MonitorPlay:pf,MonitorPlayIcon:pf,MonitorSmartphone:kf,MonitorSmartphoneIcon:kf,MonitorSpeaker:mf,MonitorSpeakerIcon:mf,MonitorStop:ff,MonitorStopIcon:ff,MonitorUp:gf,MonitorUpIcon:gf,MonitorX:vf,MonitorXIcon:vf,Moon:_f,MoonIcon:_f,MoonStar:Mf,MoonStarIcon:Mf,MoreHorizontal:rn,MoreHorizontalIcon:rn,MoreVertical:cn,MoreVerticalIcon:cn,Mountain:If,MountainIcon:If,MountainSnow:Lf,MountainSnowIcon:Lf,Mouse:jf,MouseIcon:jf,MouseOff:bf,MouseOffIcon:bf,MousePointer:Nf,MousePointer2:wf,MousePointer2Icon:wf,MousePointerBan:Cf,MousePointerBanIcon:Cf,MousePointerClick:Sf,MousePointerClickIcon:Sf,MousePointerIcon:Nf,MousePointerSquareDashed:Vo,MousePointerSquareDashedIcon:Vo,Move:a.Move,Move3D:Fn,Move3DIcon:Fn,Move3d:Fn,Move3dIcon:Fn,MoveDiagonal:qf,MoveDiagonal2:$f,MoveDiagonal2Icon:$f,MoveDiagonalIcon:qf,MoveDown:Pf,MoveDownIcon:Pf,MoveDownLeft:Af,MoveDownLeftIcon:Af,MoveDownRight:zf,MoveDownRightIcon:zf,MoveHorizontal:Vf,MoveHorizontalIcon:Vf,MoveIcon:a.Move,MoveLeft:Tf,MoveLeftIcon:Tf,MoveRight:Hf,MoveRightIcon:Hf,MoveUp:Rf,MoveUpIcon:Rf,MoveUpLeft:Df,MoveUpLeftIcon:Df,MoveUpRight:Bf,MoveUpRightIcon:Bf,MoveVertical:Ff,MoveVerticalIcon:Ff,Music:Wf,Music2:Ef,Music2Icon:Ef,Music3:Of,Music3Icon:Of,Music4:Uf,Music4Icon:Uf,MusicIcon:Wf,Navigation:Xf,Navigation2:Kf,Navigation2Icon:Kf,Navigation2Off:Gf,Navigation2OffIcon:Gf,NavigationIcon:Xf,NavigationOff:Zf,NavigationOffIcon:Zf,Network:Yf,NetworkIcon:Yf,Newspaper:Jf,NewspaperIcon:Jf,Nfc:Qf,NfcIcon:Qf,NonBinary:e6,NonBinaryIcon:e6,Notebook:o6,NotebookIcon:o6,NotebookPen:t6,NotebookPenIcon:t6,NotebookTabs:a6,NotebookTabsIcon:a6,NotebookText:n6,NotebookTextIcon:n6,NotepadText:i6,NotepadTextDashed:c6,NotepadTextDashedIcon:c6,NotepadTextIcon:i6,Nut:s6,NutIcon:s6,NutOff:r6,NutOffIcon:r6,Octagon:l6,OctagonAlert:En,OctagonAlertIcon:En,OctagonIcon:l6,OctagonMinus:d6,OctagonMinusIcon:d6,OctagonPause:On,OctagonPauseIcon:On,OctagonX:Un,OctagonXIcon:Un,Omega:h6,OmegaIcon:h6,Option:u6,OptionIcon:u6,Orbit:p6,OrbitIcon:p6,Origami:y6,OrigamiIcon:y6,Outdent:$n,OutdentIcon:$n,Package:_6,Package2:k6,Package2Icon:k6,PackageCheck:m6,PackageCheckIcon:m6,PackageIcon:_6,PackageMinus:f6,PackageMinusIcon:f6,PackageOpen:g6,PackageOpenIcon:g6,PackagePlus:v6,PackagePlusIcon:v6,PackageSearch:x6,PackageSearchIcon:x6,PackageX:M6,PackageXIcon:M6,PaintBucket:L6,PaintBucketIcon:L6,PaintRoller:I6,PaintRollerIcon:I6,Paintbrush:b6,Paintbrush2:Wn,Paintbrush2Icon:Wn,PaintbrushIcon:b6,PaintbrushVertical:Wn,PaintbrushVerticalIcon:Wn,Palette:w6,PaletteIcon:w6,Palmtree:pc,PalmtreeIcon:pc,Panda:C6,PandaIcon:C6,PanelBottom:j6,PanelBottomClose:N6,PanelBottomCloseIcon:N6,PanelBottomDashed:Gn,PanelBottomDashedIcon:Gn,PanelBottomIcon:j6,PanelBottomInactive:Gn,PanelBottomInactiveIcon:Gn,PanelBottomOpen:S6,PanelBottomOpenIcon:S6,PanelLeft:Yn,PanelLeftClose:Kn,PanelLeftCloseIcon:Kn,PanelLeftDashed:Zn,PanelLeftDashedIcon:Zn,PanelLeftIcon:Yn,PanelLeftInactive:Zn,PanelLeftInactiveIcon:Zn,PanelLeftOpen:Xn,PanelLeftOpenIcon:Xn,PanelRight:A6,PanelRightClose:$6,PanelRightCloseIcon:$6,PanelRightDashed:Jn,PanelRightDashedIcon:Jn,PanelRightIcon:A6,PanelRightInactive:Jn,PanelRightInactiveIcon:Jn,PanelRightOpen:q6,PanelRightOpenIcon:q6,PanelTop:P6,PanelTopClose:z6,PanelTopCloseIcon:z6,PanelTopDashed:Qn,PanelTopDashedIcon:Qn,PanelTopIcon:P6,PanelTopInactive:Qn,PanelTopInactiveIcon:Qn,PanelTopOpen:V6,PanelTopOpenIcon:V6,PanelsLeftBottom:T6,PanelsLeftBottomIcon:T6,PanelsLeftRight:tn,PanelsLeftRightIcon:tn,PanelsRightBottom:H6,PanelsRightBottomIcon:H6,PanelsTopBottom:co,PanelsTopBottomIcon:co,PanelsTopLeft:eo,PanelsTopLeftIcon:eo,Paperclip:D6,PaperclipIcon:D6,Parentheses:B6,ParenthesesIcon:B6,ParkingCircle:Ba,ParkingCircleIcon:Ba,ParkingCircleOff:Ha,ParkingCircleOffIcon:Ha,ParkingMeter:R6,ParkingMeterIcon:R6,ParkingSquare:Ko,ParkingSquareIcon:Ko,ParkingSquareOff:Wo,ParkingSquareOffIcon:Wo,PartyPopper:F6,PartyPopperIcon:F6,Pause:E6,PauseCircle:Da,PauseCircleIcon:Da,PauseIcon:E6,PauseOctagon:On,PauseOctagonIcon:On,PawPrint:O6,PawPrintIcon:O6,PcCase:U6,PcCaseIcon:U6,Pen:xt,PenBox:Ge,PenBoxIcon:Ge,PenIcon:xt,PenLine:vt,PenLineIcon:vt,PenOff:G6,PenOffIcon:G6,PenSquare:Ge,PenSquareIcon:Ge,PenTool:W6,PenToolIcon:W6,Pencil:o1,PencilIcon:o1,PencilLine:K6,PencilLineIcon:K6,PencilOff:Z6,PencilOffIcon:Z6,PencilRuler:X6,PencilRulerIcon:X6,Pentagon:Y6,PentagonIcon:Y6,Percent:J6,PercentCircle:Ra,PercentCircleIcon:Ra,PercentDiamond:nn,PercentDiamondIcon:nn,PercentIcon:J6,PercentSquare:Zo,PercentSquareIcon:Zo,PersonStanding:e8,PersonStandingIcon:e8,PhilippinePeso:Q6,PhilippinePesoIcon:Q6,Phone:i8,PhoneCall:t8,PhoneCallIcon:t8,PhoneForwarded:a8,PhoneForwardedIcon:a8,PhoneIcon:i8,PhoneIncoming:n8,PhoneIncomingIcon:n8,PhoneMissed:o8,PhoneMissedIcon:o8,PhoneOff:c8,PhoneOffIcon:c8,PhoneOutgoing:r8,PhoneOutgoingIcon:r8,Pi:s8,PiIcon:s8,PiSquare:Xo,PiSquareIcon:Xo,Piano:d8,PianoIcon:d8,Pickaxe:l8,PickaxeIcon:l8,PictureInPicture:u8,PictureInPicture2:h8,PictureInPicture2Icon:h8,PictureInPictureIcon:u8,PieChart:ga,PieChartIcon:ga,PiggyBank:p8,PiggyBankIcon:p8,Pilcrow:k8,PilcrowIcon:k8,PilcrowLeft:y8,PilcrowLeftIcon:y8,PilcrowRight:m8,PilcrowRightIcon:m8,PilcrowSquare:Yo,PilcrowSquareIcon:Yo,Pill:g8,PillBottle:f8,PillBottleIcon:f8,PillIcon:g8,Pin:x8,PinIcon:x8,PinOff:v8,PinOffIcon:v8,Pipette:M8,PipetteIcon:M8,Pizza:_8,PizzaIcon:_8,Plane:b8,PlaneIcon:b8,PlaneLanding:L8,PlaneLandingIcon:L8,PlaneTakeoff:I8,PlaneTakeoffIcon:I8,Play:w8,PlayCircle:Fa,PlayCircleIcon:Fa,PlayIcon:w8,PlaySquare:Jo,PlaySquareIcon:Jo,Plug:N8,Plug2:C8,Plug2Icon:C8,PlugIcon:N8,PlugZap:to,PlugZap2:to,PlugZap2Icon:to,PlugZapIcon:to,Plus:zc,PlusCircle:Ea,PlusCircleIcon:Ea,PlusIcon:zc,PlusSquare:Qo,PlusSquareIcon:Qo,Pocket:j8,PocketIcon:j8,PocketKnife:S8,PocketKnifeIcon:S8,Podcast:$8,PodcastIcon:$8,Pointer:A8,PointerIcon:A8,PointerOff:q8,PointerOffIcon:q8,Popcorn:V8,PopcornIcon:V8,Popsicle:z8,PopsicleIcon:z8,PoundSterling:P8,PoundSterlingIcon:P8,Power:H8,PowerCircle:Oa,PowerCircleIcon:Oa,PowerIcon:H8,PowerOff:T8,PowerOffIcon:T8,PowerSquare:ec,PowerSquareIcon:ec,Presentation:D8,PresentationIcon:D8,Printer:R8,PrinterCheck:B8,PrinterCheckIcon:B8,PrinterIcon:R8,Projector:F8,ProjectorIcon:F8,Proportions:E8,ProportionsIcon:E8,Puzzle:U8,PuzzleIcon:U8,Pyramid:O8,PyramidIcon:O8,QrCode:W8,QrCodeIcon:W8,Quote:G8,QuoteIcon:G8,Rabbit:K8,RabbitIcon:K8,Radar:Z8,RadarIcon:Z8,Radiation:X8,RadiationIcon:X8,Radical:Y8,RadicalIcon:Y8,Radio:eg,RadioIcon:eg,RadioReceiver:J8,RadioReceiverIcon:J8,RadioTower:Q8,RadioTowerIcon:Q8,Radius:tg,RadiusIcon:tg,RailSymbol:ag,RailSymbolIcon:ag,Rainbow:ng,RainbowIcon:ng,Rat:og,RatIcon:og,Ratio:cg,RatioIcon:cg,Receipt:kg,ReceiptCent:ig,ReceiptCentIcon:ig,ReceiptEuro:sg,ReceiptEuroIcon:sg,ReceiptIcon:kg,ReceiptIndianRupee:rg,ReceiptIndianRupeeIcon:rg,ReceiptJapaneseYen:dg,ReceiptJapaneseYenIcon:dg,ReceiptPoundSterling:lg,ReceiptPoundSterlingIcon:lg,ReceiptRussianRuble:hg,ReceiptRussianRubleIcon:hg,ReceiptSwissFranc:ug,ReceiptSwissFrancIcon:ug,ReceiptText:pg,ReceiptTextIcon:pg,ReceiptTurkishLira:yg,ReceiptTurkishLiraIcon:yg,RectangleCircle:mg,RectangleCircleIcon:mg,RectangleEllipsis:ao,RectangleEllipsisIcon:ao,RectangleGoggles:fg,RectangleGogglesIcon:fg,RectangleHorizontal:gg,RectangleHorizontalIcon:gg,RectangleVertical:vg,RectangleVerticalIcon:vg,Recycle:xg,RecycleIcon:xg,Redo:Lg,Redo2:Mg,Redo2Icon:Mg,RedoDot:_g,RedoDotIcon:_g,RedoIcon:Lg,RefreshCcw:bg,RefreshCcwDot:Ig,RefreshCcwDotIcon:Ig,RefreshCcwIcon:bg,RefreshCw:Cg,RefreshCwIcon:Cg,RefreshCwOff:wg,RefreshCwOffIcon:wg,Refrigerator:Ng,RefrigeratorIcon:Ng,Regex:Sg,RegexIcon:Sg,RemoveFormatting:jg,RemoveFormattingIcon:jg,Repeat:Ag,Repeat1:$g,Repeat1Icon:$g,Repeat2:qg,Repeat2Icon:qg,RepeatIcon:Ag,Replace:Vg,ReplaceAll:zg,ReplaceAllIcon:zg,ReplaceIcon:Vg,Reply:Hg,ReplyAll:Pg,ReplyAllIcon:Pg,ReplyIcon:Hg,Rewind:Tg,RewindIcon:Tg,Ribbon:Dg,RibbonIcon:Dg,Rocket:Bg,RocketIcon:Bg,RockingChair:Eg,RockingChairIcon:Eg,RollerCoaster:Rg,RollerCoasterIcon:Rg,Rose:Fg,RoseIcon:Fg,Rotate3D:no,Rotate3DIcon:no,Rotate3d:no,Rotate3dIcon:no,RotateCcw:Wg,RotateCcwIcon:Wg,RotateCcwKey:Og,RotateCcwKeyIcon:Og,RotateCcwSquare:Ug,RotateCcwSquareIcon:Ug,RotateCw:Kg,RotateCwIcon:Kg,RotateCwSquare:Gg,RotateCwSquareIcon:Gg,Route:Xg,RouteIcon:Xg,RouteOff:Zg,RouteOffIcon:Zg,Router:Yg,RouterIcon:Yg,Rows:oo,Rows2:oo,Rows2Icon:oo,Rows3:co,Rows3Icon:co,Rows4:Jg,Rows4Icon:Jg,RowsIcon:oo,Rss:Qg,RssIcon:Qg,Ruler:t7,RulerDimensionLine:e7,RulerDimensionLineIcon:e7,RulerIcon:t7,RussianRuble:a7,RussianRubleIcon:a7,Sailboat:n7,SailboatIcon:n7,Salad:o7,SaladIcon:o7,Sandwich:c7,SandwichIcon:c7,Satellite:r7,SatelliteDish:i7,SatelliteDishIcon:i7,SatelliteIcon:r7,SaudiRiyal:s7,SaudiRiyalIcon:s7,Save:u7,SaveAll:d7,SaveAllIcon:d7,SaveIcon:u7,SaveOff:l7,SaveOffIcon:l7,Scale:h7,Scale3D:io,Scale3DIcon:io,Scale3d:io,Scale3dIcon:io,ScaleIcon:h7,Scaling:p7,ScalingIcon:p7,Scan:_7,ScanBarcode:y7,ScanBarcodeIcon:y7,ScanEye:k7,ScanEyeIcon:k7,ScanFace:m7,ScanFaceIcon:m7,ScanHeart:f7,ScanHeartIcon:f7,ScanIcon:_7,ScanLine:g7,ScanLineIcon:g7,ScanQrCode:v7,ScanQrCodeIcon:v7,ScanSearch:x7,ScanSearchIcon:x7,ScanText:M7,ScanTextIcon:M7,ScatterChart:va,ScatterChartIcon:va,School:L7,School2:mc,School2Icon:mc,SchoolIcon:L7,Scissors:b7,ScissorsIcon:b7,ScissorsLineDashed:I7,ScissorsLineDashedIcon:I7,ScissorsSquare:tc,ScissorsSquareDashedBottom:wo,ScissorsSquareDashedBottomIcon:wo,ScissorsSquareIcon:tc,ScreenShare:w7,ScreenShareIcon:w7,ScreenShareOff:C7,ScreenShareOffIcon:C7,Scroll:S7,ScrollIcon:S7,ScrollText:N7,ScrollTextIcon:N7,Search:V1,SearchCheck:j7,SearchCheckIcon:j7,SearchCode:$7,SearchCodeIcon:$7,SearchIcon:V1,SearchSlash:q7,SearchSlashIcon:q7,SearchX:A7,SearchXIcon:A7,Section:z7,SectionIcon:z7,Send:P7,SendHorizonal:ro,SendHorizonalIcon:ro,SendHorizontal:ro,SendHorizontalIcon:ro,SendIcon:P7,SendToBack:V7,SendToBackIcon:V7,SeparatorHorizontal:T7,SeparatorHorizontalIcon:T7,SeparatorVertical:H7,SeparatorVerticalIcon:H7,Server:F7,ServerCog:D7,ServerCogIcon:D7,ServerCrash:R7,ServerCrashIcon:R7,ServerIcon:F7,ServerOff:B7,ServerOffIcon:B7,Settings:O7,Settings2:E7,Settings2Icon:E7,SettingsIcon:O7,Shapes:U7,ShapesIcon:U7,Share:G7,Share2:W7,Share2Icon:W7,ShareIcon:G7,Sheet:K7,SheetIcon:K7,Shell:Z7,ShellIcon:Z7,Shield:cv,ShieldAlert:X7,ShieldAlertIcon:X7,ShieldBan:Y7,ShieldBanIcon:Y7,ShieldCheck:J7,ShieldCheckIcon:J7,ShieldClose:lo,ShieldCloseIcon:lo,ShieldEllipsis:Q7,ShieldEllipsisIcon:Q7,ShieldHalf:ev,ShieldHalfIcon:ev,ShieldIcon:cv,ShieldMinus:av,ShieldMinusIcon:av,ShieldOff:tv,ShieldOffIcon:tv,ShieldPlus:nv,ShieldPlusIcon:nv,ShieldQuestion:so,ShieldQuestionIcon:so,ShieldQuestionMark:so,ShieldQuestionMarkIcon:so,ShieldUser:ov,ShieldUserIcon:ov,ShieldX:lo,ShieldXIcon:lo,Ship:rv,ShipIcon:rv,ShipWheel:iv,ShipWheelIcon:iv,Shirt:sv,ShirtIcon:sv,ShoppingBag:dv,ShoppingBagIcon:dv,ShoppingBasket:lv,ShoppingBasketIcon:lv,ShoppingCart:hv,ShoppingCartIcon:hv,Shovel:uv,ShovelIcon:uv,ShowerHead:pv,ShowerHeadIcon:pv,Shredder:yv,ShredderIcon:yv,Shrimp:kv,ShrimpIcon:kv,Shrink:mv,ShrinkIcon:mv,Shrub:fv,ShrubIcon:fv,Shuffle:vv,ShuffleIcon:vv,Sidebar:Yn,SidebarClose:Kn,SidebarCloseIcon:Kn,SidebarIcon:Yn,SidebarOpen:Xn,SidebarOpenIcon:Xn,Sigma:gv,SigmaIcon:gv,SigmaSquare:ac,SigmaSquareIcon:ac,Signal:Iv,SignalHigh:xv,SignalHighIcon:xv,SignalIcon:Iv,SignalLow:Mv,SignalLowIcon:Mv,SignalMedium:_v,SignalMediumIcon:_v,SignalZero:Lv,SignalZeroIcon:Lv,Signature:bv,SignatureIcon:bv,Signpost:Cv,SignpostBig:wv,SignpostBigIcon:wv,SignpostIcon:Cv,Siren:Nv,SirenIcon:Nv,SkipBack:Sv,SkipBackIcon:Sv,SkipForward:jv,SkipForwardIcon:jv,Skull:$v,SkullIcon:$v,Slack:qv,SlackIcon:qv,Slash:Av,SlashIcon:Av,SlashSquare:nc,SlashSquareIcon:nc,Slice:zv,SliceIcon:zv,Sliders:ho,SlidersHorizontal:Vv,SlidersHorizontalIcon:Vv,SlidersIcon:ho,SlidersVertical:ho,SlidersVerticalIcon:ho,Smartphone:Hv,SmartphoneCharging:Pv,SmartphoneChargingIcon:Pv,SmartphoneIcon:Hv,SmartphoneNfc:Tv,SmartphoneNfcIcon:Tv,Smile:Bv,SmileIcon:Bv,SmilePlus:Dv,SmilePlusIcon:Dv,Snail:Rv,SnailIcon:Rv,Snowflake:Fv,SnowflakeIcon:Fv,SoapDispenserDroplet:Ev,SoapDispenserDropletIcon:Ev,Sofa:Ov,SofaIcon:Ov,SortAsc:Yt,SortAscIcon:Yt,SortDesc:Kt,SortDescIcon:Kt,Soup:Uv,SoupIcon:Uv,Space:Wv,SpaceIcon:Wv,Spade:Gv,SpadeIcon:Gv,Sparkle:Kv,SparkleIcon:Kv,Sparkles:uo,SparklesIcon:uo,Speaker:Zv,SpeakerIcon:Zv,Speech:Xv,SpeechIcon:Xv,SpellCheck:Jv,SpellCheck2:Yv,SpellCheck2Icon:Yv,SpellCheckIcon:Jv,Spline:e9,SplineIcon:e9,SplinePointer:Qv,SplinePointerIcon:Qv,Split:t9,SplitIcon:t9,SplitSquareHorizontal:oc,SplitSquareHorizontalIcon:oc,SplitSquareVertical:cc,SplitSquareVerticalIcon:cc,Spool:a9,SpoolIcon:a9,Spotlight:n9,SpotlightIcon:n9,SprayCan:o9,SprayCanIcon:o9,Sprout:c9,SproutIcon:c9,Square:m9,SquareActivity:Vt,SquareActivityIcon:Vt,SquareArrowDown:ko,SquareArrowDownIcon:ko,SquareArrowDownLeft:po,SquareArrowDownLeftIcon:po,SquareArrowDownRight:yo,SquareArrowDownRightIcon:yo,SquareArrowLeft:mo,SquareArrowLeftIcon:mo,SquareArrowOutDownLeft:fo,SquareArrowOutDownLeftIcon:fo,SquareArrowOutDownRight:go,SquareArrowOutDownRightIcon:go,SquareArrowOutUpLeft:vo,SquareArrowOutUpLeftIcon:vo,SquareArrowOutUpRight:xo,SquareArrowOutUpRightIcon:xo,SquareArrowRight:Mo,SquareArrowRightIcon:Mo,SquareArrowUp:Io,SquareArrowUpIcon:Io,SquareArrowUpLeft:_o,SquareArrowUpLeftIcon:_o,SquareArrowUpRight:Lo,SquareArrowUpRightIcon:Lo,SquareAsterisk:bo,SquareAsteriskIcon:bo,SquareBottomDashedScissors:wo,SquareBottomDashedScissorsIcon:wo,SquareChartGantt:yt,SquareChartGanttIcon:yt,SquareCheck:No,SquareCheckBig:Co,SquareCheckBigIcon:Co,SquareCheckIcon:No,SquareChevronDown:So,SquareChevronDownIcon:So,SquareChevronLeft:jo,SquareChevronLeftIcon:jo,SquareChevronRight:$o,SquareChevronRightIcon:$o,SquareChevronUp:qo,SquareChevronUpIcon:qo,SquareCode:Ao,SquareCodeIcon:Ao,SquareDashed:Po,SquareDashedBottom:r9,SquareDashedBottomCode:i9,SquareDashedBottomCodeIcon:i9,SquareDashedBottomIcon:r9,SquareDashedIcon:Po,SquareDashedKanban:zo,SquareDashedKanbanIcon:zo,SquareDashedMousePointer:Vo,SquareDashedMousePointerIcon:Vo,SquareDashedTopSolid:s9,SquareDashedTopSolidIcon:s9,SquareDivide:To,SquareDivideIcon:To,SquareDot:Do,SquareDotIcon:Do,SquareEqual:Ho,SquareEqualIcon:Ho,SquareFunction:Bo,SquareFunctionIcon:Bo,SquareGanttChart:yt,SquareGanttChartIcon:yt,SquareIcon:m9,SquareKanban:Ro,SquareKanbanIcon:Ro,SquareLibrary:Fo,SquareLibraryIcon:Fo,SquareM:Eo,SquareMIcon:Eo,SquareMenu:Oo,SquareMenuIcon:Oo,SquareMinus:Uo,SquareMinusIcon:Uo,SquareMousePointer:Go,SquareMousePointerIcon:Go,SquareParking:Ko,SquareParkingIcon:Ko,SquareParkingOff:Wo,SquareParkingOffIcon:Wo,SquarePause:d9,SquarePauseIcon:d9,SquarePen:Ge,SquarePenIcon:Ge,SquarePercent:Zo,SquarePercentIcon:Zo,SquarePi:Xo,SquarePiIcon:Xo,SquarePilcrow:Yo,SquarePilcrowIcon:Yo,SquarePlay:Jo,SquarePlayIcon:Jo,SquarePlus:Qo,SquarePlusIcon:Qo,SquarePower:ec,SquarePowerIcon:ec,SquareRadical:l9,SquareRadicalIcon:l9,SquareRoundCorner:h9,SquareRoundCornerIcon:h9,SquareScissors:tc,SquareScissorsIcon:tc,SquareSigma:ac,SquareSigmaIcon:ac,SquareSlash:nc,SquareSlashIcon:nc,SquareSplitHorizontal:oc,SquareSplitHorizontalIcon:oc,SquareSplitVertical:cc,SquareSplitVerticalIcon:cc,SquareSquare:u9,SquareSquareIcon:u9,SquareStack:p9,SquareStackIcon:p9,SquareStar:y9,SquareStarIcon:y9,SquareStop:k9,SquareStopIcon:k9,SquareTerminal:ic,SquareTerminalIcon:ic,SquareUser:sc,SquareUserIcon:sc,SquareUserRound:rc,SquareUserRoundIcon:rc,SquareX:dc,SquareXIcon:dc,SquaresExclude:f9,SquaresExcludeIcon:f9,SquaresIntersect:g9,SquaresIntersectIcon:g9,SquaresSubtract:v9,SquaresSubtractIcon:v9,SquaresUnite:x9,SquaresUniteIcon:x9,Squircle:_9,SquircleDashed:M9,SquircleDashedIcon:M9,SquircleIcon:_9,Squirrel:L9,SquirrelIcon:L9,Stamp:I9,StampIcon:I9,Star:N9,StarHalf:b9,StarHalfIcon:b9,StarIcon:N9,StarOff:w9,StarOffIcon:w9,Stars:uo,StarsIcon:uo,StepBack:C9,StepBackIcon:C9,StepForward:S9,StepForwardIcon:S9,Stethoscope:j9,StethoscopeIcon:j9,Sticker:$9,StickerIcon:$9,StickyNote:q9,StickyNoteIcon:q9,StopCircle:Wa,StopCircleIcon:Wa,Store:A9,StoreIcon:A9,StretchHorizontal:z9,StretchHorizontalIcon:z9,StretchVertical:V9,StretchVerticalIcon:V9,Strikethrough:P9,StrikethroughIcon:P9,Subscript:T9,SubscriptIcon:T9,Subtitles:ia,SubtitlesIcon:ia,Sun:E9,SunDim:H9,SunDimIcon:H9,SunIcon:E9,SunMedium:D9,SunMediumIcon:D9,SunMoon:B9,SunMoonIcon:B9,SunSnow:R9,SunSnowIcon:R9,Sunrise:F9,SunriseIcon:F9,Sunset:O9,SunsetIcon:O9,Superscript:U9,SuperscriptIcon:U9,SwatchBook:W9,SwatchBookIcon:W9,SwissFranc:G9,SwissFrancIcon:G9,SwitchCamera:K9,SwitchCameraIcon:K9,Sword:Z9,SwordIcon:Z9,Swords:Y9,SwordsIcon:Y9,Syringe:X9,SyringeIcon:X9,Table:cx,Table2:J9,Table2Icon:J9,TableCellsMerge:Q9,TableCellsMergeIcon:Q9,TableCellsSplit:ex,TableCellsSplitIcon:ex,TableColumnsSplit:tx,TableColumnsSplitIcon:tx,TableConfig:ut,TableConfigIcon:ut,TableIcon:cx,TableOfContents:ax,TableOfContentsIcon:ax,TableProperties:nx,TablePropertiesIcon:nx,TableRowsSplit:ox,TableRowsSplitIcon:ox,Tablet:rx,TabletIcon:rx,TabletSmartphone:ix,TabletSmartphoneIcon:ix,Tablets:sx,TabletsIcon:sx,Tag:dx,TagIcon:dx,Tags:lx,TagsIcon:lx,Tally1:hx,Tally1Icon:hx,Tally2:ux,Tally2Icon:ux,Tally3:px,Tally3Icon:px,Tally4:yx,Tally4Icon:yx,Tally5:kx,Tally5Icon:kx,Tangent:mx,TangentIcon:mx,Target:fx,TargetIcon:fx,Telescope:gx,TelescopeIcon:gx,Tent:xx,TentIcon:xx,TentTree:vx,TentTreeIcon:vx,Terminal:Mx,TerminalIcon:Mx,TerminalSquare:ic,TerminalSquareIcon:ic,TestTube:_x,TestTube2:lc,TestTube2Icon:lc,TestTubeDiagonal:lc,TestTubeDiagonalIcon:lc,TestTubeIcon:_x,TestTubes:Lx,TestTubesIcon:Lx,Text:Nx,TextCursor:bx,TextCursorIcon:bx,TextCursorInput:Ix,TextCursorInputIcon:Ix,TextIcon:Nx,TextQuote:wx,TextQuoteIcon:wx,TextSearch:Cx,TextSearchIcon:Cx,TextSelect:hc,TextSelectIcon:hc,TextSelection:hc,TextSelectionIcon:hc,Theater:Sx,TheaterIcon:Sx,Thermometer:Ax,ThermometerIcon:Ax,ThermometerSnowflake:jx,ThermometerSnowflakeIcon:jx,ThermometerSun:$x,ThermometerSunIcon:$x,ThumbsDown:qx,ThumbsDownIcon:qx,ThumbsUp:zx,ThumbsUpIcon:zx,Ticket:Rx,TicketCheck:Vx,TicketCheckIcon:Vx,TicketIcon:Rx,TicketMinus:Px,TicketMinusIcon:Px,TicketPercent:Tx,TicketPercentIcon:Tx,TicketPlus:Hx,TicketPlusIcon:Hx,TicketSlash:Dx,TicketSlashIcon:Dx,TicketX:Bx,TicketXIcon:Bx,Tickets:Ex,TicketsIcon:Ex,TicketsPlane:Fx,TicketsPlaneIcon:Fx,Timer:Wx,TimerIcon:Wx,TimerOff:Ox,TimerOffIcon:Ox,TimerReset:Ux,TimerResetIcon:Ux,ToggleLeft:Gx,ToggleLeftIcon:Gx,ToggleRight:Kx,ToggleRightIcon:Kx,Toilet:Zx,ToiletIcon:Zx,ToolCase:Xx,ToolCaseIcon:Xx,Tornado:Jx,TornadoIcon:Jx,Torus:Yx,TorusIcon:Yx,Touchpad:eM,TouchpadIcon:eM,TouchpadOff:Qx,TouchpadOffIcon:Qx,TowerControl:aM,TowerControlIcon:aM,ToyBrick:tM,ToyBrickIcon:tM,Tractor:nM,TractorIcon:nM,TrafficCone:oM,TrafficConeIcon:oM,Train:uc,TrainFront:iM,TrainFrontIcon:iM,TrainFrontTunnel:cM,TrainFrontTunnelIcon:cM,TrainIcon:uc,TrainTrack:rM,TrainTrackIcon:rM,TramFront:uc,TramFrontIcon:uc,Transgender:sM,TransgenderIcon:sM,Trash:dM,Trash2:kt,Trash2Icon:kt,TrashIcon:dM,TreeDeciduous:lM,TreeDeciduousIcon:lM,TreePalm:pc,TreePalmIcon:pc,TreePine:hM,TreePineIcon:hM,Trees:uM,TreesIcon:uM,Trello:pM,TrelloIcon:pM,TrendingDown:yM,TrendingDownIcon:yM,TrendingUp:kM,TrendingUpDown:mM,TrendingUpDownIcon:mM,TrendingUpIcon:kM,Triangle:gM,TriangleAlert:yc,TriangleAlertIcon:yc,TriangleDashed:fM,TriangleDashedIcon:fM,TriangleIcon:gM,TriangleRight:vM,TriangleRightIcon:vM,Trophy:xM,TrophyIcon:xM,Truck:_M,TruckElectric:MM,TruckElectricIcon:MM,TruckIcon:_M,TurkishLira:LM,TurkishLiraIcon:LM,Turntable:IM,TurntableIcon:IM,Turtle:bM,TurtleIcon:bM,Tv:CM,Tv2:kc,Tv2Icon:kc,TvIcon:CM,TvMinimal:kc,TvMinimalIcon:kc,TvMinimalPlay:wM,TvMinimalPlayIcon:wM,Twitch:NM,TwitchIcon:NM,Twitter:SM,TwitterIcon:SM,Type:$M,TypeIcon:$M,TypeOutline:jM,TypeOutlineIcon:jM,Umbrella:AM,UmbrellaIcon:AM,UmbrellaOff:qM,UmbrellaOffIcon:qM,Underline:zM,UnderlineIcon:zM,Undo:TM,Undo2:VM,Undo2Icon:VM,UndoDot:PM,UndoDotIcon:PM,UndoIcon:TM,UnfoldHorizontal:HM,UnfoldHorizontalIcon:HM,UnfoldVertical:DM,UnfoldVerticalIcon:DM,Ungroup:BM,UngroupIcon:BM,University:mc,UniversityIcon:mc,Unlink:OM,Unlink2:RM,Unlink2Icon:RM,UnlinkIcon:OM,Unlock:Tn,UnlockIcon:Tn,UnlockKeyhole:Pn,UnlockKeyholeIcon:Pn,Unplug:FM,UnplugIcon:FM,Upload:EM,UploadCloud:Ja,UploadCloudIcon:Ja,UploadIcon:EM,Usb:UM,UsbIcon:UM,User:a_,User2:_c,User2Icon:_c,UserCheck:WM,UserCheck2:fc,UserCheck2Icon:fc,UserCheckIcon:WM,UserCircle:Ka,UserCircle2:Ga,UserCircle2Icon:Ga,UserCircleIcon:Ka,UserCog:GM,UserCog2:gc,UserCog2Icon:gc,UserCogIcon:GM,UserIcon:a_,UserLock:KM,UserLockIcon:KM,UserMinus:ZM,UserMinus2:vc,UserMinus2Icon:vc,UserMinusIcon:ZM,UserPen:XM,UserPenIcon:XM,UserPlus:P1,UserPlus2:xc,UserPlus2Icon:xc,UserPlusIcon:P1,UserRound:_c,UserRoundCheck:fc,UserRoundCheckIcon:fc,UserRoundCog:gc,UserRoundCogIcon:gc,UserRoundIcon:_c,UserRoundMinus:vc,UserRoundMinusIcon:vc,UserRoundPen:YM,UserRoundPenIcon:YM,UserRoundPlus:xc,UserRoundPlusIcon:xc,UserRoundSearch:JM,UserRoundSearchIcon:JM,UserRoundX:Mc,UserRoundXIcon:Mc,UserSearch:QM,UserSearchIcon:QM,UserSquare:sc,UserSquare2:rc,UserSquare2Icon:rc,UserSquareIcon:sc,UserStar:e_,UserStarIcon:e_,UserX:t_,UserX2:Mc,UserX2Icon:Mc,UserXIcon:t_,Users:n_,Users2:Lc,Users2Icon:Lc,UsersIcon:n_,UsersRound:Lc,UsersRoundIcon:Lc,Utensils:bc,UtensilsCrossed:Ic,UtensilsCrossedIcon:Ic,UtensilsIcon:bc,UtilityPole:o_,UtilityPoleIcon:o_,Variable:c_,VariableIcon:c_,Vault:i_,VaultIcon:i_,VectorSquare:r_,VectorSquareIcon:r_,Vegan:s_,VeganIcon:s_,VenetianMask:d_,VenetianMaskIcon:d_,Venus:p_,VenusAndMars:l_,VenusAndMarsIcon:l_,VenusIcon:p_,Verified:ea,VerifiedIcon:ea,Vibrate:u_,VibrateIcon:u_,VibrateOff:h_,VibrateOffIcon:h_,Video:k_,VideoIcon:k_,VideoOff:y_,VideoOffIcon:y_,Videotape:m_,VideotapeIcon:m_,View:g_,ViewIcon:g_,Voicemail:f_,VoicemailIcon:f_,Volleyball:v_,VolleyballIcon:v_,Volume:b_,Volume1:x_,Volume1Icon:x_,Volume2:M_,Volume2Icon:M_,VolumeIcon:b_,VolumeOff:__,VolumeOffIcon:__,VolumeX:L_,VolumeXIcon:L_,Vote:I_,VoteIcon:I_,Wallet:C_,Wallet2:wc,Wallet2Icon:wc,WalletCards:w_,WalletCardsIcon:w_,WalletIcon:C_,WalletMinimal:wc,WalletMinimalIcon:wc,Wallpaper:N_,WallpaperIcon:N_,Wand:S_,Wand2:Cc,Wand2Icon:Cc,WandIcon:S_,WandSparkles:Cc,WandSparklesIcon:Cc,Warehouse:j_,WarehouseIcon:j_,WashingMachine:$_,WashingMachineIcon:$_,Watch:q_,WatchIcon:q_,Waves:z_,WavesIcon:z_,WavesLadder:A_,WavesLadderIcon:A_,Waypoints:V_,WaypointsIcon:V_,Webcam:P_,WebcamIcon:P_,Webhook:D_,WebhookIcon:D_,WebhookOff:T_,WebhookOffIcon:T_,Weight:H_,WeightIcon:H_,Wheat:R_,WheatIcon:R_,WheatOff:B_,WheatOffIcon:B_,WholeWord:F_,WholeWordIcon:F_,Wifi:X_,WifiCog:E_,WifiCogIcon:E_,WifiHigh:O_,WifiHighIcon:O_,WifiIcon:X_,WifiLow:U_,WifiLowIcon:U_,WifiOff:W_,WifiOffIcon:W_,WifiPen:G_,WifiPenIcon:G_,WifiSync:K_,WifiSyncIcon:K_,WifiZero:Z_,WifiZeroIcon:Z_,Wind:J_,WindArrowDown:Y_,WindArrowDownIcon:Y_,WindIcon:J_,Wine:eL,WineIcon:eL,WineOff:Q_,WineOffIcon:Q_,Workflow:tL,WorkflowIcon:tL,Worm:aL,WormIcon:aL,WrapText:nL,WrapTextIcon:nL,Wrench:oL,WrenchIcon:oL,X:at,XCircle:qt,XCircleIcon:qt,XIcon:at,XOctagon:Un,XOctagonIcon:Un,XSquare:dc,XSquareIcon:dc,Youtube:iL,YoutubeIcon:iL,Zap:rL,ZapIcon:rL,ZapOff:cL,ZapOffIcon:cL,ZoomIn:sL,ZoomInIcon:sL,ZoomOut:dL,ZoomOutIcon:dL,createLucideIcon:a.createLucideIcon,icons:hde},Symbol.toStringTag,{value:"Module"})),ude=({size:e=250,background:t="#fff",headerTop:n,headerBottom:c,headerTopStyle:i,headerBottomStyle:r,progress1:s,badgeList:d,progress3:l,style:h,className:u="",draggable:p=!1})=>{const y=e!==void 0?e:250,f=e?{size:e*.5,...s}:s,g=e?{size:e*.4,...l}:l,m={background:t,position:"relative",...h,...y&&{width:y}};return o.jsxs("div",{style:m,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(Zb,{...f})}),o.jsxs("div",{className:"progress-row-double",children:[o.jsx("div",{className:"progress-item",children:o.jsx(Qj,{...d})}),o.jsx("div",{className:"progress-item",children:o.jsx(Zb,{...g})})]})]}),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}})})]})},e$=k.createContext(void 0),ft=()=>{const e=k.useContext(e$);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},pde=({children:e,defaultActive:t=""})=>{const[n,c]=k.useState(t),[i,r]=k.useState(t),[s,d]=k.useState(void 0),[l,h]=k.useState(void 0),[u,p]=k.useState({}),y=(f,g)=>{p(m=>({...m,[f]:g}))};return o.jsx(e$.Provider,{value:{activeNav:n,setActiveNav:c,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:l,setUser:h,navCounts:u,setNavCount:y},children:e})},t$=({categories:e,logo:t="Menu",buttonContent:n,position:c="auto",closeOnClickOutside:i=!0,select:r,topContent:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState("right"),p=k.useRef(null),y=k.useRef(null),{activeNav:f,activeSubNav:g}=ft();k.useEffect(()=>{if(!i)return;const M=v=>{p.current&&!p.current.contains(v.target)&&l(!1)};return document.addEventListener("mousedown",M),()=>document.removeEventListener("mousedown",M)},[i]),k.useEffect(()=>{if(d&&c==="auto"&&y.current){const M=y.current.getBoundingClientRect(),v=window.innerWidth/2;u(M.left<v?"left":"right")}},[d,c]);const m=t?_t[t]:null,x=c==="auto"?h:c;return o.jsxs("div",{className:"dropdown",ref:p,children:[o.jsxs("button",{ref:y,type:"button",className:"dropdown-button",onClick:()=>l(M=>!M),"aria-expanded":d,"aria-haspopup":"true",children:[m&&o.jsx(m,{size:20}),n&&o.jsx("span",{className:"button-text",children:n})]}),d&&o.jsxs("div",{className:`dropdown-content ${x}`,children:[s&&o.jsx("div",{className:"dropdown-top-content",children:s}),e?.map((M,v)=>o.jsxs("div",{className:"dropdown-category",children:[M.title&&o.jsx("div",{className:"category-title",children:M.title}),o.jsx("div",{className:"category-items",children:M.items.map((I,b)=>{const w=I.id??I.label,C=f===w||g===w,_=I.select??r;if(I.id==="language"){if(!_||!Array.isArray(_.options)||!_.onChange)return o.jsx("div",{className:"dropdown-language"},b);const j=Array.isArray(_.options)?_.options:[],S=j.some(z=>z.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:z=>{const A=z.target.value;try{_.onChange(A)}catch(H){console.error("select onChange error",H)}},children:S.map(z=>o.jsx("option",{value:z.code,children:z.label},z.code))})},b)}const L={className:`dropdown-item ${C?"active":""}`,onClick:()=>{I.onClick?.(),l(!1)},role:I.type==="button"||!I.href?"button":void 0};return I.type==="button"||!I.href?o.jsx("button",{type:"button",...L,children:I.label},b):o.jsx("a",{...L,href:I.href,children:I.label},b)})})]},v))]})]})},a$=({children:e,container:t=!1,item:n=!1,parent:c=!1,xs:i,sm:r,md:s,lg:d,xl:l,spacing:h=0,className:u="",uniqueKey:p=0,style:y={},width:f,order:g,onSwap:m,draggable:x=!1,displayNone:M=!1})=>{const[v,I]=k.useState([]);k.useEffect(()=>{const L=z=>{const A=[];return k.Children.forEach(z,H=>{Array.isArray(H)?A.push(...L(H)):k.isValidElement(H)&&A.push(H)}),A},N=L(e).filter(z=>k.isValidElement(z)).map(z=>{let A="";const H=z.props;return A=[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:z,classes:A}});let S=N;g&&g.length>0&&(S=N.map((z,A)=>({...z,node:N[g[A]]?.node??z.node}))),I(S)},[e]);const b=(L,j)=>{L.stopPropagation(),L.dataTransfer.setData("dragIndex",j.toString()),L.dataTransfer.setData("parentKey",p.toString())},w=L=>{L.preventDefault(),L.stopPropagation()},C=(L,j)=>{L.preventDefault();const N=Number(L.dataTransfer.getData("dragIndex")),S=Number(L.dataTransfer.getData("parentKey"));if(t&&S!==p)return;const z=[...v];let A=-1,H=-1;if(z.forEach((V,$)=>{if(k.isValidElement(V.node)){const q=V.node.props;q.uniqueKey===j&&(A=$),q.uniqueKey===N&&(H=$)}}),A===-1||H===-1)return;const P=z[H].node;z[H]={...z[H],node:z[A].node},z[A]={...z[A],node:P},I(z),typeof m=="function"&&m(H,A)},_=c?[i?`grid-xs-${i}`:"",r?`grid-sm-${r}`:"",s?`grid-md-${s}`:"",d?`grid-lg-${d}`:"",l?`grid-xl-${l}`:""].join(" "):"";return!c&&f?y={...y,width:`${f}px`}:!c&&!f&&(y={...y,width:"100%"}),y={...y,height:"100%"},t?o.jsx("div",{className:`${u} grid-container ${_}`,style:{"--gap-grid":`${h}rem`,...y},children:v.map(L=>L.node.type?.displayName==="Grid"?x&&L.node?.props?.draggable!==!1?o.jsx("div",{draggable:!0,onDragStart:j=>b(j,L.node?.props?.uniqueKey),onDragOver:j=>w(j),onDrop:j=>C(j,L.node?.props?.uniqueKey),className:`grid-item grid-item-grabbing ${L.classes} ${L.node?.props?.displayNone?"grid-display-none":""}`,style:{cursor:"grab"},children:L.node},L.node?.props?.uniqueKey):o.jsx("div",{className:`grid-item ${L.classes} ${L.node?.props?.displayNone?"grid-display-none":""}`,children:L.node},L.node?.props?.uniqueKey):L.node)}):n?o.jsx("div",{className:`${u} grid-item ${_} ${M?"grid-display-none":""}`,style:{gap:`${h}rem`,...y},children:e}):o.jsx(o.Fragment,{children:e})};a$.displayName="Grid";const wL=({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"})},Xb=({id:e,label:t,isActive:n=!1,onClick:c,href:i,highlightColor:r="#008CBA",moduleKey:s="",a11yConfig:d,...l})=>{const{setActiveNav:h}=ft(),u=()=>{h(e),c?.(e)};return i?o.jsx("a",{href:i,className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Y(d,e),...l,children:t}):o.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Y(d,e),role:c?"button":"presentation",tabIndex:c?0:-1,...l,children:t})},n$=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:c={},dropdownPosition:i="auto"})=>{const{activeNav:r}=ft(),[s,d]=k.useState(!0),[l,h]=k.useState(!1),[u,p]=k.useState("left"),y=k.useRef(null),f=k.useRef(null),g=k.useRef(null);k.useEffect(()=>{const v=()=>{if(y.current&&y.current.parentElement){const I=y.current.parentNode?.parentElement?.offsetWidth||0;d(I*.8<y.current.offsetWidth||I<1100)}};return v(),window.addEventListener("resize",v),()=>window.removeEventListener("resize",v)},[]),k.useEffect(()=>{if(l&&i==="auto"&&f.current){const v=f.current.getBoundingClientRect(),I=window.innerWidth/2;p(v.left<I?"left":"right")}},[l,i]),k.useEffect(()=>{if(!l)return;const v=I=>{g.current&&!g.current.contains(I.target)&&f.current&&!f.current.contains(I.target)&&h(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[l]);const m=v=>{t?.(v),h(!1)},x=e.find(v=>v.id===r)||e[0],M=i==="auto"?u:i;return o.jsx("div",{ref:y,children:s?o.jsxs("div",{className:"navbar-mobile",children:[o.jsxs("button",{ref:f,className:"navbar-dropdown-toggle",onClick:()=>h(!l),style:{backgroundColor:n,color:"#fff"},"aria-expanded":l,"aria-haspopup":"true",children:[x.label,o.jsx("span",{className:`dropdown-arrow ${l?"open":""}`})]}),l&&o.jsx("div",{ref:g,className:`navbar-dropdown ${M}`,children:e.map(v=>o.jsx(Xb,{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:m,highlightColor:n},v.id))})]}):o.jsx("nav",{className:"navbar",children:e.map(v=>o.jsx(Xb,{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:m,highlightColor:n},v.id))})})},o$=k.createContext(void 0),yde=({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(o$.Provider,{value:{themeName:n,setTheme:i},children:e})},c$=()=>{const e=k.useContext(o$);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},CL=()=>{const{themeName:e,setTheme:t}=c$(),n=k.useCallback(c=>{t(c)},[t]);return{currentTheme:e,switchTheme:n}},Z1=({colors:e={},leftIcon:t,rightIcon:n,checked:c=!1,onToggle:i,size:r=24,className:s="",style:d,a11yConfig:l})=>{const h=()=>i?.(!c),u=p=>{(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),h())};return o.jsxs("div",{role:"switch","aria-checked":c,tabIndex:0,title:Y(l),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:h,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})]})]})},Yb=({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:l}=CL(),[h,u]=k.useState(!1);if(k.useEffect(()=>{u(!0)},[]),!h)return null;const p=d===t,y=f=>{l(f?t:e)};return o.jsx(Z1,{leftIcon:n,rightIcon:c,checked:p,onToggle:y,colors:i,size:r,a11yConfig:s})},kde=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.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"})),bC=k.memo(kde),i$=k.createContext(void 0),mde=({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(i$.Provider,{value:{isDraggable:t,switchDraggable:c},children:e})},r$=()=>{const e=k.useContext(i$);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},kL=({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}=r$(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return o.jsx(Z1,{leftIcon:e||o.jsx(bC,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(bC,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:c,a11yConfig:i})},fde=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.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"})),wC=k.memo(fde),s$=k.createContext(void 0),gde=({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(s$.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:c},children:e})},d$=()=>{const e=k.useContext(s$);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},mL=({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}=d$(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return o.jsx(Z1,{leftIcon:e||o.jsx(wC,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(wC,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:c,a11yConfig:i})},l$=k.createContext(void 0),vde=({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(l$.Provider,{value:{showData:t,switchShowData:c},children:e})},h$=()=>{const e=k.useContext(l$);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},xde=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.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"})),CC=k.memo(xde),fL=({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}=h$(),[r,s]=k.useState(!1);return k.useEffect(()=>{s(!0)},[]),r?o.jsx(Z1,{checked:c,onToggle:d=>i(d),size:e,leftIcon:o.jsx(CC,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:o.jsx(CC,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t,a11yConfig:n}):null},Mde=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.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"})),u$=k.memo(Mde);function Jb({items:e,onSave:t,loading:n,disabled:c,saveLabel:i,savingLabel:r,buttonTitle:s}){const[d,l]=k.useState(!1),[h,u]=k.useState(e);k.useEffect(()=>{u(e)},[e]);const p=(f,g)=>{u(m=>m.map(x=>x.component_key===f&&g>3?{...x,visible:!x.visible}:x))},y=()=>{t(h),l(!1)};return o.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[o.jsx("div",{onClick:()=>c||l(f=>!f),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--color-primary)"},title:s,children:o.jsx(u$,{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:h.map((f,g)=>o.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[o.jsx("input",{type:"checkbox",checked:f.visible,disabled:g<4,onChange:()=>p(f.component_key,g),style:{marginRight:8}}),o.jsx("span",{style:{color:g<4?"#6b7280":"#111827"},children:f.label}),g<4&&o.jsx("span",{style:{fontSize:"var(--text-paragraph)",color:"#9ca3af",marginLeft:6}})]},f.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 _de=({logoPath:e,navItems:t,onNavClick:n,dropdownItems:c,headerBg:i,highlightColor:r="#1387C8",moduleConfig:s={},componentVisibilityItems:d=[],onComponentVisibilitySave:l,componentVisibilityLoading:h=!1,componentVisibilitySaveLabel:u,componentVisibilitySavingLabel:p,componentVisibilityButtonTitle:y})=>{const{activeSwitchers:f}=ft(),g=f?.draggable===!0,m=f?.showData===!0,x=f?.legendFilter===!0,M=f?.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(wL,{imagePath:e})}),o.jsx(n$,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),o.jsxs("div",{className:"header-right",children:[o.jsxs("div",{className:"switcher-container",children:[g&&o.jsx(kL,{}),m&&o.jsx(fL,{}),x&&o.jsx(mL,{}),o.jsx(Yb,{}),M&&o.jsx(Jb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]}),o.jsx(t$,{categories:c?.categories,buttonContent:c?.buttonContent,topContent:o.jsxs("div",{className:"dropdown-switchers",children:[g&&o.jsx(kL,{}),m&&o.jsx(fL,{}),x&&o.jsx(mL,{}),o.jsx(Yb,{}),M&&o.jsx(Jb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},p$=({icon:e,text:t,size:n=16,color:c="currentColor",className:i="",active:r=!1,href:s,a11yConfig:d})=>{const l=e?_t[e]:null,h=s?"a":"div";return o.jsxs(h,{className:`icon-text ${r?"icon-text-active":""} ${i}`,style:{color:c},title:Y(d,t),role:"text","aria-label":t,...s?{href:s}:{},children:[l&&o.jsx(l,{size:n,"aria-hidden":"true"}),o.jsx("span",{children:t})]})},Vc=e=>typeof e=="number"?`${e}px`:e,Lde=({title:e,titleColor:t="#1c1b1f",headerColor:n="#ECEEF0",entryLabel:c="Entrée",entryValue:i,exitLabel:r="Sortie",exitValue:s,timeLabelColor:d="#6b7280",timeLabelFontSize:l="0.85rem",timeLabelFontWeight:h=400,timeLabelLineHeight:u=1,timeValueColor:p="#1c1b1f",rows:y=[],textFontSize:f="1.1rem",textFontWeight:g=700,textLineHeight:m=1,titleMinHeight:x,backgroundColor:M="#ffffff",borderColor:v="#D2D6D8",width:I,className:b,onClick:w,ariaLabel:C,a11yConfig:_,titleA11yConfig:L,entryLabelA11yConfig:j,exitLabelA11yConfig:N})=>{const S=Y(_),z=Y(L,L?.titleKey?void 0:e),A=Y(j,j?.titleKey?void 0:c),H=Y(N,N?.titleKey?void 0:r);return o.jsxs(Ide,{$width:I,$borderColor:v,className:b,onClick:w,role:w?"button":"group","aria-label":C||e,title:S,tabIndex:w?0:void 0,onKeyDown:P=>w&&P.key==="Enter"&&w(),children:[o.jsxs(bde,{$bgColor:n,$borderColor:v,children:[e&&o.jsx(Cde,{$color:t,$fontSize:f,$fontWeight:g,$lineHeight:m,$minHeight:x,title:z,children:e}),(i||s)&&o.jsxs(Nde,{children:[i&&o.jsxs(NC,{children:[o.jsx(SC,{$color:d,$fontSize:l,$fontWeight:h,$lineHeight:u,title:A,children:c}),o.jsx(jC,{$color:p,children:i})]}),s&&o.jsxs(NC,{children:[o.jsx(SC,{$color:d,$fontSize:l,$fontWeight:h,$lineHeight:u,title:H,children:r}),o.jsx(jC,{$color:p,children:s})]})]}),o.jsx(wde,{$bgColor:n})]}),y.length>0&&o.jsx(Sde,{$bgColor:M,children:y.map((P,V)=>o.jsxs(jde,{title:Y(P.a11yConfig),children:[P.icon&&o.jsx($de,{"aria-hidden":"true",children:P.icon}),o.jsx(qde,{$fontSize:f,$fontWeight:g,$lineHeight:m,children:P.text})]},V))})]})},Ide=F.div`
8161
+ */const _t=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:mi,AArrowDownIcon:mi,AArrowUp:fi,AArrowUpIcon:fi,ALargeSmall:gi,ALargeSmallIcon:gi,Accessibility:I1,AccessibilityIcon:I1,Activity:b1,ActivityIcon:b1,ActivitySquare:Vt,ActivitySquareIcon:Vt,AirVent:vi,AirVentIcon:vi,Airplay:xi,AirplayIcon:xi,AlarmCheck:Ot,AlarmCheckIcon:Ot,AlarmClock:_i,AlarmClockCheck:Ot,AlarmClockCheckIcon:Ot,AlarmClockIcon:_i,AlarmClockMinus:Ut,AlarmClockMinusIcon:Ut,AlarmClockOff:Mi,AlarmClockOffIcon:Mi,AlarmClockPlus:Wt,AlarmClockPlusIcon:Wt,AlarmMinus:Ut,AlarmMinusIcon:Ut,AlarmPlus:Wt,AlarmPlusIcon:Wt,AlarmSmoke:Li,AlarmSmokeIcon:Li,Album:Ii,AlbumIcon:Ii,AlertCircle:xa,AlertCircleIcon:xa,AlertOctagon:En,AlertOctagonIcon:En,AlertTriangle:yc,AlertTriangleIcon:yc,AlignCenter:ji,AlignCenterHorizontal:bi,AlignCenterHorizontalIcon:bi,AlignCenterIcon:ji,AlignCenterVertical:wi,AlignCenterVerticalIcon:wi,AlignEndHorizontal:Ci,AlignEndHorizontalIcon:Ci,AlignEndVertical:Ni,AlignEndVerticalIcon:Ni,AlignHorizontalDistributeCenter:Si,AlignHorizontalDistributeCenterIcon:Si,AlignHorizontalDistributeEnd:$i,AlignHorizontalDistributeEndIcon:$i,AlignHorizontalDistributeStart:qi,AlignHorizontalDistributeStartIcon:qi,AlignHorizontalJustifyCenter:Ai,AlignHorizontalJustifyCenterIcon:Ai,AlignHorizontalJustifyEnd:zi,AlignHorizontalJustifyEndIcon:zi,AlignHorizontalJustifyStart:Vi,AlignHorizontalJustifyStartIcon:Vi,AlignHorizontalSpaceAround:Pi,AlignHorizontalSpaceAroundIcon:Pi,AlignHorizontalSpaceBetween:Hi,AlignHorizontalSpaceBetweenIcon:Hi,AlignJustify:Ti,AlignJustifyIcon:Ti,AlignLeft:Di,AlignLeftIcon:Di,AlignRight:Bi,AlignRightIcon:Bi,AlignStartHorizontal:Ri,AlignStartHorizontalIcon:Ri,AlignStartVertical:Fi,AlignStartVerticalIcon:Fi,AlignVerticalDistributeCenter:Oi,AlignVerticalDistributeCenterIcon:Oi,AlignVerticalDistributeEnd:Ei,AlignVerticalDistributeEndIcon:Ei,AlignVerticalDistributeStart:Wi,AlignVerticalDistributeStartIcon:Wi,AlignVerticalJustifyCenter:Ui,AlignVerticalJustifyCenterIcon:Ui,AlignVerticalJustifyEnd:Gi,AlignVerticalJustifyEndIcon:Gi,AlignVerticalJustifyStart:Ki,AlignVerticalJustifyStartIcon:Ki,AlignVerticalSpaceAround:Xi,AlignVerticalSpaceAroundIcon:Xi,AlignVerticalSpaceBetween:Zi,AlignVerticalSpaceBetweenIcon:Zi,Ambulance:Yi,AmbulanceIcon:Yi,Ampersand:Ji,AmpersandIcon:Ji,Ampersands:Qi,AmpersandsIcon:Qi,Amphora:er,AmphoraIcon:er,Anchor:tr,AnchorIcon:tr,Angry:ar,AngryIcon:ar,Annoyed:nr,AnnoyedIcon:nr,Antenna:or,AntennaIcon:or,Anvil:cr,AnvilIcon:cr,Aperture:ir,ApertureIcon:ir,AppWindow:sr,AppWindowIcon:sr,AppWindowMac:rr,AppWindowMacIcon:rr,Apple:dr,AppleIcon:dr,Archive:ur,ArchiveIcon:ur,ArchiveRestore:lr,ArchiveRestoreIcon:lr,ArchiveX:hr,ArchiveXIcon:hr,AreaChart:ra,AreaChartIcon:ra,Armchair:pr,ArmchairIcon:pr,ArrowBigDown:kr,ArrowBigDownDash:yr,ArrowBigDownDashIcon:yr,ArrowBigDownIcon:kr,ArrowBigLeft:fr,ArrowBigLeftDash:mr,ArrowBigLeftDashIcon:mr,ArrowBigLeftIcon:fr,ArrowBigRight:vr,ArrowBigRightDash:gr,ArrowBigRightDashIcon:gr,ArrowBigRightIcon:vr,ArrowBigUp:Mr,ArrowBigUpDash:xr,ArrowBigUpDashIcon:xr,ArrowBigUpIcon:Mr,ArrowDown:e1,ArrowDown01:_r,ArrowDown01Icon:_r,ArrowDown10:Lr,ArrowDown10Icon:Lr,ArrowDownAZ:Gt,ArrowDownAZIcon:Gt,ArrowDownAz:Gt,ArrowDownAzIcon:Gt,ArrowDownCircle:Ma,ArrowDownCircleIcon:Ma,ArrowDownFromLine:Ir,ArrowDownFromLineIcon:Ir,ArrowDownIcon:e1,ArrowDownLeft:br,ArrowDownLeftFromCircle:La,ArrowDownLeftFromCircleIcon:La,ArrowDownLeftFromSquare:fo,ArrowDownLeftFromSquareIcon:fo,ArrowDownLeftIcon:br,ArrowDownLeftSquare:po,ArrowDownLeftSquareIcon:po,ArrowDownNarrowWide:wr,ArrowDownNarrowWideIcon:wr,ArrowDownRight:Cr,ArrowDownRightFromCircle:Ia,ArrowDownRightFromCircleIcon:Ia,ArrowDownRightFromSquare:go,ArrowDownRightFromSquareIcon:go,ArrowDownRightIcon:Cr,ArrowDownRightSquare:yo,ArrowDownRightSquareIcon:yo,ArrowDownSquare:ko,ArrowDownSquareIcon:ko,ArrowDownToDot:Nr,ArrowDownToDotIcon:Nr,ArrowDownToLine:Sr,ArrowDownToLineIcon:Sr,ArrowDownUp:jr,ArrowDownUpIcon:jr,ArrowDownWideNarrow:Kt,ArrowDownWideNarrowIcon:Kt,ArrowDownZA:Zt,ArrowDownZAIcon:Zt,ArrowDownZa:Zt,ArrowDownZaIcon:Zt,ArrowLeft:w1,ArrowLeftCircle:_a,ArrowLeftCircleIcon:_a,ArrowLeftFromLine:$r,ArrowLeftFromLineIcon:$r,ArrowLeftIcon:w1,ArrowLeftRight:qr,ArrowLeftRightIcon:qr,ArrowLeftSquare:mo,ArrowLeftSquareIcon:mo,ArrowLeftToLine:Ar,ArrowLeftToLineIcon:Ar,ArrowRight:Tr,ArrowRightCircle:Ca,ArrowRightCircleIcon:Ca,ArrowRightFromLine:zr,ArrowRightFromLineIcon:zr,ArrowRightIcon:Tr,ArrowRightLeft:Vr,ArrowRightLeftIcon:Vr,ArrowRightSquare:Mo,ArrowRightSquareIcon:Mo,ArrowRightToLine:Pr,ArrowRightToLineIcon:Pr,ArrowUp:t1,ArrowUp01:Hr,ArrowUp01Icon:Hr,ArrowUp10:Dr,ArrowUp10Icon:Dr,ArrowUpAZ:Xt,ArrowUpAZIcon:Xt,ArrowUpAz:Xt,ArrowUpAzIcon:Xt,ArrowUpCircle:Na,ArrowUpCircleIcon:Na,ArrowUpDown:Br,ArrowUpDownIcon:Br,ArrowUpFromDot:Rr,ArrowUpFromDotIcon:Rr,ArrowUpFromLine:Fr,ArrowUpFromLineIcon:Fr,ArrowUpIcon:t1,ArrowUpLeft:Er,ArrowUpLeftFromCircle:ba,ArrowUpLeftFromCircleIcon:ba,ArrowUpLeftFromSquare:vo,ArrowUpLeftFromSquareIcon:vo,ArrowUpLeftIcon:Er,ArrowUpLeftSquare:_o,ArrowUpLeftSquareIcon:_o,ArrowUpNarrowWide:Yt,ArrowUpNarrowWideIcon:Yt,ArrowUpRight:Or,ArrowUpRightFromCircle:wa,ArrowUpRightFromCircleIcon:wa,ArrowUpRightFromSquare:xo,ArrowUpRightFromSquareIcon:xo,ArrowUpRightIcon:Or,ArrowUpRightSquare:Lo,ArrowUpRightSquareIcon:Lo,ArrowUpSquare:Io,ArrowUpSquareIcon:Io,ArrowUpToLine:Ur,ArrowUpToLineIcon:Ur,ArrowUpWideNarrow:Wr,ArrowUpWideNarrowIcon:Wr,ArrowUpZA:Jt,ArrowUpZAIcon:Jt,ArrowUpZa:Jt,ArrowUpZaIcon:Jt,ArrowsUpFromLine:Gr,ArrowsUpFromLineIcon:Gr,Asterisk:Kr,AsteriskIcon:Kr,AsteriskSquare:bo,AsteriskSquareIcon:bo,AtSign:Zr,AtSignIcon:Zr,Atom:Xr,AtomIcon:Xr,AudioLines:Yr,AudioLinesIcon:Yr,AudioWaveform:Jr,AudioWaveformIcon:Jr,Award:Qr,AwardIcon:Qr,Axe:es,AxeIcon:es,Axis3D:Qt,Axis3DIcon:Qt,Axis3d:Qt,Axis3dIcon:Qt,Baby:ts,BabyIcon:ts,Backpack:as,BackpackIcon:as,Badge:gs,BadgeAlert:ns,BadgeAlertIcon:ns,BadgeCent:os,BadgeCentIcon:os,BadgeCheck:ea,BadgeCheckIcon:ea,BadgeDollarSign:cs,BadgeDollarSignIcon:cs,BadgeEuro:is,BadgeEuroIcon:is,BadgeHelp:ta,BadgeHelpIcon:ta,BadgeIcon:gs,BadgeIndianRupee:rs,BadgeIndianRupeeIcon:rs,BadgeInfo:ss,BadgeInfoIcon:ss,BadgeJapaneseYen:ls,BadgeJapaneseYenIcon:ls,BadgeMinus:ds,BadgeMinusIcon:ds,BadgePercent:hs,BadgePercentIcon:hs,BadgePlus:us,BadgePlusIcon:us,BadgePoundSterling:ps,BadgePoundSterlingIcon:ps,BadgeQuestionMark:ta,BadgeQuestionMarkIcon:ta,BadgeRussianRuble:ys,BadgeRussianRubleIcon:ys,BadgeSwissFranc:ks,BadgeSwissFrancIcon:ks,BadgeTurkishLira:ms,BadgeTurkishLiraIcon:ms,BadgeX:fs,BadgeXIcon:fs,BaggageClaim:vs,BaggageClaimIcon:vs,Ban:xs,BanIcon:xs,Banana:Ms,BananaIcon:Ms,Bandage:_s,BandageIcon:_s,Banknote:ws,BanknoteArrowDown:Ls,BanknoteArrowDownIcon:Ls,BanknoteArrowUp:Is,BanknoteArrowUpIcon:Is,BanknoteIcon:ws,BanknoteX:bs,BanknoteXIcon:bs,BarChart:ka,BarChart2:ma,BarChart2Icon:ma,BarChart3:pa,BarChart3Icon:pa,BarChart4:ua,BarChart4Icon:ua,BarChartBig:ha,BarChartBigIcon:ha,BarChartHorizontal:da,BarChartHorizontalBig:sa,BarChartHorizontalBigIcon:sa,BarChartHorizontalIcon:da,BarChartIcon:ka,Barcode:Cs,BarcodeIcon:Cs,Barrel:Ns,BarrelIcon:Ns,Baseline:Ss,BaselineIcon:Ss,Bath:js,BathIcon:js,Battery:Ts,BatteryCharging:$s,BatteryChargingIcon:$s,BatteryFull:qs,BatteryFullIcon:qs,BatteryIcon:Ts,BatteryLow:As,BatteryLowIcon:As,BatteryMedium:zs,BatteryMediumIcon:zs,BatteryPlus:Vs,BatteryPlusIcon:Vs,BatteryWarning:Ps,BatteryWarningIcon:Ps,Beaker:Hs,BeakerIcon:Hs,Bean:Bs,BeanIcon:Bs,BeanOff:Ds,BeanOffIcon:Ds,Bed:Es,BedDouble:Rs,BedDoubleIcon:Rs,BedIcon:Es,BedSingle:Fs,BedSingleIcon:Fs,Beef:Os,BeefIcon:Os,Beer:Ws,BeerIcon:Ws,BeerOff:Us,BeerOffIcon:Us,Bell:Js,BellDot:Gs,BellDotIcon:Gs,BellElectric:Ks,BellElectricIcon:Ks,BellIcon:Js,BellMinus:Zs,BellMinusIcon:Zs,BellOff:Xs,BellOffIcon:Xs,BellPlus:Ys,BellPlusIcon:Ys,BellRing:Qs,BellRingIcon:Qs,BetweenHorizonalEnd:aa,BetweenHorizonalEndIcon:aa,BetweenHorizonalStart:na,BetweenHorizonalStartIcon:na,BetweenHorizontalEnd:aa,BetweenHorizontalEndIcon:aa,BetweenHorizontalStart:na,BetweenHorizontalStartIcon:na,BetweenVerticalEnd:t2,BetweenVerticalEndIcon:t2,BetweenVerticalStart:e2,BetweenVerticalStartIcon:e2,BicepsFlexed:a2,BicepsFlexedIcon:a2,Bike:o2,BikeIcon:o2,Binary:n2,BinaryIcon:n2,Binoculars:c2,BinocularsIcon:c2,Biohazard:i2,BiohazardIcon:i2,Bird:r2,BirdIcon:r2,Bitcoin:s2,BitcoinIcon:s2,Blend:d2,BlendIcon:d2,Blinds:l2,BlindsIcon:l2,Blocks:h2,BlocksIcon:h2,Bluetooth:k2,BluetoothConnected:u2,BluetoothConnectedIcon:u2,BluetoothIcon:k2,BluetoothOff:p2,BluetoothOffIcon:p2,BluetoothSearching:y2,BluetoothSearchingIcon:y2,Bold:m2,BoldIcon:m2,Bolt:f2,BoltIcon:f2,Bomb:g2,BombIcon:g2,Bone:v2,BoneIcon:v2,Book:E2,BookA:x2,BookAIcon:x2,BookAlert:M2,BookAlertIcon:M2,BookAudio:_2,BookAudioIcon:_2,BookCheck:L2,BookCheckIcon:L2,BookCopy:I2,BookCopyIcon:I2,BookDashed:oa,BookDashedIcon:oa,BookDown:b2,BookDownIcon:b2,BookHeadphones:w2,BookHeadphonesIcon:w2,BookHeart:C2,BookHeartIcon:C2,BookIcon:E2,BookImage:N2,BookImageIcon:N2,BookKey:S2,BookKeyIcon:S2,BookLock:j2,BookLockIcon:j2,BookMarked:q2,BookMarkedIcon:q2,BookMinus:$2,BookMinusIcon:$2,BookOpen:V2,BookOpenCheck:A2,BookOpenCheckIcon:A2,BookOpenIcon:V2,BookOpenText:z2,BookOpenTextIcon:z2,BookPlus:P2,BookPlusIcon:P2,BookTemplate:oa,BookTemplateIcon:oa,BookText:T2,BookTextIcon:T2,BookType:H2,BookTypeIcon:H2,BookUp:B2,BookUp2:D2,BookUp2Icon:D2,BookUpIcon:B2,BookUser:R2,BookUserIcon:R2,BookX:F2,BookXIcon:F2,Bookmark:K2,BookmarkCheck:O2,BookmarkCheckIcon:O2,BookmarkIcon:K2,BookmarkMinus:U2,BookmarkMinusIcon:U2,BookmarkPlus:W2,BookmarkPlusIcon:W2,BookmarkX:G2,BookmarkXIcon:G2,BoomBox:Z2,BoomBoxIcon:Z2,Bot:J2,BotIcon:J2,BotMessageSquare:X2,BotMessageSquareIcon:X2,BotOff:Y2,BotOffIcon:Y2,BottleWine:Q2,BottleWineIcon:Q2,BowArrow:ed,BowArrowIcon:ed,Box:td,BoxIcon:td,BoxSelect:Po,BoxSelectIcon:Po,Boxes:ad,BoxesIcon:ad,Braces:ca,BracesIcon:ca,Brackets:nd,BracketsIcon:nd,Brain:id,BrainCircuit:od,BrainCircuitIcon:od,BrainCog:cd,BrainCogIcon:cd,BrainIcon:id,BrickWall:dd,BrickWallFire:rd,BrickWallFireIcon:rd,BrickWallIcon:dd,BrickWallShield:sd,BrickWallShieldIcon:sd,Briefcase:pd,BriefcaseBusiness:ld,BriefcaseBusinessIcon:ld,BriefcaseConveyorBelt:hd,BriefcaseConveyorBeltIcon:hd,BriefcaseIcon:pd,BriefcaseMedical:ud,BriefcaseMedicalIcon:ud,BringToFront:yd,BringToFrontIcon:yd,Brush:md,BrushCleaning:kd,BrushCleaningIcon:kd,BrushIcon:md,Bubbles:fd,BubblesIcon:fd,Bug:Md,BugIcon:Md,BugOff:gd,BugOffIcon:gd,BugPlay:vd,BugPlayIcon:vd,Building:_d,Building2:xd,Building2Icon:xd,BuildingIcon:_d,Bus:Id,BusFront:Ld,BusFrontIcon:Ld,BusIcon:Id,Cable:wd,CableCar:bd,CableCarIcon:bd,CableIcon:wd,Cake:Nd,CakeIcon:Nd,CakeSlice:Cd,CakeSliceIcon:Cd,Calculator:Sd,CalculatorIcon:Sd,Calendar:C1,Calendar1:jd,Calendar1Icon:jd,CalendarArrowDown:$d,CalendarArrowDownIcon:$d,CalendarArrowUp:qd,CalendarArrowUpIcon:qd,CalendarCheck:zd,CalendarCheck2:Ad,CalendarCheck2Icon:Ad,CalendarCheckIcon:zd,CalendarClock:Vd,CalendarClockIcon:Vd,CalendarCog:Pd,CalendarCogIcon:Pd,CalendarDays:Td,CalendarDaysIcon:Td,CalendarFold:Hd,CalendarFoldIcon:Hd,CalendarHeart:Dd,CalendarHeartIcon:Dd,CalendarIcon:C1,CalendarMinus:Rd,CalendarMinus2:Bd,CalendarMinus2Icon:Bd,CalendarMinusIcon:Rd,CalendarOff:Fd,CalendarOffIcon:Fd,CalendarPlus:Od,CalendarPlus2:Ed,CalendarPlus2Icon:Ed,CalendarPlusIcon:Od,CalendarRange:Ud,CalendarRangeIcon:Ud,CalendarSearch:Wd,CalendarSearchIcon:Wd,CalendarSync:Gd,CalendarSyncIcon:Gd,CalendarX:Zd,CalendarX2:Kd,CalendarX2Icon:Kd,CalendarXIcon:Zd,Camera:Yd,CameraIcon:Yd,CameraOff:Xd,CameraOffIcon:Xd,CandlestickChart:la,CandlestickChartIcon:la,Candy:e0,CandyCane:Jd,CandyCaneIcon:Jd,CandyIcon:e0,CandyOff:Qd,CandyOffIcon:Qd,Cannabis:t0,CannabisIcon:t0,Captions:ia,CaptionsIcon:ia,CaptionsOff:a0,CaptionsOffIcon:a0,Car:c0,CarFront:n0,CarFrontIcon:n0,CarIcon:c0,CarTaxiFront:o0,CarTaxiFrontIcon:o0,Caravan:i0,CaravanIcon:i0,CardSim:r0,CardSimIcon:r0,Carrot:s0,CarrotIcon:s0,CaseLower:d0,CaseLowerIcon:d0,CaseSensitive:l0,CaseSensitiveIcon:l0,CaseUpper:h0,CaseUpperIcon:h0,CassetteTape:u0,CassetteTapeIcon:u0,Cast:p0,CastIcon:p0,Castle:k0,CastleIcon:k0,Cat:y0,CatIcon:y0,Cctv:m0,CctvIcon:m0,ChartArea:ra,ChartAreaIcon:ra,ChartBar:da,ChartBarBig:sa,ChartBarBigIcon:sa,ChartBarDecreasing:f0,ChartBarDecreasingIcon:f0,ChartBarIcon:da,ChartBarIncreasing:g0,ChartBarIncreasingIcon:g0,ChartBarStacked:v0,ChartBarStackedIcon:v0,ChartCandlestick:la,ChartCandlestickIcon:la,ChartColumn:pa,ChartColumnBig:ha,ChartColumnBigIcon:ha,ChartColumnDecreasing:x0,ChartColumnDecreasingIcon:x0,ChartColumnIcon:pa,ChartColumnIncreasing:ua,ChartColumnIncreasingIcon:ua,ChartColumnStacked:M0,ChartColumnStackedIcon:M0,ChartGantt:_0,ChartGanttIcon:_0,ChartLine:ya,ChartLineIcon:ya,ChartNetwork:L0,ChartNetworkIcon:L0,ChartNoAxesColumn:ma,ChartNoAxesColumnDecreasing:I0,ChartNoAxesColumnDecreasingIcon:I0,ChartNoAxesColumnIcon:ma,ChartNoAxesColumnIncreasing:ka,ChartNoAxesColumnIncreasingIcon:ka,ChartNoAxesCombined:b0,ChartNoAxesCombinedIcon:b0,ChartNoAxesGantt:fa,ChartNoAxesGanttIcon:fa,ChartPie:ga,ChartPieIcon:ga,ChartScatter:va,ChartScatterIcon:va,ChartSpline:w0,ChartSplineIcon:w0,Check:N1,CheckCheck:C0,CheckCheckIcon:C0,CheckCircle:Sa,CheckCircle2:ja,CheckCircle2Icon:ja,CheckCircleIcon:Sa,CheckIcon:N1,CheckLine:N0,CheckLineIcon:N0,CheckSquare:Co,CheckSquare2:No,CheckSquare2Icon:No,CheckSquareIcon:Co,ChefHat:S0,ChefHatIcon:S0,Cherry:j0,CherryIcon:j0,ChevronDown:Ht,ChevronDownCircle:$a,ChevronDownCircleIcon:$a,ChevronDownIcon:Ht,ChevronDownSquare:So,ChevronDownSquareIcon:So,ChevronFirst:$0,ChevronFirstIcon:$0,ChevronLast:q0,ChevronLastIcon:q0,ChevronLeft:A0,ChevronLeftCircle:qa,ChevronLeftCircleIcon:qa,ChevronLeftIcon:A0,ChevronLeftSquare:jo,ChevronLeftSquareIcon:jo,ChevronRight:S1,ChevronRightCircle:Aa,ChevronRightCircleIcon:Aa,ChevronRightIcon:S1,ChevronRightSquare:$o,ChevronRightSquareIcon:$o,ChevronUp:qc,ChevronUpCircle:za,ChevronUpCircleIcon:za,ChevronUpIcon:qc,ChevronUpSquare:qo,ChevronUpSquareIcon:qo,ChevronsDown:V0,ChevronsDownIcon:V0,ChevronsDownUp:z0,ChevronsDownUpIcon:z0,ChevronsLeft:T0,ChevronsLeftIcon:T0,ChevronsLeftRight:P0,ChevronsLeftRightEllipsis:H0,ChevronsLeftRightEllipsisIcon:H0,ChevronsLeftRightIcon:P0,ChevronsRight:B0,ChevronsRightIcon:B0,ChevronsRightLeft:D0,ChevronsRightLeftIcon:D0,ChevronsUp:R0,ChevronsUpDown:a1,ChevronsUpDownIcon:a1,ChevronsUpIcon:R0,Chrome:F0,ChromeIcon:F0,Church:E0,ChurchIcon:E0,Cigarette:U0,CigaretteIcon:U0,CigaretteOff:O0,CigaretteOffIcon:O0,Circle:cl,CircleAlert:xa,CircleAlertIcon:xa,CircleArrowDown:Ma,CircleArrowDownIcon:Ma,CircleArrowLeft:_a,CircleArrowLeftIcon:_a,CircleArrowOutDownLeft:La,CircleArrowOutDownLeftIcon:La,CircleArrowOutDownRight:Ia,CircleArrowOutDownRightIcon:Ia,CircleArrowOutUpLeft:ba,CircleArrowOutUpLeftIcon:ba,CircleArrowOutUpRight:wa,CircleArrowOutUpRightIcon:wa,CircleArrowRight:Ca,CircleArrowRightIcon:Ca,CircleArrowUp:Na,CircleArrowUpIcon:Na,CircleCheck:ja,CircleCheckBig:Sa,CircleCheckBigIcon:Sa,CircleCheckIcon:ja,CircleChevronDown:$a,CircleChevronDownIcon:$a,CircleChevronLeft:qa,CircleChevronLeftIcon:qa,CircleChevronRight:Aa,CircleChevronRightIcon:Aa,CircleChevronUp:za,CircleChevronUpIcon:za,CircleDashed:W0,CircleDashedIcon:W0,CircleDivide:Va,CircleDivideIcon:Va,CircleDollarSign:K0,CircleDollarSignIcon:K0,CircleDot:Z0,CircleDotDashed:G0,CircleDotDashedIcon:G0,CircleDotIcon:Z0,CircleEllipsis:X0,CircleEllipsisIcon:X0,CircleEqual:Y0,CircleEqualIcon:Y0,CircleFadingArrowUp:Q0,CircleFadingArrowUpIcon:Q0,CircleFadingPlus:J0,CircleFadingPlusIcon:J0,CircleGauge:Pa,CircleGaugeIcon:Pa,CircleHelp:ht,CircleHelpIcon:ht,CircleIcon:cl,CircleMinus:Ta,CircleMinusIcon:Ta,CircleOff:el,CircleOffIcon:el,CircleParking:Ba,CircleParkingIcon:Ba,CircleParkingOff:Ha,CircleParkingOffIcon:Ha,CirclePause:Da,CirclePauseIcon:Da,CirclePercent:Ra,CirclePercentIcon:Ra,CirclePlay:Fa,CirclePlayIcon:Fa,CirclePlus:Ea,CirclePlusIcon:Ea,CirclePoundSterling:tl,CirclePoundSterlingIcon:tl,CirclePower:Oa,CirclePowerIcon:Oa,CircleQuestionMark:ht,CircleQuestionMarkIcon:ht,CircleSlash:al,CircleSlash2:Ua,CircleSlash2Icon:Ua,CircleSlashIcon:al,CircleSlashed:Ua,CircleSlashedIcon:Ua,CircleSmall:nl,CircleSmallIcon:nl,CircleStar:ol,CircleStarIcon:ol,CircleStop:Wa,CircleStopIcon:Wa,CircleUser:Ka,CircleUserIcon:Ka,CircleUserRound:Ga,CircleUserRoundIcon:Ga,CircleX:qt,CircleXIcon:qt,CircuitBoard:il,CircuitBoardIcon:il,Citrus:rl,CitrusIcon:rl,Clapperboard:sl,ClapperboardIcon:sl,Clipboard:gl,ClipboardCheck:dl,ClipboardCheckIcon:dl,ClipboardClock:ll,ClipboardClockIcon:ll,ClipboardCopy:hl,ClipboardCopyIcon:hl,ClipboardEdit:Xa,ClipboardEditIcon:Xa,ClipboardIcon:gl,ClipboardList:ul,ClipboardListIcon:ul,ClipboardMinus:pl,ClipboardMinusIcon:pl,ClipboardPaste:yl,ClipboardPasteIcon:yl,ClipboardPen:Xa,ClipboardPenIcon:Xa,ClipboardPenLine:Za,ClipboardPenLineIcon:Za,ClipboardPlus:kl,ClipboardPlusIcon:kl,ClipboardSignature:Za,ClipboardSignatureIcon:Za,ClipboardType:ml,ClipboardTypeIcon:ml,ClipboardX:fl,ClipboardXIcon:fl,Clock:Pl,Clock1:xl,Clock10:vl,Clock10Icon:vl,Clock11:Ml,Clock11Icon:Ml,Clock12:_l,Clock12Icon:_l,Clock1Icon:xl,Clock2:Ll,Clock2Icon:Ll,Clock3:Il,Clock3Icon:Il,Clock4:bl,Clock4Icon:bl,Clock5:wl,Clock5Icon:wl,Clock6:Cl,Clock6Icon:Cl,Clock7:Nl,Clock7Icon:Nl,Clock8:Sl,Clock8Icon:Sl,Clock9:jl,Clock9Icon:jl,ClockAlert:$l,ClockAlertIcon:$l,ClockArrowDown:ql,ClockArrowDownIcon:ql,ClockArrowUp:Al,ClockArrowUpIcon:Al,ClockFading:zl,ClockFadingIcon:zl,ClockIcon:Pl,ClockPlus:Vl,ClockPlusIcon:Vl,ClosedCaption:Tl,ClosedCaptionIcon:Tl,Cloud:Ql,CloudAlert:Hl,CloudAlertIcon:Hl,CloudCheck:Dl,CloudCheckIcon:Dl,CloudCog:Bl,CloudCogIcon:Bl,CloudDownload:Ya,CloudDownloadIcon:Ya,CloudDrizzle:Rl,CloudDrizzleIcon:Rl,CloudFog:Fl,CloudFogIcon:Fl,CloudHail:El,CloudHailIcon:El,CloudIcon:Ql,CloudLightning:Ol,CloudLightningIcon:Ol,CloudMoon:Wl,CloudMoonIcon:Wl,CloudMoonRain:Ul,CloudMoonRainIcon:Ul,CloudOff:Gl,CloudOffIcon:Gl,CloudRain:Zl,CloudRainIcon:Zl,CloudRainWind:Kl,CloudRainWindIcon:Kl,CloudSnow:Xl,CloudSnowIcon:Xl,CloudSun:Jl,CloudSunIcon:Jl,CloudSunRain:Yl,CloudSunRainIcon:Yl,CloudUpload:Ja,CloudUploadIcon:Ja,Cloudy:eh,CloudyIcon:eh,Clover:th,CloverIcon:th,Club:ah,ClubIcon:ah,Code:nh,Code2:Qa,Code2Icon:Qa,CodeIcon:nh,CodeSquare:Ao,CodeSquareIcon:Ao,CodeXml:Qa,CodeXmlIcon:Qa,Codepen:oh,CodepenIcon:oh,Codesandbox:ch,CodesandboxIcon:ch,Coffee:ih,CoffeeIcon:ih,Cog:rh,CogIcon:rh,Coins:sh,CoinsIcon:sh,Columns:en,Columns2:en,Columns2Icon:en,Columns3:tn,Columns3Cog:ut,Columns3CogIcon:ut,Columns3Icon:tn,Columns4:dh,Columns4Icon:dh,ColumnsIcon:en,ColumnsSettings:ut,ColumnsSettingsIcon:ut,Combine:lh,CombineIcon:lh,Command:hh,CommandIcon:hh,Compass:uh,CompassIcon:uh,Component:ph,ComponentIcon:ph,Computer:yh,ComputerIcon:yh,ConciergeBell:kh,ConciergeBellIcon:kh,Cone:mh,ConeIcon:mh,Construction:fh,ConstructionIcon:fh,Contact:gh,Contact2:an,Contact2Icon:an,ContactIcon:gh,ContactRound:an,ContactRoundIcon:an,Container:vh,ContainerIcon:vh,Contrast:Mh,ContrastIcon:Mh,Cookie:xh,CookieIcon:xh,CookingPot:Lh,CookingPotIcon:Lh,Copy:Nh,CopyCheck:_h,CopyCheckIcon:_h,CopyIcon:Nh,CopyMinus:Ih,CopyMinusIcon:Ih,CopyPlus:bh,CopyPlusIcon:bh,CopySlash:wh,CopySlashIcon:wh,CopyX:Ch,CopyXIcon:Ch,Copyleft:Sh,CopyleftIcon:Sh,Copyright:jh,CopyrightIcon:jh,CornerDownLeft:$h,CornerDownLeftIcon:$h,CornerDownRight:qh,CornerDownRightIcon:qh,CornerLeftDown:Ah,CornerLeftDownIcon:Ah,CornerLeftUp:zh,CornerLeftUpIcon:zh,CornerRightDown:Vh,CornerRightDownIcon:Vh,CornerRightUp:Ph,CornerRightUpIcon:Ph,CornerUpLeft:Th,CornerUpLeftIcon:Th,CornerUpRight:Hh,CornerUpRightIcon:Hh,Cpu:Dh,CpuIcon:Dh,CreativeCommons:Bh,CreativeCommonsIcon:Bh,CreditCard:Rh,CreditCardIcon:Rh,Croissant:Fh,CroissantIcon:Fh,Crop:Eh,CropIcon:Eh,Cross:Oh,CrossIcon:Oh,Crosshair:Uh,CrosshairIcon:Uh,Crown:Wh,CrownIcon:Wh,Cuboid:Gh,CuboidIcon:Gh,CupSoda:Kh,CupSodaIcon:Kh,CurlyBraces:ca,CurlyBracesIcon:ca,Currency:Zh,CurrencyIcon:Zh,Cylinder:Xh,CylinderIcon:Xh,Dam:Yh,DamIcon:Yh,Database:eu,DatabaseBackup:Jh,DatabaseBackupIcon:Jh,DatabaseIcon:eu,DatabaseZap:Qh,DatabaseZapIcon:Qh,DecimalsArrowLeft:tu,DecimalsArrowLeftIcon:tu,DecimalsArrowRight:au,DecimalsArrowRightIcon:au,Delete:nu,DeleteIcon:nu,Dessert:ou,DessertIcon:ou,Diameter:cu,DiameterIcon:cu,Diamond:su,DiamondIcon:su,DiamondMinus:iu,DiamondMinusIcon:iu,DiamondPercent:nn,DiamondPercentIcon:nn,DiamondPlus:ru,DiamondPlusIcon:ru,Dice1:du,Dice1Icon:du,Dice2:lu,Dice2Icon:lu,Dice3:hu,Dice3Icon:hu,Dice4:uu,Dice4Icon:uu,Dice5:pu,Dice5Icon:pu,Dice6:yu,Dice6Icon:yu,Dices:ku,DicesIcon:ku,Diff:mu,DiffIcon:mu,Disc:xu,Disc2:fu,Disc2Icon:fu,Disc3:gu,Disc3Icon:gu,DiscAlbum:vu,DiscAlbumIcon:vu,DiscIcon:xu,Divide:Mu,DivideCircle:Va,DivideCircleIcon:Va,DivideIcon:Mu,DivideSquare:To,DivideSquareIcon:To,Dna:Lu,DnaIcon:Lu,DnaOff:_u,DnaOffIcon:_u,Dock:Iu,DockIcon:Iu,Dog:bu,DogIcon:bu,DollarSign:wu,DollarSignIcon:wu,Donut:Cu,DonutIcon:Cu,DoorClosed:Su,DoorClosedIcon:Su,DoorClosedLocked:Nu,DoorClosedLockedIcon:Nu,DoorOpen:ju,DoorOpenIcon:ju,Dot:$u,DotIcon:$u,DotSquare:Do,DotSquareIcon:Do,Download:Au,DownloadCloud:Ya,DownloadCloudIcon:Ya,DownloadIcon:Au,DraftingCompass:qu,DraftingCompassIcon:qu,Drama:zu,DramaIcon:zu,Dribbble:Vu,DribbbleIcon:Vu,Drill:Pu,DrillIcon:Pu,Drone:Tu,DroneIcon:Tu,Droplet:Du,DropletIcon:Du,DropletOff:Hu,DropletOffIcon:Hu,Droplets:Bu,DropletsIcon:Bu,Drum:Ru,DrumIcon:Ru,Drumstick:Fu,DrumstickIcon:Fu,Dumbbell:Eu,DumbbellIcon:Eu,Ear:Uu,EarIcon:Uu,EarOff:Ou,EarOffIcon:Ou,Earth:on,EarthIcon:on,EarthLock:Wu,EarthLockIcon:Wu,Eclipse:Gu,EclipseIcon:Gu,Edit:Ge,Edit2:xt,Edit2Icon:xt,Edit3:vt,Edit3Icon:vt,EditIcon:Ge,Egg:Xu,EggFried:Ku,EggFriedIcon:Ku,EggIcon:Xu,EggOff:Zu,EggOffIcon:Zu,Ellipsis:rn,EllipsisIcon:rn,EllipsisVertical:cn,EllipsisVerticalIcon:cn,Equal:Qu,EqualApproximately:Yu,EqualApproximatelyIcon:Yu,EqualIcon:Qu,EqualNot:Ju,EqualNotIcon:Ju,EqualSquare:Ho,EqualSquareIcon:Ho,Eraser:ep,EraserIcon:ep,EthernetPort:tp,EthernetPortIcon:tp,Euro:ap,EuroIcon:ap,Expand:op,ExpandIcon:op,ExternalLink:np,ExternalLinkIcon:np,Eye:$1,EyeClosed:cp,EyeClosedIcon:cp,EyeIcon:$1,EyeOff:j1,EyeOffIcon:j1,Facebook:ip,FacebookIcon:ip,Factory:rp,FactoryIcon:rp,Fan:sp,FanIcon:sp,FastForward:dp,FastForwardIcon:dp,Feather:lp,FeatherIcon:lp,Fence:hp,FenceIcon:hp,FerrisWheel:up,FerrisWheelIcon:up,Figma:pp,FigmaIcon:pp,File:ry,FileArchive:yp,FileArchiveIcon:yp,FileAudio:mp,FileAudio2:kp,FileAudio2Icon:kp,FileAudioIcon:mp,FileAxis3D:sn,FileAxis3DIcon:sn,FileAxis3d:sn,FileAxis3dIcon:sn,FileBadge:vp,FileBadge2:fp,FileBadge2Icon:fp,FileBadgeIcon:vp,FileBarChart:dn,FileBarChart2:ln,FileBarChart2Icon:ln,FileBarChartIcon:dn,FileBox:gp,FileBoxIcon:gp,FileChartColumn:ln,FileChartColumnIcon:ln,FileChartColumnIncreasing:dn,FileChartColumnIncreasingIcon:dn,FileChartLine:hn,FileChartLineIcon:hn,FileChartPie:un,FileChartPieIcon:un,FileCheck:Mp,FileCheck2:xp,FileCheck2Icon:xp,FileCheckIcon:Mp,FileClock:_p,FileClockIcon:_p,FileCode:Lp,FileCode2:Ip,FileCode2Icon:Ip,FileCodeIcon:Lp,FileCog:pn,FileCog2:pn,FileCog2Icon:pn,FileCogIcon:pn,FileDiff:bp,FileDiffIcon:bp,FileDigit:wp,FileDigitIcon:wp,FileDown:Cp,FileDownIcon:Cp,FileEdit:kn,FileEditIcon:kn,FileHeart:Np,FileHeartIcon:Np,FileIcon:ry,FileImage:Sp,FileImageIcon:Sp,FileInput:jp,FileInputIcon:jp,FileJson:qp,FileJson2:$p,FileJson2Icon:$p,FileJsonIcon:qp,FileKey:zp,FileKey2:Ap,FileKey2Icon:Ap,FileKeyIcon:zp,FileLineChart:hn,FileLineChartIcon:hn,FileLock:Pp,FileLock2:Vp,FileLock2Icon:Vp,FileLockIcon:Pp,FileMinus:Hp,FileMinus2:Tp,FileMinus2Icon:Tp,FileMinusIcon:Hp,FileMusic:Dp,FileMusicIcon:Dp,FileOutput:Bp,FileOutputIcon:Bp,FilePen:kn,FilePenIcon:kn,FilePenLine:yn,FilePenLineIcon:yn,FilePieChart:un,FilePieChartIcon:un,FilePlay:mn,FilePlayIcon:mn,FilePlus:Fp,FilePlus2:Rp,FilePlus2Icon:Rp,FilePlusIcon:Fp,FileQuestion:fn,FileQuestionIcon:fn,FileQuestionMark:fn,FileQuestionMarkIcon:fn,FileScan:Ep,FileScanIcon:Ep,FileSearch:Up,FileSearch2:Op,FileSearch2Icon:Op,FileSearchIcon:Up,FileSignature:yn,FileSignatureIcon:yn,FileSliders:Wp,FileSlidersIcon:Wp,FileSpreadsheet:Gp,FileSpreadsheetIcon:Gp,FileStack:Kp,FileStackIcon:Kp,FileSymlink:Zp,FileSymlinkIcon:Zp,FileTerminal:Xp,FileTerminalIcon:Xp,FileText:Yp,FileTextIcon:Yp,FileType:Qp,FileType2:Jp,FileType2Icon:Jp,FileTypeIcon:Qp,FileUp:ey,FileUpIcon:ey,FileUser:ty,FileUserIcon:ty,FileVideo:mn,FileVideo2:gn,FileVideo2Icon:gn,FileVideoCamera:gn,FileVideoCameraIcon:gn,FileVideoIcon:mn,FileVolume:ny,FileVolume2:ay,FileVolume2Icon:ay,FileVolumeIcon:ny,FileWarning:oy,FileWarningIcon:oy,FileX:iy,FileX2:cy,FileX2Icon:cy,FileXIcon:iy,Files:sy,FilesIcon:sy,Film:dy,FilmIcon:dy,Filter:At,FilterIcon:At,FilterX:Mn,FilterXIcon:Mn,Fingerprint:ly,FingerprintIcon:ly,FireExtinguisher:hy,FireExtinguisherIcon:hy,Fish:py,FishIcon:py,FishOff:uy,FishOffIcon:uy,FishSymbol:yy,FishSymbolIcon:yy,Flag:gy,FlagIcon:gy,FlagOff:ky,FlagOffIcon:ky,FlagTriangleLeft:my,FlagTriangleLeftIcon:my,FlagTriangleRight:fy,FlagTriangleRightIcon:fy,Flame:xy,FlameIcon:xy,FlameKindling:vy,FlameKindlingIcon:vy,Flashlight:_y,FlashlightIcon:_y,FlashlightOff:My,FlashlightOffIcon:My,FlaskConical:Iy,FlaskConicalIcon:Iy,FlaskConicalOff:Ly,FlaskConicalOffIcon:Ly,FlaskRound:by,FlaskRoundIcon:by,FlipHorizontal:Cy,FlipHorizontal2:wy,FlipHorizontal2Icon:wy,FlipHorizontalIcon:Cy,FlipVertical:Sy,FlipVertical2:Ny,FlipVertical2Icon:Ny,FlipVerticalIcon:Sy,Flower:$y,Flower2:jy,Flower2Icon:jy,FlowerIcon:$y,Focus:qy,FocusIcon:qy,FoldHorizontal:Ay,FoldHorizontalIcon:Ay,FoldVertical:zy,FoldVerticalIcon:zy,Folder:q1,FolderArchive:Vy,FolderArchiveIcon:Vy,FolderCheck:Py,FolderCheckIcon:Py,FolderClock:Ty,FolderClockIcon:Ty,FolderClosed:Hy,FolderClosedIcon:Hy,FolderCode:Dy,FolderCodeIcon:Dy,FolderCog:vn,FolderCog2:vn,FolderCog2Icon:vn,FolderCogIcon:vn,FolderDot:By,FolderDotIcon:By,FolderDown:Ry,FolderDownIcon:Ry,FolderEdit:xn,FolderEditIcon:xn,FolderGit:Ey,FolderGit2:Fy,FolderGit2Icon:Fy,FolderGitIcon:Ey,FolderHeart:Oy,FolderHeartIcon:Oy,FolderIcon:q1,FolderInput:Uy,FolderInputIcon:Uy,FolderKanban:Wy,FolderKanbanIcon:Wy,FolderKey:Gy,FolderKeyIcon:Gy,FolderLock:Ky,FolderLockIcon:Ky,FolderMinus:Zy,FolderMinusIcon:Zy,FolderOpen:Yy,FolderOpenDot:Xy,FolderOpenDotIcon:Xy,FolderOpenIcon:Yy,FolderOutput:Jy,FolderOutputIcon:Jy,FolderPen:xn,FolderPenIcon:xn,FolderPlus:Ac,FolderPlusIcon:Ac,FolderRoot:Qy,FolderRootIcon:Qy,FolderSearch:t4,FolderSearch2:e4,FolderSearch2Icon:e4,FolderSearchIcon:t4,FolderSymlink:a4,FolderSymlinkIcon:a4,FolderSync:n4,FolderSyncIcon:n4,FolderTree:o4,FolderTreeIcon:o4,FolderUp:c4,FolderUpIcon:c4,FolderX:i4,FolderXIcon:i4,Folders:r4,FoldersIcon:r4,Footprints:s4,FootprintsIcon:s4,ForkKnife:bc,ForkKnifeCrossed:Ic,ForkKnifeCrossedIcon:Ic,ForkKnifeIcon:bc,Forklift:d4,ForkliftIcon:d4,FormInput:ao,FormInputIcon:ao,Forward:l4,ForwardIcon:l4,Frame:h4,FrameIcon:h4,Framer:u4,FramerIcon:u4,Frown:p4,FrownIcon:p4,Fuel:y4,FuelIcon:y4,Fullscreen:k4,FullscreenIcon:k4,FunctionSquare:Bo,FunctionSquareIcon:Bo,Funnel:At,FunnelIcon:At,FunnelPlus:m4,FunnelPlusIcon:m4,FunnelX:Mn,FunnelXIcon:Mn,GalleryHorizontal:g4,GalleryHorizontalEnd:f4,GalleryHorizontalEndIcon:f4,GalleryHorizontalIcon:g4,GalleryThumbnails:v4,GalleryThumbnailsIcon:v4,GalleryVertical:M4,GalleryVerticalEnd:x4,GalleryVerticalEndIcon:x4,GalleryVerticalIcon:M4,Gamepad:L4,Gamepad2:_4,Gamepad2Icon:_4,GamepadIcon:L4,GanttChart:fa,GanttChartIcon:fa,GanttChartSquare:yt,GanttChartSquareIcon:yt,Gauge:I4,GaugeCircle:Pa,GaugeCircleIcon:Pa,GaugeIcon:I4,Gavel:b4,GavelIcon:b4,Gem:w4,GemIcon:w4,GeorgianLari:C4,GeorgianLariIcon:C4,Ghost:N4,GhostIcon:N4,Gift:S4,GiftIcon:S4,GitBranch:$4,GitBranchIcon:$4,GitBranchPlus:j4,GitBranchPlusIcon:j4,GitCommit:_n,GitCommitHorizontal:_n,GitCommitHorizontalIcon:_n,GitCommitIcon:_n,GitCommitVertical:q4,GitCommitVerticalIcon:q4,GitCompare:z4,GitCompareArrows:A4,GitCompareArrowsIcon:A4,GitCompareIcon:z4,GitFork:V4,GitForkIcon:V4,GitGraph:P4,GitGraphIcon:P4,GitMerge:T4,GitMergeIcon:T4,GitPullRequest:E4,GitPullRequestArrow:H4,GitPullRequestArrowIcon:H4,GitPullRequestClosed:D4,GitPullRequestClosedIcon:D4,GitPullRequestCreate:R4,GitPullRequestCreateArrow:B4,GitPullRequestCreateArrowIcon:B4,GitPullRequestCreateIcon:R4,GitPullRequestDraft:F4,GitPullRequestDraftIcon:F4,GitPullRequestIcon:E4,Github:O4,GithubIcon:O4,Gitlab:U4,GitlabIcon:U4,GlassWater:W4,GlassWaterIcon:W4,Glasses:G4,GlassesIcon:G4,Globe:Z4,Globe2:on,Globe2Icon:on,GlobeIcon:Z4,GlobeLock:K4,GlobeLockIcon:K4,Goal:X4,GoalIcon:X4,Gpu:Y4,GpuIcon:Y4,Grab:Cn,GrabIcon:Cn,GraduationCap:J4,GraduationCapIcon:J4,Grape:Q4,GrapeIcon:Q4,Grid:pt,Grid2X2:wn,Grid2X2Check:Ln,Grid2X2CheckIcon:Ln,Grid2X2Icon:wn,Grid2X2Plus:In,Grid2X2PlusIcon:In,Grid2X2X:bn,Grid2X2XIcon:bn,Grid2x2:wn,Grid2x2Check:Ln,Grid2x2CheckIcon:Ln,Grid2x2Icon:wn,Grid2x2Plus:In,Grid2x2PlusIcon:In,Grid2x2X:bn,Grid2x2XIcon:bn,Grid3X3:pt,Grid3X3Icon:pt,Grid3x2:e5,Grid3x2Icon:e5,Grid3x3:pt,Grid3x3Icon:pt,GridIcon:pt,Grip:a5,GripHorizontal:t5,GripHorizontalIcon:t5,GripIcon:a5,GripVertical:A1,GripVerticalIcon:A1,Group:n5,GroupIcon:n5,Guitar:o5,GuitarIcon:o5,Ham:c5,HamIcon:c5,Hamburger:i5,HamburgerIcon:i5,Hammer:r5,HammerIcon:r5,Hand:p5,HandCoins:s5,HandCoinsIcon:s5,HandFist:d5,HandFistIcon:d5,HandGrab:Cn,HandGrabIcon:Cn,HandHeart:l5,HandHeartIcon:l5,HandHelping:Nn,HandHelpingIcon:Nn,HandIcon:p5,HandMetal:h5,HandMetalIcon:h5,HandPlatter:u5,HandPlatterIcon:u5,Handbag:y5,HandbagIcon:y5,Handshake:k5,HandshakeIcon:k5,HardDrive:g5,HardDriveDownload:m5,HardDriveDownloadIcon:m5,HardDriveIcon:g5,HardDriveUpload:f5,HardDriveUploadIcon:f5,HardHat:v5,HardHatIcon:v5,Hash:x5,HashIcon:x5,HatGlasses:M5,HatGlassesIcon:M5,Haze:_5,HazeIcon:_5,HdmiPort:L5,HdmiPortIcon:L5,Heading:j5,Heading1:I5,Heading1Icon:I5,Heading2:b5,Heading2Icon:b5,Heading3:w5,Heading3Icon:w5,Heading4:C5,Heading4Icon:C5,Heading5:N5,Heading5Icon:N5,Heading6:S5,Heading6Icon:S5,HeadingIcon:j5,HeadphoneOff:$5,HeadphoneOffIcon:$5,Headphones:q5,HeadphonesIcon:q5,Headset:A5,HeadsetIcon:A5,Heart:B5,HeartCrack:z5,HeartCrackIcon:z5,HeartHandshake:V5,HeartHandshakeIcon:V5,HeartIcon:B5,HeartMinus:P5,HeartMinusIcon:P5,HeartOff:T5,HeartOffIcon:T5,HeartPlus:H5,HeartPlusIcon:H5,HeartPulse:D5,HeartPulseIcon:D5,Heater:R5,HeaterIcon:R5,HelpCircle:ht,HelpCircleIcon:ht,HelpingHand:Nn,HelpingHandIcon:Nn,Hexagon:F5,HexagonIcon:F5,Highlighter:E5,HighlighterIcon:E5,History:O5,HistoryIcon:O5,Home:zt,HomeIcon:zt,Hop:W5,HopIcon:W5,HopOff:U5,HopOffIcon:U5,Hospital:z1,HospitalIcon:z1,Hotel:G5,HotelIcon:G5,Hourglass:K5,HourglassIcon:K5,House:zt,HouseIcon:zt,HousePlug:Z5,HousePlugIcon:Z5,HousePlus:Y5,HousePlusIcon:Y5,HouseWifi:X5,HouseWifiIcon:X5,IceCream:jn,IceCream2:Sn,IceCream2Icon:Sn,IceCreamBowl:Sn,IceCreamBowlIcon:Sn,IceCreamCone:jn,IceCreamConeIcon:jn,IceCreamIcon:jn,Icon:a.Icon,IdCard:Q5,IdCardIcon:Q5,IdCardLanyard:J5,IdCardLanyardIcon:J5,Image:rk,ImageDown:ek,ImageDownIcon:ek,ImageIcon:rk,ImageMinus:tk,ImageMinusIcon:tk,ImageOff:ak,ImageOffIcon:ak,ImagePlay:nk,ImagePlayIcon:nk,ImagePlus:ok,ImagePlusIcon:ok,ImageUp:ck,ImageUpIcon:ck,ImageUpscale:ik,ImageUpscaleIcon:ik,Images:sk,ImagesIcon:sk,Import:dk,ImportIcon:dk,Inbox:lk,InboxIcon:lk,Indent:qn,IndentDecrease:$n,IndentDecreaseIcon:$n,IndentIcon:qn,IndentIncrease:qn,IndentIncreaseIcon:qn,IndianRupee:hk,IndianRupeeIcon:hk,Infinity:uk,InfinityIcon:uk,Info:pk,InfoIcon:pk,Inspect:Go,InspectIcon:Go,InspectionPanel:yk,InspectionPanelIcon:yk,Instagram:kk,InstagramIcon:kk,Italic:mk,ItalicIcon:mk,IterationCcw:fk,IterationCcwIcon:fk,IterationCw:gk,IterationCwIcon:gk,JapaneseYen:xk,JapaneseYenIcon:xk,Joystick:vk,JoystickIcon:vk,Kanban:Mk,KanbanIcon:Mk,KanbanSquare:Ro,KanbanSquareDashed:zo,KanbanSquareDashedIcon:zo,KanbanSquareIcon:Ro,Kayak:_k,KayakIcon:_k,Key:bk,KeyIcon:bk,KeyRound:Lk,KeyRoundIcon:Lk,KeySquare:Ik,KeySquareIcon:Ik,Keyboard:Nk,KeyboardIcon:Nk,KeyboardMusic:wk,KeyboardMusicIcon:wk,KeyboardOff:Ck,KeyboardOffIcon:Ck,Lamp:zk,LampCeiling:Sk,LampCeilingIcon:Sk,LampDesk:$k,LampDeskIcon:$k,LampFloor:jk,LampFloorIcon:jk,LampIcon:zk,LampWallDown:qk,LampWallDownIcon:qk,LampWallUp:Ak,LampWallUpIcon:Ak,LandPlot:Vk,LandPlotIcon:Vk,Landmark:Pk,LandmarkIcon:Pk,Languages:Tk,LanguagesIcon:Tk,Laptop:Dk,Laptop2:An,Laptop2Icon:An,LaptopIcon:Dk,LaptopMinimal:An,LaptopMinimalCheck:Hk,LaptopMinimalCheckIcon:Hk,LaptopMinimalIcon:An,Lasso:Rk,LassoIcon:Rk,LassoSelect:Bk,LassoSelectIcon:Bk,Laugh:Fk,LaughIcon:Fk,Layers:zn,Layers2:Ek,Layers2Icon:Ek,Layers3:zn,Layers3Icon:zn,LayersIcon:zn,Layout:eo,LayoutDashboard:Ok,LayoutDashboardIcon:Ok,LayoutGrid:Uk,LayoutGridIcon:Uk,LayoutIcon:eo,LayoutList:Wk,LayoutListIcon:Wk,LayoutPanelLeft:Gk,LayoutPanelLeftIcon:Gk,LayoutPanelTop:Kk,LayoutPanelTopIcon:Kk,LayoutTemplate:Zk,LayoutTemplateIcon:Zk,Leaf:Xk,LeafIcon:Xk,LeafyGreen:Jk,LeafyGreenIcon:Jk,Lectern:Yk,LecternIcon:Yk,LetterText:Qk,LetterTextIcon:Qk,Library:tm,LibraryBig:em,LibraryBigIcon:em,LibraryIcon:tm,LibrarySquare:Fo,LibrarySquareIcon:Fo,LifeBuoy:am,LifeBuoyIcon:am,Ligature:nm,LigatureIcon:nm,Lightbulb:cm,LightbulbIcon:cm,LightbulbOff:om,LightbulbOffIcon:om,LineChart:ya,LineChartIcon:ya,LineSquiggle:im,LineSquiggleIcon:im,Link:dm,Link2:rm,Link2Icon:rm,Link2Off:sm,Link2OffIcon:sm,LinkIcon:dm,Linkedin:lm,LinkedinIcon:lm,List:Cm,ListCheck:hm,ListCheckIcon:hm,ListChecks:um,ListChecksIcon:um,ListCollapse:pm,ListCollapseIcon:pm,ListEnd:ym,ListEndIcon:ym,ListFilter:fm,ListFilterIcon:fm,ListFilterPlus:km,ListFilterPlusIcon:km,ListIcon:Cm,ListMinus:mm,ListMinusIcon:mm,ListMusic:gm,ListMusicIcon:gm,ListOrdered:vm,ListOrderedIcon:vm,ListPlus:xm,ListPlusIcon:xm,ListRestart:Mm,ListRestartIcon:Mm,ListStart:_m,ListStartIcon:_m,ListTodo:Lm,ListTodoIcon:Lm,ListTree:Im,ListTreeIcon:Im,ListVideo:bm,ListVideoIcon:bm,ListX:wm,ListXIcon:wm,Loader:Sm,Loader2:Vn,Loader2Icon:Vn,LoaderCircle:Vn,LoaderCircleIcon:Vn,LoaderIcon:Sm,LoaderPinwheel:Nm,LoaderPinwheelIcon:Nm,Locate:qm,LocateFixed:jm,LocateFixedIcon:jm,LocateIcon:qm,LocateOff:$m,LocateOffIcon:$m,LocationEdit:Dn,LocationEditIcon:Dn,Lock:zm,LockIcon:zm,LockKeyhole:Am,LockKeyholeIcon:Am,LockKeyholeOpen:Pn,LockKeyholeOpenIcon:Pn,LockOpen:Tn,LockOpenIcon:Tn,LogIn:Vm,LogInIcon:Vm,LogOut:Pm,LogOutIcon:Pm,Logs:Tm,LogsIcon:Tm,Lollipop:Hm,LollipopIcon:Hm,LucideAArrowDown:mi,LucideAArrowUp:fi,LucideALargeSmall:gi,LucideAccessibility:I1,LucideActivity:b1,LucideActivitySquare:Vt,LucideAirVent:vi,LucideAirplay:xi,LucideAlarmCheck:Ot,LucideAlarmClock:_i,LucideAlarmClockCheck:Ot,LucideAlarmClockMinus:Ut,LucideAlarmClockOff:Mi,LucideAlarmClockPlus:Wt,LucideAlarmMinus:Ut,LucideAlarmPlus:Wt,LucideAlarmSmoke:Li,LucideAlbum:Ii,LucideAlertCircle:xa,LucideAlertOctagon:En,LucideAlertTriangle:yc,LucideAlignCenter:ji,LucideAlignCenterHorizontal:bi,LucideAlignCenterVertical:wi,LucideAlignEndHorizontal:Ci,LucideAlignEndVertical:Ni,LucideAlignHorizontalDistributeCenter:Si,LucideAlignHorizontalDistributeEnd:$i,LucideAlignHorizontalDistributeStart:qi,LucideAlignHorizontalJustifyCenter:Ai,LucideAlignHorizontalJustifyEnd:zi,LucideAlignHorizontalJustifyStart:Vi,LucideAlignHorizontalSpaceAround:Pi,LucideAlignHorizontalSpaceBetween:Hi,LucideAlignJustify:Ti,LucideAlignLeft:Di,LucideAlignRight:Bi,LucideAlignStartHorizontal:Ri,LucideAlignStartVertical:Fi,LucideAlignVerticalDistributeCenter:Oi,LucideAlignVerticalDistributeEnd:Ei,LucideAlignVerticalDistributeStart:Wi,LucideAlignVerticalJustifyCenter:Ui,LucideAlignVerticalJustifyEnd:Gi,LucideAlignVerticalJustifyStart:Ki,LucideAlignVerticalSpaceAround:Xi,LucideAlignVerticalSpaceBetween:Zi,LucideAmbulance:Yi,LucideAmpersand:Ji,LucideAmpersands:Qi,LucideAmphora:er,LucideAnchor:tr,LucideAngry:ar,LucideAnnoyed:nr,LucideAntenna:or,LucideAnvil:cr,LucideAperture:ir,LucideAppWindow:sr,LucideAppWindowMac:rr,LucideApple:dr,LucideArchive:ur,LucideArchiveRestore:lr,LucideArchiveX:hr,LucideAreaChart:ra,LucideArmchair:pr,LucideArrowBigDown:kr,LucideArrowBigDownDash:yr,LucideArrowBigLeft:fr,LucideArrowBigLeftDash:mr,LucideArrowBigRight:vr,LucideArrowBigRightDash:gr,LucideArrowBigUp:Mr,LucideArrowBigUpDash:xr,LucideArrowDown:e1,LucideArrowDown01:_r,LucideArrowDown10:Lr,LucideArrowDownAZ:Gt,LucideArrowDownAz:Gt,LucideArrowDownCircle:Ma,LucideArrowDownFromLine:Ir,LucideArrowDownLeft:br,LucideArrowDownLeftFromCircle:La,LucideArrowDownLeftFromSquare:fo,LucideArrowDownLeftSquare:po,LucideArrowDownNarrowWide:wr,LucideArrowDownRight:Cr,LucideArrowDownRightFromCircle:Ia,LucideArrowDownRightFromSquare:go,LucideArrowDownRightSquare:yo,LucideArrowDownSquare:ko,LucideArrowDownToDot:Nr,LucideArrowDownToLine:Sr,LucideArrowDownUp:jr,LucideArrowDownWideNarrow:Kt,LucideArrowDownZA:Zt,LucideArrowDownZa:Zt,LucideArrowLeft:w1,LucideArrowLeftCircle:_a,LucideArrowLeftFromLine:$r,LucideArrowLeftRight:qr,LucideArrowLeftSquare:mo,LucideArrowLeftToLine:Ar,LucideArrowRight:Tr,LucideArrowRightCircle:Ca,LucideArrowRightFromLine:zr,LucideArrowRightLeft:Vr,LucideArrowRightSquare:Mo,LucideArrowRightToLine:Pr,LucideArrowUp:t1,LucideArrowUp01:Hr,LucideArrowUp10:Dr,LucideArrowUpAZ:Xt,LucideArrowUpAz:Xt,LucideArrowUpCircle:Na,LucideArrowUpDown:Br,LucideArrowUpFromDot:Rr,LucideArrowUpFromLine:Fr,LucideArrowUpLeft:Er,LucideArrowUpLeftFromCircle:ba,LucideArrowUpLeftFromSquare:vo,LucideArrowUpLeftSquare:_o,LucideArrowUpNarrowWide:Yt,LucideArrowUpRight:Or,LucideArrowUpRightFromCircle:wa,LucideArrowUpRightFromSquare:xo,LucideArrowUpRightSquare:Lo,LucideArrowUpSquare:Io,LucideArrowUpToLine:Ur,LucideArrowUpWideNarrow:Wr,LucideArrowUpZA:Jt,LucideArrowUpZa:Jt,LucideArrowsUpFromLine:Gr,LucideAsterisk:Kr,LucideAsteriskSquare:bo,LucideAtSign:Zr,LucideAtom:Xr,LucideAudioLines:Yr,LucideAudioWaveform:Jr,LucideAward:Qr,LucideAxe:es,LucideAxis3D:Qt,LucideAxis3d:Qt,LucideBaby:ts,LucideBackpack:as,LucideBadge:gs,LucideBadgeAlert:ns,LucideBadgeCent:os,LucideBadgeCheck:ea,LucideBadgeDollarSign:cs,LucideBadgeEuro:is,LucideBadgeHelp:ta,LucideBadgeIndianRupee:rs,LucideBadgeInfo:ss,LucideBadgeJapaneseYen:ls,LucideBadgeMinus:ds,LucideBadgePercent:hs,LucideBadgePlus:us,LucideBadgePoundSterling:ps,LucideBadgeQuestionMark:ta,LucideBadgeRussianRuble:ys,LucideBadgeSwissFranc:ks,LucideBadgeTurkishLira:ms,LucideBadgeX:fs,LucideBaggageClaim:vs,LucideBan:xs,LucideBanana:Ms,LucideBandage:_s,LucideBanknote:ws,LucideBanknoteArrowDown:Ls,LucideBanknoteArrowUp:Is,LucideBanknoteX:bs,LucideBarChart:ka,LucideBarChart2:ma,LucideBarChart3:pa,LucideBarChart4:ua,LucideBarChartBig:ha,LucideBarChartHorizontal:da,LucideBarChartHorizontalBig:sa,LucideBarcode:Cs,LucideBarrel:Ns,LucideBaseline:Ss,LucideBath:js,LucideBattery:Ts,LucideBatteryCharging:$s,LucideBatteryFull:qs,LucideBatteryLow:As,LucideBatteryMedium:zs,LucideBatteryPlus:Vs,LucideBatteryWarning:Ps,LucideBeaker:Hs,LucideBean:Bs,LucideBeanOff:Ds,LucideBed:Es,LucideBedDouble:Rs,LucideBedSingle:Fs,LucideBeef:Os,LucideBeer:Ws,LucideBeerOff:Us,LucideBell:Js,LucideBellDot:Gs,LucideBellElectric:Ks,LucideBellMinus:Zs,LucideBellOff:Xs,LucideBellPlus:Ys,LucideBellRing:Qs,LucideBetweenHorizonalEnd:aa,LucideBetweenHorizonalStart:na,LucideBetweenHorizontalEnd:aa,LucideBetweenHorizontalStart:na,LucideBetweenVerticalEnd:t2,LucideBetweenVerticalStart:e2,LucideBicepsFlexed:a2,LucideBike:o2,LucideBinary:n2,LucideBinoculars:c2,LucideBiohazard:i2,LucideBird:r2,LucideBitcoin:s2,LucideBlend:d2,LucideBlinds:l2,LucideBlocks:h2,LucideBluetooth:k2,LucideBluetoothConnected:u2,LucideBluetoothOff:p2,LucideBluetoothSearching:y2,LucideBold:m2,LucideBolt:f2,LucideBomb:g2,LucideBone:v2,LucideBook:E2,LucideBookA:x2,LucideBookAlert:M2,LucideBookAudio:_2,LucideBookCheck:L2,LucideBookCopy:I2,LucideBookDashed:oa,LucideBookDown:b2,LucideBookHeadphones:w2,LucideBookHeart:C2,LucideBookImage:N2,LucideBookKey:S2,LucideBookLock:j2,LucideBookMarked:q2,LucideBookMinus:$2,LucideBookOpen:V2,LucideBookOpenCheck:A2,LucideBookOpenText:z2,LucideBookPlus:P2,LucideBookTemplate:oa,LucideBookText:T2,LucideBookType:H2,LucideBookUp:B2,LucideBookUp2:D2,LucideBookUser:R2,LucideBookX:F2,LucideBookmark:K2,LucideBookmarkCheck:O2,LucideBookmarkMinus:U2,LucideBookmarkPlus:W2,LucideBookmarkX:G2,LucideBoomBox:Z2,LucideBot:J2,LucideBotMessageSquare:X2,LucideBotOff:Y2,LucideBottleWine:Q2,LucideBowArrow:ed,LucideBox:td,LucideBoxSelect:Po,LucideBoxes:ad,LucideBraces:ca,LucideBrackets:nd,LucideBrain:id,LucideBrainCircuit:od,LucideBrainCog:cd,LucideBrickWall:dd,LucideBrickWallFire:rd,LucideBrickWallShield:sd,LucideBriefcase:pd,LucideBriefcaseBusiness:ld,LucideBriefcaseConveyorBelt:hd,LucideBriefcaseMedical:ud,LucideBringToFront:yd,LucideBrush:md,LucideBrushCleaning:kd,LucideBubbles:fd,LucideBug:Md,LucideBugOff:gd,LucideBugPlay:vd,LucideBuilding:_d,LucideBuilding2:xd,LucideBus:Id,LucideBusFront:Ld,LucideCable:wd,LucideCableCar:bd,LucideCake:Nd,LucideCakeSlice:Cd,LucideCalculator:Sd,LucideCalendar:C1,LucideCalendar1:jd,LucideCalendarArrowDown:$d,LucideCalendarArrowUp:qd,LucideCalendarCheck:zd,LucideCalendarCheck2:Ad,LucideCalendarClock:Vd,LucideCalendarCog:Pd,LucideCalendarDays:Td,LucideCalendarFold:Hd,LucideCalendarHeart:Dd,LucideCalendarMinus:Rd,LucideCalendarMinus2:Bd,LucideCalendarOff:Fd,LucideCalendarPlus:Od,LucideCalendarPlus2:Ed,LucideCalendarRange:Ud,LucideCalendarSearch:Wd,LucideCalendarSync:Gd,LucideCalendarX:Zd,LucideCalendarX2:Kd,LucideCamera:Yd,LucideCameraOff:Xd,LucideCandlestickChart:la,LucideCandy:e0,LucideCandyCane:Jd,LucideCandyOff:Qd,LucideCannabis:t0,LucideCaptions:ia,LucideCaptionsOff:a0,LucideCar:c0,LucideCarFront:n0,LucideCarTaxiFront:o0,LucideCaravan:i0,LucideCardSim:r0,LucideCarrot:s0,LucideCaseLower:d0,LucideCaseSensitive:l0,LucideCaseUpper:h0,LucideCassetteTape:u0,LucideCast:p0,LucideCastle:k0,LucideCat:y0,LucideCctv:m0,LucideChartArea:ra,LucideChartBar:da,LucideChartBarBig:sa,LucideChartBarDecreasing:f0,LucideChartBarIncreasing:g0,LucideChartBarStacked:v0,LucideChartCandlestick:la,LucideChartColumn:pa,LucideChartColumnBig:ha,LucideChartColumnDecreasing:x0,LucideChartColumnIncreasing:ua,LucideChartColumnStacked:M0,LucideChartGantt:_0,LucideChartLine:ya,LucideChartNetwork:L0,LucideChartNoAxesColumn:ma,LucideChartNoAxesColumnDecreasing:I0,LucideChartNoAxesColumnIncreasing:ka,LucideChartNoAxesCombined:b0,LucideChartNoAxesGantt:fa,LucideChartPie:ga,LucideChartScatter:va,LucideChartSpline:w0,LucideCheck:N1,LucideCheckCheck:C0,LucideCheckCircle:Sa,LucideCheckCircle2:ja,LucideCheckLine:N0,LucideCheckSquare:Co,LucideCheckSquare2:No,LucideChefHat:S0,LucideCherry:j0,LucideChevronDown:Ht,LucideChevronDownCircle:$a,LucideChevronDownSquare:So,LucideChevronFirst:$0,LucideChevronLast:q0,LucideChevronLeft:A0,LucideChevronLeftCircle:qa,LucideChevronLeftSquare:jo,LucideChevronRight:S1,LucideChevronRightCircle:Aa,LucideChevronRightSquare:$o,LucideChevronUp:qc,LucideChevronUpCircle:za,LucideChevronUpSquare:qo,LucideChevronsDown:V0,LucideChevronsDownUp:z0,LucideChevronsLeft:T0,LucideChevronsLeftRight:P0,LucideChevronsLeftRightEllipsis:H0,LucideChevronsRight:B0,LucideChevronsRightLeft:D0,LucideChevronsUp:R0,LucideChevronsUpDown:a1,LucideChrome:F0,LucideChurch:E0,LucideCigarette:U0,LucideCigaretteOff:O0,LucideCircle:cl,LucideCircleAlert:xa,LucideCircleArrowDown:Ma,LucideCircleArrowLeft:_a,LucideCircleArrowOutDownLeft:La,LucideCircleArrowOutDownRight:Ia,LucideCircleArrowOutUpLeft:ba,LucideCircleArrowOutUpRight:wa,LucideCircleArrowRight:Ca,LucideCircleArrowUp:Na,LucideCircleCheck:ja,LucideCircleCheckBig:Sa,LucideCircleChevronDown:$a,LucideCircleChevronLeft:qa,LucideCircleChevronRight:Aa,LucideCircleChevronUp:za,LucideCircleDashed:W0,LucideCircleDivide:Va,LucideCircleDollarSign:K0,LucideCircleDot:Z0,LucideCircleDotDashed:G0,LucideCircleEllipsis:X0,LucideCircleEqual:Y0,LucideCircleFadingArrowUp:Q0,LucideCircleFadingPlus:J0,LucideCircleGauge:Pa,LucideCircleHelp:ht,LucideCircleMinus:Ta,LucideCircleOff:el,LucideCircleParking:Ba,LucideCircleParkingOff:Ha,LucideCirclePause:Da,LucideCirclePercent:Ra,LucideCirclePlay:Fa,LucideCirclePlus:Ea,LucideCirclePoundSterling:tl,LucideCirclePower:Oa,LucideCircleQuestionMark:ht,LucideCircleSlash:al,LucideCircleSlash2:Ua,LucideCircleSlashed:Ua,LucideCircleSmall:nl,LucideCircleStar:ol,LucideCircleStop:Wa,LucideCircleUser:Ka,LucideCircleUserRound:Ga,LucideCircleX:qt,LucideCircuitBoard:il,LucideCitrus:rl,LucideClapperboard:sl,LucideClipboard:gl,LucideClipboardCheck:dl,LucideClipboardClock:ll,LucideClipboardCopy:hl,LucideClipboardEdit:Xa,LucideClipboardList:ul,LucideClipboardMinus:pl,LucideClipboardPaste:yl,LucideClipboardPen:Xa,LucideClipboardPenLine:Za,LucideClipboardPlus:kl,LucideClipboardSignature:Za,LucideClipboardType:ml,LucideClipboardX:fl,LucideClock:Pl,LucideClock1:xl,LucideClock10:vl,LucideClock11:Ml,LucideClock12:_l,LucideClock2:Ll,LucideClock3:Il,LucideClock4:bl,LucideClock5:wl,LucideClock6:Cl,LucideClock7:Nl,LucideClock8:Sl,LucideClock9:jl,LucideClockAlert:$l,LucideClockArrowDown:ql,LucideClockArrowUp:Al,LucideClockFading:zl,LucideClockPlus:Vl,LucideClosedCaption:Tl,LucideCloud:Ql,LucideCloudAlert:Hl,LucideCloudCheck:Dl,LucideCloudCog:Bl,LucideCloudDownload:Ya,LucideCloudDrizzle:Rl,LucideCloudFog:Fl,LucideCloudHail:El,LucideCloudLightning:Ol,LucideCloudMoon:Wl,LucideCloudMoonRain:Ul,LucideCloudOff:Gl,LucideCloudRain:Zl,LucideCloudRainWind:Kl,LucideCloudSnow:Xl,LucideCloudSun:Jl,LucideCloudSunRain:Yl,LucideCloudUpload:Ja,LucideCloudy:eh,LucideClover:th,LucideClub:ah,LucideCode:nh,LucideCode2:Qa,LucideCodeSquare:Ao,LucideCodeXml:Qa,LucideCodepen:oh,LucideCodesandbox:ch,LucideCoffee:ih,LucideCog:rh,LucideCoins:sh,LucideColumns:en,LucideColumns2:en,LucideColumns3:tn,LucideColumns3Cog:ut,LucideColumns4:dh,LucideColumnsSettings:ut,LucideCombine:lh,LucideCommand:hh,LucideCompass:uh,LucideComponent:ph,LucideComputer:yh,LucideConciergeBell:kh,LucideCone:mh,LucideConstruction:fh,LucideContact:gh,LucideContact2:an,LucideContactRound:an,LucideContainer:vh,LucideContrast:Mh,LucideCookie:xh,LucideCookingPot:Lh,LucideCopy:Nh,LucideCopyCheck:_h,LucideCopyMinus:Ih,LucideCopyPlus:bh,LucideCopySlash:wh,LucideCopyX:Ch,LucideCopyleft:Sh,LucideCopyright:jh,LucideCornerDownLeft:$h,LucideCornerDownRight:qh,LucideCornerLeftDown:Ah,LucideCornerLeftUp:zh,LucideCornerRightDown:Vh,LucideCornerRightUp:Ph,LucideCornerUpLeft:Th,LucideCornerUpRight:Hh,LucideCpu:Dh,LucideCreativeCommons:Bh,LucideCreditCard:Rh,LucideCroissant:Fh,LucideCrop:Eh,LucideCross:Oh,LucideCrosshair:Uh,LucideCrown:Wh,LucideCuboid:Gh,LucideCupSoda:Kh,LucideCurlyBraces:ca,LucideCurrency:Zh,LucideCylinder:Xh,LucideDam:Yh,LucideDatabase:eu,LucideDatabaseBackup:Jh,LucideDatabaseZap:Qh,LucideDecimalsArrowLeft:tu,LucideDecimalsArrowRight:au,LucideDelete:nu,LucideDessert:ou,LucideDiameter:cu,LucideDiamond:su,LucideDiamondMinus:iu,LucideDiamondPercent:nn,LucideDiamondPlus:ru,LucideDice1:du,LucideDice2:lu,LucideDice3:hu,LucideDice4:uu,LucideDice5:pu,LucideDice6:yu,LucideDices:ku,LucideDiff:mu,LucideDisc:xu,LucideDisc2:fu,LucideDisc3:gu,LucideDiscAlbum:vu,LucideDivide:Mu,LucideDivideCircle:Va,LucideDivideSquare:To,LucideDna:Lu,LucideDnaOff:_u,LucideDock:Iu,LucideDog:bu,LucideDollarSign:wu,LucideDonut:Cu,LucideDoorClosed:Su,LucideDoorClosedLocked:Nu,LucideDoorOpen:ju,LucideDot:$u,LucideDotSquare:Do,LucideDownload:Au,LucideDownloadCloud:Ya,LucideDraftingCompass:qu,LucideDrama:zu,LucideDribbble:Vu,LucideDrill:Pu,LucideDrone:Tu,LucideDroplet:Du,LucideDropletOff:Hu,LucideDroplets:Bu,LucideDrum:Ru,LucideDrumstick:Fu,LucideDumbbell:Eu,LucideEar:Uu,LucideEarOff:Ou,LucideEarth:on,LucideEarthLock:Wu,LucideEclipse:Gu,LucideEdit:Ge,LucideEdit2:xt,LucideEdit3:vt,LucideEgg:Xu,LucideEggFried:Ku,LucideEggOff:Zu,LucideEllipsis:rn,LucideEllipsisVertical:cn,LucideEqual:Qu,LucideEqualApproximately:Yu,LucideEqualNot:Ju,LucideEqualSquare:Ho,LucideEraser:ep,LucideEthernetPort:tp,LucideEuro:ap,LucideExpand:op,LucideExternalLink:np,LucideEye:$1,LucideEyeClosed:cp,LucideEyeOff:j1,LucideFacebook:ip,LucideFactory:rp,LucideFan:sp,LucideFastForward:dp,LucideFeather:lp,LucideFence:hp,LucideFerrisWheel:up,LucideFigma:pp,LucideFile:ry,LucideFileArchive:yp,LucideFileAudio:mp,LucideFileAudio2:kp,LucideFileAxis3D:sn,LucideFileAxis3d:sn,LucideFileBadge:vp,LucideFileBadge2:fp,LucideFileBarChart:dn,LucideFileBarChart2:ln,LucideFileBox:gp,LucideFileChartColumn:ln,LucideFileChartColumnIncreasing:dn,LucideFileChartLine:hn,LucideFileChartPie:un,LucideFileCheck:Mp,LucideFileCheck2:xp,LucideFileClock:_p,LucideFileCode:Lp,LucideFileCode2:Ip,LucideFileCog:pn,LucideFileCog2:pn,LucideFileDiff:bp,LucideFileDigit:wp,LucideFileDown:Cp,LucideFileEdit:kn,LucideFileHeart:Np,LucideFileImage:Sp,LucideFileInput:jp,LucideFileJson:qp,LucideFileJson2:$p,LucideFileKey:zp,LucideFileKey2:Ap,LucideFileLineChart:hn,LucideFileLock:Pp,LucideFileLock2:Vp,LucideFileMinus:Hp,LucideFileMinus2:Tp,LucideFileMusic:Dp,LucideFileOutput:Bp,LucideFilePen:kn,LucideFilePenLine:yn,LucideFilePieChart:un,LucideFilePlay:mn,LucideFilePlus:Fp,LucideFilePlus2:Rp,LucideFileQuestion:fn,LucideFileQuestionMark:fn,LucideFileScan:Ep,LucideFileSearch:Up,LucideFileSearch2:Op,LucideFileSignature:yn,LucideFileSliders:Wp,LucideFileSpreadsheet:Gp,LucideFileStack:Kp,LucideFileSymlink:Zp,LucideFileTerminal:Xp,LucideFileText:Yp,LucideFileType:Qp,LucideFileType2:Jp,LucideFileUp:ey,LucideFileUser:ty,LucideFileVideo:mn,LucideFileVideo2:gn,LucideFileVideoCamera:gn,LucideFileVolume:ny,LucideFileVolume2:ay,LucideFileWarning:oy,LucideFileX:iy,LucideFileX2:cy,LucideFiles:sy,LucideFilm:dy,LucideFilter:At,LucideFilterX:Mn,LucideFingerprint:ly,LucideFireExtinguisher:hy,LucideFish:py,LucideFishOff:uy,LucideFishSymbol:yy,LucideFlag:gy,LucideFlagOff:ky,LucideFlagTriangleLeft:my,LucideFlagTriangleRight:fy,LucideFlame:xy,LucideFlameKindling:vy,LucideFlashlight:_y,LucideFlashlightOff:My,LucideFlaskConical:Iy,LucideFlaskConicalOff:Ly,LucideFlaskRound:by,LucideFlipHorizontal:Cy,LucideFlipHorizontal2:wy,LucideFlipVertical:Sy,LucideFlipVertical2:Ny,LucideFlower:$y,LucideFlower2:jy,LucideFocus:qy,LucideFoldHorizontal:Ay,LucideFoldVertical:zy,LucideFolder:q1,LucideFolderArchive:Vy,LucideFolderCheck:Py,LucideFolderClock:Ty,LucideFolderClosed:Hy,LucideFolderCode:Dy,LucideFolderCog:vn,LucideFolderCog2:vn,LucideFolderDot:By,LucideFolderDown:Ry,LucideFolderEdit:xn,LucideFolderGit:Ey,LucideFolderGit2:Fy,LucideFolderHeart:Oy,LucideFolderInput:Uy,LucideFolderKanban:Wy,LucideFolderKey:Gy,LucideFolderLock:Ky,LucideFolderMinus:Zy,LucideFolderOpen:Yy,LucideFolderOpenDot:Xy,LucideFolderOutput:Jy,LucideFolderPen:xn,LucideFolderPlus:Ac,LucideFolderRoot:Qy,LucideFolderSearch:t4,LucideFolderSearch2:e4,LucideFolderSymlink:a4,LucideFolderSync:n4,LucideFolderTree:o4,LucideFolderUp:c4,LucideFolderX:i4,LucideFolders:r4,LucideFootprints:s4,LucideForkKnife:bc,LucideForkKnifeCrossed:Ic,LucideForklift:d4,LucideFormInput:ao,LucideForward:l4,LucideFrame:h4,LucideFramer:u4,LucideFrown:p4,LucideFuel:y4,LucideFullscreen:k4,LucideFunctionSquare:Bo,LucideFunnel:At,LucideFunnelPlus:m4,LucideFunnelX:Mn,LucideGalleryHorizontal:g4,LucideGalleryHorizontalEnd:f4,LucideGalleryThumbnails:v4,LucideGalleryVertical:M4,LucideGalleryVerticalEnd:x4,LucideGamepad:L4,LucideGamepad2:_4,LucideGanttChart:fa,LucideGanttChartSquare:yt,LucideGauge:I4,LucideGaugeCircle:Pa,LucideGavel:b4,LucideGem:w4,LucideGeorgianLari:C4,LucideGhost:N4,LucideGift:S4,LucideGitBranch:$4,LucideGitBranchPlus:j4,LucideGitCommit:_n,LucideGitCommitHorizontal:_n,LucideGitCommitVertical:q4,LucideGitCompare:z4,LucideGitCompareArrows:A4,LucideGitFork:V4,LucideGitGraph:P4,LucideGitMerge:T4,LucideGitPullRequest:E4,LucideGitPullRequestArrow:H4,LucideGitPullRequestClosed:D4,LucideGitPullRequestCreate:R4,LucideGitPullRequestCreateArrow:B4,LucideGitPullRequestDraft:F4,LucideGithub:O4,LucideGitlab:U4,LucideGlassWater:W4,LucideGlasses:G4,LucideGlobe:Z4,LucideGlobe2:on,LucideGlobeLock:K4,LucideGoal:X4,LucideGpu:Y4,LucideGrab:Cn,LucideGraduationCap:J4,LucideGrape:Q4,LucideGrid:pt,LucideGrid2X2:wn,LucideGrid2X2Check:Ln,LucideGrid2X2Plus:In,LucideGrid2X2X:bn,LucideGrid2x2:wn,LucideGrid2x2Check:Ln,LucideGrid2x2Plus:In,LucideGrid2x2X:bn,LucideGrid3X3:pt,LucideGrid3x2:e5,LucideGrid3x3:pt,LucideGrip:a5,LucideGripHorizontal:t5,LucideGripVertical:A1,LucideGroup:n5,LucideGuitar:o5,LucideHam:c5,LucideHamburger:i5,LucideHammer:r5,LucideHand:p5,LucideHandCoins:s5,LucideHandFist:d5,LucideHandGrab:Cn,LucideHandHeart:l5,LucideHandHelping:Nn,LucideHandMetal:h5,LucideHandPlatter:u5,LucideHandbag:y5,LucideHandshake:k5,LucideHardDrive:g5,LucideHardDriveDownload:m5,LucideHardDriveUpload:f5,LucideHardHat:v5,LucideHash:x5,LucideHatGlasses:M5,LucideHaze:_5,LucideHdmiPort:L5,LucideHeading:j5,LucideHeading1:I5,LucideHeading2:b5,LucideHeading3:w5,LucideHeading4:C5,LucideHeading5:N5,LucideHeading6:S5,LucideHeadphoneOff:$5,LucideHeadphones:q5,LucideHeadset:A5,LucideHeart:B5,LucideHeartCrack:z5,LucideHeartHandshake:V5,LucideHeartMinus:P5,LucideHeartOff:T5,LucideHeartPlus:H5,LucideHeartPulse:D5,LucideHeater:R5,LucideHelpCircle:ht,LucideHelpingHand:Nn,LucideHexagon:F5,LucideHighlighter:E5,LucideHistory:O5,LucideHome:zt,LucideHop:W5,LucideHopOff:U5,LucideHospital:z1,LucideHotel:G5,LucideHourglass:K5,LucideHouse:zt,LucideHousePlug:Z5,LucideHousePlus:Y5,LucideHouseWifi:X5,LucideIceCream:jn,LucideIceCream2:Sn,LucideIceCreamBowl:Sn,LucideIceCreamCone:jn,LucideIdCard:Q5,LucideIdCardLanyard:J5,LucideImage:rk,LucideImageDown:ek,LucideImageMinus:tk,LucideImageOff:ak,LucideImagePlay:nk,LucideImagePlus:ok,LucideImageUp:ck,LucideImageUpscale:ik,LucideImages:sk,LucideImport:dk,LucideInbox:lk,LucideIndent:qn,LucideIndentDecrease:$n,LucideIndentIncrease:qn,LucideIndianRupee:hk,LucideInfinity:uk,LucideInfo:pk,LucideInspect:Go,LucideInspectionPanel:yk,LucideInstagram:kk,LucideItalic:mk,LucideIterationCcw:fk,LucideIterationCw:gk,LucideJapaneseYen:xk,LucideJoystick:vk,LucideKanban:Mk,LucideKanbanSquare:Ro,LucideKanbanSquareDashed:zo,LucideKayak:_k,LucideKey:bk,LucideKeyRound:Lk,LucideKeySquare:Ik,LucideKeyboard:Nk,LucideKeyboardMusic:wk,LucideKeyboardOff:Ck,LucideLamp:zk,LucideLampCeiling:Sk,LucideLampDesk:$k,LucideLampFloor:jk,LucideLampWallDown:qk,LucideLampWallUp:Ak,LucideLandPlot:Vk,LucideLandmark:Pk,LucideLanguages:Tk,LucideLaptop:Dk,LucideLaptop2:An,LucideLaptopMinimal:An,LucideLaptopMinimalCheck:Hk,LucideLasso:Rk,LucideLassoSelect:Bk,LucideLaugh:Fk,LucideLayers:zn,LucideLayers2:Ek,LucideLayers3:zn,LucideLayout:eo,LucideLayoutDashboard:Ok,LucideLayoutGrid:Uk,LucideLayoutList:Wk,LucideLayoutPanelLeft:Gk,LucideLayoutPanelTop:Kk,LucideLayoutTemplate:Zk,LucideLeaf:Xk,LucideLeafyGreen:Jk,LucideLectern:Yk,LucideLetterText:Qk,LucideLibrary:tm,LucideLibraryBig:em,LucideLibrarySquare:Fo,LucideLifeBuoy:am,LucideLigature:nm,LucideLightbulb:cm,LucideLightbulbOff:om,LucideLineChart:ya,LucideLineSquiggle:im,LucideLink:dm,LucideLink2:rm,LucideLink2Off:sm,LucideLinkedin:lm,LucideList:Cm,LucideListCheck:hm,LucideListChecks:um,LucideListCollapse:pm,LucideListEnd:ym,LucideListFilter:fm,LucideListFilterPlus:km,LucideListMinus:mm,LucideListMusic:gm,LucideListOrdered:vm,LucideListPlus:xm,LucideListRestart:Mm,LucideListStart:_m,LucideListTodo:Lm,LucideListTree:Im,LucideListVideo:bm,LucideListX:wm,LucideLoader:Sm,LucideLoader2:Vn,LucideLoaderCircle:Vn,LucideLoaderPinwheel:Nm,LucideLocate:qm,LucideLocateFixed:jm,LucideLocateOff:$m,LucideLocationEdit:Dn,LucideLock:zm,LucideLockKeyhole:Am,LucideLockKeyholeOpen:Pn,LucideLockOpen:Tn,LucideLogIn:Vm,LucideLogOut:Pm,LucideLogs:Tm,LucideLollipop:Hm,LucideLuggage:Dm,LucideMSquare:Eo,LucideMagnet:Bm,LucideMail:Gm,LucideMailCheck:Rm,LucideMailMinus:Fm,LucideMailOpen:Em,LucideMailPlus:Om,LucideMailQuestion:Hn,LucideMailQuestionMark:Hn,LucideMailSearch:Um,LucideMailWarning:Wm,LucideMailX:Km,LucideMailbox:Zm,LucideMails:Xm,LucideMap:h3,LucideMapMinus:Ym,LucideMapPin:s3,LucideMapPinCheck:Jm,LucideMapPinCheckInside:Qm,LucideMapPinHouse:e3,LucideMapPinMinus:a3,LucideMapPinMinusInside:t3,LucideMapPinOff:n3,LucideMapPinPen:Dn,LucideMapPinPlus:c3,LucideMapPinPlusInside:o3,LucideMapPinX:r3,LucideMapPinXInside:i3,LucideMapPinned:d3,LucideMapPlus:l3,LucideMars:p3,LucideMarsStroke:u3,LucideMartini:y3,LucideMaximize:f3,LucideMaximize2:k3,LucideMedal:m3,LucideMegaphone:v3,LucideMegaphoneOff:g3,LucideMeh:x3,LucideMemoryStick:M3,LucideMenu:n1,LucideMenuSquare:Oo,LucideMerge:_3,LucideMessageCircle:q3,LucideMessageCircleCode:L3,LucideMessageCircleDashed:I3,LucideMessageCircleHeart:b3,LucideMessageCircleMore:w3,LucideMessageCircleOff:C3,LucideMessageCirclePlus:N3,LucideMessageCircleQuestion:Bn,LucideMessageCircleQuestionMark:Bn,LucideMessageCircleReply:S3,LucideMessageCircleWarning:j3,LucideMessageCircleX:$3,LucideMessageSquare:K3,LucideMessageSquareCode:A3,LucideMessageSquareDashed:z3,LucideMessageSquareDiff:V3,LucideMessageSquareDot:P3,LucideMessageSquareHeart:T3,LucideMessageSquareLock:H3,LucideMessageSquareMore:D3,LucideMessageSquareOff:B3,LucideMessageSquarePlus:R3,LucideMessageSquareQuote:F3,LucideMessageSquareReply:E3,LucideMessageSquareShare:O3,LucideMessageSquareText:U3,LucideMessageSquareWarning:W3,LucideMessageSquareX:G3,LucideMessagesSquare:Z3,LucideMic:Y3,LucideMic2:Rn,LucideMicOff:X3,LucideMicVocal:Rn,LucideMicrochip:J3,LucideMicroscope:Q3,LucideMicrowave:ef,LucideMilestone:tf,LucideMilk:nf,LucideMilkOff:af,LucideMinimize:cf,LucideMinimize2:of,LucideMinus:rf,LucideMinusCircle:Ta,LucideMinusSquare:Uo,LucideMonitor:xf,LucideMonitorCheck:sf,LucideMonitorCog:df,LucideMonitorDot:lf,LucideMonitorDown:hf,LucideMonitorOff:uf,LucideMonitorPause:yf,LucideMonitorPlay:pf,LucideMonitorSmartphone:kf,LucideMonitorSpeaker:mf,LucideMonitorStop:ff,LucideMonitorUp:gf,LucideMonitorX:vf,LucideMoon:_f,LucideMoonStar:Mf,LucideMoreHorizontal:rn,LucideMoreVertical:cn,LucideMountain:If,LucideMountainSnow:Lf,LucideMouse:jf,LucideMouseOff:bf,LucideMousePointer:Nf,LucideMousePointer2:wf,LucideMousePointerBan:Cf,LucideMousePointerClick:Sf,LucideMousePointerSquareDashed:Vo,LucideMove:a.Move,LucideMove3D:Fn,LucideMove3d:Fn,LucideMoveDiagonal:qf,LucideMoveDiagonal2:$f,LucideMoveDown:Pf,LucideMoveDownLeft:Af,LucideMoveDownRight:zf,LucideMoveHorizontal:Vf,LucideMoveLeft:Tf,LucideMoveRight:Hf,LucideMoveUp:Rf,LucideMoveUpLeft:Df,LucideMoveUpRight:Bf,LucideMoveVertical:Ff,LucideMusic:Wf,LucideMusic2:Ef,LucideMusic3:Of,LucideMusic4:Uf,LucideNavigation:Xf,LucideNavigation2:Kf,LucideNavigation2Off:Gf,LucideNavigationOff:Zf,LucideNetwork:Yf,LucideNewspaper:Jf,LucideNfc:Qf,LucideNonBinary:e6,LucideNotebook:o6,LucideNotebookPen:t6,LucideNotebookTabs:a6,LucideNotebookText:n6,LucideNotepadText:i6,LucideNotepadTextDashed:c6,LucideNut:s6,LucideNutOff:r6,LucideOctagon:l6,LucideOctagonAlert:En,LucideOctagonMinus:d6,LucideOctagonPause:On,LucideOctagonX:Un,LucideOmega:h6,LucideOption:u6,LucideOrbit:p6,LucideOrigami:y6,LucideOutdent:$n,LucidePackage:_6,LucidePackage2:k6,LucidePackageCheck:m6,LucidePackageMinus:f6,LucidePackageOpen:g6,LucidePackagePlus:v6,LucidePackageSearch:x6,LucidePackageX:M6,LucidePaintBucket:L6,LucidePaintRoller:I6,LucidePaintbrush:b6,LucidePaintbrush2:Wn,LucidePaintbrushVertical:Wn,LucidePalette:w6,LucidePalmtree:pc,LucidePanda:C6,LucidePanelBottom:j6,LucidePanelBottomClose:N6,LucidePanelBottomDashed:Gn,LucidePanelBottomInactive:Gn,LucidePanelBottomOpen:S6,LucidePanelLeft:Yn,LucidePanelLeftClose:Kn,LucidePanelLeftDashed:Zn,LucidePanelLeftInactive:Zn,LucidePanelLeftOpen:Xn,LucidePanelRight:A6,LucidePanelRightClose:$6,LucidePanelRightDashed:Jn,LucidePanelRightInactive:Jn,LucidePanelRightOpen:q6,LucidePanelTop:P6,LucidePanelTopClose:z6,LucidePanelTopDashed:Qn,LucidePanelTopInactive:Qn,LucidePanelTopOpen:V6,LucidePanelsLeftBottom:T6,LucidePanelsLeftRight:tn,LucidePanelsRightBottom:H6,LucidePanelsTopBottom:co,LucidePanelsTopLeft:eo,LucidePaperclip:D6,LucideParentheses:B6,LucideParkingCircle:Ba,LucideParkingCircleOff:Ha,LucideParkingMeter:R6,LucideParkingSquare:Ko,LucideParkingSquareOff:Wo,LucidePartyPopper:F6,LucidePause:E6,LucidePauseCircle:Da,LucidePauseOctagon:On,LucidePawPrint:O6,LucidePcCase:U6,LucidePen:xt,LucidePenBox:Ge,LucidePenLine:vt,LucidePenOff:G6,LucidePenSquare:Ge,LucidePenTool:W6,LucidePencil:o1,LucidePencilLine:K6,LucidePencilOff:Z6,LucidePencilRuler:X6,LucidePentagon:Y6,LucidePercent:J6,LucidePercentCircle:Ra,LucidePercentDiamond:nn,LucidePercentSquare:Zo,LucidePersonStanding:e8,LucidePhilippinePeso:Q6,LucidePhone:i8,LucidePhoneCall:t8,LucidePhoneForwarded:a8,LucidePhoneIncoming:n8,LucidePhoneMissed:o8,LucidePhoneOff:c8,LucidePhoneOutgoing:r8,LucidePi:s8,LucidePiSquare:Xo,LucidePiano:d8,LucidePickaxe:l8,LucidePictureInPicture:u8,LucidePictureInPicture2:h8,LucidePieChart:ga,LucidePiggyBank:p8,LucidePilcrow:k8,LucidePilcrowLeft:y8,LucidePilcrowRight:m8,LucidePilcrowSquare:Yo,LucidePill:g8,LucidePillBottle:f8,LucidePin:x8,LucidePinOff:v8,LucidePipette:M8,LucidePizza:_8,LucidePlane:b8,LucidePlaneLanding:L8,LucidePlaneTakeoff:I8,LucidePlay:w8,LucidePlayCircle:Fa,LucidePlaySquare:Jo,LucidePlug:N8,LucidePlug2:C8,LucidePlugZap:to,LucidePlugZap2:to,LucidePlus:zc,LucidePlusCircle:Ea,LucidePlusSquare:Qo,LucidePocket:j8,LucidePocketKnife:S8,LucidePodcast:$8,LucidePointer:A8,LucidePointerOff:q8,LucidePopcorn:V8,LucidePopsicle:z8,LucidePoundSterling:P8,LucidePower:H8,LucidePowerCircle:Oa,LucidePowerOff:T8,LucidePowerSquare:ec,LucidePresentation:D8,LucidePrinter:R8,LucidePrinterCheck:B8,LucideProjector:F8,LucideProportions:E8,LucidePuzzle:U8,LucidePyramid:O8,LucideQrCode:W8,LucideQuote:G8,LucideRabbit:K8,LucideRadar:Z8,LucideRadiation:X8,LucideRadical:Y8,LucideRadio:eg,LucideRadioReceiver:J8,LucideRadioTower:Q8,LucideRadius:tg,LucideRailSymbol:ag,LucideRainbow:ng,LucideRat:og,LucideRatio:cg,LucideReceipt:kg,LucideReceiptCent:ig,LucideReceiptEuro:sg,LucideReceiptIndianRupee:rg,LucideReceiptJapaneseYen:dg,LucideReceiptPoundSterling:lg,LucideReceiptRussianRuble:hg,LucideReceiptSwissFranc:ug,LucideReceiptText:pg,LucideReceiptTurkishLira:yg,LucideRectangleCircle:mg,LucideRectangleEllipsis:ao,LucideRectangleGoggles:fg,LucideRectangleHorizontal:gg,LucideRectangleVertical:vg,LucideRecycle:xg,LucideRedo:Lg,LucideRedo2:Mg,LucideRedoDot:_g,LucideRefreshCcw:bg,LucideRefreshCcwDot:Ig,LucideRefreshCw:Cg,LucideRefreshCwOff:wg,LucideRefrigerator:Ng,LucideRegex:Sg,LucideRemoveFormatting:jg,LucideRepeat:Ag,LucideRepeat1:$g,LucideRepeat2:qg,LucideReplace:Vg,LucideReplaceAll:zg,LucideReply:Hg,LucideReplyAll:Pg,LucideRewind:Tg,LucideRibbon:Dg,LucideRocket:Bg,LucideRockingChair:Eg,LucideRollerCoaster:Rg,LucideRose:Fg,LucideRotate3D:no,LucideRotate3d:no,LucideRotateCcw:Wg,LucideRotateCcwKey:Og,LucideRotateCcwSquare:Ug,LucideRotateCw:Kg,LucideRotateCwSquare:Gg,LucideRoute:Xg,LucideRouteOff:Zg,LucideRouter:Yg,LucideRows:oo,LucideRows2:oo,LucideRows3:co,LucideRows4:Jg,LucideRss:Qg,LucideRuler:t7,LucideRulerDimensionLine:e7,LucideRussianRuble:a7,LucideSailboat:n7,LucideSalad:o7,LucideSandwich:c7,LucideSatellite:r7,LucideSatelliteDish:i7,LucideSaudiRiyal:s7,LucideSave:u7,LucideSaveAll:d7,LucideSaveOff:l7,LucideScale:h7,LucideScale3D:io,LucideScale3d:io,LucideScaling:p7,LucideScan:_7,LucideScanBarcode:y7,LucideScanEye:k7,LucideScanFace:m7,LucideScanHeart:f7,LucideScanLine:g7,LucideScanQrCode:v7,LucideScanSearch:x7,LucideScanText:M7,LucideScatterChart:va,LucideSchool:L7,LucideSchool2:mc,LucideScissors:b7,LucideScissorsLineDashed:I7,LucideScissorsSquare:tc,LucideScissorsSquareDashedBottom:wo,LucideScreenShare:w7,LucideScreenShareOff:C7,LucideScroll:S7,LucideScrollText:N7,LucideSearch:V1,LucideSearchCheck:j7,LucideSearchCode:$7,LucideSearchSlash:q7,LucideSearchX:A7,LucideSection:z7,LucideSend:P7,LucideSendHorizonal:ro,LucideSendHorizontal:ro,LucideSendToBack:V7,LucideSeparatorHorizontal:T7,LucideSeparatorVertical:H7,LucideServer:F7,LucideServerCog:D7,LucideServerCrash:R7,LucideServerOff:B7,LucideSettings:O7,LucideSettings2:E7,LucideShapes:U7,LucideShare:G7,LucideShare2:W7,LucideSheet:K7,LucideShell:Z7,LucideShield:cv,LucideShieldAlert:X7,LucideShieldBan:Y7,LucideShieldCheck:J7,LucideShieldClose:lo,LucideShieldEllipsis:Q7,LucideShieldHalf:ev,LucideShieldMinus:av,LucideShieldOff:tv,LucideShieldPlus:nv,LucideShieldQuestion:so,LucideShieldQuestionMark:so,LucideShieldUser:ov,LucideShieldX:lo,LucideShip:rv,LucideShipWheel:iv,LucideShirt:sv,LucideShoppingBag:dv,LucideShoppingBasket:lv,LucideShoppingCart:hv,LucideShovel:uv,LucideShowerHead:pv,LucideShredder:yv,LucideShrimp:kv,LucideShrink:mv,LucideShrub:fv,LucideShuffle:vv,LucideSidebar:Yn,LucideSidebarClose:Kn,LucideSidebarOpen:Xn,LucideSigma:gv,LucideSigmaSquare:ac,LucideSignal:Iv,LucideSignalHigh:xv,LucideSignalLow:Mv,LucideSignalMedium:_v,LucideSignalZero:Lv,LucideSignature:bv,LucideSignpost:Cv,LucideSignpostBig:wv,LucideSiren:Nv,LucideSkipBack:Sv,LucideSkipForward:jv,LucideSkull:$v,LucideSlack:qv,LucideSlash:Av,LucideSlashSquare:nc,LucideSlice:zv,LucideSliders:ho,LucideSlidersHorizontal:Vv,LucideSlidersVertical:ho,LucideSmartphone:Hv,LucideSmartphoneCharging:Pv,LucideSmartphoneNfc:Tv,LucideSmile:Bv,LucideSmilePlus:Dv,LucideSnail:Rv,LucideSnowflake:Fv,LucideSoapDispenserDroplet:Ev,LucideSofa:Ov,LucideSortAsc:Yt,LucideSortDesc:Kt,LucideSoup:Uv,LucideSpace:Wv,LucideSpade:Gv,LucideSparkle:Kv,LucideSparkles:uo,LucideSpeaker:Zv,LucideSpeech:Xv,LucideSpellCheck:Jv,LucideSpellCheck2:Yv,LucideSpline:e9,LucideSplinePointer:Qv,LucideSplit:t9,LucideSplitSquareHorizontal:oc,LucideSplitSquareVertical:cc,LucideSpool:a9,LucideSpotlight:n9,LucideSprayCan:o9,LucideSprout:c9,LucideSquare:m9,LucideSquareActivity:Vt,LucideSquareArrowDown:ko,LucideSquareArrowDownLeft:po,LucideSquareArrowDownRight:yo,LucideSquareArrowLeft:mo,LucideSquareArrowOutDownLeft:fo,LucideSquareArrowOutDownRight:go,LucideSquareArrowOutUpLeft:vo,LucideSquareArrowOutUpRight:xo,LucideSquareArrowRight:Mo,LucideSquareArrowUp:Io,LucideSquareArrowUpLeft:_o,LucideSquareArrowUpRight:Lo,LucideSquareAsterisk:bo,LucideSquareBottomDashedScissors:wo,LucideSquareChartGantt:yt,LucideSquareCheck:No,LucideSquareCheckBig:Co,LucideSquareChevronDown:So,LucideSquareChevronLeft:jo,LucideSquareChevronRight:$o,LucideSquareChevronUp:qo,LucideSquareCode:Ao,LucideSquareDashed:Po,LucideSquareDashedBottom:r9,LucideSquareDashedBottomCode:i9,LucideSquareDashedKanban:zo,LucideSquareDashedMousePointer:Vo,LucideSquareDashedTopSolid:s9,LucideSquareDivide:To,LucideSquareDot:Do,LucideSquareEqual:Ho,LucideSquareFunction:Bo,LucideSquareGanttChart:yt,LucideSquareKanban:Ro,LucideSquareLibrary:Fo,LucideSquareM:Eo,LucideSquareMenu:Oo,LucideSquareMinus:Uo,LucideSquareMousePointer:Go,LucideSquareParking:Ko,LucideSquareParkingOff:Wo,LucideSquarePause:d9,LucideSquarePen:Ge,LucideSquarePercent:Zo,LucideSquarePi:Xo,LucideSquarePilcrow:Yo,LucideSquarePlay:Jo,LucideSquarePlus:Qo,LucideSquarePower:ec,LucideSquareRadical:l9,LucideSquareRoundCorner:h9,LucideSquareScissors:tc,LucideSquareSigma:ac,LucideSquareSlash:nc,LucideSquareSplitHorizontal:oc,LucideSquareSplitVertical:cc,LucideSquareSquare:u9,LucideSquareStack:p9,LucideSquareStar:y9,LucideSquareStop:k9,LucideSquareTerminal:ic,LucideSquareUser:sc,LucideSquareUserRound:rc,LucideSquareX:dc,LucideSquaresExclude:f9,LucideSquaresIntersect:g9,LucideSquaresSubtract:v9,LucideSquaresUnite:x9,LucideSquircle:_9,LucideSquircleDashed:M9,LucideSquirrel:L9,LucideStamp:I9,LucideStar:N9,LucideStarHalf:b9,LucideStarOff:w9,LucideStars:uo,LucideStepBack:C9,LucideStepForward:S9,LucideStethoscope:j9,LucideSticker:$9,LucideStickyNote:q9,LucideStopCircle:Wa,LucideStore:A9,LucideStretchHorizontal:z9,LucideStretchVertical:V9,LucideStrikethrough:P9,LucideSubscript:T9,LucideSubtitles:ia,LucideSun:E9,LucideSunDim:H9,LucideSunMedium:D9,LucideSunMoon:B9,LucideSunSnow:R9,LucideSunrise:F9,LucideSunset:O9,LucideSuperscript:U9,LucideSwatchBook:W9,LucideSwissFranc:G9,LucideSwitchCamera:K9,LucideSword:Z9,LucideSwords:Y9,LucideSyringe:X9,LucideTable:cx,LucideTable2:J9,LucideTableCellsMerge:Q9,LucideTableCellsSplit:ex,LucideTableColumnsSplit:tx,LucideTableConfig:ut,LucideTableOfContents:ax,LucideTableProperties:nx,LucideTableRowsSplit:ox,LucideTablet:rx,LucideTabletSmartphone:ix,LucideTablets:sx,LucideTag:dx,LucideTags:lx,LucideTally1:hx,LucideTally2:ux,LucideTally3:px,LucideTally4:yx,LucideTally5:kx,LucideTangent:mx,LucideTarget:fx,LucideTelescope:gx,LucideTent:xx,LucideTentTree:vx,LucideTerminal:Mx,LucideTerminalSquare:ic,LucideTestTube:_x,LucideTestTube2:lc,LucideTestTubeDiagonal:lc,LucideTestTubes:Lx,LucideText:Nx,LucideTextCursor:bx,LucideTextCursorInput:Ix,LucideTextQuote:wx,LucideTextSearch:Cx,LucideTextSelect:hc,LucideTextSelection:hc,LucideTheater:Sx,LucideThermometer:Ax,LucideThermometerSnowflake:jx,LucideThermometerSun:$x,LucideThumbsDown:qx,LucideThumbsUp:zx,LucideTicket:Rx,LucideTicketCheck:Vx,LucideTicketMinus:Px,LucideTicketPercent:Tx,LucideTicketPlus:Hx,LucideTicketSlash:Dx,LucideTicketX:Bx,LucideTickets:Ex,LucideTicketsPlane:Fx,LucideTimer:Wx,LucideTimerOff:Ox,LucideTimerReset:Ux,LucideToggleLeft:Gx,LucideToggleRight:Kx,LucideToilet:Zx,LucideToolCase:Xx,LucideTornado:Jx,LucideTorus:Yx,LucideTouchpad:eM,LucideTouchpadOff:Qx,LucideTowerControl:aM,LucideToyBrick:tM,LucideTractor:nM,LucideTrafficCone:oM,LucideTrain:uc,LucideTrainFront:iM,LucideTrainFrontTunnel:cM,LucideTrainTrack:rM,LucideTramFront:uc,LucideTransgender:sM,LucideTrash:dM,LucideTrash2:kt,LucideTreeDeciduous:lM,LucideTreePalm:pc,LucideTreePine:hM,LucideTrees:uM,LucideTrello:pM,LucideTrendingDown:yM,LucideTrendingUp:kM,LucideTrendingUpDown:mM,LucideTriangle:gM,LucideTriangleAlert:yc,LucideTriangleDashed:fM,LucideTriangleRight:vM,LucideTrophy:xM,LucideTruck:_M,LucideTruckElectric:MM,LucideTurkishLira:LM,LucideTurntable:IM,LucideTurtle:bM,LucideTv:CM,LucideTv2:kc,LucideTvMinimal:kc,LucideTvMinimalPlay:wM,LucideTwitch:NM,LucideTwitter:SM,LucideType:$M,LucideTypeOutline:jM,LucideUmbrella:AM,LucideUmbrellaOff:qM,LucideUnderline:zM,LucideUndo:TM,LucideUndo2:VM,LucideUndoDot:PM,LucideUnfoldHorizontal:HM,LucideUnfoldVertical:DM,LucideUngroup:BM,LucideUniversity:mc,LucideUnlink:OM,LucideUnlink2:RM,LucideUnlock:Tn,LucideUnlockKeyhole:Pn,LucideUnplug:FM,LucideUpload:EM,LucideUploadCloud:Ja,LucideUsb:UM,LucideUser:a_,LucideUser2:_c,LucideUserCheck:WM,LucideUserCheck2:fc,LucideUserCircle:Ka,LucideUserCircle2:Ga,LucideUserCog:GM,LucideUserCog2:gc,LucideUserLock:KM,LucideUserMinus:ZM,LucideUserMinus2:vc,LucideUserPen:XM,LucideUserPlus:P1,LucideUserPlus2:xc,LucideUserRound:_c,LucideUserRoundCheck:fc,LucideUserRoundCog:gc,LucideUserRoundMinus:vc,LucideUserRoundPen:YM,LucideUserRoundPlus:xc,LucideUserRoundSearch:JM,LucideUserRoundX:Mc,LucideUserSearch:QM,LucideUserSquare:sc,LucideUserSquare2:rc,LucideUserStar:e_,LucideUserX:t_,LucideUserX2:Mc,LucideUsers:n_,LucideUsers2:Lc,LucideUsersRound:Lc,LucideUtensils:bc,LucideUtensilsCrossed:Ic,LucideUtilityPole:o_,LucideVariable:c_,LucideVault:i_,LucideVectorSquare:r_,LucideVegan:s_,LucideVenetianMask:d_,LucideVenus:p_,LucideVenusAndMars:l_,LucideVerified:ea,LucideVibrate:u_,LucideVibrateOff:h_,LucideVideo:k_,LucideVideoOff:y_,LucideVideotape:m_,LucideView:g_,LucideVoicemail:f_,LucideVolleyball:v_,LucideVolume:b_,LucideVolume1:x_,LucideVolume2:M_,LucideVolumeOff:__,LucideVolumeX:L_,LucideVote:I_,LucideWallet:C_,LucideWallet2:wc,LucideWalletCards:w_,LucideWalletMinimal:wc,LucideWallpaper:N_,LucideWand:S_,LucideWand2:Cc,LucideWandSparkles:Cc,LucideWarehouse:j_,LucideWashingMachine:$_,LucideWatch:q_,LucideWaves:z_,LucideWavesLadder:A_,LucideWaypoints:V_,LucideWebcam:P_,LucideWebhook:D_,LucideWebhookOff:T_,LucideWeight:H_,LucideWheat:R_,LucideWheatOff:B_,LucideWholeWord:F_,LucideWifi:X_,LucideWifiCog:E_,LucideWifiHigh:O_,LucideWifiLow:U_,LucideWifiOff:W_,LucideWifiPen:G_,LucideWifiSync:K_,LucideWifiZero:Z_,LucideWind:J_,LucideWindArrowDown:Y_,LucideWine:eL,LucideWineOff:Q_,LucideWorkflow:tL,LucideWorm:aL,LucideWrapText:nL,LucideWrench:oL,LucideX:at,LucideXCircle:qt,LucideXOctagon:Un,LucideXSquare:dc,LucideYoutube:iL,LucideZap:rL,LucideZapOff:cL,LucideZoomIn:sL,LucideZoomOut:dL,Luggage:Dm,LuggageIcon:Dm,MSquare:Eo,MSquareIcon:Eo,Magnet:Bm,MagnetIcon:Bm,Mail:Gm,MailCheck:Rm,MailCheckIcon:Rm,MailIcon:Gm,MailMinus:Fm,MailMinusIcon:Fm,MailOpen:Em,MailOpenIcon:Em,MailPlus:Om,MailPlusIcon:Om,MailQuestion:Hn,MailQuestionIcon:Hn,MailQuestionMark:Hn,MailQuestionMarkIcon:Hn,MailSearch:Um,MailSearchIcon:Um,MailWarning:Wm,MailWarningIcon:Wm,MailX:Km,MailXIcon:Km,Mailbox:Zm,MailboxIcon:Zm,Mails:Xm,MailsIcon:Xm,Map:h3,MapIcon:h3,MapMinus:Ym,MapMinusIcon:Ym,MapPin:s3,MapPinCheck:Jm,MapPinCheckIcon:Jm,MapPinCheckInside:Qm,MapPinCheckInsideIcon:Qm,MapPinHouse:e3,MapPinHouseIcon:e3,MapPinIcon:s3,MapPinMinus:a3,MapPinMinusIcon:a3,MapPinMinusInside:t3,MapPinMinusInsideIcon:t3,MapPinOff:n3,MapPinOffIcon:n3,MapPinPen:Dn,MapPinPenIcon:Dn,MapPinPlus:c3,MapPinPlusIcon:c3,MapPinPlusInside:o3,MapPinPlusInsideIcon:o3,MapPinX:r3,MapPinXIcon:r3,MapPinXInside:i3,MapPinXInsideIcon:i3,MapPinned:d3,MapPinnedIcon:d3,MapPlus:l3,MapPlusIcon:l3,Mars:p3,MarsIcon:p3,MarsStroke:u3,MarsStrokeIcon:u3,Martini:y3,MartiniIcon:y3,Maximize:f3,Maximize2:k3,Maximize2Icon:k3,MaximizeIcon:f3,Medal:m3,MedalIcon:m3,Megaphone:v3,MegaphoneIcon:v3,MegaphoneOff:g3,MegaphoneOffIcon:g3,Meh:x3,MehIcon:x3,MemoryStick:M3,MemoryStickIcon:M3,Menu:n1,MenuIcon:n1,MenuSquare:Oo,MenuSquareIcon:Oo,Merge:_3,MergeIcon:_3,MessageCircle:q3,MessageCircleCode:L3,MessageCircleCodeIcon:L3,MessageCircleDashed:I3,MessageCircleDashedIcon:I3,MessageCircleHeart:b3,MessageCircleHeartIcon:b3,MessageCircleIcon:q3,MessageCircleMore:w3,MessageCircleMoreIcon:w3,MessageCircleOff:C3,MessageCircleOffIcon:C3,MessageCirclePlus:N3,MessageCirclePlusIcon:N3,MessageCircleQuestion:Bn,MessageCircleQuestionIcon:Bn,MessageCircleQuestionMark:Bn,MessageCircleQuestionMarkIcon:Bn,MessageCircleReply:S3,MessageCircleReplyIcon:S3,MessageCircleWarning:j3,MessageCircleWarningIcon:j3,MessageCircleX:$3,MessageCircleXIcon:$3,MessageSquare:K3,MessageSquareCode:A3,MessageSquareCodeIcon:A3,MessageSquareDashed:z3,MessageSquareDashedIcon:z3,MessageSquareDiff:V3,MessageSquareDiffIcon:V3,MessageSquareDot:P3,MessageSquareDotIcon:P3,MessageSquareHeart:T3,MessageSquareHeartIcon:T3,MessageSquareIcon:K3,MessageSquareLock:H3,MessageSquareLockIcon:H3,MessageSquareMore:D3,MessageSquareMoreIcon:D3,MessageSquareOff:B3,MessageSquareOffIcon:B3,MessageSquarePlus:R3,MessageSquarePlusIcon:R3,MessageSquareQuote:F3,MessageSquareQuoteIcon:F3,MessageSquareReply:E3,MessageSquareReplyIcon:E3,MessageSquareShare:O3,MessageSquareShareIcon:O3,MessageSquareText:U3,MessageSquareTextIcon:U3,MessageSquareWarning:W3,MessageSquareWarningIcon:W3,MessageSquareX:G3,MessageSquareXIcon:G3,MessagesSquare:Z3,MessagesSquareIcon:Z3,Mic:Y3,Mic2:Rn,Mic2Icon:Rn,MicIcon:Y3,MicOff:X3,MicOffIcon:X3,MicVocal:Rn,MicVocalIcon:Rn,Microchip:J3,MicrochipIcon:J3,Microscope:Q3,MicroscopeIcon:Q3,Microwave:ef,MicrowaveIcon:ef,Milestone:tf,MilestoneIcon:tf,Milk:nf,MilkIcon:nf,MilkOff:af,MilkOffIcon:af,Minimize:cf,Minimize2:of,Minimize2Icon:of,MinimizeIcon:cf,Minus:rf,MinusCircle:Ta,MinusCircleIcon:Ta,MinusIcon:rf,MinusSquare:Uo,MinusSquareIcon:Uo,Monitor:xf,MonitorCheck:sf,MonitorCheckIcon:sf,MonitorCog:df,MonitorCogIcon:df,MonitorDot:lf,MonitorDotIcon:lf,MonitorDown:hf,MonitorDownIcon:hf,MonitorIcon:xf,MonitorOff:uf,MonitorOffIcon:uf,MonitorPause:yf,MonitorPauseIcon:yf,MonitorPlay:pf,MonitorPlayIcon:pf,MonitorSmartphone:kf,MonitorSmartphoneIcon:kf,MonitorSpeaker:mf,MonitorSpeakerIcon:mf,MonitorStop:ff,MonitorStopIcon:ff,MonitorUp:gf,MonitorUpIcon:gf,MonitorX:vf,MonitorXIcon:vf,Moon:_f,MoonIcon:_f,MoonStar:Mf,MoonStarIcon:Mf,MoreHorizontal:rn,MoreHorizontalIcon:rn,MoreVertical:cn,MoreVerticalIcon:cn,Mountain:If,MountainIcon:If,MountainSnow:Lf,MountainSnowIcon:Lf,Mouse:jf,MouseIcon:jf,MouseOff:bf,MouseOffIcon:bf,MousePointer:Nf,MousePointer2:wf,MousePointer2Icon:wf,MousePointerBan:Cf,MousePointerBanIcon:Cf,MousePointerClick:Sf,MousePointerClickIcon:Sf,MousePointerIcon:Nf,MousePointerSquareDashed:Vo,MousePointerSquareDashedIcon:Vo,Move:a.Move,Move3D:Fn,Move3DIcon:Fn,Move3d:Fn,Move3dIcon:Fn,MoveDiagonal:qf,MoveDiagonal2:$f,MoveDiagonal2Icon:$f,MoveDiagonalIcon:qf,MoveDown:Pf,MoveDownIcon:Pf,MoveDownLeft:Af,MoveDownLeftIcon:Af,MoveDownRight:zf,MoveDownRightIcon:zf,MoveHorizontal:Vf,MoveHorizontalIcon:Vf,MoveIcon:a.Move,MoveLeft:Tf,MoveLeftIcon:Tf,MoveRight:Hf,MoveRightIcon:Hf,MoveUp:Rf,MoveUpIcon:Rf,MoveUpLeft:Df,MoveUpLeftIcon:Df,MoveUpRight:Bf,MoveUpRightIcon:Bf,MoveVertical:Ff,MoveVerticalIcon:Ff,Music:Wf,Music2:Ef,Music2Icon:Ef,Music3:Of,Music3Icon:Of,Music4:Uf,Music4Icon:Uf,MusicIcon:Wf,Navigation:Xf,Navigation2:Kf,Navigation2Icon:Kf,Navigation2Off:Gf,Navigation2OffIcon:Gf,NavigationIcon:Xf,NavigationOff:Zf,NavigationOffIcon:Zf,Network:Yf,NetworkIcon:Yf,Newspaper:Jf,NewspaperIcon:Jf,Nfc:Qf,NfcIcon:Qf,NonBinary:e6,NonBinaryIcon:e6,Notebook:o6,NotebookIcon:o6,NotebookPen:t6,NotebookPenIcon:t6,NotebookTabs:a6,NotebookTabsIcon:a6,NotebookText:n6,NotebookTextIcon:n6,NotepadText:i6,NotepadTextDashed:c6,NotepadTextDashedIcon:c6,NotepadTextIcon:i6,Nut:s6,NutIcon:s6,NutOff:r6,NutOffIcon:r6,Octagon:l6,OctagonAlert:En,OctagonAlertIcon:En,OctagonIcon:l6,OctagonMinus:d6,OctagonMinusIcon:d6,OctagonPause:On,OctagonPauseIcon:On,OctagonX:Un,OctagonXIcon:Un,Omega:h6,OmegaIcon:h6,Option:u6,OptionIcon:u6,Orbit:p6,OrbitIcon:p6,Origami:y6,OrigamiIcon:y6,Outdent:$n,OutdentIcon:$n,Package:_6,Package2:k6,Package2Icon:k6,PackageCheck:m6,PackageCheckIcon:m6,PackageIcon:_6,PackageMinus:f6,PackageMinusIcon:f6,PackageOpen:g6,PackageOpenIcon:g6,PackagePlus:v6,PackagePlusIcon:v6,PackageSearch:x6,PackageSearchIcon:x6,PackageX:M6,PackageXIcon:M6,PaintBucket:L6,PaintBucketIcon:L6,PaintRoller:I6,PaintRollerIcon:I6,Paintbrush:b6,Paintbrush2:Wn,Paintbrush2Icon:Wn,PaintbrushIcon:b6,PaintbrushVertical:Wn,PaintbrushVerticalIcon:Wn,Palette:w6,PaletteIcon:w6,Palmtree:pc,PalmtreeIcon:pc,Panda:C6,PandaIcon:C6,PanelBottom:j6,PanelBottomClose:N6,PanelBottomCloseIcon:N6,PanelBottomDashed:Gn,PanelBottomDashedIcon:Gn,PanelBottomIcon:j6,PanelBottomInactive:Gn,PanelBottomInactiveIcon:Gn,PanelBottomOpen:S6,PanelBottomOpenIcon:S6,PanelLeft:Yn,PanelLeftClose:Kn,PanelLeftCloseIcon:Kn,PanelLeftDashed:Zn,PanelLeftDashedIcon:Zn,PanelLeftIcon:Yn,PanelLeftInactive:Zn,PanelLeftInactiveIcon:Zn,PanelLeftOpen:Xn,PanelLeftOpenIcon:Xn,PanelRight:A6,PanelRightClose:$6,PanelRightCloseIcon:$6,PanelRightDashed:Jn,PanelRightDashedIcon:Jn,PanelRightIcon:A6,PanelRightInactive:Jn,PanelRightInactiveIcon:Jn,PanelRightOpen:q6,PanelRightOpenIcon:q6,PanelTop:P6,PanelTopClose:z6,PanelTopCloseIcon:z6,PanelTopDashed:Qn,PanelTopDashedIcon:Qn,PanelTopIcon:P6,PanelTopInactive:Qn,PanelTopInactiveIcon:Qn,PanelTopOpen:V6,PanelTopOpenIcon:V6,PanelsLeftBottom:T6,PanelsLeftBottomIcon:T6,PanelsLeftRight:tn,PanelsLeftRightIcon:tn,PanelsRightBottom:H6,PanelsRightBottomIcon:H6,PanelsTopBottom:co,PanelsTopBottomIcon:co,PanelsTopLeft:eo,PanelsTopLeftIcon:eo,Paperclip:D6,PaperclipIcon:D6,Parentheses:B6,ParenthesesIcon:B6,ParkingCircle:Ba,ParkingCircleIcon:Ba,ParkingCircleOff:Ha,ParkingCircleOffIcon:Ha,ParkingMeter:R6,ParkingMeterIcon:R6,ParkingSquare:Ko,ParkingSquareIcon:Ko,ParkingSquareOff:Wo,ParkingSquareOffIcon:Wo,PartyPopper:F6,PartyPopperIcon:F6,Pause:E6,PauseCircle:Da,PauseCircleIcon:Da,PauseIcon:E6,PauseOctagon:On,PauseOctagonIcon:On,PawPrint:O6,PawPrintIcon:O6,PcCase:U6,PcCaseIcon:U6,Pen:xt,PenBox:Ge,PenBoxIcon:Ge,PenIcon:xt,PenLine:vt,PenLineIcon:vt,PenOff:G6,PenOffIcon:G6,PenSquare:Ge,PenSquareIcon:Ge,PenTool:W6,PenToolIcon:W6,Pencil:o1,PencilIcon:o1,PencilLine:K6,PencilLineIcon:K6,PencilOff:Z6,PencilOffIcon:Z6,PencilRuler:X6,PencilRulerIcon:X6,Pentagon:Y6,PentagonIcon:Y6,Percent:J6,PercentCircle:Ra,PercentCircleIcon:Ra,PercentDiamond:nn,PercentDiamondIcon:nn,PercentIcon:J6,PercentSquare:Zo,PercentSquareIcon:Zo,PersonStanding:e8,PersonStandingIcon:e8,PhilippinePeso:Q6,PhilippinePesoIcon:Q6,Phone:i8,PhoneCall:t8,PhoneCallIcon:t8,PhoneForwarded:a8,PhoneForwardedIcon:a8,PhoneIcon:i8,PhoneIncoming:n8,PhoneIncomingIcon:n8,PhoneMissed:o8,PhoneMissedIcon:o8,PhoneOff:c8,PhoneOffIcon:c8,PhoneOutgoing:r8,PhoneOutgoingIcon:r8,Pi:s8,PiIcon:s8,PiSquare:Xo,PiSquareIcon:Xo,Piano:d8,PianoIcon:d8,Pickaxe:l8,PickaxeIcon:l8,PictureInPicture:u8,PictureInPicture2:h8,PictureInPicture2Icon:h8,PictureInPictureIcon:u8,PieChart:ga,PieChartIcon:ga,PiggyBank:p8,PiggyBankIcon:p8,Pilcrow:k8,PilcrowIcon:k8,PilcrowLeft:y8,PilcrowLeftIcon:y8,PilcrowRight:m8,PilcrowRightIcon:m8,PilcrowSquare:Yo,PilcrowSquareIcon:Yo,Pill:g8,PillBottle:f8,PillBottleIcon:f8,PillIcon:g8,Pin:x8,PinIcon:x8,PinOff:v8,PinOffIcon:v8,Pipette:M8,PipetteIcon:M8,Pizza:_8,PizzaIcon:_8,Plane:b8,PlaneIcon:b8,PlaneLanding:L8,PlaneLandingIcon:L8,PlaneTakeoff:I8,PlaneTakeoffIcon:I8,Play:w8,PlayCircle:Fa,PlayCircleIcon:Fa,PlayIcon:w8,PlaySquare:Jo,PlaySquareIcon:Jo,Plug:N8,Plug2:C8,Plug2Icon:C8,PlugIcon:N8,PlugZap:to,PlugZap2:to,PlugZap2Icon:to,PlugZapIcon:to,Plus:zc,PlusCircle:Ea,PlusCircleIcon:Ea,PlusIcon:zc,PlusSquare:Qo,PlusSquareIcon:Qo,Pocket:j8,PocketIcon:j8,PocketKnife:S8,PocketKnifeIcon:S8,Podcast:$8,PodcastIcon:$8,Pointer:A8,PointerIcon:A8,PointerOff:q8,PointerOffIcon:q8,Popcorn:V8,PopcornIcon:V8,Popsicle:z8,PopsicleIcon:z8,PoundSterling:P8,PoundSterlingIcon:P8,Power:H8,PowerCircle:Oa,PowerCircleIcon:Oa,PowerIcon:H8,PowerOff:T8,PowerOffIcon:T8,PowerSquare:ec,PowerSquareIcon:ec,Presentation:D8,PresentationIcon:D8,Printer:R8,PrinterCheck:B8,PrinterCheckIcon:B8,PrinterIcon:R8,Projector:F8,ProjectorIcon:F8,Proportions:E8,ProportionsIcon:E8,Puzzle:U8,PuzzleIcon:U8,Pyramid:O8,PyramidIcon:O8,QrCode:W8,QrCodeIcon:W8,Quote:G8,QuoteIcon:G8,Rabbit:K8,RabbitIcon:K8,Radar:Z8,RadarIcon:Z8,Radiation:X8,RadiationIcon:X8,Radical:Y8,RadicalIcon:Y8,Radio:eg,RadioIcon:eg,RadioReceiver:J8,RadioReceiverIcon:J8,RadioTower:Q8,RadioTowerIcon:Q8,Radius:tg,RadiusIcon:tg,RailSymbol:ag,RailSymbolIcon:ag,Rainbow:ng,RainbowIcon:ng,Rat:og,RatIcon:og,Ratio:cg,RatioIcon:cg,Receipt:kg,ReceiptCent:ig,ReceiptCentIcon:ig,ReceiptEuro:sg,ReceiptEuroIcon:sg,ReceiptIcon:kg,ReceiptIndianRupee:rg,ReceiptIndianRupeeIcon:rg,ReceiptJapaneseYen:dg,ReceiptJapaneseYenIcon:dg,ReceiptPoundSterling:lg,ReceiptPoundSterlingIcon:lg,ReceiptRussianRuble:hg,ReceiptRussianRubleIcon:hg,ReceiptSwissFranc:ug,ReceiptSwissFrancIcon:ug,ReceiptText:pg,ReceiptTextIcon:pg,ReceiptTurkishLira:yg,ReceiptTurkishLiraIcon:yg,RectangleCircle:mg,RectangleCircleIcon:mg,RectangleEllipsis:ao,RectangleEllipsisIcon:ao,RectangleGoggles:fg,RectangleGogglesIcon:fg,RectangleHorizontal:gg,RectangleHorizontalIcon:gg,RectangleVertical:vg,RectangleVerticalIcon:vg,Recycle:xg,RecycleIcon:xg,Redo:Lg,Redo2:Mg,Redo2Icon:Mg,RedoDot:_g,RedoDotIcon:_g,RedoIcon:Lg,RefreshCcw:bg,RefreshCcwDot:Ig,RefreshCcwDotIcon:Ig,RefreshCcwIcon:bg,RefreshCw:Cg,RefreshCwIcon:Cg,RefreshCwOff:wg,RefreshCwOffIcon:wg,Refrigerator:Ng,RefrigeratorIcon:Ng,Regex:Sg,RegexIcon:Sg,RemoveFormatting:jg,RemoveFormattingIcon:jg,Repeat:Ag,Repeat1:$g,Repeat1Icon:$g,Repeat2:qg,Repeat2Icon:qg,RepeatIcon:Ag,Replace:Vg,ReplaceAll:zg,ReplaceAllIcon:zg,ReplaceIcon:Vg,Reply:Hg,ReplyAll:Pg,ReplyAllIcon:Pg,ReplyIcon:Hg,Rewind:Tg,RewindIcon:Tg,Ribbon:Dg,RibbonIcon:Dg,Rocket:Bg,RocketIcon:Bg,RockingChair:Eg,RockingChairIcon:Eg,RollerCoaster:Rg,RollerCoasterIcon:Rg,Rose:Fg,RoseIcon:Fg,Rotate3D:no,Rotate3DIcon:no,Rotate3d:no,Rotate3dIcon:no,RotateCcw:Wg,RotateCcwIcon:Wg,RotateCcwKey:Og,RotateCcwKeyIcon:Og,RotateCcwSquare:Ug,RotateCcwSquareIcon:Ug,RotateCw:Kg,RotateCwIcon:Kg,RotateCwSquare:Gg,RotateCwSquareIcon:Gg,Route:Xg,RouteIcon:Xg,RouteOff:Zg,RouteOffIcon:Zg,Router:Yg,RouterIcon:Yg,Rows:oo,Rows2:oo,Rows2Icon:oo,Rows3:co,Rows3Icon:co,Rows4:Jg,Rows4Icon:Jg,RowsIcon:oo,Rss:Qg,RssIcon:Qg,Ruler:t7,RulerDimensionLine:e7,RulerDimensionLineIcon:e7,RulerIcon:t7,RussianRuble:a7,RussianRubleIcon:a7,Sailboat:n7,SailboatIcon:n7,Salad:o7,SaladIcon:o7,Sandwich:c7,SandwichIcon:c7,Satellite:r7,SatelliteDish:i7,SatelliteDishIcon:i7,SatelliteIcon:r7,SaudiRiyal:s7,SaudiRiyalIcon:s7,Save:u7,SaveAll:d7,SaveAllIcon:d7,SaveIcon:u7,SaveOff:l7,SaveOffIcon:l7,Scale:h7,Scale3D:io,Scale3DIcon:io,Scale3d:io,Scale3dIcon:io,ScaleIcon:h7,Scaling:p7,ScalingIcon:p7,Scan:_7,ScanBarcode:y7,ScanBarcodeIcon:y7,ScanEye:k7,ScanEyeIcon:k7,ScanFace:m7,ScanFaceIcon:m7,ScanHeart:f7,ScanHeartIcon:f7,ScanIcon:_7,ScanLine:g7,ScanLineIcon:g7,ScanQrCode:v7,ScanQrCodeIcon:v7,ScanSearch:x7,ScanSearchIcon:x7,ScanText:M7,ScanTextIcon:M7,ScatterChart:va,ScatterChartIcon:va,School:L7,School2:mc,School2Icon:mc,SchoolIcon:L7,Scissors:b7,ScissorsIcon:b7,ScissorsLineDashed:I7,ScissorsLineDashedIcon:I7,ScissorsSquare:tc,ScissorsSquareDashedBottom:wo,ScissorsSquareDashedBottomIcon:wo,ScissorsSquareIcon:tc,ScreenShare:w7,ScreenShareIcon:w7,ScreenShareOff:C7,ScreenShareOffIcon:C7,Scroll:S7,ScrollIcon:S7,ScrollText:N7,ScrollTextIcon:N7,Search:V1,SearchCheck:j7,SearchCheckIcon:j7,SearchCode:$7,SearchCodeIcon:$7,SearchIcon:V1,SearchSlash:q7,SearchSlashIcon:q7,SearchX:A7,SearchXIcon:A7,Section:z7,SectionIcon:z7,Send:P7,SendHorizonal:ro,SendHorizonalIcon:ro,SendHorizontal:ro,SendHorizontalIcon:ro,SendIcon:P7,SendToBack:V7,SendToBackIcon:V7,SeparatorHorizontal:T7,SeparatorHorizontalIcon:T7,SeparatorVertical:H7,SeparatorVerticalIcon:H7,Server:F7,ServerCog:D7,ServerCogIcon:D7,ServerCrash:R7,ServerCrashIcon:R7,ServerIcon:F7,ServerOff:B7,ServerOffIcon:B7,Settings:O7,Settings2:E7,Settings2Icon:E7,SettingsIcon:O7,Shapes:U7,ShapesIcon:U7,Share:G7,Share2:W7,Share2Icon:W7,ShareIcon:G7,Sheet:K7,SheetIcon:K7,Shell:Z7,ShellIcon:Z7,Shield:cv,ShieldAlert:X7,ShieldAlertIcon:X7,ShieldBan:Y7,ShieldBanIcon:Y7,ShieldCheck:J7,ShieldCheckIcon:J7,ShieldClose:lo,ShieldCloseIcon:lo,ShieldEllipsis:Q7,ShieldEllipsisIcon:Q7,ShieldHalf:ev,ShieldHalfIcon:ev,ShieldIcon:cv,ShieldMinus:av,ShieldMinusIcon:av,ShieldOff:tv,ShieldOffIcon:tv,ShieldPlus:nv,ShieldPlusIcon:nv,ShieldQuestion:so,ShieldQuestionIcon:so,ShieldQuestionMark:so,ShieldQuestionMarkIcon:so,ShieldUser:ov,ShieldUserIcon:ov,ShieldX:lo,ShieldXIcon:lo,Ship:rv,ShipIcon:rv,ShipWheel:iv,ShipWheelIcon:iv,Shirt:sv,ShirtIcon:sv,ShoppingBag:dv,ShoppingBagIcon:dv,ShoppingBasket:lv,ShoppingBasketIcon:lv,ShoppingCart:hv,ShoppingCartIcon:hv,Shovel:uv,ShovelIcon:uv,ShowerHead:pv,ShowerHeadIcon:pv,Shredder:yv,ShredderIcon:yv,Shrimp:kv,ShrimpIcon:kv,Shrink:mv,ShrinkIcon:mv,Shrub:fv,ShrubIcon:fv,Shuffle:vv,ShuffleIcon:vv,Sidebar:Yn,SidebarClose:Kn,SidebarCloseIcon:Kn,SidebarIcon:Yn,SidebarOpen:Xn,SidebarOpenIcon:Xn,Sigma:gv,SigmaIcon:gv,SigmaSquare:ac,SigmaSquareIcon:ac,Signal:Iv,SignalHigh:xv,SignalHighIcon:xv,SignalIcon:Iv,SignalLow:Mv,SignalLowIcon:Mv,SignalMedium:_v,SignalMediumIcon:_v,SignalZero:Lv,SignalZeroIcon:Lv,Signature:bv,SignatureIcon:bv,Signpost:Cv,SignpostBig:wv,SignpostBigIcon:wv,SignpostIcon:Cv,Siren:Nv,SirenIcon:Nv,SkipBack:Sv,SkipBackIcon:Sv,SkipForward:jv,SkipForwardIcon:jv,Skull:$v,SkullIcon:$v,Slack:qv,SlackIcon:qv,Slash:Av,SlashIcon:Av,SlashSquare:nc,SlashSquareIcon:nc,Slice:zv,SliceIcon:zv,Sliders:ho,SlidersHorizontal:Vv,SlidersHorizontalIcon:Vv,SlidersIcon:ho,SlidersVertical:ho,SlidersVerticalIcon:ho,Smartphone:Hv,SmartphoneCharging:Pv,SmartphoneChargingIcon:Pv,SmartphoneIcon:Hv,SmartphoneNfc:Tv,SmartphoneNfcIcon:Tv,Smile:Bv,SmileIcon:Bv,SmilePlus:Dv,SmilePlusIcon:Dv,Snail:Rv,SnailIcon:Rv,Snowflake:Fv,SnowflakeIcon:Fv,SoapDispenserDroplet:Ev,SoapDispenserDropletIcon:Ev,Sofa:Ov,SofaIcon:Ov,SortAsc:Yt,SortAscIcon:Yt,SortDesc:Kt,SortDescIcon:Kt,Soup:Uv,SoupIcon:Uv,Space:Wv,SpaceIcon:Wv,Spade:Gv,SpadeIcon:Gv,Sparkle:Kv,SparkleIcon:Kv,Sparkles:uo,SparklesIcon:uo,Speaker:Zv,SpeakerIcon:Zv,Speech:Xv,SpeechIcon:Xv,SpellCheck:Jv,SpellCheck2:Yv,SpellCheck2Icon:Yv,SpellCheckIcon:Jv,Spline:e9,SplineIcon:e9,SplinePointer:Qv,SplinePointerIcon:Qv,Split:t9,SplitIcon:t9,SplitSquareHorizontal:oc,SplitSquareHorizontalIcon:oc,SplitSquareVertical:cc,SplitSquareVerticalIcon:cc,Spool:a9,SpoolIcon:a9,Spotlight:n9,SpotlightIcon:n9,SprayCan:o9,SprayCanIcon:o9,Sprout:c9,SproutIcon:c9,Square:m9,SquareActivity:Vt,SquareActivityIcon:Vt,SquareArrowDown:ko,SquareArrowDownIcon:ko,SquareArrowDownLeft:po,SquareArrowDownLeftIcon:po,SquareArrowDownRight:yo,SquareArrowDownRightIcon:yo,SquareArrowLeft:mo,SquareArrowLeftIcon:mo,SquareArrowOutDownLeft:fo,SquareArrowOutDownLeftIcon:fo,SquareArrowOutDownRight:go,SquareArrowOutDownRightIcon:go,SquareArrowOutUpLeft:vo,SquareArrowOutUpLeftIcon:vo,SquareArrowOutUpRight:xo,SquareArrowOutUpRightIcon:xo,SquareArrowRight:Mo,SquareArrowRightIcon:Mo,SquareArrowUp:Io,SquareArrowUpIcon:Io,SquareArrowUpLeft:_o,SquareArrowUpLeftIcon:_o,SquareArrowUpRight:Lo,SquareArrowUpRightIcon:Lo,SquareAsterisk:bo,SquareAsteriskIcon:bo,SquareBottomDashedScissors:wo,SquareBottomDashedScissorsIcon:wo,SquareChartGantt:yt,SquareChartGanttIcon:yt,SquareCheck:No,SquareCheckBig:Co,SquareCheckBigIcon:Co,SquareCheckIcon:No,SquareChevronDown:So,SquareChevronDownIcon:So,SquareChevronLeft:jo,SquareChevronLeftIcon:jo,SquareChevronRight:$o,SquareChevronRightIcon:$o,SquareChevronUp:qo,SquareChevronUpIcon:qo,SquareCode:Ao,SquareCodeIcon:Ao,SquareDashed:Po,SquareDashedBottom:r9,SquareDashedBottomCode:i9,SquareDashedBottomCodeIcon:i9,SquareDashedBottomIcon:r9,SquareDashedIcon:Po,SquareDashedKanban:zo,SquareDashedKanbanIcon:zo,SquareDashedMousePointer:Vo,SquareDashedMousePointerIcon:Vo,SquareDashedTopSolid:s9,SquareDashedTopSolidIcon:s9,SquareDivide:To,SquareDivideIcon:To,SquareDot:Do,SquareDotIcon:Do,SquareEqual:Ho,SquareEqualIcon:Ho,SquareFunction:Bo,SquareFunctionIcon:Bo,SquareGanttChart:yt,SquareGanttChartIcon:yt,SquareIcon:m9,SquareKanban:Ro,SquareKanbanIcon:Ro,SquareLibrary:Fo,SquareLibraryIcon:Fo,SquareM:Eo,SquareMIcon:Eo,SquareMenu:Oo,SquareMenuIcon:Oo,SquareMinus:Uo,SquareMinusIcon:Uo,SquareMousePointer:Go,SquareMousePointerIcon:Go,SquareParking:Ko,SquareParkingIcon:Ko,SquareParkingOff:Wo,SquareParkingOffIcon:Wo,SquarePause:d9,SquarePauseIcon:d9,SquarePen:Ge,SquarePenIcon:Ge,SquarePercent:Zo,SquarePercentIcon:Zo,SquarePi:Xo,SquarePiIcon:Xo,SquarePilcrow:Yo,SquarePilcrowIcon:Yo,SquarePlay:Jo,SquarePlayIcon:Jo,SquarePlus:Qo,SquarePlusIcon:Qo,SquarePower:ec,SquarePowerIcon:ec,SquareRadical:l9,SquareRadicalIcon:l9,SquareRoundCorner:h9,SquareRoundCornerIcon:h9,SquareScissors:tc,SquareScissorsIcon:tc,SquareSigma:ac,SquareSigmaIcon:ac,SquareSlash:nc,SquareSlashIcon:nc,SquareSplitHorizontal:oc,SquareSplitHorizontalIcon:oc,SquareSplitVertical:cc,SquareSplitVerticalIcon:cc,SquareSquare:u9,SquareSquareIcon:u9,SquareStack:p9,SquareStackIcon:p9,SquareStar:y9,SquareStarIcon:y9,SquareStop:k9,SquareStopIcon:k9,SquareTerminal:ic,SquareTerminalIcon:ic,SquareUser:sc,SquareUserIcon:sc,SquareUserRound:rc,SquareUserRoundIcon:rc,SquareX:dc,SquareXIcon:dc,SquaresExclude:f9,SquaresExcludeIcon:f9,SquaresIntersect:g9,SquaresIntersectIcon:g9,SquaresSubtract:v9,SquaresSubtractIcon:v9,SquaresUnite:x9,SquaresUniteIcon:x9,Squircle:_9,SquircleDashed:M9,SquircleDashedIcon:M9,SquircleIcon:_9,Squirrel:L9,SquirrelIcon:L9,Stamp:I9,StampIcon:I9,Star:N9,StarHalf:b9,StarHalfIcon:b9,StarIcon:N9,StarOff:w9,StarOffIcon:w9,Stars:uo,StarsIcon:uo,StepBack:C9,StepBackIcon:C9,StepForward:S9,StepForwardIcon:S9,Stethoscope:j9,StethoscopeIcon:j9,Sticker:$9,StickerIcon:$9,StickyNote:q9,StickyNoteIcon:q9,StopCircle:Wa,StopCircleIcon:Wa,Store:A9,StoreIcon:A9,StretchHorizontal:z9,StretchHorizontalIcon:z9,StretchVertical:V9,StretchVerticalIcon:V9,Strikethrough:P9,StrikethroughIcon:P9,Subscript:T9,SubscriptIcon:T9,Subtitles:ia,SubtitlesIcon:ia,Sun:E9,SunDim:H9,SunDimIcon:H9,SunIcon:E9,SunMedium:D9,SunMediumIcon:D9,SunMoon:B9,SunMoonIcon:B9,SunSnow:R9,SunSnowIcon:R9,Sunrise:F9,SunriseIcon:F9,Sunset:O9,SunsetIcon:O9,Superscript:U9,SuperscriptIcon:U9,SwatchBook:W9,SwatchBookIcon:W9,SwissFranc:G9,SwissFrancIcon:G9,SwitchCamera:K9,SwitchCameraIcon:K9,Sword:Z9,SwordIcon:Z9,Swords:Y9,SwordsIcon:Y9,Syringe:X9,SyringeIcon:X9,Table:cx,Table2:J9,Table2Icon:J9,TableCellsMerge:Q9,TableCellsMergeIcon:Q9,TableCellsSplit:ex,TableCellsSplitIcon:ex,TableColumnsSplit:tx,TableColumnsSplitIcon:tx,TableConfig:ut,TableConfigIcon:ut,TableIcon:cx,TableOfContents:ax,TableOfContentsIcon:ax,TableProperties:nx,TablePropertiesIcon:nx,TableRowsSplit:ox,TableRowsSplitIcon:ox,Tablet:rx,TabletIcon:rx,TabletSmartphone:ix,TabletSmartphoneIcon:ix,Tablets:sx,TabletsIcon:sx,Tag:dx,TagIcon:dx,Tags:lx,TagsIcon:lx,Tally1:hx,Tally1Icon:hx,Tally2:ux,Tally2Icon:ux,Tally3:px,Tally3Icon:px,Tally4:yx,Tally4Icon:yx,Tally5:kx,Tally5Icon:kx,Tangent:mx,TangentIcon:mx,Target:fx,TargetIcon:fx,Telescope:gx,TelescopeIcon:gx,Tent:xx,TentIcon:xx,TentTree:vx,TentTreeIcon:vx,Terminal:Mx,TerminalIcon:Mx,TerminalSquare:ic,TerminalSquareIcon:ic,TestTube:_x,TestTube2:lc,TestTube2Icon:lc,TestTubeDiagonal:lc,TestTubeDiagonalIcon:lc,TestTubeIcon:_x,TestTubes:Lx,TestTubesIcon:Lx,Text:Nx,TextCursor:bx,TextCursorIcon:bx,TextCursorInput:Ix,TextCursorInputIcon:Ix,TextIcon:Nx,TextQuote:wx,TextQuoteIcon:wx,TextSearch:Cx,TextSearchIcon:Cx,TextSelect:hc,TextSelectIcon:hc,TextSelection:hc,TextSelectionIcon:hc,Theater:Sx,TheaterIcon:Sx,Thermometer:Ax,ThermometerIcon:Ax,ThermometerSnowflake:jx,ThermometerSnowflakeIcon:jx,ThermometerSun:$x,ThermometerSunIcon:$x,ThumbsDown:qx,ThumbsDownIcon:qx,ThumbsUp:zx,ThumbsUpIcon:zx,Ticket:Rx,TicketCheck:Vx,TicketCheckIcon:Vx,TicketIcon:Rx,TicketMinus:Px,TicketMinusIcon:Px,TicketPercent:Tx,TicketPercentIcon:Tx,TicketPlus:Hx,TicketPlusIcon:Hx,TicketSlash:Dx,TicketSlashIcon:Dx,TicketX:Bx,TicketXIcon:Bx,Tickets:Ex,TicketsIcon:Ex,TicketsPlane:Fx,TicketsPlaneIcon:Fx,Timer:Wx,TimerIcon:Wx,TimerOff:Ox,TimerOffIcon:Ox,TimerReset:Ux,TimerResetIcon:Ux,ToggleLeft:Gx,ToggleLeftIcon:Gx,ToggleRight:Kx,ToggleRightIcon:Kx,Toilet:Zx,ToiletIcon:Zx,ToolCase:Xx,ToolCaseIcon:Xx,Tornado:Jx,TornadoIcon:Jx,Torus:Yx,TorusIcon:Yx,Touchpad:eM,TouchpadIcon:eM,TouchpadOff:Qx,TouchpadOffIcon:Qx,TowerControl:aM,TowerControlIcon:aM,ToyBrick:tM,ToyBrickIcon:tM,Tractor:nM,TractorIcon:nM,TrafficCone:oM,TrafficConeIcon:oM,Train:uc,TrainFront:iM,TrainFrontIcon:iM,TrainFrontTunnel:cM,TrainFrontTunnelIcon:cM,TrainIcon:uc,TrainTrack:rM,TrainTrackIcon:rM,TramFront:uc,TramFrontIcon:uc,Transgender:sM,TransgenderIcon:sM,Trash:dM,Trash2:kt,Trash2Icon:kt,TrashIcon:dM,TreeDeciduous:lM,TreeDeciduousIcon:lM,TreePalm:pc,TreePalmIcon:pc,TreePine:hM,TreePineIcon:hM,Trees:uM,TreesIcon:uM,Trello:pM,TrelloIcon:pM,TrendingDown:yM,TrendingDownIcon:yM,TrendingUp:kM,TrendingUpDown:mM,TrendingUpDownIcon:mM,TrendingUpIcon:kM,Triangle:gM,TriangleAlert:yc,TriangleAlertIcon:yc,TriangleDashed:fM,TriangleDashedIcon:fM,TriangleIcon:gM,TriangleRight:vM,TriangleRightIcon:vM,Trophy:xM,TrophyIcon:xM,Truck:_M,TruckElectric:MM,TruckElectricIcon:MM,TruckIcon:_M,TurkishLira:LM,TurkishLiraIcon:LM,Turntable:IM,TurntableIcon:IM,Turtle:bM,TurtleIcon:bM,Tv:CM,Tv2:kc,Tv2Icon:kc,TvIcon:CM,TvMinimal:kc,TvMinimalIcon:kc,TvMinimalPlay:wM,TvMinimalPlayIcon:wM,Twitch:NM,TwitchIcon:NM,Twitter:SM,TwitterIcon:SM,Type:$M,TypeIcon:$M,TypeOutline:jM,TypeOutlineIcon:jM,Umbrella:AM,UmbrellaIcon:AM,UmbrellaOff:qM,UmbrellaOffIcon:qM,Underline:zM,UnderlineIcon:zM,Undo:TM,Undo2:VM,Undo2Icon:VM,UndoDot:PM,UndoDotIcon:PM,UndoIcon:TM,UnfoldHorizontal:HM,UnfoldHorizontalIcon:HM,UnfoldVertical:DM,UnfoldVerticalIcon:DM,Ungroup:BM,UngroupIcon:BM,University:mc,UniversityIcon:mc,Unlink:OM,Unlink2:RM,Unlink2Icon:RM,UnlinkIcon:OM,Unlock:Tn,UnlockIcon:Tn,UnlockKeyhole:Pn,UnlockKeyholeIcon:Pn,Unplug:FM,UnplugIcon:FM,Upload:EM,UploadCloud:Ja,UploadCloudIcon:Ja,UploadIcon:EM,Usb:UM,UsbIcon:UM,User:a_,User2:_c,User2Icon:_c,UserCheck:WM,UserCheck2:fc,UserCheck2Icon:fc,UserCheckIcon:WM,UserCircle:Ka,UserCircle2:Ga,UserCircle2Icon:Ga,UserCircleIcon:Ka,UserCog:GM,UserCog2:gc,UserCog2Icon:gc,UserCogIcon:GM,UserIcon:a_,UserLock:KM,UserLockIcon:KM,UserMinus:ZM,UserMinus2:vc,UserMinus2Icon:vc,UserMinusIcon:ZM,UserPen:XM,UserPenIcon:XM,UserPlus:P1,UserPlus2:xc,UserPlus2Icon:xc,UserPlusIcon:P1,UserRound:_c,UserRoundCheck:fc,UserRoundCheckIcon:fc,UserRoundCog:gc,UserRoundCogIcon:gc,UserRoundIcon:_c,UserRoundMinus:vc,UserRoundMinusIcon:vc,UserRoundPen:YM,UserRoundPenIcon:YM,UserRoundPlus:xc,UserRoundPlusIcon:xc,UserRoundSearch:JM,UserRoundSearchIcon:JM,UserRoundX:Mc,UserRoundXIcon:Mc,UserSearch:QM,UserSearchIcon:QM,UserSquare:sc,UserSquare2:rc,UserSquare2Icon:rc,UserSquareIcon:sc,UserStar:e_,UserStarIcon:e_,UserX:t_,UserX2:Mc,UserX2Icon:Mc,UserXIcon:t_,Users:n_,Users2:Lc,Users2Icon:Lc,UsersIcon:n_,UsersRound:Lc,UsersRoundIcon:Lc,Utensils:bc,UtensilsCrossed:Ic,UtensilsCrossedIcon:Ic,UtensilsIcon:bc,UtilityPole:o_,UtilityPoleIcon:o_,Variable:c_,VariableIcon:c_,Vault:i_,VaultIcon:i_,VectorSquare:r_,VectorSquareIcon:r_,Vegan:s_,VeganIcon:s_,VenetianMask:d_,VenetianMaskIcon:d_,Venus:p_,VenusAndMars:l_,VenusAndMarsIcon:l_,VenusIcon:p_,Verified:ea,VerifiedIcon:ea,Vibrate:u_,VibrateIcon:u_,VibrateOff:h_,VibrateOffIcon:h_,Video:k_,VideoIcon:k_,VideoOff:y_,VideoOffIcon:y_,Videotape:m_,VideotapeIcon:m_,View:g_,ViewIcon:g_,Voicemail:f_,VoicemailIcon:f_,Volleyball:v_,VolleyballIcon:v_,Volume:b_,Volume1:x_,Volume1Icon:x_,Volume2:M_,Volume2Icon:M_,VolumeIcon:b_,VolumeOff:__,VolumeOffIcon:__,VolumeX:L_,VolumeXIcon:L_,Vote:I_,VoteIcon:I_,Wallet:C_,Wallet2:wc,Wallet2Icon:wc,WalletCards:w_,WalletCardsIcon:w_,WalletIcon:C_,WalletMinimal:wc,WalletMinimalIcon:wc,Wallpaper:N_,WallpaperIcon:N_,Wand:S_,Wand2:Cc,Wand2Icon:Cc,WandIcon:S_,WandSparkles:Cc,WandSparklesIcon:Cc,Warehouse:j_,WarehouseIcon:j_,WashingMachine:$_,WashingMachineIcon:$_,Watch:q_,WatchIcon:q_,Waves:z_,WavesIcon:z_,WavesLadder:A_,WavesLadderIcon:A_,Waypoints:V_,WaypointsIcon:V_,Webcam:P_,WebcamIcon:P_,Webhook:D_,WebhookIcon:D_,WebhookOff:T_,WebhookOffIcon:T_,Weight:H_,WeightIcon:H_,Wheat:R_,WheatIcon:R_,WheatOff:B_,WheatOffIcon:B_,WholeWord:F_,WholeWordIcon:F_,Wifi:X_,WifiCog:E_,WifiCogIcon:E_,WifiHigh:O_,WifiHighIcon:O_,WifiIcon:X_,WifiLow:U_,WifiLowIcon:U_,WifiOff:W_,WifiOffIcon:W_,WifiPen:G_,WifiPenIcon:G_,WifiSync:K_,WifiSyncIcon:K_,WifiZero:Z_,WifiZeroIcon:Z_,Wind:J_,WindArrowDown:Y_,WindArrowDownIcon:Y_,WindIcon:J_,Wine:eL,WineIcon:eL,WineOff:Q_,WineOffIcon:Q_,Workflow:tL,WorkflowIcon:tL,Worm:aL,WormIcon:aL,WrapText:nL,WrapTextIcon:nL,Wrench:oL,WrenchIcon:oL,X:at,XCircle:qt,XCircleIcon:qt,XIcon:at,XOctagon:Un,XOctagonIcon:Un,XSquare:dc,XSquareIcon:dc,Youtube:iL,YoutubeIcon:iL,Zap:rL,ZapIcon:rL,ZapOff:cL,ZapOffIcon:cL,ZoomIn:sL,ZoomInIcon:sL,ZoomOut:dL,ZoomOutIcon:dL,createLucideIcon:a.createLucideIcon,icons:hde},Symbol.toStringTag,{value:"Module"})),ude=({size:e=250,background:t="#fff",headerTop:n,headerBottom:c,headerTopStyle:i,headerBottomStyle:r,progress1:s,badgeList:d,progress3:l,style:h,className:u="",draggable:p=!1})=>{const y=e!==void 0?e:250,f=e?{size:e*.5,...s}:s,g=e?{size:e*.4,...l}:l,m={background:t,position:"relative",...h,...y&&{width:y}};return o.jsxs("div",{style:m,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(Zb,{...f})}),o.jsxs("div",{className:"progress-row-double",children:[o.jsx("div",{className:"progress-item",children:o.jsx(Qj,{...d})}),o.jsx("div",{className:"progress-item",children:o.jsx(Zb,{...g})})]})]}),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}})})]})},e$=k.createContext(void 0),ft=()=>{const e=k.useContext(e$);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},pde=({children:e,defaultActive:t=""})=>{const[n,c]=k.useState(t),[i,r]=k.useState(t),[s,d]=k.useState(void 0),[l,h]=k.useState(void 0),[u,p]=k.useState({}),y=(f,g)=>{p(m=>({...m,[f]:g}))};return o.jsx(e$.Provider,{value:{activeNav:n,setActiveNav:c,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:l,setUser:h,navCounts:u,setNavCount:y},children:e})},t$=({categories:e,logo:t="Menu",buttonContent:n,position:c="auto",closeOnClickOutside:i=!0,select:r,topContent:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState("right"),p=k.useRef(null),y=k.useRef(null),{activeNav:f,activeSubNav:g}=ft();k.useEffect(()=>{if(!i)return;const M=v=>{p.current&&!p.current.contains(v.target)&&l(!1)};return document.addEventListener("mousedown",M),()=>document.removeEventListener("mousedown",M)},[i]),k.useEffect(()=>{if(d&&c==="auto"&&y.current){const M=y.current.getBoundingClientRect(),v=window.innerWidth/2;u(M.left<v?"left":"right")}},[d,c]);const m=t?_t[t]:null,x=c==="auto"?h:c;return o.jsxs("div",{className:"dropdown",ref:p,children:[o.jsxs("button",{ref:y,type:"button",className:"dropdown-button",onClick:()=>l(M=>!M),"aria-expanded":d,"aria-haspopup":"true",children:[m&&o.jsx(m,{size:20}),n&&o.jsx("span",{className:"button-text",children:n})]}),d&&o.jsxs("div",{className:`dropdown-content ${x}`,children:[s&&o.jsx("div",{className:"dropdown-top-content",children:s}),e?.map((M,v)=>o.jsxs("div",{className:"dropdown-category",children:[M.title&&o.jsx("div",{className:"category-title",children:M.title}),o.jsx("div",{className:"category-items",children:M.items.map((L,b)=>{const C=L.id??L.label,N=f===C||g===C,_=L.select??r;if(L.id==="language"){if(!_||!Array.isArray(_.options)||!_.onChange)return o.jsx("div",{className:"dropdown-language"},b);const j=Array.isArray(_.options)?_.options:[],S=j.some($=>$.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:$=>{const A=$.target.value;try{_.onChange(A)}catch(H){console.error("select onChange error",H)}},children:S.map($=>o.jsx("option",{value:$.code,children:$.label},$.code))})},b)}const I={className:`dropdown-item ${N?"active":""}`,onClick:()=>{L.onClick?.(),l(!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},b):o.jsx("a",{...I,href:L.href,children:L.label},b)})})]},v))]})]})},a$=({children:e,container:t=!1,item:n=!1,parent:c=!1,xs:i,sm:r,md:s,lg:d,xl:l,spacing:h=0,className:u="",uniqueKey:p=0,style:y={},width:f,order:g,onSwap:m,draggable:x=!1,displayNone:M=!1})=>{const[v,L]=k.useState([]);k.useEffect(()=>{const I=$=>{const A=[];return k.Children.forEach($,H=>{Array.isArray(H)?A.push(...I(H)):k.isValidElement(H)&&A.push(H)}),A},w=I(e).filter($=>k.isValidElement($)).map($=>{let A="";const H=$.props;return A=[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:$,classes:A}});let S=w;g&&g.length>0&&(S=w.map(($,A)=>({...$,node:w[g[A]]?.node??$.node}))),L(S)},[e]);const b=(I,j)=>{I.stopPropagation(),I.dataTransfer.setData("dragIndex",j.toString()),I.dataTransfer.setData("parentKey",p.toString())},C=I=>{I.preventDefault(),I.stopPropagation()},N=(I,j)=>{I.preventDefault();const w=Number(I.dataTransfer.getData("dragIndex")),S=Number(I.dataTransfer.getData("parentKey"));if(t&&S!==p)return;const $=[...v];let A=-1,H=-1;if($.forEach((V,q)=>{if(k.isValidElement(V.node)){const z=V.node.props;z.uniqueKey===j&&(A=q),z.uniqueKey===w&&(H=q)}}),A===-1||H===-1)return;const P=$[H].node;$[H]={...$[H],node:$[A].node},$[A]={...$[A],node:P},L($),typeof m=="function"&&m(H,A)},_=c?[i?`grid-xs-${i}`:"",r?`grid-sm-${r}`:"",s?`grid-md-${s}`:"",d?`grid-lg-${d}`:"",l?`grid-xl-${l}`:""].join(" "):"";return!c&&f?y={...y,width:`${f}px`}:!c&&!f&&(y={...y,width:"100%"}),y={...y,height:"100%"},t?o.jsx("div",{className:`${u} grid-container ${_}`,style:{"--gap-grid":`${h}rem`,...y},children:v.map(I=>I.node.type?.displayName==="Grid"?x&&I.node?.props?.draggable!==!1?o.jsx("div",{draggable:!0,onDragStart:j=>b(j,I.node?.props?.uniqueKey),onDragOver:j=>C(j),onDrop:j=>N(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 ${_} ${M?"grid-display-none":""}`,style:{gap:`${h}rem`,...y},children:e}):o.jsx(o.Fragment,{children:e})};a$.displayName="Grid";const wL=({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"})},Xb=({id:e,label:t,isActive:n=!1,onClick:c,href:i,highlightColor:r="#008CBA",moduleKey:s="",a11yConfig:d,...l})=>{const{setActiveNav:h}=ft(),u=()=>{h(e),c?.(e)};return i?o.jsx("a",{href:i,className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:J(d,e),...l,children:t}):o.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:J(d,e),role:c?"button":"presentation",tabIndex:c?0:-1,...l,children:t})},n$=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:c={},dropdownPosition:i="auto"})=>{const{activeNav:r}=ft(),[s,d]=k.useState(!0),[l,h]=k.useState(!1),[u,p]=k.useState("left"),y=k.useRef(null),f=k.useRef(null),g=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(l&&i==="auto"&&f.current){const v=f.current.getBoundingClientRect(),L=window.innerWidth/2;p(v.left<L?"left":"right")}},[l,i]),k.useEffect(()=>{if(!l)return;const v=L=>{g.current&&!g.current.contains(L.target)&&f.current&&!f.current.contains(L.target)&&h(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[l]);const m=v=>{t?.(v),h(!1)},x=e.find(v=>v.id===r)||e[0],M=i==="auto"?u:i;return o.jsx("div",{ref:y,children:s?o.jsxs("div",{className:"navbar-mobile",children:[o.jsxs("button",{ref:f,className:"navbar-dropdown-toggle",onClick:()=>h(!l),style:{backgroundColor:n,color:"#fff"},"aria-expanded":l,"aria-haspopup":"true",children:[x.label,o.jsx("span",{className:`dropdown-arrow ${l?"open":""}`})]}),l&&o.jsx("div",{ref:g,className:`navbar-dropdown ${M}`,children:e.map(v=>o.jsx(Xb,{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:m,highlightColor:n},v.id))})]}):o.jsx("nav",{className:"navbar",children:e.map(v=>o.jsx(Xb,{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:m,highlightColor:n},v.id))})})},o$=k.createContext(void 0),yde=({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(o$.Provider,{value:{themeName:n,setTheme:i},children:e})},c$=()=>{const e=k.useContext(o$);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},CL=()=>{const{themeName:e,setTheme:t}=c$(),n=k.useCallback(c=>{t(c)},[t]);return{currentTheme:e,switchTheme:n}},Z1=({colors:e={},leftIcon:t,rightIcon:n,checked:c=!1,onToggle:i,size:r=24,className:s="",style:d,a11yConfig:l})=>{const h=()=>i?.(!c),u=p=>{(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),h())};return o.jsxs("div",{role:"switch","aria-checked":c,tabIndex:0,title:J(l),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:h,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})]})]})},Yb=({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:l}=CL(),[h,u]=k.useState(!1);if(k.useEffect(()=>{u(!0)},[]),!h)return null;const p=d===t,y=f=>{l(f?t:e)};return o.jsx(Z1,{leftIcon:n,rightIcon:c,checked:p,onToggle:y,colors:i,size:r,a11yConfig:s})},kde=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.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"})),bC=k.memo(kde),i$=k.createContext(void 0),mde=({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(i$.Provider,{value:{isDraggable:t,switchDraggable:c},children:e})},r$=()=>{const e=k.useContext(i$);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},kL=({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}=r$(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return o.jsx(Z1,{leftIcon:e||o.jsx(bC,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(bC,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:c,a11yConfig:i})},fde=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.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"})),wC=k.memo(fde),s$=k.createContext(void 0),gde=({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(s$.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:c},children:e})},d$=()=>{const e=k.useContext(s$);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},mL=({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}=d$(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return o.jsx(Z1,{leftIcon:e||o.jsx(wC,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(wC,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:c,a11yConfig:i})},l$=k.createContext(void 0),vde=({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(l$.Provider,{value:{showData:t,switchShowData:c},children:e})},h$=()=>{const e=k.useContext(l$);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},xde=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.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"})),CC=k.memo(xde),fL=({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}=h$(),[r,s]=k.useState(!1);return k.useEffect(()=>{s(!0)},[]),r?o.jsx(Z1,{checked:c,onToggle:d=>i(d),size:e,leftIcon:o.jsx(CC,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:o.jsx(CC,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t,a11yConfig:n}):null},Mde=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.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"})),u$=k.memo(Mde);function Jb({items:e,onSave:t,loading:n,disabled:c,saveLabel:i,savingLabel:r,buttonTitle:s}){const[d,l]=k.useState(!1),[h,u]=k.useState(e);k.useEffect(()=>{u(e)},[e]);const p=(f,g)=>{u(m=>m.map(x=>x.component_key===f&&g>3?{...x,visible:!x.visible}:x))},y=()=>{t(h),l(!1)};return o.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[o.jsx("div",{onClick:()=>c||l(f=>!f),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--color-primary)"},title:s,children:o.jsx(u$,{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:h.map((f,g)=>o.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[o.jsx("input",{type:"checkbox",checked:f.visible,disabled:g<4,onChange:()=>p(f.component_key,g),style:{marginRight:8}}),o.jsx("span",{style:{color:g<4?"#6b7280":"#111827"},children:f.label}),g<4&&o.jsx("span",{style:{fontSize:"var(--text-paragraph)",color:"#9ca3af",marginLeft:6}})]},f.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 _de=({logoPath:e,navItems:t,onNavClick:n,dropdownItems:c,headerBg:i,highlightColor:r="#1387C8",moduleConfig:s={},componentVisibilityItems:d=[],onComponentVisibilitySave:l,componentVisibilityLoading:h=!1,componentVisibilitySaveLabel:u,componentVisibilitySavingLabel:p,componentVisibilityButtonTitle:y})=>{const{activeSwitchers:f}=ft(),g=f?.draggable===!0,m=f?.showData===!0,x=f?.legendFilter===!0,M=f?.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(wL,{imagePath:e})}),o.jsx(n$,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),o.jsxs("div",{className:"header-right",children:[o.jsxs("div",{className:"switcher-container",children:[g&&o.jsx(kL,{}),m&&o.jsx(fL,{}),x&&o.jsx(mL,{}),o.jsx(Yb,{}),M&&o.jsx(Jb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]}),o.jsx(t$,{categories:c?.categories,buttonContent:c?.buttonContent,topContent:o.jsxs("div",{className:"dropdown-switchers",children:[g&&o.jsx(kL,{}),m&&o.jsx(fL,{}),x&&o.jsx(mL,{}),o.jsx(Yb,{}),M&&o.jsx(Jb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},p$=({icon:e,text:t,size:n=16,color:c="currentColor",className:i="",active:r=!1,href:s,a11yConfig:d})=>{const l=e?_t[e]:null,h=s?"a":"div";return o.jsxs(h,{className:`icon-text ${r?"icon-text-active":""} ${i}`,style:{color:c},title:J(d,t),role:"text","aria-label":t,...s?{href:s}:{},children:[l&&o.jsx(l,{size:n,"aria-hidden":"true"}),o.jsx("span",{children:t})]})},Vc=e=>typeof e=="number"?`${e}px`:e,Lde=({title:e,titleColor:t="#1c1b1f",headerColor:n="#ECEEF0",entryLabel:c="Entrée",entryValue:i,exitLabel:r="Sortie",exitValue:s,timeLabelColor:d="#6b7280",timeLabelFontSize:l="0.85rem",timeLabelFontWeight:h=400,timeLabelLineHeight:u=1,timeValueColor:p="#1c1b1f",rows:y=[],textFontSize:f="1.1rem",textFontWeight:g=700,textLineHeight:m=1,titleMinHeight:x,backgroundColor:M="#ffffff",borderColor:v="#D2D6D8",width:L,className:b,onClick:C,ariaLabel:N,a11yConfig:_,titleA11yConfig:I,entryLabelA11yConfig:j,exitLabelA11yConfig:w})=>{const S=J(_),$=J(I,I?.titleKey?void 0:e),A=J(j,j?.titleKey?void 0:c),H=J(w,w?.titleKey?void 0:r);return o.jsxs(Ide,{$width:L,$borderColor:v,className:b,onClick:C,role:C?"button":"group","aria-label":N||e,title:S,tabIndex:C?0:void 0,onKeyDown:P=>C&&P.key==="Enter"&&C(),children:[o.jsxs(bde,{$bgColor:n,$borderColor:v,children:[e&&o.jsx(Cde,{$color:t,$fontSize:f,$fontWeight:g,$lineHeight:m,$minHeight:x,title:$,children:e}),(i||s)&&o.jsxs(Nde,{children:[i&&o.jsxs(NC,{children:[o.jsx(SC,{$color:d,$fontSize:l,$fontWeight:h,$lineHeight:u,title:A,children:c}),o.jsx(jC,{$color:p,children:i})]}),s&&o.jsxs(NC,{children:[o.jsx(SC,{$color:d,$fontSize:l,$fontWeight:h,$lineHeight:u,title:H,children:r}),o.jsx(jC,{$color:p,children:s})]})]}),o.jsx(wde,{$bgColor:n})]}),y.length>0&&o.jsx(Sde,{$bgColor:M,children:y.map((P,V)=>o.jsxs(jde,{title:J(P.a11yConfig),children:[P.icon&&o.jsx($de,{"aria-hidden":"true",children:P.icon}),o.jsx(qde,{$fontSize:f,$fontWeight:g,$lineHeight:m,children:P.text})]},V))})]})},Ide=F.div`
8162
8162
  display: flex;
8163
8163
  flex-direction: column;
8164
8164
  width: ${e=>e.$width===void 0?"300px":typeof e.$width=="number"?`${e.$width}px`:e.$width};
@@ -8232,7 +8232,7 @@
8232
8232
  font-weight: ${e=>e.$fontWeight};
8233
8233
  color: #1c1b1f;
8234
8234
  line-height: ${e=>Vc(e.$lineHeight)};
8235
- `,y$=({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(t$,{logo:"BarChart",position:"right",categories:c})})]}),Ade=({icon:e,text:t,textColor:n="#12351F",titleFontSize:c="1.75rem",titleFontWeight:i=800,bottomText:r,bottomTextColor:s="#12351F",bottomTextFontSize:d="1.6rem",bottomTextFontWeight:l=400,backgroundColor:h="#8FDBA6",width:u,height:p,className:y,onClick:f,ariaLabel:g,a11yConfig:m})=>{const x=Y(m,m?.titleKey?void 0:t);return o.jsxs(zde,{$bgColor:h,$width:u,$height:p,$isClickable:!!f,className:y,onClick:f,role:f?"button":"group","aria-label":g||t,title:x,tabIndex:f?0:void 0,onKeyDown:M=>f&&M.key==="Enter"&&f(),children:[o.jsxs(Vde,{children:[e&&o.jsx(Pde,{"aria-hidden":"true",children:e}),o.jsx(Tde,{$color:n,$fontSize:c,$fontWeight:i,children:t})]}),r&&o.jsx(Hde,{$color:s,$fontSize:d,$fontWeight:l,children:r})]})},gL=e=>typeof e=="number"?`${e}px`:e,zde=F.div`
8235
+ `,y$=({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(t$,{logo:"BarChart",position:"right",categories:c})})]}),Ade=({icon:e,text:t,textColor:n="#12351F",titleFontSize:c="1.75rem",titleFontWeight:i=800,bottomText:r,bottomTextColor:s="#12351F",bottomTextFontSize:d="1.6rem",bottomTextFontWeight:l=400,backgroundColor:h="#8FDBA6",width:u,height:p,className:y,onClick:f,ariaLabel:g,a11yConfig:m})=>{const x=J(m,m?.titleKey?void 0:t);return o.jsxs(zde,{$bgColor:h,$width:u,$height:p,$isClickable:!!f,className:y,onClick:f,role:f?"button":"group","aria-label":g||t,title:x,tabIndex:f?0:void 0,onKeyDown:M=>f&&M.key==="Enter"&&f(),children:[o.jsxs(Vde,{children:[e&&o.jsx(Pde,{"aria-hidden":"true",children:e}),o.jsx(Tde,{$color:n,$fontSize:c,$fontWeight:i,children:t})]}),r&&o.jsx(Hde,{$color:s,$fontSize:d,$fontWeight:l,children:r})]})},gL=e=>typeof e=="number"?`${e}px`:e,zde=F.div`
8236
8236
  position: relative;
8237
8237
  display: flex;
8238
8238
  flex-direction: column;
@@ -8261,7 +8261,7 @@
8261
8261
  font-size: ${e=>gL(e.$fontSize)};
8262
8262
  font-weight: ${e=>e.$fontWeight};
8263
8263
  color: ${e=>e.$color};
8264
- `,Dde=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:c})=>{const{activeSubNav:i}=ft();return o.jsx(y$,{style:n,item:c,children:e?.map(r=>o.jsx(p$,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i,a11yConfig:r.a11yConfig},r.id))})},k$=({title:e,subtitle:t,text:n,background:c="#f9f9f9",titleStyle:i,subtitleStyle:r,textStyle:s,itemStyle:d,icon:l})=>{const[h,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:l}),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:h}),o.jsx("span",{className:"trend-right-separator",children:" / "}),o.jsx("span",{className:"trend-right-right",children:u})]})]})},bw=k.createContext({});function Bt(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const ww=typeof window<"u",Cw=ww?k.useLayoutEffect:k.useEffect,NL=k.createContext(null);function Nw(e,t){e.indexOf(t)===-1&&e.push(t)}function Sw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Bde([...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 Lt=(e,t,n)=>n>t?t:n<e?e:n;function Qb(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let r1=()=>{},st=()=>{};process.env.NODE_ENV!=="production"&&(r1=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(Qb(t,n))},st=(e,t,n)=>{if(!e)throw new Error(Qb(t,n))});const It={},m$=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function f$(e){return typeof e=="object"&&e!==null}const g$=e=>/^0[^.\s]+$/u.test(e);function jw(e){let t;return()=>(t===void 0&&(t=e()),t)}const nt=e=>e,Rde=(e,t)=>n=>t(e(n)),X1=(...e)=>e.reduce(Rde),E1=(e,t,n)=>{const c=t-e;return c===0?1:(n-e)/c};class $w{constructor(){this.subscriptions=[]}add(t){return Nw(this.subscriptions,t),()=>Sw(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 rt=e=>e*1e3,tt=e=>e/1e3;function v$(e,t){return t?e*(1e3/t):0}const $C=new Set;function qw(e,t,n){e||$C.has(t)||(console.warn(Qb(t,n)),$C.add(t))}const x$=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Fde=1e-7,Ede=12;function Ode(e,t,n,c,i){let r,s,d=0;do s=t+(n-t)/2,r=x$(s,c,i)-e,r>0?n=s:t=s;while(Math.abs(r)>Fde&&++d<Ede);return s}function Y1(e,t,n,c){if(e===t&&n===c)return nt;const i=r=>Ode(r,0,1,e,n);return r=>r===0||r===1?r:x$(i(r),t,c)}const M$=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,_$=e=>t=>1-e(1-t),L$=Y1(.33,1.53,.69,.99),Aw=_$(L$),I$=M$(Aw),b$=e=>(e*=2)<1?.5*Aw(e):.5*(2-Math.pow(2,-10*(e-1))),zw=e=>1-Math.sin(Math.acos(e)),w$=_$(zw),C$=M$(zw),Ude=Y1(.42,0,1,1),Wde=Y1(0,0,.58,1),N$=Y1(.42,0,.58,1),Gde=e=>Array.isArray(e)&&typeof e[0]!="number",S$=e=>Array.isArray(e)&&typeof e[0]=="number",qC={linear:nt,easeIn:Ude,easeInOut:N$,easeOut:Wde,circIn:zw,circInOut:C$,circOut:w$,backIn:Aw,backInOut:I$,backOut:L$,anticipate:b$},Kde=e=>typeof e=="string",AC=e=>{if(S$(e)){st(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,c,i]=e;return Y1(t,n,c,i)}else if(Kde(e))return st(qC[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),qC[e];return e},ii=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Zde(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 l(u){s.has(u)&&(h.schedule(u),e()),u(d)}const h={schedule:(u,p=!1,y=!1)=>{const g=y&&i?n:c;return p&&s.add(u),g.has(u)||g.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(l),n.clear(),i=!1,r&&(r=!1,h.process(u))}};return h}const Xde=40;function j$(e,t){let n=!1,c=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=ii.reduce((I,b)=>(I[b]=Zde(r),I),{}),{setup:d,read:l,resolveKeyframes:h,preUpdate:u,update:p,preRender:y,render:f,postRender:g}=s,m=()=>{const I=It.useManualTiming?i.timestamp:performance.now();n=!1,It.useManualTiming||(i.delta=c?1e3/60:Math.max(Math.min(I-i.timestamp,Xde),1)),i.timestamp=I,i.isProcessing=!0,d.process(i),l.process(i),h.process(i),u.process(i),p.process(i),y.process(i),f.process(i),g.process(i),i.isProcessing=!1,n&&t&&(c=!1,e(m))},x=()=>{n=!0,c=!0,i.isProcessing||e(m)};return{schedule:ii.reduce((I,b)=>{const w=s[b];return I[b]=(C,_=!1,L=!1)=>(n||x(),w.schedule(C,_,L)),I},{}),cancel:I=>{for(let b=0;b<ii.length;b++)s[ii[b]].cancel(I)},state:i,steps:s}}const{schedule:ge,cancel:bt,state:Ae,steps:YL}=j$(typeof requestAnimationFrame<"u"?requestAnimationFrame:nt,!0);let lL;function Yde(){lL=void 0}const We={now:()=>(lL===void 0&&We.set(Ae.isProcessing||It.useManualTiming?Ae.timestamp:performance.now()),lL),set:e=>{lL=e,queueMicrotask(Yde)}},$$=e=>t=>typeof t=="string"&&t.startsWith(e),Vw=$$("--"),Jde=$$("var(--"),Pw=e=>Jde(e)?Qde.test(e.split("/*")[0].trim()):!1,Qde=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,s1={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},O1={...s1,transform:e=>Lt(0,1,e)},ri={...s1,default:1},T1=e=>Math.round(e*1e5)/1e5,Tw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function e0e(e){return e==null}const t0e=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Hw=(e,t)=>n=>!!(typeof n=="string"&&t0e.test(n)&&n.startsWith(e)||t&&!e0e(n)&&Object.prototype.hasOwnProperty.call(n,t)),q$=(e,t,n)=>c=>{if(typeof c!="string")return c;const[i,r,s,d]=c.match(Tw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},a0e=e=>Lt(0,255,e),JL={...s1,transform:e=>Math.round(a0e(e))},Sc={test:Hw("rgb","red"),parse:q$("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:c=1})=>"rgba("+JL.transform(e)+", "+JL.transform(t)+", "+JL.transform(n)+", "+T1(O1.transform(c))+")"};function n0e(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 ew={test:Hw("#"),parse:n0e,transform:Sc.transform},J1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),$t=J1("deg"),mt=J1("%"),Q=J1("px"),o0e=J1("vh"),c0e=J1("vw"),zC={...mt,parse:e=>mt.parse(e)/100,transform:e=>mt.transform(e*100)},Kc={test:Hw("hsl","hue"),parse:q$("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:c=1})=>"hsla("+Math.round(e)+", "+mt.transform(T1(t))+", "+mt.transform(T1(n))+", "+T1(O1.transform(c))+")"},Ce={test:e=>Sc.test(e)||ew.test(e)||Kc.test(e),parse:e=>Sc.test(e)?Sc.parse(e):Kc.test(e)?Kc.parse(e):ew.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Sc.transform(e):Kc.transform(e),getAnimatableNone:e=>{const t=Ce.parse(e);return t.alpha=0,Ce.transform(t)}},i0e=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function r0e(e){return isNaN(e)&&typeof e=="string"&&(e.match(Tw)?.length||0)+(e.match(i0e)?.length||0)>0}const A$="number",z$="color",s0e="var",d0e="var(",VC="${}",l0e=/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 U1(e){const t=e.toString(),n=[],c={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(l0e,l=>(Ce.test(l)?(c.color.push(r),i.push(z$),n.push(Ce.parse(l))):l.startsWith(d0e)?(c.var.push(r),i.push(s0e),n.push(l)):(c.number.push(r),i.push(A$),n.push(parseFloat(l))),++r,VC)).split(VC);return{values:n,split:d,indexes:c,types:i}}function V$(e){return U1(e).values}function P$(e){const{split:t,types:n}=U1(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===A$?r+=T1(i[s]):d===z$?r+=Ce.transform(i[s]):r+=i[s]}return r}}const h0e=e=>typeof e=="number"?0:Ce.test(e)?Ce.getAnimatableNone(e):e;function u0e(e){const t=V$(e);return P$(e)(t.map(h0e))}const Dt={test:r0e,parse:V$,createTransformer:P$,getAnimatableNone:u0e};function QL(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 p0e({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,l=2*n-d;i=QL(l,d,e+1/3),r=QL(l,d,e),s=QL(l,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:c}}function vL(e,t){return n=>n>0?t:e}const xe=(e,t,n)=>e+(t-e)*n,eI=(e,t,n)=>{const c=e*e,i=n*(t*t-c)+c;return i<0?0:Math.sqrt(i)},y0e=[ew,Sc,Kc],k0e=e=>y0e.find(t=>t.test(e));function PC(e){const t=k0e(e);if(r1(!!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===Kc&&(n=p0e(n)),n}const TC=(e,t)=>{const n=PC(e),c=PC(t);if(!n||!c)return vL(e,t);const i={...n};return r=>(i.red=eI(n.red,c.red,r),i.green=eI(n.green,c.green,r),i.blue=eI(n.blue,c.blue,r),i.alpha=xe(n.alpha,c.alpha,r),Sc.transform(i))},tw=new Set(["none","hidden"]);function m0e(e,t){return tw.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function f0e(e,t){return n=>xe(e,t,n)}function Dw(e){return typeof e=="number"?f0e:typeof e=="string"?Pw(e)?vL:Ce.test(e)?TC:x0e:Array.isArray(e)?T$:typeof e=="object"?Ce.test(e)?TC:g0e:vL}function T$(e,t){const n=[...e],c=n.length,i=e.map((r,s)=>Dw(r)(r,t[s]));return r=>{for(let s=0;s<c;s++)n[s]=i[s](r);return n}}function g0e(e,t){const n={...e,...t},c={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(c[i]=Dw(e[i])(e[i],t[i]));return i=>{for(const r in c)n[r]=c[r](i);return n}}function v0e(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 x0e=(e,t)=>{const n=Dt.createTransformer(t),c=U1(e),i=U1(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?tw.has(e)&&!i.values.length||tw.has(t)&&!c.values.length?m0e(e,t):X1(T$(v0e(c,i),i.values),n):(r1(!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"),vL(e,t))};function H$(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?xe(e,t,n):Dw(e)(e,t)}const M0e=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ge.update(t,n),stop:()=>bt(t),now:()=>Ae.isProcessing?Ae.timestamp:We.now()}},D$=(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)})`},xL=2e4;function Bw(e){let t=0;const n=50;let c=e.next(t);for(;!c.done&&t<xL;)t+=n,c=e.next(t);return t>=xL?1/0:t}function _0e(e,t=100,n){const c=n({...e,keyframes:[0,t]}),i=Math.min(Bw(c),xL);return{type:"keyframes",ease:r=>c.next(i*r).value/t,duration:tt(i)}}const L0e=5;function B$(e,t,n){const c=Math.max(t-L0e,0);return v$(n-e(c),t-c)}const Le={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},tI=.001;function I0e({duration:e=Le.duration,bounce:t=Le.bounce,velocity:n=Le.velocity,mass:c=Le.mass}){let i,r;r1(e<=rt(Le.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=Lt(Le.minDamping,Le.maxDamping,s),e=Lt(Le.minDuration,Le.maxDuration,tt(e)),s<1?(i=h=>{const u=h*s,p=u*e,y=u-n,f=aw(h,s),g=Math.exp(-p);return tI-y/f*g},r=h=>{const p=h*s*e,y=p*n+n,f=Math.pow(s,2)*Math.pow(h,2)*e,g=Math.exp(-p),m=aw(Math.pow(h,2),s);return(-i(h)+tI>0?-1:1)*((y-f)*g)/m}):(i=h=>{const u=Math.exp(-h*e),p=(h-n)*e+1;return-tI+u*p},r=h=>{const u=Math.exp(-h*e),p=(n-h)*(e*e);return u*p});const d=5/e,l=w0e(i,r,d);if(e=rt(e),isNaN(l))return{stiffness:Le.stiffness,damping:Le.damping,duration:e};{const h=Math.pow(l,2)*c;return{stiffness:h,damping:s*2*Math.sqrt(c*h),duration:e}}}const b0e=12;function w0e(e,t,n){let c=n;for(let i=1;i<b0e;i++)c=c-e(c)/t(c);return c}function aw(e,t){return e*Math.sqrt(1-t*t)}const C0e=["duration","bounce"],N0e=["stiffness","damping","mass"];function HC(e,t){return t.some(n=>e[n]!==void 0)}function S0e(e){let t={velocity:Le.velocity,stiffness:Le.stiffness,damping:Le.damping,mass:Le.mass,isResolvedFromDuration:!1,...e};if(!HC(e,N0e)&&HC(e,C0e))if(e.visualDuration){const n=e.visualDuration,c=2*Math.PI/(n*1.2),i=c*c,r=2*Lt(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Le.mass,stiffness:i,damping:r}}else{const n=I0e(e);t={...t,...n,mass:Le.mass},t.isResolvedFromDuration=!0}return t}function ML(e=Le.visualDuration,t=Le.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:l,damping:h,mass:u,duration:p,velocity:y,isResolvedFromDuration:f}=S0e({...n,velocity:-tt(n.velocity||0)}),g=y||0,m=h/(2*Math.sqrt(l*u)),x=s-r,M=tt(Math.sqrt(l/u)),v=Math.abs(x)<5;c||(c=v?Le.restSpeed.granular:Le.restSpeed.default),i||(i=v?Le.restDelta.granular:Le.restDelta.default);let I;if(m<1){const w=aw(M,m);I=C=>{const _=Math.exp(-m*M*C);return s-_*((g+m*M*x)/w*Math.sin(w*C)+x*Math.cos(w*C))}}else if(m===1)I=w=>s-Math.exp(-M*w)*(x+(g+M*x)*w);else{const w=M*Math.sqrt(m*m-1);I=C=>{const _=Math.exp(-m*M*C),L=Math.min(w*C,300);return s-_*((g+m*M*x)*Math.sinh(L)+w*x*Math.cosh(L))/w}}const b={calculatedDuration:f&&p||null,next:w=>{const C=I(w);if(f)d.done=w>=p;else{let _=w===0?g:0;m<1&&(_=w===0?rt(g):B$(I,w,C));const L=Math.abs(_)<=c,j=Math.abs(s-C)<=i;d.done=L&&j}return d.value=d.done?s:C,d},toString:()=>{const w=Math.min(Bw(b),xL),C=D$(_=>b.next(w*_).value,w,30);return w+"ms "+C},toTransition:()=>{}};return b}ML.applyToOptions=e=>{const t=_0e(e,100,ML);return e.ease=t.ease,e.duration=rt(t.duration),e.type="keyframes",e};function nw({keyframes:e,velocity:t=0,power:n=.8,timeConstant:c=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:s,min:d,max:l,restDelta:h=.5,restSpeed:u}){const p=e[0],y={done:!1,value:p},f=L=>d!==void 0&&L<d||l!==void 0&&L>l,g=L=>d===void 0?l:l===void 0||Math.abs(d-L)<Math.abs(l-L)?d:l;let m=n*t;const x=p+m,M=s===void 0?x:s(x);M!==x&&(m=M-p);const v=L=>-m*Math.exp(-L/c),I=L=>M+v(L),b=L=>{const j=v(L),N=I(L);y.done=Math.abs(j)<=h,y.value=y.done?M:N};let w,C;const _=L=>{f(y.value)&&(w=L,C=ML({keyframes:[y.value,g(y.value)],velocity:B$(I,L,y.value),damping:i,stiffness:r,restDelta:h,restSpeed:u}))};return _(0),{calculatedDuration:null,next:L=>{let j=!1;return!C&&w===void 0&&(j=!0,b(L),_(L)),w!==void 0&&L>=w?C.next(L-w):(!j&&b(L),y)}}}function j0e(e,t,n){const c=[],i=n||It.mix||H$,r=e.length-1;for(let s=0;s<r;s++){let d=i(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||nt:t;d=X1(l,d)}c.push(d)}return c}function R$(e,t,{clamp:n=!0,ease:c,mixer:i}={}){const r=e.length;if(st(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=j0e(t,c,i),l=d.length,h=u=>{if(s&&u<e[0])return t[0];let p=0;if(l>1)for(;p<e.length-2&&!(u<e[p+1]);p++);const y=E1(e[p],e[p+1],u);return d[p](y)};return n?u=>h(Lt(e[0],e[r-1],u)):h}function $0e(e,t){const n=e[e.length-1];for(let c=1;c<=t;c++){const i=E1(0,t,c);e.push(xe(n,1,i))}}function q0e(e){const t=[0];return $0e(t,e.length-1),t}function A0e(e,t){return e.map(n=>n*t)}function z0e(e,t){return e.map(()=>t||N$).splice(0,e.length-1)}function Zc({duration:e=300,keyframes:t,times:n,ease:c="easeInOut"}){const i=Gde(c)?c.map(AC):AC(c),r={done:!1,value:t[0]},s=A0e(n&&n.length===t.length?n:q0e(t),e),d=R$(s,t,{ease:Array.isArray(i)?i:z0e(t,i)});return{calculatedDuration:e,next:l=>(r.value=d(l),r.done=l>=e,r)}}const V0e=e=>e!==null;function Rw(e,{repeat:t,repeatType:n="loop"},c,i=1){const r=e.filter(V0e),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||c===void 0?r[d]:c}const P0e={decay:nw,inertia:nw,tween:Zc,keyframes:Zc,spring:ML};function F$(e){typeof e.type=="string"&&(e.type=P0e[e.type])}class Fw{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 T0e=e=>e/100;class Ew extends Fw{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!==We.now()&&this.tick(We.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;F$(t);const{type:n=Zc,repeat:c=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const l=n||Zc;process.env.NODE_ENV!=="production"&&l!==Zc&&st(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),l!==Zc&&typeof d[0]!="number"&&(this.mixKeyframes=X1(T0e,H$(d[0],d[1])),d=[0,100]);const h=l({...t,keyframes:d});r==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...d].reverse(),velocity:-s})),h.calculatedDuration===null&&(h.calculatedDuration=Bw(h));const{calculatedDuration:u}=h;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(c+1)-i,this.generator=h}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:l}=this;if(this.startTime===null)return c.next(0);const{delay:h=0,keyframes:u,repeat:p,repeatType:y,repeatDelay:f,type:g,onUpdate:m,finalKeyframe:x}=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 M=this.currentTime-h*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?M<0:M>i;this.currentTime=Math.max(M,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let I=this.currentTime,b=c;if(p){const L=Math.min(this.currentTime,i)/d;let j=Math.floor(L),N=L%1;!N&&L>=1&&(N=1),N===1&&j--,j=Math.min(j,p+1),!!(j%2)&&(y==="reverse"?(N=1-N,f&&(N-=f/d)):y==="mirror"&&(b=s)),I=Lt(0,1,N)*d}const w=v?{done:!1,value:u[0]}:b.next(I);r&&(w.value=r(w.value));let{done:C}=w;!v&&l!==null&&(C=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const _=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return _&&g!==nw&&(w.value=Rw(u,this.options,x,this.speed)),m&&m(w.value),_&&this.finish(),w}then(t,n){return this.finished.then(t,n)}get duration(){return tt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+tt(t)}get time(){return tt(this.currentTime)}set time(t){t=rt(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(We.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=tt(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=M0e,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(We.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 H0e(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const jc=e=>e*180/Math.PI,ow=e=>{const t=jc(Math.atan2(e[1],e[0]));return cw(t)},D0e={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ow,rotateZ:ow,skewX:e=>jc(Math.atan(e[1])),skewY:e=>jc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},cw=e=>(e=e%360,e<0&&(e+=360),e),DC=ow,BC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),RC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),B0e={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:BC,scaleY:RC,scale:e=>(BC(e)+RC(e))/2,rotateX:e=>cw(jc(Math.atan2(e[6],e[5]))),rotateY:e=>cw(jc(Math.atan2(-e[2],e[0]))),rotateZ:DC,rotate:DC,skewX:e=>jc(Math.atan(e[4])),skewY:e=>jc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function iw(e){return e.includes("scale")?1:0}function rw(e,t){if(!e||e==="none")return iw(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let c,i;if(n)c=B0e,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);c=D0e,i=d}if(!i)return iw(t);const r=c[t],s=i[1].split(",").map(F0e);return typeof r=="function"?r(s):s[r]}const R0e=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return rw(n,t)};function F0e(e){return parseFloat(e.trim())}const d1=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],l1=new Set(d1),FC=e=>e===s1||e===Q,E0e=new Set(["x","y","z"]),O0e=d1.filter(e=>!E0e.has(e));function U0e(e){const t=[];return O0e.forEach(n=>{const c=e.getValue(n);c!==void 0&&(t.push([n,c.get()]),c.set(n.startsWith("scale")?1:0))}),t}const Pc={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})=>rw(t,"x"),y:(e,{transform:t})=>rw(t,"y")};Pc.translateX=Pc.x;Pc.translateY=Pc.y;const Tc=new Set;let sw=!1,dw=!1,lw=!1;function E$(){if(dw){const e=Array.from(Tc).filter(c=>c.needsMeasurement),t=new Set(e.map(c=>c.element)),n=new Map;t.forEach(c=>{const i=U0e(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)})}dw=!1,sw=!1,Tc.forEach(e=>e.complete(lw)),Tc.clear()}function O$(){Tc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(dw=!0)})}function W0e(){lw=!0,O$(),E$(),lw=!1}class Ow{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?(Tc.add(this),sw||(sw=!0,ge.read(O$),ge.resolveKeyframes(E$))):(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])}H0e(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Tc.delete(this)}cancel(){this.state==="scheduled"&&(Tc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const G0e=e=>e.startsWith("--");function K0e(e,t,n){G0e(t)?e.style.setProperty(t,n):e.style[t]=n}const Z0e=jw(()=>window.ScrollTimeline!==void 0),X0e={};function Y0e(e,t){const n=jw(e);return()=>X0e[t]??n()}const U$=Y0e(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),M1=([e,t,n,c])=>`cubic-bezier(${e}, ${t}, ${n}, ${c})`,EC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:M1([0,.65,.55,1]),circOut:M1([.55,0,1,.45]),backIn:M1([.31,.01,.66,-.59]),backOut:M1([.33,1.53,.69,.99])};function W$(e,t){if(e)return typeof e=="function"?U$()?D$(e,t):"ease-out":S$(e)?M1(e):Array.isArray(e)?e.map(n=>W$(n,t)||EC.easeOut):EC[e]}function J0e(e,t,n,{delay:c=0,duration:i=300,repeat:r=0,repeatType:s="loop",ease:d="easeOut",times:l}={},h=void 0){const u={[t]:n};l&&(u.offset=l);const p=W$(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 h&&(y.pseudoElement=h),e.animate(u,y)}function G$(e){return typeof e=="function"&&"applyToOptions"in e}function Q0e({type:e,...t}){return G$(e)&&U$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class ele extends Fw{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:l}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,st(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const h=Q0e(t);this.animation=J0e(n,c,i,h,r),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=Rw(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):K0e(n,c,u),this.animation.cancel()}l?.(),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 tt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+tt(t)}get time(){return tt(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=rt(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&&Z0e()?(this.animation.timeline=t,nt):n(this)}}const K$={anticipate:b$,backInOut:I$,circInOut:C$};function tle(e){return e in K$}function ale(e){typeof e.ease=="string"&&tle(e.ease)&&(e.ease=K$[e.ease])}const OC=10;class nle extends ele{constructor(t){ale(t),F$(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 Ew({...s,autoplay:!1}),l=rt(this.finishedTime??this.time);n.setWithVelocity(d.sample(l-OC).value,d.sample(l).value,OC),d.stop()}}const UC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Dt.test(e)||e==="0")&&!e.startsWith("url("));function ole(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 cle(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=UC(i,t),d=UC(r,t);return r1(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:ole(e)||(n==="spring"||G$(n))&&c}function hw(e){e.duration=0,e.type="keyframes"}const ile=new Set(["opacity","clipPath","filter","transform"]),rle=jw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function sle(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:l,transformTemplate:h}=t.owner.getProps();return rle()&&n&&ile.has(n)&&(n!=="transform"||!h)&&!l&&!c&&i!=="mirror"&&r!==0&&s!=="inertia"}const dle=40;class lle extends Fw{constructor({autoplay:t=!0,delay:n=0,type:c="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",keyframes:d,name:l,motionValue:h,element:u,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=We.now();const y={autoplay:t,delay:n,type:c,repeat:i,repeatDelay:r,repeatType:s,name:l,motionValue:h,element:u,...p},f=u?.KeyframeResolver||Ow;this.keyframeResolver=new f(d,(g,m,x)=>this.onKeyframesResolved(g,m,y,!x),l,h,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,c,i){this.keyframeResolver=void 0;const{name:r,type:s,velocity:d,delay:l,isHandoff:h,onUpdate:u}=c;this.resolvedAt=We.now(),cle(t,r,s,d)||((It.instantAnimations||!l)&&u?.(Rw(t,c,n)),t[0]=t[t.length-1],hw(c),c.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>dle?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...c,keyframes:t},f=!h&&sle(y)?new nle({...y,element:y.motionValue.owner.current}):new Ew(y);f.finished.then(()=>this.notifyFinished()).catch(nt),this.pendingTimeline&&(this.stopTimeline=f.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=f}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(),W0e()),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 hle=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ule(e){const t=hle.exec(e);if(!t)return[,];const[,n,c,i]=t;return[`--${n??c}`,i]}const ple=4;function Z$(e,t,n=1){st(n<=ple,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[c,i]=ule(e);if(!c)return;const r=window.getComputedStyle(t).getPropertyValue(c);if(r){const s=r.trim();return m$(s)?parseFloat(s):s}return Pw(i)?Z$(i,t,n+1):i}function Uw(e,t){return e?.[t]??e?.default??e}const X$=new Set(["width","height","top","left","right","bottom",...d1]),yle={test:e=>e==="auto",parse:e=>e},Y$=e=>t=>t.test(e),J$=[s1,Q,mt,$t,c0e,o0e,yle],WC=e=>J$.find(Y$(e));function kle(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||g$(e):!0}const mle=new Set(["brightness","contrast","saturate","opacity"]);function fle(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[c]=n.match(Tw)||[];if(!c)return e;const i=n.replace(c,"");let r=mle.has(t)?1:0;return c!==n&&(r*=100),t+"("+r+i+")"}const gle=/\b([a-z-]*)\(.*?\)/gu,uw={...Dt,getAnimatableNone:e=>{const t=e.match(gle);return t?t.map(fle).join(" "):e}},GC={...s1,transform:Math.round},vle={rotate:$t,rotateX:$t,rotateY:$t,rotateZ:$t,scale:ri,scaleX:ri,scaleY:ri,scaleZ:ri,skew:$t,skewX:$t,skewY:$t,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:O1,originX:zC,originY:zC,originZ:Q},Ww={borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,radius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,top:Q,right:Q,bottom:Q,left:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,backgroundPositionX:Q,backgroundPositionY:Q,...vle,zIndex:GC,fillOpacity:O1,strokeOpacity:O1,numOctaves:GC},xle={...Ww,color:Ce,backgroundColor:Ce,outlineColor:Ce,fill:Ce,stroke:Ce,borderColor:Ce,borderTopColor:Ce,borderRightColor:Ce,borderBottomColor:Ce,borderLeftColor:Ce,filter:uw,WebkitFilter:uw},Q$=e=>xle[e];function eq(e,t){let n=Q$(e);return n!==uw&&(n=Dt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Mle=new Set(["auto","none","0"]);function _le(e,t,n){let c=0,i;for(;c<e.length&&!i;){const r=e[c];typeof r=="string"&&!Mle.has(r)&&U1(r).values.length&&(i=e[c]),c++}if(i&&n)for(const r of t)e[r]=eq(n,i)}class Lle extends Ow{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 l=0;l<t.length;l++){let h=t[l];if(typeof h=="string"&&(h=h.trim(),Pw(h))){const u=Z$(h,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!X$.has(c)||t.length!==2)return;const[i,r]=t,s=WC(i),d=WC(r);if(s!==d)if(FC(s)&&FC(d))for(let l=0;l<t.length;l++){const h=t[l];typeof h=="string"&&(t[l]=parseFloat(h))}else Pc[c]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,c=[];for(let i=0;i<t.length;i++)(t[i]===null||kle(t[i]))&&c.push(i);c.length&&_le(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=Pc[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]=Pc[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([d,l])=>{t.getValue(d).set(l)}),this.resolveNoneKeyframes()}}function Ile(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 tq=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function aq(e){return f$(e)&&"offsetHeight"in e}const KC=30,ble=e=>!isNaN(parseFloat(e)),H1={current:void 0};class wle{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=c=>{const i=We.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=We.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=ble(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&qw(!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 $w);const c=this.events[t].add(n);return t==="change"?()=>{c(),ge.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 H1.current&&H1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=We.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>KC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,KC);return v$(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 Hc(e,t){return new wle(e,t)}const{schedule:Gw}=j$(queueMicrotask,!1),it={x:!1,y:!1};function nq(){return it.x||it.y}function Cle(e){return e==="x"||e==="y"?it[e]?null:(it[e]=!0,()=>{it[e]=!1}):it.x||it.y?null:(it.x=it.y=!0,()=>{it.x=it.y=!1})}function oq(e,t){const n=Ile(e),c=new AbortController,i={passive:!0,...t,signal:c.signal};return[n,i,()=>c.abort()]}function ZC(e){return!(e.pointerType==="touch"||nq())}function Nle(e,t,n={}){const[c,i,r]=oq(e,n),s=d=>{if(!ZC(d))return;const{target:l}=d,h=t(l,d);if(typeof h!="function"||!l)return;const u=p=>{ZC(p)&&(h(p),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return c.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const cq=(e,t)=>t?e===t?!0:cq(e,t.parentElement):!1,Kw=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Sle=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function jle(e){return Sle.has(e.tagName)||e.tabIndex!==-1}const hL=new WeakSet;function XC(e){return t=>{t.key==="Enter"&&e(t)}}function aI(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const $le=(e,t)=>{const n=e.currentTarget;if(!n)return;const c=XC(()=>{if(hL.has(n))return;aI(n,"down");const i=XC(()=>{aI(n,"up")}),r=()=>aI(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 YC(e){return Kw(e)&&!nq()}function qle(e,t,n={}){const[c,i,r]=oq(e,n),s=d=>{const l=d.currentTarget;if(!YC(d))return;hL.add(l);const h=t(l,d),u=(f,g)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),hL.has(l)&&hL.delete(l),YC(f)&&typeof h=="function"&&h(f,{success:g})},p=f=>{u(f,l===window||l===document||n.useGlobalTarget||cq(l,f.target))},y=f=>{u(f,!1)};window.addEventListener("pointerup",p,i),window.addEventListener("pointercancel",y,i)};return c.forEach(d=>{(n.useGlobalTarget?window:d).addEventListener("pointerdown",s,i),aq(d)&&(d.addEventListener("focus",h=>$le(h,i)),!jle(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function iq(e){return f$(e)&&"ownerSVGElement"in e}function Ale(e){return iq(e)&&e.tagName==="svg"}function zle(...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=R$(i,r,s);return t?d(c):d}const ze=e=>!!(e&&e.getVelocity),Vle=[...J$,Ce,Dt],Ple=e=>Vle.find(Y$(e)),SL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function JC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Tle(...e){return t=>{let n=!1;const c=e.map(i=>{const r=JC(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():JC(e[i],null)}}}}function Hle(...e){return te.useCallback(Tle(...e),e)}class Dle extends te.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const c=n.offsetParent,i=aq(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 Ble({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(SL),l=Hle(r,e?.ref);return k.useInsertionEffect(()=>{const{width:h,height:u,top:p,left:y,right:f}=s.current;if(t||!r.current||!h||!u)return;const g=n==="left"?`left: ${y}`:`right: ${f}`;r.current.dataset.motionPopId=i;const m=document.createElement("style");d&&(m.nonce=d);const x=c??document.head;return x.appendChild(m),m.sheet&&m.sheet.insertRule(`
8264
+ `,Dde=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:c})=>{const{activeSubNav:i}=ft();return o.jsx(y$,{style:n,item:c,children:e?.map(r=>o.jsx(p$,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i,a11yConfig:r.a11yConfig},r.id))})},k$=({title:e,subtitle:t,text:n,background:c="#f9f9f9",titleStyle:i,subtitleStyle:r,textStyle:s,itemStyle:d,icon:l})=>{const[h,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:l}),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:h}),o.jsx("span",{className:"trend-right-separator",children:" / "}),o.jsx("span",{className:"trend-right-right",children:u})]})]})},bw=k.createContext({});function Bt(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const ww=typeof window<"u",Cw=ww?k.useLayoutEffect:k.useEffect,NL=k.createContext(null);function Nw(e,t){e.indexOf(t)===-1&&e.push(t)}function Sw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Bde([...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 Lt=(e,t,n)=>n>t?t:n<e?e:n;function Qb(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let r1=()=>{},st=()=>{};process.env.NODE_ENV!=="production"&&(r1=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(Qb(t,n))},st=(e,t,n)=>{if(!e)throw new Error(Qb(t,n))});const It={},m$=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function f$(e){return typeof e=="object"&&e!==null}const g$=e=>/^0[^.\s]+$/u.test(e);function jw(e){let t;return()=>(t===void 0&&(t=e()),t)}const nt=e=>e,Rde=(e,t)=>n=>t(e(n)),X1=(...e)=>e.reduce(Rde),E1=(e,t,n)=>{const c=t-e;return c===0?1:(n-e)/c};class $w{constructor(){this.subscriptions=[]}add(t){return Nw(this.subscriptions,t),()=>Sw(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 rt=e=>e*1e3,tt=e=>e/1e3;function v$(e,t){return t?e*(1e3/t):0}const $C=new Set;function qw(e,t,n){e||$C.has(t)||(console.warn(Qb(t,n)),$C.add(t))}const x$=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Fde=1e-7,Ede=12;function Ode(e,t,n,c,i){let r,s,d=0;do s=t+(n-t)/2,r=x$(s,c,i)-e,r>0?n=s:t=s;while(Math.abs(r)>Fde&&++d<Ede);return s}function Y1(e,t,n,c){if(e===t&&n===c)return nt;const i=r=>Ode(r,0,1,e,n);return r=>r===0||r===1?r:x$(i(r),t,c)}const M$=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,_$=e=>t=>1-e(1-t),L$=Y1(.33,1.53,.69,.99),Aw=_$(L$),I$=M$(Aw),b$=e=>(e*=2)<1?.5*Aw(e):.5*(2-Math.pow(2,-10*(e-1))),zw=e=>1-Math.sin(Math.acos(e)),w$=_$(zw),C$=M$(zw),Ude=Y1(.42,0,1,1),Wde=Y1(0,0,.58,1),N$=Y1(.42,0,.58,1),Gde=e=>Array.isArray(e)&&typeof e[0]!="number",S$=e=>Array.isArray(e)&&typeof e[0]=="number",qC={linear:nt,easeIn:Ude,easeInOut:N$,easeOut:Wde,circIn:zw,circInOut:C$,circOut:w$,backIn:Aw,backInOut:I$,backOut:L$,anticipate:b$},Kde=e=>typeof e=="string",AC=e=>{if(S$(e)){st(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,c,i]=e;return Y1(t,n,c,i)}else if(Kde(e))return st(qC[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),qC[e];return e},ii=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Zde(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 l(u){s.has(u)&&(h.schedule(u),e()),u(d)}const h={schedule:(u,p=!1,y=!1)=>{const g=y&&i?n:c;return p&&s.add(u),g.has(u)||g.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(l),n.clear(),i=!1,r&&(r=!1,h.process(u))}};return h}const Xde=40;function j$(e,t){let n=!1,c=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=ii.reduce((L,b)=>(L[b]=Zde(r),L),{}),{setup:d,read:l,resolveKeyframes:h,preUpdate:u,update:p,preRender:y,render:f,postRender:g}=s,m=()=>{const L=It.useManualTiming?i.timestamp:performance.now();n=!1,It.useManualTiming||(i.delta=c?1e3/60:Math.max(Math.min(L-i.timestamp,Xde),1)),i.timestamp=L,i.isProcessing=!0,d.process(i),l.process(i),h.process(i),u.process(i),p.process(i),y.process(i),f.process(i),g.process(i),i.isProcessing=!1,n&&t&&(c=!1,e(m))},x=()=>{n=!0,c=!0,i.isProcessing||e(m)};return{schedule:ii.reduce((L,b)=>{const C=s[b];return L[b]=(N,_=!1,I=!1)=>(n||x(),C.schedule(N,_,I)),L},{}),cancel:L=>{for(let b=0;b<ii.length;b++)s[ii[b]].cancel(L)},state:i,steps:s}}const{schedule:ge,cancel:bt,state:Ae,steps:YL}=j$(typeof requestAnimationFrame<"u"?requestAnimationFrame:nt,!0);let lL;function Yde(){lL=void 0}const We={now:()=>(lL===void 0&&We.set(Ae.isProcessing||It.useManualTiming?Ae.timestamp:performance.now()),lL),set:e=>{lL=e,queueMicrotask(Yde)}},$$=e=>t=>typeof t=="string"&&t.startsWith(e),Vw=$$("--"),Jde=$$("var(--"),Pw=e=>Jde(e)?Qde.test(e.split("/*")[0].trim()):!1,Qde=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,s1={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},O1={...s1,transform:e=>Lt(0,1,e)},ri={...s1,default:1},T1=e=>Math.round(e*1e5)/1e5,Tw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function e0e(e){return e==null}const t0e=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Hw=(e,t)=>n=>!!(typeof n=="string"&&t0e.test(n)&&n.startsWith(e)||t&&!e0e(n)&&Object.prototype.hasOwnProperty.call(n,t)),q$=(e,t,n)=>c=>{if(typeof c!="string")return c;const[i,r,s,d]=c.match(Tw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},a0e=e=>Lt(0,255,e),JL={...s1,transform:e=>Math.round(a0e(e))},Sc={test:Hw("rgb","red"),parse:q$("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:c=1})=>"rgba("+JL.transform(e)+", "+JL.transform(t)+", "+JL.transform(n)+", "+T1(O1.transform(c))+")"};function n0e(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 ew={test:Hw("#"),parse:n0e,transform:Sc.transform},J1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),$t=J1("deg"),mt=J1("%"),ee=J1("px"),o0e=J1("vh"),c0e=J1("vw"),zC={...mt,parse:e=>mt.parse(e)/100,transform:e=>mt.transform(e*100)},Kc={test:Hw("hsl","hue"),parse:q$("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:c=1})=>"hsla("+Math.round(e)+", "+mt.transform(T1(t))+", "+mt.transform(T1(n))+", "+T1(O1.transform(c))+")"},Ce={test:e=>Sc.test(e)||ew.test(e)||Kc.test(e),parse:e=>Sc.test(e)?Sc.parse(e):Kc.test(e)?Kc.parse(e):ew.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Sc.transform(e):Kc.transform(e),getAnimatableNone:e=>{const t=Ce.parse(e);return t.alpha=0,Ce.transform(t)}},i0e=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function r0e(e){return isNaN(e)&&typeof e=="string"&&(e.match(Tw)?.length||0)+(e.match(i0e)?.length||0)>0}const A$="number",z$="color",s0e="var",d0e="var(",VC="${}",l0e=/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 U1(e){const t=e.toString(),n=[],c={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(l0e,l=>(Ce.test(l)?(c.color.push(r),i.push(z$),n.push(Ce.parse(l))):l.startsWith(d0e)?(c.var.push(r),i.push(s0e),n.push(l)):(c.number.push(r),i.push(A$),n.push(parseFloat(l))),++r,VC)).split(VC);return{values:n,split:d,indexes:c,types:i}}function V$(e){return U1(e).values}function P$(e){const{split:t,types:n}=U1(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===A$?r+=T1(i[s]):d===z$?r+=Ce.transform(i[s]):r+=i[s]}return r}}const h0e=e=>typeof e=="number"?0:Ce.test(e)?Ce.getAnimatableNone(e):e;function u0e(e){const t=V$(e);return P$(e)(t.map(h0e))}const Dt={test:r0e,parse:V$,createTransformer:P$,getAnimatableNone:u0e};function QL(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 p0e({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,l=2*n-d;i=QL(l,d,e+1/3),r=QL(l,d,e),s=QL(l,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:c}}function vL(e,t){return n=>n>0?t:e}const xe=(e,t,n)=>e+(t-e)*n,eI=(e,t,n)=>{const c=e*e,i=n*(t*t-c)+c;return i<0?0:Math.sqrt(i)},y0e=[ew,Sc,Kc],k0e=e=>y0e.find(t=>t.test(e));function PC(e){const t=k0e(e);if(r1(!!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===Kc&&(n=p0e(n)),n}const TC=(e,t)=>{const n=PC(e),c=PC(t);if(!n||!c)return vL(e,t);const i={...n};return r=>(i.red=eI(n.red,c.red,r),i.green=eI(n.green,c.green,r),i.blue=eI(n.blue,c.blue,r),i.alpha=xe(n.alpha,c.alpha,r),Sc.transform(i))},tw=new Set(["none","hidden"]);function m0e(e,t){return tw.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function f0e(e,t){return n=>xe(e,t,n)}function Dw(e){return typeof e=="number"?f0e:typeof e=="string"?Pw(e)?vL:Ce.test(e)?TC:x0e:Array.isArray(e)?T$:typeof e=="object"?Ce.test(e)?TC:g0e:vL}function T$(e,t){const n=[...e],c=n.length,i=e.map((r,s)=>Dw(r)(r,t[s]));return r=>{for(let s=0;s<c;s++)n[s]=i[s](r);return n}}function g0e(e,t){const n={...e,...t},c={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(c[i]=Dw(e[i])(e[i],t[i]));return i=>{for(const r in c)n[r]=c[r](i);return n}}function v0e(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 x0e=(e,t)=>{const n=Dt.createTransformer(t),c=U1(e),i=U1(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?tw.has(e)&&!i.values.length||tw.has(t)&&!c.values.length?m0e(e,t):X1(T$(v0e(c,i),i.values),n):(r1(!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"),vL(e,t))};function H$(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?xe(e,t,n):Dw(e)(e,t)}const M0e=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ge.update(t,n),stop:()=>bt(t),now:()=>Ae.isProcessing?Ae.timestamp:We.now()}},D$=(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)})`},xL=2e4;function Bw(e){let t=0;const n=50;let c=e.next(t);for(;!c.done&&t<xL;)t+=n,c=e.next(t);return t>=xL?1/0:t}function _0e(e,t=100,n){const c=n({...e,keyframes:[0,t]}),i=Math.min(Bw(c),xL);return{type:"keyframes",ease:r=>c.next(i*r).value/t,duration:tt(i)}}const L0e=5;function B$(e,t,n){const c=Math.max(t-L0e,0);return v$(n-e(c),t-c)}const Le={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},tI=.001;function I0e({duration:e=Le.duration,bounce:t=Le.bounce,velocity:n=Le.velocity,mass:c=Le.mass}){let i,r;r1(e<=rt(Le.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=Lt(Le.minDamping,Le.maxDamping,s),e=Lt(Le.minDuration,Le.maxDuration,tt(e)),s<1?(i=h=>{const u=h*s,p=u*e,y=u-n,f=aw(h,s),g=Math.exp(-p);return tI-y/f*g},r=h=>{const p=h*s*e,y=p*n+n,f=Math.pow(s,2)*Math.pow(h,2)*e,g=Math.exp(-p),m=aw(Math.pow(h,2),s);return(-i(h)+tI>0?-1:1)*((y-f)*g)/m}):(i=h=>{const u=Math.exp(-h*e),p=(h-n)*e+1;return-tI+u*p},r=h=>{const u=Math.exp(-h*e),p=(n-h)*(e*e);return u*p});const d=5/e,l=w0e(i,r,d);if(e=rt(e),isNaN(l))return{stiffness:Le.stiffness,damping:Le.damping,duration:e};{const h=Math.pow(l,2)*c;return{stiffness:h,damping:s*2*Math.sqrt(c*h),duration:e}}}const b0e=12;function w0e(e,t,n){let c=n;for(let i=1;i<b0e;i++)c=c-e(c)/t(c);return c}function aw(e,t){return e*Math.sqrt(1-t*t)}const C0e=["duration","bounce"],N0e=["stiffness","damping","mass"];function HC(e,t){return t.some(n=>e[n]!==void 0)}function S0e(e){let t={velocity:Le.velocity,stiffness:Le.stiffness,damping:Le.damping,mass:Le.mass,isResolvedFromDuration:!1,...e};if(!HC(e,N0e)&&HC(e,C0e))if(e.visualDuration){const n=e.visualDuration,c=2*Math.PI/(n*1.2),i=c*c,r=2*Lt(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Le.mass,stiffness:i,damping:r}}else{const n=I0e(e);t={...t,...n,mass:Le.mass},t.isResolvedFromDuration=!0}return t}function ML(e=Le.visualDuration,t=Le.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:l,damping:h,mass:u,duration:p,velocity:y,isResolvedFromDuration:f}=S0e({...n,velocity:-tt(n.velocity||0)}),g=y||0,m=h/(2*Math.sqrt(l*u)),x=s-r,M=tt(Math.sqrt(l/u)),v=Math.abs(x)<5;c||(c=v?Le.restSpeed.granular:Le.restSpeed.default),i||(i=v?Le.restDelta.granular:Le.restDelta.default);let L;if(m<1){const C=aw(M,m);L=N=>{const _=Math.exp(-m*M*N);return s-_*((g+m*M*x)/C*Math.sin(C*N)+x*Math.cos(C*N))}}else if(m===1)L=C=>s-Math.exp(-M*C)*(x+(g+M*x)*C);else{const C=M*Math.sqrt(m*m-1);L=N=>{const _=Math.exp(-m*M*N),I=Math.min(C*N,300);return s-_*((g+m*M*x)*Math.sinh(I)+C*x*Math.cosh(I))/C}}const b={calculatedDuration:f&&p||null,next:C=>{const N=L(C);if(f)d.done=C>=p;else{let _=C===0?g:0;m<1&&(_=C===0?rt(g):B$(L,C,N));const I=Math.abs(_)<=c,j=Math.abs(s-N)<=i;d.done=I&&j}return d.value=d.done?s:N,d},toString:()=>{const C=Math.min(Bw(b),xL),N=D$(_=>b.next(C*_).value,C,30);return C+"ms "+N},toTransition:()=>{}};return b}ML.applyToOptions=e=>{const t=_0e(e,100,ML);return e.ease=t.ease,e.duration=rt(t.duration),e.type="keyframes",e};function nw({keyframes:e,velocity:t=0,power:n=.8,timeConstant:c=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:s,min:d,max:l,restDelta:h=.5,restSpeed:u}){const p=e[0],y={done:!1,value:p},f=I=>d!==void 0&&I<d||l!==void 0&&I>l,g=I=>d===void 0?l:l===void 0||Math.abs(d-I)<Math.abs(l-I)?d:l;let m=n*t;const x=p+m,M=s===void 0?x:s(x);M!==x&&(m=M-p);const v=I=>-m*Math.exp(-I/c),L=I=>M+v(I),b=I=>{const j=v(I),w=L(I);y.done=Math.abs(j)<=h,y.value=y.done?M:w};let C,N;const _=I=>{f(y.value)&&(C=I,N=ML({keyframes:[y.value,g(y.value)],velocity:B$(L,I,y.value),damping:i,stiffness:r,restDelta:h,restSpeed:u}))};return _(0),{calculatedDuration:null,next:I=>{let j=!1;return!N&&C===void 0&&(j=!0,b(I),_(I)),C!==void 0&&I>=C?N.next(I-C):(!j&&b(I),y)}}}function j0e(e,t,n){const c=[],i=n||It.mix||H$,r=e.length-1;for(let s=0;s<r;s++){let d=i(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||nt:t;d=X1(l,d)}c.push(d)}return c}function R$(e,t,{clamp:n=!0,ease:c,mixer:i}={}){const r=e.length;if(st(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=j0e(t,c,i),l=d.length,h=u=>{if(s&&u<e[0])return t[0];let p=0;if(l>1)for(;p<e.length-2&&!(u<e[p+1]);p++);const y=E1(e[p],e[p+1],u);return d[p](y)};return n?u=>h(Lt(e[0],e[r-1],u)):h}function $0e(e,t){const n=e[e.length-1];for(let c=1;c<=t;c++){const i=E1(0,t,c);e.push(xe(n,1,i))}}function q0e(e){const t=[0];return $0e(t,e.length-1),t}function A0e(e,t){return e.map(n=>n*t)}function z0e(e,t){return e.map(()=>t||N$).splice(0,e.length-1)}function Zc({duration:e=300,keyframes:t,times:n,ease:c="easeInOut"}){const i=Gde(c)?c.map(AC):AC(c),r={done:!1,value:t[0]},s=A0e(n&&n.length===t.length?n:q0e(t),e),d=R$(s,t,{ease:Array.isArray(i)?i:z0e(t,i)});return{calculatedDuration:e,next:l=>(r.value=d(l),r.done=l>=e,r)}}const V0e=e=>e!==null;function Rw(e,{repeat:t,repeatType:n="loop"},c,i=1){const r=e.filter(V0e),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||c===void 0?r[d]:c}const P0e={decay:nw,inertia:nw,tween:Zc,keyframes:Zc,spring:ML};function F$(e){typeof e.type=="string"&&(e.type=P0e[e.type])}class Fw{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 T0e=e=>e/100;class Ew extends Fw{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!==We.now()&&this.tick(We.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;F$(t);const{type:n=Zc,repeat:c=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const l=n||Zc;process.env.NODE_ENV!=="production"&&l!==Zc&&st(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),l!==Zc&&typeof d[0]!="number"&&(this.mixKeyframes=X1(T0e,H$(d[0],d[1])),d=[0,100]);const h=l({...t,keyframes:d});r==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...d].reverse(),velocity:-s})),h.calculatedDuration===null&&(h.calculatedDuration=Bw(h));const{calculatedDuration:u}=h;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(c+1)-i,this.generator=h}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:l}=this;if(this.startTime===null)return c.next(0);const{delay:h=0,keyframes:u,repeat:p,repeatType:y,repeatDelay:f,type:g,onUpdate:m,finalKeyframe:x}=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 M=this.currentTime-h*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?M<0:M>i;this.currentTime=Math.max(M,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let L=this.currentTime,b=c;if(p){const I=Math.min(this.currentTime,i)/d;let j=Math.floor(I),w=I%1;!w&&I>=1&&(w=1),w===1&&j--,j=Math.min(j,p+1),!!(j%2)&&(y==="reverse"?(w=1-w,f&&(w-=f/d)):y==="mirror"&&(b=s)),L=Lt(0,1,w)*d}const C=v?{done:!1,value:u[0]}:b.next(L);r&&(C.value=r(C.value));let{done:N}=C;!v&&l!==null&&(N=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const _=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&N);return _&&g!==nw&&(C.value=Rw(u,this.options,x,this.speed)),m&&m(C.value),_&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return tt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+tt(t)}get time(){return tt(this.currentTime)}set time(t){t=rt(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(We.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=tt(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=M0e,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(We.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 H0e(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const jc=e=>e*180/Math.PI,ow=e=>{const t=jc(Math.atan2(e[1],e[0]));return cw(t)},D0e={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ow,rotateZ:ow,skewX:e=>jc(Math.atan(e[1])),skewY:e=>jc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},cw=e=>(e=e%360,e<0&&(e+=360),e),DC=ow,BC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),RC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),B0e={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:BC,scaleY:RC,scale:e=>(BC(e)+RC(e))/2,rotateX:e=>cw(jc(Math.atan2(e[6],e[5]))),rotateY:e=>cw(jc(Math.atan2(-e[2],e[0]))),rotateZ:DC,rotate:DC,skewX:e=>jc(Math.atan(e[4])),skewY:e=>jc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function iw(e){return e.includes("scale")?1:0}function rw(e,t){if(!e||e==="none")return iw(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let c,i;if(n)c=B0e,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);c=D0e,i=d}if(!i)return iw(t);const r=c[t],s=i[1].split(",").map(F0e);return typeof r=="function"?r(s):s[r]}const R0e=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return rw(n,t)};function F0e(e){return parseFloat(e.trim())}const d1=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],l1=new Set(d1),FC=e=>e===s1||e===ee,E0e=new Set(["x","y","z"]),O0e=d1.filter(e=>!E0e.has(e));function U0e(e){const t=[];return O0e.forEach(n=>{const c=e.getValue(n);c!==void 0&&(t.push([n,c.get()]),c.set(n.startsWith("scale")?1:0))}),t}const Pc={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})=>rw(t,"x"),y:(e,{transform:t})=>rw(t,"y")};Pc.translateX=Pc.x;Pc.translateY=Pc.y;const Tc=new Set;let sw=!1,dw=!1,lw=!1;function E$(){if(dw){const e=Array.from(Tc).filter(c=>c.needsMeasurement),t=new Set(e.map(c=>c.element)),n=new Map;t.forEach(c=>{const i=U0e(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)})}dw=!1,sw=!1,Tc.forEach(e=>e.complete(lw)),Tc.clear()}function O$(){Tc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(dw=!0)})}function W0e(){lw=!0,O$(),E$(),lw=!1}class Ow{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?(Tc.add(this),sw||(sw=!0,ge.read(O$),ge.resolveKeyframes(E$))):(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])}H0e(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Tc.delete(this)}cancel(){this.state==="scheduled"&&(Tc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const G0e=e=>e.startsWith("--");function K0e(e,t,n){G0e(t)?e.style.setProperty(t,n):e.style[t]=n}const Z0e=jw(()=>window.ScrollTimeline!==void 0),X0e={};function Y0e(e,t){const n=jw(e);return()=>X0e[t]??n()}const U$=Y0e(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),M1=([e,t,n,c])=>`cubic-bezier(${e}, ${t}, ${n}, ${c})`,EC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:M1([0,.65,.55,1]),circOut:M1([.55,0,1,.45]),backIn:M1([.31,.01,.66,-.59]),backOut:M1([.33,1.53,.69,.99])};function W$(e,t){if(e)return typeof e=="function"?U$()?D$(e,t):"ease-out":S$(e)?M1(e):Array.isArray(e)?e.map(n=>W$(n,t)||EC.easeOut):EC[e]}function J0e(e,t,n,{delay:c=0,duration:i=300,repeat:r=0,repeatType:s="loop",ease:d="easeOut",times:l}={},h=void 0){const u={[t]:n};l&&(u.offset=l);const p=W$(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 h&&(y.pseudoElement=h),e.animate(u,y)}function G$(e){return typeof e=="function"&&"applyToOptions"in e}function Q0e({type:e,...t}){return G$(e)&&U$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class ele extends Fw{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:l}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,st(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const h=Q0e(t);this.animation=J0e(n,c,i,h,r),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=Rw(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):K0e(n,c,u),this.animation.cancel()}l?.(),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 tt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+tt(t)}get time(){return tt(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=rt(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&&Z0e()?(this.animation.timeline=t,nt):n(this)}}const K$={anticipate:b$,backInOut:I$,circInOut:C$};function tle(e){return e in K$}function ale(e){typeof e.ease=="string"&&tle(e.ease)&&(e.ease=K$[e.ease])}const OC=10;class nle extends ele{constructor(t){ale(t),F$(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 Ew({...s,autoplay:!1}),l=rt(this.finishedTime??this.time);n.setWithVelocity(d.sample(l-OC).value,d.sample(l).value,OC),d.stop()}}const UC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Dt.test(e)||e==="0")&&!e.startsWith("url("));function ole(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 cle(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=UC(i,t),d=UC(r,t);return r1(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:ole(e)||(n==="spring"||G$(n))&&c}function hw(e){e.duration=0,e.type="keyframes"}const ile=new Set(["opacity","clipPath","filter","transform"]),rle=jw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function sle(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:l,transformTemplate:h}=t.owner.getProps();return rle()&&n&&ile.has(n)&&(n!=="transform"||!h)&&!l&&!c&&i!=="mirror"&&r!==0&&s!=="inertia"}const dle=40;class lle extends Fw{constructor({autoplay:t=!0,delay:n=0,type:c="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",keyframes:d,name:l,motionValue:h,element:u,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=We.now();const y={autoplay:t,delay:n,type:c,repeat:i,repeatDelay:r,repeatType:s,name:l,motionValue:h,element:u,...p},f=u?.KeyframeResolver||Ow;this.keyframeResolver=new f(d,(g,m,x)=>this.onKeyframesResolved(g,m,y,!x),l,h,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,c,i){this.keyframeResolver=void 0;const{name:r,type:s,velocity:d,delay:l,isHandoff:h,onUpdate:u}=c;this.resolvedAt=We.now(),cle(t,r,s,d)||((It.instantAnimations||!l)&&u?.(Rw(t,c,n)),t[0]=t[t.length-1],hw(c),c.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>dle?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...c,keyframes:t},f=!h&&sle(y)?new nle({...y,element:y.motionValue.owner.current}):new Ew(y);f.finished.then(()=>this.notifyFinished()).catch(nt),this.pendingTimeline&&(this.stopTimeline=f.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=f}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(),W0e()),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 hle=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ule(e){const t=hle.exec(e);if(!t)return[,];const[,n,c,i]=t;return[`--${n??c}`,i]}const ple=4;function Z$(e,t,n=1){st(n<=ple,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[c,i]=ule(e);if(!c)return;const r=window.getComputedStyle(t).getPropertyValue(c);if(r){const s=r.trim();return m$(s)?parseFloat(s):s}return Pw(i)?Z$(i,t,n+1):i}function Uw(e,t){return e?.[t]??e?.default??e}const X$=new Set(["width","height","top","left","right","bottom",...d1]),yle={test:e=>e==="auto",parse:e=>e},Y$=e=>t=>t.test(e),J$=[s1,ee,mt,$t,c0e,o0e,yle],WC=e=>J$.find(Y$(e));function kle(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||g$(e):!0}const mle=new Set(["brightness","contrast","saturate","opacity"]);function fle(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[c]=n.match(Tw)||[];if(!c)return e;const i=n.replace(c,"");let r=mle.has(t)?1:0;return c!==n&&(r*=100),t+"("+r+i+")"}const gle=/\b([a-z-]*)\(.*?\)/gu,uw={...Dt,getAnimatableNone:e=>{const t=e.match(gle);return t?t.map(fle).join(" "):e}},GC={...s1,transform:Math.round},vle={rotate:$t,rotateX:$t,rotateY:$t,rotateZ:$t,scale:ri,scaleX:ri,scaleY:ri,scaleZ:ri,skew:$t,skewX:$t,skewY:$t,distance:ee,translateX:ee,translateY:ee,translateZ:ee,x:ee,y:ee,z:ee,perspective:ee,transformPerspective:ee,opacity:O1,originX:zC,originY:zC,originZ:ee},Ww={borderWidth:ee,borderTopWidth:ee,borderRightWidth:ee,borderBottomWidth:ee,borderLeftWidth:ee,borderRadius:ee,radius:ee,borderTopLeftRadius:ee,borderTopRightRadius:ee,borderBottomRightRadius:ee,borderBottomLeftRadius:ee,width:ee,maxWidth:ee,height:ee,maxHeight:ee,top:ee,right:ee,bottom:ee,left:ee,padding:ee,paddingTop:ee,paddingRight:ee,paddingBottom:ee,paddingLeft:ee,margin:ee,marginTop:ee,marginRight:ee,marginBottom:ee,marginLeft:ee,backgroundPositionX:ee,backgroundPositionY:ee,...vle,zIndex:GC,fillOpacity:O1,strokeOpacity:O1,numOctaves:GC},xle={...Ww,color:Ce,backgroundColor:Ce,outlineColor:Ce,fill:Ce,stroke:Ce,borderColor:Ce,borderTopColor:Ce,borderRightColor:Ce,borderBottomColor:Ce,borderLeftColor:Ce,filter:uw,WebkitFilter:uw},Q$=e=>xle[e];function eq(e,t){let n=Q$(e);return n!==uw&&(n=Dt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Mle=new Set(["auto","none","0"]);function _le(e,t,n){let c=0,i;for(;c<e.length&&!i;){const r=e[c];typeof r=="string"&&!Mle.has(r)&&U1(r).values.length&&(i=e[c]),c++}if(i&&n)for(const r of t)e[r]=eq(n,i)}class Lle extends Ow{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 l=0;l<t.length;l++){let h=t[l];if(typeof h=="string"&&(h=h.trim(),Pw(h))){const u=Z$(h,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!X$.has(c)||t.length!==2)return;const[i,r]=t,s=WC(i),d=WC(r);if(s!==d)if(FC(s)&&FC(d))for(let l=0;l<t.length;l++){const h=t[l];typeof h=="string"&&(t[l]=parseFloat(h))}else Pc[c]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,c=[];for(let i=0;i<t.length;i++)(t[i]===null||kle(t[i]))&&c.push(i);c.length&&_le(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=Pc[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]=Pc[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([d,l])=>{t.getValue(d).set(l)}),this.resolveNoneKeyframes()}}function Ile(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 tq=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function aq(e){return f$(e)&&"offsetHeight"in e}const KC=30,ble=e=>!isNaN(parseFloat(e)),H1={current:void 0};class wle{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=c=>{const i=We.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=We.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=ble(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&qw(!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 $w);const c=this.events[t].add(n);return t==="change"?()=>{c(),ge.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 H1.current&&H1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=We.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>KC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,KC);return v$(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 Hc(e,t){return new wle(e,t)}const{schedule:Gw}=j$(queueMicrotask,!1),it={x:!1,y:!1};function nq(){return it.x||it.y}function Cle(e){return e==="x"||e==="y"?it[e]?null:(it[e]=!0,()=>{it[e]=!1}):it.x||it.y?null:(it.x=it.y=!0,()=>{it.x=it.y=!1})}function oq(e,t){const n=Ile(e),c=new AbortController,i={passive:!0,...t,signal:c.signal};return[n,i,()=>c.abort()]}function ZC(e){return!(e.pointerType==="touch"||nq())}function Nle(e,t,n={}){const[c,i,r]=oq(e,n),s=d=>{if(!ZC(d))return;const{target:l}=d,h=t(l,d);if(typeof h!="function"||!l)return;const u=p=>{ZC(p)&&(h(p),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return c.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const cq=(e,t)=>t?e===t?!0:cq(e,t.parentElement):!1,Kw=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Sle=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function jle(e){return Sle.has(e.tagName)||e.tabIndex!==-1}const hL=new WeakSet;function XC(e){return t=>{t.key==="Enter"&&e(t)}}function aI(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const $le=(e,t)=>{const n=e.currentTarget;if(!n)return;const c=XC(()=>{if(hL.has(n))return;aI(n,"down");const i=XC(()=>{aI(n,"up")}),r=()=>aI(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 YC(e){return Kw(e)&&!nq()}function qle(e,t,n={}){const[c,i,r]=oq(e,n),s=d=>{const l=d.currentTarget;if(!YC(d))return;hL.add(l);const h=t(l,d),u=(f,g)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),hL.has(l)&&hL.delete(l),YC(f)&&typeof h=="function"&&h(f,{success:g})},p=f=>{u(f,l===window||l===document||n.useGlobalTarget||cq(l,f.target))},y=f=>{u(f,!1)};window.addEventListener("pointerup",p,i),window.addEventListener("pointercancel",y,i)};return c.forEach(d=>{(n.useGlobalTarget?window:d).addEventListener("pointerdown",s,i),aq(d)&&(d.addEventListener("focus",h=>$le(h,i)),!jle(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function iq(e){return f$(e)&&"ownerSVGElement"in e}function Ale(e){return iq(e)&&e.tagName==="svg"}function zle(...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=R$(i,r,s);return t?d(c):d}const ze=e=>!!(e&&e.getVelocity),Vle=[...J$,Ce,Dt],Ple=e=>Vle.find(Y$(e)),SL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function JC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Tle(...e){return t=>{let n=!1;const c=e.map(i=>{const r=JC(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():JC(e[i],null)}}}}function Hle(...e){return Z.useCallback(Tle(...e),e)}class Dle extends Z.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const c=n.offsetParent,i=aq(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 Ble({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(SL),l=Hle(r,e?.ref);return k.useInsertionEffect(()=>{const{width:h,height:u,top:p,left:y,right:f}=s.current;if(t||!r.current||!h||!u)return;const g=n==="left"?`left: ${y}`:`right: ${f}`;r.current.dataset.motionPopId=i;const m=document.createElement("style");d&&(m.nonce=d);const x=c??document.head;return x.appendChild(m),m.sheet&&m.sheet.insertRule(`
8265
8265
  [data-motion-pop-id="${i}"] {
8266
8266
  position: absolute !important;
8267
8267
  width: ${h}px !important;
@@ -8269,7 +8269,7 @@
8269
8269
  ${g}px !important;
8270
8270
  top: ${p}px !important;
8271
8271
  }
8272
- `),()=>{x.contains(m)&&x.removeChild(m)}},[t]),o.jsx(Dle,{isPresent:t,childRef:r,sizeRef:s,children:te.cloneElement(e,{ref:l})})}const Rle=({children:e,initial:t,isPresent:n,onExitComplete:c,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:l})=>{const h=Bt(Fle),u=k.useId();let p=!0,y=k.useMemo(()=>(p=!1,{id:u,initial:t,isPresent:n,custom:i,onExitComplete:f=>{h.set(f,!0);for(const g of h.values())if(!g)return;c&&c()},register:f=>(h.set(f,!1),()=>h.delete(f))}),[n,h,c]);return r&&p&&(y={...y}),k.useMemo(()=>{h.forEach((f,g)=>h.set(g,!1))},[n]),te.useEffect(()=>{!n&&!h.size&&c&&c()},[n]),s==="popLayout"&&(e=o.jsx(Ble,{isPresent:n,anchorX:d,root:l,children:e})),o.jsx(NL.Provider,{value:y,children:e})};function Fle(){return new Map}function rq(e=!0){const t=k.useContext(NL);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 si=e=>e.key||"";function QC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const Ele=({children:e,custom:t,initial:n=!0,onExitComplete:c,presenceAffectsLayout:i=!0,mode:r="sync",propagate:s=!1,anchorX:d="left",root:l})=>{const[h,u]=rq(s),p=k.useMemo(()=>QC(e),[e]),y=s&&!h?[]:p.map(si),f=k.useRef(!0),g=k.useRef(p),m=Bt(()=>new Map),[x,M]=k.useState(p),[v,I]=k.useState(p);Cw(()=>{f.current=!1,g.current=p;for(let C=0;C<v.length;C++){const _=si(v[C]);y.includes(_)?m.delete(_):m.get(_)!==!0&&m.set(_,!1)}},[v,y.length,y.join("-")]);const b=[];if(p!==x){let C=[...p];for(let _=0;_<v.length;_++){const L=v[_],j=si(L);y.includes(j)||(C.splice(_,0,L),b.push(L))}return r==="wait"&&b.length&&(C=b),I(QC(C)),M(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:w}=k.useContext(bw);return o.jsx(o.Fragment,{children:v.map(C=>{const _=si(C),L=s&&!h?!1:p===v||y.includes(_),j=()=>{if(m.has(_))m.set(_,!0);else return;let N=!0;m.forEach(S=>{S||(N=!1)}),N&&(w?.(),I(g.current),s&&u?.(),c&&c())};return o.jsx(Rle,{isPresent:L,initial:!f.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:l,onExitComplete:L?void 0:j,anchorX:d,children:C},_)})})},sq=k.createContext({strict:!1}),eN={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"]},i1={};for(const e in eN)i1[e]={isEnabled:t=>eN[e].some(n=>!!t[n])};function Ole(e){for(const t in e)i1[t]={...i1[t],...e[t]}}const Ule=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 _L(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Ule.has(e)}let dq=e=>!_L(e);function Wle(e){typeof e=="function"&&(dq=t=>t.startsWith("on")?!_L(t):e(t))}try{Wle(require("@emotion/is-prop-valid").default)}catch{}function Gle(e,t,n){const c={};for(const i in e)i==="values"&&typeof e.values=="object"||(dq(i)||n===!0&&_L(i)||!t&&!_L(i)||e.draggable&&i.startsWith("onDrag"))&&(c[i]=e[i]);return c}const jL=k.createContext({});function $L(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function W1(e){return typeof e=="string"||Array.isArray(e)}const Zw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Xw=["initial",...Zw];function qL(e){return $L(e.animate)||Xw.some(t=>W1(e[t]))}function lq(e){return!!(qL(e)||e.variants)}function Kle(e,t){if(qL(e)){const{initial:n,animate:c}=e;return{initial:n===!1||W1(n)?n:void 0,animate:W1(c)?c:void 0}}return e.inherit!==!1?t:{}}function Zle(e){const{initial:t,animate:n}=Kle(e,k.useContext(jL));return k.useMemo(()=>({initial:t,animate:n}),[tN(t),tN(n)])}function tN(e){return Array.isArray(e)?e.join(" "):e}const G1={};function Xle(e){for(const t in e)G1[t]=e[t],Vw(t)&&(G1[t].isCSSVariable=!0)}function hq(e,{layout:t,layoutId:n}){return l1.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!G1[e]||e==="opacity")}const Yle={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Jle=d1.length;function Qle(e,t,n){let c="",i=!0;for(let r=0;r<Jle;r++){const s=d1[r],d=e[s];if(d===void 0)continue;let l=!0;if(typeof d=="number"?l=d===(s.startsWith("scale")?1:0):l=parseFloat(d)===0,!l||n){const h=tq(d,Ww[s]);if(!l){i=!1;const u=Yle[s]||s;c+=`${u}(${h}) `}n&&(t[s]=h)}}return c=c.trim(),n?c=n(t,i?"":c):i&&(c="none"),c}function Yw(e,t,n){const{style:c,vars:i,transformOrigin:r}=e;let s=!1,d=!1;for(const l in t){const h=t[l];if(l1.has(l)){s=!0;continue}else if(Vw(l)){i[l]=h;continue}else{const u=tq(h,Ww[l]);l.startsWith("origin")?(d=!0,r[l]=u):c[l]=u}}if(t.transform||(s||n?c.transform=Qle(t,e.transform,n):c.transform&&(c.transform="none")),d){const{originX:l="50%",originY:h="50%",originZ:u=0}=r;c.transformOrigin=`${l} ${h} ${u}`}}const Jw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function uq(e,t,n){for(const c in t)!ze(t[c])&&!hq(c,n)&&(e[c]=t[c])}function ehe({transformTemplate:e},t){return k.useMemo(()=>{const n=Jw();return Yw(n,t,e),Object.assign({},n.vars,n.style)},[t])}function the(e,t){const n=e.style||{},c={};return uq(c,n,e),Object.assign(c,ehe(e,t)),c}function ahe(e,t){const n={},c=the(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 nhe={offset:"stroke-dashoffset",array:"stroke-dasharray"},ohe={offset:"strokeDashoffset",array:"strokeDasharray"};function che(e,t,n=1,c=0,i=!0){e.pathLength=1;const r=i?nhe:ohe;e[r.offset]=Q.transform(-c);const s=Q.transform(t),d=Q.transform(n);e[r.array]=`${s} ${d}`}function pq(e,{attrX:t,attrY:n,attrScale:c,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},l,h,u){if(Yw(e,d,h),l){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&&che(p,i,r,s,!1)}const yq=()=>({...Jw(),attrs:{}}),kq=e=>typeof e=="string"&&e.toLowerCase()==="svg";function ihe(e,t,n,c){const i=k.useMemo(()=>{const r=yq();return pq(r,t,kq(c),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};uq(r,e.style,e),i.style={...r,...i.style}}return i}const rhe=["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 Qw(e){return typeof e!="string"||e.includes("-")?!1:!!(rhe.indexOf(e)>-1||/[A-Z]/u.test(e))}function she(e,t,n,{latestValues:c},i,r=!1){const d=(Qw(e)?ihe:ahe)(t,c,i,e),l=Gle(t,typeof e=="string",r),h=e!==k.Fragment?{...l,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>ze(u)?u.get():u,[u]);return k.createElement(e,{...h,children:p})}function aN(e){const t=[{},{}];return e?.values.forEach((n,c)=>{t[0][c]=n.get(),t[1][c]=n.getVelocity()}),t}function eC(e,t,n,c){if(typeof t=="function"){const[i,r]=aN(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]=aN(c);t=t(n!==void 0?n:e.custom,i,r)}return t}function uL(e){return ze(e)?e.get():e}function dhe({scrapeMotionValuesFromProps:e,createRenderState:t},n,c,i){return{latestValues:lhe(n,c,i,e),renderState:t()}}function lhe(e,t,n,c){const i={},r=c(e,{});for(const y in r)i[y]=uL(r[y]);let{initial:s,animate:d}=e;const l=qL(e),h=lq(e);t&&h&&!l&&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"&&!$L(p)){const y=Array.isArray(p)?p:[p];for(let f=0;f<y.length;f++){const g=eC(e,y[f]);if(g){const{transitionEnd:m,transition:x,...M}=g;for(const v in M){let I=M[v];if(Array.isArray(I)){const b=u?I.length-1:0;I=I[b]}I!==null&&(i[v]=I)}for(const v in m)i[v]=m[v]}}}return i}const mq=e=>(t,n)=>{const c=k.useContext(jL),i=k.useContext(NL),r=()=>dhe(e,t,c,i);return n?r():Bt(r)};function tC(e,t,n){const{style:c}=e,i={};for(const r in c)(ze(c[r])||t.style&&ze(t.style[r])||hq(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=c[r]);return i}const hhe=mq({scrapeMotionValuesFromProps:tC,createRenderState:Jw});function fq(e,t,n){const c=tC(e,t,n);for(const i in e)if(ze(e[i])||ze(t[i])){const r=d1.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;c[r]=e[i]}return c}const uhe=mq({scrapeMotionValuesFromProps:fq,createRenderState:yq}),phe=Symbol.for("motionComponentSymbol");function Xc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function yhe(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):Xc(n)&&(n.current=c))},[t])}const aC=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),khe="framerAppearId",gq="data-"+aC(khe),vq=k.createContext({});function mhe(e,t,n,c,i){const{visualElement:r}=k.useContext(jL),s=k.useContext(sq),d=k.useContext(NL),l=k.useContext(SL).reducedMotion,h=k.useRef(null);c=c||s.renderer,!h.current&&c&&(h.current=c(e,{visualState:t,parent:r,props:n,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:l}));const u=h.current,p=k.useContext(vq);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&fhe(h.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const f=n[gq],g=k.useRef(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return Cw(()=>{u&&(y.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),g.current&&u.animationState&&u.animationState.animateChanges())}),k.useEffect(()=>{u&&(!g.current&&u.animationState&&u.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(f)}),g.current=!1),u.enteringChildren=void 0)}),u}function fhe(e,t,n,c){const{layoutId:i,layout:r,drag:s,dragConstraints:d,layoutScroll:l,layoutRoot:h,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:xq(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&Xc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:c,crossfade:u,layoutScroll:l,layoutRoot:h})}function xq(e){if(e)return e.options.allowProjection!==!1?e.projection:xq(e.parent)}function nI(e,{forwardMotionProps:t=!1}={},n,c){n&&Ole(n);const i=Qw(e)?uhe:hhe;function r(d,l){let h;const u={...k.useContext(SL),...d,layoutId:ghe(d)},{isStatic:p}=u,y=Zle(d),f=i(d,p);if(!p&&ww){vhe(u,n);const g=xhe(u);h=g.MeasureLayout,y.visualElement=mhe(e,f,u,c,g.ProjectionNode)}return o.jsxs(jL.Provider,{value:y,children:[h&&y.visualElement?o.jsx(h,{visualElement:y.visualElement,...u}):null,she(e,d,yhe(f,y.visualElement,l),f,p,t)]})}r.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const s=k.forwardRef(r);return s[phe]=e,s}function ghe({layoutId:e}){const t=k.useContext(bw).id;return t&&e!==void 0?t+"-"+e:e}function vhe(e,t){const n=k.useContext(sq).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?r1(!1,c,"lazy-strict-mode"):st(!1,c,"lazy-strict-mode")}}function xhe(e){const{drag:t,layout:n}=i1;if(!t&&!n)return{};const c={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function Mhe(e,t){if(typeof Proxy>"u")return nI;const n=new Map,c=(r,s)=>nI(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&qw(!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,nI(s,void 0,e,t)),n.get(s))})}function Mq({top:e,left:t,right:n,bottom:c}){return{x:{min:t,max:n},y:{min:e,max:c}}}function _he({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Lhe(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 oI(e){return e===void 0||e===1}function pw({scale:e,scaleX:t,scaleY:n}){return!oI(e)||!oI(t)||!oI(n)}function Nc(e){return pw(e)||_q(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function _q(e){return nN(e.x)||nN(e.y)}function nN(e){return e&&e!=="0%"}function LL(e,t,n){const c=e-n,i=t*c;return n+i}function oN(e,t,n,c,i){return i!==void 0&&(e=LL(e,i,c)),LL(e,n,c)+t}function yw(e,t=0,n=1,c,i){e.min=oN(e.min,t,n,c,i),e.max=oN(e.max,t,n,c,i)}function Lq(e,{x:t,y:n}){yw(e.x,t.translate,t.scale,t.originPoint),yw(e.y,n.translate,n.scale,n.originPoint)}const cN=.999999999999,iN=1.0000000000001;function Ihe(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:l}=r.options;l&&l.props.style&&l.props.style.display==="contents"||(c&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Jc(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Lq(e,s)),c&&Nc(r.latestValues)&&Jc(e,r.latestValues))}t.x<iN&&t.x>cN&&(t.x=1),t.y<iN&&t.y>cN&&(t.y=1)}function Yc(e,t){e.min=e.min+t,e.max=e.max+t}function rN(e,t,n,c,i=.5){const r=xe(e.min,e.max,i);yw(e,t,n,r,c)}function Jc(e,t){rN(e.x,t.x,t.scaleX,t.scale,t.originX),rN(e.y,t.y,t.scaleY,t.scale,t.originY)}function Iq(e,t){return Mq(Lhe(e.getBoundingClientRect(),t))}function bhe(e,t,n){const c=Iq(e,n),{scroll:i}=t;return i&&(Yc(c.x,i.offset.x),Yc(c.y,i.offset.y)),c}const sN=()=>({translate:0,scale:1,origin:0,originPoint:0}),Qc=()=>({x:sN(),y:sN()}),dN=()=>({min:0,max:0}),be=()=>({x:dN(),y:dN()}),kw={current:null},bq={current:!1};function whe(){if(bq.current=!0,!!ww)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>kw.current=e.matches;e.addEventListener("change",t),t()}else kw.current=!1}const Che=new WeakMap;function Nhe(e,t,n){for(const c in t){const i=t[c],r=n[c];if(ze(i))e.addValue(c,i);else if(ze(r))e.addValue(c,Hc(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,Hc(s!==void 0?s:i,{owner:e}))}}for(const c in n)t[c]===void 0&&e.removeValue(c);return t}const lN=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class She{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=Ow,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=We.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,ge.render(this.render,!1,!0))};const{latestValues:l,renderState:h}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=h,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=qL(n),this.isVariantNode=lq(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 f=p[y];l[y]!==void 0&&ze(f)&&f.set(l[y])}}mount(t){this.current=t,Che.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)),bq.current||whe(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:kw.current,process.env.NODE_ENV!=="production"&&qw(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(),bt(this.notifyUpdate),bt(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=l1.has(t);c&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ge.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 i1){const n=i1[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):be()}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<lN.length;c++){const i=lN[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=Nhe(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=Hc(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"&&(m$(c)||g$(c))?c=parseFloat(c):!Ple(c)&&Dt.test(n)&&(c=eq(t,n)),this.setBaseTarget(t,ze(c)?c.get():c)),ze(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=eC(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&&!ze(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 $w),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Gw.render(this.render)}}class wq extends She{constructor(){super(...arguments),this.KeyframeResolver=Lle}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;ze(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Cq(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 jhe(e){return window.getComputedStyle(e)}class $he extends wq{constructor(){super(...arguments),this.type="html",this.renderInstance=Cq}readValueFromInstance(t,n){if(l1.has(n))return this.projection?.isProjecting?iw(n):R0e(t,n);{const c=jhe(t),i=(Vw(n)?c.getPropertyValue(n):c[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Iq(t,n)}build(t,n,c){Yw(t,n,c.transformTemplate)}scrapeMotionValuesFromProps(t,n,c){return tC(t,n,c)}}const Nq=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 qhe(e,t,n,c){Cq(e,t,void 0,c);for(const i in t.attrs)e.setAttribute(Nq.has(i)?i:aC(i),t.attrs[i])}class Ahe extends wq{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=be}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(l1.has(n)){const c=Q$(n);return c&&c.default||0}return n=Nq.has(n)?n:aC(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,c){return fq(t,n,c)}build(t,n,c){pq(t,n,this.isSVGTag,c.transformTemplate,c.style)}renderInstance(t,n,c,i){qhe(t,n,c,i)}mount(t){this.isSVGTag=kq(t.tagName),super.mount(t)}}const zhe=(e,t)=>Qw(e)?new Ahe(t):new $he(t,{allowProjection:e!==k.Fragment});function c1(e,t,n){const c=e.getProps();return eC(c,t,n!==void 0?n:c.custom,e)}const mw=e=>Array.isArray(e);function Vhe(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Hc(n))}function Phe(e){return mw(e)?e[e.length-1]||0:e}function The(e,t){const n=c1(e,t);let{transitionEnd:c={},transition:i={},...r}=n||{};r={...r,...c};for(const s in r){const d=Phe(r[s]);Vhe(e,s,d)}}function Hhe(e){return!!(ze(e)&&e.add)}function fw(e,t){const n=e.getValue("willChange");if(Hhe(n))return n.add(t);if(!n&&It.WillChange){const c=new It.WillChange("auto");e.addValue("willChange",c),c.add(t)}}function Sq(e){return e.props[gq]}const Dhe=e=>e!==null;function Bhe(e,{repeat:t,repeatType:n="loop"},c){const i=e.filter(Dhe),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const Rhe={type:"spring",stiffness:500,damping:25,restSpeed:10},Fhe=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Ehe={type:"keyframes",duration:.8},Ohe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Uhe=(e,{keyframes:t})=>t.length>2?Ehe:l1.has(e)?e.startsWith("scale")?Fhe(t[1]):Rhe:Ohe;function Whe({when:e,delay:t,delayChildren:n,staggerChildren:c,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:d,from:l,elapsed:h,...u}){return!!Object.keys(u).length}const nC=(e,t,n,c={},i,r)=>s=>{const d=Uw(c,e)||{},l=d.delay||c.delay||0;let{elapsed:h=0}=c;h=h-rt(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-h,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};Whe(d)||Object.assign(u,Uhe(e,u)),u.duration&&(u.duration=rt(u.duration)),u.repeatDelay&&(u.repeatDelay=rt(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(hw(u),u.delay===0&&(p=!0)),(It.instantAnimations||It.skipAnimations)&&(p=!0,hw(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=Bhe(u.keyframes,d);if(y!==void 0){ge.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new Ew(u):new lle(u)};function Ghe({protectedKeys:e,needsAnimating:t},n){const c=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,c}function jq(e,t,{delay:n=0,transitionOverride:c,type:i}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:s,...d}=t;c&&(r=c);const l=[],h=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||h&&Ghe(h,u))continue;const f={delay:n,...Uw(r||{},u)},g=p.get();if(g!==void 0&&!p.isAnimating&&!Array.isArray(y)&&y===g&&!f.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){const M=Sq(e);if(M){const v=window.MotionHandoffAnimation(M,u,ge);v!==null&&(f.startTime=v,m=!0)}}fw(e,u),p.start(nC(u,p,y,e.shouldReduceMotion&&X$.has(u)?{type:!1}:f,e,m));const x=p.animation;x&&l.push(x)}return s&&Promise.all(l).then(()=>{ge.update(()=>{s&&The(e,s)})}),l}function $q(e,t,n,c=0,i=1){const r=Array.from(e).sort((h,u)=>h.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 gw(e,t,n={}){const c=c1(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(jq(e,c,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return Khe(e,t,l,h,u,p,n)}:()=>Promise.resolve(),{when:d}=i;if(d){const[l,h]=d==="beforeChildren"?[r,s]:[s,r];return l().then(()=>h())}else return Promise.all([r(),s(n.delay)])}function Khe(e,t,n=0,c=0,i=0,r=1,s){const d=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),d.push(gw(l,t,{...s,delay:n+(typeof c=="function"?0:c)+$q(e.variantChildren,l,c,i,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(d)}function Zhe(e,t,n={}){e.notify("AnimationStart",t);let c;if(Array.isArray(t)){const i=t.map(r=>gw(e,r,n));c=Promise.all(i)}else if(typeof t=="string")c=gw(e,t,n);else{const i=typeof t=="function"?c1(e,t,n.custom):t;c=Promise.all(jq(e,i,n))}return c.then(()=>{e.notify("AnimationComplete",t)})}function qq(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 Xhe=Xw.length;function Aq(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Aq(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Xhe;n++){const c=Xw[n],i=e.props[c];(W1(i)||i===!1)&&(t[c]=i)}return t}const Yhe=[...Zw].reverse(),Jhe=Zw.length;function Qhe(e){return t=>Promise.all(t.map(({animation:n,options:c})=>Zhe(e,n,c)))}function eue(e){let t=Qhe(e),n=hN(),c=!0;const i=l=>(h,u)=>{const p=c1(e,u,l==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:y,transitionEnd:f,...g}=p;h={...h,...g,...f}}return h};function r(l){t=l(e)}function s(l){const{props:h}=e,u=Aq(e.parent)||{},p=[],y=new Set;let f={},g=1/0;for(let x=0;x<Jhe;x++){const M=Yhe[x],v=n[M],I=h[M]!==void 0?h[M]:u[M],b=W1(I),w=M===l?v.isActive:null;w===!1&&(g=x);let C=I===u[M]&&I!==h[M]&&b;if(C&&c&&e.manuallyAnimateOnMount&&(C=!1),v.protectedKeys={...f},!v.isActive&&w===null||!I&&!v.prevProp||$L(I)||typeof I=="boolean")continue;const _=tue(v.prevProp,I);let L=_||M===l&&v.isActive&&!C&&b||x>g&&b,j=!1;const N=Array.isArray(I)?I:[I];let S=N.reduce(i(M),{});w===!1&&(S={});const{prevResolvedValues:z={}}=v,A={...z,...S},H=$=>{L=!0,y.has($)&&(j=!0,y.delete($)),v.needsAnimating[$]=!0;const q=e.getValue($);q&&(q.liveStyle=!1)};for(const $ in A){const q=S[$],R=z[$];if(f.hasOwnProperty($))continue;let T=!1;mw(q)&&mw(R)?T=!qq(q,R):T=q!==R,T?q!=null?H($):y.add($):q!==void 0&&y.has($)?H($):v.protectedKeys[$]=!0}v.prevProp=I,v.prevResolvedValues=S,v.isActive&&(f={...f,...S}),c&&e.blockInitialAnimation&&(L=!1);const P=C&&_;L&&(!P||j)&&p.push(...N.map($=>{const q={type:M};if(typeof $=="string"&&c&&!P&&e.manuallyAnimateOnMount&&e.parent){const{parent:R}=e,T=c1(R,$);if(R.enteringChildren&&T){const{delayChildren:O}=T.transition||{};q.delay=$q(R.enteringChildren,e,O)}}return{animation:$,options:q}}))}if(y.size){const x={};if(typeof h.initial!="boolean"){const M=c1(e,Array.isArray(h.initial)?h.initial[0]:h.initial);M&&M.transition&&(x.transition=M.transition)}y.forEach(M=>{const v=e.getBaseTarget(M),I=e.getValue(M);I&&(I.liveStyle=!0),x[M]=v??null}),p.push({animation:x})}let m=!!p.length;return c&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(m=!1),c=!1,m?t(p):Promise.resolve()}function d(l,h){if(n[l].isActive===h)return Promise.resolve();e.variantChildren?.forEach(p=>p.animationState?.setActive(l,h)),n[l].isActive=h;const u=s(l);for(const p in n)n[p].protectedKeys={};return u}return{animateChanges:s,setActive:d,setAnimateFunction:r,getState:()=>n,reset:()=>{n=hN()}}}function tue(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!qq(t,e):!1}function Et(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function hN(){return{animate:Et(!0),whileInView:Et(),whileHover:Et(),whileTap:Et(),whileDrag:Et(),whileFocus:Et(),exit:Et()}}class Rt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class aue extends Rt{constructor(t){super(t),t.animationState||(t.animationState=eue(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();$L(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 nue=0;class oue extends Rt{constructor(){super(...arguments),this.id=nue++}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 cue={animation:{Feature:aue},exit:{Feature:oue}};function K1(e,t,n,c={passive:!0}){return e.addEventListener(t,n,c),()=>e.removeEventListener(t,n)}function Q1(e){return{point:{x:e.pageX,y:e.pageY}}}const iue=e=>t=>Kw(t)&&e(t,Q1(t));function D1(e,t,n,c){return K1(e,t,iue(n),c)}const zq=1e-4,rue=1-zq,sue=1+zq,Vq=.01,due=0-Vq,lue=0+Vq;function Be(e){return e.max-e.min}function hue(e,t,n){return Math.abs(e-t)<=n}function uN(e,t,n,c=.5){e.origin=c,e.originPoint=xe(t.min,t.max,e.origin),e.scale=Be(n)/Be(t),e.translate=xe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=rue&&e.scale<=sue||isNaN(e.scale))&&(e.scale=1),(e.translate>=due&&e.translate<=lue||isNaN(e.translate))&&(e.translate=0)}function B1(e,t,n,c){uN(e.x,t.x,n.x,c?c.originX:void 0),uN(e.y,t.y,n.y,c?c.originY:void 0)}function pN(e,t,n){e.min=n.min+t.min,e.max=e.min+Be(t)}function uue(e,t,n){pN(e.x,t.x,n.x),pN(e.y,t.y,n.y)}function yN(e,t,n){e.min=t.min-n.min,e.max=e.min+Be(t)}function R1(e,t,n){yN(e.x,t.x,n.x),yN(e.y,t.y,n.y)}function et(e){return[e("x"),e("y")]}const Pq=({current:e})=>e?e.ownerDocument.defaultView:null,kN=(e,t)=>Math.abs(e-t);function pue(e,t){const n=kN(e.x,t.x),c=kN(e.y,t.y);return Math.sqrt(n**2+c**2)}class Tq{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=iI(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,g=pue(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!f&&!g)return;const{point:m}=y,{timestamp:x}=Ae;this.history.push({...m,timestamp:x});const{onStart:M,onMove:v}=this.handlers;f||(M&&M(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,y)},this.handlePointerMove=(y,f)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=cI(f,this.transformPagePoint),ge.update(this.updatePoint,!0)},this.handlePointerUp=(y,f)=>{this.end();const{onEnd:g,onSessionEnd:m,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const M=iI(y.type==="pointercancel"?this.lastMoveEventInfo:cI(f,this.transformPagePoint),this.history);this.startEvent&&g&&g(y,M),m&&m(y,M)},!Kw(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=c,this.distanceThreshold=s,this.contextWindow=i||window;const d=Q1(t),l=cI(d,this.transformPagePoint),{point:h}=l,{timestamp:u}=Ae;this.history=[{...h,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,iI(l,this.history)),this.removeListeners=X1(D1(this.contextWindow,"pointermove",this.handlePointerMove),D1(this.contextWindow,"pointerup",this.handlePointerUp),D1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),bt(this.updatePoint)}}function cI(e,t){return t?{point:t(e.point)}:e}function mN(e,t){return{x:e.x-t.x,y:e.y-t.y}}function iI({point:e},t){return{point:e,delta:mN(e,Hq(t)),offset:mN(e,yue(t)),velocity:kue(t,.1)}}function yue(e){return e[0]}function Hq(e){return e[e.length-1]}function kue(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,c=null;const i=Hq(e);for(;n>=0&&(c=e[n],!(i.timestamp-c.timestamp>rt(t)));)n--;if(!c)return{x:0,y:0};const r=tt(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 mue(e,{min:t,max:n},c){return t!==void 0&&e<t?e=c?xe(t,e,c.min):Math.max(e,t):n!==void 0&&e>n&&(e=c?xe(n,e,c.max):Math.min(e,n)),e}function fN(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 fue(e,{top:t,left:n,bottom:c,right:i}){return{x:fN(e.x,n,i),y:fN(e.y,t,c)}}function gN(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 gue(e,t){return{x:gN(e.x,t.x),y:gN(e.y,t.y)}}function vue(e,t){let n=.5;const c=Be(e),i=Be(t);return i>c?n=E1(t.min,t.max-c,e.min):c>i&&(n=E1(e.min,e.max-i,t.min)),Lt(0,1,n)}function xue(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 vw=.35;function Mue(e=vw){return e===!1?e=0:e===!0&&(e=vw),{x:vN(e,"left","right"),y:vN(e,"top","bottom")}}function vN(e,t,n){return{min:xN(e,t),max:xN(e,n)}}function xN(e,t){return typeof e=="number"?e:e[t]||0}const _ue=new WeakMap;class Lue{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=be(),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(Q1(p).point)},s=(p,y)=>{const{drag:f,dragPropagation:g,onDragStart:m}=this.getProps();if(f&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Cle(f),!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),et(M=>{let v=this.getAxisMotionValue(M).get()||0;if(mt.test(v)){const{projection:I}=this.visualElement;if(I&&I.layout){const b=I.layout.layoutBox[M];b&&(v=Be(b)*(parseFloat(v)/100))}}this.originPoint[M]=v}),m&&ge.postRender(()=>m(p,y)),fw(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:f,dragDirectionLock:g,onDirectionLock:m,onDrag:x}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:M}=y;if(g&&this.currentDirection===null){this.currentDirection=Iue(M),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",y.point,M),this.updateAxis("y",y.point,M),this.visualElement.render(),x&&x(p,y)},l=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>et(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new Tq(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:c,contextWindow:Pq(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&&ge.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||!di(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+c[t];this.constraints&&this.constraints[t]&&(s=mue(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&&Xc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&c?this.constraints=fue(c.layoutBox,t):this.constraints=!1,this.elastic=Mue(n),i!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&et(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=xue(c.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Xc(t))return!1;const c=t.current;st(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=bhe(c,i.root,this.visualElement.getTransformPagePoint());let s=gue(i.layout.layoutBox,r);if(n){const d=n(_he(s));this.hasMutatedConstraints=!!d,d&&(s=Mq(d))}return s}startAnimation(t){const{drag:n,dragMomentum:c,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:d}=this.getProps(),l=this.constraints||{},h=et(u=>{if(!di(u,n,this.currentDirection))return;let p=l&&l[u]||{};s&&(p={min:0,max:0});const y=i?200:1e6,f=i?40:1e7,g={type:"inertia",velocity:c?t[u]:0,bounceStiffness:y,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10,...r,...p};return this.startAxisValueAnimation(u,g)});return Promise.all(h).then(d)}startAxisValueAnimation(t,n){const c=this.getAxisMotionValue(t);return fw(this.visualElement,t),c.start(nC(t,c,0,n,this.visualElement,!1))}stopAnimation(){et(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){et(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){et(n=>{const{drag:c}=this.getProps();if(!di(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]-xe(s,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:c}=this.visualElement;if(!Xc(n)||!c||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};et(s=>{const d=this.getAxisMotionValue(s);if(d&&this.constraints!==!1){const l=d.get();i[s]=vue({min:l,max:l},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(),et(s=>{if(!di(s,t,null))return;const d=this.getAxisMotionValue(s),{min:l,max:h}=this.constraints[s];d.set(xe(l,h,i[s]))})}addListeners(){if(!this.visualElement.current)return;_ue.set(this.visualElement,this);const t=this.visualElement.current,n=D1(t,"pointerdown",l=>{const{drag:h,dragListener:u=!0}=this.getProps();h&&u&&this.start(l)}),c=()=>{const{dragConstraints:l}=this.getProps();Xc(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",c);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ge.read(c);const s=K1(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:h})=>{this.isDragging&&h&&(et(u=>{const p=this.getAxisMotionValue(u);p&&(this.originPoint[u]+=l[u].translate,p.set(p.get()+l[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=vw,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:c,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function di(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Iue(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class bue extends Rt{constructor(t){super(t),this.removeGroupControls=nt,this.removeListeners=nt,this.controls=new Lue(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||nt}unmount(){this.removeGroupControls(),this.removeListeners()}}const MN=e=>(t,n)=>{e&&ge.postRender(()=>e(t,n))};class wue extends Rt{constructor(){super(...arguments),this.removePointerDownListener=nt}onPointerDown(t){this.session=new Tq(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Pq(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:c,onPanEnd:i}=this.node.getProps();return{onSessionStart:MN(t),onStart:MN(n),onMove:c,onEnd:(r,s)=>{delete this.session,i&&ge.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=D1(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 pL={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function _N(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const m1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Q.test(e))e=parseFloat(e);else return e;const n=_N(e,t.target.x),c=_N(e,t.target.y);return`${n}% ${c}%`}},Cue={correct:(e,{treeScale:t,projectionDelta:n})=>{const c=e,i=Dt.parse(e);if(i.length>5)return c;const r=Dt.createTransformer(e),s=typeof i[0]!="number"?1:0,d=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=d,i[1+s]/=l;const h=xe(d,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=h),typeof i[3+s]=="number"&&(i[3+s]/=h),r(i)}};let rI=!1;class Nue extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c,layoutId:i}=this.props,{projection:r}=t;Xle(Sue),r&&(n.group&&n.group.add(r),c&&c.register&&i&&c.register(r),rI&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),pL.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:c,drag:i,isPresent:r}=this.props,{projection:s}=c;return s&&(s.isPresent=r,rI=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||ge.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Gw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c}=this.props,{projection:i}=t;rI=!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 Dq(e){const[t,n]=rq(),c=k.useContext(bw);return o.jsx(Nue,{...e,layoutGroup:c,switchLayoutGroup:k.useContext(vq),isPresent:t,safeToRemove:n})}const Sue={borderRadius:{...m1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:m1,borderTopRightRadius:m1,borderBottomLeftRadius:m1,borderBottomRightRadius:m1,boxShadow:Cue};function jue(e,t,n){const c=ze(e)?e:Hc(e);return c.start(nC("",c,t,n)),c.animation}const $ue=(e,t)=>e.depth-t.depth;class que{constructor(){this.children=[],this.isDirty=!1}add(t){Nw(this.children,t),this.isDirty=!0}remove(t){Sw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort($ue),this.isDirty=!1,this.children.forEach(t)}}function Aue(e,t){const n=We.now(),c=({timestamp:i})=>{const r=i-n;r>=t&&(bt(c),e(r-t))};return ge.setup(c,!0),()=>bt(c)}const Bq=["TopLeft","TopRight","BottomLeft","BottomRight"],zue=Bq.length,LN=e=>typeof e=="string"?parseFloat(e):e,IN=e=>typeof e=="number"||Q.test(e);function Vue(e,t,n,c,i,r){i?(e.opacity=xe(0,n.opacity??1,Pue(c)),e.opacityExit=xe(t.opacity??1,0,Tue(c))):r&&(e.opacity=xe(t.opacity??1,n.opacity??1,c));for(let s=0;s<zue;s++){const d=`border${Bq[s]}Radius`;let l=bN(t,d),h=bN(n,d);if(l===void 0&&h===void 0)continue;l||(l=0),h||(h=0),l===0||h===0||IN(l)===IN(h)?(e[d]=Math.max(xe(LN(l),LN(h),c),0),(mt.test(h)||mt.test(l))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=xe(t.rotate||0,n.rotate||0,c))}function bN(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Pue=Rq(0,.5,w$),Tue=Rq(.5,.95,nt);function Rq(e,t,n){return c=>c<e?0:c>t?1:n(E1(e,t,c))}function wN(e,t){e.min=t.min,e.max=t.max}function Xe(e,t){wN(e.x,t.x),wN(e.y,t.y)}function CN(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function NN(e,t,n,c,i){return e-=t,e=LL(e,1/n,c),i!==void 0&&(e=LL(e,1/i,c)),e}function Hue(e,t=0,n=1,c=.5,i,r=e,s=e){if(mt.test(t)&&(t=parseFloat(t),t=xe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let d=xe(r.min,r.max,c);e===r&&(d-=t),e.min=NN(e.min,t,n,d,i),e.max=NN(e.max,t,n,d,i)}function SN(e,t,[n,c,i],r,s){Hue(e,t[n],t[c],t[i],t.scale,r,s)}const Due=["x","scaleX","originX"],Bue=["y","scaleY","originY"];function jN(e,t,n,c){SN(e.x,t,Due,n?n.x:void 0,c?c.x:void 0),SN(e.y,t,Bue,n?n.y:void 0,c?c.y:void 0)}function $N(e){return e.translate===0&&e.scale===1}function Fq(e){return $N(e.x)&&$N(e.y)}function qN(e,t){return e.min===t.min&&e.max===t.max}function Rue(e,t){return qN(e.x,t.x)&&qN(e.y,t.y)}function AN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Eq(e,t){return AN(e.x,t.x)&&AN(e.y,t.y)}function zN(e){return Be(e.x)/Be(e.y)}function VN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Fue{constructor(){this.members=[]}add(t){Nw(this.members,t),t.scheduleRender()}remove(t){if(Sw(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 Eue(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:h,rotate:u,rotateX:p,rotateY:y,skewX:f,skewY:g}=n;h&&(c=`perspective(${h}px) ${c}`),u&&(c+=`rotate(${u}deg) `),p&&(c+=`rotateX(${p}deg) `),y&&(c+=`rotateY(${y}deg) `),f&&(c+=`skewX(${f}deg) `),g&&(c+=`skewY(${g}deg) `)}const d=e.x.scale*t.x,l=e.y.scale*t.y;return(d!==1||l!==1)&&(c+=`scale(${d}, ${l})`),c||"none"}const sI=["","X","Y","Z"],Oue=1e3;let Uue=0;function dI(e,t,n,c){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),c&&(c[e]=0))}function Oq(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Sq(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ge,!(i||r))}const{parent:c}=e;c&&!c.hasCheckedOptimisedAppear&&Oq(c)}function Uq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:c,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=Uue++,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(Kue),this.nodes.forEach(Jue),this.nodes.forEach(Que),this.nodes.forEach(Zue)},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 l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new que)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new $w),this.eventHandlers.get(s).add(d)}notifyListeners(s,...d){const l=this.eventHandlers.get(s);l&&l.notify(...d)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=iq(s)&&!Ale(s),this.instance=s;const{layoutId:d,layout:l,visualElement:h}=this.options;if(h&&!h.current&&h.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||d)&&(this.isLayoutDirty=!0),e){let u,p=0;const y=()=>this.root.updateBlockedByResize=!1;ge.read(()=>{p=window.innerWidth}),e(s,()=>{const f=window.innerWidth;f!==p&&(p=f,this.root.updateBlockedByResize=!0,u&&u(),u=Aue(y,250),pL.hasAnimatedSinceResize&&(pL.hasAnimatedSinceResize=!1,this.nodes.forEach(HN)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&h&&(d||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:p,hasRelativeLayoutChanged:y,layout:f})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||h.getDefaultTransition()||ope,{onLayoutAnimationStart:m,onLayoutAnimationComplete:x}=h.getProps(),M=!this.targetLayout||!Eq(this.targetLayout,f),v=!p&&y;if(this.options.layoutRoot||this.resumeFrom||v||p&&(M||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const I={...Uw(g,"layout"),onPlay:m,onComplete:x};(h.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I),this.setAnimationOrigin(u,v)}else p||HN(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=f})}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(),bt(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(epe),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&&Oq(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:l}=this.options;if(d===void 0&&!l)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(PN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(TN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Yue),this.nodes.forEach(Wue),this.nodes.forEach(Gue)):this.nodes.forEach(TN),this.clearAllSnapshots();const d=We.now();Ae.delta=Lt(0,1e3/60,d-Ae.timestamp),Ae.timestamp=d,Ae.isProcessing=!0,YL.update.process(Ae),YL.preRender.process(Ae),YL.render.process(Ae),Ae.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Gw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Xue),this.sharedNodes.forEach(tpe)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ge.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ge.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Be(this.snapshot.measuredBox.x)&&!Be(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 l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=be(),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 l=c(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!Fq(this.projectionDelta),l=this.getTransformTemplate(),h=l?l(this.latestValues,""):void 0,u=h!==this.prevTransformTemplateValue;s&&this.instance&&(d||Nc(this.latestValues)||u)&&(i(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const d=this.measurePageBox();let l=this.removeElementScroll(d);return s&&(l=this.removeTransform(l)),cpe(l),{animationId:this.root.animationId,measuredBox:d,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return be();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ipe))){const{scroll:h}=this.root;h&&(Yc(d.x,h.offset.x),Yc(d.y,h.offset.y))}return d}removeElementScroll(s){const d=be();if(Xe(d,s),this.scroll?.wasRoot)return d;for(let l=0;l<this.path.length;l++){const h=this.path[l],{scroll:u,options:p}=h;h!==this.root&&u&&p.layoutScroll&&(u.wasRoot&&Xe(d,s),Yc(d.x,u.offset.x),Yc(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const l=be();Xe(l,s);for(let h=0;h<this.path.length;h++){const u=this.path[h];!d&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Jc(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Nc(u.latestValues)&&Jc(l,u.latestValues)}return Nc(this.latestValues)&&Jc(l,this.latestValues),l}removeTransform(s){const d=be();Xe(d,s);for(let l=0;l<this.path.length;l++){const h=this.path[l];if(!h.instance||!Nc(h.latestValues))continue;pw(h.latestValues)&&h.updateSnapshot();const u=be(),p=h.measurePageBox();Xe(u,p),jN(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,u)}return Nc(this.latestValues)&&jN(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!==Ae.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 l=!!this.resumingFrom||this!==d;if(!(s||l&&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=Ae.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=be(),this.relativeTargetOrigin=be(),R1(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),Xe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=be(),this.targetWithTransforms=be()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),uue(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Xe(this.target,this.layout.layoutBox),Lq(this.target,this.targetDelta)):Xe(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=be(),this.relativeTargetOrigin=be(),R1(this.relativeTargetOrigin,this.target,y.target),Xe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||pw(this.parent.latestValues)||_q(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 l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Ae.timestamp&&(l=!1),l)return;const{layout:h,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||!(h||u))return;Xe(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;Ihe(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=be());const{target:f}=s;if(!f){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(CN(this.prevProjectionDelta.x,this.projectionDelta.x),CN(this.prevProjectionDelta.y,this.projectionDelta.y)),B1(this.projectionDelta,this.layoutCorrected,f,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!VN(this.projectionDelta.x,this.prevProjectionDelta.x)||!VN(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",f))}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=Qc(),this.projectionDelta=Qc(),this.projectionDeltaWithTransform=Qc()}setAnimationOrigin(s,d=!1){const l=this.snapshot,h=l?l.latestValues:{},u={...this.latestValues},p=Qc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=be(),f=l?l.source:void 0,g=this.layout?this.layout.source:void 0,m=f!==g,x=this.getStack(),M=!x||x.members.length<=1,v=!!(m&&!M&&this.options.crossfade===!0&&!this.path.some(npe));this.animationProgress=0;let I;this.mixTargetDelta=b=>{const w=b/1e3;DN(p.x,s.x,w),DN(p.y,s.y,w),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(R1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),ape(this.relativeTarget,this.relativeTargetOrigin,y,w),I&&Rue(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=be()),Xe(I,this.relativeTarget)),m&&(this.animationValues=u,Vue(u,h,this.latestValues,w,v,M)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(bt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ge.update(()=>{pL.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Hc(0)),this.currentAnimation=jue(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(Oue),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:d,target:l,layout:h,latestValues:u}=s;if(!(!d||!l||!h)){if(this!==s&&this.layout&&h&&Wq(this.options.animationType,this.layout.layoutBox,h.layoutBox)){l=this.target||be();const p=Be(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+p;const y=Be(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+y}Xe(d,l),Jc(d,u),B1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Fue),this.sharedNodes.get(s).add(d);const h=d.options.initialPromotionConfig;d.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.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:l}={}){const h=this.getStack();h&&h.promote(this,l),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:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(d=!0),!d)return;const h={};l.z&&dI("z",s,h,this.animationValues);for(let u=0;u<sI.length;u++)dI(`rotate${sI[u]}`,s,h,this.animationValues),dI(`skew${sI[u]}`,s,h,this.animationValues);s.render();for(const u in h)s.setStaticValue(u,h[u]),this.animationValues&&(this.animationValues[u]=h[u]);s.scheduleRender()}applyProjectionStyles(s,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=uL(d?.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none";return}const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=uL(d?.pointerEvents)||""),this.hasProjected&&!Nc(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=h.animationValues||h.latestValues;this.applyTransformsToTarget();let p=Eue(this.projectionDeltaWithTransform,this.treeScale,u);l&&(p=l(u,p)),s.transform=p;const{x:y,y:f}=this.projectionDelta;s.transformOrigin=`${y.origin*100}% ${f.origin*100}% 0`,h.animationValues?s.opacity=h===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=h===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const g in G1){if(u[g]===void 0)continue;const{correct:m,applyTo:x,isCSSVariable:M}=G1[g],v=p==="none"?u[g]:m(u[g],h);if(x){const I=x.length;for(let b=0;b<I;b++)s[x[b]]=v}else M?this.options.visualElement.renderState.vars[g]=v:s[g]=v}this.options.layoutId&&(s.pointerEvents=h===this?uL(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(PN),this.root.sharedNodes.clear()}}}function Wue(e){e.updateLayout()}function Gue(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"?et(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Be(p);p.min=n[u].min,p.max=p.min+y}):Wq(i,t.layoutBox,n)&&et(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Be(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=Qc();B1(s,n,t.layoutBox);const d=Qc();r?B1(d,e.applyTransform(c,!0),t.measuredBox):B1(d,n,t.layoutBox);const l=!Fq(s);let h=!1;if(!e.resumeFrom){const u=e.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:p,layout:y}=u;if(p&&y){const f=be();R1(f,t.layoutBox,p.layoutBox);const g=be();R1(g,n,y.layoutBox),Eq(f,g)||(h=!0),u.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=f,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:d,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function Kue(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 Zue(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Xue(e){e.clearSnapshot()}function PN(e){e.clearMeasurements()}function TN(e){e.isLayoutDirty=!1}function Yue(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 Jue(e){e.resolveTargetDelta()}function Que(e){e.calcProjection()}function epe(e){e.resetSkewAndRotation()}function tpe(e){e.removeLeadSnapshot()}function DN(e,t,n){e.translate=xe(t.translate,0,n),e.scale=xe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function BN(e,t,n,c){e.min=xe(t.min,n.min,c),e.max=xe(t.max,n.max,c)}function ape(e,t,n,c){BN(e.x,t.x,n.x,c),BN(e.y,t.y,n.y,c)}function npe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const ope={duration:.45,ease:[.4,0,.1,1]},RN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),FN=RN("applewebkit/")&&!RN("chrome/")?Math.round:nt;function EN(e){e.min=FN(e.min),e.max=FN(e.max)}function cpe(e){EN(e.x),EN(e.y)}function Wq(e,t,n){return e==="position"||e==="preserve-aspect"&&!hue(zN(t),zN(n),.2)}function ipe(e){return e!==e.root&&e.scroll?.wasRoot}const rpe=Uq({attachResizeListener:(e,t)=>K1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),lI={current:void 0},Gq=Uq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!lI.current){const e=new rpe({});e.mount(window),e.setOptions({layoutScroll:!0}),lI.current=e}return lI.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),spe={pan:{Feature:wue},drag:{Feature:bue,ProjectionNode:Gq,MeasureLayout:Dq}};function ON(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&&ge.postRender(()=>r(t,Q1(t)))}class dpe extends Rt{mount(){const{current:t}=this.node;t&&(this.unmount=Nle(t,(n,c)=>(ON(this.node,c,"Start"),i=>ON(this.node,i,"End"))))}unmount(){}}class lpe extends Rt{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=X1(K1(this.node.current,"focus",()=>this.onFocus()),K1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function UN(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&&ge.postRender(()=>r(t,Q1(t)))}class hpe extends Rt{mount(){const{current:t}=this.node;t&&(this.unmount=qle(t,(n,c)=>(UN(this.node,c,"Start"),(i,{success:r})=>UN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const xw=new WeakMap,hI=new WeakMap,upe=e=>{const t=xw.get(e.target);t&&t(e)},ppe=e=>{e.forEach(upe)};function ype({root:e,...t}){const n=e||document;hI.has(n)||hI.set(n,{});const c=hI.get(n),i=JSON.stringify(t);return c[i]||(c[i]=new IntersectionObserver(ppe,{root:e,...t})),c[i]}function kpe(e,t,n){const c=ype(t);return xw.set(e,n),c.observe(e),()=>{xw.delete(e),c.unobserve(e)}}const mpe={some:0,all:1};class fpe extends Rt{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:mpe[i]},d=l=>{const{isIntersecting:h}=l;if(this.isInView===h||(this.isInView=h,r&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:u,onViewportLeave:p}=this.node.getProps(),y=h?u:p;y&&y(l)};return kpe(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(gpe(t,n))&&this.startObserver()}unmount(){}}function gpe({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const vpe={inView:{Feature:fpe},tap:{Feature:hpe},focus:{Feature:lpe},hover:{Feature:dpe}},xpe={layout:{ProjectionNode:Gq,MeasureLayout:Dq}},Mpe={...cue,...vpe,...spe,...xpe},oC=Mhe(Mpe,zhe);function Kq(e){const t=Bt(()=>Hc(e)),{isStatic:n}=k.useContext(SL);if(n){const[,c]=k.useState(e);k.useEffect(()=>t.on("change",c),[])}return t}function Zq(e,t){const n=Kq(t()),c=()=>n.set(t());return c(),Cw(()=>{const i=()=>ge.preRender(c,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),bt(c)}}),n}function _pe(e){H1.current=[],e();const t=Zq(H1.current,e);return H1.current=void 0,t}function Lpe(e,t,n,c){if(typeof e=="function")return _pe(e);const i=typeof t=="function"?t:zle(t,n,c);return Array.isArray(e)?WN(e,i):WN([e],([r])=>i(r))}function WN(e,t){const n=Bt(()=>[]);return Zq(e,()=>{n.length=0;const c=e.length;for(let i=0;i<c;i++)n[i]=e[i].get();return t(n)})}class Ipe{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 bpe=()=>new Ipe;function wpe(){return Bt(bpe)}const Xq=k.createContext(null);function Cpe(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],l=s.layout,h=xe(l.min,l.max,.5);return r===1&&d.layout.max+n>h||r===-1&&d.layout.min+n<h?Bde(e,i,i+r):e}function Npe({children:e,as:t="ul",axis:n="y",onReorder:c,values:i,...r},s){const d=Bt(()=>oC[t]),l=[],h=k.useRef(!1);st(!!i,"Reorder.Group must be provided a values prop","reorder-values");const u={axis:n,registerItem:(p,y)=>{const f=l.findIndex(g=>p===g.value);f!==-1?l[f].layout=y[n]:l.push({value:p,layout:y[n]}),l.sort($pe)},updateOrder:(p,y,f)=>{if(h.current)return;const g=Cpe(l,p,y,f);l!==g&&(h.current=!0,c(g.map(jpe).filter(m=>i.indexOf(m)!==-1)))}};return k.useEffect(()=>{h.current=!1}),o.jsx(d,{...r,ref:s,ignoreStrict:!0,children:o.jsx(Xq.Provider,{value:u,children:e})})}const Spe=k.forwardRef(Npe);function jpe(e){return e.value}function $pe(e,t){return e.layout.min-t.layout.min}function GN(e,t=0){return ze(e)?e:Kq(t)}function qpe({children:e,style:t={},value:n,as:c="li",onDrag:i,layout:r=!0,...s},d){const l=Bt(()=>oC[c]),h=k.useContext(Xq),u={x:GN(t.x),y:GN(t.y)},p=Lpe([u.x,u.y],([m,x])=>m||x?1:"unset");st(!!h,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:f,updateOrder:g}=h;return o.jsx(l,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(m,x)=>{const{velocity:M}=x;M[y]&&g(n,u[y].get(),M[y]),i&&i(m,x)},onLayoutMeasure:m=>f(n,m),ref:d,ignoreStrict:!0,children:e})}const Ape=k.forwardRef(qpe),IL=[o.jsx(P1,{size:18}),o.jsx(zt,{size:18}),o.jsx(z1,{size:18}),o.jsx(Vt,{size:18}),o.jsx(b1,{size:18}),o.jsx(I1,{size:18})],zpe=({items:e,onReorder:t,draggable:n=!1,className:c,header:i,headerStyle:r,itemsDraggable:s=!0})=>{const[d,l]=k.useState(e??[]);return k.useEffect(()=>{e&&Array.isArray(e)?(e.forEach((h,u)=>{if(h.icon==null&&(h.icon=IL[u%IL.length]),typeof h.text=="string"&&h.text.includes("/")){const p=String(h.text).split("/"),y=p[0].trim(),g=p.slice(1).join("/").trim().match(/^(\d+)(.*)$/);if(g){const m=g[1],x=g[2]??"",M=m.padStart(3,"0");h.text=`${y} / ${M}${x}`}}}),l(e)):l([])},[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(Spe,{axis:"y",values:d,onReorder:h=>{l(h),t?.(h)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((h,u)=>o.jsx(Vpe,{value:h,index:u,itemsDraggable:s},String(h.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 Vpe({value:e,index:t}){const n=wpe(),c=IL[t%IL.length]??null;return o.jsx(Ape,{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(k$,{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 Ppe(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 Tpe(e){return!e||typeof e=="string"&&e.trim()===""}function Hpe(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function Dpe(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function Bpe(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 Rpe(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 Fpe(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 Epe(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 bL(e,t){const n=Ppe(e,t);if(n)return n;if(Tpe(e))return{isValid:!0};const c=e.toString();switch(t.type){case"email":{const r=Hpe(c);if(r)return r;break}case"url":{const r=Dpe(c);if(r)return r;break}case"number":{const r=Bpe(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=Rpe(e,t);if(r)return r;break}case"file":{const r=Fpe(e,t);if(r)return r;break}}const i=Epe(c,t);return i||{isValid:!0}}function Yq(e,t){const n={};let c=!0;for(const i of t){const r=bL(e[i.name],i);r.isValid||(n[i.name]=r.error,c=!1)}return{isValid:c,errors:n}}const Ope="_formContainer_14ads_1",Upe="_headerLine_14ads_17",Wpe="_formTitle_14ads_25",Gpe="_formDescription_14ads_30",Kpe="_sectionTitle_14ads_37",Zpe="_sectionHelp_14ads_44",Xpe="_fieldHelp_14ads_50",Ype="_gridContainer_14ads_58",Jpe="_fieldGridItem_14ads_70",Qpe="_sectionFull_14ads_105",eye="_formFooter_14ads_110",tye="_footerLeft_14ads_118",aye="_footerRight_14ads_119",nye="_cancelLink_14ads_125",oye="_submitButton_14ads_136",cye="_fieldLabel_14ads_148",iye="_inputWrapper_14ads_163",rye="_inputInner_14ads_187",sye="_hasPrefix_14ads_196",dye="_inputBase_14ads_196",lye="_iconPrefix_14ads_292",hye="_iconSuffix_14ads_293",uye="_passwordToggle_14ads_319",pye="_fieldError_14ads_365",yye="_fieldInvalid_14ads_372",ke={formContainer:Ope,headerLine:Upe,formTitle:Wpe,formDescription:Gpe,sectionTitle:Kpe,sectionHelp:Zpe,fieldHelp:Xpe,gridContainer:Ype,fieldGridItem:Jpe,sectionFull:Qpe,formFooter:eye,footerLeft:tye,footerRight:aye,cancelLink:nye,submitButton:oye,fieldLabel:cye,inputWrapper:iye,inputInner:rye,hasPrefix:sye,inputBase:dye,iconPrefix:lye,iconSuffix:hye,passwordToggle:uye,fieldError:pye,fieldInvalid:yye},Jq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const[s,d]=k.useState(!1),l=e.type==="password",h=e.attributes?.showPasswordToggle??!0,u=l?s?"text":"password":e.type,p=e.attributes?.iconComponent??(e.attributes?.icon?_t[e.attributes.icon]:null),y=e.attributes?.iconPosition??"suffix",f=g=>{n(g.target.value)};return o.jsxs("div",{className:ke.inputWrapper,children:[o.jsx("label",{className:`${ke.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),o.jsxs("div",{className:`${ke.inputInner} ${p&&y==="prefix"?ke.hasPrefix:""}`,children:[p&&y==="prefix"&&o.jsx("span",{className:ke.iconPrefix,children:o.jsx(p,{size:16})}),o.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${ke.inputBase} ${i?ke.fieldInvalid:""}`,value:t??"",onChange:f,onBlur:c,disabled:!!e.disabled,"aria-invalid":!!i,"aria-describedby":e.help?`${e.name}-help`:void 0}),l&&h&&o.jsx("button",{type:"button","aria-label":s?"Masquer le mot de passe":"Afficher le mot de passe",className:ke.passwordToggle,onClick:()=>d(g=>!g),children:s?o.jsx(j1,{size:16}):o.jsx($1,{size:16})}),p&&y==="suffix"&&!l&&o.jsx("span",{className:ke.iconSuffix,children:o.jsx(p,{size:16})})]}),r&&i&&o.jsx("span",{className:ke.fieldError,children:i})]})},kye="_fieldGroup_yb3zi_7",mye="_fieldLabel_yb3zi_11",fye="_required_yb3zi_17",gye="_fieldInput_yb3zi_22",vye="_fieldInvalid_yb3zi_40",xye="_fieldValid_yb3zi_44",Mye="_fieldError_yb3zi_48",_ye="_radioGroup_yb3zi_57",Pt={fieldGroup:kye,fieldLabel:mye,required:fye,fieldInput:gye,fieldInvalid:vye,fieldValid:xye,fieldError:Mye,radioGroup:_ye},AL=({field:e,children:t,error:n,touched:c})=>{const i=c&&n;return o.jsxs("div",{className:Pt.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&o.jsx("label",{className:`${Pt.fieldLabel} ${e.required?Pt.required:""}`,children:e.label}),t,i&&o.jsx("span",{className:Pt.fieldError,children:n})]})},Qq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,l=["form-control",Pt.fieldInput,s?Pt.fieldInvalid:"",d?Pt.fieldValid:""].filter(Boolean).join(" ");return o.jsx(AL,{field:e,error:i,touched:r,children:o.jsx("textarea",{className:l,placeholder:e.placeholder,value:t||"",onChange:h=>n(h.target.value),onBlur:c,rows:4})})},Lye="_wrapper_117u4_1",Iye="_wrapperInvalid_117u4_15",bye="_nativeSelect_117u4_19",wye="_display_117u4_30",Cye="_topLabel_117u4_37",Nye="_valueLine_117u4_45",Sye="_valuePlaceholder_117u4_53",jye="_valueActive_117u4_57",$ye="_caret_117u4_61",qye="_error_117u4_75",Aye="_optionStyle_117u4_89",Ye={wrapper:Lye,wrapperInvalid:Iye,nativeSelect:bye,display:wye,topLabel:Cye,valueLine:Nye,valuePlaceholder:Sye,valueActive:jye,caret:$ye,error:qye,optionStyle:Aye},cC=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=!!(r&&i),d=e.label||"",l=e.placeholder||"",h=e.options?.find(u=>String(u.value)===String(t))?.label??"";return o.jsxs("div",{className:`${Ye.wrapper} ${s?Ye.wrapperInvalid:""} ${t?Ye.wrapperHasValue:""}`,children:[o.jsxs("select",{id:e.name,name:e.name,className:Ye.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:l||`Sélectionnez ${d?.toLowerCase()||""}`}),e.options?.map((u,p)=>o.jsx("option",{value:u.value,className:Ye.optionStyle,children:u.label},p))]}),o.jsxs("div",{className:Ye.display,children:[d&&o.jsx("span",{className:Ye.topLabel,children:d}),o.jsx("span",{className:`${Ye.valueLine} ${t?Ye.valueActive:Ye.valuePlaceholder}`,children:t?h:l}),o.jsx("span",{className:Ye.caret,"aria-hidden":"true"})]}),s&&o.jsx("span",{className:Ye.error,children:i})]})},eA=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx(AL,{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})]})}),tA=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx(AL,{field:e,error:i,touched:r,children:o.jsx("div",{className:Pt.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))})}),zye="_fileInputContainer_r2guc_3",Vye="_customFileInput_r2guc_8",Pye="_fileInputLabel_r2guc_12",Tye="_dragOver_r2guc_39",Hye="_uploadIcon_r2guc_44",Dye="_uploadText_r2guc_50",Bye="_uploadHint_r2guc_56",Rye="_fileList_r2guc_60",Fye="_fileListTitle_r2guc_69",Eye="_fileItem_r2guc_80",Oye="_fileIcon_r2guc_96",Uye="_fileName_r2guc_102",Wye="_fileSize_r2guc_108",Gye="_removeButton_r2guc_114",Kye="_errorText_r2guc_129",Pe={fileInputContainer:zye,customFileInput:Vye,fileInputLabel:Pye,dragOver:Tye,uploadIcon:Hye,uploadText:Dye,uploadHint:Bye,fileList:Rye,fileListTitle:Fye,fileItem:Eye,fileIcon:Oye,fileName:Uye,fileSize:Wye,removeButton:Gye,errorText:Kye},aA=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=k.useRef(null),[d,l]=k.useState(!1),h=x=>{n(x.target.files)},u=()=>{s.current&&s.current.click()},p=x=>{x.preventDefault(),l(!0)},y=()=>{l(!1)},f=x=>{x.preventDefault(),l(!1),x.dataTransfer.files&&x.dataTransfer.files.length>0&&n(x.dataTransfer.files)},g=x=>{if(!t)return;const M=Array.from(t);M.splice(x,1);const v=new DataTransfer;M.forEach(I=>v.items.add(I)),n(v.files)},m=x=>{if(x===0)return"0 Bytes";const M=1024,v=["Bytes","KB","MB","GB"],I=Math.floor(Math.log(x)/Math.log(M));return parseFloat((x/Math.pow(M,I)).toFixed(2))+" "+v[I]};return o.jsxs("div",{className:`${Pe.fileInputContainer} ${r&&i?Pe.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:h,onBlur:c,ref:s,className:Pe.customFileInput}),o.jsxs("label",{htmlFor:e.name,className:`${Pe.fileInputLabel} ${d?Pe.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:f,onClick:u,tabIndex:0,children:[o.jsx("div",{className:Pe.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:Pe.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),o.jsxs("div",{className:Pe.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&o.jsxs("div",{className:Pe.fileList,children:[o.jsx("div",{className:Pe.fileListTitle,children:"Fichiers sélectionnés:"}),o.jsx("ul",{children:Array.from(t).map((x,M)=>o.jsxs("li",{className:Pe.fileItem,children:[o.jsx("div",{className:Pe.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:Pe.fileName,children:x.name}),o.jsx("div",{className:Pe.fileSize,children:m(x.size)}),o.jsx("button",{type:"button",className:Pe.removeButton,onClick:v=>{v.stopPropagation(),g(M)},"aria-label":`Supprimer ${x.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"})]})})]},M))})]}),r&&i&&o.jsx("div",{className:Pe.errorText,children:i})]})},Zye="_container_ecah4_2",Xye="_label_ecah4_6",Yye="_requiredIndicator_ecah4_13",Jye="_input_ecah4_18",Qye="_inputError_ecah4_49",e4e="_errorMessage_ecah4_58",Wc={container:Zye,label:Xye,requiredIndicator:Yye,input:Jye,inputError:Qye,errorMessage:e4e},nA=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r,labelColor:s="black",backgroundColor:d="white"})=>{const l=e.type==="month"?"month":e.type==="week"?"week":e.type==="time"?"time":e.type==="datetime-local"?"datetime-local":"date";return o.jsxs("div",{className:Wc.container,children:[o.jsxs("label",{htmlFor:e.name,className:Wc.label,style:{color:s},children:[e.label,e.required&&o.jsx("span",{className:Wc.requiredIndicator,children:"*"})]}),o.jsx("input",{type:l,id:e.name,name:e.name,value:t||"",onChange:h=>n(h.target.value),onBlur:c,className:`${Wc.input} ${r&&i?Wc.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:Wc.errorMessage,children:i})]})},t4e="_rangeContainer_cyqk3_3",a4e={rangeContainer:t4e},oA=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsxs("div",{className:`mb-3 ${a4e.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})]}),n4e="_colorPickerContainer_1wxgj_2",o4e="_colorInput_1wxgj_19",c4e="_colorValue_1wxgj_39",uI={colorPickerContainer:n4e,colorInput:o4e,colorValue:c4e},cA=({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:uI.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:uI.colorInput}),o.jsx("span",{className:uI.colorValue,children:t})]}),r&&i&&o.jsx("div",{className:"invalid-feedback",children:i})]}),iA=({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(aA,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(s.includes(e.type))return o.jsx(nA,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="range")return o.jsx(oA,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="color")return o.jsx(cA,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});switch(e.type){case"textarea":return o.jsx(Qq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"select":return o.jsx(cC,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"checkbox":return o.jsx(eA,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"radio":return o.jsx(tA,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});default:return o.jsx(Jq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})}};var pI,KN;function i4e(){if(KN)return pI;KN=1;function e(){this.__data__=[],this.size=0}return pI=e,pI}var yI,ZN;function rA(){if(ZN)return yI;ZN=1;function e(t,n){return t===n||t!==t&&n!==n}return yI=e,yI}var kI,XN;function zL(){if(XN)return kI;XN=1;var e=rA();function t(n,c){for(var i=n.length;i--;)if(e(n[i][0],c))return i;return-1}return kI=t,kI}var mI,YN;function r4e(){if(YN)return mI;YN=1;var e=zL(),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 mI=c,mI}var fI,JN;function s4e(){if(JN)return fI;JN=1;var e=zL();function t(n){var c=this.__data__,i=e(c,n);return i<0?void 0:c[i][1]}return fI=t,fI}var gI,QN;function d4e(){if(QN)return gI;QN=1;var e=zL();function t(n){return e(this.__data__,n)>-1}return gI=t,gI}var vI,eS;function l4e(){if(eS)return vI;eS=1;var e=zL();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 vI=t,vI}var xI,tS;function VL(){if(tS)return xI;tS=1;var e=i4e(),t=r4e(),n=s4e(),c=d4e(),i=l4e();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,xI=r,xI}var MI,aS;function h4e(){if(aS)return MI;aS=1;var e=VL();function t(){this.__data__=new e,this.size=0}return MI=t,MI}var _I,nS;function u4e(){if(nS)return _I;nS=1;function e(t){var n=this.__data__,c=n.delete(t);return this.size=n.size,c}return _I=e,_I}var LI,oS;function p4e(){if(oS)return LI;oS=1;function e(t){return this.__data__.get(t)}return LI=e,LI}var II,cS;function y4e(){if(cS)return II;cS=1;function e(t){return this.__data__.has(t)}return II=e,II}var bI,iS;function sA(){if(iS)return bI;iS=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return bI=e,bI}var wI,rS;function wt(){if(rS)return wI;rS=1;var e=sA(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return wI=n,wI}var CI,sS;function iC(){if(sS)return CI;sS=1;var e=wt(),t=e.Symbol;return CI=t,CI}var NI,dS;function k4e(){if(dS)return NI;dS=1;var e=iC(),t=Object.prototype,n=t.hasOwnProperty,c=t.toString,i=e?e.toStringTag:void 0;function r(s){var d=n.call(s,i),l=s[i];try{s[i]=void 0;var h=!0}catch{}var u=c.call(s);return h&&(d?s[i]=l:delete s[i]),u}return NI=r,NI}var SI,lS;function m4e(){if(lS)return SI;lS=1;var e=Object.prototype,t=e.toString;function n(c){return t.call(c)}return SI=n,SI}var jI,hS;function PL(){if(hS)return jI;hS=1;var e=iC(),t=k4e(),n=m4e(),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 jI=s,jI}var $I,uS;function dA(){if(uS)return $I;uS=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return $I=e,$I}var qI,pS;function lA(){if(pS)return qI;pS=1;var e=PL(),t=dA(),n="[object AsyncFunction]",c="[object Function]",i="[object GeneratorFunction]",r="[object Proxy]";function s(d){if(!t(d))return!1;var l=e(d);return l==c||l==i||l==n||l==r}return qI=s,qI}var AI,yS;function f4e(){if(yS)return AI;yS=1;var e=wt(),t=e["__core-js_shared__"];return AI=t,AI}var zI,kS;function g4e(){if(kS)return zI;kS=1;var e=f4e(),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 zI=n,zI}var VI,mS;function hA(){if(mS)return VI;mS=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 VI=n,VI}var PI,fS;function v4e(){if(fS)return PI;fS=1;var e=lA(),t=g4e(),n=dA(),c=hA(),i=/[\\^$.*+?()[\]{}|]/g,r=/^\[object .+?Constructor\]$/,s=Function.prototype,d=Object.prototype,l=s.toString,h=d.hasOwnProperty,u=RegExp("^"+l.call(h).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(y){if(!n(y)||t(y))return!1;var f=e(y)?u:r;return f.test(c(y))}return PI=p,PI}var TI,gS;function x4e(){if(gS)return TI;gS=1;function e(t,n){return t?.[n]}return TI=e,TI}var HI,vS;function h1(){if(vS)return HI;vS=1;var e=v4e(),t=x4e();function n(c,i){var r=t(c,i);return e(r)?r:void 0}return HI=n,HI}var DI,xS;function rC(){if(xS)return DI;xS=1;var e=h1(),t=wt(),n=e(t,"Map");return DI=n,DI}var BI,MS;function TL(){if(MS)return BI;MS=1;var e=h1(),t=e(Object,"create");return BI=t,BI}var RI,_S;function M4e(){if(_S)return RI;_S=1;var e=TL();function t(){this.__data__=e?e(null):{},this.size=0}return RI=t,RI}var FI,LS;function _4e(){if(LS)return FI;LS=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return FI=e,FI}var EI,IS;function L4e(){if(IS)return EI;IS=1;var e=TL(),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 EI=i,EI}var OI,bS;function I4e(){if(bS)return OI;bS=1;var e=TL(),t=Object.prototype,n=t.hasOwnProperty;function c(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return OI=c,OI}var UI,wS;function b4e(){if(wS)return UI;wS=1;var e=TL(),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 UI=n,UI}var WI,CS;function w4e(){if(CS)return WI;CS=1;var e=M4e(),t=_4e(),n=L4e(),c=I4e(),i=b4e();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,WI=r,WI}var GI,NS;function C4e(){if(NS)return GI;NS=1;var e=w4e(),t=VL(),n=rC();function c(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return GI=c,GI}var KI,SS;function N4e(){if(SS)return KI;SS=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return KI=e,KI}var ZI,jS;function HL(){if(jS)return ZI;jS=1;var e=N4e();function t(n,c){var i=n.__data__;return e(c)?i[typeof c=="string"?"string":"hash"]:i.map}return ZI=t,ZI}var XI,$S;function S4e(){if($S)return XI;$S=1;var e=HL();function t(n){var c=e(this,n).delete(n);return this.size-=c?1:0,c}return XI=t,XI}var YI,qS;function j4e(){if(qS)return YI;qS=1;var e=HL();function t(n){return e(this,n).get(n)}return YI=t,YI}var JI,AS;function $4e(){if(AS)return JI;AS=1;var e=HL();function t(n){return e(this,n).has(n)}return JI=t,JI}var QI,zS;function q4e(){if(zS)return QI;zS=1;var e=HL();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 QI=t,QI}var eb,VS;function uA(){if(VS)return eb;VS=1;var e=C4e(),t=S4e(),n=j4e(),c=$4e(),i=q4e();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,eb=r,eb}var tb,PS;function A4e(){if(PS)return tb;PS=1;var e=VL(),t=rC(),n=uA(),c=200;function i(r,s){var d=this.__data__;if(d instanceof e){var l=d.__data__;if(!t||l.length<c-1)return l.push([r,s]),this.size=++d.size,this;d=this.__data__=new n(l)}return d.set(r,s),this.size=d.size,this}return tb=i,tb}var ab,TS;function z4e(){if(TS)return ab;TS=1;var e=VL(),t=h4e(),n=u4e(),c=p4e(),i=y4e(),r=A4e();function s(d){var l=this.__data__=new e(d);this.size=l.size}return s.prototype.clear=t,s.prototype.delete=n,s.prototype.get=c,s.prototype.has=i,s.prototype.set=r,ab=s,ab}var nb,HS;function V4e(){if(HS)return nb;HS=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return nb=t,nb}var ob,DS;function P4e(){if(DS)return ob;DS=1;function e(t){return this.__data__.has(t)}return ob=e,ob}var cb,BS;function T4e(){if(BS)return cb;BS=1;var e=uA(),t=V4e(),n=P4e();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,cb=c,cb}var ib,RS;function H4e(){if(RS)return ib;RS=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 ib=e,ib}var rb,FS;function D4e(){if(FS)return rb;FS=1;function e(t,n){return t.has(n)}return rb=e,rb}var sb,ES;function pA(){if(ES)return sb;ES=1;var e=T4e(),t=H4e(),n=D4e(),c=1,i=2;function r(s,d,l,h,u,p){var y=l&c,f=s.length,g=d.length;if(f!=g&&!(y&&g>f))return!1;var m=p.get(s),x=p.get(d);if(m&&x)return m==d&&x==s;var M=-1,v=!0,I=l&i?new e:void 0;for(p.set(s,d),p.set(d,s);++M<f;){var b=s[M],w=d[M];if(h)var C=y?h(w,b,M,d,s,p):h(b,w,M,s,d,p);if(C!==void 0){if(C)continue;v=!1;break}if(I){if(!t(d,function(_,L){if(!n(I,L)&&(b===_||u(b,_,l,h,p)))return I.push(L)})){v=!1;break}}else if(!(b===w||u(b,w,l,h,p))){v=!1;break}}return p.delete(s),p.delete(d),v}return sb=r,sb}var db,OS;function B4e(){if(OS)return db;OS=1;var e=wt(),t=e.Uint8Array;return db=t,db}var lb,US;function R4e(){if(US)return lb;US=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i,r){c[++n]=[r,i]}),c}return lb=e,lb}var hb,WS;function F4e(){if(WS)return hb;WS=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i){c[++n]=i}),c}return hb=e,hb}var ub,GS;function E4e(){if(GS)return ub;GS=1;var e=iC(),t=B4e(),n=rA(),c=pA(),i=R4e(),r=F4e(),s=1,d=2,l="[object Boolean]",h="[object Date]",u="[object Error]",p="[object Map]",y="[object Number]",f="[object RegExp]",g="[object Set]",m="[object String]",x="[object Symbol]",M="[object ArrayBuffer]",v="[object DataView]",I=e?e.prototype:void 0,b=I?I.valueOf:void 0;function w(C,_,L,j,N,S,z){switch(L){case v:if(C.byteLength!=_.byteLength||C.byteOffset!=_.byteOffset)return!1;C=C.buffer,_=_.buffer;case M:return!(C.byteLength!=_.byteLength||!S(new t(C),new t(_)));case l:case h:case y:return n(+C,+_);case u:return C.name==_.name&&C.message==_.message;case f:case m:return C==_+"";case p:var A=i;case g:var H=j&s;if(A||(A=r),C.size!=_.size&&!H)return!1;var P=z.get(C);if(P)return P==_;j|=d,z.set(C,_);var V=c(A(C),A(_),j,N,S,z);return z.delete(C),V;case x:if(b)return b.call(C)==b.call(_)}return!1}return ub=w,ub}var pb,KS;function O4e(){if(KS)return pb;KS=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 pb=e,pb}var yb,ZS;function sC(){if(ZS)return yb;ZS=1;var e=Array.isArray;return yb=e,yb}var kb,XS;function U4e(){if(XS)return kb;XS=1;var e=O4e(),t=sC();function n(c,i,r){var s=i(c);return t(c)?s:e(s,r(c))}return kb=n,kb}var mb,YS;function W4e(){if(YS)return mb;YS=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 mb=e,mb}var fb,JS;function G4e(){if(JS)return fb;JS=1;function e(){return[]}return fb=e,fb}var gb,QS;function K4e(){if(QS)return gb;QS=1;var e=W4e(),t=G4e(),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 gb=r,gb}var vb,ej;function Z4e(){if(ej)return vb;ej=1;function e(t,n){for(var c=-1,i=Array(t);++c<t;)i[c]=n(c);return i}return vb=e,vb}var xb,tj;function DL(){if(tj)return xb;tj=1;function e(t){return t!=null&&typeof t=="object"}return xb=e,xb}var Mb,aj;function X4e(){if(aj)return Mb;aj=1;var e=PL(),t=DL(),n="[object Arguments]";function c(i){return t(i)&&e(i)==n}return Mb=c,Mb}var _b,nj;function Y4e(){if(nj)return _b;nj=1;var e=X4e(),t=DL(),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 _b=r,_b}var _1={exports:{}},Lb,oj;function J4e(){if(oj)return Lb;oj=1;function e(){return!1}return Lb=e,Lb}_1.exports;var cj;function yA(){return cj||(cj=1,function(e,t){var n=wt(),c=J4e(),i=t&&!t.nodeType&&t,r=i&&!0&&e&&!e.nodeType&&e,s=r&&r.exports===i,d=s?n.Buffer:void 0,l=d?d.isBuffer:void 0,h=l||c;e.exports=h}(_1,_1.exports)),_1.exports}var Ib,ij;function Q4e(){if(ij)return Ib;ij=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 Ib=n,Ib}var bb,rj;function kA(){if(rj)return bb;rj=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return bb=t,bb}var wb,sj;function e5e(){if(sj)return wb;sj=1;var e=PL(),t=kA(),n=DL(),c="[object Arguments]",i="[object Array]",r="[object Boolean]",s="[object Date]",d="[object Error]",l="[object Function]",h="[object Map]",u="[object Number]",p="[object Object]",y="[object RegExp]",f="[object Set]",g="[object String]",m="[object WeakMap]",x="[object ArrayBuffer]",M="[object DataView]",v="[object Float32Array]",I="[object Float64Array]",b="[object Int8Array]",w="[object Int16Array]",C="[object Int32Array]",_="[object Uint8Array]",L="[object Uint8ClampedArray]",j="[object Uint16Array]",N="[object Uint32Array]",S={};S[v]=S[I]=S[b]=S[w]=S[C]=S[_]=S[L]=S[j]=S[N]=!0,S[c]=S[i]=S[x]=S[r]=S[M]=S[s]=S[d]=S[l]=S[h]=S[u]=S[p]=S[y]=S[f]=S[g]=S[m]=!1;function z(A){return n(A)&&t(A.length)&&!!S[e(A)]}return wb=z,wb}var Cb,dj;function t5e(){if(dj)return Cb;dj=1;function e(t){return function(n){return t(n)}}return Cb=e,Cb}var L1={exports:{}};L1.exports;var lj;function a5e(){return lj||(lj=1,function(e,t){var n=sA(),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 l=i&&i.require&&i.require("util").types;return l||s&&s.binding&&s.binding("util")}catch{}}();e.exports=d}(L1,L1.exports)),L1.exports}var Nb,hj;function mA(){if(hj)return Nb;hj=1;var e=e5e(),t=t5e(),n=a5e(),c=n&&n.isTypedArray,i=c?t(c):e;return Nb=i,Nb}var Sb,uj;function n5e(){if(uj)return Sb;uj=1;var e=Z4e(),t=Y4e(),n=sC(),c=yA(),i=Q4e(),r=mA(),s=Object.prototype,d=s.hasOwnProperty;function l(h,u){var p=n(h),y=!p&&t(h),f=!p&&!y&&c(h),g=!p&&!y&&!f&&r(h),m=p||y||f||g,x=m?e(h.length,String):[],M=x.length;for(var v in h)(u||d.call(h,v))&&!(m&&(v=="length"||f&&(v=="offset"||v=="parent")||g&&(v=="buffer"||v=="byteLength"||v=="byteOffset")||i(v,M)))&&x.push(v);return x}return Sb=l,Sb}var jb,pj;function o5e(){if(pj)return jb;pj=1;var e=Object.prototype;function t(n){var c=n&&n.constructor,i=typeof c=="function"&&c.prototype||e;return n===i}return jb=t,jb}var $b,yj;function c5e(){if(yj)return $b;yj=1;function e(t,n){return function(c){return t(n(c))}}return $b=e,$b}var qb,kj;function i5e(){if(kj)return qb;kj=1;var e=c5e(),t=e(Object.keys,Object);return qb=t,qb}var Ab,mj;function r5e(){if(mj)return Ab;mj=1;var e=o5e(),t=i5e(),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 Ab=i,Ab}var zb,fj;function s5e(){if(fj)return zb;fj=1;var e=lA(),t=kA();function n(c){return c!=null&&t(c.length)&&!e(c)}return zb=n,zb}var Vb,gj;function d5e(){if(gj)return Vb;gj=1;var e=n5e(),t=r5e(),n=s5e();function c(i){return n(i)?e(i):t(i)}return Vb=c,Vb}var Pb,vj;function l5e(){if(vj)return Pb;vj=1;var e=U4e(),t=K4e(),n=d5e();function c(i){return e(i,n,t)}return Pb=c,Pb}var Tb,xj;function h5e(){if(xj)return Tb;xj=1;var e=l5e(),t=1,n=Object.prototype,c=n.hasOwnProperty;function i(r,s,d,l,h,u){var p=d&t,y=e(r),f=y.length,g=e(s),m=g.length;if(f!=m&&!p)return!1;for(var x=f;x--;){var M=y[x];if(!(p?M in s:c.call(s,M)))return!1}var v=u.get(r),I=u.get(s);if(v&&I)return v==s&&I==r;var b=!0;u.set(r,s),u.set(s,r);for(var w=p;++x<f;){M=y[x];var C=r[M],_=s[M];if(l)var L=p?l(_,C,M,s,r,u):l(C,_,M,r,s,u);if(!(L===void 0?C===_||h(C,_,d,l,u):L)){b=!1;break}w||(w=M=="constructor")}if(b&&!w){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)&&(b=!1)}return u.delete(r),u.delete(s),b}return Tb=i,Tb}var Hb,Mj;function u5e(){if(Mj)return Hb;Mj=1;var e=h1(),t=wt(),n=e(t,"DataView");return Hb=n,Hb}var Db,_j;function p5e(){if(_j)return Db;_j=1;var e=h1(),t=wt(),n=e(t,"Promise");return Db=n,Db}var Bb,Lj;function y5e(){if(Lj)return Bb;Lj=1;var e=h1(),t=wt(),n=e(t,"Set");return Bb=n,Bb}var Rb,Ij;function k5e(){if(Ij)return Rb;Ij=1;var e=h1(),t=wt(),n=e(t,"WeakMap");return Rb=n,Rb}var Fb,bj;function m5e(){if(bj)return Fb;bj=1;var e=u5e(),t=rC(),n=p5e(),c=y5e(),i=k5e(),r=PL(),s=hA(),d="[object Map]",l="[object Object]",h="[object Promise]",u="[object Set]",p="[object WeakMap]",y="[object DataView]",f=s(e),g=s(t),m=s(n),x=s(c),M=s(i),v=r;return(e&&v(new e(new ArrayBuffer(1)))!=y||t&&v(new t)!=d||n&&v(n.resolve())!=h||c&&v(new c)!=u||i&&v(new i)!=p)&&(v=function(I){var b=r(I),w=b==l?I.constructor:void 0,C=w?s(w):"";if(C)switch(C){case f:return y;case g:return d;case m:return h;case x:return u;case M:return p}return b}),Fb=v,Fb}var Eb,wj;function f5e(){if(wj)return Eb;wj=1;var e=z4e(),t=pA(),n=E4e(),c=h5e(),i=m5e(),r=sC(),s=yA(),d=mA(),l=1,h="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,f=y.hasOwnProperty;function g(m,x,M,v,I,b){var w=r(m),C=r(x),_=w?u:i(m),L=C?u:i(x);_=_==h?p:_,L=L==h?p:L;var j=_==p,N=L==p,S=_==L;if(S&&s(m)){if(!s(x))return!1;w=!0,j=!1}if(S&&!j)return b||(b=new e),w||d(m)?t(m,x,M,v,I,b):n(m,x,_,M,v,I,b);if(!(M&l)){var z=j&&f.call(m,"__wrapped__"),A=N&&f.call(x,"__wrapped__");if(z||A){var H=z?m.value():m,P=A?x.value():x;return b||(b=new e),I(H,P,M,v,b)}}return S?(b||(b=new e),c(m,x,M,v,I,b)):!1}return Eb=g,Eb}var Ob,Cj;function g5e(){if(Cj)return Ob;Cj=1;var e=f5e(),t=DL();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 Ob=n,Ob}var Ub,Nj;function v5e(){if(Nj)return Ub;Nj=1;var e=g5e();function t(n,c){return e(n,c)}return Ub=t,Ub}var x5e=v5e();const M5e=a.getDefaultExportFromCjs(x5e),_5e=({schema:e,initialData:t={},onSubmit:n,submitLabel:c,submitIcon:i,submitIconPosition:r="left",onCancel:s,cancelLabel:d="Retour",cancelIcon:l})=>{const[h,u]=k.useState(t),[p,y]=k.useState({}),[f,g]=k.useState({}),[m,x]=k.useState(!1),M=k.useRef(t);k.useEffect(()=>{M5e(M.current,t)||(u(t),M.current=t)},[t]);const v=(L,j)=>{const N={...h,[L]:j};if(u(N),f[L]){const S=e.fields.find(z=>z.name===L);if(S){const z=bL(j,S);y(A=>({...A,[L]:z.isValid?"":z.error}))}}},I=L=>{if(!f[L]){g(N=>({...N,[L]:!0}));const j=e.fields.find(N=>N.name===L);if(j){const N=bL(h[L],j);y(S=>({...S,[L]:N.isValid?"":N.error}))}}},b=async L=>{L.preventDefault(),x(!0);const j=e.fields.reduce((S,z)=>(z.type!=="section"&&(S[z.name]=!0),S),{});g(j);const N=Yq(h,e.fields.filter(S=>S.type!=="section"));if(y(N.errors),N.isValid)try{await n(h)}catch(S){console.error("Erreur lors de la soumission:",S),y(z=>({...z,__global:"Une erreur est survenue lors de la soumission"}))}x(!1)},w=l?_t[l]:null,C=i&&_t[i]||e.submitIcon&&_t[e.submitIcon]||null,_=e.columns&&e.columns>0?Math.floor(e.columns):12;return o.jsxs("div",{className:ke.formContainer,children:[o.jsx("div",{className:ke.headerLine,children:o.jsx("h2",{className:ke.formTitle,children:e.title})}),e.description&&o.jsx("p",{className:ke.formDescription,children:e.description}),p.__global&&o.jsx("div",{className:`alert alert-danger ${ke.globalError}`,children:p.__global}),o.jsxs("form",{onSubmit:b,children:[o.jsx("div",{className:ke.gridContainer,style:{gridTemplateColumns:`repeat(${_}, minmax(0, 1fr))`},children:e.fields.map(L=>{if(L.type==="section")return o.jsxs("div",{className:ke.sectionFull,children:[o.jsx("h5",{className:ke.sectionTitle,children:L.label}),L.help&&o.jsx("p",{className:ke.sectionHelp,children:L.help})]},L.name);const N={gridColumn:`span ${Math.max(1,Math.min(_,L.gridCol??_))}`};return o.jsxs("div",{className:ke.fieldGridItem,style:N,children:[o.jsx(iA,{field:L,value:h[L.name],onChange:S=>v(L.name,S),onBlur:()=>I(L.name),error:p[L.name],touched:f[L.name]}),L.help&&o.jsx("small",{className:ke.fieldHelp,children:L.help})]},L.name)})}),o.jsxs("div",{className:ke.formFooter,children:[o.jsx("div",{className:ke.footerLeft,children:s&&o.jsxs("button",{type:"button",className:ke.cancelLink,onClick:s,children:[w&&o.jsx(w,{size:16,className:"me-2"})," ",d]})}),o.jsx("div",{className:ke.footerRight,children:o.jsx(yL,{type:"submit",variant:"primary",size:"md",className:ke.submitButton,disabled:m,children:m?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"spinner-border spinner-border-sm me-2",role:"status"}),"Validation..."]}):o.jsxs(o.Fragment,{children:[C&&(r==="left"||e.submitIconPosition==="left")&&o.jsx(C,{size:16,className:"me-2"}),c||e.submitText||"Valider",C&&(r==="right"||e.submitIconPosition==="right")&&o.jsx(C,{size:16,className:"ms-2"})]})})})]})]})]})};function L5e(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const Sj=new Map,Mw=({path:e,style:t,width:n=24,height:c=24,keepColors:i=!1,onClick:r})=>{const s=/^https?:\/\//.test(e),[d,l]=k.useState("");if(k.useEffect(()=>{if(s)return;e&&(async()=>{try{let u=Sj.get(e);u||(u=fetch(e).then(m=>{if(!m.ok)throw new Error(`Failed to load ${e}`);return m.text()}),Sj.set(e,u));let p=await u;const y=t?.width!==void 0?"100%":`${n}px`,f=t?.height!==void 0?"100%":`${c}px`;i||(p=p.replace(/fill="[^"]*"/g,'fill="currentColor"'),p=p.replace(/fill='[^']*'/g,"fill='currentColor'"));const g=i?`width="${y}" height="${f}"`:`width="${y}" height="${f}" fill="currentColor"`;p=p.replace(/<svg/,`<svg ${g}`),l(p)}catch(u){console.error(`Failed to load icon: ${e}`,u)}})()},[e,s,t?.width,t?.height,n,c]),s){const h=t?.width!==void 0?"100%":`${n}px`,u=t?.height!==void 0?"100%":`${c}px`;return o.jsx("span",{onClick:r,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:t?.color||"inherit",...t},children:o.jsx("img",{src:e,alt:"",style:{display:"block",width:h,height:u}})})}return d?o.jsx("span",{onClick:r,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:t?.color||"inherit",...t},dangerouslySetInnerHTML:{__html:d}}):null},I5e="_container_1gljv_85",b5e="_tableWrapper_1gljv_111",w5e="_tableControls_1gljv_117",C5e="_controlsRight_1gljv_128",N5e="_limitedRows_1gljv_151",S5e="_table_1gljv_111",j5e="_headerCell_1gljv_206",$5e="_headerContent_1gljv_220",q5e="_headerWords_1gljv_229",A5e="_headerWord_1gljv_229",z5e="_cellContent_1gljv_276",V5e="_alignLeft_1gljv_286",P5e="_alignCenter_1gljv_290",T5e="_alignRight_1gljv_294",H5e="_tableCell_1gljv_298",D5e="_tableRow_1gljv_308",B5e="_emptyRow_1gljv_385",R5e="_toggleFiltersButton_1gljv_393",F5e="_toggleSortButton_1gljv_394",E5e="_buttonTextCompact_1gljv_415",O5e="_uppercaseSmall_1gljv_450",U5e="_filtersPanel_1gljv_463",W5e="_filtersPanelInline_1gljv_481",G5e="_filtersPanelHorizontal_1gljv_492",K5e="_filtersRow_1gljv_492",Z5e="_filtersActionsHorizontal_1gljv_525",X5e="_filterItemInline_1gljv_542",Y5e="_filterLabel_1gljv_571",J5e="_filterInput_1gljv_576",Q5e="_filterSelect_1gljv_577",eke="_operatorSelect_1gljv_578",tke="_operatorInput_1gljv_579",ake="_activeFilterTag_1gljv_597",nke="_actionsGroup_1gljv_609",oke="_applyButton_1gljv_615",cke="_cancelButton_1gljv_625",ike="_columnSorterContainer_1gljv_649",rke="_sorterControls_1gljv_654",ske="_sortDropdownWrapper_1gljv_659",dke="_sortDropdown_1gljv_659",lke="_sortDropdownHeader_1gljv_679",hke="_closeButton_1gljv_688",uke="_sortDropdownContent_1gljv_703",pke="_sortDropdownItem_1gljv_709",yke="_sortDirectionButtons_1gljv_734",kke="_sortDirectionButton_1gljv_734",mke="_activeSort_1gljv_757",fke="_sortActions_1gljv_764",gke="_paginationButton_1gljv_842",vke="_pageSizeSelect_1gljv_844",xke="_topPagination_1gljv_853",Mke="_paginationContainer_1gljv_861",_ke="_leftGroup_1gljv_874",Lke="_pageSizeControls_1gljv_882",Ike="_paginationInfo_1gljv_908",bke="_paginationControls_1gljv_916",wke="_disabledButton_1gljv_947",Cke="_activeButton_1gljv_952",Nke="_navigationButton_1gljv_962",Ske="_operatorFilterContainer_1gljv_1010",jke="_rangeSeparator_1gljv_1016",$ke="_activeFiltersSection_1gljv_1179",qke="_activeFiltersRow_1gljv_1184",Ake="_activeFiltersList_1gljv_1192",zke="_clearAllButton_1gljv_1200",Vke="_removeFilterButton_1gljv_1221",Pke="_sortIndicator_1gljv_1272",Tke="_active_1gljv_349",Hke="_clearSortButton_1gljv_1371",Dke="_loaderSpinner_1gljv_2743",Bke="_loaderSpinnerSmall_1gljv_2755",Rke="_paginationLoading_1gljv_2772",Fke="_loadingButton_1gljv_2780",Eke="_loadingIndicator_1gljv_2791",B={container:I5e,tableWrapper:b5e,tableControls:w5e,controlsRight:C5e,limitedRows:N5e,table:S5e,headerCell:j5e,headerContent:$5e,headerWords:q5e,headerWord:A5e,cellContent:z5e,alignLeft:V5e,alignCenter:P5e,alignRight:T5e,tableCell:H5e,tableRow:D5e,emptyRow:B5e,toggleFiltersButton:R5e,toggleSortButton:F5e,buttonTextCompact:E5e,uppercaseSmall:O5e,filtersPanel:U5e,filtersPanelInline:W5e,filtersPanelHorizontal:G5e,filtersRow:K5e,filtersActionsHorizontal:Z5e,filterItemInline:X5e,filterLabel:Y5e,filterInput:J5e,filterSelect:Q5e,operatorSelect:eke,operatorInput:tke,activeFilterTag:ake,actionsGroup:nke,applyButton:oke,cancelButton:cke,columnSorterContainer:ike,sorterControls:rke,sortDropdownWrapper:ske,sortDropdown:dke,sortDropdownHeader:lke,closeButton:hke,sortDropdownContent:uke,sortDropdownItem:pke,sortDirectionButtons:yke,sortDirectionButton:kke,activeSort:mke,sortActions:fke,paginationButton:gke,pageSizeSelect:vke,topPagination:xke,paginationContainer:Mke,leftGroup:_ke,pageSizeControls:Lke,paginationInfo:Ike,paginationControls:bke,disabledButton:wke,activeButton:Cke,navigationButton:Nke,operatorFilterContainer:Ske,rangeSeparator:jke,activeFiltersSection:$ke,activeFiltersRow:qke,activeFiltersList:Ake,clearAllButton:zke,removeFilterButton:Vke,sortIndicator:Pke,active:Tke,clearSortButton:Hke,loaderSpinner:Dke,loaderSpinnerSmall:Bke,paginationLoading:Rke,loadingButton:Fke,loadingIndicator:Eke},Oke=({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:B.filterSelect,children:[o.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),o.jsx("option",{value:"true",children:"Oui"}),o.jsx("option",{value:"false",children:"Non"})]}),Uke=({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:B.filterInput}),Wke=({config:e,value:t,onChange:n,disabled:c})=>{const[i,r]=k.useState([]);k.useEffect(()=>{(async()=>{if(e.asyncOptions)try{const l=await e.asyncOptions();r(l??[])}catch(l){console.error("Erreur chargement options MultiSelect:",l),r([])}else r(e.options??[])})()},[e]);const s=d=>{const l=Array.from(d.target.selectedOptions,h=>h.value);n(l)};return o.jsx("select",{multiple:!0,value:t.map(String),onChange:s,disabled:c,className:B.filterMultiSelect,children:i.map((d,l)=>o.jsx("option",{value:String(d.value),children:d.label},l))})},jj=({config:e,value:t,onChange:n,disabled:c})=>{const[i,r]=k.useState(t||""),s=d=>{const l=d.target.value===""?"":Number(d.target.value);r(l),n(l)};return o.jsx("input",{type:"number",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:c,className:B.filterInput})},Gke=({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 l=h=>{const u=h.target.value;n(u)};return s?o.jsx("div",{children:"Chargement..."}):o.jsxs("select",{value:String(t||""),onChange:l,disabled:c,className:B.filterInput,children:[o.jsx("option",{value:"",children:"Select..."}),i.map(h=>o.jsx("option",{value:h.value,children:h.label},h.value))]})},Kke=({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 l=d.target.value;r(l),n(l)};return o.jsx("input",{type:"text",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:c,className:B.filterInput})},Zke=({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 l=u=>{r(u.target.value)},h=u=>{d(u.target.value)};return o.jsxs("div",{className:B.operatorFilterContainer,children:[o.jsxs("select",{value:i,onChange:l,disabled:c,className:B.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:h,placeholder:"Valeur",disabled:c||!i,className:B.operatorInput})]})},Xke=({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:B.dateRangeContainer,children:[o.jsx("input",{type:"date",value:c.start||"",onChange:i,disabled:n,className:B.filterInput}),o.jsx("span",{className:B.rangeSeparator,children:"→"}),o.jsx("input",{type:"date",value:c.end||"",onChange:r,disabled:n,className:B.filterInput})]})},Yke=({config:e,value:t,onChange:n,disabled:c})=>{switch(e.type){case"text":case"search":return o.jsx(Kke,{config:e,value:t,onChange:n,disabled:c});case"number":return o.jsx(jj,{config:e,value:t,onChange:n,disabled:c});case"range":return o.jsx(jj,{config:e,value:t,onChange:n,disabled:c});case"select":return o.jsx(Gke,{config:e,value:t,onChange:n,disabled:c});case"operator":return o.jsx(Zke,{config:e,value:t,onChange:n,disabled:c});case"multiselect":return o.jsx(Wke,{config:e,value:t,onChange:n,disabled:c});case"date":return o.jsx(Uke,{config:e,value:t,onChange:n,disabled:c});case"daterange":return o.jsx(Xke,{config:e,value:t??{start:"",end:""},onChange:n,disabled:c});case"boolean":return o.jsx(Oke,{config:e,value:t,onChange:n,disabled:c});default:return o.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},fA=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:c,isControlled:i=!1})=>{const[r,s]=k.useState([]),[d,l]=k.useState(()=>{const g={};return e.forEach(m=>{m.type==="daterange"?g[m.id]={start:"",end:""}:g[m.id]=m.defaultValue??""}),g});k.useEffect(()=>{if(!i)return;const g={...d??{}};e.forEach(m=>{m.id in g||(g[m.id]=m.type==="daterange"?{start:"",end:""}:m.defaultValue??"")}),(t||[]).forEach(m=>{!m||!m.id||(g[m.id]=m.value)}),l(g),s(t??[])},[i,JSON.stringify(t||[]),JSON.stringify(e.map(g=>g.id))]);const h=i?t:r,u=k.useCallback((g,m)=>{l(x=>({...x,[g]:m}))},[]),p=k.useCallback(async()=>{const g=[],m={...d};for(const[x,M]of Object.entries(m)){const v=e.find(w=>w.id===x);if(!v)continue;let I=M;try{typeof M=="function"&&(I=await M(m)),typeof v.executeOnApply=="function"&&(I=await v.executeOnApply(I,m))}catch{continue}if(v.type==="daterange"){const w=I?.start??"",C=I?.end??"",_=typeof w=="string"?w.trim()==="":!w,L=typeof C=="string"?C.trim()==="":!C;if(_&&L)continue}I==null||typeof I=="string"&&I.trim()===""||Array.isArray(I)&&I.length===0||typeof I=="object"&&!Array.isArray(I)&&Object.keys(I).length===0||g.push({id:x,type:v.type,value:I,label:v.label})}return i?n?.(g):(s(g),c?.(g)),g},[d,e,i,n,c]),y=k.useCallback(g=>{l(m=>({...m,[g]:void 0})),u(g,void 0)},[u]),f=k.useCallback(()=>{const g={};e.forEach(m=>{m.type==="daterange"?g[m.id]={start:"",end:""}:g[m.id]=m.defaultValue??""}),l(g),i?n?.([]):(s([]),c?.([]))},[e,i,n,c]);return{appliedFilters:h,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:f}},Jke=(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(),l=new Date(r).getTime();return isNaN(s)||isNaN(d)||isNaN(l)?!1:s>=d&&s<=l}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 gA(e,t,n="",c={key:null,direction:"asc"},i=1,r=10,s=[]){const d=Math.max(1,r),l=(n||"").trim().toLowerCase(),h=k.useMemo(()=>{let m=e;return l&&(m=m.filter(x=>t.some(M=>{const v=x.data[M.id];return v==null?!1:String(v).toLowerCase().includes(l)}))),s.length>0&&(m=m.filter(x=>s.every(M=>{try{const v=x.data[M.id];return Jke(v,M)}catch(v){return console.error("Error applying filter:",v),!1}}))),m},[e,t,l,s]),u=k.useMemo(()=>{if(!c?.key)return h;const m=c.key;return[...h].sort((x,M)=>{const v=x.data[m],I=M.data[m];if(v==null)return 1;if(I==null)return-1;if(typeof v=="number"&&typeof I=="number")return c.direction==="desc"?I-v:v-I;if(v instanceof Date&&I instanceof Date){const w=v.getTime()-I.getTime();return c.direction==="desc"?-w:w}const b=String(v).localeCompare(String(I),void 0,{numeric:!0,sensitivity:"base"});return c.direction==="desc"?-b:b})},[h,c]),p=u,y=Math.ceil(u.length/d),f=0,g=Math.min(i*d,u.length);return{paginatedData:p,sortedData:u,filteredData:h,totalPages:y,startIndex:f,endIndex:g}}const vA=({value:e})=>e,xA=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),MA=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),_A=({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)},LA=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},IA=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),bA=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),wA=({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"})),_w={renderers:{text:vA,email:xA,link:MA,badge:_A,date:LA,number:IA,currency:bA,image:wA},icons:{sortAsc:k.createElement(qc,{className:"sort-icon active",size:14}),sortDesc:k.createElement(Ht,{className:"sort-icon active",size:14}),sortDefault:k.createElement(a1,{className:"sort-icon",size:14})}},Qke=(e,t)=>{_w.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),_w.renderers[e]=t},eme=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:c,isControlled:i=!1,debounceTimeout:r=300,expanded:s,onToggle:d,panelPlacement:l="top",onPanelHeightChange:h,label:u="Advanced-Filters",applyLabel:p="Apply",cancelLabel:y="Cancel",clearLabel:f="Clear",applyDisabled:g=!1,loading:m=!1})=>{const[x,M]=k.useState(!1),v=typeof s=="boolean"?s:x,{appliedFilters:I,tempFilters:b,updateFilter:w,applyFilters:C,clearAllFilters:_}=fA({filters:e,externalFilters:t,onFiltersChange:n,onApply:c,isControlled:i}),L=k.useRef(null),j=k.useRef(null);k.useEffect(()=>{if(v&&L.current){const P=L.current.getBoundingClientRect().height;h?.(P)}else h?.(0)},[v,e,b,h]);const N=()=>{typeof s=="boolean"?d?.(!s):M(P=>{const V=!P;return d?.(V),V})},S=()=>e.map(P=>{const V=b?.[P.id];return V==null||typeof V=="string"&&V.trim()===""?null:{id:P.id,label:P.label,value:V}}).filter(Boolean),z=async()=>{let P;try{P=await C()}catch{P=void 0}let V=[];P&&Array.isArray(P)&&P.length>0?V=P:I&&I.length>0?V=I:V=S(),n?.(V),c?.(V)},A=()=>{d?.(!1),typeof s!="boolean"&&M(!1)},H=()=>{_(),n?.([]),c?.([])};return k.useEffect(()=>{const P=$=>{v&&j.current&&(j.current.contains($.target)||(d?.(!1),typeof s!="boolean"&&M(!1)))},V=$=>{$.key==="Escape"&&v&&(d?.(!1),typeof s!="boolean"&&M(!1))};return v&&(document.addEventListener("pointerdown",P),document.addEventListener("keydown",V)),()=>{document.removeEventListener("pointerdown",P),document.removeEventListener("keydown",V)}},[v,s,d]),o.jsxs("div",{className:B.advancedFiltersContainer,ref:j,children:[o.jsxs("button",{className:`${B.toggleFiltersButton} ${I.length>0?B.active:""} ${v?B.toggleFiltersButtonOpen:""} ${m?B.loadingButton:""}`,onClick:N,"aria-expanded":v,"aria-controls":"advanced-filters-panel",type:"button",disabled:m,children:[m?o.jsx("span",{className:B.loaderSpinnerSmall}):o.jsx(At,{size:14}),o.jsx("span",{className:B.buttonTextCompact,children:u}),I.length>0&&!m&&o.jsx("span",{className:B.filterCountBadge,"aria-hidden":!0,children:I.length}),m&&o.jsx("span",{className:B.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),v&&o.jsxs("div",{id:"advanced-filters-panel",ref:L,className:`${B.filtersPanel} ${l==="top"?`${B.filtersPanelInline} ${B.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[o.jsx("div",{className:B.filtersRow,children:e.map(P=>o.jsxs("div",{className:`${B.filterItem} ${B.filterItemInline}`,children:[o.jsxs("label",{className:B.filterLabel,children:[P.label,P.required&&o.jsx("span",{className:B.required,children:"*"})]}),o.jsx(Yke,{config:P,value:b[P.id],onChange:V=>w(P.id,V),disabled:P.disabled})]},P.id))}),o.jsxs("div",{className:B.filtersActionsHorizontal,children:[o.jsx("div",{className:B.activeFiltersSection,children:I.length>0&&o.jsxs("div",{className:B.activeFiltersRow,children:[o.jsx("span",{className:B.activeLabelCompact,children:"Actifs :"}),o.jsx("div",{className:B.activeFiltersList,children:I.map(P=>o.jsxs("div",{className:B.activeFilterTag,children:[P.label??P.id,o.jsx("button",{className:B.removeFilterButton,onClick:()=>w(P.id,void 0),"aria-label":`Supprimer ${P.id}`,type:"button",children:"×"})]},P.id))}),o.jsxs("button",{className:B.clearAllButton,onClick:H,type:"button",children:[o.jsx(at,{size:12})," ",f]})]})}),o.jsxs("div",{className:B.actionsGroup,children:[o.jsx("button",{className:B.cancelButton,onClick:A,type:"button",disabled:m,children:y}),o.jsx("button",{className:`${B.applyButton} ${m?B.loadingButton:""}`,onClick:z,type:"button",disabled:g||m,"aria-disabled":g||m,children:m?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:B.loaderSpinnerSmall}),o.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},$j=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},tme=({columns:e,sortConfig:t,onSort:n,label:c="Sort",loading:i=!1})=>{const[r,s]=k.useState(!1),d=e.filter(g=>g.sortable),l=k.useRef(null),h=t?.key!==null&&t?.key!==void 0,u=(g,m)=>{n({key:g,direction:m}),s(!1)},p=()=>{n({key:null,direction:"asc"}),s(!1)},y=()=>s(g=>!g),f=()=>{s(!1)};return k.useEffect(()=>{if(!r)return;const g=x=>{if(!l.current)return;const M=x.target;M&&!l.current.contains(M)&&s(!1)},m=x=>{x.key==="Escape"&&s(!1)};return document.addEventListener("pointerdown",g),document.addEventListener("keydown",m),()=>{document.removeEventListener("pointerdown",g),document.removeEventListener("keydown",m)}},[r]),k.useEffect(()=>{const g=document.querySelector("[data-table-wrapper]");if(!g)return;const m=g.style.overflow??"";return r?g.style.overflow="hidden":g.style.overflow=m,()=>{g.style.overflow=m}},[r]),o.jsx("div",{className:B.columnSorterContainer,ref:l,children:o.jsx("div",{className:B.sorterControls,children:d.length>0&&o.jsxs("div",{className:B.sortDropdownWrapper,ref:l,children:[o.jsxs("button",{className:`${B.toggleSortButton} ${r?B.toggleSortButtonOpen:""} ${h?B.active:""} ${i?B.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?o.jsx("span",{className:B.loaderSpinnerSmall}):o.jsx(a1,{size:14}),o.jsx("span",{className:`${B.buttonTextCompact} ${$j(c)?B.uppercaseSmall:""}`,children:c}),h&&!i&&o.jsx("div",{className:B.sortIndicator,children:t?.direction==="asc"?o.jsx(qc,{size:12}):o.jsx(Ht,{size:12})})]}),r&&o.jsxs("div",{className:`${B.sortDropdown} ${B.sortDropdownInline}`,role:"menu",children:[o.jsxs("div",{className:B.sortDropdownHeader,children:[o.jsx("span",{children:"Trier par:"}),o.jsx("button",{className:B.closeButton,onClick:f,"aria-label":"Fermer",type:"button",children:o.jsx(at,{size:16})})]}),o.jsx("div",{className:B.sortDropdownContent,children:d.map(g=>{const m=String(g.label??g.id),x=$j(m);return o.jsxs("div",{className:B.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:M=>{M.key==="Enter"&&u(g.id,"asc")},children:[o.jsx("span",{className:`${B.columnSorterLabel} ${x?B.uppercaseSmall:""}`,title:m,"aria-label":m,children:m}),o.jsxs("div",{className:B.sortDirectionButtons,children:[o.jsx("button",{className:`${B.sortDirectionButton} ${t?.key===g.id&&t?.direction==="asc"?B.activeSort:""}`,onClick:()=>u(g.id,"asc"),title:"Trier par ordre croissant",type:"button",children:o.jsx(qc,{size:12})}),o.jsx("button",{className:`${B.sortDirectionButton} ${t?.key===g.id&&t?.direction==="desc"?B.activeSort:""}`,onClick:()=>u(g.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:o.jsx(Ht,{size:12})})]})]},g.id)})}),h&&o.jsx("div",{className:B.sortActions,children:o.jsxs("button",{className:B.clearSortButton,onClick:p,type:"button",children:[o.jsx(qt,{size:14}),o.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},ame=({currentPage:e,totalPages:t,pageSize:n,totalItems:c,itemLabel:i="items",onPageChange:r,onPageSizeChange:s,loading:d=!1})=>{const l=Math.max(1,Math.floor(t)),h=Math.min(Math.max(1,Math.floor(e)),l),u=()=>{h>1&&r(h-1)},p=()=>{if(h<t){const m=h+1;r(m)}},y=c>0?(h-1)*n+1:0,f=c>0?Math.min(h*n,c):0,g=()=>{const m=[];let M=Math.max(1,h-Math.floor(2.5)),v=M+5-1;v>l&&(v=l,M=Math.max(1,v-5+1));for(let I=M;I<=v;I++)m.push(I);return m};return o.jsxs("div",{className:B.paginationContainer,role:"navigation","aria-label":"Pagination",children:[o.jsx("div",{className:B.leftGroup,children:s&&o.jsx("div",{className:B.pageSizeControls,children:o.jsx("select",{value:n,onChange:m=>s(Number(m.target.value)),className:B.pageSizeSelect,"aria-label":"Taille de page",disabled:d,children:[10,20,30].map(m=>o.jsx("option",{value:m,children:m},m))})})}),o.jsx("div",{className:B.paginationInfo,"aria-live":"polite",children:d?o.jsxs("span",{className:B.paginationLoading,children:[o.jsx("span",{className:B.loaderSpinner}),o.jsx("span",{children:"Chargement..."})]}):`${y}-${f} ${i}`}),o.jsxs("div",{className:B.paginationControls,children:[o.jsx("button",{onClick:u,disabled:h===1||d,className:`${B.paginationButton} ${B.navigationButton} ${h===1?B.disabledButton:""} ${d?B.loadingButton:""}`,"aria-label":"Page précédente",children:d&&h>1?o.jsx("span",{className:B.loaderSpinnerSmall}):"«"}),g().map(m=>o.jsx("button",{onClick:()=>r(m),disabled:d,"aria-current":h===m?"page":void 0,className:`${B.paginationButton} ${h===m?B.activeButton:""} ${d?B.loadingButton:""}`,children:d&&h===m?o.jsx("span",{className:B.loaderSpinnerSmall}):m},m)),o.jsx("button",{onClick:p,disabled:d||h>=l,className:`${B.paginationButton} ${B.navigationButton} ${d?B.loadingButton:""} ${h>=l?B.disabledButton:""}`,"aria-label":"Page suivante",children:d?o.jsx("span",{className:B.loaderSpinnerSmall}):"»"})]})]})},nme=(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)},ome=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},cme=({columns:e})=>o.jsx("thead",{className:B.tableHeader,children:o.jsx("tr",{children:e.map((t,n)=>{const c=t.align==="right"?B.alignRight:t.align==="left"?B.alignLeft:B.alignCenter,i=t.preserveHeaderCase===!0,r=nme(String(t.label??""),i),s=ome(r),d=s?r.split(/\s+/):[];return o.jsx("th",{className:`${B.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:B.headerContent,children:s?o.jsx("div",{className:B.headerWords,children:d.map((l,h)=>o.jsx("span",{className:B.headerWord,children:l},h))}):o.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),ime=({value:e,row:t,column:n})=>{const c=n.align==="right"?B.alignRight:n.align==="left"?B.alignLeft:B.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return o.jsx("td",{className:`${B.tableCell} ${c}`,style:{width:n.width??void 0},children:o.jsx("div",{className:B.cellContent,children:i})})},rme=({row:e,rowId:t,columns:n,onRowClick:c,index:i,getRowStyle:r})=>{const s=r?r(e):{},{backgroundColor:d,accentColor:l,...h}=s||{},u={backgroundColor:d,...h,"--row-accent":l??"transparent"};return o.jsx("tr",{className:`${B.tableRow} ${c?B.clickableRow:""}`,onClick:()=>c?.(e,i),style:u,children:n.map(p=>o.jsx(ime,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},sme=({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:B.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):o.jsx("tbody",{children:e.map((s,d)=>o.jsx(rme,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:c+d-1,getRowStyle:r},s.id))}),CA=({columns:e=[],data:t=[],pagination:n={pageSize:10,currentPage:1},onRowClick:c,searchTerm:i="",className:r="",filterConfig:s=[],externalFilters:d=[],onFiltersChange:l,onApplyFilters:h,onSort:u,filtersControlled:p=!1,debounceTimeout:y=300,getRowStyle:f,background:g,onPageSizeChange:m,onPageChange:x,itemLabel:M="items",advancedFiltersLabel:v="Advanced-Filters",advancedFiltersActiveLabel:I,sortLabel:b="Sort",applyLabel:w="Apply",cancelLabel:C="Cancel",clearLabel:_="Clear",applyDisabled:L=!1,paginationLoading:j=!1,filtersLoading:N=!1,sortLoading:S=!1,totalCount:z=null})=>{const[A,H]=k.useState({key:null,direction:"asc"}),[P,V]=k.useState(n.currentPage??1),[$,q]=k.useState(n.pageSize??10),[R,T]=k.useState(!1),O=k.useRef(null),[J,E]=k.useState([]),U=p?d:J,ie=p?[]:J;k.useEffect(()=>{const oe=n.currentPage??1,we=n.pageSize??10;oe!==P&&V(oe),we!==$&&q(we)},[n.currentPage,n.pageSize]);const{paginatedData:ce,sortedData:Me,totalPages:re,startIndex:ae}=gA(t,e,i,A,P,$,ie),ne=Me.length,le=typeof z=="number"&&z>=0?z:ne;let pe=re;typeof z=="number"&&z>=0&&(pe=Math.max(1,Math.ceil(z/$)));const me=ne>10;k.useEffect(()=>{const oe=Math.max(1,Math.floor(pe));P>oe&&V(oe),P<1&&V(1)},[pe]);const W=oe=>{p||E(oe),l?.(oe),V(1),x?.(1)},X=oe=>{p||E(oe),h?.(oe),V(1),x?.(1),O.current&&O.current.style.setProperty("--filters-panel-height","0px")},se=oe=>{x?.(oe),V(oe)},$e=oe=>{q(oe),V(1),m?.(oe),x?.(1)},Re=oe=>{O.current&&O.current.style.setProperty("--filters-panel-height",`${Math.round(oe)}px`)},ve=oe=>{H(oe),u?.(oe)},je=oe=>{T(oe),!oe&&O.current&&O.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(U?.length??0)>0&&T(!0)},[U]),k.useEffect(()=>{s.length>0&&U.length>0&&T(!0)},[s.length,U.length]);const u1=(U?.length??0)>0&&I?I:v;return o.jsxs("div",{ref:O,className:`${B.container} ${r} ${R?B.filtersOpen:""}`,style:{background:g,"--row-height":"48px","--header-height":"56px"},children:[o.jsx("div",{className:B.tableControls,children:o.jsxs("div",{className:B.controlsRight,children:[o.jsx(tme,{columns:e,onSort:ve,label:b,sortConfig:A,loading:S}),s.length>0&&o.jsx(eme,{filters:s,externalFilters:U,onFiltersChange:W,onApply:X,isControlled:p,debounceTimeout:y,expanded:R,onToggle:je,panelPlacement:"top",onPanelHeightChange:Re,label:u1,applyLabel:w,cancelLabel:C,clearLabel:_,applyDisabled:L,loading:N})]})}),o.jsx("div",{className:B.topPagination,children:o.jsx(ame,{currentPage:P,totalPages:pe,pageSize:$,totalItems:le,itemLabel:M,onPageChange:se,onPageSizeChange:$e,loading:j})}),o.jsx("div",{className:`${B.tableWrapper} ${me?B.limitedRows:""}`,"data-table-wrapper":!0,children:o.jsxs("table",{className:B.table,children:[o.jsx(cme,{columns:e}),o.jsx(sme,{data:ce,columns:e,onRowClick:c,startIndex:ae,getRowStyle:f,searchTerm:i})]})})]})};function dme(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]),l=s>1,h=d===null?!1:s<d,u=p=>{typeof p=="number"&&(p<1||p<s&&!l||p>s&&!h||c?.(p))};return o.jsx(CA,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const lme=({page:e,pageSize:t,total:n,onPageChange:c,itemLabel:i="élément",ofLabel:r="sur",className:s})=>{const d=Math.max(1,Math.ceil(n/t)),l=n===0?0:(e-1)*t+1,h=Math.min(e*t,n),u=n>1?`${i}s`:i;if(n===0)return null;const p=4;let y=Math.max(1,e-Math.floor(p/2)),f=y+p-1;f>d&&(f=d,y=Math.max(1,f-p+1));const g=[];for(let m=y;m<=f;m++)g.push(m);return o.jsxs(hme,{className:s,children:[o.jsxs(ume,{children:[l,"-",h," ",r," ",n," ",u]}),o.jsx(pme,{}),d>1&&o.jsxs(yme,{children:[o.jsx(li,{onClick:()=>c(1),disabled:e===1,title:"Première page",children:"<<"}),o.jsx(li,{onClick:()=>c(e-1),disabled:e===1,title:"Page précédente",children:"<"}),g.map(m=>o.jsx(kme,{$active:m===e,onClick:()=>c(m),children:m},m)),o.jsx(li,{onClick:()=>c(e+1),disabled:e===d,title:"Page suivante",children:">"}),o.jsx(li,{onClick:()=>c(d),disabled:e===d,title:"Dernière page",children:">>"})]})]})},hme=F.div`
8272
+ `),()=>{x.contains(m)&&x.removeChild(m)}},[t]),o.jsx(Dle,{isPresent:t,childRef:r,sizeRef:s,children:Z.cloneElement(e,{ref:l})})}const Rle=({children:e,initial:t,isPresent:n,onExitComplete:c,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:l})=>{const h=Bt(Fle),u=k.useId();let p=!0,y=k.useMemo(()=>(p=!1,{id:u,initial:t,isPresent:n,custom:i,onExitComplete:f=>{h.set(f,!0);for(const g of h.values())if(!g)return;c&&c()},register:f=>(h.set(f,!1),()=>h.delete(f))}),[n,h,c]);return r&&p&&(y={...y}),k.useMemo(()=>{h.forEach((f,g)=>h.set(g,!1))},[n]),Z.useEffect(()=>{!n&&!h.size&&c&&c()},[n]),s==="popLayout"&&(e=o.jsx(Ble,{isPresent:n,anchorX:d,root:l,children:e})),o.jsx(NL.Provider,{value:y,children:e})};function Fle(){return new Map}function rq(e=!0){const t=k.useContext(NL);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 si=e=>e.key||"";function QC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const Ele=({children:e,custom:t,initial:n=!0,onExitComplete:c,presenceAffectsLayout:i=!0,mode:r="sync",propagate:s=!1,anchorX:d="left",root:l})=>{const[h,u]=rq(s),p=k.useMemo(()=>QC(e),[e]),y=s&&!h?[]:p.map(si),f=k.useRef(!0),g=k.useRef(p),m=Bt(()=>new Map),[x,M]=k.useState(p),[v,L]=k.useState(p);Cw(()=>{f.current=!1,g.current=p;for(let N=0;N<v.length;N++){const _=si(v[N]);y.includes(_)?m.delete(_):m.get(_)!==!0&&m.set(_,!1)}},[v,y.length,y.join("-")]);const b=[];if(p!==x){let N=[...p];for(let _=0;_<v.length;_++){const I=v[_],j=si(I);y.includes(j)||(N.splice(_,0,I),b.push(I))}return r==="wait"&&b.length&&(N=b),L(QC(N)),M(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(bw);return o.jsx(o.Fragment,{children:v.map(N=>{const _=si(N),I=s&&!h?!1:p===v||y.includes(_),j=()=>{if(m.has(_))m.set(_,!0);else return;let w=!0;m.forEach(S=>{S||(w=!1)}),w&&(C?.(),L(g.current),s&&u?.(),c&&c())};return o.jsx(Rle,{isPresent:I,initial:!f.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:l,onExitComplete:I?void 0:j,anchorX:d,children:N},_)})})},sq=k.createContext({strict:!1}),eN={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"]},i1={};for(const e in eN)i1[e]={isEnabled:t=>eN[e].some(n=>!!t[n])};function Ole(e){for(const t in e)i1[t]={...i1[t],...e[t]}}const Ule=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 _L(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Ule.has(e)}let dq=e=>!_L(e);function Wle(e){typeof e=="function"&&(dq=t=>t.startsWith("on")?!_L(t):e(t))}try{Wle(require("@emotion/is-prop-valid").default)}catch{}function Gle(e,t,n){const c={};for(const i in e)i==="values"&&typeof e.values=="object"||(dq(i)||n===!0&&_L(i)||!t&&!_L(i)||e.draggable&&i.startsWith("onDrag"))&&(c[i]=e[i]);return c}const jL=k.createContext({});function $L(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function W1(e){return typeof e=="string"||Array.isArray(e)}const Zw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Xw=["initial",...Zw];function qL(e){return $L(e.animate)||Xw.some(t=>W1(e[t]))}function lq(e){return!!(qL(e)||e.variants)}function Kle(e,t){if(qL(e)){const{initial:n,animate:c}=e;return{initial:n===!1||W1(n)?n:void 0,animate:W1(c)?c:void 0}}return e.inherit!==!1?t:{}}function Zle(e){const{initial:t,animate:n}=Kle(e,k.useContext(jL));return k.useMemo(()=>({initial:t,animate:n}),[tN(t),tN(n)])}function tN(e){return Array.isArray(e)?e.join(" "):e}const G1={};function Xle(e){for(const t in e)G1[t]=e[t],Vw(t)&&(G1[t].isCSSVariable=!0)}function hq(e,{layout:t,layoutId:n}){return l1.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!G1[e]||e==="opacity")}const Yle={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Jle=d1.length;function Qle(e,t,n){let c="",i=!0;for(let r=0;r<Jle;r++){const s=d1[r],d=e[s];if(d===void 0)continue;let l=!0;if(typeof d=="number"?l=d===(s.startsWith("scale")?1:0):l=parseFloat(d)===0,!l||n){const h=tq(d,Ww[s]);if(!l){i=!1;const u=Yle[s]||s;c+=`${u}(${h}) `}n&&(t[s]=h)}}return c=c.trim(),n?c=n(t,i?"":c):i&&(c="none"),c}function Yw(e,t,n){const{style:c,vars:i,transformOrigin:r}=e;let s=!1,d=!1;for(const l in t){const h=t[l];if(l1.has(l)){s=!0;continue}else if(Vw(l)){i[l]=h;continue}else{const u=tq(h,Ww[l]);l.startsWith("origin")?(d=!0,r[l]=u):c[l]=u}}if(t.transform||(s||n?c.transform=Qle(t,e.transform,n):c.transform&&(c.transform="none")),d){const{originX:l="50%",originY:h="50%",originZ:u=0}=r;c.transformOrigin=`${l} ${h} ${u}`}}const Jw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function uq(e,t,n){for(const c in t)!ze(t[c])&&!hq(c,n)&&(e[c]=t[c])}function ehe({transformTemplate:e},t){return k.useMemo(()=>{const n=Jw();return Yw(n,t,e),Object.assign({},n.vars,n.style)},[t])}function the(e,t){const n=e.style||{},c={};return uq(c,n,e),Object.assign(c,ehe(e,t)),c}function ahe(e,t){const n={},c=the(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 nhe={offset:"stroke-dashoffset",array:"stroke-dasharray"},ohe={offset:"strokeDashoffset",array:"strokeDasharray"};function che(e,t,n=1,c=0,i=!0){e.pathLength=1;const r=i?nhe:ohe;e[r.offset]=ee.transform(-c);const s=ee.transform(t),d=ee.transform(n);e[r.array]=`${s} ${d}`}function pq(e,{attrX:t,attrY:n,attrScale:c,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},l,h,u){if(Yw(e,d,h),l){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&&che(p,i,r,s,!1)}const yq=()=>({...Jw(),attrs:{}}),kq=e=>typeof e=="string"&&e.toLowerCase()==="svg";function ihe(e,t,n,c){const i=k.useMemo(()=>{const r=yq();return pq(r,t,kq(c),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};uq(r,e.style,e),i.style={...r,...i.style}}return i}const rhe=["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 Qw(e){return typeof e!="string"||e.includes("-")?!1:!!(rhe.indexOf(e)>-1||/[A-Z]/u.test(e))}function she(e,t,n,{latestValues:c},i,r=!1){const d=(Qw(e)?ihe:ahe)(t,c,i,e),l=Gle(t,typeof e=="string",r),h=e!==k.Fragment?{...l,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>ze(u)?u.get():u,[u]);return k.createElement(e,{...h,children:p})}function aN(e){const t=[{},{}];return e?.values.forEach((n,c)=>{t[0][c]=n.get(),t[1][c]=n.getVelocity()}),t}function eC(e,t,n,c){if(typeof t=="function"){const[i,r]=aN(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]=aN(c);t=t(n!==void 0?n:e.custom,i,r)}return t}function uL(e){return ze(e)?e.get():e}function dhe({scrapeMotionValuesFromProps:e,createRenderState:t},n,c,i){return{latestValues:lhe(n,c,i,e),renderState:t()}}function lhe(e,t,n,c){const i={},r=c(e,{});for(const y in r)i[y]=uL(r[y]);let{initial:s,animate:d}=e;const l=qL(e),h=lq(e);t&&h&&!l&&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"&&!$L(p)){const y=Array.isArray(p)?p:[p];for(let f=0;f<y.length;f++){const g=eC(e,y[f]);if(g){const{transitionEnd:m,transition:x,...M}=g;for(const v in M){let L=M[v];if(Array.isArray(L)){const b=u?L.length-1:0;L=L[b]}L!==null&&(i[v]=L)}for(const v in m)i[v]=m[v]}}}return i}const mq=e=>(t,n)=>{const c=k.useContext(jL),i=k.useContext(NL),r=()=>dhe(e,t,c,i);return n?r():Bt(r)};function tC(e,t,n){const{style:c}=e,i={};for(const r in c)(ze(c[r])||t.style&&ze(t.style[r])||hq(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=c[r]);return i}const hhe=mq({scrapeMotionValuesFromProps:tC,createRenderState:Jw});function fq(e,t,n){const c=tC(e,t,n);for(const i in e)if(ze(e[i])||ze(t[i])){const r=d1.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;c[r]=e[i]}return c}const uhe=mq({scrapeMotionValuesFromProps:fq,createRenderState:yq}),phe=Symbol.for("motionComponentSymbol");function Xc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function yhe(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):Xc(n)&&(n.current=c))},[t])}const aC=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),khe="framerAppearId",gq="data-"+aC(khe),vq=k.createContext({});function mhe(e,t,n,c,i){const{visualElement:r}=k.useContext(jL),s=k.useContext(sq),d=k.useContext(NL),l=k.useContext(SL).reducedMotion,h=k.useRef(null);c=c||s.renderer,!h.current&&c&&(h.current=c(e,{visualState:t,parent:r,props:n,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:l}));const u=h.current,p=k.useContext(vq);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&fhe(h.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const f=n[gq],g=k.useRef(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return Cw(()=>{u&&(y.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),g.current&&u.animationState&&u.animationState.animateChanges())}),k.useEffect(()=>{u&&(!g.current&&u.animationState&&u.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(f)}),g.current=!1),u.enteringChildren=void 0)}),u}function fhe(e,t,n,c){const{layoutId:i,layout:r,drag:s,dragConstraints:d,layoutScroll:l,layoutRoot:h,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:xq(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&Xc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:c,crossfade:u,layoutScroll:l,layoutRoot:h})}function xq(e){if(e)return e.options.allowProjection!==!1?e.projection:xq(e.parent)}function nI(e,{forwardMotionProps:t=!1}={},n,c){n&&Ole(n);const i=Qw(e)?uhe:hhe;function r(d,l){let h;const u={...k.useContext(SL),...d,layoutId:ghe(d)},{isStatic:p}=u,y=Zle(d),f=i(d,p);if(!p&&ww){vhe(u,n);const g=xhe(u);h=g.MeasureLayout,y.visualElement=mhe(e,f,u,c,g.ProjectionNode)}return o.jsxs(jL.Provider,{value:y,children:[h&&y.visualElement?o.jsx(h,{visualElement:y.visualElement,...u}):null,she(e,d,yhe(f,y.visualElement,l),f,p,t)]})}r.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const s=k.forwardRef(r);return s[phe]=e,s}function ghe({layoutId:e}){const t=k.useContext(bw).id;return t&&e!==void 0?t+"-"+e:e}function vhe(e,t){const n=k.useContext(sq).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?r1(!1,c,"lazy-strict-mode"):st(!1,c,"lazy-strict-mode")}}function xhe(e){const{drag:t,layout:n}=i1;if(!t&&!n)return{};const c={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function Mhe(e,t){if(typeof Proxy>"u")return nI;const n=new Map,c=(r,s)=>nI(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&qw(!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,nI(s,void 0,e,t)),n.get(s))})}function Mq({top:e,left:t,right:n,bottom:c}){return{x:{min:t,max:n},y:{min:e,max:c}}}function _he({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Lhe(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 oI(e){return e===void 0||e===1}function pw({scale:e,scaleX:t,scaleY:n}){return!oI(e)||!oI(t)||!oI(n)}function Nc(e){return pw(e)||_q(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function _q(e){return nN(e.x)||nN(e.y)}function nN(e){return e&&e!=="0%"}function LL(e,t,n){const c=e-n,i=t*c;return n+i}function oN(e,t,n,c,i){return i!==void 0&&(e=LL(e,i,c)),LL(e,n,c)+t}function yw(e,t=0,n=1,c,i){e.min=oN(e.min,t,n,c,i),e.max=oN(e.max,t,n,c,i)}function Lq(e,{x:t,y:n}){yw(e.x,t.translate,t.scale,t.originPoint),yw(e.y,n.translate,n.scale,n.originPoint)}const cN=.999999999999,iN=1.0000000000001;function Ihe(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:l}=r.options;l&&l.props.style&&l.props.style.display==="contents"||(c&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Jc(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Lq(e,s)),c&&Nc(r.latestValues)&&Jc(e,r.latestValues))}t.x<iN&&t.x>cN&&(t.x=1),t.y<iN&&t.y>cN&&(t.y=1)}function Yc(e,t){e.min=e.min+t,e.max=e.max+t}function rN(e,t,n,c,i=.5){const r=xe(e.min,e.max,i);yw(e,t,n,r,c)}function Jc(e,t){rN(e.x,t.x,t.scaleX,t.scale,t.originX),rN(e.y,t.y,t.scaleY,t.scale,t.originY)}function Iq(e,t){return Mq(Lhe(e.getBoundingClientRect(),t))}function bhe(e,t,n){const c=Iq(e,n),{scroll:i}=t;return i&&(Yc(c.x,i.offset.x),Yc(c.y,i.offset.y)),c}const sN=()=>({translate:0,scale:1,origin:0,originPoint:0}),Qc=()=>({x:sN(),y:sN()}),dN=()=>({min:0,max:0}),be=()=>({x:dN(),y:dN()}),kw={current:null},bq={current:!1};function whe(){if(bq.current=!0,!!ww)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>kw.current=e.matches;e.addEventListener("change",t),t()}else kw.current=!1}const Che=new WeakMap;function Nhe(e,t,n){for(const c in t){const i=t[c],r=n[c];if(ze(i))e.addValue(c,i);else if(ze(r))e.addValue(c,Hc(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,Hc(s!==void 0?s:i,{owner:e}))}}for(const c in n)t[c]===void 0&&e.removeValue(c);return t}const lN=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class She{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=Ow,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=We.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,ge.render(this.render,!1,!0))};const{latestValues:l,renderState:h}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=h,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=qL(n),this.isVariantNode=lq(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 f=p[y];l[y]!==void 0&&ze(f)&&f.set(l[y])}}mount(t){this.current=t,Che.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)),bq.current||whe(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:kw.current,process.env.NODE_ENV!=="production"&&qw(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(),bt(this.notifyUpdate),bt(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=l1.has(t);c&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ge.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 i1){const n=i1[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):be()}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<lN.length;c++){const i=lN[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=Nhe(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=Hc(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"&&(m$(c)||g$(c))?c=parseFloat(c):!Ple(c)&&Dt.test(n)&&(c=eq(t,n)),this.setBaseTarget(t,ze(c)?c.get():c)),ze(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=eC(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&&!ze(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 $w),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Gw.render(this.render)}}class wq extends She{constructor(){super(...arguments),this.KeyframeResolver=Lle}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;ze(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Cq(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 jhe(e){return window.getComputedStyle(e)}class $he extends wq{constructor(){super(...arguments),this.type="html",this.renderInstance=Cq}readValueFromInstance(t,n){if(l1.has(n))return this.projection?.isProjecting?iw(n):R0e(t,n);{const c=jhe(t),i=(Vw(n)?c.getPropertyValue(n):c[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Iq(t,n)}build(t,n,c){Yw(t,n,c.transformTemplate)}scrapeMotionValuesFromProps(t,n,c){return tC(t,n,c)}}const Nq=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 qhe(e,t,n,c){Cq(e,t,void 0,c);for(const i in t.attrs)e.setAttribute(Nq.has(i)?i:aC(i),t.attrs[i])}class Ahe extends wq{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=be}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(l1.has(n)){const c=Q$(n);return c&&c.default||0}return n=Nq.has(n)?n:aC(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,c){return fq(t,n,c)}build(t,n,c){pq(t,n,this.isSVGTag,c.transformTemplate,c.style)}renderInstance(t,n,c,i){qhe(t,n,c,i)}mount(t){this.isSVGTag=kq(t.tagName),super.mount(t)}}const zhe=(e,t)=>Qw(e)?new Ahe(t):new $he(t,{allowProjection:e!==k.Fragment});function c1(e,t,n){const c=e.getProps();return eC(c,t,n!==void 0?n:c.custom,e)}const mw=e=>Array.isArray(e);function Vhe(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Hc(n))}function Phe(e){return mw(e)?e[e.length-1]||0:e}function The(e,t){const n=c1(e,t);let{transitionEnd:c={},transition:i={},...r}=n||{};r={...r,...c};for(const s in r){const d=Phe(r[s]);Vhe(e,s,d)}}function Hhe(e){return!!(ze(e)&&e.add)}function fw(e,t){const n=e.getValue("willChange");if(Hhe(n))return n.add(t);if(!n&&It.WillChange){const c=new It.WillChange("auto");e.addValue("willChange",c),c.add(t)}}function Sq(e){return e.props[gq]}const Dhe=e=>e!==null;function Bhe(e,{repeat:t,repeatType:n="loop"},c){const i=e.filter(Dhe),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const Rhe={type:"spring",stiffness:500,damping:25,restSpeed:10},Fhe=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Ehe={type:"keyframes",duration:.8},Ohe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Uhe=(e,{keyframes:t})=>t.length>2?Ehe:l1.has(e)?e.startsWith("scale")?Fhe(t[1]):Rhe:Ohe;function Whe({when:e,delay:t,delayChildren:n,staggerChildren:c,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:d,from:l,elapsed:h,...u}){return!!Object.keys(u).length}const nC=(e,t,n,c={},i,r)=>s=>{const d=Uw(c,e)||{},l=d.delay||c.delay||0;let{elapsed:h=0}=c;h=h-rt(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-h,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};Whe(d)||Object.assign(u,Uhe(e,u)),u.duration&&(u.duration=rt(u.duration)),u.repeatDelay&&(u.repeatDelay=rt(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(hw(u),u.delay===0&&(p=!0)),(It.instantAnimations||It.skipAnimations)&&(p=!0,hw(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=Bhe(u.keyframes,d);if(y!==void 0){ge.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new Ew(u):new lle(u)};function Ghe({protectedKeys:e,needsAnimating:t},n){const c=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,c}function jq(e,t,{delay:n=0,transitionOverride:c,type:i}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:s,...d}=t;c&&(r=c);const l=[],h=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||h&&Ghe(h,u))continue;const f={delay:n,...Uw(r||{},u)},g=p.get();if(g!==void 0&&!p.isAnimating&&!Array.isArray(y)&&y===g&&!f.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){const M=Sq(e);if(M){const v=window.MotionHandoffAnimation(M,u,ge);v!==null&&(f.startTime=v,m=!0)}}fw(e,u),p.start(nC(u,p,y,e.shouldReduceMotion&&X$.has(u)?{type:!1}:f,e,m));const x=p.animation;x&&l.push(x)}return s&&Promise.all(l).then(()=>{ge.update(()=>{s&&The(e,s)})}),l}function $q(e,t,n,c=0,i=1){const r=Array.from(e).sort((h,u)=>h.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 gw(e,t,n={}){const c=c1(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(jq(e,c,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return Khe(e,t,l,h,u,p,n)}:()=>Promise.resolve(),{when:d}=i;if(d){const[l,h]=d==="beforeChildren"?[r,s]:[s,r];return l().then(()=>h())}else return Promise.all([r(),s(n.delay)])}function Khe(e,t,n=0,c=0,i=0,r=1,s){const d=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),d.push(gw(l,t,{...s,delay:n+(typeof c=="function"?0:c)+$q(e.variantChildren,l,c,i,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(d)}function Zhe(e,t,n={}){e.notify("AnimationStart",t);let c;if(Array.isArray(t)){const i=t.map(r=>gw(e,r,n));c=Promise.all(i)}else if(typeof t=="string")c=gw(e,t,n);else{const i=typeof t=="function"?c1(e,t,n.custom):t;c=Promise.all(jq(e,i,n))}return c.then(()=>{e.notify("AnimationComplete",t)})}function qq(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 Xhe=Xw.length;function Aq(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Aq(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Xhe;n++){const c=Xw[n],i=e.props[c];(W1(i)||i===!1)&&(t[c]=i)}return t}const Yhe=[...Zw].reverse(),Jhe=Zw.length;function Qhe(e){return t=>Promise.all(t.map(({animation:n,options:c})=>Zhe(e,n,c)))}function eue(e){let t=Qhe(e),n=hN(),c=!0;const i=l=>(h,u)=>{const p=c1(e,u,l==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:y,transitionEnd:f,...g}=p;h={...h,...g,...f}}return h};function r(l){t=l(e)}function s(l){const{props:h}=e,u=Aq(e.parent)||{},p=[],y=new Set;let f={},g=1/0;for(let x=0;x<Jhe;x++){const M=Yhe[x],v=n[M],L=h[M]!==void 0?h[M]:u[M],b=W1(L),C=M===l?v.isActive:null;C===!1&&(g=x);let N=L===u[M]&&L!==h[M]&&b;if(N&&c&&e.manuallyAnimateOnMount&&(N=!1),v.protectedKeys={...f},!v.isActive&&C===null||!L&&!v.prevProp||$L(L)||typeof L=="boolean")continue;const _=tue(v.prevProp,L);let I=_||M===l&&v.isActive&&!N&&b||x>g&&b,j=!1;const w=Array.isArray(L)?L:[L];let S=w.reduce(i(M),{});C===!1&&(S={});const{prevResolvedValues:$={}}=v,A={...$,...S},H=q=>{I=!0,y.has(q)&&(j=!0,y.delete(q)),v.needsAnimating[q]=!0;const z=e.getValue(q);z&&(z.liveStyle=!1)};for(const q in A){const z=S[q],R=$[q];if(f.hasOwnProperty(q))continue;let T=!1;mw(z)&&mw(R)?T=!qq(z,R):T=z!==R,T?z!=null?H(q):y.add(q):z!==void 0&&y.has(q)?H(q):v.protectedKeys[q]=!0}v.prevProp=L,v.prevResolvedValues=S,v.isActive&&(f={...f,...S}),c&&e.blockInitialAnimation&&(I=!1);const P=N&&_;I&&(!P||j)&&p.push(...w.map(q=>{const z={type:M};if(typeof q=="string"&&c&&!P&&e.manuallyAnimateOnMount&&e.parent){const{parent:R}=e,T=c1(R,q);if(R.enteringChildren&&T){const{delayChildren:O}=T.transition||{};z.delay=$q(R.enteringChildren,e,O)}}return{animation:q,options:z}}))}if(y.size){const x={};if(typeof h.initial!="boolean"){const M=c1(e,Array.isArray(h.initial)?h.initial[0]:h.initial);M&&M.transition&&(x.transition=M.transition)}y.forEach(M=>{const v=e.getBaseTarget(M),L=e.getValue(M);L&&(L.liveStyle=!0),x[M]=v??null}),p.push({animation:x})}let m=!!p.length;return c&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(m=!1),c=!1,m?t(p):Promise.resolve()}function d(l,h){if(n[l].isActive===h)return Promise.resolve();e.variantChildren?.forEach(p=>p.animationState?.setActive(l,h)),n[l].isActive=h;const u=s(l);for(const p in n)n[p].protectedKeys={};return u}return{animateChanges:s,setActive:d,setAnimateFunction:r,getState:()=>n,reset:()=>{n=hN()}}}function tue(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!qq(t,e):!1}function Et(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function hN(){return{animate:Et(!0),whileInView:Et(),whileHover:Et(),whileTap:Et(),whileDrag:Et(),whileFocus:Et(),exit:Et()}}class Rt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class aue extends Rt{constructor(t){super(t),t.animationState||(t.animationState=eue(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();$L(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 nue=0;class oue extends Rt{constructor(){super(...arguments),this.id=nue++}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 cue={animation:{Feature:aue},exit:{Feature:oue}};function K1(e,t,n,c={passive:!0}){return e.addEventListener(t,n,c),()=>e.removeEventListener(t,n)}function Q1(e){return{point:{x:e.pageX,y:e.pageY}}}const iue=e=>t=>Kw(t)&&e(t,Q1(t));function D1(e,t,n,c){return K1(e,t,iue(n),c)}const zq=1e-4,rue=1-zq,sue=1+zq,Vq=.01,due=0-Vq,lue=0+Vq;function Be(e){return e.max-e.min}function hue(e,t,n){return Math.abs(e-t)<=n}function uN(e,t,n,c=.5){e.origin=c,e.originPoint=xe(t.min,t.max,e.origin),e.scale=Be(n)/Be(t),e.translate=xe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=rue&&e.scale<=sue||isNaN(e.scale))&&(e.scale=1),(e.translate>=due&&e.translate<=lue||isNaN(e.translate))&&(e.translate=0)}function B1(e,t,n,c){uN(e.x,t.x,n.x,c?c.originX:void 0),uN(e.y,t.y,n.y,c?c.originY:void 0)}function pN(e,t,n){e.min=n.min+t.min,e.max=e.min+Be(t)}function uue(e,t,n){pN(e.x,t.x,n.x),pN(e.y,t.y,n.y)}function yN(e,t,n){e.min=t.min-n.min,e.max=e.min+Be(t)}function R1(e,t,n){yN(e.x,t.x,n.x),yN(e.y,t.y,n.y)}function et(e){return[e("x"),e("y")]}const Pq=({current:e})=>e?e.ownerDocument.defaultView:null,kN=(e,t)=>Math.abs(e-t);function pue(e,t){const n=kN(e.x,t.x),c=kN(e.y,t.y);return Math.sqrt(n**2+c**2)}class Tq{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=iI(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,g=pue(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!f&&!g)return;const{point:m}=y,{timestamp:x}=Ae;this.history.push({...m,timestamp:x});const{onStart:M,onMove:v}=this.handlers;f||(M&&M(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,y)},this.handlePointerMove=(y,f)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=cI(f,this.transformPagePoint),ge.update(this.updatePoint,!0)},this.handlePointerUp=(y,f)=>{this.end();const{onEnd:g,onSessionEnd:m,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const M=iI(y.type==="pointercancel"?this.lastMoveEventInfo:cI(f,this.transformPagePoint),this.history);this.startEvent&&g&&g(y,M),m&&m(y,M)},!Kw(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=c,this.distanceThreshold=s,this.contextWindow=i||window;const d=Q1(t),l=cI(d,this.transformPagePoint),{point:h}=l,{timestamp:u}=Ae;this.history=[{...h,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,iI(l,this.history)),this.removeListeners=X1(D1(this.contextWindow,"pointermove",this.handlePointerMove),D1(this.contextWindow,"pointerup",this.handlePointerUp),D1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),bt(this.updatePoint)}}function cI(e,t){return t?{point:t(e.point)}:e}function mN(e,t){return{x:e.x-t.x,y:e.y-t.y}}function iI({point:e},t){return{point:e,delta:mN(e,Hq(t)),offset:mN(e,yue(t)),velocity:kue(t,.1)}}function yue(e){return e[0]}function Hq(e){return e[e.length-1]}function kue(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,c=null;const i=Hq(e);for(;n>=0&&(c=e[n],!(i.timestamp-c.timestamp>rt(t)));)n--;if(!c)return{x:0,y:0};const r=tt(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 mue(e,{min:t,max:n},c){return t!==void 0&&e<t?e=c?xe(t,e,c.min):Math.max(e,t):n!==void 0&&e>n&&(e=c?xe(n,e,c.max):Math.min(e,n)),e}function fN(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 fue(e,{top:t,left:n,bottom:c,right:i}){return{x:fN(e.x,n,i),y:fN(e.y,t,c)}}function gN(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 gue(e,t){return{x:gN(e.x,t.x),y:gN(e.y,t.y)}}function vue(e,t){let n=.5;const c=Be(e),i=Be(t);return i>c?n=E1(t.min,t.max-c,e.min):c>i&&(n=E1(e.min,e.max-i,t.min)),Lt(0,1,n)}function xue(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 vw=.35;function Mue(e=vw){return e===!1?e=0:e===!0&&(e=vw),{x:vN(e,"left","right"),y:vN(e,"top","bottom")}}function vN(e,t,n){return{min:xN(e,t),max:xN(e,n)}}function xN(e,t){return typeof e=="number"?e:e[t]||0}const _ue=new WeakMap;class Lue{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=be(),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(Q1(p).point)},s=(p,y)=>{const{drag:f,dragPropagation:g,onDragStart:m}=this.getProps();if(f&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Cle(f),!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),et(M=>{let v=this.getAxisMotionValue(M).get()||0;if(mt.test(v)){const{projection:L}=this.visualElement;if(L&&L.layout){const b=L.layout.layoutBox[M];b&&(v=Be(b)*(parseFloat(v)/100))}}this.originPoint[M]=v}),m&&ge.postRender(()=>m(p,y)),fw(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:f,dragDirectionLock:g,onDirectionLock:m,onDrag:x}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:M}=y;if(g&&this.currentDirection===null){this.currentDirection=Iue(M),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",y.point,M),this.updateAxis("y",y.point,M),this.visualElement.render(),x&&x(p,y)},l=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>et(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new Tq(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:c,contextWindow:Pq(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&&ge.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||!di(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+c[t];this.constraints&&this.constraints[t]&&(s=mue(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&&Xc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&c?this.constraints=fue(c.layoutBox,t):this.constraints=!1,this.elastic=Mue(n),i!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&et(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=xue(c.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Xc(t))return!1;const c=t.current;st(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=bhe(c,i.root,this.visualElement.getTransformPagePoint());let s=gue(i.layout.layoutBox,r);if(n){const d=n(_he(s));this.hasMutatedConstraints=!!d,d&&(s=Mq(d))}return s}startAnimation(t){const{drag:n,dragMomentum:c,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:d}=this.getProps(),l=this.constraints||{},h=et(u=>{if(!di(u,n,this.currentDirection))return;let p=l&&l[u]||{};s&&(p={min:0,max:0});const y=i?200:1e6,f=i?40:1e7,g={type:"inertia",velocity:c?t[u]:0,bounceStiffness:y,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10,...r,...p};return this.startAxisValueAnimation(u,g)});return Promise.all(h).then(d)}startAxisValueAnimation(t,n){const c=this.getAxisMotionValue(t);return fw(this.visualElement,t),c.start(nC(t,c,0,n,this.visualElement,!1))}stopAnimation(){et(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){et(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){et(n=>{const{drag:c}=this.getProps();if(!di(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]-xe(s,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:c}=this.visualElement;if(!Xc(n)||!c||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};et(s=>{const d=this.getAxisMotionValue(s);if(d&&this.constraints!==!1){const l=d.get();i[s]=vue({min:l,max:l},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(),et(s=>{if(!di(s,t,null))return;const d=this.getAxisMotionValue(s),{min:l,max:h}=this.constraints[s];d.set(xe(l,h,i[s]))})}addListeners(){if(!this.visualElement.current)return;_ue.set(this.visualElement,this);const t=this.visualElement.current,n=D1(t,"pointerdown",l=>{const{drag:h,dragListener:u=!0}=this.getProps();h&&u&&this.start(l)}),c=()=>{const{dragConstraints:l}=this.getProps();Xc(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",c);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ge.read(c);const s=K1(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:h})=>{this.isDragging&&h&&(et(u=>{const p=this.getAxisMotionValue(u);p&&(this.originPoint[u]+=l[u].translate,p.set(p.get()+l[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=vw,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:c,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function di(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Iue(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class bue extends Rt{constructor(t){super(t),this.removeGroupControls=nt,this.removeListeners=nt,this.controls=new Lue(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||nt}unmount(){this.removeGroupControls(),this.removeListeners()}}const MN=e=>(t,n)=>{e&&ge.postRender(()=>e(t,n))};class wue extends Rt{constructor(){super(...arguments),this.removePointerDownListener=nt}onPointerDown(t){this.session=new Tq(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Pq(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:c,onPanEnd:i}=this.node.getProps();return{onSessionStart:MN(t),onStart:MN(n),onMove:c,onEnd:(r,s)=>{delete this.session,i&&ge.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=D1(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 pL={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function _N(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const m1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ee.test(e))e=parseFloat(e);else return e;const n=_N(e,t.target.x),c=_N(e,t.target.y);return`${n}% ${c}%`}},Cue={correct:(e,{treeScale:t,projectionDelta:n})=>{const c=e,i=Dt.parse(e);if(i.length>5)return c;const r=Dt.createTransformer(e),s=typeof i[0]!="number"?1:0,d=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=d,i[1+s]/=l;const h=xe(d,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=h),typeof i[3+s]=="number"&&(i[3+s]/=h),r(i)}};let rI=!1;class Nue extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c,layoutId:i}=this.props,{projection:r}=t;Xle(Sue),r&&(n.group&&n.group.add(r),c&&c.register&&i&&c.register(r),rI&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),pL.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:c,drag:i,isPresent:r}=this.props,{projection:s}=c;return s&&(s.isPresent=r,rI=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||ge.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Gw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c}=this.props,{projection:i}=t;rI=!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 Dq(e){const[t,n]=rq(),c=k.useContext(bw);return o.jsx(Nue,{...e,layoutGroup:c,switchLayoutGroup:k.useContext(vq),isPresent:t,safeToRemove:n})}const Sue={borderRadius:{...m1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:m1,borderTopRightRadius:m1,borderBottomLeftRadius:m1,borderBottomRightRadius:m1,boxShadow:Cue};function jue(e,t,n){const c=ze(e)?e:Hc(e);return c.start(nC("",c,t,n)),c.animation}const $ue=(e,t)=>e.depth-t.depth;class que{constructor(){this.children=[],this.isDirty=!1}add(t){Nw(this.children,t),this.isDirty=!0}remove(t){Sw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort($ue),this.isDirty=!1,this.children.forEach(t)}}function Aue(e,t){const n=We.now(),c=({timestamp:i})=>{const r=i-n;r>=t&&(bt(c),e(r-t))};return ge.setup(c,!0),()=>bt(c)}const Bq=["TopLeft","TopRight","BottomLeft","BottomRight"],zue=Bq.length,LN=e=>typeof e=="string"?parseFloat(e):e,IN=e=>typeof e=="number"||ee.test(e);function Vue(e,t,n,c,i,r){i?(e.opacity=xe(0,n.opacity??1,Pue(c)),e.opacityExit=xe(t.opacity??1,0,Tue(c))):r&&(e.opacity=xe(t.opacity??1,n.opacity??1,c));for(let s=0;s<zue;s++){const d=`border${Bq[s]}Radius`;let l=bN(t,d),h=bN(n,d);if(l===void 0&&h===void 0)continue;l||(l=0),h||(h=0),l===0||h===0||IN(l)===IN(h)?(e[d]=Math.max(xe(LN(l),LN(h),c),0),(mt.test(h)||mt.test(l))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=xe(t.rotate||0,n.rotate||0,c))}function bN(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Pue=Rq(0,.5,w$),Tue=Rq(.5,.95,nt);function Rq(e,t,n){return c=>c<e?0:c>t?1:n(E1(e,t,c))}function wN(e,t){e.min=t.min,e.max=t.max}function Xe(e,t){wN(e.x,t.x),wN(e.y,t.y)}function CN(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function NN(e,t,n,c,i){return e-=t,e=LL(e,1/n,c),i!==void 0&&(e=LL(e,1/i,c)),e}function Hue(e,t=0,n=1,c=.5,i,r=e,s=e){if(mt.test(t)&&(t=parseFloat(t),t=xe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let d=xe(r.min,r.max,c);e===r&&(d-=t),e.min=NN(e.min,t,n,d,i),e.max=NN(e.max,t,n,d,i)}function SN(e,t,[n,c,i],r,s){Hue(e,t[n],t[c],t[i],t.scale,r,s)}const Due=["x","scaleX","originX"],Bue=["y","scaleY","originY"];function jN(e,t,n,c){SN(e.x,t,Due,n?n.x:void 0,c?c.x:void 0),SN(e.y,t,Bue,n?n.y:void 0,c?c.y:void 0)}function $N(e){return e.translate===0&&e.scale===1}function Fq(e){return $N(e.x)&&$N(e.y)}function qN(e,t){return e.min===t.min&&e.max===t.max}function Rue(e,t){return qN(e.x,t.x)&&qN(e.y,t.y)}function AN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Eq(e,t){return AN(e.x,t.x)&&AN(e.y,t.y)}function zN(e){return Be(e.x)/Be(e.y)}function VN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Fue{constructor(){this.members=[]}add(t){Nw(this.members,t),t.scheduleRender()}remove(t){if(Sw(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 Eue(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:h,rotate:u,rotateX:p,rotateY:y,skewX:f,skewY:g}=n;h&&(c=`perspective(${h}px) ${c}`),u&&(c+=`rotate(${u}deg) `),p&&(c+=`rotateX(${p}deg) `),y&&(c+=`rotateY(${y}deg) `),f&&(c+=`skewX(${f}deg) `),g&&(c+=`skewY(${g}deg) `)}const d=e.x.scale*t.x,l=e.y.scale*t.y;return(d!==1||l!==1)&&(c+=`scale(${d}, ${l})`),c||"none"}const sI=["","X","Y","Z"],Oue=1e3;let Uue=0;function dI(e,t,n,c){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),c&&(c[e]=0))}function Oq(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Sq(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ge,!(i||r))}const{parent:c}=e;c&&!c.hasCheckedOptimisedAppear&&Oq(c)}function Uq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:c,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=Uue++,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(Kue),this.nodes.forEach(Jue),this.nodes.forEach(Que),this.nodes.forEach(Zue)},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 l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new que)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new $w),this.eventHandlers.get(s).add(d)}notifyListeners(s,...d){const l=this.eventHandlers.get(s);l&&l.notify(...d)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=iq(s)&&!Ale(s),this.instance=s;const{layoutId:d,layout:l,visualElement:h}=this.options;if(h&&!h.current&&h.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||d)&&(this.isLayoutDirty=!0),e){let u,p=0;const y=()=>this.root.updateBlockedByResize=!1;ge.read(()=>{p=window.innerWidth}),e(s,()=>{const f=window.innerWidth;f!==p&&(p=f,this.root.updateBlockedByResize=!0,u&&u(),u=Aue(y,250),pL.hasAnimatedSinceResize&&(pL.hasAnimatedSinceResize=!1,this.nodes.forEach(HN)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&h&&(d||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:p,hasRelativeLayoutChanged:y,layout:f})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||h.getDefaultTransition()||ope,{onLayoutAnimationStart:m,onLayoutAnimationComplete:x}=h.getProps(),M=!this.targetLayout||!Eq(this.targetLayout,f),v=!p&&y;if(this.options.layoutRoot||this.resumeFrom||v||p&&(M||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const L={...Uw(g,"layout"),onPlay:m,onComplete:x};(h.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=f})}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(),bt(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(epe),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&&Oq(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:l}=this.options;if(d===void 0&&!l)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(PN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(TN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Yue),this.nodes.forEach(Wue),this.nodes.forEach(Gue)):this.nodes.forEach(TN),this.clearAllSnapshots();const d=We.now();Ae.delta=Lt(0,1e3/60,d-Ae.timestamp),Ae.timestamp=d,Ae.isProcessing=!0,YL.update.process(Ae),YL.preRender.process(Ae),YL.render.process(Ae),Ae.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Gw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Xue),this.sharedNodes.forEach(tpe)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ge.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ge.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Be(this.snapshot.measuredBox.x)&&!Be(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 l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=be(),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 l=c(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!Fq(this.projectionDelta),l=this.getTransformTemplate(),h=l?l(this.latestValues,""):void 0,u=h!==this.prevTransformTemplateValue;s&&this.instance&&(d||Nc(this.latestValues)||u)&&(i(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const d=this.measurePageBox();let l=this.removeElementScroll(d);return s&&(l=this.removeTransform(l)),cpe(l),{animationId:this.root.animationId,measuredBox:d,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return be();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ipe))){const{scroll:h}=this.root;h&&(Yc(d.x,h.offset.x),Yc(d.y,h.offset.y))}return d}removeElementScroll(s){const d=be();if(Xe(d,s),this.scroll?.wasRoot)return d;for(let l=0;l<this.path.length;l++){const h=this.path[l],{scroll:u,options:p}=h;h!==this.root&&u&&p.layoutScroll&&(u.wasRoot&&Xe(d,s),Yc(d.x,u.offset.x),Yc(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const l=be();Xe(l,s);for(let h=0;h<this.path.length;h++){const u=this.path[h];!d&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Jc(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Nc(u.latestValues)&&Jc(l,u.latestValues)}return Nc(this.latestValues)&&Jc(l,this.latestValues),l}removeTransform(s){const d=be();Xe(d,s);for(let l=0;l<this.path.length;l++){const h=this.path[l];if(!h.instance||!Nc(h.latestValues))continue;pw(h.latestValues)&&h.updateSnapshot();const u=be(),p=h.measurePageBox();Xe(u,p),jN(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,u)}return Nc(this.latestValues)&&jN(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!==Ae.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 l=!!this.resumingFrom||this!==d;if(!(s||l&&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=Ae.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=be(),this.relativeTargetOrigin=be(),R1(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),Xe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=be(),this.targetWithTransforms=be()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),uue(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Xe(this.target,this.layout.layoutBox),Lq(this.target,this.targetDelta)):Xe(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=be(),this.relativeTargetOrigin=be(),R1(this.relativeTargetOrigin,this.target,y.target),Xe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||pw(this.parent.latestValues)||_q(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 l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Ae.timestamp&&(l=!1),l)return;const{layout:h,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||!(h||u))return;Xe(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;Ihe(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=be());const{target:f}=s;if(!f){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(CN(this.prevProjectionDelta.x,this.projectionDelta.x),CN(this.prevProjectionDelta.y,this.projectionDelta.y)),B1(this.projectionDelta,this.layoutCorrected,f,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!VN(this.projectionDelta.x,this.prevProjectionDelta.x)||!VN(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",f))}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=Qc(),this.projectionDelta=Qc(),this.projectionDeltaWithTransform=Qc()}setAnimationOrigin(s,d=!1){const l=this.snapshot,h=l?l.latestValues:{},u={...this.latestValues},p=Qc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=be(),f=l?l.source:void 0,g=this.layout?this.layout.source:void 0,m=f!==g,x=this.getStack(),M=!x||x.members.length<=1,v=!!(m&&!M&&this.options.crossfade===!0&&!this.path.some(npe));this.animationProgress=0;let L;this.mixTargetDelta=b=>{const C=b/1e3;DN(p.x,s.x,C),DN(p.y,s.y,C),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(R1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),ape(this.relativeTarget,this.relativeTargetOrigin,y,C),L&&Rue(this.relativeTarget,L)&&(this.isProjectionDirty=!1),L||(L=be()),Xe(L,this.relativeTarget)),m&&(this.animationValues=u,Vue(u,h,this.latestValues,C,v,M)),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&&(bt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ge.update(()=>{pL.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Hc(0)),this.currentAnimation=jue(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(Oue),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:d,target:l,layout:h,latestValues:u}=s;if(!(!d||!l||!h)){if(this!==s&&this.layout&&h&&Wq(this.options.animationType,this.layout.layoutBox,h.layoutBox)){l=this.target||be();const p=Be(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+p;const y=Be(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+y}Xe(d,l),Jc(d,u),B1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Fue),this.sharedNodes.get(s).add(d);const h=d.options.initialPromotionConfig;d.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.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:l}={}){const h=this.getStack();h&&h.promote(this,l),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:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(d=!0),!d)return;const h={};l.z&&dI("z",s,h,this.animationValues);for(let u=0;u<sI.length;u++)dI(`rotate${sI[u]}`,s,h,this.animationValues),dI(`skew${sI[u]}`,s,h,this.animationValues);s.render();for(const u in h)s.setStaticValue(u,h[u]),this.animationValues&&(this.animationValues[u]=h[u]);s.scheduleRender()}applyProjectionStyles(s,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=uL(d?.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none";return}const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=uL(d?.pointerEvents)||""),this.hasProjected&&!Nc(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=h.animationValues||h.latestValues;this.applyTransformsToTarget();let p=Eue(this.projectionDeltaWithTransform,this.treeScale,u);l&&(p=l(u,p)),s.transform=p;const{x:y,y:f}=this.projectionDelta;s.transformOrigin=`${y.origin*100}% ${f.origin*100}% 0`,h.animationValues?s.opacity=h===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=h===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const g in G1){if(u[g]===void 0)continue;const{correct:m,applyTo:x,isCSSVariable:M}=G1[g],v=p==="none"?u[g]:m(u[g],h);if(x){const L=x.length;for(let b=0;b<L;b++)s[x[b]]=v}else M?this.options.visualElement.renderState.vars[g]=v:s[g]=v}this.options.layoutId&&(s.pointerEvents=h===this?uL(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(PN),this.root.sharedNodes.clear()}}}function Wue(e){e.updateLayout()}function Gue(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"?et(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Be(p);p.min=n[u].min,p.max=p.min+y}):Wq(i,t.layoutBox,n)&&et(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Be(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=Qc();B1(s,n,t.layoutBox);const d=Qc();r?B1(d,e.applyTransform(c,!0),t.measuredBox):B1(d,n,t.layoutBox);const l=!Fq(s);let h=!1;if(!e.resumeFrom){const u=e.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:p,layout:y}=u;if(p&&y){const f=be();R1(f,t.layoutBox,p.layoutBox);const g=be();R1(g,n,y.layoutBox),Eq(f,g)||(h=!0),u.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=f,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:d,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function Kue(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 Zue(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Xue(e){e.clearSnapshot()}function PN(e){e.clearMeasurements()}function TN(e){e.isLayoutDirty=!1}function Yue(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 Jue(e){e.resolveTargetDelta()}function Que(e){e.calcProjection()}function epe(e){e.resetSkewAndRotation()}function tpe(e){e.removeLeadSnapshot()}function DN(e,t,n){e.translate=xe(t.translate,0,n),e.scale=xe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function BN(e,t,n,c){e.min=xe(t.min,n.min,c),e.max=xe(t.max,n.max,c)}function ape(e,t,n,c){BN(e.x,t.x,n.x,c),BN(e.y,t.y,n.y,c)}function npe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const ope={duration:.45,ease:[.4,0,.1,1]},RN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),FN=RN("applewebkit/")&&!RN("chrome/")?Math.round:nt;function EN(e){e.min=FN(e.min),e.max=FN(e.max)}function cpe(e){EN(e.x),EN(e.y)}function Wq(e,t,n){return e==="position"||e==="preserve-aspect"&&!hue(zN(t),zN(n),.2)}function ipe(e){return e!==e.root&&e.scroll?.wasRoot}const rpe=Uq({attachResizeListener:(e,t)=>K1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),lI={current:void 0},Gq=Uq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!lI.current){const e=new rpe({});e.mount(window),e.setOptions({layoutScroll:!0}),lI.current=e}return lI.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),spe={pan:{Feature:wue},drag:{Feature:bue,ProjectionNode:Gq,MeasureLayout:Dq}};function ON(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&&ge.postRender(()=>r(t,Q1(t)))}class dpe extends Rt{mount(){const{current:t}=this.node;t&&(this.unmount=Nle(t,(n,c)=>(ON(this.node,c,"Start"),i=>ON(this.node,i,"End"))))}unmount(){}}class lpe extends Rt{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=X1(K1(this.node.current,"focus",()=>this.onFocus()),K1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function UN(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&&ge.postRender(()=>r(t,Q1(t)))}class hpe extends Rt{mount(){const{current:t}=this.node;t&&(this.unmount=qle(t,(n,c)=>(UN(this.node,c,"Start"),(i,{success:r})=>UN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const xw=new WeakMap,hI=new WeakMap,upe=e=>{const t=xw.get(e.target);t&&t(e)},ppe=e=>{e.forEach(upe)};function ype({root:e,...t}){const n=e||document;hI.has(n)||hI.set(n,{});const c=hI.get(n),i=JSON.stringify(t);return c[i]||(c[i]=new IntersectionObserver(ppe,{root:e,...t})),c[i]}function kpe(e,t,n){const c=ype(t);return xw.set(e,n),c.observe(e),()=>{xw.delete(e),c.unobserve(e)}}const mpe={some:0,all:1};class fpe extends Rt{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:mpe[i]},d=l=>{const{isIntersecting:h}=l;if(this.isInView===h||(this.isInView=h,r&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:u,onViewportLeave:p}=this.node.getProps(),y=h?u:p;y&&y(l)};return kpe(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(gpe(t,n))&&this.startObserver()}unmount(){}}function gpe({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const vpe={inView:{Feature:fpe},tap:{Feature:hpe},focus:{Feature:lpe},hover:{Feature:dpe}},xpe={layout:{ProjectionNode:Gq,MeasureLayout:Dq}},Mpe={...cue,...vpe,...spe,...xpe},oC=Mhe(Mpe,zhe);function Kq(e){const t=Bt(()=>Hc(e)),{isStatic:n}=k.useContext(SL);if(n){const[,c]=k.useState(e);k.useEffect(()=>t.on("change",c),[])}return t}function Zq(e,t){const n=Kq(t()),c=()=>n.set(t());return c(),Cw(()=>{const i=()=>ge.preRender(c,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),bt(c)}}),n}function _pe(e){H1.current=[],e();const t=Zq(H1.current,e);return H1.current=void 0,t}function Lpe(e,t,n,c){if(typeof e=="function")return _pe(e);const i=typeof t=="function"?t:zle(t,n,c);return Array.isArray(e)?WN(e,i):WN([e],([r])=>i(r))}function WN(e,t){const n=Bt(()=>[]);return Zq(e,()=>{n.length=0;const c=e.length;for(let i=0;i<c;i++)n[i]=e[i].get();return t(n)})}class Ipe{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 bpe=()=>new Ipe;function wpe(){return Bt(bpe)}const Xq=k.createContext(null);function Cpe(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],l=s.layout,h=xe(l.min,l.max,.5);return r===1&&d.layout.max+n>h||r===-1&&d.layout.min+n<h?Bde(e,i,i+r):e}function Npe({children:e,as:t="ul",axis:n="y",onReorder:c,values:i,...r},s){const d=Bt(()=>oC[t]),l=[],h=k.useRef(!1);st(!!i,"Reorder.Group must be provided a values prop","reorder-values");const u={axis:n,registerItem:(p,y)=>{const f=l.findIndex(g=>p===g.value);f!==-1?l[f].layout=y[n]:l.push({value:p,layout:y[n]}),l.sort($pe)},updateOrder:(p,y,f)=>{if(h.current)return;const g=Cpe(l,p,y,f);l!==g&&(h.current=!0,c(g.map(jpe).filter(m=>i.indexOf(m)!==-1)))}};return k.useEffect(()=>{h.current=!1}),o.jsx(d,{...r,ref:s,ignoreStrict:!0,children:o.jsx(Xq.Provider,{value:u,children:e})})}const Spe=k.forwardRef(Npe);function jpe(e){return e.value}function $pe(e,t){return e.layout.min-t.layout.min}function GN(e,t=0){return ze(e)?e:Kq(t)}function qpe({children:e,style:t={},value:n,as:c="li",onDrag:i,layout:r=!0,...s},d){const l=Bt(()=>oC[c]),h=k.useContext(Xq),u={x:GN(t.x),y:GN(t.y)},p=Lpe([u.x,u.y],([m,x])=>m||x?1:"unset");st(!!h,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:f,updateOrder:g}=h;return o.jsx(l,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(m,x)=>{const{velocity:M}=x;M[y]&&g(n,u[y].get(),M[y]),i&&i(m,x)},onLayoutMeasure:m=>f(n,m),ref:d,ignoreStrict:!0,children:e})}const Ape=k.forwardRef(qpe),IL=[o.jsx(P1,{size:18}),o.jsx(zt,{size:18}),o.jsx(z1,{size:18}),o.jsx(Vt,{size:18}),o.jsx(b1,{size:18}),o.jsx(I1,{size:18})],zpe=({items:e,onReorder:t,draggable:n=!1,className:c,header:i,headerStyle:r,itemsDraggable:s=!0})=>{const[d,l]=k.useState(e??[]);return k.useEffect(()=>{e&&Array.isArray(e)?(e.forEach((h,u)=>{if(h.icon==null&&(h.icon=IL[u%IL.length]),typeof h.text=="string"&&h.text.includes("/")){const p=String(h.text).split("/"),y=p[0].trim(),g=p.slice(1).join("/").trim().match(/^(\d+)(.*)$/);if(g){const m=g[1],x=g[2]??"",M=m.padStart(3,"0");h.text=`${y} / ${M}${x}`}}}),l(e)):l([])},[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(Spe,{axis:"y",values:d,onReorder:h=>{l(h),t?.(h)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((h,u)=>o.jsx(Vpe,{value:h,index:u,itemsDraggable:s},String(h.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 Vpe({value:e,index:t}){const n=wpe(),c=IL[t%IL.length]??null;return o.jsx(Ape,{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(k$,{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 Ppe(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 Tpe(e){return!e||typeof e=="string"&&e.trim()===""}function Hpe(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function Dpe(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function Bpe(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 Rpe(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 Fpe(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 Epe(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 bL(e,t){const n=Ppe(e,t);if(n)return n;if(Tpe(e))return{isValid:!0};const c=e.toString();switch(t.type){case"email":{const r=Hpe(c);if(r)return r;break}case"url":{const r=Dpe(c);if(r)return r;break}case"number":{const r=Bpe(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=Rpe(e,t);if(r)return r;break}case"file":{const r=Fpe(e,t);if(r)return r;break}}const i=Epe(c,t);return i||{isValid:!0}}function Yq(e,t){const n={};let c=!0;for(const i of t){const r=bL(e[i.name],i);r.isValid||(n[i.name]=r.error,c=!1)}return{isValid:c,errors:n}}const Ope="_formContainer_14ads_1",Upe="_headerLine_14ads_17",Wpe="_formTitle_14ads_25",Gpe="_formDescription_14ads_30",Kpe="_sectionTitle_14ads_37",Zpe="_sectionHelp_14ads_44",Xpe="_fieldHelp_14ads_50",Ype="_gridContainer_14ads_58",Jpe="_fieldGridItem_14ads_70",Qpe="_sectionFull_14ads_105",eye="_formFooter_14ads_110",tye="_footerLeft_14ads_118",aye="_footerRight_14ads_119",nye="_cancelLink_14ads_125",oye="_submitButton_14ads_136",cye="_fieldLabel_14ads_148",iye="_inputWrapper_14ads_163",rye="_inputInner_14ads_187",sye="_hasPrefix_14ads_196",dye="_inputBase_14ads_196",lye="_iconPrefix_14ads_292",hye="_iconSuffix_14ads_293",uye="_passwordToggle_14ads_319",pye="_fieldError_14ads_365",yye="_fieldInvalid_14ads_372",ke={formContainer:Ope,headerLine:Upe,formTitle:Wpe,formDescription:Gpe,sectionTitle:Kpe,sectionHelp:Zpe,fieldHelp:Xpe,gridContainer:Ype,fieldGridItem:Jpe,sectionFull:Qpe,formFooter:eye,footerLeft:tye,footerRight:aye,cancelLink:nye,submitButton:oye,fieldLabel:cye,inputWrapper:iye,inputInner:rye,hasPrefix:sye,inputBase:dye,iconPrefix:lye,iconSuffix:hye,passwordToggle:uye,fieldError:pye,fieldInvalid:yye},Jq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const[s,d]=k.useState(!1),l=e.type==="password",h=e.attributes?.showPasswordToggle??!0,u=l?s?"text":"password":e.type,p=e.attributes?.iconComponent??(e.attributes?.icon?_t[e.attributes.icon]:null),y=e.attributes?.iconPosition??"suffix",f=g=>{n(g.target.value)};return o.jsxs("div",{className:ke.inputWrapper,children:[o.jsx("label",{className:`${ke.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),o.jsxs("div",{className:`${ke.inputInner} ${p&&y==="prefix"?ke.hasPrefix:""}`,children:[p&&y==="prefix"&&o.jsx("span",{className:ke.iconPrefix,children:o.jsx(p,{size:16})}),o.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${ke.inputBase} ${i?ke.fieldInvalid:""}`,value:t??"",onChange:f,onBlur:c,disabled:!!e.disabled,"aria-invalid":!!i,"aria-describedby":e.help?`${e.name}-help`:void 0}),l&&h&&o.jsx("button",{type:"button","aria-label":s?"Masquer le mot de passe":"Afficher le mot de passe",className:ke.passwordToggle,onClick:()=>d(g=>!g),children:s?o.jsx(j1,{size:16}):o.jsx($1,{size:16})}),p&&y==="suffix"&&!l&&o.jsx("span",{className:ke.iconSuffix,children:o.jsx(p,{size:16})})]}),r&&i&&o.jsx("span",{className:ke.fieldError,children:i})]})},kye="_fieldGroup_yb3zi_7",mye="_fieldLabel_yb3zi_11",fye="_required_yb3zi_17",gye="_fieldInput_yb3zi_22",vye="_fieldInvalid_yb3zi_40",xye="_fieldValid_yb3zi_44",Mye="_fieldError_yb3zi_48",_ye="_radioGroup_yb3zi_57",Pt={fieldGroup:kye,fieldLabel:mye,required:fye,fieldInput:gye,fieldInvalid:vye,fieldValid:xye,fieldError:Mye,radioGroup:_ye},AL=({field:e,children:t,error:n,touched:c})=>{const i=c&&n;return o.jsxs("div",{className:Pt.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&o.jsx("label",{className:`${Pt.fieldLabel} ${e.required?Pt.required:""}`,children:e.label}),t,i&&o.jsx("span",{className:Pt.fieldError,children:n})]})},Qq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,l=["form-control",Pt.fieldInput,s?Pt.fieldInvalid:"",d?Pt.fieldValid:""].filter(Boolean).join(" ");return o.jsx(AL,{field:e,error:i,touched:r,children:o.jsx("textarea",{className:l,placeholder:e.placeholder,value:t||"",onChange:h=>n(h.target.value),onBlur:c,rows:4})})},Lye="_wrapper_117u4_1",Iye="_wrapperInvalid_117u4_15",bye="_nativeSelect_117u4_19",wye="_display_117u4_30",Cye="_topLabel_117u4_37",Nye="_valueLine_117u4_45",Sye="_valuePlaceholder_117u4_53",jye="_valueActive_117u4_57",$ye="_caret_117u4_61",qye="_error_117u4_75",Aye="_optionStyle_117u4_89",Ye={wrapper:Lye,wrapperInvalid:Iye,nativeSelect:bye,display:wye,topLabel:Cye,valueLine:Nye,valuePlaceholder:Sye,valueActive:jye,caret:$ye,error:qye,optionStyle:Aye},cC=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=!!(r&&i),d=e.label||"",l=e.placeholder||"",h=e.options?.find(u=>String(u.value)===String(t))?.label??"";return o.jsxs("div",{className:`${Ye.wrapper} ${s?Ye.wrapperInvalid:""} ${t?Ye.wrapperHasValue:""}`,children:[o.jsxs("select",{id:e.name,name:e.name,className:Ye.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:l||`Sélectionnez ${d?.toLowerCase()||""}`}),e.options?.map((u,p)=>o.jsx("option",{value:u.value,className:Ye.optionStyle,children:u.label},p))]}),o.jsxs("div",{className:Ye.display,children:[d&&o.jsx("span",{className:Ye.topLabel,children:d}),o.jsx("span",{className:`${Ye.valueLine} ${t?Ye.valueActive:Ye.valuePlaceholder}`,children:t?h:l}),o.jsx("span",{className:Ye.caret,"aria-hidden":"true"})]}),s&&o.jsx("span",{className:Ye.error,children:i})]})},eA=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx(AL,{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})]})}),tA=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx(AL,{field:e,error:i,touched:r,children:o.jsx("div",{className:Pt.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))})}),zye="_fileInputContainer_r2guc_3",Vye="_customFileInput_r2guc_8",Pye="_fileInputLabel_r2guc_12",Tye="_dragOver_r2guc_39",Hye="_uploadIcon_r2guc_44",Dye="_uploadText_r2guc_50",Bye="_uploadHint_r2guc_56",Rye="_fileList_r2guc_60",Fye="_fileListTitle_r2guc_69",Eye="_fileItem_r2guc_80",Oye="_fileIcon_r2guc_96",Uye="_fileName_r2guc_102",Wye="_fileSize_r2guc_108",Gye="_removeButton_r2guc_114",Kye="_errorText_r2guc_129",Pe={fileInputContainer:zye,customFileInput:Vye,fileInputLabel:Pye,dragOver:Tye,uploadIcon:Hye,uploadText:Dye,uploadHint:Bye,fileList:Rye,fileListTitle:Fye,fileItem:Eye,fileIcon:Oye,fileName:Uye,fileSize:Wye,removeButton:Gye,errorText:Kye},aA=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=k.useRef(null),[d,l]=k.useState(!1),h=x=>{n(x.target.files)},u=()=>{s.current&&s.current.click()},p=x=>{x.preventDefault(),l(!0)},y=()=>{l(!1)},f=x=>{x.preventDefault(),l(!1),x.dataTransfer.files&&x.dataTransfer.files.length>0&&n(x.dataTransfer.files)},g=x=>{if(!t)return;const M=Array.from(t);M.splice(x,1);const v=new DataTransfer;M.forEach(L=>v.items.add(L)),n(v.files)},m=x=>{if(x===0)return"0 Bytes";const M=1024,v=["Bytes","KB","MB","GB"],L=Math.floor(Math.log(x)/Math.log(M));return parseFloat((x/Math.pow(M,L)).toFixed(2))+" "+v[L]};return o.jsxs("div",{className:`${Pe.fileInputContainer} ${r&&i?Pe.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:h,onBlur:c,ref:s,className:Pe.customFileInput}),o.jsxs("label",{htmlFor:e.name,className:`${Pe.fileInputLabel} ${d?Pe.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:f,onClick:u,tabIndex:0,children:[o.jsx("div",{className:Pe.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:Pe.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),o.jsxs("div",{className:Pe.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&o.jsxs("div",{className:Pe.fileList,children:[o.jsx("div",{className:Pe.fileListTitle,children:"Fichiers sélectionnés:"}),o.jsx("ul",{children:Array.from(t).map((x,M)=>o.jsxs("li",{className:Pe.fileItem,children:[o.jsx("div",{className:Pe.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:Pe.fileName,children:x.name}),o.jsx("div",{className:Pe.fileSize,children:m(x.size)}),o.jsx("button",{type:"button",className:Pe.removeButton,onClick:v=>{v.stopPropagation(),g(M)},"aria-label":`Supprimer ${x.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"})]})})]},M))})]}),r&&i&&o.jsx("div",{className:Pe.errorText,children:i})]})},Zye="_container_ecah4_2",Xye="_label_ecah4_6",Yye="_requiredIndicator_ecah4_13",Jye="_input_ecah4_18",Qye="_inputError_ecah4_49",e4e="_errorMessage_ecah4_58",Wc={container:Zye,label:Xye,requiredIndicator:Yye,input:Jye,inputError:Qye,errorMessage:e4e},nA=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r,labelColor:s="black",backgroundColor:d="white"})=>{const l=e.type==="month"?"month":e.type==="week"?"week":e.type==="time"?"time":e.type==="datetime-local"?"datetime-local":"date";return o.jsxs("div",{className:Wc.container,children:[o.jsxs("label",{htmlFor:e.name,className:Wc.label,style:{color:s},children:[e.label,e.required&&o.jsx("span",{className:Wc.requiredIndicator,children:"*"})]}),o.jsx("input",{type:l,id:e.name,name:e.name,value:t||"",onChange:h=>n(h.target.value),onBlur:c,className:`${Wc.input} ${r&&i?Wc.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:Wc.errorMessage,children:i})]})},t4e="_rangeContainer_cyqk3_3",a4e={rangeContainer:t4e},oA=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsxs("div",{className:`mb-3 ${a4e.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})]}),n4e="_colorPickerContainer_1wxgj_2",o4e="_colorInput_1wxgj_19",c4e="_colorValue_1wxgj_39",uI={colorPickerContainer:n4e,colorInput:o4e,colorValue:c4e},cA=({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:uI.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:uI.colorInput}),o.jsx("span",{className:uI.colorValue,children:t})]}),r&&i&&o.jsx("div",{className:"invalid-feedback",children:i})]}),iA=({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(aA,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(s.includes(e.type))return o.jsx(nA,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="range")return o.jsx(oA,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="color")return o.jsx(cA,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});switch(e.type){case"textarea":return o.jsx(Qq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"select":return o.jsx(cC,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"checkbox":return o.jsx(eA,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"radio":return o.jsx(tA,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});default:return o.jsx(Jq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})}};var pI,KN;function i4e(){if(KN)return pI;KN=1;function e(){this.__data__=[],this.size=0}return pI=e,pI}var yI,ZN;function rA(){if(ZN)return yI;ZN=1;function e(t,n){return t===n||t!==t&&n!==n}return yI=e,yI}var kI,XN;function zL(){if(XN)return kI;XN=1;var e=rA();function t(n,c){for(var i=n.length;i--;)if(e(n[i][0],c))return i;return-1}return kI=t,kI}var mI,YN;function r4e(){if(YN)return mI;YN=1;var e=zL(),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 mI=c,mI}var fI,JN;function s4e(){if(JN)return fI;JN=1;var e=zL();function t(n){var c=this.__data__,i=e(c,n);return i<0?void 0:c[i][1]}return fI=t,fI}var gI,QN;function d4e(){if(QN)return gI;QN=1;var e=zL();function t(n){return e(this.__data__,n)>-1}return gI=t,gI}var vI,eS;function l4e(){if(eS)return vI;eS=1;var e=zL();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 vI=t,vI}var xI,tS;function VL(){if(tS)return xI;tS=1;var e=i4e(),t=r4e(),n=s4e(),c=d4e(),i=l4e();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,xI=r,xI}var MI,aS;function h4e(){if(aS)return MI;aS=1;var e=VL();function t(){this.__data__=new e,this.size=0}return MI=t,MI}var _I,nS;function u4e(){if(nS)return _I;nS=1;function e(t){var n=this.__data__,c=n.delete(t);return this.size=n.size,c}return _I=e,_I}var LI,oS;function p4e(){if(oS)return LI;oS=1;function e(t){return this.__data__.get(t)}return LI=e,LI}var II,cS;function y4e(){if(cS)return II;cS=1;function e(t){return this.__data__.has(t)}return II=e,II}var bI,iS;function sA(){if(iS)return bI;iS=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return bI=e,bI}var wI,rS;function wt(){if(rS)return wI;rS=1;var e=sA(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return wI=n,wI}var CI,sS;function iC(){if(sS)return CI;sS=1;var e=wt(),t=e.Symbol;return CI=t,CI}var NI,dS;function k4e(){if(dS)return NI;dS=1;var e=iC(),t=Object.prototype,n=t.hasOwnProperty,c=t.toString,i=e?e.toStringTag:void 0;function r(s){var d=n.call(s,i),l=s[i];try{s[i]=void 0;var h=!0}catch{}var u=c.call(s);return h&&(d?s[i]=l:delete s[i]),u}return NI=r,NI}var SI,lS;function m4e(){if(lS)return SI;lS=1;var e=Object.prototype,t=e.toString;function n(c){return t.call(c)}return SI=n,SI}var jI,hS;function PL(){if(hS)return jI;hS=1;var e=iC(),t=k4e(),n=m4e(),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 jI=s,jI}var $I,uS;function dA(){if(uS)return $I;uS=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return $I=e,$I}var qI,pS;function lA(){if(pS)return qI;pS=1;var e=PL(),t=dA(),n="[object AsyncFunction]",c="[object Function]",i="[object GeneratorFunction]",r="[object Proxy]";function s(d){if(!t(d))return!1;var l=e(d);return l==c||l==i||l==n||l==r}return qI=s,qI}var AI,yS;function f4e(){if(yS)return AI;yS=1;var e=wt(),t=e["__core-js_shared__"];return AI=t,AI}var zI,kS;function g4e(){if(kS)return zI;kS=1;var e=f4e(),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 zI=n,zI}var VI,mS;function hA(){if(mS)return VI;mS=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 VI=n,VI}var PI,fS;function v4e(){if(fS)return PI;fS=1;var e=lA(),t=g4e(),n=dA(),c=hA(),i=/[\\^$.*+?()[\]{}|]/g,r=/^\[object .+?Constructor\]$/,s=Function.prototype,d=Object.prototype,l=s.toString,h=d.hasOwnProperty,u=RegExp("^"+l.call(h).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(y){if(!n(y)||t(y))return!1;var f=e(y)?u:r;return f.test(c(y))}return PI=p,PI}var TI,gS;function x4e(){if(gS)return TI;gS=1;function e(t,n){return t?.[n]}return TI=e,TI}var HI,vS;function h1(){if(vS)return HI;vS=1;var e=v4e(),t=x4e();function n(c,i){var r=t(c,i);return e(r)?r:void 0}return HI=n,HI}var DI,xS;function rC(){if(xS)return DI;xS=1;var e=h1(),t=wt(),n=e(t,"Map");return DI=n,DI}var BI,MS;function TL(){if(MS)return BI;MS=1;var e=h1(),t=e(Object,"create");return BI=t,BI}var RI,_S;function M4e(){if(_S)return RI;_S=1;var e=TL();function t(){this.__data__=e?e(null):{},this.size=0}return RI=t,RI}var FI,LS;function _4e(){if(LS)return FI;LS=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return FI=e,FI}var EI,IS;function L4e(){if(IS)return EI;IS=1;var e=TL(),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 EI=i,EI}var OI,bS;function I4e(){if(bS)return OI;bS=1;var e=TL(),t=Object.prototype,n=t.hasOwnProperty;function c(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return OI=c,OI}var UI,wS;function b4e(){if(wS)return UI;wS=1;var e=TL(),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 UI=n,UI}var WI,CS;function w4e(){if(CS)return WI;CS=1;var e=M4e(),t=_4e(),n=L4e(),c=I4e(),i=b4e();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,WI=r,WI}var GI,NS;function C4e(){if(NS)return GI;NS=1;var e=w4e(),t=VL(),n=rC();function c(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return GI=c,GI}var KI,SS;function N4e(){if(SS)return KI;SS=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return KI=e,KI}var ZI,jS;function HL(){if(jS)return ZI;jS=1;var e=N4e();function t(n,c){var i=n.__data__;return e(c)?i[typeof c=="string"?"string":"hash"]:i.map}return ZI=t,ZI}var XI,$S;function S4e(){if($S)return XI;$S=1;var e=HL();function t(n){var c=e(this,n).delete(n);return this.size-=c?1:0,c}return XI=t,XI}var YI,qS;function j4e(){if(qS)return YI;qS=1;var e=HL();function t(n){return e(this,n).get(n)}return YI=t,YI}var JI,AS;function $4e(){if(AS)return JI;AS=1;var e=HL();function t(n){return e(this,n).has(n)}return JI=t,JI}var QI,zS;function q4e(){if(zS)return QI;zS=1;var e=HL();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 QI=t,QI}var eb,VS;function uA(){if(VS)return eb;VS=1;var e=C4e(),t=S4e(),n=j4e(),c=$4e(),i=q4e();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,eb=r,eb}var tb,PS;function A4e(){if(PS)return tb;PS=1;var e=VL(),t=rC(),n=uA(),c=200;function i(r,s){var d=this.__data__;if(d instanceof e){var l=d.__data__;if(!t||l.length<c-1)return l.push([r,s]),this.size=++d.size,this;d=this.__data__=new n(l)}return d.set(r,s),this.size=d.size,this}return tb=i,tb}var ab,TS;function z4e(){if(TS)return ab;TS=1;var e=VL(),t=h4e(),n=u4e(),c=p4e(),i=y4e(),r=A4e();function s(d){var l=this.__data__=new e(d);this.size=l.size}return s.prototype.clear=t,s.prototype.delete=n,s.prototype.get=c,s.prototype.has=i,s.prototype.set=r,ab=s,ab}var nb,HS;function V4e(){if(HS)return nb;HS=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return nb=t,nb}var ob,DS;function P4e(){if(DS)return ob;DS=1;function e(t){return this.__data__.has(t)}return ob=e,ob}var cb,BS;function T4e(){if(BS)return cb;BS=1;var e=uA(),t=V4e(),n=P4e();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,cb=c,cb}var ib,RS;function H4e(){if(RS)return ib;RS=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 ib=e,ib}var rb,FS;function D4e(){if(FS)return rb;FS=1;function e(t,n){return t.has(n)}return rb=e,rb}var sb,ES;function pA(){if(ES)return sb;ES=1;var e=T4e(),t=H4e(),n=D4e(),c=1,i=2;function r(s,d,l,h,u,p){var y=l&c,f=s.length,g=d.length;if(f!=g&&!(y&&g>f))return!1;var m=p.get(s),x=p.get(d);if(m&&x)return m==d&&x==s;var M=-1,v=!0,L=l&i?new e:void 0;for(p.set(s,d),p.set(d,s);++M<f;){var b=s[M],C=d[M];if(h)var N=y?h(C,b,M,d,s,p):h(b,C,M,s,d,p);if(N!==void 0){if(N)continue;v=!1;break}if(L){if(!t(d,function(_,I){if(!n(L,I)&&(b===_||u(b,_,l,h,p)))return L.push(I)})){v=!1;break}}else if(!(b===C||u(b,C,l,h,p))){v=!1;break}}return p.delete(s),p.delete(d),v}return sb=r,sb}var db,OS;function B4e(){if(OS)return db;OS=1;var e=wt(),t=e.Uint8Array;return db=t,db}var lb,US;function R4e(){if(US)return lb;US=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i,r){c[++n]=[r,i]}),c}return lb=e,lb}var hb,WS;function F4e(){if(WS)return hb;WS=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i){c[++n]=i}),c}return hb=e,hb}var ub,GS;function E4e(){if(GS)return ub;GS=1;var e=iC(),t=B4e(),n=rA(),c=pA(),i=R4e(),r=F4e(),s=1,d=2,l="[object Boolean]",h="[object Date]",u="[object Error]",p="[object Map]",y="[object Number]",f="[object RegExp]",g="[object Set]",m="[object String]",x="[object Symbol]",M="[object ArrayBuffer]",v="[object DataView]",L=e?e.prototype:void 0,b=L?L.valueOf:void 0;function C(N,_,I,j,w,S,$){switch(I){case v:if(N.byteLength!=_.byteLength||N.byteOffset!=_.byteOffset)return!1;N=N.buffer,_=_.buffer;case M:return!(N.byteLength!=_.byteLength||!S(new t(N),new t(_)));case l:case h:case y:return n(+N,+_);case u:return N.name==_.name&&N.message==_.message;case f:case m:return N==_+"";case p:var A=i;case g:var H=j&s;if(A||(A=r),N.size!=_.size&&!H)return!1;var P=$.get(N);if(P)return P==_;j|=d,$.set(N,_);var V=c(A(N),A(_),j,w,S,$);return $.delete(N),V;case x:if(b)return b.call(N)==b.call(_)}return!1}return ub=C,ub}var pb,KS;function O4e(){if(KS)return pb;KS=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 pb=e,pb}var yb,ZS;function sC(){if(ZS)return yb;ZS=1;var e=Array.isArray;return yb=e,yb}var kb,XS;function U4e(){if(XS)return kb;XS=1;var e=O4e(),t=sC();function n(c,i,r){var s=i(c);return t(c)?s:e(s,r(c))}return kb=n,kb}var mb,YS;function W4e(){if(YS)return mb;YS=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 mb=e,mb}var fb,JS;function G4e(){if(JS)return fb;JS=1;function e(){return[]}return fb=e,fb}var gb,QS;function K4e(){if(QS)return gb;QS=1;var e=W4e(),t=G4e(),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 gb=r,gb}var vb,ej;function Z4e(){if(ej)return vb;ej=1;function e(t,n){for(var c=-1,i=Array(t);++c<t;)i[c]=n(c);return i}return vb=e,vb}var xb,tj;function DL(){if(tj)return xb;tj=1;function e(t){return t!=null&&typeof t=="object"}return xb=e,xb}var Mb,aj;function X4e(){if(aj)return Mb;aj=1;var e=PL(),t=DL(),n="[object Arguments]";function c(i){return t(i)&&e(i)==n}return Mb=c,Mb}var _b,nj;function Y4e(){if(nj)return _b;nj=1;var e=X4e(),t=DL(),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 _b=r,_b}var _1={exports:{}},Lb,oj;function J4e(){if(oj)return Lb;oj=1;function e(){return!1}return Lb=e,Lb}_1.exports;var cj;function yA(){return cj||(cj=1,function(e,t){var n=wt(),c=J4e(),i=t&&!t.nodeType&&t,r=i&&!0&&e&&!e.nodeType&&e,s=r&&r.exports===i,d=s?n.Buffer:void 0,l=d?d.isBuffer:void 0,h=l||c;e.exports=h}(_1,_1.exports)),_1.exports}var Ib,ij;function Q4e(){if(ij)return Ib;ij=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 Ib=n,Ib}var bb,rj;function kA(){if(rj)return bb;rj=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return bb=t,bb}var wb,sj;function e5e(){if(sj)return wb;sj=1;var e=PL(),t=kA(),n=DL(),c="[object Arguments]",i="[object Array]",r="[object Boolean]",s="[object Date]",d="[object Error]",l="[object Function]",h="[object Map]",u="[object Number]",p="[object Object]",y="[object RegExp]",f="[object Set]",g="[object String]",m="[object WeakMap]",x="[object ArrayBuffer]",M="[object DataView]",v="[object Float32Array]",L="[object Float64Array]",b="[object Int8Array]",C="[object Int16Array]",N="[object Int32Array]",_="[object Uint8Array]",I="[object Uint8ClampedArray]",j="[object Uint16Array]",w="[object Uint32Array]",S={};S[v]=S[L]=S[b]=S[C]=S[N]=S[_]=S[I]=S[j]=S[w]=!0,S[c]=S[i]=S[x]=S[r]=S[M]=S[s]=S[d]=S[l]=S[h]=S[u]=S[p]=S[y]=S[f]=S[g]=S[m]=!1;function $(A){return n(A)&&t(A.length)&&!!S[e(A)]}return wb=$,wb}var Cb,dj;function t5e(){if(dj)return Cb;dj=1;function e(t){return function(n){return t(n)}}return Cb=e,Cb}var L1={exports:{}};L1.exports;var lj;function a5e(){return lj||(lj=1,function(e,t){var n=sA(),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 l=i&&i.require&&i.require("util").types;return l||s&&s.binding&&s.binding("util")}catch{}}();e.exports=d}(L1,L1.exports)),L1.exports}var Nb,hj;function mA(){if(hj)return Nb;hj=1;var e=e5e(),t=t5e(),n=a5e(),c=n&&n.isTypedArray,i=c?t(c):e;return Nb=i,Nb}var Sb,uj;function n5e(){if(uj)return Sb;uj=1;var e=Z4e(),t=Y4e(),n=sC(),c=yA(),i=Q4e(),r=mA(),s=Object.prototype,d=s.hasOwnProperty;function l(h,u){var p=n(h),y=!p&&t(h),f=!p&&!y&&c(h),g=!p&&!y&&!f&&r(h),m=p||y||f||g,x=m?e(h.length,String):[],M=x.length;for(var v in h)(u||d.call(h,v))&&!(m&&(v=="length"||f&&(v=="offset"||v=="parent")||g&&(v=="buffer"||v=="byteLength"||v=="byteOffset")||i(v,M)))&&x.push(v);return x}return Sb=l,Sb}var jb,pj;function o5e(){if(pj)return jb;pj=1;var e=Object.prototype;function t(n){var c=n&&n.constructor,i=typeof c=="function"&&c.prototype||e;return n===i}return jb=t,jb}var $b,yj;function c5e(){if(yj)return $b;yj=1;function e(t,n){return function(c){return t(n(c))}}return $b=e,$b}var qb,kj;function i5e(){if(kj)return qb;kj=1;var e=c5e(),t=e(Object.keys,Object);return qb=t,qb}var Ab,mj;function r5e(){if(mj)return Ab;mj=1;var e=o5e(),t=i5e(),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 Ab=i,Ab}var zb,fj;function s5e(){if(fj)return zb;fj=1;var e=lA(),t=kA();function n(c){return c!=null&&t(c.length)&&!e(c)}return zb=n,zb}var Vb,gj;function d5e(){if(gj)return Vb;gj=1;var e=n5e(),t=r5e(),n=s5e();function c(i){return n(i)?e(i):t(i)}return Vb=c,Vb}var Pb,vj;function l5e(){if(vj)return Pb;vj=1;var e=U4e(),t=K4e(),n=d5e();function c(i){return e(i,n,t)}return Pb=c,Pb}var Tb,xj;function h5e(){if(xj)return Tb;xj=1;var e=l5e(),t=1,n=Object.prototype,c=n.hasOwnProperty;function i(r,s,d,l,h,u){var p=d&t,y=e(r),f=y.length,g=e(s),m=g.length;if(f!=m&&!p)return!1;for(var x=f;x--;){var M=y[x];if(!(p?M in s:c.call(s,M)))return!1}var v=u.get(r),L=u.get(s);if(v&&L)return v==s&&L==r;var b=!0;u.set(r,s),u.set(s,r);for(var C=p;++x<f;){M=y[x];var N=r[M],_=s[M];if(l)var I=p?l(_,N,M,s,r,u):l(N,_,M,r,s,u);if(!(I===void 0?N===_||h(N,_,d,l,u):I)){b=!1;break}C||(C=M=="constructor")}if(b&&!C){var j=r.constructor,w=s.constructor;j!=w&&"constructor"in r&&"constructor"in s&&!(typeof j=="function"&&j instanceof j&&typeof w=="function"&&w instanceof w)&&(b=!1)}return u.delete(r),u.delete(s),b}return Tb=i,Tb}var Hb,Mj;function u5e(){if(Mj)return Hb;Mj=1;var e=h1(),t=wt(),n=e(t,"DataView");return Hb=n,Hb}var Db,_j;function p5e(){if(_j)return Db;_j=1;var e=h1(),t=wt(),n=e(t,"Promise");return Db=n,Db}var Bb,Lj;function y5e(){if(Lj)return Bb;Lj=1;var e=h1(),t=wt(),n=e(t,"Set");return Bb=n,Bb}var Rb,Ij;function k5e(){if(Ij)return Rb;Ij=1;var e=h1(),t=wt(),n=e(t,"WeakMap");return Rb=n,Rb}var Fb,bj;function m5e(){if(bj)return Fb;bj=1;var e=u5e(),t=rC(),n=p5e(),c=y5e(),i=k5e(),r=PL(),s=hA(),d="[object Map]",l="[object Object]",h="[object Promise]",u="[object Set]",p="[object WeakMap]",y="[object DataView]",f=s(e),g=s(t),m=s(n),x=s(c),M=s(i),v=r;return(e&&v(new e(new ArrayBuffer(1)))!=y||t&&v(new t)!=d||n&&v(n.resolve())!=h||c&&v(new c)!=u||i&&v(new i)!=p)&&(v=function(L){var b=r(L),C=b==l?L.constructor:void 0,N=C?s(C):"";if(N)switch(N){case f:return y;case g:return d;case m:return h;case x:return u;case M:return p}return b}),Fb=v,Fb}var Eb,wj;function f5e(){if(wj)return Eb;wj=1;var e=z4e(),t=pA(),n=E4e(),c=h5e(),i=m5e(),r=sC(),s=yA(),d=mA(),l=1,h="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,f=y.hasOwnProperty;function g(m,x,M,v,L,b){var C=r(m),N=r(x),_=C?u:i(m),I=N?u:i(x);_=_==h?p:_,I=I==h?p:I;var j=_==p,w=I==p,S=_==I;if(S&&s(m)){if(!s(x))return!1;C=!0,j=!1}if(S&&!j)return b||(b=new e),C||d(m)?t(m,x,M,v,L,b):n(m,x,_,M,v,L,b);if(!(M&l)){var $=j&&f.call(m,"__wrapped__"),A=w&&f.call(x,"__wrapped__");if($||A){var H=$?m.value():m,P=A?x.value():x;return b||(b=new e),L(H,P,M,v,b)}}return S?(b||(b=new e),c(m,x,M,v,L,b)):!1}return Eb=g,Eb}var Ob,Cj;function g5e(){if(Cj)return Ob;Cj=1;var e=f5e(),t=DL();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 Ob=n,Ob}var Ub,Nj;function v5e(){if(Nj)return Ub;Nj=1;var e=g5e();function t(n,c){return e(n,c)}return Ub=t,Ub}var x5e=v5e();const M5e=a.getDefaultExportFromCjs(x5e),_5e=({schema:e,initialData:t={},onSubmit:n,submitLabel:c,submitIcon:i,submitIconPosition:r="left",onCancel:s,cancelLabel:d="Retour",cancelIcon:l})=>{const[h,u]=k.useState(t),[p,y]=k.useState({}),[f,g]=k.useState({}),[m,x]=k.useState(!1),M=k.useRef(t);k.useEffect(()=>{M5e(M.current,t)||(u(t),M.current=t)},[t]);const v=(I,j)=>{const w={...h,[I]:j};if(u(w),f[I]){const S=e.fields.find($=>$.name===I);if(S){const $=bL(j,S);y(A=>({...A,[I]:$.isValid?"":$.error}))}}},L=I=>{if(!f[I]){g(w=>({...w,[I]:!0}));const j=e.fields.find(w=>w.name===I);if(j){const w=bL(h[I],j);y(S=>({...S,[I]:w.isValid?"":w.error}))}}},b=async I=>{I.preventDefault(),x(!0);const j=e.fields.reduce((S,$)=>($.type!=="section"&&(S[$.name]=!0),S),{});g(j);const w=Yq(h,e.fields.filter(S=>S.type!=="section"));if(y(w.errors),w.isValid)try{await n(h)}catch(S){console.error("Erreur lors de la soumission:",S),y($=>({...$,__global:"Une erreur est survenue lors de la soumission"}))}x(!1)},C=l?_t[l]:null,N=i&&_t[i]||e.submitIcon&&_t[e.submitIcon]||null,_=e.columns&&e.columns>0?Math.floor(e.columns):12;return o.jsxs("div",{className:ke.formContainer,children:[o.jsx("div",{className:ke.headerLine,children:o.jsx("h2",{className:ke.formTitle,children:e.title})}),e.description&&o.jsx("p",{className:ke.formDescription,children:e.description}),p.__global&&o.jsx("div",{className:`alert alert-danger ${ke.globalError}`,children:p.__global}),o.jsxs("form",{onSubmit:b,children:[o.jsx("div",{className:ke.gridContainer,style:{gridTemplateColumns:`repeat(${_}, minmax(0, 1fr))`},children:e.fields.map(I=>{if(I.type==="section")return o.jsxs("div",{className:ke.sectionFull,children:[o.jsx("h5",{className:ke.sectionTitle,children:I.label}),I.help&&o.jsx("p",{className:ke.sectionHelp,children:I.help})]},I.name);const w={gridColumn:`span ${Math.max(1,Math.min(_,I.gridCol??_))}`};return o.jsxs("div",{className:ke.fieldGridItem,style:w,children:[o.jsx(iA,{field:I,value:h[I.name],onChange:S=>v(I.name,S),onBlur:()=>L(I.name),error:p[I.name],touched:f[I.name]}),I.help&&o.jsx("small",{className:ke.fieldHelp,children:I.help})]},I.name)})}),o.jsxs("div",{className:ke.formFooter,children:[o.jsx("div",{className:ke.footerLeft,children:s&&o.jsxs("button",{type:"button",className:ke.cancelLink,onClick:s,children:[C&&o.jsx(C,{size:16,className:"me-2"})," ",d]})}),o.jsx("div",{className:ke.footerRight,children:o.jsx(yL,{type:"submit",variant:"primary",size:"md",className:ke.submitButton,disabled:m,children:m?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"spinner-border spinner-border-sm me-2",role:"status"}),"Validation..."]}):o.jsxs(o.Fragment,{children:[N&&(r==="left"||e.submitIconPosition==="left")&&o.jsx(N,{size:16,className:"me-2"}),c||e.submitText||"Valider",N&&(r==="right"||e.submitIconPosition==="right")&&o.jsx(N,{size:16,className:"ms-2"})]})})})]})]})]})};function L5e(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const Sj=new Map,Mw=({path:e,style:t,width:n=24,height:c=24,keepColors:i=!1,onClick:r})=>{const s=/^https?:\/\//.test(e),[d,l]=k.useState("");if(k.useEffect(()=>{if(s)return;e&&(async()=>{try{let u=Sj.get(e);u||(u=fetch(e).then(m=>{if(!m.ok)throw new Error(`Failed to load ${e}`);return m.text()}),Sj.set(e,u));let p=await u;const y=t?.width!==void 0?"100%":`${n}px`,f=t?.height!==void 0?"100%":`${c}px`;i||(p=p.replace(/fill="[^"]*"/g,'fill="currentColor"'),p=p.replace(/fill='[^']*'/g,"fill='currentColor'"));const g=i?`width="${y}" height="${f}"`:`width="${y}" height="${f}" fill="currentColor"`;p=p.replace(/<svg/,`<svg ${g}`),l(p)}catch(u){console.error(`Failed to load icon: ${e}`,u)}})()},[e,s,t?.width,t?.height,n,c]),s){const h=t?.width!==void 0?"100%":`${n}px`,u=t?.height!==void 0?"100%":`${c}px`;return o.jsx("span",{onClick:r,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:t?.color||"inherit",...t},children:o.jsx("img",{src:e,alt:"",style:{display:"block",width:h,height:u}})})}return d?o.jsx("span",{onClick:r,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:t?.color||"inherit",...t},dangerouslySetInnerHTML:{__html:d}}):null},I5e="_container_1gljv_85",b5e="_tableWrapper_1gljv_111",w5e="_tableControls_1gljv_117",C5e="_controlsRight_1gljv_128",N5e="_limitedRows_1gljv_151",S5e="_table_1gljv_111",j5e="_headerCell_1gljv_206",$5e="_headerContent_1gljv_220",q5e="_headerWords_1gljv_229",A5e="_headerWord_1gljv_229",z5e="_cellContent_1gljv_276",V5e="_alignLeft_1gljv_286",P5e="_alignCenter_1gljv_290",T5e="_alignRight_1gljv_294",H5e="_tableCell_1gljv_298",D5e="_tableRow_1gljv_308",B5e="_emptyRow_1gljv_385",R5e="_toggleFiltersButton_1gljv_393",F5e="_toggleSortButton_1gljv_394",E5e="_buttonTextCompact_1gljv_415",O5e="_uppercaseSmall_1gljv_450",U5e="_filtersPanel_1gljv_463",W5e="_filtersPanelInline_1gljv_481",G5e="_filtersPanelHorizontal_1gljv_492",K5e="_filtersRow_1gljv_492",Z5e="_filtersActionsHorizontal_1gljv_525",X5e="_filterItemInline_1gljv_542",Y5e="_filterLabel_1gljv_571",J5e="_filterInput_1gljv_576",Q5e="_filterSelect_1gljv_577",eke="_operatorSelect_1gljv_578",tke="_operatorInput_1gljv_579",ake="_activeFilterTag_1gljv_597",nke="_actionsGroup_1gljv_609",oke="_applyButton_1gljv_615",cke="_cancelButton_1gljv_625",ike="_columnSorterContainer_1gljv_649",rke="_sorterControls_1gljv_654",ske="_sortDropdownWrapper_1gljv_659",dke="_sortDropdown_1gljv_659",lke="_sortDropdownHeader_1gljv_679",hke="_closeButton_1gljv_688",uke="_sortDropdownContent_1gljv_703",pke="_sortDropdownItem_1gljv_709",yke="_sortDirectionButtons_1gljv_734",kke="_sortDirectionButton_1gljv_734",mke="_activeSort_1gljv_757",fke="_sortActions_1gljv_764",gke="_paginationButton_1gljv_842",vke="_pageSizeSelect_1gljv_844",xke="_topPagination_1gljv_853",Mke="_paginationContainer_1gljv_861",_ke="_leftGroup_1gljv_874",Lke="_pageSizeControls_1gljv_882",Ike="_paginationInfo_1gljv_908",bke="_paginationControls_1gljv_916",wke="_disabledButton_1gljv_947",Cke="_activeButton_1gljv_952",Nke="_navigationButton_1gljv_962",Ske="_operatorFilterContainer_1gljv_1010",jke="_rangeSeparator_1gljv_1016",$ke="_activeFiltersSection_1gljv_1179",qke="_activeFiltersRow_1gljv_1184",Ake="_activeFiltersList_1gljv_1192",zke="_clearAllButton_1gljv_1200",Vke="_removeFilterButton_1gljv_1221",Pke="_sortIndicator_1gljv_1272",Tke="_active_1gljv_349",Hke="_clearSortButton_1gljv_1371",Dke="_loaderSpinner_1gljv_2743",Bke="_loaderSpinnerSmall_1gljv_2755",Rke="_paginationLoading_1gljv_2772",Fke="_loadingButton_1gljv_2780",Eke="_loadingIndicator_1gljv_2791",B={container:I5e,tableWrapper:b5e,tableControls:w5e,controlsRight:C5e,limitedRows:N5e,table:S5e,headerCell:j5e,headerContent:$5e,headerWords:q5e,headerWord:A5e,cellContent:z5e,alignLeft:V5e,alignCenter:P5e,alignRight:T5e,tableCell:H5e,tableRow:D5e,emptyRow:B5e,toggleFiltersButton:R5e,toggleSortButton:F5e,buttonTextCompact:E5e,uppercaseSmall:O5e,filtersPanel:U5e,filtersPanelInline:W5e,filtersPanelHorizontal:G5e,filtersRow:K5e,filtersActionsHorizontal:Z5e,filterItemInline:X5e,filterLabel:Y5e,filterInput:J5e,filterSelect:Q5e,operatorSelect:eke,operatorInput:tke,activeFilterTag:ake,actionsGroup:nke,applyButton:oke,cancelButton:cke,columnSorterContainer:ike,sorterControls:rke,sortDropdownWrapper:ske,sortDropdown:dke,sortDropdownHeader:lke,closeButton:hke,sortDropdownContent:uke,sortDropdownItem:pke,sortDirectionButtons:yke,sortDirectionButton:kke,activeSort:mke,sortActions:fke,paginationButton:gke,pageSizeSelect:vke,topPagination:xke,paginationContainer:Mke,leftGroup:_ke,pageSizeControls:Lke,paginationInfo:Ike,paginationControls:bke,disabledButton:wke,activeButton:Cke,navigationButton:Nke,operatorFilterContainer:Ske,rangeSeparator:jke,activeFiltersSection:$ke,activeFiltersRow:qke,activeFiltersList:Ake,clearAllButton:zke,removeFilterButton:Vke,sortIndicator:Pke,active:Tke,clearSortButton:Hke,loaderSpinner:Dke,loaderSpinnerSmall:Bke,paginationLoading:Rke,loadingButton:Fke,loadingIndicator:Eke},Oke=({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:B.filterSelect,children:[o.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),o.jsx("option",{value:"true",children:"Oui"}),o.jsx("option",{value:"false",children:"Non"})]}),Uke=({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:B.filterInput}),Wke=({config:e,value:t,onChange:n,disabled:c})=>{const[i,r]=k.useState([]);k.useEffect(()=>{(async()=>{if(e.asyncOptions)try{const l=await e.asyncOptions();r(l??[])}catch(l){console.error("Erreur chargement options MultiSelect:",l),r([])}else r(e.options??[])})()},[e]);const s=d=>{const l=Array.from(d.target.selectedOptions,h=>h.value);n(l)};return o.jsx("select",{multiple:!0,value:t.map(String),onChange:s,disabled:c,className:B.filterMultiSelect,children:i.map((d,l)=>o.jsx("option",{value:String(d.value),children:d.label},l))})},jj=({config:e,value:t,onChange:n,disabled:c})=>{const[i,r]=k.useState(t||""),s=d=>{const l=d.target.value===""?"":Number(d.target.value);r(l),n(l)};return o.jsx("input",{type:"number",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:c,className:B.filterInput})},Gke=({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 l=h=>{const u=h.target.value;n(u)};return s?o.jsx("div",{children:"Chargement..."}):o.jsxs("select",{value:String(t||""),onChange:l,disabled:c,className:B.filterInput,children:[o.jsx("option",{value:"",children:"Select..."}),i.map(h=>o.jsx("option",{value:h.value,children:h.label},h.value))]})},Kke=({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 l=d.target.value;r(l),n(l)};return o.jsx("input",{type:"text",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:c,className:B.filterInput})},Zke=({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 l=u=>{r(u.target.value)},h=u=>{d(u.target.value)};return o.jsxs("div",{className:B.operatorFilterContainer,children:[o.jsxs("select",{value:i,onChange:l,disabled:c,className:B.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:h,placeholder:"Valeur",disabled:c||!i,className:B.operatorInput})]})},Xke=({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:B.dateRangeContainer,children:[o.jsx("input",{type:"date",value:c.start||"",onChange:i,disabled:n,className:B.filterInput}),o.jsx("span",{className:B.rangeSeparator,children:"→"}),o.jsx("input",{type:"date",value:c.end||"",onChange:r,disabled:n,className:B.filterInput})]})},Yke=({config:e,value:t,onChange:n,disabled:c})=>{switch(e.type){case"text":case"search":return o.jsx(Kke,{config:e,value:t,onChange:n,disabled:c});case"number":return o.jsx(jj,{config:e,value:t,onChange:n,disabled:c});case"range":return o.jsx(jj,{config:e,value:t,onChange:n,disabled:c});case"select":return o.jsx(Gke,{config:e,value:t,onChange:n,disabled:c});case"operator":return o.jsx(Zke,{config:e,value:t,onChange:n,disabled:c});case"multiselect":return o.jsx(Wke,{config:e,value:t,onChange:n,disabled:c});case"date":return o.jsx(Uke,{config:e,value:t,onChange:n,disabled:c});case"daterange":return o.jsx(Xke,{config:e,value:t??{start:"",end:""},onChange:n,disabled:c});case"boolean":return o.jsx(Oke,{config:e,value:t,onChange:n,disabled:c});default:return o.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},fA=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:c,isControlled:i=!1})=>{const[r,s]=k.useState([]),[d,l]=k.useState(()=>{const g={};return e.forEach(m=>{m.type==="daterange"?g[m.id]={start:"",end:""}:g[m.id]=m.defaultValue??""}),g});k.useEffect(()=>{if(!i)return;const g={...d??{}};e.forEach(m=>{m.id in g||(g[m.id]=m.type==="daterange"?{start:"",end:""}:m.defaultValue??"")}),(t||[]).forEach(m=>{!m||!m.id||(g[m.id]=m.value)}),l(g),s(t??[])},[i,JSON.stringify(t||[]),JSON.stringify(e.map(g=>g.id))]);const h=i?t:r,u=k.useCallback((g,m)=>{l(x=>({...x,[g]:m}))},[]),p=k.useCallback(async()=>{const g=[],m={...d};for(const[x,M]of Object.entries(m)){const v=e.find(C=>C.id===x);if(!v)continue;let L=M;try{typeof M=="function"&&(L=await M(m)),typeof v.executeOnApply=="function"&&(L=await v.executeOnApply(L,m))}catch{continue}if(v.type==="daterange"){const C=L?.start??"",N=L?.end??"",_=typeof C=="string"?C.trim()==="":!C,I=typeof N=="string"?N.trim()==="":!N;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||g.push({id:x,type:v.type,value:L,label:v.label})}return i?n?.(g):(s(g),c?.(g)),g},[d,e,i,n,c]),y=k.useCallback(g=>{l(m=>({...m,[g]:void 0})),u(g,void 0)},[u]),f=k.useCallback(()=>{const g={};e.forEach(m=>{m.type==="daterange"?g[m.id]={start:"",end:""}:g[m.id]=m.defaultValue??""}),l(g),i?n?.([]):(s([]),c?.([]))},[e,i,n,c]);return{appliedFilters:h,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:f}},Jke=(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(),l=new Date(r).getTime();return isNaN(s)||isNaN(d)||isNaN(l)?!1:s>=d&&s<=l}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 gA(e,t,n="",c={key:null,direction:"asc"},i=1,r=10,s=[]){const d=Math.max(1,r),l=(n||"").trim().toLowerCase(),h=k.useMemo(()=>{let m=e;return l&&(m=m.filter(x=>t.some(M=>{const v=x.data[M.id];return v==null?!1:String(v).toLowerCase().includes(l)}))),s.length>0&&(m=m.filter(x=>s.every(M=>{try{const v=x.data[M.id];return Jke(v,M)}catch(v){return console.error("Error applying filter:",v),!1}}))),m},[e,t,l,s]),u=k.useMemo(()=>{if(!c?.key)return h;const m=c.key;return[...h].sort((x,M)=>{const v=x.data[m],L=M.data[m];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 b=String(v).localeCompare(String(L),void 0,{numeric:!0,sensitivity:"base"});return c.direction==="desc"?-b:b})},[h,c]),p=u,y=Math.ceil(u.length/d),f=0,g=Math.min(i*d,u.length);return{paginatedData:p,sortedData:u,filteredData:h,totalPages:y,startIndex:f,endIndex:g}}const vA=({value:e})=>e,xA=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),MA=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),_A=({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)},LA=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},IA=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),bA=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),wA=({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"})),_w={renderers:{text:vA,email:xA,link:MA,badge:_A,date:LA,number:IA,currency:bA,image:wA},icons:{sortAsc:k.createElement(qc,{className:"sort-icon active",size:14}),sortDesc:k.createElement(Ht,{className:"sort-icon active",size:14}),sortDefault:k.createElement(a1,{className:"sort-icon",size:14})}},Qke=(e,t)=>{_w.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),_w.renderers[e]=t},eme=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:c,isControlled:i=!1,debounceTimeout:r=300,expanded:s,onToggle:d,panelPlacement:l="top",onPanelHeightChange:h,label:u="Advanced-Filters",applyLabel:p="Apply",cancelLabel:y="Cancel",clearLabel:f="Clear",applyDisabled:g=!1,loading:m=!1})=>{const[x,M]=k.useState(!1),v=typeof s=="boolean"?s:x,{appliedFilters:L,tempFilters:b,updateFilter:C,applyFilters:N,clearAllFilters:_}=fA({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 P=I.current.getBoundingClientRect().height;h?.(P)}else h?.(0)},[v,e,b,h]);const w=()=>{typeof s=="boolean"?d?.(!s):M(P=>{const V=!P;return d?.(V),V})},S=()=>e.map(P=>{const V=b?.[P.id];return V==null||typeof V=="string"&&V.trim()===""?null:{id:P.id,label:P.label,value:V}}).filter(Boolean),$=async()=>{let P;try{P=await N()}catch{P=void 0}let V=[];P&&Array.isArray(P)&&P.length>0?V=P:L&&L.length>0?V=L:V=S(),n?.(V),c?.(V)},A=()=>{d?.(!1),typeof s!="boolean"&&M(!1)},H=()=>{_(),n?.([]),c?.([])};return k.useEffect(()=>{const P=q=>{v&&j.current&&(j.current.contains(q.target)||(d?.(!1),typeof s!="boolean"&&M(!1)))},V=q=>{q.key==="Escape"&&v&&(d?.(!1),typeof s!="boolean"&&M(!1))};return v&&(document.addEventListener("pointerdown",P),document.addEventListener("keydown",V)),()=>{document.removeEventListener("pointerdown",P),document.removeEventListener("keydown",V)}},[v,s,d]),o.jsxs("div",{className:B.advancedFiltersContainer,ref:j,children:[o.jsxs("button",{className:`${B.toggleFiltersButton} ${L.length>0?B.active:""} ${v?B.toggleFiltersButtonOpen:""} ${m?B.loadingButton:""}`,onClick:w,"aria-expanded":v,"aria-controls":"advanced-filters-panel",type:"button",disabled:m,children:[m?o.jsx("span",{className:B.loaderSpinnerSmall}):o.jsx(At,{size:14}),o.jsx("span",{className:B.buttonTextCompact,children:u}),L.length>0&&!m&&o.jsx("span",{className:B.filterCountBadge,"aria-hidden":!0,children:L.length}),m&&o.jsx("span",{className:B.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),v&&o.jsxs("div",{id:"advanced-filters-panel",ref:I,className:`${B.filtersPanel} ${l==="top"?`${B.filtersPanelInline} ${B.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[o.jsx("div",{className:B.filtersRow,children:e.map(P=>o.jsxs("div",{className:`${B.filterItem} ${B.filterItemInline}`,children:[o.jsxs("label",{className:B.filterLabel,children:[P.label,P.required&&o.jsx("span",{className:B.required,children:"*"})]}),o.jsx(Yke,{config:P,value:b[P.id],onChange:V=>C(P.id,V),disabled:P.disabled})]},P.id))}),o.jsxs("div",{className:B.filtersActionsHorizontal,children:[o.jsx("div",{className:B.activeFiltersSection,children:L.length>0&&o.jsxs("div",{className:B.activeFiltersRow,children:[o.jsx("span",{className:B.activeLabelCompact,children:"Actifs :"}),o.jsx("div",{className:B.activeFiltersList,children:L.map(P=>o.jsxs("div",{className:B.activeFilterTag,children:[P.label??P.id,o.jsx("button",{className:B.removeFilterButton,onClick:()=>C(P.id,void 0),"aria-label":`Supprimer ${P.id}`,type:"button",children:"×"})]},P.id))}),o.jsxs("button",{className:B.clearAllButton,onClick:H,type:"button",children:[o.jsx(at,{size:12})," ",f]})]})}),o.jsxs("div",{className:B.actionsGroup,children:[o.jsx("button",{className:B.cancelButton,onClick:A,type:"button",disabled:m,children:y}),o.jsx("button",{className:`${B.applyButton} ${m?B.loadingButton:""}`,onClick:$,type:"button",disabled:g||m,"aria-disabled":g||m,children:m?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:B.loaderSpinnerSmall}),o.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},$j=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},tme=({columns:e,sortConfig:t,onSort:n,label:c="Sort",loading:i=!1})=>{const[r,s]=k.useState(!1),d=e.filter(g=>g.sortable),l=k.useRef(null),h=t?.key!==null&&t?.key!==void 0,u=(g,m)=>{n({key:g,direction:m}),s(!1)},p=()=>{n({key:null,direction:"asc"}),s(!1)},y=()=>s(g=>!g),f=()=>{s(!1)};return k.useEffect(()=>{if(!r)return;const g=x=>{if(!l.current)return;const M=x.target;M&&!l.current.contains(M)&&s(!1)},m=x=>{x.key==="Escape"&&s(!1)};return document.addEventListener("pointerdown",g),document.addEventListener("keydown",m),()=>{document.removeEventListener("pointerdown",g),document.removeEventListener("keydown",m)}},[r]),k.useEffect(()=>{const g=document.querySelector("[data-table-wrapper]");if(!g)return;const m=g.style.overflow??"";return r?g.style.overflow="hidden":g.style.overflow=m,()=>{g.style.overflow=m}},[r]),o.jsx("div",{className:B.columnSorterContainer,ref:l,children:o.jsx("div",{className:B.sorterControls,children:d.length>0&&o.jsxs("div",{className:B.sortDropdownWrapper,ref:l,children:[o.jsxs("button",{className:`${B.toggleSortButton} ${r?B.toggleSortButtonOpen:""} ${h?B.active:""} ${i?B.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?o.jsx("span",{className:B.loaderSpinnerSmall}):o.jsx(a1,{size:14}),o.jsx("span",{className:`${B.buttonTextCompact} ${$j(c)?B.uppercaseSmall:""}`,children:c}),h&&!i&&o.jsx("div",{className:B.sortIndicator,children:t?.direction==="asc"?o.jsx(qc,{size:12}):o.jsx(Ht,{size:12})})]}),r&&o.jsxs("div",{className:`${B.sortDropdown} ${B.sortDropdownInline}`,role:"menu",children:[o.jsxs("div",{className:B.sortDropdownHeader,children:[o.jsx("span",{children:"Trier par:"}),o.jsx("button",{className:B.closeButton,onClick:f,"aria-label":"Fermer",type:"button",children:o.jsx(at,{size:16})})]}),o.jsx("div",{className:B.sortDropdownContent,children:d.map(g=>{const m=String(g.label??g.id),x=$j(m);return o.jsxs("div",{className:B.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:M=>{M.key==="Enter"&&u(g.id,"asc")},children:[o.jsx("span",{className:`${B.columnSorterLabel} ${x?B.uppercaseSmall:""}`,title:m,"aria-label":m,children:m}),o.jsxs("div",{className:B.sortDirectionButtons,children:[o.jsx("button",{className:`${B.sortDirectionButton} ${t?.key===g.id&&t?.direction==="asc"?B.activeSort:""}`,onClick:()=>u(g.id,"asc"),title:"Trier par ordre croissant",type:"button",children:o.jsx(qc,{size:12})}),o.jsx("button",{className:`${B.sortDirectionButton} ${t?.key===g.id&&t?.direction==="desc"?B.activeSort:""}`,onClick:()=>u(g.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:o.jsx(Ht,{size:12})})]})]},g.id)})}),h&&o.jsx("div",{className:B.sortActions,children:o.jsxs("button",{className:B.clearSortButton,onClick:p,type:"button",children:[o.jsx(qt,{size:14}),o.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},ame=({currentPage:e,totalPages:t,pageSize:n,totalItems:c,itemLabel:i="items",onPageChange:r,onPageSizeChange:s,loading:d=!1})=>{const l=Math.max(1,Math.floor(t)),h=Math.min(Math.max(1,Math.floor(e)),l),u=()=>{h>1&&r(h-1)},p=()=>{if(h<t){const m=h+1;r(m)}},y=c>0?(h-1)*n+1:0,f=c>0?Math.min(h*n,c):0,g=()=>{const m=[];let M=Math.max(1,h-Math.floor(2.5)),v=M+5-1;v>l&&(v=l,M=Math.max(1,v-5+1));for(let L=M;L<=v;L++)m.push(L);return m};return o.jsxs("div",{className:B.paginationContainer,role:"navigation","aria-label":"Pagination",children:[o.jsx("div",{className:B.leftGroup,children:s&&o.jsx("div",{className:B.pageSizeControls,children:o.jsx("select",{value:n,onChange:m=>s(Number(m.target.value)),className:B.pageSizeSelect,"aria-label":"Taille de page",disabled:d,children:[10,20,30].map(m=>o.jsx("option",{value:m,children:m},m))})})}),o.jsx("div",{className:B.paginationInfo,"aria-live":"polite",children:d?o.jsxs("span",{className:B.paginationLoading,children:[o.jsx("span",{className:B.loaderSpinner}),o.jsx("span",{children:"Chargement..."})]}):`${y}-${f} ${i}`}),o.jsxs("div",{className:B.paginationControls,children:[o.jsx("button",{onClick:u,disabled:h===1||d,className:`${B.paginationButton} ${B.navigationButton} ${h===1?B.disabledButton:""} ${d?B.loadingButton:""}`,"aria-label":"Page précédente",children:d&&h>1?o.jsx("span",{className:B.loaderSpinnerSmall}):"«"}),g().map(m=>o.jsx("button",{onClick:()=>r(m),disabled:d,"aria-current":h===m?"page":void 0,className:`${B.paginationButton} ${h===m?B.activeButton:""} ${d?B.loadingButton:""}`,children:d&&h===m?o.jsx("span",{className:B.loaderSpinnerSmall}):m},m)),o.jsx("button",{onClick:p,disabled:d||h>=l,className:`${B.paginationButton} ${B.navigationButton} ${d?B.loadingButton:""} ${h>=l?B.disabledButton:""}`,"aria-label":"Page suivante",children:d?o.jsx("span",{className:B.loaderSpinnerSmall}):"»"})]})]})},nme=(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)},ome=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},cme=({columns:e})=>o.jsx("thead",{className:B.tableHeader,children:o.jsx("tr",{children:e.map((t,n)=>{const c=t.align==="right"?B.alignRight:t.align==="left"?B.alignLeft:B.alignCenter,i=t.preserveHeaderCase===!0,r=nme(String(t.label??""),i),s=ome(r),d=s?r.split(/\s+/):[];return o.jsx("th",{className:`${B.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:B.headerContent,children:s?o.jsx("div",{className:B.headerWords,children:d.map((l,h)=>o.jsx("span",{className:B.headerWord,children:l},h))}):o.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),ime=({value:e,row:t,column:n})=>{const c=n.align==="right"?B.alignRight:n.align==="left"?B.alignLeft:B.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return o.jsx("td",{className:`${B.tableCell} ${c}`,style:{width:n.width??void 0},children:o.jsx("div",{className:B.cellContent,children:i})})},rme=({row:e,rowId:t,columns:n,onRowClick:c,index:i,getRowStyle:r})=>{const s=r?r(e):{},{backgroundColor:d,accentColor:l,...h}=s||{},u={backgroundColor:d,...h,"--row-accent":l??"transparent"};return o.jsx("tr",{className:`${B.tableRow} ${c?B.clickableRow:""}`,onClick:()=>c?.(e,i),style:u,children:n.map(p=>o.jsx(ime,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},sme=({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:B.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):o.jsx("tbody",{children:e.map((s,d)=>o.jsx(rme,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:c+d-1,getRowStyle:r},s.id))}),CA=({columns:e=[],data:t=[],pagination:n={pageSize:10,currentPage:1},onRowClick:c,searchTerm:i="",className:r="",filterConfig:s=[],externalFilters:d=[],onFiltersChange:l,onApplyFilters:h,onSort:u,filtersControlled:p=!1,debounceTimeout:y=300,getRowStyle:f,background:g,onPageSizeChange:m,onPageChange:x,itemLabel:M="items",advancedFiltersLabel:v="Advanced-Filters",advancedFiltersActiveLabel:L,sortLabel:b="Sort",applyLabel:C="Apply",cancelLabel:N="Cancel",clearLabel:_="Clear",applyDisabled:I=!1,paginationLoading:j=!1,filtersLoading:w=!1,sortLoading:S=!1,totalCount:$=null})=>{const[A,H]=k.useState({key:null,direction:"asc"}),[P,V]=k.useState(n.currentPage??1),[q,z]=k.useState(n.pageSize??10),[R,T]=k.useState(!1),O=k.useRef(null),[Q,E]=k.useState([]),U=p?d:Q,ie=p?[]:Q;k.useEffect(()=>{const oe=n.currentPage??1,we=n.pageSize??10;oe!==P&&V(oe),we!==q&&z(we)},[n.currentPage,n.pageSize]);const{paginatedData:ce,sortedData:Me,totalPages:re,startIndex:ae}=gA(t,e,i,A,P,q,ie),ne=Me.length,le=typeof $=="number"&&$>=0?$:ne;let pe=re;typeof $=="number"&&$>=0&&(pe=Math.max(1,Math.ceil($/q)));const me=ne>10;k.useEffect(()=>{const oe=Math.max(1,Math.floor(pe));P>oe&&V(oe),P<1&&V(1)},[pe]);const W=oe=>{p||E(oe),l?.(oe),V(1),x?.(1)},Y=oe=>{p||E(oe),h?.(oe),V(1),x?.(1),O.current&&O.current.style.setProperty("--filters-panel-height","0px")},se=oe=>{x?.(oe),V(oe)},$e=oe=>{z(oe),V(1),m?.(oe),x?.(1)},Re=oe=>{O.current&&O.current.style.setProperty("--filters-panel-height",`${Math.round(oe)}px`)},ve=oe=>{H(oe),u?.(oe)},je=oe=>{T(oe),!oe&&O.current&&O.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(U?.length??0)>0&&T(!0)},[U]),k.useEffect(()=>{s.length>0&&U.length>0&&T(!0)},[s.length,U.length]);const u1=(U?.length??0)>0&&L?L:v;return o.jsxs("div",{ref:O,className:`${B.container} ${r} ${R?B.filtersOpen:""}`,style:{background:g,"--row-height":"48px","--header-height":"56px"},children:[o.jsx("div",{className:B.tableControls,children:o.jsxs("div",{className:B.controlsRight,children:[o.jsx(tme,{columns:e,onSort:ve,label:b,sortConfig:A,loading:S}),s.length>0&&o.jsx(eme,{filters:s,externalFilters:U,onFiltersChange:W,onApply:Y,isControlled:p,debounceTimeout:y,expanded:R,onToggle:je,panelPlacement:"top",onPanelHeightChange:Re,label:u1,applyLabel:C,cancelLabel:N,clearLabel:_,applyDisabled:I,loading:w})]})}),o.jsx("div",{className:B.topPagination,children:o.jsx(ame,{currentPage:P,totalPages:pe,pageSize:q,totalItems:le,itemLabel:M,onPageChange:se,onPageSizeChange:$e,loading:j})}),o.jsx("div",{className:`${B.tableWrapper} ${me?B.limitedRows:""}`,"data-table-wrapper":!0,children:o.jsxs("table",{className:B.table,children:[o.jsx(cme,{columns:e}),o.jsx(sme,{data:ce,columns:e,onRowClick:c,startIndex:ae,getRowStyle:f,searchTerm:i})]})})]})};function dme(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]),l=s>1,h=d===null?!1:s<d,u=p=>{typeof p=="number"&&(p<1||p<s&&!l||p>s&&!h||c?.(p))};return o.jsx(CA,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const lme=({page:e,pageSize:t,total:n,onPageChange:c,itemLabel:i="élément",ofLabel:r="sur",className:s})=>{const d=Math.max(1,Math.ceil(n/t)),l=n===0?0:(e-1)*t+1,h=Math.min(e*t,n),u=n>1?`${i}s`:i;if(n===0)return null;const p=4;let y=Math.max(1,e-Math.floor(p/2)),f=y+p-1;f>d&&(f=d,y=Math.max(1,f-p+1));const g=[];for(let m=y;m<=f;m++)g.push(m);return o.jsxs(hme,{className:s,children:[o.jsxs(ume,{children:[l,"-",h," ",r," ",n," ",u]}),o.jsx(pme,{}),d>1&&o.jsxs(yme,{children:[o.jsx(li,{onClick:()=>c(1),disabled:e===1,title:"Première page",children:"<<"}),o.jsx(li,{onClick:()=>c(e-1),disabled:e===1,title:"Page précédente",children:"<"}),g.map(m=>o.jsx(kme,{$active:m===e,onClick:()=>c(m),children:m},m)),o.jsx(li,{onClick:()=>c(e+1),disabled:e===d,title:"Page suivante",children:">"}),o.jsx(li,{onClick:()=>c(d),disabled:e===d,title:"Dernière page",children:">>"})]})]})},hme=F.div`
8273
8273
  display: flex;
8274
8274
  align-items: center;
8275
8275
  justify-content: space-between;
@@ -8333,18 +8333,18 @@
8333
8333
  &:hover:not(:disabled) {
8334
8334
  background-color: ${e=>e.$active?"var(--color-primary)":"var(--color-background, #f3f4f6)"};
8335
8335
  }
8336
- `,mme="_mpRoot_31595_1",fme="_mpHeader_31595_22",gme="_mpTitle_31595_31",vme="_mpList_31595_35",xme="_mpVertical_31595_41",Mme="_mpHorizontal_31595_46",_me="_mpItem_31595_55",Lme="_mpClickable_31595_95",Ime="_mpLeft_31595_117",bme="_mpIcon_31595_125",wme="_mpMeta_31595_140",Cme="_mpLabel_31595_145",Nme="_mpDate_31595_154",Sme="_mpRight_31595_160",jme="_mpValue_31595_168",$me="_mpHint_31595_176",qme="_mpBadge_31595_180",Ame="_mpBadgeTop_31595_199",zme="_mpBadgeSub_31595_206",Vme="_mpBadgeSmall_31595_213",Pme="_mpPill_31595_229",Tme="_mpRounded_31595_232",Hme="_mpCompact_31595_236",Dme="_compactItemWrapper_31595_252",Bme="_mpSummaryRoot_31595_265",Rme="_mpSummaryInner_31595_269",Fme="_mpSummaryFlex_31595_284",Eme="_mpSummaryCardWrapperHorizontal_31595_292",Ome="_mpSummaryCardWrapper_31595_292",Ume="_mpSummaryCardHorizontal_31595_303",Wme="_mpSummaryCard_31595_292",Gme="_mpSummaryValue_31595_321",Kme="_mpSummaryLabel_31595_327",Zme="_mpSummaryBadge_31595_338",Xme="_mpSummaryBadgeSub_31595_357",Yme="_mpEmpty_31595_365",Jme="_mpSummaryVertical_31595_372",Qme="_mpIconSquare_31595_380",ee={mpRoot:mme,mpHeader:fme,mpTitle:gme,mpList:vme,mpVertical:xme,mpHorizontal:Mme,mpItem:_me,mpClickable:Lme,mpLeft:Ime,mpIcon:bme,mpMeta:wme,mpLabel:Cme,mpDate:Nme,mpRight:Sme,mpValue:jme,mpHint:$me,mpBadge:qme,mpBadgeTop:Ame,mpBadgeSub:zme,mpBadgeSmall:Vme,mpPill:Pme,mpRounded:Tme,mpCompact:Hme,compactItemWrapper:Dme,mpSummaryRoot:Bme,mpSummaryInner:Rme,mpSummaryFlex:Fme,mpSummaryCardWrapperHorizontal:Eme,mpSummaryCardWrapper:Ome,mpSummaryCardHorizontal:Ume,mpSummaryCard:Wme,mpSummaryValue:Gme,mpSummaryLabel:Kme,mpSummaryBadge:Zme,mpSummaryBadgeSub:Xme,mpEmpty:Yme,mpSummaryVertical:Jme,mpIconSquare:Qme},Tt=(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,l)=>`rgba(${l.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})`},e3e=({item:e,shape:t,onItemClick:n,color:c,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[ee.mpItem,t==="pill"?ee.mpPill:ee.mpRounded,n?ee.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",l=n?{onClick:r,className:s,type:"button","aria-label":`Voir les détails de ${e.label}`}:{className:s,role:"group"},h=e.iconComponent,u=e.iconSquareBg,p=e.iconColor;return o.jsxs(d,{...l,children:[o.jsxs("div",{className:ee.mpLeft,children:[h?o.jsx("div",{className:ee.mpIconSquare,style:{background:u??Tt(p??c??"#7c3aed",1),border:`1px solid ${Tt(p??c??"#7c3aed",.18)}`,color:p??"#ffffff"},children:k.createElement(h,{size:20,color:p??"#fff",strokeWidth:1.8})}):e.icon?o.jsx("div",{className:ee.mpIcon,children:e.icon}):null,o.jsxs("div",{className:ee.mpMeta,children:[o.jsx("div",{className:ee.mpLabel,children:e.label}),e.subLabel&&o.jsx("div",{className:ee.mpDate,children:e.subLabel}),e.date&&o.jsx("div",{className:ee.mpDate,children:e.date})]})]}),o.jsxs("div",{className:ee.mpRight,children:[o.jsx("div",{className:ee.mpValue,style:{color:e.valueColor??c??void 0},children:e.value}),e.badge?o.jsxs("div",{className:[ee.mpBadge,e.badge.small?ee.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??Tt(e.badge.color||c||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":Tt(e.badge.color||c||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[o.jsx("div",{className:ee.mpBadgeTop,children:e.badge.text}),e.badge.subText&&o.jsx("div",{className:ee.mpBadgeSub,children:e.badge.subText})]}):e.hint?o.jsx("div",{className:ee.mpHint,children:e.hint}):null]})]})},t3e=k.memo(e3e),qj=({title:e,right:t})=>!e&&!t?null:o.jsxs("div",{className:ee.mpHeader,children:[o.jsx("div",{className:ee.mpTitle,children:e}),o.jsx("div",{children:t})]}),Aj=(e,t=1)=>{try{return Tt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},a3e=({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??Aj("#7c3aed",.12),border:`1px solid ${Aj(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),n3e=({item:e,bg:t,onClick:n,width:c,height:i,extraStyle:r})=>o.jsxs("div",{className:ee.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:ee.mpSummaryLabel,children:e.label}),o.jsx("div",{className:ee.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&o.jsxs("div",{className:ee.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&o.jsx("div",{className:ee.mpSummaryBadgeSub,children:e.badge.subText})]})]}),zj=(e,t=1)=>{try{return Tt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Vj=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:zj("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:zj("#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]})]}),Pj=(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}},o3e=e=>{switch(e){case"image":return t=>k.createElement(a3e,{item:t});case"pertinence":return t=>k.createElement(n3e,{item:t});case"alternateHorizontal":return t=>Pj(Vj,t);case"compact":return t=>Pj(Vj,t);case"summary":return;case"default":default:return}},NA=({item:e,orientation:t,bg:n,border:c,valueColor:i,onClick:r,width:s,height:d,extraStyle:l})=>{const u=t==="horizontal"?ee.mpSummaryCardHorizontal:ee.mpSummaryCard;return o.jsxs("div",{className:u,style:{background:n,border:`1px solid ${c}`,width:s??void 0,height:d??void 0,...l??{}},role:r?"button":"group",tabIndex:r?0:-1,onClick:()=>r?.(e),children:[e.badge&&o.jsxs("div",{className:ee.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&o.jsx("div",{className:ee.mpSummaryBadgeSub,children:e.badge.subText})]}),o.jsx("div",{className:ee.mpSummaryValue,style:{color:i},children:e.value}),o.jsx("div",{className:ee.mpSummaryLabel,children:e.label})]})},c3e=["transparent","transparent","transparent","transparent"],i3e=["transparent","transparent","transparent","transparent"],r3e=["#059669","#2563eb","#b45309","#7c3aed"],s3e=(e,t=1)=>{try{return Tt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},SA=e=>{const{items:t=[],layout:n="vertical",orientation:c="auto",shape:i="rounded",color:r="#7c3aed",compact:s=!1,title:d,onItemClick:l,className:h="",loading:u=!1,emptyMessage:p="Aucun élément",renderItem:y,summary:f=!1,summaryBgColors:g=c3e,summaryBorderColors:m=i3e,summaryValueColors:x=r3e,preset:M,background:v}=e,{itemsContainerStyle:I,itemsContainerClassName:b,summaryGridColumns:w,compactItemWidth:C,compactItemHeight:_,compactItemStyle:L,summaryCardWidth:j,summaryCardHeight:N,summaryCardStyle:S}=e,z=n==="vertical",A={"--mp-accent":r,"--mp-accent-soft":s3e(r,.08),"--mp-bg-primary":v},H=[ee.mpRoot,z?ee.mpVertical:ee.mpHorizontal,s?ee.mpCompact:"",f?ee.mpSummaryRoot:"",c!=="auto"?c==="vertical"?ee.mpOrientationVertical:ee.mpOrientationHorizontal:"",h].filter(Boolean).join(" "),P=k.useMemo(()=>y||(o3e(M)??void 0),[y,M]);if(f){const V=c==="horizontal"?ee.mpSummaryFlex:ee.mpSummaryVertical,q={...(w?{display:"grid",gridTemplateColumns:`repeat(${w}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...I??{}};return o.jsxs("div",{className:H,style:A,"aria-busy":u,children:[d&&o.jsx(qj,{title:d}),o.jsx("div",{className:ee.mpSummaryInner,children:o.jsx("div",{className:`${V} ${b??""}`,style:q,children:t.length===0?o.jsx("div",{className:ee.mpEmpty,children:p}):t.map((R,T)=>{const O=R.bgColor??g[T%g.length],J=R.borderColor??m[T%m.length],E=R.valueColor??x[T%x.length];return P?o.jsx("div",{className:c==="horizontal"?ee.mpSummaryCardWrapperHorizontal:ee.mpSummaryCardWrapper,style:{width:j??void 0,height:N??void 0,...S??{}},children:P(R,T)},R.id):o.jsx(NA,{item:R,orientation:c==="horizontal"?"horizontal":"vertical",bg:O,border:J,valueColor:E,onClick:l,width:j??void 0,height:N??void 0,extraStyle:S},R.id)})})})]})}return o.jsxs("div",{className:H,style:A,"aria-busy":u,children:[d&&o.jsx(qj,{title:d}),o.jsx("div",{className:ee.mpList,style:I,children:u?o.jsx("div",{className:ee.mpEmpty,children:"Chargement…"}):t.length===0?o.jsx("div",{className:ee.mpEmpty,children:p}):t.map(V=>{const $=s?{width:C??void 0,height:_??void 0,boxSizing:"border-box",...L??{}}:void 0;return o.jsx("div",{className:s?ee.compactItemWrapper:void 0,style:$,children:o.jsx(t3e,{item:V,shape:i,onItemClick:l,color:r,renderItem:P?q=>P(q,t.indexOf(q)):void 0})},V.id)})})]})};k.memo(SA);const d3e=({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:l,padding:h="1rem",variant:u="default",showBorder:p=!1,titleKey:y,leftTitleKey:f})=>{const g=t?typeof t=="number"?`${t}px`:t:void 0,m=n?typeof n=="number"?`${n}px`:n:void 0,x=r&&typeof r=="object"&&!k.isValidElement(r)&&("text"in r||"subtext"in r||"icon"in r||"background"in r||"iconSize"in r),M=x?r:void 0,v=M?.icon?_t[M.icon]:void 0,I=28,b=M?.iconSize??I,w=["chart-container",`variant-${u}`,p?"with-border":"",d].filter(Boolean).join(" "),C=c.contentBackground??void 0,_=typeof h=="number"?`${h}px`:h;return o.jsxs("div",{className:w,style:{width:g,height:m,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:Y(e,f||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:C},children:l||(x&&M?o.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[v&&o.jsx("div",{className:"placeholder-icon",style:{width:b,height:b},children:o.jsx(v,{color:M.iconColor??"currentColor",size:typeof b=="number"?b:parseInt(String(b),10)||I})}),M.text&&o.jsx("div",{className:"placeholder-text",children:M.text}),M.subtext&&o.jsx("div",{className:"placeholder-subtext",children:M.subtext})]}):o.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:r}))})]})},dC=({id:e,size:t="100%",background:n,icon:c,text:i,subtext:r,onClose:s,onClick:d,style:l,className:h="",colorTextPrimary:u,colorTextSub:p,model:y,fontSize:f,fontWeight:g,a11yConfig:m,titleKey:x})=>{const M=c||y?.icon,v=typeof M=="string",I=v?_t[M]:null,b=v?null:M;return o.jsxs("div",{id:e,className:`alert ${h}`,style:{width:typeof t=="number"?`${t}px`:t,background:n||y?.background,pointerEvents:"auto",cursor:d?"pointer":"default",...l},role:"alert",onClick:d,title:Y(m,x),children:[I&&o.jsx(I,{className:"alert-icon",size:20,color:u||y?.colorTextPrimary}),b!=null&&o.jsx("span",{className:"alert-icon",style:{display:"flex",alignItems:"center",color:u||y?.colorTextPrimary,flexShrink:0},children:b}),o.jsxs("div",{className:"alert-content",children:[o.jsx("span",{className:"alert-text",style:{color:u||y?.colorTextPrimary,fontSize:f,fontWeight:g},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:"✕"})]})},jA=k.createContext(null),l3e=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,h3e=({children:e,defaultDuration:t=4e3,maxAlerts:n,containerClassName:c,containerStyle:i})=>{const[r,s]=k.useState([]),d=k.useRef(new Map),l=k.useRef(null),[h,u]=k.useState(null),[p,y]=k.useState(void 0),f=k.useRef(n),g=k.useRef(r),m=k.useRef(t);k.useEffect(()=>{g.current=r},[r]),k.useEffect(()=>{m.current=t},[t]),k.useEffect(()=>{const A=d.current;return()=>{A.forEach(H=>window.clearTimeout(H)),A.clear()}},[]);const x=k.useCallback(A=>{const H=d.current.get(A);H&&(window.clearTimeout(H),d.current.delete(A))},[]),M=k.useCallback(A=>{x(A),s(H=>H.filter(P=>P.id!==A))},[x]),v=k.useCallback((A,H)=>{const P=H===void 0||H===0?m.current:H;if(P===-1)return;const V=window.setTimeout(()=>{M(A)},P);d.current.set(A,V)},[M]),I=k.useCallback(A=>{const H=l3e(),P={...A,id:H,createdAt:Date.now()};return s(V=>{const $=[P,...V],q=f.current;return typeof q=="number"&&q>=0&&$.length>q?($.slice(q).forEach(T=>x(T.id)),$.slice(0,q)):$}),v(H,A.duration),H},[x,v]),b=k.useCallback((A,H)=>{s(P=>P.map(V=>V.id===A?{...V,...H}:V))},[]),w=k.useCallback(()=>{d.current.forEach(A=>window.clearTimeout(A)),d.current.clear(),s([])},[]),C=k.useCallback((A,H)=>{A&&window.getComputedStyle(A).position==="static"&&(A.style.position="relative"),u(P=>P===A?P:A),y(H)},[]),_=k.useCallback(()=>g.current.slice(),[]),L=k.useMemo(()=>({showAlert:I,dismissAlert:M,updateAlert:b,clearAlerts:w,setContainerRef:C,getAlertsSnapshot:_}),[I,M,b,w,C,_]),j=h,N=j?!!p:!1,S=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",...N?{top:"auto",left:"auto",right:"auto",alignItems:"flex-end"}:null,...j?p:null},children:o.jsx(Ele,{mode:"popLayout",children:r.map(A=>o.jsx(oC.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:N?"auto":"100%",pointerEvents:"auto",boxShadow:"0 6px 20px rgba(0, 0, 0, 0.12)",borderRadius:"8px",marginBottom:"6px",backgroundColor:A.background||A.model?.background||"var(--color-background, #fff)",border:"1px solid rgba(0, 0, 0, 0.08)",overflow:"hidden"},children:o.jsx(dC,{id:A.id,text:A.text,subtext:A.subtext,icon:A.icon,background:"transparent",colorTextPrimary:A.colorTextPrimary,colorTextSub:A.colorTextSub,model:A.model,onClose:()=>M(A.id),size:N?"auto":"100%",style:{boxShadow:"none",...N?{whiteSpace:"nowrap"}:null}})},A.id))})}),z=o.jsx("div",{ref:A=>{h||(l.current=A)},className:c,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:S});return o.jsxs(jA.Provider,{value:L,children:[j?Iw.createPortal(S,j):z,e]})},u3e=()=>{const e=k.useContext(jA);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},p3e={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"}},y3e="_container_18zbo_1",k3e="_icon_18zbo_9",m3e="_selectWrapper_18zbo_23",Wb={container:y3e,icon:k3e,selectWrapper:m3e},f3e=({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:Wb.container,children:[o.jsxs("div",{className:Wb.icon,children:[o.jsx(C1,{size:18}),o.jsx("p",{children:c})]}),o.jsx("div",{className:Wb.selectWrapper,children:o.jsx(cC,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},g3e=250,v3e=k.forwardRef(({title:e,subtitle:t,size:n="420px",beforeOpen:c,afterOpen:i,beforeClose:r,afterClose:s,style:d,className:l="",children:h,closeOnOverlayClick:u=!0,showCloseButton:p=!0},y)=>{const[f,g]=k.useState(!1),[m,x]=k.useState(!1),M=k.useRef(null),v=k.useRef(null),I=k.useRef(null),b=k.useRef(null);k.useEffect(()=>{const _=M.current;if(!_)return;const L=_.parentElement;return L?(window.getComputedStyle(L).position==="static"&&(L.setAttribute("data-scp-prev-position",L.style.position??""),L.style.position="relative",L.setAttribute("data-scp-position-changed","true")),()=>{if(L.getAttribute("data-scp-position-changed")==="true"){const N=L.getAttribute("data-scp-prev-position")??"";L.style.position=N,L.removeAttribute("data-scp-position-changed"),L.removeAttribute("data-scp-prev-position")}}):void 0},[]),k.useImperativeHandle(y,()=>({open:()=>{f||(c?.(),x(!1),g(!0))},close:()=>{f&&(r?.(),x(!1),g(!1))},toggle:()=>{f?(r?.(),x(!1),g(!1)):(c?.(),x(!1),g(!0))}}),[f,c,r]),k.useEffect(()=>{const _=v.current;b.current&&(window.clearTimeout(b.current),b.current=null);const L=j=>{if(j.target===_&&!(j.propertyName!=="transform"&&j.propertyName!=="opacity"))if(f){x(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{I.current?.focus()}catch{}}};return _&&(_.addEventListener("transitionend",L),b.current=window.setTimeout(()=>{if(f){x(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{I.current?.focus()}catch{}}},g3e+60)),f&&(I.current=document.activeElement),()=>{_&&_.removeEventListener("transitionend",L),b.current&&(window.clearTimeout(b.current),b.current=null)}},[f,i,s]),k.useEffect(()=>{const _=L=>{L.key==="Escape"&&f&&(r?.(),x(!1),g(!1))};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[f,r]);const w=()=>{u&&(r?.(),x(!1),g(!1))},C=typeof n=="number"?`${n}px`:n;return o.jsxs("div",{ref:M,className:`scp-inline-root ${f?"open":""}`,"aria-hidden":!f,children:[o.jsx("div",{className:`scp-overlay ${f?"visible":""}`,onMouseDown:w,role:"presentation"}),o.jsxs("aside",{className:`scp-panel ${f?"in":"out"} ${m?"interactive":""} ${l}`,style:{width:C,...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?.(),x(!1),g(!1)},children:o.jsx(at,{size:18})})]}),o.jsx("div",{className:"scp-body",children:h})]})]})});function x3e(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 M3e="_container_1pfsp_1",_3e="_title_1pfsp_8",Tj={container:M3e,title:_3e},L3e=({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:`${Tj.container} ${c}`,style:r,children:o.jsx("h2",{className:Tj.title,children:e})})},I3e="_modalOverlay_1878x_1",b3e="_modalContainer_1878x_16",w3e="_modalTitle_1878x_29",C3e="_modalInput_1878x_38",N3e="_modalTextarea_1878x_39",S3e="_modalActions_1878x_70",j3e="_cancelBtn_1878x_77",$3e="_saveBtn_1878x_99",q3e="_inputError_1878x_141",A3e="_inlineAlert_1878x_146",ct={modalOverlay:I3e,modalContainer:b3e,modalTitle:w3e,modalInput:C3e,modalTextarea:N3e,modalActions:S3e,cancelBtn:j3e,saveBtn:$3e,inputError:q3e,inlineAlert:A3e},Dc=({isOpen:e,onClose:t,onSave:n,title:c="Ajouter un élément",fields:i,initialValues:r={},errorMessage:s="",disableSave:d,onFieldChange:l,confirmText:h="Valider",cancelText:u="Annuler"})=>{const[p,y]=k.useState({}),f=k.useRef(null),[g,m]=k.useState(!1),[x,M]=k.useState(!1),v=k.useRef(null);if(k.useEffect(()=>{if(!e)return;const _={};for(const L of i)_[L.name]=Object.prototype.hasOwnProperty.call(r,L.name)?r[L.name]:"";return y(_),requestAnimationFrame(()=>{f.current?.focus();const L=f.current;if(L&&typeof L.selectionStart=="number"){const j=String(L.value??"").length;L.setSelectionRange(j,j)}}),()=>{v.current&&(window.clearTimeout(v.current),v.current=null)}},[e]),k.useEffect(()=>{s&&e?(M(!0),v.current&&(window.clearTimeout(v.current),v.current=null),v.current=window.setTimeout(()=>{M(!1),v.current=null},3e3)):(M(!1),v.current&&(window.clearTimeout(v.current),v.current=null))},[s,e]),!e)return null;const I=(_,L)=>{y(j=>({...j,[_]:L})),l&&l(_,L)},b=async()=>{if(!Object.values(p).some(_=>_===""||_===void 0))try{m(!0);const _=await n(p);if(typeof _=="string"&&_==="duplicate-same"){m(!1);return}y({}),m(!1),t()}catch(_){console.error("AddItemModal onSave error:",_),m(!1),t()}},w=_=>{_.target===_.currentTarget&&t()},C=_=>_.stopPropagation();return o.jsx("div",{className:ct.modalOverlay,onMouseDown:w,role:"dialog","aria-modal":"true",children:o.jsxs("div",{className:ct.modalContainer,onMouseDown:C,onClick:C,children:[o.jsx("h2",{className:ct.modalTitle,children:c}),i.map((_,L)=>{const j=p[_.name]??"",N=L===0&&!!s,S={name:_.name,placeholder:_.placeholder||_.label,value:String(j),onChange:z=>I(_.name,z.target.value),className:_.type==="textarea"?`${ct.modalTextarea} ${N?ct.inputError:""}`:`${ct.modalInput} ${N?ct.inputError:""}`,tabIndex:0,disabled:g};return L===0&&(S.ref=z=>{f.current=z}),o.jsxs("div",{style:{marginBottom:8},children:[_.type==="textarea"?o.jsx("textarea",{rows:_.rows||4,...S}):o.jsx("input",{type:_.type||"text",...S}),L===0&&x&&s&&o.jsx("div",{style:{marginTop:8},children:o.jsx(dC,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>M(!1),className:ct.inlineAlert})})]},_.name)}),o.jsxs("div",{className:ct.modalActions,children:[o.jsx("button",{className:ct.cancelBtn,onClick:t,type:"button",disabled:g,children:u}),o.jsx("button",{className:ct.saveBtn,onClick:b,type:"button",disabled:g||!!d,children:g?"En cours...":h})]})]})})},z3e=({title:e,keyCount:t,onAddKey:n,a11yConfig:c})=>{const[i,r]=k.useState(!1),s=d=>{const l=d.key;n&&l&&n(l)};return o.jsxs("div",{className:"header-container",children:[o.jsxs("div",{className:"header-info",children:[o.jsx("h1",{title:Y(c,e),children:e}),o.jsxs("p",{children:[t," clés"]})]}),o.jsxs("button",{onClick:()=>r(!0),className:"add-key-button",children:[o.jsx(zc,{className:"add-key-icon"}),"Clé"]}),o.jsx(Dc,{isOpen:i,title:"Ajouter une clé",onClose:()=>r(!1),onSave:s,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},V3e=({modules:e,onEdit:t,onDelete:n,onAddModule:c,onSelectModule:i,addModalFields:r,addModalTitle:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState(null),[p,y]=k.useState(null),[f,g]=k.useState(!1),m=()=>l(!0),x=()=>l(!1),M=_=>{if(c){const L=_.code?.trim()||_.id?.trim(),j=_.title?.trim(),N=L||j||String(Date.now()),S=j||L||`Module ${N}`;c({id:N,title:S,subtitle:"",translations:{}})}x()},v=(_,L)=>{_.stopPropagation(),u(L)},I=()=>u(null),b=_=>{if(!h){I();return}const L={...h,title:_.title||h.title,subtitle:""};t&&t(L),I()},w=(_,L)=>{_.stopPropagation(),n&&n(L)},C=_=>{y(_.id),i&&i(_)};return f?o.jsx("div",{className:"module-sidebar collapsed",children:o.jsx(n1,{size:20,className:"menu-toggle",onClick:()=>g(!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(Ac,{size:18,className:"header-folder",onClick:m}),o.jsx(n1,{size:18,className:"header-menu",onClick:()=>g(!0)})]})]}),o.jsx("hr",{className:"divider"}),o.jsx("div",{className:"module-list",children:e.map(_=>{const L=Object.keys(_.translations||{}).length,j=L>0||_.id===p;return o.jsxs("div",{className:`module-item ${_.id===p?"selected":""}`,onClick:()=>C(_),role:"button",tabIndex:0,onKeyDown:N=>{N.key==="Enter"&&C(_)},children:[o.jsxs("div",{className:"module-left",children:[o.jsx(q1,{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:[" ",L," "]})]}),_.subtitle?o.jsx("div",{className:"module-subtitle",children:_.subtitle}):null]})]}),o.jsxs("div",{className:"module-actions",children:[t&&o.jsx(o1,{onClick:N=>v(N,_),color:"#777",size:16}),n&&o.jsx(kt,{onClick:N=>w(N,_.id),color:"#777",size:16})]})]},_.id)})}),o.jsx(Dc,{isOpen:d,onClose:x,onSave:M,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"}]}),h&&o.jsx(Dc,{isOpen:!!h,onClose:I,onSave:b,title:"Éditer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},$A=({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:Y(r,e),children:[o.jsx("div",{className:"search-icon-wrapper",children:o.jsx(V1,{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:l=!1,checkDuplicateLocal:h})=>{const[u,p]=k.useState(!1),[y,f]=k.useState(""),[g,m]=k.useState(null),[x,M]=k.useState(""),[v,I]=k.useState(""),[b,w]=k.useState(!1),[C,_]=k.useState(!1),[L,j]=k.useState(null),[N,S]=k.useState(!1),z=t.map(T=>T.language),A=n.filter(T=>!z.includes(T.code)),H=()=>{y&&v.trim()&&(d?.(e,y,v.trim()),f(""),I(""),p(!1))},P=(T,O)=>{m(T),M(O)},V=T=>{r?.(e,T,x),m(null),M("")},$=()=>{m(null),M("")},q=async T=>{const O=T.name?.trim();if(O){if(j(null),S(!1),O===e||!i)return w(!1),"ok";try{const J=await i(e,O);if(typeof J=="string"&&J==="ok")w(!1),j(null);else{if(typeof J=="string"&&J==="duplicate-same")return j("Une clé existe déjà dans ce module."),S(!0),"duplicate-same";if(typeof J=="string"&&J==="duplicate-other")return w(!1),j(null),"duplicate-other";w(!1)}}catch(J){console.error("Erreur handleRenameSave:",J),j("Erreur lors du renommage.")}}},R=(T,O)=>{if(T!=="name")return;const J=O.trim();j(null),S(!1),J&&typeof h=="function"&&(h(J,e)?(j("Une clé existe déjà dans ce module."),S(!0)):(j(null),S(!1)))};return o.jsxs("div",{className:`translation-key ${C?"collapsed":"expanded"} ${l?"draggable":""}`,children:[o.jsxs("div",{className:"card-header",children:[o.jsxs("div",{className:"header-left",children:[o.jsx("button",{className:"collapse-button",onClick:()=>_(!C),title:C?"Déplier":"Replier",children:C?o.jsx(S1,{className:"collapse-icon"}):o.jsx(Ht,{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:T=>{T.stopPropagation(),w(!0)},title:"Renommer la clé",children:o.jsx(vt,{className:"action-icon"})}),o.jsx("button",{onClick:T=>{T.stopPropagation(),c?.(e)},className:"action-button delete",title:"Supprimer la clé",children:o.jsx(kt,{className:"action-icon"})})]})]}),o.jsx("div",{className:`translations-container ${C?"":"expanded"}`,children:!l&&o.jsxs(o.Fragment,{children:[t.map(T=>o.jsxs("div",{className:"translation-row",children:[o.jsx("div",{className:"language-code",children:T.language}),o.jsx("div",{className:"translation-content",children:g===T.language?o.jsxs(o.Fragment,{children:[o.jsx("input",{type:"text",value:x,onChange:O=>M(O.target.value),className:"edit-input",autoFocus:!0,onKeyDown:O=>{O.key==="Enter"&&V(T.language),O.key==="Escape"&&$()}}),o.jsx("button",{onClick:()=>V(T.language),className:"save-button",disabled:!x.trim(),children:"Enregistrer"}),o.jsx("button",{onClick:$,className:"cancel-button",children:o.jsx(at,{className:"action-icon"})})]}):o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"translation-text",title:T.value,children:T.value}),o.jsx("button",{onClick:()=>P(T.language,T.value),className:"edit-button",title:"Éditer la traduction",children:o.jsx(vt,{className:"action-icon"})}),o.jsx("button",{onClick:()=>s?.(e,T.language),className:"delete-translation-button",title:"Supprimer la traduction",children:o.jsx(at,{className:"action-icon"})})]})})]},T.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:T=>f(T.target.value),className:"language-select",children:[o.jsx("option",{value:"",children:"Sélectionnez la langue"}),A.map(T=>o.jsxs("option",{value:T.code,children:[T.name," (",T.code,")"]},T.code))]})}),y&&o.jsx("input",{type:"text",value:v,onChange:T=>I(T.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:T=>{T.key==="Enter"&&H(),T.key==="Escape"&&(p(!1),f(""),I(""))}}),o.jsx("button",{onClick:H,disabled:!y||!v.trim(),className:"save-button",children:"Ajouter"}),o.jsx("button",{onClick:()=>{p(!1),f(""),I("")},className:"cancel-button",children:o.jsx(at,{className:"action-icon"})})]})]}):o.jsxs("button",{onClick:()=>p(!0),className:"show-add-button",disabled:A.length===0,children:[o.jsx("span",{className:"plus-icon",children:"+"}),"Ajouter une langue"]})]})}),l&&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(Dc,{isOpen:b,onClose:()=>{w(!1),j(null),S(!1)},onSave:q,onFieldChange:R,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:L||"",disableSave:N})]})},T3e="_wrapper_1wvht_1",H3e="_leftGroup_1wvht_12",D3e="_filterButton_1wvht_21",B3e="_open_1wvht_42",R3e="_filterIcon_1wvht_42",F3e="_infoText_1wvht_58",E3e="_pickerContainer_1wvht_66",O3e="_srOnly_1wvht_79",U3e="_pickerLabel_1wvht_91",W3e="_datetime_1wvht_98",G3e="_rightGroup_1wvht_107",K3e="_searchInputWrap_1wvht_116",Z3e="_searchInput_1wvht_116",X3e="_searchIcon_1wvht_152",Ee={wrapper:T3e,leftGroup:H3e,filterButton:D3e,open:B3e,filterIcon:R3e,infoText:F3e,pickerContainer:E3e,srOnly:O3e,pickerLabel:U3e,datetime:W3e,rightGroup:G3e,searchInputWrap:K3e,searchInput:Z3e,searchIcon:X3e};function Y3e({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 f=y.target;d.current&&f&&!d.current.contains(f)&&i(!1)}return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),k.useEffect(()=>{n&&s(n)},[n]);const l=()=>i(p=>!p),h=p=>{const y=p.target.value;s(y),e?.(y)},u=p=>{t?.(p.target.value)};return o.jsxs("div",{className:Ee.wrapper,ref:d,children:[o.jsxs("div",{className:Ee.leftGroup,children:[o.jsxs("button",{type:"button",className:`${Ee.filterButton} ${c?Ee.open:""}`,onClick:l,"aria-expanded":c,"aria-haspopup":"dialog","aria-controls":"entry-datetime",children:[o.jsx("span",{children:"Entry time"}),o.jsx("svg",{className:Ee.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:Ee.infoText,children:"Confidence interval: step ± 15' / exit ± 30'"}),c&&o.jsxs("div",{className:Ee.pickerContainer,role:"dialog","aria-label":"Choisir la date et l’heure",children:[o.jsx("label",{className:Ee.pickerLabel,htmlFor:"entry-datetime",children:o.jsx("span",{className:Ee.srOnly,children:"Choisir la date et l’heure"})}),o.jsx("input",{id:"entry-datetime",className:Ee.datetime,type:"datetime-local",value:r,onChange:h,"aria-label":"Date et heure d’entrée"})]})]}),o.jsx("div",{className:Ee.rightGroup,children:o.jsxs("div",{className:Ee.searchInputWrap,children:[o.jsx("input",{className:Ee.searchInput,placeholder:"Search...",onChange:u,"aria-label":"Search"}),o.jsx("svg",{className:Ee.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 J3e=({className:e="",style:t={},title:n,titleClassName:c="",titleStyle:i,data:r,lineClasses:s={},renderCell:d,bg:l,titleBg:h,titleColor:u,itemBg:p,emptyContent:y,colGap:f="1rem"})=>{const g=Array.isArray(r)?r:[],m=g.length===0,x=g.every(b=>typeof b=="string"),M=g.some(b=>Array.isArray(b)),v=(b,w,C)=>d?d(b,w,C):o.jsx("span",{className:"slb-cell-text",children:b}),I=f?{"--col-gap":f}:void 0;return m?o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{...i,background:h??void 0,color:u??void 0},children:n}),o.jsx("div",{className:"slb-empty",children:y??null})]}):x&&!M?o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{background:h??void 0,color:u??void 0},children:n}),o.jsx("ul",{className:"slb-list",children:g.map((b,w)=>o.jsx("li",{className:`slb-item ${s[w]||""}`,style:{background:p??void 0},children:v(b,w,0)},w))})]}):o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{background:h??void 0,color:u??void 0},children:n}),o.jsx("div",{className:"slb-grid",style:I,children:g.map((b,w)=>{const C=s[w]||"";if(Array.isArray(b)){const[_,L]=b;return o.jsxs("div",{className:`slb-row ${C}`,style:{background:p??void 0},children:[o.jsx("div",{className:"slb-grid-left",children:v(_,w,0)}),o.jsx("div",{className:"slb-grid-right",children:v(L,w,1)})]},w)}return o.jsxs("div",{className:`slb-row ${C}`,style:{background:p??void 0},children:[o.jsx("div",{className:"slb-grid-left",children:v(b,w,0)}),o.jsx("div",{className:"slb-grid-right slb-empty-cell","aria-hidden":"true"})]},w)})})]})},Q3e=({className:e="",style:t={},title:n,titleColor:c,data:i=[],badgeColor:r="#0ea5e9",badgeColors:s={},badgePadding:d="8px 16px",badgeWidth:l,itemBg:h,lineClasses:u={},colGap:p="1rem"})=>{const y=i.some(g=>Array.isArray(g)),f=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:f,children:i.map((g,m)=>{const x=u[m]||"";if(Array.isArray(g)){const[M,v]=g,I=s[m]||r;return o.jsxs("div",{className:`clb-row ${x}`,style:{background:h??void 0},children:[o.jsx("div",{className:"clb-badge-col",children:o.jsx("div",{className:"counter-badge",style:{background:I,padding:d,width:l,minWidth:l},children:M})}),o.jsx("div",{className:"clb-text",children:v})]},m)}return y?o.jsxs("div",{className:`clb-row ${x}`,style:{background:h??void 0},children:[o.jsx("div",{className:"clb-badge-col clb-empty-badge"}),o.jsx("div",{className:"clb-text",children:g})]},m):o.jsx("div",{className:`clb-fullrow ${x}`,style:{background:h??void 0},children:o.jsx("span",{children:g})},m)})})]})},efe=({className:e="",style:t={},title:n,items:c=[],titleBg:i,titleColor:r,itemBg:s,lineClasses:d={},renderTrendIcon:l,colGap:h="1rem"})=>{const u=h?{"--col-gap":h}: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 f=d[y]||"";return o.jsxs("div",{className:`tlb-row ${f}`,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:l?l(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)})})]})},tfe=({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}))}),afe=({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}))}),nfe="_overlay_3x4or_2",ofe="_fadeIn_3x4or_1",cfe="_popup_3x4or_17",ife="_slideUp_3x4or_1",rfe="_header_3x4or_28",sfe="_body_3x4or_40",dfe="_footer_3x4or_51",lfe="_cancelButton_3x4or_59",hfe="_confirmButton_3x4or_77",ufe="_warning_3x4or_97",pfe="_danger_3x4or_106",yfe="_info_3x4or_115",St={overlay:nfe,fadeIn:ofe,popup:cfe,slideUp:ife,header:rfe,body:sfe,footer:dfe,cancelButton:lfe,confirmButton:hfe,warning:ufe,danger:pfe,info:yfe},kfe=({isOpen:e,title:t,message:n,onConfirm:c,onCancel:i,confirmText:r="Confirmer",cancelText:s="Annuler",type:d="warning"})=>{if(!e)return null;const l=u=>{u.target===u.currentTarget&&i()},h=u=>{u.key==="Escape"&&i(),u.key==="Enter"&&u.ctrlKey&&c()};return o.jsx("div",{className:St.overlay,onClick:l,onKeyDown:h,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:o.jsxs("div",{className:`${St.popup} ${St[d]}`,children:[o.jsx("div",{className:St.header,children:o.jsx("h3",{id:"confirmation-title",children:t})}),o.jsx("div",{className:St.body,children:o.jsx("p",{id:"confirmation-message",children:n})}),o.jsxs("div",{className:St.footer,children:[o.jsx("button",{className:St.cancelButton,onClick:i,type:"button",children:s}),o.jsx("button",{className:St.confirmButton,onClick:c,type:"button",autoFocus:!0,children:r})]})]})})},mfe=()=>{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}},ffe="_container_pafmy_1",gfe="_selectButton_pafmy_7",vfe="_disabled_pafmy_23",xfe="_error_pafmy_40",Mfe="_outline_pafmy_53",_fe="_filled_pafmy_59",Lfe="_sm_pafmy_68",Ife="_md_pafmy_74",bfe="_lg_pafmy_80",wfe="_buttonContent_pafmy_86",Cfe="_label_pafmy_94",Nfe="_placeholder_pafmy_104",Sfe="_iconsContainer_pafmy_109",jfe="_loadingSpinner_pafmy_116",$fe="_spin_pafmy_1",qfe="_arrowIcon_pafmy_135",Afe="_arrowIconOpen_pafmy_143",zfe="_dropdown_pafmy_148",Vfe="_dropdownIn_pafmy_1",Pfe="_searchContainer_pafmy_176",Tfe="_searchInputWrapper_pafmy_182",Hfe="_searchIcon_pafmy_188",Dfe="_searchInput_pafmy_182",Bfe="_optionsList_pafmy_213",Rfe="_noResults_pafmy_238",Ffe="_option_pafmy_213",Efe="_optionHighlighted_pafmy_268",Ofe="_optionSelected_pafmy_273",Ufe="_optionDisabled_pafmy_284",Wfe="_optionLabel_pafmy_290",Gfe="_checkIcon_pafmy_298",Kfe="_widthFull_pafmy_306",Zfe="_width64_pafmy_310",Xfe="_width80_pafmy_314",Yfe="_width96_pafmy_318",he={container:ffe,selectButton:gfe,disabled:vfe,error:xfe,default:"_default_pafmy_49",outline:Mfe,filled:_fe,sm:Lfe,md:Ife,lg:bfe,buttonContent:wfe,label:Cfe,placeholder:Nfe,iconsContainer:Sfe,loadingSpinner:jfe,spin:$fe,arrowIcon:qfe,arrowIconOpen:Afe,dropdown:zfe,dropdownIn:Vfe,searchContainer:Pfe,searchInputWrapper:Tfe,searchIcon:Hfe,searchInput:Dfe,optionsList:Bfe,noResults:Rfe,option:Ffe,optionHighlighted:Efe,optionSelected:Ofe,optionDisabled:Ufe,optionLabel:Wfe,checkIcon:Gfe,widthFull:Kfe,width64:Zfe,width80:Xfe,width96:Yfe},hi=4,Hj=8,Jfe=({options:e,value:t,onChange:n,placeholder:c="Sélectionner une option...",disabled:i=!1,loading:r=!1,error:s=!1,className:d="",size:l="md",variant:h="default",width:u="w-full",dropdownPosition:p="auto"})=>{const[y,f]=k.useState(!1),[g,m]=k.useState(""),[x,M]=k.useState(0),[v,I]=k.useState({top:0,left:0,width:0}),[b,w]=k.useState("bottom"),[C,_]=k.useState(null),L=k.useRef(null),j=k.useRef(null),N=k.useRef(null),S=k.useMemo(()=>g?e.filter(E=>E.label.toLowerCase().includes(g.toLowerCase())):e,[e,g]),z=e.find(E=>E.value===t),A=k.useCallback(()=>{if(L.current){const E=L.current.getBoundingClientRect();I({top:E.top,left:E.left,width:E.width})}},[]),H=k.useCallback(()=>{if(!L.current)return;const E=L.current.getBoundingClientRect(),U=E.top-hi-Hj,ie=window.innerHeight-E.bottom-hi-Hj;let ce;p!=="auto"?ce=p:ce=(j.current?.scrollHeight??0)<=ie?"bottom":U>ie?"top":"bottom",w(Me=>Me===ce?Me:ce),_(Math.max(ce==="bottom"?ie:U,0))},[p]),P=k.useCallback(()=>{A(),H()},[A,H]);k.useEffect(()=>(y&&(P(),window.addEventListener("scroll",P,!0),window.addEventListener("resize",P)),()=>{window.removeEventListener("scroll",P,!0),window.removeEventListener("resize",P)}),[y,P]),k.useLayoutEffect(()=>{y&&H()},[y,H]),k.useEffect(()=>{const E=U=>{L.current&&!L.current.contains(U.target)&&j.current&&!j.current.contains(U.target)&&(f(!1),m(""))};return document.addEventListener("mousedown",E),()=>document.removeEventListener("mousedown",E)},[]),k.useEffect(()=>{M(0)},[S]);const V=E=>{E.disabled||(n?.(E.value,E),f(!1),m(""))},$=E=>{m(E.target.value),y||f(!0)},q=E=>{if(!y){(E.key==="ArrowDown"||E.key==="Enter")&&f(!0);return}switch(E.key){case"ArrowDown":E.preventDefault(),M(U=>U<S.length-1?U+1:U);break;case"ArrowUp":E.preventDefault(),M(U=>U>0?U-1:U);break;case"Enter":E.preventDefault(),S[x]&&V(S[x]);break;case"Escape":f(!1),m("");break}},R=()=>[he.selectButton,he[l],he[h],i?he.disabled:"",s?he.error:"",d].filter(Boolean).join(" "),T=()=>{switch(u){case"w-64":return he.width64;case"w-80":return he.width80;case"w-96":return he.width96;default:return he.widthFull}},O=(E,U)=>[he.option,U===x?he.optionHighlighted:"",E.value===t?he.optionSelected:"",E.disabled?he.optionDisabled:""].filter(Boolean).join(" "),J={position:"fixed",top:b==="bottom"?v.top+(L.current?.offsetHeight||0)+hi:"auto",bottom:b==="top"?window.innerHeight-v.top+hi:"auto",left:v.left,width:v.width,maxHeight:C!=null?`${C}px`:void 0,zIndex:9999};return o.jsxs("div",{className:`${he.container} ${T()}`,children:[o.jsx("button",{ref:L,className:R(),onClick:()=>!i&&f(!y),onKeyDown:q,tabIndex:i?-1:0,type:"button","aria-haspopup":"listbox","aria-expanded":y,disabled:i,children:o.jsxs("div",{className:he.buttonContent,children:[o.jsx("span",{className:`${he.label} ${z?"":he.placeholder}`,children:z?z.label:c}),o.jsxs("div",{className:he.iconsContainer,children:[r&&o.jsx("div",{className:he.loadingSpinner}),o.jsx("svg",{className:`${he.arrowIcon} ${y?he.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"})})]})]})}),y&&Iw.createPortal(o.jsxs("div",{className:`${he.dropdown} ${T()}`,style:J,ref:j,children:[o.jsx("div",{className:he.searchContainer,children:o.jsxs("div",{className:he.searchInputWrapper,children:[o.jsx("svg",{className:he.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:N,type:"text",value:g,onChange:$,placeholder:"Rechercher...",className:he.searchInput,autoFocus:!0})]})}),o.jsx("div",{className:he.optionsList,children:S.length===0?o.jsx("div",{className:he.noResults,children:"Aucun résultat trouvé"}):o.jsx("ul",{role:"listbox",children:S.map((E,U)=>o.jsx("li",{className:O(E,U),onClick:()=>V(E),onMouseEnter:()=>M(U),role:"option","aria-selected":E.value===t,"aria-disabled":E.disabled,children:o.jsxs("div",{className:he.buttonContent,children:[o.jsx("span",{className:he.optionLabel,title:E.label,children:E.label}),E.value===t&&o.jsx("svg",{className:he.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"})})]})},E.value))})})]}),document.body)]})},Qfe="_container_uq7pt_1",e6e="_item_uq7pt_7",t6e="_mainValue_uq7pt_13",a6e="_label_uq7pt_17",n6e="_subValue_uq7pt_22",o6e="_subValueWrapper_uq7pt_27",c6e="_subSeparator_uq7pt_32",Je={container:Qfe,item:e6e,mainValue:t6e,label:a6e,subValue:n6e,subValueWrapper:o6e,subSeparator:c6e},i6e=({dms:e,stats:t=[],itemWidth:n="120px",valueFontSize:c="28px",valueFontWeight:i=700,subFontSize:r="16px",subFontWeight:s=600,backgroundColor:d="#ffffff",labelColor:l="#6b7280",valueColor:h="#000000"})=>{const u=(p,y,f)=>{const[g,m]=p.split("/").map(x=>x.trim());return o.jsxs("span",{className:Je.subValueWrapper,children:[o.jsx("span",{className:Je.subLeft,style:{color:y},children:g}),o.jsx("span",{className:Je.subSeparator,children:" / "}),o.jsx("span",{className:Je.subRight,style:{color:f},children:m})]})};return o.jsxs("div",{className:Je.container,style:{backgroundColor:d},children:[e&&o.jsxs("div",{className:Je.item,style:{flex:`1 1 ${n}`},children:[o.jsx("div",{className:Je.mainValue,style:{fontSize:c,fontWeight:i,color:h},children:e}),o.jsx("div",{className:Je.label,style:{color:l},children:"DMS"})]}),t.map((p,y)=>o.jsxs("div",{className:Je.item,style:{flex:`1 1 ${n}`},children:[o.jsx("div",{className:Je.mainValue,style:{fontSize:c,fontWeight:i,color:h},children:p.value}),o.jsx("div",{className:Je.label,style:{color:l},children:p.label}),o.jsx("div",{className:Je.subValue,style:{fontSize:r,fontWeight:s},children:p.subValue&&u(p.subValue,p.subLeftColor,p.subRightColor)})]},y))]})},r6e="_encours_16ist_1",s6e="_header_16ist_19",d6e="_iconWrap_16ist_27",l6e="_title_16ist_36",h6e="_items_16ist_47",u6e="_spaceEvenly_16ist_56",p6e="_item_16ist_47",y6e="_valueContainer_16ist_86",k6e="_value_16ist_86",m6e="_label_16ist_108",lt={encours:r6e,header:s6e,iconWrap:d6e,title:l6e,items:h6e,spaceEvenly:u6e,item:p6e,valueContainer:y6e,value:k6e,label:m6e},$c=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function f6e(e,t){const n={},c={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=$c(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=$c(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=$c(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(c.fontSize=$c(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?c.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(c.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:c}}function g6e(){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 v6e(e){const{title:t,titleColor:n,titleFontSize:c,titleFontWeight:i,icon:r,iconSize:s=18,iconColor:d,defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p,data:y,style:f,bg:g="#ffffff",width:m,gap:x,className:M,ariaLabel:v}=e,I=r?_t[r]:void 0,b={background:g,width:$c(m),...f},w={};n&&(w.color=n),c!==void 0&&(w.fontSize=$c(c)),i!==void 0&&(w.fontWeight=i);const C={};return d&&(C.color=d),o.jsxs("section",{className:`${lt.encours} ${M??""}`,style:b,"aria-label":v??t,children:[o.jsxs("div",{className:lt.header,children:[o.jsx("div",{className:lt.iconWrap,"aria-hidden":!0,style:C,children:I?o.jsx(I,{size:typeof s=="number"?s:void 0}):o.jsx(g6e,{})}),o.jsx("div",{className:lt.title,style:w,children:t})]}),o.jsx("div",{className:`${lt.items} ${x===void 0?lt.spaceEvenly:""}`,role:"list",style:x!==void 0?{gap:`${x}px`}:{},children:y.map((_,L)=>{const{valueStyle:j,labelStyle:N}=f6e(_,{defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p});return o.jsx("div",{className:lt.item,role:"listitem",style:{..._.background?{background:_.background}:{},..._.width?{width:$c(_.width)}:{}},children:o.jsxs("div",{className:lt.valueContainer,children:[o.jsx("div",{className:lt.value,style:j,children:_.value}),_.label&&o.jsx("div",{className:lt.label,style:N,children:_.label})]})},`${String(_.label??_.value)}-${L}`)})})]})}const x6e=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.createElement("path",{d:"M480-360 280-559h400z"})),qA=k.memo(x6e),M6e=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.createElement("path",{d:"m280-400 200-201 200 201z"})),_6e=k.memo(M6e),L6e=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},te.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"})),I6e=k.memo(L6e),b6e=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},te.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"})),w6e=k.memo(b6e),C6e=({items:e,onSave:t,loading:n,disabled:c,saveLabel:i,savingLabel:r,buttonTitle:s,size:d=16,colors:l={bg:"#DADADA",activeBg:"var(--color-primary)",circle:"#FFFFFF",icon:"#1C1B1F",icon2:"#FFFFFF"},style:h,a11yConfig:u})=>{const[p,y]=k.useState(!1),[f,g]=k.useState(e),[m,x]=k.useState(!1);if(k.useEffect(()=>{x(!0)},[]),k.useEffect(()=>{g(e)},[e]),!m)return null;const M=(b,w)=>{w<4||g(C=>C.map(_=>_.component_key===b?{..._,visible:!_.visible}:_))},v=()=>{t(f),y(!1)},I=Y(u,s);return o.jsxs("div",{style:{position:"relative",display:"inline-block",...h},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:I,children:[o.jsx(u$,{width:d,height:d,fill:l?.icon||"currentColor",style:{transition:"color 0.2s"}}),p?o.jsx(_6e,{width:d,height:d,fill:l?.icon||"currentColor"}):o.jsx(qA,{width:d,height:d,fill:l?.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:f.map((b,w)=>o.jsxs(k.Fragment,{children:[o.jsxs("li",{onClick:()=>M(b.component_key,w),style:{display:"flex",alignItems:"center",padding:"0.5rem",cursor:w<4?"not-allowed":"pointer",transition:"background 0.2s"},onMouseEnter:C=>{w>=4&&(C.currentTarget.style.background="#F9FAFB")},onMouseLeave:C=>{w>=4&&(C.currentTarget.style.background="transparent")},children:[o.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:8,flexShrink:0},children:b.visible?o.jsx(I6e,{width:20,height:20,fill:l?.activeBg||"var(--color-primary, #008FBB)"}):o.jsx(w6e,{width:20,height:20,fill:"#D1D5DB"})}),o.jsx("span",{style:{fontSize:"14px",color:"#111827",fontWeight:400,userSelect:"none"},children:b.label})]}),w===3&&o.jsx("div",{style:{height:1,background:"#E5E7EB",margin:"4px 0"}})]},b.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})})]})]})},N6e="_container_zhny9_1",S6e="_card_zhny9_15",j6e="_footer_zhny9_33",$6e="_noPaddingMobile_zhny9_51",ui={container:N6e,card:S6e,footer:j6e,noPaddingMobile:$6e},q6e="_board_95t8m_1",A6e="_clickable_95t8m_21",z6e="_sideBar_95t8m_26",V6e="_boardContent_95t8m_32",P6e="_orange_95t8m_40",T6e="_red_95t8m_44",H6e="_green_95t8m_48",D6e="_grey_95t8m_52",B6e="_lightGrey_95t8m_56",R6e="_big_95t8m_61",F6e="_medium_95t8m_66",E6e="_headerRow_95t8m_70",O6e="_iconWrapper_95t8m_75",U6e="_headerTitle_95t8m_80",W6e="_valueArea_95t8m_89",G6e="_titleWhite_95t8m_99",K6e="_titleBlack_95t8m_103",Z6e="_valueWhite_95t8m_108",X6e="_valueBlack_95t8m_112",Y6e="_valueBlue_95t8m_116",J6e="_bars_95t8m_121",Q6e="_bar_95t8m_121",e8e="_barDark_95t8m_135",t8e="_barDim_95t8m_139",a8e="_predictionSection_95t8m_143",n8e="_predictionHeader_95t8m_155",o8e="_predictionBody_95t8m_162",c8e="_hasPrediction_95t8m_170",Te={board:q6e,clickable:A6e,sideBar:z6e,boardContent:V6e,orange:P6e,red:T6e,green:H6e,grey:D6e,lightGrey:B6e,big:R6e,medium:F6e,headerRow:E6e,iconWrapper:O6e,headerTitle:U6e,valueArea:W6e,titleWhite:G6e,titleBlack:K6e,valueWhite:Z6e,valueBlack:X6e,valueBlue:Y6e,bars:J6e,bar:Q6e,barDark:e8e,barDim:t8e,predictionSection:a8e,predictionHeader:n8e,predictionBody:o8e,hasPrediction:c8e},i8e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${Te.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${Te.bar} ${r<c?"":e?Te.barDark:Te.barDim}`},r))})},Mt=({a11yConfig:e,iconName:t,label:n,value:c,backgroundColor:i="green",bars:r,lightBars:s=5,size:d="big",valueScale:l,width:h,height:u,className:p="",style:y,titleColor:f="white",valueColor:g="white",titleFontSize:m,titleFontWeight:x,valueFontSize:M,valueFontWeight:v,barColor:I,justifyContent:b="space-between",alignItems:w="flex-start",cardGap:C="",onClick:_,iconColor:L,titleKey:j,predictionValue:N,predictionLabel:S})=>{const z=r!=="none",A=r==="endingDark",{padding:H,...P}=y||{},V=h===void 0&&u===void 0&&i===void 0&&Object.keys(P).length===0?void 0:{...h!==void 0?{width:h}:{},...u!==void 0?{height:u}:{},...i!==void 0?{backgroundColor:i}:{},...P},$=`${Te.board} ${Te[d]} ${N!==void 0?Te.hasPrediction:""} ${p}`;return o.jsxs("div",{className:$,onClick:_,style:l!==void 0?{...V,"--ds-value-scale":l}:V,children:[I&&o.jsx("div",{className:Te.sideBar,style:{backgroundColor:I}}),o.jsxs("div",{className:Te.boardContent,style:{padding:H,gap:C},children:[o.jsxs("div",{className:Te.headerRow,style:{justifyContent:b,alignItems:w},children:[t&&o.jsx("div",{className:Te.iconWrapper,style:{color:L},children:t}),o.jsx("div",{className:`${Te.headerTitle} header-title-data-board`,children:o.jsx("span",{title:Y(e,j),"aria-label":e?.description,style:{color:f,...m?{fontSize:m}:{},...x?{fontWeight:x}:{}},children:n})}),z?o.jsx(i8e,{endingDark:A,lightCount:s}):null]}),o.jsx("div",{className:Te.valueArea,style:{color:g,...M?{fontSize:M}:{},...v?{fontWeight:v}:{}},children:c})]}),N!==void 0&&o.jsxs("div",{className:Te.predictionSection,children:[o.jsx("div",{className:Te.predictionHeader,children:S??"PRED."}),o.jsx("div",{className:Te.predictionBody,children:N})]})]})},r8e="_wrapper_1ydle_10",s8e="_hosp_1ydle_19",d8e="_headerRow_1ydle_54",l8e="_iconWrapper_1ydle_61",h8e="_headerTitle_1ydle_67",u8e="_hospValue_1ydle_76",p8e="_side_1ydle_88",y8e="_mini_1ydle_100",k8e="_miniLabel_1ydle_131",m8e="_miniValue_1ydle_140",f8e="_miniBars_1ydle_150",g8e="_bars_1ydle_155",v8e="_bar_1ydle_155",x8e="_barDark_1ydle_169",M8e="_barDim_1ydle_173",De={wrapper:r8e,hosp:s8e,headerRow:d8e,iconWrapper:l8e,headerTitle:h8e,hospValue:u8e,side:p8e,mini:y8e,miniLabel:k8e,miniValue:m8e,miniBars:f8e,bars:g8e,bar:v8e,barDark:x8e,barDim:M8e},_8e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${De.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${De.bar} ${r<c?"":e?De.barDark:De.barDim}`},r))})},AA=({left:e,right:t,className:n="",style:c,miniTilesCount:i=3})=>{const r=e.bars??"endingDark",s=r!=="none",d=r==="endingDark",l={...c,"--mini-tiles-count":i};return o.jsxs("div",{className:`${De.wrapper} ${n} data-four-boards`,style:l,children:[o.jsxs("div",{className:`${De.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:Y(e.a11yConfig,e.titleKey),children:[o.jsxs("div",{className:De.headerRow,children:[o.jsxs("div",{className:`${De.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&o.jsx("span",{style:{color:e.iconColor},children:e.iconName}),o.jsx("span",{className:De.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},title:Y(e.a11yConfig,e.titleKey),children:e.label})]}),s?o.jsx(_8e,{endingDark:d,lightCount:e.lightBars??5}):null]}),o.jsx("div",{className:De.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:De.side,children:t.map((h,u)=>o.jsxs("div",{className:`${De.mini} ${h.className||""} icon-wrapper-data-four-boards`,onClick:h.onClick,style:{...h.width?{width:h.width}:{},...h.height?{height:h.height}:{},...h.backgroundColor?{backgroundColor:h.backgroundColor}:{},...h.style||{}},title:Y(h.a11yConfig,h.titleKey),children:[o.jsxs("span",{className:De.miniLabel,style:{color:h.titleColor||"white",textAlign:"right",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",...h.titleFontSize?{fontSize:h.titleFontSize}:{},...h.titleFontWeight?{fontWeight:h.titleFontWeight}:{}},title:Y(h.a11yConfig,h.titleKey),children:[h.iconName&&o.jsx("span",{style:{color:h.iconColor},children:h.iconName}),h.label]}),o.jsx("span",{className:`${De.miniValue} mini-value-data-four-boards`,style:{color:h.valueColor||"white",textAlign:"right",...h.valueScale!==void 0?{"--ds-value-scale":h.valueScale}:{},...h.valueFontSize?{fontSize:h.valueFontSize}:{},...h.valueFontWeight?{fontWeight:h.valueFontWeight}:{}},children:h.value}),o.jsx("div",{className:De.miniBars})]},h.id??`${h.label}-${u}`))})]})},L8e=({items:e,footerLabel:t,width:n,height:c,size:i=320,style:r,className:s="",backgroundColor:d,titleFontSize:l,titleFontWeight:h,valueFontSize:u,valueFontWeight:p,noPaddingLeftRight:y=!1,onItemClick:f})=>{const g={width:n??i,height:c,backgroundColor:d??"var(--ds-navy)",...r},m=e[0],x=e[1],M=e.slice(2,5);return o.jsxs("div",{style:g,className:`${ui.container} ${y?ui.noPaddingMobile:""} ${s}`,children:[o.jsxs("div",{className:ui.card,children:[m?o.jsx(Mt,{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??l,titleFontWeight:m.titleFontWeight??h,valueFontSize:m.valueFontSize??u,valueFontWeight:m.valueFontWeight??p,titleKey:m.titleKey,onClick:v=>f?.(0,v)}):null,x&&M.length>0?o.jsx(AA,{left:{a11yConfig:x.a11yConfig,id:x.id,label:x.label,value:x.value,backgroundColor:x.backgroundColor,bars:x.bars,lightBars:x.lightBars,valueScale:x.valueScale,width:x.width,height:x.height,titleFontSize:x.titleFontSize??l,titleFontWeight:x.titleFontWeight??h,valueFontSize:x.valueFontSize??u,valueFontWeight:x.valueFontWeight??p,titleKey:x.titleKey,onClick:v=>f?.(1,v)},right:M.map((v,I)=>({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??l,titleFontWeight:v.titleFontWeight??h,valueFontSize:v.valueFontSize??u,valueFontWeight:v.valueFontWeight??p,titleKey:v.titleKey,onClick:b=>f?.(2+I,b)}))}):x&&M.length===0?o.jsx(Mt,{a11yConfig:x.a11yConfig,label:x.label,value:x.value,backgroundColor:x.backgroundColor,bars:x.bars,lightBars:x.lightBars,size:x.size??"big",valueScale:x.valueScale,width:x.width,height:x.height,titleColor:"white",valueColor:"white",titleFontSize:x.titleFontSize??l,titleFontWeight:x.titleFontWeight??h,valueFontSize:x.valueFontSize??u,valueFontWeight:x.valueFontWeight??p,onClick:v=>f?.(1,v)}):null]}),t&&o.jsx("div",{className:ui.footer,children:t})]})},I8e=({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})})})}),b8e=({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:l="12px",fontWeight:h="400",domain:u,xAxisLabel:p,margin:y={top:20,right:60,bottom:40,left:0},valueFormatter:f,tickFormatter:g,labelDataKey:m="percentage",isAnimationActive:x=!0})=>{const M=(y.top??20)+(y.bottom??40)+e.length*(s+20),v=Math.max(M,t),I=k.useMemo(()=>{if(!e||e.length===0)return d;const L=(parseFloat(l)||12)*.7,N=Math.max(...e.map(S=>(S.label||"").length))*L+16;return Math.min(Math.max(N,40),d)},[e,l,d]),b=_=>g?g(_):_?.toString()||"",w=_=>f&&m==="value"?f(_):_==null||_===""?"":m==="percentage"?`${_}%`:_.toString(),C=(_,L,j)=>{if(typeof _!="number")return _;const N=f?f(_):_.toString(),S=j?.payload?.percentage;return typeof S=="number"&&Number.isFinite(S)&&m==="percentage"?`${N} (${S.toFixed(1)}%)`:N};return o.jsx("div",{style:{backgroundColor:i,width:"100%"},children:o.jsx(a.ResponsiveContainer,{width:"100%",height:v,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:l,fontWeight:h,stroke:r,tickFormatter:b,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:I,interval:0,fontSize:l,fontWeight:h,tick:o.jsx(I8e,{fontSize:l,fontWeight:h,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,isAnimationActive:x,children:o.jsx(a.LabelList,{dataKey:m,position:"right",offset:10,formatter:w,fill:r,fontSize:l,fontWeight:h})})]})})})},w8e="_menu_9anig_1",C8e="_menuRow_9anig_18",N8e="_separator_9anig_34",S8e="_rowLabel_9anig_40",j8e="_rowLeadingIcon_9anig_48",$8e="_rowIcon_9anig_55",Gc={menu:w8e,menuRow:C8e,separator:N8e,rowLabel:S8e,rowLeadingIcon:j8e,rowIcon:$8e},q8e=k.forwardRef(function({isVisible:t,onClose:n,items:c,style:i,position:r,bg:s},d){const l=k.useRef(null),h=d||l;if(k.useEffect(()=>{if(!t)return;const y=f=>{h.current&&!h.current.contains(f.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:h,role:"menu",className:Gc.menu,style:p,children:c.map(y=>{if(y.type==="separator")return o.jsx("hr",{className:Gc.separator},y.id);const f=y,g=f.color?{color:f.color}:{},m=f.closeOnClick!==!1;return o.jsxs("button",{role:"menuitem",className:Gc.menuRow,style:g,onClick:()=>{f.onClick?.(),m&&n?.()},children:[o.jsxs("span",{className:Gc.rowLabel,children:[f.leadingIcon&&o.jsx("span",{className:Gc.rowLeadingIcon,children:f.leadingIcon}),o.jsx("span",{children:f.label})]}),f.icon&&o.jsx("span",{className:Gc.rowIcon,children:f.icon})]},f.id)})})}),zA=({user:e,logoutHref:t,logoutTarget:n="_self",onLogout:c,profileHref:i,profileLinkTarget:r="_self",backgroundColor:s="transparent",textColor:d="inherit",roleColor:l="#888",avatarSize:h="32px",padding:u="10px",gap:p="12px",emailFontSize:y="14px",emailFontWeight:f=600,roleFontSize:g="12px",roleFontWeight:m,avatarColor:x="#5b8fb9",backgroundColorAvatar:M="#f1f4f5",dropdownMenuItems:v,dropdownMenuStyle:I,dropdownMenuOffset:b,statusDotColor:w,a11yConfig:C,style:_,className:L=""})=>{const{user:j}=ft(),N=e||j,{currentTheme:S,switchTheme:z}=CL(),A=k.useRef(null),H=k.useRef(null),[P,V]=k.useState(!1),[$,q]=k.useState({}),R=k.useMemo(()=>{const ae=[],ne=({variant:pe})=>pe==="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&&(ae.push({id:"profile",type:"action",label:"Mon profil",onClick:()=>{typeof window>"u"||(r==="_blank"?window.open(i,"_blank","noopener,noreferrer"):window.location.assign(i))}}),ae.push({id:"sep-profile",type:"separator"}));const le=S==="dark";return ae.push({id:"theme",type:"action",label:le?"Mode clair":"Mode sombre",icon:o.jsx(ne,{variant:le?"sun":"moon"}),onClick:()=>{z(le?"light":"dark")}}),(t||c)&&(ae.push({id:"sep-theme",type:"separator"}),ae.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?.()}})),ae},[S,t,n,c,i,r,z]),T=v??R,O=()=>{if(!A.current){V(ae=>!ae);return}if(!P){const ae=A.current.getBoundingClientRect(),ne=window.innerWidth,le=window.innerHeight,pe=200,me=200,W=4,X=b?.x??0,se=b?.y??0,Re=ne-ae.right>=pe+W;q(Re?{top:ae.bottom-me+se,left:ae.right+W+X}:{bottom:le-ae.top+se,left:ae.left+X})}V(ae=>!ae)};if(k.useEffect(()=>{if(!P||!A.current)return;const ae=()=>{const ne=A.current.getBoundingClientRect(),le=window.innerWidth,pe=window.innerHeight,me=200,W=200,X=4,se=b?.x??0,$e=b?.y??0,ve=le-ne.right>=me+X;q(ve?{top:ne.bottom-W+$e,left:ne.right+X+se}:{bottom:pe-ne.top+$e,left:ne.left+se})};return window.addEventListener("resize",ae),window.addEventListener("orientationchange",ae),()=>{window.removeEventListener("resize",ae),window.removeEventListener("orientationchange",ae)}},[P,b]),k.useEffect(()=>{if(!P||!A.current||!H.current)return;const ae=()=>{const le=A.current.getBoundingClientRect(),pe=H.current.getBoundingClientRect(),me=b?.x??0,W=b?.y??0;q(X=>X.left!==void 0&&X.top!==void 0&&X.left>=le.right-1?{top:le.bottom-pe.height+W,left:X.left+me}:X)},ne=requestAnimationFrame(()=>{setTimeout(ae,0)});return()=>cancelAnimationFrame(ne)},[P,b]),!N)return null;const J=N,E=parseInt(h,10)||40,U=`${E*.375}px`,ie=`${E*1.375}px`,ce=`${E*.2}px`,Me=`${E*.6}px`,re=()=>{const ae=parseInt(h,10)||40,ne=Math.max(8,ae*.34375),le=Math.max(2,ae*.05);return o.jsxs(o.Fragment,{children:[o.jsxs("div",{style:{position:"relative",flexShrink:0,userSelect:"none"},children:[J.image?o.jsx("img",{src:J.image,alt:`${J.prenom} ${J.nom}`,style:{width:h,height:h,borderRadius:"50%",objectFit:"cover",userSelect:"none"}}):o.jsxs("div",{style:{width:h,height:h,position:"relative",borderRadius:"50%",backgroundColor:M,overflow:"hidden",userSelect:"none"},children:[o.jsx("div",{style:{width:U,height:U,borderRadius:"50%",backgroundColor:x,position:"absolute",top:ce,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),o.jsx("div",{style:{width:ie,height:ie,borderRadius:"50%",backgroundColor:x,position:"absolute",top:Me,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),w&&o.jsx("div",{style:{position:"absolute",bottom:le,right:le,width:`${ne}px`,height:`${ne}px`,borderRadius:"50%",backgroundColor:w,border:"2px solid white",zIndex:10}})]}),o.jsxs("div",{style:{display:"flex",flexDirection:"column",minWidth:0,flex:1},children:[o.jsx("span",{style:{fontWeight:f,fontSize:y,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:J.email,children:J.email}),o.jsx("span",{style:{color:l,fontSize:g,fontWeight:m,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:J.role,children:J.role})]})]})};return o.jsxs(o.Fragment,{children:[o.jsx("div",{ref:A,className:`user-info ${L}`,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:O,title:Y(C,J.role),role:"button",tabIndex:0,children:o.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:o.jsx(re,{})})}),o.jsx(q8e,{ref:H,isVisible:P,onClose:()=>V(!1),items:T,style:I,position:$})]})},A8e="_navItem_16uqf_1",z8e="_label_16uqf_14",V8e="_icon_16uqf_26",f1={navItem:A8e,label:z8e,icon:V8e},lC=({label:e,labelKey:t,onClick:n,href:c,isActive:i,icon:r,style:s,className:d="",highlightColor:l="#00aec7",color:h="#333",activeColor:u="#00aec7",highlightBackgroundColor:p="rgba(0, 0, 0, 0.05)",fontSize:y="15px",fontWeight:f="500",sidebarCollapsed:g=!1,padding:m="10px 16px",borderWidth:x="4px",iconGap:M="12px",disabled:v=!1,disabledColor:I,a11yConfig:b})=>{const w=()=>{v||n?.()},C=o.jsxs(o.Fragment,{children:[r&&o.jsx("span",{className:f1.icon,style:{marginRight:g?0:M},children:r}),!g&&o.jsx("span",{className:f1.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(l.startsWith("#")){const N=j(l);if(N)return`rgba(${N.r}, ${N.g}, ${N.b}, 0.08)`}else if(l.startsWith("rgb")){const N=l.match(/\d+/g);if(N&&N.length>=3)return`rgba(${N[0]}, ${N[1]}, ${N[2]}, 0.08)`}return p},L={onClick:w,className:`${f1.navItem} ${i?f1.active:""} ${d} ${v?f1.disabled:""}`,style:{padding:m,color:i?u:v?I||"#999":h,borderLeft:i?`${x} solid ${l}`:`${x} solid transparent`,backgroundColor:_(),fontSize:y,fontWeight:f,cursor:v?"not-allowed":"pointer",textDecoration:"none",...s},"aria-disabled":v};return c&&!n&&!v?o.jsx("a",{href:c,...L,title:Y(b,t),children:C}):o.jsx("div",{...L,role:n?"button":void 0,tabIndex:n&&!v?0:void 0,title:Y(b,t),children:C})},P8e="_navbar_y5tex_1",T8e="_topSection_y5tex_9",H8e="_logoContainer_y5tex_14",D8e="_collapseToggle_y5tex_20",B8e="_collapsedRail_y5tex_37",R8e="_collapsedToggle_y5tex_44",F8e="_sectionsContainer_y5tex_67",E8e="_sectionTitle_y5tex_73",O8e="_sectionItems_y5tex_78",U8e="_bottomSection_y5tex_83",W8e="_versionContainer_y5tex_102",Qe={navbar:P8e,topSection:T8e,logoContainer:H8e,collapseToggle:D8e,collapsedRail:B8e,collapsedToggle:R8e,sectionsContainer:F8e,sectionTitle:E8e,sectionItems:O8e,bottomSection:U8e,versionContainer:W8e},G8e=({logoProps:e,logoSpacing:t,navItems:n,padding:c="24px 16px",sectionSpacing:i="32px",itemSpacing:r="4px",backgroundColor:s="#fff",highlightColor:d="#00aec7",highlightBackgroundColor:l="rgba(0, 0, 0, 0.05)",version:h,navSectionStyle:u,navLinkStyle:p,navItemPadding:y="10px 16px",navItemBorderWidth:f="4px",navItemIconGap:g="12px",navItemFontSize:m="15px",navItemFontWeight:x="500",navItemColor:M,sectionTitlePadding:v="16px",sectionTitleFontSize:I="11px",sectionTitleColor:b="#999",sectionTitleWeight:w="500",versionFontSize:C="12px",versionFontWeight:_="400",versionColor:L="#999",userInfoProps:j,style:N,className:S="",width:z="280px",showLogo:A=!0,versionA11yConfig:H,displayNone:P=!1,showCollapseToggle:V=!1,collapsed:$=!1,onCollapseToggle:q,collapseToggleLabel:R="Toggle sidebar",collapseToggleIconPath:T="/icon/dock_to_left.svg"})=>{const O=ft(),J=O.activeNav,E=O.setActiveNav,U=O.user,ie=j.user||U;return V&&$?o.jsx("div",{className:`${Qe.collapsedRail} ${S}`,style:{display:P?"none":"flex"},children:o.jsx("button",{type:"button",className:Qe.collapsedToggle,onClick:q,"aria-label":R,children:o.jsx(Mw,{path:T,width:18,height:18})})}):o.jsxs("div",{className:`${Qe.navbar} ${S}`,style:{width:z,backgroundColor:s,padding:c,display:P?"none":"flex",...N},children:[o.jsxs("div",{className:Qe.topSection,style:{gap:t},children:[A&&o.jsxs("div",{className:Qe.logoContainer,children:[o.jsx(wL,{...e}),V&&o.jsx("button",{type:"button",className:Qe.collapseToggle,onClick:q,"aria-label":R,children:o.jsx(Mw,{path:T,width:20,height:20})})]}),o.jsx("div",{className:Qe.sectionsContainer,style:{gap:i},children:n.map((ce,Me)=>o.jsxs("div",{className:Qe.section,children:[ce.title&&o.jsx("div",{className:Qe.sectionTitle,title:Y(ce.a11yConfig,ce.titleKey),style:{fontSize:I,color:b,padding:v,fontWeight:w,border:"4px solid transparent",...u},children:ce.title}),o.jsx("div",{className:Qe.sectionItems,style:{gap:r},children:ce.items.map(re=>o.jsx(lC,{...re,isActive:re.isActive===null?re.isActive:J===re.id,onClick:()=>{re.onClick&&re.onClick(),re.isActive==null&&E(re.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:l,padding:y,borderWidth:f,iconGap:g,fontSize:m,fontWeight:x,color:M,style:p},re.id))})]},Me))})]}),o.jsxs("div",{className:Qe.bottomSection,style:{gap:t},children:[o.jsx(zA,{...j,user:ie}),h&&o.jsx("div",{className:Qe.versionContainer,title:Y(H,h),style:{fontSize:C,fontWeight:_,color:L},children:h})]})]})},K8e="_container_4qege_1",Z8e="_titleContainer_4qege_10",X8e="_title_4qege_10",Y8e="_inlineToggleContainer_4qege_24",J8e="_rightContentContainer_4qege_30",g1={container:K8e,titleContainer:Z8e,title:X8e,inlineToggleContainer:Y8e,rightContentContainer:J8e},Q8e=({className:e="",style:t,fontSize:n="20px",fontWeight:c="bold",color:i="#000",padding:r="0",margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,navItems:y,allNavItems:f,formatTitle:g=M=>M,rightContent:m,inlineToggle:x})=>{const{activeNav:M}=ft(),v=y.find(b=>b.id===M)||f?.find(b=>b.id===M),I=v?g(v.label):M||"";return I?o.jsxs("div",{className:`${g1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,...t},children:[o.jsxs("div",{className:g1.titleContainer,children:[o.jsx("div",{className:g1.title,style:{fontSize:n,fontWeight:c,color:i},children:I}),x&&o.jsx("div",{className:g1.inlineToggleContainer,children:x})]}),m&&o.jsx("div",{className:g1.rightContentContainer,children:m})]}):null},ege="_navItem_1hg26_1",tge="_navItemIcon_1hg26_21",age="_navItemLabel_1hg26_29",nge="_navItemCount_1hg26_36",oge="_navItemIndicator_1hg26_49",v1={navItem:ege,navItemIcon:tge,navItemLabel:age,navItemCount:nge,navItemIndicator:oge},VA=({a11yConfig:e,label:t,isActive:n,onClick:c,href:i,labelKey:r,icon:s,count:d,activeColor:l="#00aec7",inactiveColor:h="#666",activeBackgroundColor:u="transparent",countBackgroundColor:p,countColor:y="#fff",countBorderRadius:f="10px",countPadding:g="2px 6px",countFontSize:m="12px",countFontWeight:x="500",indicatorColor:M="#00aec7",indicatorHeight:v="3px",padding:I="8px 4px",fontSize:b="14px",fontWeight:w="500",gap:C="8px",style:_,className:L="",disabled:j=!1,onNavigate:N})=>{const S=()=>{j||(c?.(),i&&(N?N(i):window.location.href=i))};return o.jsxs("div",{className:`${v1.navItem} ${L}`,onClick:S,title:Y(e,r),style:{gap:C,padding:I,color:n?l:h,backgroundColor:n?u:"transparent",fontSize:b,fontWeight:w,..._},children:[s&&o.jsx("span",{className:v1.navItemIcon,children:s}),o.jsx("span",{className:v1.navItemLabel,children:t}),d!==void 0&&o.jsx("span",{className:v1.navItemCount,style:{backgroundColor:p,color:y,borderRadius:f,padding:g,fontSize:m,fontWeight:x},children:d}),n&&!j&&o.jsx("div",{className:v1.navItemIndicator,style:{height:v,backgroundColor:M}})]})},cge="_container_13hsa_1",ige="_groupHeader_13hsa_8",rge="_groupHeaderLeft_13hsa_18",sge="_groupIcon_13hsa_23",dge="_dropdown_13hsa_29",lge="_item_13hsa_42",hge="_itemIcon_13hsa_65",uge="_chevron_13hsa_72",pge="_chevronOpen_13hsa_79",gt={container:cge,groupHeader:ige,groupHeaderLeft:rge,groupIcon:sge,dropdown:dge,item:lge,itemIcon:hge,chevron:uge,chevronOpen:pge},yge=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.createElement("path",{d:"M480-344 240-584l43-43 197 197 197-197 43 43z"})),F1=k.memo(yge),PA=({groups:e,activeItemId:t,onItemClick:n,style:c,className:i,bgColor:r="transparent",color:s="var(--color-text)",headerBgColor:d="var(--color-indicator)",headerColor:l="var(--color-text)",headerBorderBottomColor:h="var(--color-border)",dropdownBgColor:u="var(--color-background)",itemBgColor:p="transparent",itemHoverBgColor:y="rgba(0,0,0,0.05)",itemColor:f="var(--color-text)",itemActiveColor:g="var(--color-primary)",itemActiveBorderColor:m="var(--color-primary)",itemDividerColor:x="var(--color-border)",iconColor:M="#555555",activeIconColor:v="var(--color-primary)",headerIconColor:I="var(--color-text)",chevronColor:b="var(--color-text)",iconSize:w=22,headerPadding:C="14px 20px",itemPadding:_="14px 20px",iconGap:L=14,borderRadius:j=0})=>{const[N,S]=k.useState(""),z=k.useRef(null);k.useEffect(()=>{const H=P=>{z.current&&!z.current.contains(P.target)&&S("")};return document.addEventListener("mousedown",H),()=>document.removeEventListener("mousedown",H)},[]);const A={backgroundColor:r,color:s,borderRadius:j,...c};return o.jsx("nav",{ref:z,className:[gt.container,i].filter(Boolean).join(" "),style:A,children:e.map(H=>{const P=N===H.id,V={backgroundColor:d,color:l,padding:C,borderBottom:`1px solid ${h}`,gap:L},$={backgroundColor:u};return o.jsxs("div",{children:[o.jsxs("div",{className:gt.groupHeader,style:V,onClick:()=>S(P?"":H.id),role:"button","aria-expanded":P,children:[o.jsxs("div",{className:gt.groupHeaderLeft,style:{gap:L},children:[H.icon&&o.jsx("span",{className:gt.groupIcon,style:{color:I,width:w,height:w},children:H.icon}),o.jsx("span",{children:H.label})]}),o.jsx("span",{className:[gt.chevron,P?gt.chevronOpen:""].join(" "),style:{color:b},children:o.jsx(F1,{width:18,height:18})})]}),P&&o.jsx("div",{className:gt.dropdown,style:$,children:H.items.map(q=>{const R=q.id===t,T={padding:_,gap:L,color:R?g:f,backgroundColor:p,"--item-border-width":R?"4px":"1px","--item-border-color":R?m:x};return o.jsxs("div",{className:gt.item,style:T,onClick:()=>{n?.(H.id,q.id),S("")},role:"menuitem",onMouseEnter:O=>{R||(O.currentTarget.style.backgroundColor=y)},children:[q.icon&&o.jsx("span",{className:gt.itemIcon,style:{color:R?v:M,width:w,height:w},children:q.icon}),o.jsx("span",{children:q.label})]},q.id)})})]},H.id)})})},kge="_subheaderContent_1glo8_1",mge="_navContainer_1glo8_11",fge="_rightContent_1glo8_45",Gb={subheaderContent:kge,navContainer:mge,rightContent:fge},gge=({subNavItems:e,backgroundColor:t="transparent",padding:n="0",margin:c,width:i,height:r="auto",border:s,borderBottom:d="none",itemGap:l="24px",actionsGap:h="16px",itemPadding:u="12px 0",itemFontSize:p="14px",itemFontWeight:y="500",activeItemColor:f="#00aec7",inactiveItemColor:g="#5c6975",indicatorHeight:m="3px",showDraggable:x=!1,showLegend:M=!1,showData:v=!1,className:I="",style:b,countBackgroundColor:w,countColor:C,countBorderRadius:_,countPadding:L,countFontSize:j,countFontWeight:N,navContainerClassName:S,navContainerStyle:z,rightContentClassName:A,rightContentStyle:H,rightActions:P,activeSwitcherColor:V,inactiveSwitcherColor:$,isMobile:q=!1,onNavigate:R})=>{const{activeSubNav:T,setActiveSubNav:O,navCounts:J,activeNav:E}=ft();if(q){const U=e.find(ce=>ce.id===T)||e[0],ie=[{id:"current-group",label:U?.label||E?.toUpperCase()||"MENU",icon:U?.icon,items:e.map(ce=>({id:ce.id,label:ce.label,icon:ce.icon}))}];return o.jsx("div",{className:I,style:b,children:o.jsx(PA,{groups:ie,activeItemId:T,onItemClick:(ce,Me)=>{const re=e.find(ae=>ae.id===Me);re&&(re.onClick&&re.onClick(),re.href&&(R?R(re.href):re.onNavigate?re.onNavigate(re.href):window.location.href=re.href),O(Me))},headerBgColor:t})})}return o.jsxs("div",{className:`${Gb.subheaderContent} ${I}`,style:{backgroundColor:t,padding:n,margin:c,width:i,height:r,border:s,borderBottom:d,...b},children:[o.jsx("div",{className:`${Gb.navContainer} ${S||""}`,style:{gap:l,...z},children:e.map(U=>{const ie=U.count!==void 0?U.count:J[U.id],ce=T===U.id||U.isActive;return o.jsx(VA,{...U,onNavigate:R||U.onNavigate,count:ie,isActive:ce,onClick:()=>{U.onClick&&U.onClick(),O(U.id)},activeColor:f,inactiveColor:g,countBackgroundColor:w,countColor:C,countBorderRadius:_,countPadding:L,countFontSize:j,countFontWeight:N,indicatorColor:f,indicatorHeight:m,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:U.style},U.id)})}),o.jsxs("div",{className:`${Gb.rightContent} ${A||""}`,style:{gap:h,...H},children:[x&&o.jsx(kL,{size:20,colors:{bg:V,activeBg:$,icon:"#1C1B1F",icon2:"#FFFFFF"}}),M&&o.jsx(mL,{size:20,colors:{bg:V,activeBg:$,icon:"#1C1B1F",icon2:"#FFFFFF"}}),v&&o.jsx(fL,{size:20,colors:{bg:V,activeBg:$,icon:"#1C1B1F",icon2:"#FFFFFF"}}),P]})]})},vge=({onSwitch:e,size:t="20px",lightIconColor:n="#666",darkIconColor:c="#fff",backgroundColor:i="transparent",padding:r="8px",borderRadius:s="50%",style:d,className:l=""})=>{const[h,u]=k.useState(!1),{currentTheme:p,switchTheme:y}=CL(),f=p!="dark",g=()=>{y(f?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!h||!p?o.jsx(o.Fragment,{}):o.jsx("div",{className:`theme-switcher ${l}`,onClick:g,style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:i,padding:r,borderRadius:s,transition:"all 0.3s ease",...d},children:f?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"})]})})},xge=({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 l={...c,sortBy:s,sortOrder:d};i(l),n(s,d)},[c,n]);return{tableState:c,handleSort:r}},Mge=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},te.createElement("path",{d:"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z"})),_ge=k.memo(Mge),Lge=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},te.createElement("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z"})),Ige=k.memo(Lge),bge=({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,l=!!r.sortable;return o.jsx("th",{className:`${r.className||""}${l?" sortable":""}`,style:{width:r.width,textAlign:r.align||"left"},onClick:()=>l&&c(String(r.key)),title:Y(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}),l&&o.jsx("span",{className:"sort-icon-container",style:{display:"inline-flex",alignItems:"center"},children:d&&n==="asc"?o.jsx(Ige,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):o.jsx(_ge,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),wge=({data:e,columns:t,rowKey:n,onRowClick:c,isLoading:i,text:r,rowStyle:s,rowClassName:d,renderSeparator:l})=>!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((h,u)=>{const p=h[n],y=typeof p=="string"||typeof p=="number"?p:u,f=l?l(h):null;return o.jsx("tr",{onClick:()=>c&&c(h),style:{cursor:c?"pointer":"default",...s?s(h):{}},className:d?d(h,u):"",children:f?o.jsx("td",{colSpan:t.length,children:f}):t.map((g,m)=>o.jsx("td",{style:{width:g.width,textAlign:g.align||"left"},className:g.className,children:g.render?g.render(h):h[g.key]},`${String(g.key)}-${m}`))},y)})}),Cge=({state:e,onPaginationChange:t,onLoadMore:n,infiniteScroll:c,hasMore:i,text:r,isLoading:s,pageSizeOptions:d})=>{const{page:l,pageSize:h,total:u}=e,p=h===-1?u:h,y=Math.ceil(u/p)||1,f=Math.min(Math.max(1,l),y),g=u===0?0:(f-1)*p+1,m=Math.min(f*p,u),x=b=>{t({page:b})},M=k.useMemo(()=>{if(y<=6)return Array.from({length:y},(z,A)=>A+1);const C=Math.max(f-1,1),_=Math.min(f+1,y),L=C>2,j=_<y-2,N=1,S=y;if(!L&&j)return[...Array.from({length:5},(H,P)=>P+1),"...",y];if(L&&!j){const A=Array.from({length:5},(H,P)=>y-5+P+1);return[N,"...",...A]}if(L&&j){const z=Array.from({length:_-C+1},(A,H)=>C+H);return[N,"...",...z,"...",S]}return[]},[f,y]),v=!!(d&&d.length>0),I=!c&&h!==-1&&y>1&&o.jsxs("div",{className:"pagination-controls",children:[o.jsx("button",{className:"pagination-btn",onClick:()=>x(1),disabled:f===1,title:r?.first||"Premier",children:"<<"}),o.jsx("button",{className:"pagination-btn",onClick:()=>x(f-1),disabled:f===1,title:r?.previous||"Précédent",children:"<"}),(M||[]).map((b,w)=>b==="..."?o.jsx("span",{style:{padding:"0 4px",color:"var(--table-text-muted)"},children:"..."},w):o.jsx("button",{className:`pagination-btn ${b===f?"active":""}`,onClick:()=>x(b),children:b},w)),o.jsx("button",{className:"pagination-btn",onClick:()=>x(f+1),disabled:f===y,title:r?.next||"Suivant",children:">"}),o.jsx("button",{className:"pagination-btn",onClick:()=>x(y),disabled:f===y,title:r?.last||"Dernier",children:">>"})]});return o.jsxs("div",{className:"table-pagination",children:[o.jsx("div",{className:"pagination-summary",children:u>0?o.jsx("span",{children:r?.itemsRange?r.itemsRange(g,m,u):o.jsxs(o.Fragment,{children:[o.jsxs("b",{children:[g,"–",m]})," ",r?.of||"sur"," ",o.jsx("b",{children:u.toLocaleString()})," ",r?.items||"éléments"]})}):o.jsx("span",{children:r?.noResults||"0 résultats"})}),v?o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"pagination-center",children:I}),o.jsxs("div",{className:"pagination-pagesize",children:[o.jsx("label",{htmlFor:"table-pagination-pagesize",children:r?.perPage||"Par page"}),o.jsx("select",{id:"table-pagination-pagesize",value:h,onChange:b=>t({pageSize:Number(b.target.value),page:1}),children:(d||[]).map(b=>o.jsx("option",{value:b,children:b},b))})]})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"pagination-spacer"}),I]}),!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"})})]})},hC=({data:e,columns:t,isLoading:n,pagination:c,onPaginationChange:i,onSortChange:r,rowKey:s,loaderSize:d=40,stickyHeader:l=!0,height:h,minHeight:u="200px",text:p,onLoadMore:y,infiniteScroll:f,hasMore:g,tableState:m,className:x,style:M,rowStyle:v,onRowClick:I,rowClassName:b,titleKey:w,removeLabelSpan:C=!1,a11yConfig:_,renderSeparator:L,pageSizeOptions:j})=>{const N=k.useMemo(()=>({...p}),[p]),S=k.useRef(null);k.useEffect(()=>{if(!f||!y||!g||n)return;const $=new IntersectionObserver(q=>{q[0].isIntersecting&&y()},{threshold:.1});return S.current&&$.observe(S.current),()=>$.disconnect()},[f,y,g,n]);const{tableState:z,handleSort:A}=xge({initialSortBy:null,onSortChange:r}),H=(m?.sortBy!==void 0?m.sortBy:z.sortBy)??void 0,P=m?.sortOrder!==void 0?m.sortOrder:z.sortOrder,V=$=>{const q=H,R=P;let T="asc";q===$&&(T=R==="asc"?"desc":"asc"),m?.sortBy!==void 0?r($,T):A($)};return o.jsxs("div",{className:`table-container ${x||""}`,style:M,title:Y(_,w),children:[o.jsxs("div",{className:"table-frame",style:{height:h??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 ${l?"sticky-header":""}`,children:[o.jsxs("table",{className:"data-table",children:[o.jsx(bge,{columns:t,sortBy:H,sortOrder:P,onSort:V,removeLabelSpan:C}),o.jsx(wge,{data:e,columns:t.map($=>({...$,render:$.render?q=>$.render(q,{}):void 0})),rowKey:s,onRowClick:I,isLoading:n,text:N,rowStyle:typeof v=="function"?v:v?()=>v:void 0,rowClassName:b,renderSeparator:L})]}),f&&o.jsx("div",{ref:S,style:{height:20,margin:10}})]})]}),o.jsx(Cge,{state:c,onPaginationChange:i,text:N,onLoadMore:y,infiniteScroll:f,hasMore:g,isLoading:n,pageSizeOptions:j})]})};function TA(e,t,n,c,i,r,s){e.forEach(d=>{const l=d[n],h=d[t]??[],u=h.length>0,p=c.has(l);r.set(l,{level:i,hasChildren:u,isExpanded:p}),s.push(d),u&&p&&TA(h,t,n,c,i+1,r,s)})}const Nge=({data:e,columns:t,rowKey:n,childrenKey:c="children",treeColumnKey:i,defaultExpandedKeys:r,expandedKeys:s,onExpandedKeysChange:d,indent:l=20,showFooter:h=!0,pagination:u,onPaginationChange:p,colors:y,rowClassName:f,...g})=>{const[m,x]=k.useState(()=>new Set(r)),M=s!==void 0,v=k.useMemo(()=>M?new Set(s):m,[M,s,m]),I=N=>{const S=new Set(v);S.has(N)?S.delete(N):S.add(N),M?d?.(Array.from(S)):x(S)},b=k.useMemo(()=>{if(!u||u.pageSize===-1)return e;const N=(u.page-1)*u.pageSize;return e.slice(N,N+u.pageSize)},[e,u]),{rows:w,meta:C}=k.useMemo(()=>{const N=new Map,S=[];return TA(b,c,n,v,0,N,S),{rows:S,meta:N}},[b,c,n,v]),_=k.useMemo(()=>t.reduce((N,S)=>{const z=S.width?parseInt(S.width,10):NaN;return N+(Number.isFinite(z)?z:140)},0),[t]),L=k.useMemo(()=>t.map(N=>N.key!==i?N:{...N,render:S=>{const z=S[n],{level:A,hasChildren:H,isExpanded:P}=C.get(z)??{level:0,hasChildren:!1,isExpanded:!1},V=N.render?N.render(S):S[N.key];return o.jsxs("span",{className:"htl-cell",style:{paddingLeft:A*l},children:[H?o.jsx("button",{type:"button",className:"htl-toggle",onClick:$=>{$.stopPropagation(),I(z)},children:o.jsx(qA,{width:16,height:16,style:{fill:"currentColor",transform:P?"rotate(0deg)":"rotate(-90deg)",transition:"transform 0.15s ease"}})}):o.jsx("span",{className:"htl-toggle-spacer"}),V]})}}),[t,i,C,l,n]),j=(N,S)=>{const z=N[n],{level:A,hasChildren:H,isExpanded:P}=C.get(z)??{level:0,hasChildren:!1,isExpanded:!1},V=["htl-row"];return A===0?(V.push("htl-root"),H&&P&&V.push("htl-root-expanded")):H&&V.push("htl-group"),f&&V.push(f(N,S,A)),V.join(" ")};return o.jsx("div",{className:`htl-wrapper ${h?"":"htl-no-footer"}`,style:{"--htl-active-bg":y?.activeRowBackground,"--htl-nested-bg":y?.groupRowBackground,"--htl-toggle-color":y?.toggleIconColor,"--htl-root-color":y?.rootTextColor,"--htl-table-min-width":`${_}px`},children:o.jsx(hC,{...g,data:w,columns:L,rowKey:n,rowClassName:j,pagination:u??{page:1,pageSize:w.length||1,total:w.length},onPaginationChange:p??(()=>{})})})},Sge="_datePickerContainer_1lcer_3",jge="_label_1lcer_16",$ge="_displayNode_1lcer_23",qge="_datePickerButton_1lcer_30",Age="_datePickerButtonDisabled_1lcer_50",zge="_datePickerButtonOpen_1lcer_59",Vge="_datePickerLabel_1lcer_68",Pge="_placeholder_1lcer_79",Tge="_trailingIcons_1lcer_83",Hge="_chevron_1lcer_89",Dge="_clearButton_1lcer_97",Bge="_errorMessage_1lcer_114",Rge="_dropdown_1lcer_119",Fge="_calendarHeader_1lcer_143",Ege="_navButton_1lcer_152",Oge="_headerSelectors_1lcer_171",Uge="_monthSelector_1lcer_179",Wge="_yearSelector_1lcer_180",Gge="_selectorButton_1lcer_184",Kge="_selectorChevron_1lcer_201",Zge="_selectorChevronOpen_1lcer_206",Xge="_monthDropdown_1lcer_210",Yge="_yearDropdown_1lcer_211",Jge="_monthItem_1lcer_231",Qge="_yearItem_1lcer_232",e7e="_monthItemSelected_1lcer_254",t7e="_yearItemSelected_1lcer_255",a7e="_weekdays_1lcer_259",n7e="_weekday_1lcer_259",o7e="_calendarGrid_1lcer_275",c7e="_dateCell_1lcer_284",i7e="_dateCellSelected_1lcer_307",r7e="_dateCellOtherMonth_1lcer_311",s7e="_dateCellOtherMonthSelected_1lcer_315",d7e="_calendarFooter_1lcer_319",l7e="_cancelButton_1lcer_327",h7e="_applyButton_1lcer_328",u7e="_timePickerContainer_1lcer_372",p7e="_timeGroup_1lcer_381",y7e="_timeLabel_1lcer_388",k7e="_timeInputWrapper_1lcer_394",m7e="_timeInput_1lcer_394",f7e="_timeSeparator_1lcer_422",Z={datePickerContainer:Sge,label:jge,displayNode:$ge,datePickerButton:qge,datePickerButtonDisabled:Age,datePickerButtonOpen:zge,datePickerLabel:Vge,placeholder:Pge,trailingIcons:Tge,chevron:Hge,clearButton:Dge,errorMessage:Bge,dropdown:Rge,calendarHeader:Fge,navButton:Ege,headerSelectors:Oge,monthSelector:Uge,yearSelector:Wge,selectorButton:Gge,selectorChevron:Kge,selectorChevronOpen:Zge,monthDropdown:Xge,yearDropdown:Yge,monthItem:Jge,yearItem:Qge,monthItemSelected:e7e,yearItemSelected:t7e,weekdays:a7e,weekday:n7e,calendarGrid:o7e,dateCell:c7e,dateCellSelected:i7e,dateCellOtherMonth:r7e,dateCellOtherMonthSelected:s7e,calendarFooter:d7e,cancelButton:l7e,applyButton:h7e,timePickerContainer:u7e,timeGroup:p7e,timeLabel:y7e,timeInputWrapper:k7e,timeInput:m7e,timeSeparator:f7e},g7e=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.createElement("path",{d:"m336-280 144-144 144 144 56-56-144-144 144-144-56-56-144 144-144-144-56 56 144 144-144 144zM480-80q-83 0-156-31.5T197-197t-85.5-127T80-480t31.5-156T197-763t127-85.5T480-880t156 31.5T763-763t85.5 127T880-480t-31.5 156T763-197t-127 85.5T480-80m0-80q134 0 227-93t93-227-93-227-227-93-227 93-93 227 93 227 227 93m0-320"})),v7e=k.memo(g7e),Dj=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],x7e=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],Lw=({value:e,onChange:t,label:n,placeholder:c="Sélectionner une date...",className:i="",fullWidth:r=!0,disabled:s=!1,error:d,buttonHeight:l="2.75rem",buttonPadding:h="0.75rem 1rem 0.75rem 1rem",dropdownMaxHeight:u="auto",fontSize:p="0.875rem",iconSize:y="1.5rem",labelMarginBottom:f="0.5rem",errorMarginTop:g="0.25rem",dropdownMarginTop:m="0.25rem",itemPadding:x="0.5rem 0.75rem",fontWeight:M="400",buttonBgColor:v,buttonBorderColor:I,buttonTextColor:b,dropdownBgColor:w="var(--color-card-background, #ffffff)",itemHoverColor:C,selectedItemBgColor:_,iconColor:L,errorColor:j,labelColor:N,placeholderColor:S,borderRadius:z="var(--radius-content)",borderWidth:A="0.0625rem",boxShadow:H="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:P="0.2s",transitionTiming:V="ease",dateCellSize:$="2.5rem",headerTextColor:q="var(--color-text, #6c757d)",weekdayTextColor:R="color-mix(in srgb, var(--color-text, #6c757d) 70%, transparent)",currentMonthDateColor:T="var(--color-text, #212529)",otherMonthDateColor:O="color-mix(in srgb, var(--color-text, #adb5bd) 55%, transparent)",selectedDateBgColor:J="var(--color-primary, #00A6D9)",selectedDateTextColor:E="var(--color-text-on-primary, #ffffff)",cancelButtonBgColor:U="var(--color-switcher-background, #e9ecef)",cancelButtonTextColor:ie="var(--color-text, #212529)",applyButtonBgColor:ce="var(--color-primary, #00A6D9)",applyButtonTextColor:Me="var(--color-text-on-primary, #ffffff)",actionButtonPadding:re,actionButtonFontSize:ae,width:ne,displayNode:le=void 0,displayMode:pe="auto",displayNodeAriaLabel:me,dropdownPosition:W="auto",dropdownAlignment:X="right",dropdownWidth:se,withBorder:$e=!1,icon:Re,precision:ve="day",horizontalTimePicker:je=!1,hoursLabel:Bc="Heures",minutesLabel:u1="Minutes",lowerLimit:oe=null,upperLimit:we=null,strictTimeLimits:BL=!1,outOfLimitsMessage:Ie="La date/heure choisie est hors des limites autorisées",months:Ct,weekdays:ZA,cancelText:XA="Annuler",applyText:YA="Appliquer",prevMonthAriaLabel:JA="Mois précédent",nextMonthAriaLabel:QA="Mois suivant",calendarAriaLabel:ez="Sélecteur de date",openedAriaLabel:tz="Ouvrir le sélecteur de date",selectedDateAriaLabel:az="Date sélectionnée: ",rotateIcon:nz=!0,clearable:oz=!1,clearAriaLabel:cz="Effacer la date"})=>{const Nt=D=>{if(D instanceof Date)return isNaN(D.getTime())?null:D;if(typeof D=="string"&&D){const K=new Date(D);return isNaN(K.getTime())?null:K}return null},[Ke,Ft]=k.useState(!1),[p1,iz]=k.useState({top:0,left:0,width:0}),[uC,rz]=k.useState("bottom"),[pC,sz]=k.useState(null),[ue,y1]=k.useState(Nt(e)||new Date),[k1,RL]=k.useState(Nt(e)),[ei,FL]=k.useState(Nt(e)?.getHours()??0),[ti,EL]=k.useState(Nt(e)?.getMinutes()??0),[OL,Rc]=k.useState(!1),[UL,Fc]=k.useState(!1),WL=k.useRef(null),Ec=k.useRef(null),yC=k.useRef(null),GL=k.useRef(null),KL=k.useRef(null),kC=k.useRef(Nt(e)?.getTime());k.useEffect(()=>{const D=Nt(e),K=D?.getTime();K!==kC.current&&(kC.current=K,RL(D),D&&(y1(D),FL(D.getHours()),EL(D.getMinutes())))},[e]);const mC=k.useCallback(()=>{if(Ec.current){const D=Ec.current.getBoundingClientRect();iz({top:D.top,left:D.left,width:D.width})}},[]),fC=8,ai=k.useCallback(()=>{if(!Ec.current)return;const D=Ec.current.getBoundingClientRect(),K=(parseFloat(m.replace("rem",""))||0)*16,_e=D.top-K-fC,He=window.innerHeight-D.bottom-K-fC;let Ve;if(W!=="auto")Ve=W;else{const Fe=yC.current?.scrollHeight??0;Ve=Fe<=He?"bottom":Fe<=_e||_e>He?"top":"bottom"}rz(Fe=>Fe===Ve?Fe:Ve),sz(Math.max(Ve==="bottom"?He:_e,0))},[W,m]),Oc=k.useCallback(()=>{mC(),ai()},[mC,ai]);k.useEffect(()=>(Ke&&(Oc(),window.addEventListener("scroll",Oc,!0),window.addEventListener("resize",Oc)),()=>{window.removeEventListener("scroll",Oc,!0),window.removeEventListener("resize",Oc)}),[Ke,Oc]),k.useLayoutEffect(()=>{Ke&&ai()},[Ke,ai]),k.useEffect(()=>{const D=K=>{if(WL.current&&!WL.current.contains(K.target)){const _e=document.getElementById("datepicker-dropdown");if(_e&&_e.contains(K.target))return;Ft(!1),Rc(!1),Fc(!1)}GL.current&&!GL.current.contains(K.target)&&Rc(!1),KL.current&&!KL.current.contains(K.target)&&Fc(!1)};return document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D)},[]);const gC=D=>new Date(D.getFullYear(),D.getMonth()+1,0).getDate(),dz=D=>{const K=new Date(D.getFullYear(),D.getMonth(),1).getDay();return K===0?6:K-1},lz=()=>{const D=[],K=dz(ue),_e=gC(ue),He=new Date(ue.getFullYear(),ue.getMonth()-1,1),Ve=gC(He);for(let Ne=K-1;Ne>=0;Ne--)D.push(new Date(ue.getFullYear(),ue.getMonth()-1,Ve-Ne));for(let Ne=1;Ne<=_e;Ne++)D.push(new Date(ue.getFullYear(),ue.getMonth(),Ne));const Fe=42-D.length;for(let Ne=1;Ne<=Fe;Ne++)D.push(new Date(ue.getFullYear(),ue.getMonth()+1,Ne));return D},hz=(D,K)=>!D||!K?!1:D.getDate()===K.getDate()&&D.getMonth()===K.getMonth()&&D.getFullYear()===K.getFullYear(),uz=D=>D.getMonth()===ue.getMonth()&&D.getFullYear()===ue.getFullYear(),ni=BL?D=>Math.floor(D.getTime()/6e4)*6e4:D=>new Date(D.getFullYear(),D.getMonth(),D.getDate()).getTime(),vC=D=>!(oe&&ni(D)<ni(oe)||we&&ni(D)>ni(we)),xC=k1?(()=>{const D=new Date(k1);return D.setHours(ei),D.setMinutes(ti),D})():null,Uc=xC?!vC(xC):!1,oi=new Date(ue.getFullYear(),ue.getMonth()-1,1),ci=new Date(ue.getFullYear(),ue.getMonth()+1,1),ZL=!!(oe&&(oi.getFullYear()<oe.getFullYear()||oi.getFullYear()===oe.getFullYear()&&oi.getMonth()<oe.getMonth())),XL=!!(we&&(ci.getFullYear()>we.getFullYear()||ci.getFullYear()===we.getFullYear()&&ci.getMonth()>we.getMonth())),pz=()=>{ZL||y1(oi)},yz=()=>{XL||y1(ci)},kz=D=>{if(!s){const K=new Date(D);K.setHours(ei),K.setMinutes(ti),RL(K)}},mz=()=>{if(!s){if(k1){const D=new Date(k1);if(D.setHours(ei),D.setMinutes(ti),!vC(D))return;t(D)}else t(null);Ft(!1)}},fz=()=>{const D=Nt(e);RL(D),D&&(FL(D.getHours()),EL(D.getMinutes())),Ft(!1)},gz=D=>{y1(new Date(ue.getFullYear(),D,1)),Rc(!1)},vz=D=>{y1(new Date(D,ue.getMonth(),1)),Fc(!1)},xz=()=>{const D=ue.getFullYear(),K=oe?oe.getFullYear():D-10,_e=we?we.getFullYear():D+10,He=[];for(let Ve=K;Ve<=_e;Ve++)He.push(Ve);return He},Mz=D=>{const K=ue.getFullYear();return!!(oe&&(K<oe.getFullYear()||K===oe.getFullYear()&&D<oe.getMonth())||we&&(K>we.getFullYear()||K===we.getFullYear()&&D>we.getMonth()))},_z=D=>{if(!s)switch(D.key){case"Enter":case" ":D.preventDefault(),Ft(!Ke);break;case"Escape":Ft(!1),Rc(!1),Fc(!1);break;case"Tab":Ke&&(Ft(!1),Rc(!1),Fc(!1));break}},Lz={width:ne||(r?"100%":"auto"),fontSize:p,fontWeight:M},Iz={height:l,padding:h,backgroundColor:v||"var(--color-card-background, #ffffff)",border:$e?void 0:"none",borderColor:d?j||"#dc3545":I||"var(--color-border, #dee2e6)",color:b||"var(--color-text, #212529)",borderRadius:z,borderWidth:A,fontWeight:M,transition:`all ${P} ${V}`},bz=je?{flexDirection:"column",borderTop:"none",borderLeft:"1px solid var(--color-border, #eee)"}:{},wz=je?{flex:1,minWidth:0}:void 0,Cz=je?{display:"flex",flexDirection:"row",alignItems:"stretch"}:void 0,Nz={backgroundColor:w||"var(--color-card-background, #ffffff)",maxHeight:u==="auto"?pC!=null?`${pC}px`:void 0:u,overflowY:"auto",borderRadius:z,borderWidth:A,boxShadow:H,transition:`opacity ${P} ${V}, transform ${P} ${V}`,position:"fixed",top:uC==="bottom"?p1.top+(Ec.current?.offsetHeight||0)+parseFloat(m.replace("rem",""))*16:"auto",bottom:uC==="top"?window.innerHeight-p1.top+parseFloat(m.replace("rem",""))*16:"auto",left:X==="left"?p1.left:"auto",right:X==="right"?window.innerWidth-(p1.left+p1.width):"auto",width:se||"30vw",minWidth:se?void 0:0,zIndex:10001},MC={width:y,height:y,color:L||"var(--color-text, #6c757d)","--icon-rotation":nz&&Ke?"rotate(180deg)":"rotate(0deg)"},Sz={color:N||"var(--color-text, #212529)",marginBottom:f,fontWeight:M},jz={color:S||"color-mix(in srgb, var(--color-text, #6c757d) 60%, transparent)"},$z={color:j||"#dc3545",marginTop:g},qz=lz(),ot=Nt(e),_C=D=>`${D.getDate().toString().padStart(2,"0")}/${(D.getMonth()+1).toString().padStart(2,"0")}/${D.getFullYear()}`,LC=ot?ve==="minutes"?`${_C(ot)} ${ot.getHours().toString().padStart(2,"0")}:${ot.getMinutes().toString().padStart(2,"0")}`:_C(ot):"",IC=!!le&&(pe==="icon"||pe==="auto"&&!ot),Az=oz&&!IC&&!!ot&&!s,zz={width:"0.875rem",height:"0.875rem",color:L||"var(--color-text, #6c757d)"},Vz=me||(ot?`${az}${LC}`:tz);return o.jsxs("div",{className:`${Z.datePickerContainer} ${i}`,ref:WL,style:Lz,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&o.jsx("label",{className:Z.label,style:Sz,children:n}),o.jsxs("button",{ref:Ec,type:"button",onClick:()=>!s&&Ft(!Ke),onKeyDown:_z,className:`
8337
- ${Z.datePickerButton}
8338
- ${Ke?Z.datePickerButtonOpen:""}
8339
- ${s?Z.datePickerButtonDisabled:""}
8340
- `,style:Iz,disabled:s,"aria-expanded":Ke,"aria-haspopup":"dialog","aria-label":Vz,"aria-labelledby":n?`${n}-label`:void 0,children:[IC?o.jsx("span",{className:Z.displayNode,"aria-hidden":!0,children:le}):o.jsx("span",{className:`${Z.datePickerLabel} ${ot?"":Z.placeholder}`,style:ot?void 0:jz,children:ot?LC:c}),o.jsxs("span",{className:Z.trailingIcons,children:[Az&&o.jsx("span",{role:"button",tabIndex:0,className:Z.clearButton,"aria-label":cz,onClick:D=>{D.stopPropagation(),t(null)},onKeyDown:D=>{(D.key==="Enter"||D.key===" ")&&(D.preventDefault(),D.stopPropagation(),t(null))},children:o.jsx(v7e,{fill:"var(--color-text)",style:zz})}),Re?o.jsx("span",{className:Z.chevron,style:MC,children:Re}):o.jsx(F1,{fill:"var(--color-text)",className:`${Z.chevron} ${Ke?Z.chevronOpen:""}`,style:MC})]})]}),d&&o.jsx("div",{className:Z.errorMessage,style:$z,children:d}),Ke&&!s&&Iw.createPortal(o.jsxs("div",{id:"datepicker-dropdown",ref:yC,className:Z.dropdown,style:Nz,role:"dialog","aria-label":ez,children:[o.jsxs("div",{style:Cz,children:[o.jsxs("div",{style:wz,children:[o.jsxs("div",{className:Z.calendarHeader,children:[o.jsx("button",{type:"button",className:Z.navButton,onClick:pz,"aria-label":JA,disabled:ZL,style:ZL?{opacity:.3,cursor:"not-allowed"}:void 0,children:"‹"}),o.jsxs("div",{className:Z.headerSelectors,children:[o.jsxs("div",{className:Z.monthSelector,ref:GL,children:[o.jsxs("button",{type:"button",className:Z.selectorButton,onClick:()=>Rc(!OL),style:{color:q,"--hover-color":C},children:[(Ct||Dj)[ue.getMonth()],o.jsx(F1,{fill:"var(--color-text)",className:`${Z.selectorChevron} ${OL?Z.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),OL&&o.jsx("div",{className:Z.monthDropdown,children:(Ct||Dj).map((D,K)=>{const _e=Mz(K);return o.jsx("button",{type:"button",disabled:_e,className:`${Z.monthItem} ${ue.getMonth()===K?Z.monthItemSelected:""}`,onClick:()=>!_e&&gz(K),style:{padding:x,backgroundColor:ue.getMonth()===K?_||"var(--color-lite-primary, #e7f1ff)":w,opacity:_e?.3:1,cursor:_e?"not-allowed":"pointer"},onMouseEnter:He=>{C&&ue.getMonth()!==K&&!_e&&(He.currentTarget.style.backgroundColor=C)},onMouseLeave:He=>{C&&(He.currentTarget.style.backgroundColor=ue.getMonth()===K?_||"var(--color-lite-primary, #e7f1ff)":w)},children:D},K)})})]}),o.jsxs("div",{className:Z.yearSelector,ref:KL,children:[o.jsxs("button",{type:"button",className:Z.selectorButton,onClick:()=>Fc(!UL),style:{color:q,"--hover-color":C},children:[ue.getFullYear(),o.jsx(F1,{fill:"var(--color-text)",className:`${Z.selectorChevron} ${UL?Z.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),UL&&o.jsx("div",{className:Z.yearDropdown,children:xz().map(D=>o.jsx("button",{type:"button",className:`${Z.yearItem} ${ue.getFullYear()===D?Z.yearItemSelected:""}`,onClick:()=>vz(D),style:{padding:x,backgroundColor:ue.getFullYear()===D?_||"var(--color-lite-primary, #e7f1ff)":w},onMouseEnter:K=>{C&&ue.getFullYear()!==D&&(K.currentTarget.style.backgroundColor=C)},onMouseLeave:K=>{C&&(K.currentTarget.style.backgroundColor=ue.getFullYear()===D?_||"var(--color-lite-primary, #e7f1ff)":w)},children:D},D))})]})]}),o.jsx("button",{type:"button",className:Z.navButton,onClick:yz,"aria-label":QA,disabled:XL,style:XL?{opacity:.3,cursor:"not-allowed"}:void 0,children:"›"})]}),o.jsx("div",{className:Z.weekdays,children:(ZA||x7e).map(D=>o.jsx("div",{className:Z.weekday,style:{color:R},children:D},D))}),o.jsx("div",{className:Z.calendarGrid,children:qz.map((D,K)=>{if(!D)return null;const _e=hz(D,k1),He=uz(D),Ve=Ne=>new Date(Ne.getFullYear(),Ne.getMonth(),Ne.getDate()).getTime(),Fe=!!(oe&&Ve(D)<Ve(oe)||we&&Ve(D)>Ve(we));return o.jsx("button",{type:"button",className:`${Z.dateCell} ${_e?Z.dateCellSelected:""} ${_e?Z.dateCellOtherMonthSelected:""} ${He?"":Z.dateCellOtherMonth} ${Fe?Z.dateCellDisabled:""}`,onClick:()=>!Fe&&kz(D),disabled:Fe,style:{width:$,height:$,color:_e?E:He?T:O,backgroundColor:_e?J:"transparent",opacity:Fe?.4:1,cursor:Fe?"not-allowed":"pointer"},onMouseEnter:Ne=>{!_e&&!Fe&&C&&(Ne.currentTarget.style.backgroundColor=C)},onMouseLeave:Ne=>{_e||(Ne.currentTarget.style.backgroundColor="transparent")},children:D.getDate()},K)})})]}),ve==="minutes"&&o.jsxs("div",{className:Z.timePickerContainer,style:bz,children:[o.jsxs("div",{className:Z.timeGroup,children:[o.jsx("span",{className:Z.timeLabel,children:Bc}),o.jsx("div",{className:Z.timeInputWrapper,children:o.jsx("input",{type:"number",min:"0",max:"23",value:ei,onChange:D=>{const K=parseInt(D.target.value);!isNaN(K)&&K>=0&&K<=23&&FL(K)},className:Z.timeInput,style:Uc?{borderColor:"#dc2626",color:"#dc2626"}:void 0})})]}),!je&&o.jsx("span",{className:Z.timeSeparator,children:":"}),o.jsxs("div",{className:Z.timeGroup,children:[o.jsx("span",{className:Z.timeLabel,children:u1}),o.jsx("div",{className:Z.timeInputWrapper,children:o.jsx("input",{type:"number",min:"0",max:"59",value:ti,onChange:D=>{const K=parseInt(D.target.value);!isNaN(K)&&K>=0&&K<=59&&EL(K)},className:Z.timeInput,style:Uc?{borderColor:"#dc2626",color:"#dc2626"}:void 0})})]})]})]}),Uc&&o.jsx("div",{role:"alert",style:{color:"#dc2626",fontSize:"0.75rem",padding:"0 4px 4px",textAlign:"center"},children:Ie}),o.jsxs("div",{className:Z.calendarFooter,children:[o.jsx("button",{type:"button",className:Z.cancelButton,onClick:fz,style:{backgroundColor:U,color:ie,borderRadius:z,padding:re??x,fontSize:ae},children:XA}),o.jsx("button",{type:"button",className:Z.applyButton,onClick:mz,disabled:Uc,style:{backgroundColor:ce,color:Me,borderRadius:z,padding:re??x,fontSize:ae,opacity:Uc?.5:1,cursor:Uc?"not-allowed":"pointer"},children:YA})]})]}),document.body)]})},M7e="_selectContainer_1ptm9_1",_7e="_label_1ptm9_15",L7e="_selectButton_1ptm9_23",I7e="_selectButtonDisabled_1ptm9_43",b7e="_selectButtonOpen_1ptm9_48",w7e="_selectButtonContent_1ptm9_58",C7e="_selectIcon_1ptm9_66",N7e="_selectLabel_1ptm9_72",S7e="_placeholder_1ptm9_79",j7e="_chevron_1ptm9_84",$7e="_errorMessage_1ptm9_93",q7e="_dropdown_1ptm9_99",A7e="_dropdownContent_1ptm9_123",z7e="_item_1ptm9_129",V7e="_itemSelected_1ptm9_151",P7e="_itemContent_1ptm9_155",T7e="_itemIcon_1ptm9_162",H7e="_itemLabel_1ptm9_168",Se={selectContainer:M7e,label:_7e,selectButton:L7e,selectButtonDisabled:I7e,selectButtonOpen:b7e,selectButtonContent:w7e,selectIcon:C7e,selectLabel:N7e,placeholder:S7e,chevron:j7e,errorMessage:$7e,dropdown:q7e,dropdownContent:A7e,item:z7e,itemSelected:V7e,itemContent:P7e,itemIcon:T7e,itemLabel:H7e},HA=({items:e,value:t,onChange:n,label:c,placeholder:i="Sélectionner...",className:r="",fullWidth:s=!0,disabled:d=!1,error:l,buttonHeight:h="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:f,iconSize:g="var(--select-icon-size, 1.5rem)",labelMarginBottom:m="var(--select-label-margin-bottom, 0.5rem)",errorMarginTop:x="var(--select-error-margin-top, 0.25rem)",dropdownMarginTop:M="var(--select-dropdown-margin-top, 0.25rem)",itemPadding:v="var(--select-item-padding, 0.5rem 0.75rem)",gap:I="var(--select-gap, 0.5rem)",buttonBgColor:b,buttonBorderColor:w,buttonTextColor:C,dropdownBgColor:_,itemHoverColor:L,selectedItemBgColor:j,iconColor:N,errorColor:S,labelColor:z,placeholderColor:A,border:H,borderRadius:P="var(--select-border-radius, 0.5rem)",borderWidth:V="var(--select-border-width, 0.0625rem)",boxShadow:$="var(--select-box-shadow, 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1))",transitionDuration:q="var(--select-transition-duration, 0.2s)",transitionTiming:R="var(--select-transition-timing, ease)",scrollbarWidth:T="var(--select-scrollbar-width, 0.375rem)",scrollbarTrackColor:O="var(--select-scrollbar-track-color, #f1f1f1)",scrollbarThumbColor:J="var(--select-scrollbar-thumb-color, #c1c1c1)",width:E,minWidth:U,dropdownPosition:ie="bottom",dropdownAlignment:ce="right",dropdownWidth:Me,a11yConfig:re,titleKey:ae})=>{const[ne,le]=k.useState(!1),pe=k.useRef(null),me=e.find(Ie=>Ie.value===t);k.useEffect(()=>{const Ie=Ct=>{pe.current&&!pe.current.contains(Ct.target)&&le(!1)};return document.addEventListener("mousedown",Ie),()=>document.removeEventListener("mousedown",Ie)},[]);const W=Ie=>{d||(n(Ie),le(!1))},X=Ie=>{if(!d)switch(Ie.key){case"Enter":case" ":Ie.preventDefault(),le(!ne);break;case"Escape":le(!1);break;case"Tab":ne&&le(!1);break}},se={width:E||(s?"100%":"auto"),minWidth:U,fontSize:y},$e={height:h,padding:u,backgroundColor:b||"var(--select-button-bg-color, #ffffff)",border:H,borderColor:l?S||"var(--select-error-color, #dc3545)":w||"var(--select-button-border-color, #dee2e6)",color:C||"var(--select-button-text-color, #212529)",borderRadius:P,borderWidth:V,transition:`all ${q} ${R}`,fontWeight:f},Re={backgroundColor:_||"var(--select-dropdown-bg-color, #ffffff)",maxHeight:p,borderRadius:P,borderWidth:V,boxShadow:$,transition:`opacity ${q} ${R}, transform ${q} ${R}`,position:"absolute",top:ie==="bottom"?"100%":"auto",bottom:ie==="top"?"100%":"auto",left:ce==="left"?0:"auto",right:ce==="right"?0:"auto",width:Me||(s?"100%":"auto"),marginTop:ie==="bottom"?M:0,marginBottom:ie==="top"?M:0,zIndex:1001},ve={width:g,height:g,color:N||"var(--select-icon-color, #6c757d)","--icon-rotation":ne?"rotate(180deg)":"rotate(0deg)"},je={color:z||"var(--select-label-color, #212529)",marginBottom:m},Bc={color:A||"var(--select-placeholder-color, #6c757d)"},u1={color:S||"var(--select-error-color, #dc3545)",marginTop:x},oe={padding:v,transition:`background-color ${q} ${R}`,fontWeight:f},we={gap:I},BL={"--scrollbar-width":T,"--scrollbar-track-color":O,"--scrollbar-thumb-color":J};return o.jsxs("div",{className:`${Se.selectContainer} ${r}`,ref:pe,style:se,"data-fullwidth":s,"data-disabled":d,"data-error":!!l,title:Y(re,ae),children:[c&&o.jsx("label",{className:Se.label,style:je,children:c}),o.jsxs("button",{type:"button",onClick:()=>!d&&le(!ne),onKeyDown:X,className:`
8336
+ `,mme="_mpRoot_31595_1",fme="_mpHeader_31595_22",gme="_mpTitle_31595_31",vme="_mpList_31595_35",xme="_mpVertical_31595_41",Mme="_mpHorizontal_31595_46",_me="_mpItem_31595_55",Lme="_mpClickable_31595_95",Ime="_mpLeft_31595_117",bme="_mpIcon_31595_125",wme="_mpMeta_31595_140",Cme="_mpLabel_31595_145",Nme="_mpDate_31595_154",Sme="_mpRight_31595_160",jme="_mpValue_31595_168",$me="_mpHint_31595_176",qme="_mpBadge_31595_180",Ame="_mpBadgeTop_31595_199",zme="_mpBadgeSub_31595_206",Vme="_mpBadgeSmall_31595_213",Pme="_mpPill_31595_229",Tme="_mpRounded_31595_232",Hme="_mpCompact_31595_236",Dme="_compactItemWrapper_31595_252",Bme="_mpSummaryRoot_31595_265",Rme="_mpSummaryInner_31595_269",Fme="_mpSummaryFlex_31595_284",Eme="_mpSummaryCardWrapperHorizontal_31595_292",Ome="_mpSummaryCardWrapper_31595_292",Ume="_mpSummaryCardHorizontal_31595_303",Wme="_mpSummaryCard_31595_292",Gme="_mpSummaryValue_31595_321",Kme="_mpSummaryLabel_31595_327",Zme="_mpSummaryBadge_31595_338",Xme="_mpSummaryBadgeSub_31595_357",Yme="_mpEmpty_31595_365",Jme="_mpSummaryVertical_31595_372",Qme="_mpIconSquare_31595_380",te={mpRoot:mme,mpHeader:fme,mpTitle:gme,mpList:vme,mpVertical:xme,mpHorizontal:Mme,mpItem:_me,mpClickable:Lme,mpLeft:Ime,mpIcon:bme,mpMeta:wme,mpLabel:Cme,mpDate:Nme,mpRight:Sme,mpValue:jme,mpHint:$me,mpBadge:qme,mpBadgeTop:Ame,mpBadgeSub:zme,mpBadgeSmall:Vme,mpPill:Pme,mpRounded:Tme,mpCompact:Hme,compactItemWrapper:Dme,mpSummaryRoot:Bme,mpSummaryInner:Rme,mpSummaryFlex:Fme,mpSummaryCardWrapperHorizontal:Eme,mpSummaryCardWrapper:Ome,mpSummaryCardHorizontal:Ume,mpSummaryCard:Wme,mpSummaryValue:Gme,mpSummaryLabel:Kme,mpSummaryBadge:Zme,mpSummaryBadgeSub:Xme,mpEmpty:Yme,mpSummaryVertical:Jme,mpIconSquare:Qme},Tt=(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,l)=>`rgba(${l.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})`},e3e=({item:e,shape:t,onItemClick:n,color:c,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[te.mpItem,t==="pill"?te.mpPill:te.mpRounded,n?te.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",l=n?{onClick:r,className:s,type:"button","aria-label":`Voir les détails de ${e.label}`}:{className:s,role:"group"},h=e.iconComponent,u=e.iconSquareBg,p=e.iconColor;return o.jsxs(d,{...l,children:[o.jsxs("div",{className:te.mpLeft,children:[h?o.jsx("div",{className:te.mpIconSquare,style:{background:u??Tt(p??c??"#7c3aed",1),border:`1px solid ${Tt(p??c??"#7c3aed",.18)}`,color:p??"#ffffff"},children:k.createElement(h,{size:20,color:p??"#fff",strokeWidth:1.8})}):e.icon?o.jsx("div",{className:te.mpIcon,children:e.icon}):null,o.jsxs("div",{className:te.mpMeta,children:[o.jsx("div",{className:te.mpLabel,children:e.label}),e.subLabel&&o.jsx("div",{className:te.mpDate,children:e.subLabel}),e.date&&o.jsx("div",{className:te.mpDate,children:e.date})]})]}),o.jsxs("div",{className:te.mpRight,children:[o.jsx("div",{className:te.mpValue,style:{color:e.valueColor??c??void 0},children:e.value}),e.badge?o.jsxs("div",{className:[te.mpBadge,e.badge.small?te.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??Tt(e.badge.color||c||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":Tt(e.badge.color||c||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[o.jsx("div",{className:te.mpBadgeTop,children:e.badge.text}),e.badge.subText&&o.jsx("div",{className:te.mpBadgeSub,children:e.badge.subText})]}):e.hint?o.jsx("div",{className:te.mpHint,children:e.hint}):null]})]})},t3e=k.memo(e3e),qj=({title:e,right:t})=>!e&&!t?null:o.jsxs("div",{className:te.mpHeader,children:[o.jsx("div",{className:te.mpTitle,children:e}),o.jsx("div",{children:t})]}),Aj=(e,t=1)=>{try{return Tt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},a3e=({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??Aj("#7c3aed",.12),border:`1px solid ${Aj(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),n3e=({item:e,bg:t,onClick:n,width:c,height:i,extraStyle:r})=>o.jsxs("div",{className:te.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:te.mpSummaryLabel,children:e.label}),o.jsx("div",{className:te.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&o.jsxs("div",{className:te.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&o.jsx("div",{className:te.mpSummaryBadgeSub,children:e.badge.subText})]})]}),zj=(e,t=1)=>{try{return Tt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Vj=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:zj("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:zj("#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]})]}),Pj=(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}},o3e=e=>{switch(e){case"image":return t=>k.createElement(a3e,{item:t});case"pertinence":return t=>k.createElement(n3e,{item:t});case"alternateHorizontal":return t=>Pj(Vj,t);case"compact":return t=>Pj(Vj,t);case"summary":return;case"default":default:return}},NA=({item:e,orientation:t,bg:n,border:c,valueColor:i,onClick:r,width:s,height:d,extraStyle:l})=>{const u=t==="horizontal"?te.mpSummaryCardHorizontal:te.mpSummaryCard;return o.jsxs("div",{className:u,style:{background:n,border:`1px solid ${c}`,width:s??void 0,height:d??void 0,...l??{}},role:r?"button":"group",tabIndex:r?0:-1,onClick:()=>r?.(e),children:[e.badge&&o.jsxs("div",{className:te.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&o.jsx("div",{className:te.mpSummaryBadgeSub,children:e.badge.subText})]}),o.jsx("div",{className:te.mpSummaryValue,style:{color:i},children:e.value}),o.jsx("div",{className:te.mpSummaryLabel,children:e.label})]})},c3e=["transparent","transparent","transparent","transparent"],i3e=["transparent","transparent","transparent","transparent"],r3e=["#059669","#2563eb","#b45309","#7c3aed"],s3e=(e,t=1)=>{try{return Tt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},SA=e=>{const{items:t=[],layout:n="vertical",orientation:c="auto",shape:i="rounded",color:r="#7c3aed",compact:s=!1,title:d,onItemClick:l,className:h="",loading:u=!1,emptyMessage:p="Aucun élément",renderItem:y,summary:f=!1,summaryBgColors:g=c3e,summaryBorderColors:m=i3e,summaryValueColors:x=r3e,preset:M,background:v}=e,{itemsContainerStyle:L,itemsContainerClassName:b,summaryGridColumns:C,compactItemWidth:N,compactItemHeight:_,compactItemStyle:I,summaryCardWidth:j,summaryCardHeight:w,summaryCardStyle:S}=e,$=n==="vertical",A={"--mp-accent":r,"--mp-accent-soft":s3e(r,.08),"--mp-bg-primary":v},H=[te.mpRoot,$?te.mpVertical:te.mpHorizontal,s?te.mpCompact:"",f?te.mpSummaryRoot:"",c!=="auto"?c==="vertical"?te.mpOrientationVertical:te.mpOrientationHorizontal:"",h].filter(Boolean).join(" "),P=k.useMemo(()=>y||(o3e(M)??void 0),[y,M]);if(f){const V=c==="horizontal"?te.mpSummaryFlex:te.mpSummaryVertical,z={...(C?{display:"grid",gridTemplateColumns:`repeat(${C}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...L??{}};return o.jsxs("div",{className:H,style:A,"aria-busy":u,children:[d&&o.jsx(qj,{title:d}),o.jsx("div",{className:te.mpSummaryInner,children:o.jsx("div",{className:`${V} ${b??""}`,style:z,children:t.length===0?o.jsx("div",{className:te.mpEmpty,children:p}):t.map((R,T)=>{const O=R.bgColor??g[T%g.length],Q=R.borderColor??m[T%m.length],E=R.valueColor??x[T%x.length];return P?o.jsx("div",{className:c==="horizontal"?te.mpSummaryCardWrapperHorizontal:te.mpSummaryCardWrapper,style:{width:j??void 0,height:w??void 0,...S??{}},children:P(R,T)},R.id):o.jsx(NA,{item:R,orientation:c==="horizontal"?"horizontal":"vertical",bg:O,border:Q,valueColor:E,onClick:l,width:j??void 0,height:w??void 0,extraStyle:S},R.id)})})})]})}return o.jsxs("div",{className:H,style:A,"aria-busy":u,children:[d&&o.jsx(qj,{title:d}),o.jsx("div",{className:te.mpList,style:L,children:u?o.jsx("div",{className:te.mpEmpty,children:"Chargement…"}):t.length===0?o.jsx("div",{className:te.mpEmpty,children:p}):t.map(V=>{const q=s?{width:N??void 0,height:_??void 0,boxSizing:"border-box",...I??{}}:void 0;return o.jsx("div",{className:s?te.compactItemWrapper:void 0,style:q,children:o.jsx(t3e,{item:V,shape:i,onItemClick:l,color:r,renderItem:P?z=>P(z,t.indexOf(z)):void 0})},V.id)})})]})};k.memo(SA);const d3e=({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:l,padding:h="1rem",variant:u="default",showBorder:p=!1,titleKey:y,leftTitleKey:f})=>{const g=t?typeof t=="number"?`${t}px`:t:void 0,m=n?typeof n=="number"?`${n}px`:n:void 0,x=r&&typeof r=="object"&&!k.isValidElement(r)&&("text"in r||"subtext"in r||"icon"in r||"background"in r||"iconSize"in r),M=x?r:void 0,v=M?.icon?_t[M.icon]:void 0,L=28,b=M?.iconSize??L,C=["chart-container",`variant-${u}`,p?"with-border":"",d].filter(Boolean).join(" "),N=c.contentBackground??void 0,_=typeof h=="number"?`${h}px`:h;return o.jsxs("div",{className:C,style:{width:g,height:m,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:J(e,f||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:N},children:l||(x&&M?o.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[v&&o.jsx("div",{className:"placeholder-icon",style:{width:b,height:b},children:o.jsx(v,{color:M.iconColor??"currentColor",size:typeof b=="number"?b:parseInt(String(b),10)||L})}),M.text&&o.jsx("div",{className:"placeholder-text",children:M.text}),M.subtext&&o.jsx("div",{className:"placeholder-subtext",children:M.subtext})]}):o.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:r}))})]})},dC=({id:e,size:t="100%",background:n,icon:c,text:i,subtext:r,onClose:s,onClick:d,style:l,className:h="",colorTextPrimary:u,colorTextSub:p,model:y,fontSize:f,fontWeight:g,a11yConfig:m,titleKey:x})=>{const M=c||y?.icon,v=typeof M=="string",L=v?_t[M]:null,b=v?null:M;return o.jsxs("div",{id:e,className:`alert ${h}`,style:{width:typeof t=="number"?`${t}px`:t,background:n||y?.background,pointerEvents:"auto",cursor:d?"pointer":"default",...l},role:"alert",onClick:d,title:J(m,x),children:[L&&o.jsx(L,{className:"alert-icon",size:20,color:u||y?.colorTextPrimary}),b!=null&&o.jsx("span",{className:"alert-icon",style:{display:"flex",alignItems:"center",color:u||y?.colorTextPrimary,flexShrink:0},children:b}),o.jsxs("div",{className:"alert-content",children:[o.jsx("span",{className:"alert-text",style:{color:u||y?.colorTextPrimary,fontSize:f,fontWeight:g},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:"✕"})]})},jA=k.createContext(null),l3e=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,h3e=({children:e,defaultDuration:t=4e3,maxAlerts:n,containerClassName:c,containerStyle:i})=>{const[r,s]=k.useState([]),d=k.useRef(new Map),l=k.useRef(null),[h,u]=k.useState(null),[p,y]=k.useState(void 0),f=k.useRef(n),g=k.useRef(r),m=k.useRef(t);k.useEffect(()=>{g.current=r},[r]),k.useEffect(()=>{m.current=t},[t]),k.useEffect(()=>{const A=d.current;return()=>{A.forEach(H=>window.clearTimeout(H)),A.clear()}},[]);const x=k.useCallback(A=>{const H=d.current.get(A);H&&(window.clearTimeout(H),d.current.delete(A))},[]),M=k.useCallback(A=>{x(A),s(H=>H.filter(P=>P.id!==A))},[x]),v=k.useCallback((A,H)=>{const P=H===void 0||H===0?m.current:H;if(P===-1)return;const V=window.setTimeout(()=>{M(A)},P);d.current.set(A,V)},[M]),L=k.useCallback(A=>{const H=l3e(),P={...A,id:H,createdAt:Date.now()};return s(V=>{const q=[P,...V],z=f.current;return typeof z=="number"&&z>=0&&q.length>z?(q.slice(z).forEach(T=>x(T.id)),q.slice(0,z)):q}),v(H,A.duration),H},[x,v]),b=k.useCallback((A,H)=>{s(P=>P.map(V=>V.id===A?{...V,...H}:V))},[]),C=k.useCallback(()=>{d.current.forEach(A=>window.clearTimeout(A)),d.current.clear(),s([])},[]),N=k.useCallback((A,H)=>{A&&window.getComputedStyle(A).position==="static"&&(A.style.position="relative"),u(P=>P===A?P:A),y(H)},[]),_=k.useCallback(()=>g.current.slice(),[]),I=k.useMemo(()=>({showAlert:L,dismissAlert:M,updateAlert:b,clearAlerts:C,setContainerRef:N,getAlertsSnapshot:_}),[L,M,b,C,N,_]),j=h,w=j?!!p:!1,S=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",...w?{top:"auto",left:"auto",right:"auto",alignItems:"flex-end"}:null,...j?p:null},children:o.jsx(Ele,{mode:"popLayout",children:r.map(A=>o.jsx(oC.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:w?"auto":"100%",pointerEvents:"auto",boxShadow:"0 6px 20px rgba(0, 0, 0, 0.12)",borderRadius:"8px",marginBottom:"6px",backgroundColor:A.background||A.model?.background||"var(--color-background, #fff)",border:"1px solid rgba(0, 0, 0, 0.08)",overflow:"hidden"},children:o.jsx(dC,{id:A.id,text:A.text,subtext:A.subtext,icon:A.icon,background:"transparent",colorTextPrimary:A.colorTextPrimary,colorTextSub:A.colorTextSub,model:A.model,onClose:()=>M(A.id),size:w?"auto":"100%",style:{boxShadow:"none",...w?{whiteSpace:"nowrap"}:null}})},A.id))})}),$=o.jsx("div",{ref:A=>{h||(l.current=A)},className:c,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:S});return o.jsxs(jA.Provider,{value:I,children:[j?Iw.createPortal(S,j):$,e]})},u3e=()=>{const e=k.useContext(jA);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},p3e={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"}},y3e="_container_18zbo_1",k3e="_icon_18zbo_9",m3e="_selectWrapper_18zbo_23",Wb={container:y3e,icon:k3e,selectWrapper:m3e},f3e=({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:Wb.container,children:[o.jsxs("div",{className:Wb.icon,children:[o.jsx(C1,{size:18}),o.jsx("p",{children:c})]}),o.jsx("div",{className:Wb.selectWrapper,children:o.jsx(cC,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},g3e=250,v3e=k.forwardRef(({title:e,subtitle:t,size:n="420px",beforeOpen:c,afterOpen:i,beforeClose:r,afterClose:s,style:d,className:l="",children:h,closeOnOverlayClick:u=!0,showCloseButton:p=!0},y)=>{const[f,g]=k.useState(!1),[m,x]=k.useState(!1),M=k.useRef(null),v=k.useRef(null),L=k.useRef(null),b=k.useRef(null);k.useEffect(()=>{const _=M.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 w=I.getAttribute("data-scp-prev-position")??"";I.style.position=w,I.removeAttribute("data-scp-position-changed"),I.removeAttribute("data-scp-prev-position")}}):void 0},[]),k.useImperativeHandle(y,()=>({open:()=>{f||(c?.(),x(!1),g(!0))},close:()=>{f&&(r?.(),x(!1),g(!1))},toggle:()=>{f?(r?.(),x(!1),g(!1)):(c?.(),x(!1),g(!0))}}),[f,c,r]),k.useEffect(()=>{const _=v.current;b.current&&(window.clearTimeout(b.current),b.current=null);const I=j=>{if(j.target===_&&!(j.propertyName!=="transform"&&j.propertyName!=="opacity"))if(f){x(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}};return _&&(_.addEventListener("transitionend",I),b.current=window.setTimeout(()=>{if(f){x(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}},g3e+60)),f&&(L.current=document.activeElement),()=>{_&&_.removeEventListener("transitionend",I),b.current&&(window.clearTimeout(b.current),b.current=null)}},[f,i,s]),k.useEffect(()=>{const _=I=>{I.key==="Escape"&&f&&(r?.(),x(!1),g(!1))};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[f,r]);const C=()=>{u&&(r?.(),x(!1),g(!1))},N=typeof n=="number"?`${n}px`:n;return o.jsxs("div",{ref:M,className:`scp-inline-root ${f?"open":""}`,"aria-hidden":!f,children:[o.jsx("div",{className:`scp-overlay ${f?"visible":""}`,onMouseDown:C,role:"presentation"}),o.jsxs("aside",{className:`scp-panel ${f?"in":"out"} ${m?"interactive":""} ${l}`,style:{width:N,...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?.(),x(!1),g(!1)},children:o.jsx(at,{size:18})})]}),o.jsx("div",{className:"scp-body",children:h})]})]})});function x3e(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 M3e="_container_1pfsp_1",_3e="_title_1pfsp_8",Tj={container:M3e,title:_3e},L3e=({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:`${Tj.container} ${c}`,style:r,children:o.jsx("h2",{className:Tj.title,children:e})})},I3e="_modalOverlay_1878x_1",b3e="_modalContainer_1878x_16",w3e="_modalTitle_1878x_29",C3e="_modalInput_1878x_38",N3e="_modalTextarea_1878x_39",S3e="_modalActions_1878x_70",j3e="_cancelBtn_1878x_77",$3e="_saveBtn_1878x_99",q3e="_inputError_1878x_141",A3e="_inlineAlert_1878x_146",ct={modalOverlay:I3e,modalContainer:b3e,modalTitle:w3e,modalInput:C3e,modalTextarea:N3e,modalActions:S3e,cancelBtn:j3e,saveBtn:$3e,inputError:q3e,inlineAlert:A3e},Dc=({isOpen:e,onClose:t,onSave:n,title:c="Ajouter un élément",fields:i,initialValues:r={},errorMessage:s="",disableSave:d,onFieldChange:l,confirmText:h="Valider",cancelText:u="Annuler"})=>{const[p,y]=k.useState({}),f=k.useRef(null),[g,m]=k.useState(!1),[x,M]=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(()=>{f.current?.focus();const I=f.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?(M(!0),v.current&&(window.clearTimeout(v.current),v.current=null),v.current=window.setTimeout(()=>{M(!1),v.current=null},3e3)):(M(!1),v.current&&(window.clearTimeout(v.current),v.current=null))},[s,e]),!e)return null;const L=(_,I)=>{y(j=>({...j,[_]:I})),l&&l(_,I)},b=async()=>{if(!Object.values(p).some(_=>_===""||_===void 0))try{m(!0);const _=await n(p);if(typeof _=="string"&&_==="duplicate-same"){m(!1);return}y({}),m(!1),t()}catch(_){console.error("AddItemModal onSave error:",_),m(!1),t()}},C=_=>{_.target===_.currentTarget&&t()},N=_=>_.stopPropagation();return o.jsx("div",{className:ct.modalOverlay,onMouseDown:C,role:"dialog","aria-modal":"true",children:o.jsxs("div",{className:ct.modalContainer,onMouseDown:N,onClick:N,children:[o.jsx("h2",{className:ct.modalTitle,children:c}),i.map((_,I)=>{const j=p[_.name]??"",w=I===0&&!!s,S={name:_.name,placeholder:_.placeholder||_.label,value:String(j),onChange:$=>L(_.name,$.target.value),className:_.type==="textarea"?`${ct.modalTextarea} ${w?ct.inputError:""}`:`${ct.modalInput} ${w?ct.inputError:""}`,tabIndex:0,disabled:g};return I===0&&(S.ref=$=>{f.current=$}),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&&x&&s&&o.jsx("div",{style:{marginTop:8},children:o.jsx(dC,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>M(!1),className:ct.inlineAlert})})]},_.name)}),o.jsxs("div",{className:ct.modalActions,children:[o.jsx("button",{className:ct.cancelBtn,onClick:t,type:"button",disabled:g,children:u}),o.jsx("button",{className:ct.saveBtn,onClick:b,type:"button",disabled:g||!!d,children:g?"En cours...":h})]})]})})},z3e=({title:e,keyCount:t,onAddKey:n,a11yConfig:c})=>{const[i,r]=k.useState(!1),s=d=>{const l=d.key;n&&l&&n(l)};return o.jsxs("div",{className:"header-container",children:[o.jsxs("div",{className:"header-info",children:[o.jsx("h1",{title:J(c,e),children:e}),o.jsxs("p",{children:[t," clés"]})]}),o.jsxs("button",{onClick:()=>r(!0),className:"add-key-button",children:[o.jsx(zc,{className:"add-key-icon"}),"Clé"]}),o.jsx(Dc,{isOpen:i,title:"Ajouter une clé",onClose:()=>r(!1),onSave:s,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},V3e=({modules:e,onEdit:t,onDelete:n,onAddModule:c,onSelectModule:i,addModalFields:r,addModalTitle:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState(null),[p,y]=k.useState(null),[f,g]=k.useState(!1),m=()=>l(!0),x=()=>l(!1),M=_=>{if(c){const I=_.code?.trim()||_.id?.trim(),j=_.title?.trim(),w=I||j||String(Date.now()),S=j||I||`Module ${w}`;c({id:w,title:S,subtitle:"",translations:{}})}x()},v=(_,I)=>{_.stopPropagation(),u(I)},L=()=>u(null),b=_=>{if(!h){L();return}const I={...h,title:_.title||h.title,subtitle:""};t&&t(I),L()},C=(_,I)=>{_.stopPropagation(),n&&n(I)},N=_=>{y(_.id),i&&i(_)};return f?o.jsx("div",{className:"module-sidebar collapsed",children:o.jsx(n1,{size:20,className:"menu-toggle",onClick:()=>g(!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(Ac,{size:18,className:"header-folder",onClick:m}),o.jsx(n1,{size:18,className:"header-menu",onClick:()=>g(!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:()=>N(_),role:"button",tabIndex:0,onKeyDown:w=>{w.key==="Enter"&&N(_)},children:[o.jsxs("div",{className:"module-left",children:[o.jsx(q1,{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(o1,{onClick:w=>v(w,_),color:"#777",size:16}),n&&o.jsx(kt,{onClick:w=>C(w,_.id),color:"#777",size:16})]})]},_.id)})}),o.jsx(Dc,{isOpen:d,onClose:x,onSave:M,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"}]}),h&&o.jsx(Dc,{isOpen:!!h,onClose:L,onSave:b,title:"Éditer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},$A=({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:J(r,e),children:[o.jsx("div",{className:"search-icon-wrapper",children:o.jsx(V1,{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:l=!1,checkDuplicateLocal:h})=>{const[u,p]=k.useState(!1),[y,f]=k.useState(""),[g,m]=k.useState(null),[x,M]=k.useState(""),[v,L]=k.useState(""),[b,C]=k.useState(!1),[N,_]=k.useState(!1),[I,j]=k.useState(null),[w,S]=k.useState(!1),$=t.map(T=>T.language),A=n.filter(T=>!$.includes(T.code)),H=()=>{y&&v.trim()&&(d?.(e,y,v.trim()),f(""),L(""),p(!1))},P=(T,O)=>{m(T),M(O)},V=T=>{r?.(e,T,x),m(null),M("")},q=()=>{m(null),M("")},z=async T=>{const O=T.name?.trim();if(O){if(j(null),S(!1),O===e||!i)return C(!1),"ok";try{const Q=await i(e,O);if(typeof Q=="string"&&Q==="ok")C(!1),j(null);else{if(typeof Q=="string"&&Q==="duplicate-same")return j("Une clé existe déjà dans ce module."),S(!0),"duplicate-same";if(typeof Q=="string"&&Q==="duplicate-other")return C(!1),j(null),"duplicate-other";C(!1)}}catch(Q){console.error("Erreur handleRenameSave:",Q),j("Erreur lors du renommage.")}}},R=(T,O)=>{if(T!=="name")return;const Q=O.trim();j(null),S(!1),Q&&typeof h=="function"&&(h(Q,e)?(j("Une clé existe déjà dans ce module."),S(!0)):(j(null),S(!1)))};return o.jsxs("div",{className:`translation-key ${N?"collapsed":"expanded"} ${l?"draggable":""}`,children:[o.jsxs("div",{className:"card-header",children:[o.jsxs("div",{className:"header-left",children:[o.jsx("button",{className:"collapse-button",onClick:()=>_(!N),title:N?"Déplier":"Replier",children:N?o.jsx(S1,{className:"collapse-icon"}):o.jsx(Ht,{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:T=>{T.stopPropagation(),C(!0)},title:"Renommer la clé",children:o.jsx(vt,{className:"action-icon"})}),o.jsx("button",{onClick:T=>{T.stopPropagation(),c?.(e)},className:"action-button delete",title:"Supprimer la clé",children:o.jsx(kt,{className:"action-icon"})})]})]}),o.jsx("div",{className:`translations-container ${N?"":"expanded"}`,children:!l&&o.jsxs(o.Fragment,{children:[t.map(T=>o.jsxs("div",{className:"translation-row",children:[o.jsx("div",{className:"language-code",children:T.language}),o.jsx("div",{className:"translation-content",children:g===T.language?o.jsxs(o.Fragment,{children:[o.jsx("input",{type:"text",value:x,onChange:O=>M(O.target.value),className:"edit-input",autoFocus:!0,onKeyDown:O=>{O.key==="Enter"&&V(T.language),O.key==="Escape"&&q()}}),o.jsx("button",{onClick:()=>V(T.language),className:"save-button",disabled:!x.trim(),children:"Enregistrer"}),o.jsx("button",{onClick:q,className:"cancel-button",children:o.jsx(at,{className:"action-icon"})})]}):o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"translation-text",title:T.value,children:T.value}),o.jsx("button",{onClick:()=>P(T.language,T.value),className:"edit-button",title:"Éditer la traduction",children:o.jsx(vt,{className:"action-icon"})}),o.jsx("button",{onClick:()=>s?.(e,T.language),className:"delete-translation-button",title:"Supprimer la traduction",children:o.jsx(at,{className:"action-icon"})})]})})]},T.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:T=>f(T.target.value),className:"language-select",children:[o.jsx("option",{value:"",children:"Sélectionnez la langue"}),A.map(T=>o.jsxs("option",{value:T.code,children:[T.name," (",T.code,")"]},T.code))]})}),y&&o.jsx("input",{type:"text",value:v,onChange:T=>L(T.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:T=>{T.key==="Enter"&&H(),T.key==="Escape"&&(p(!1),f(""),L(""))}}),o.jsx("button",{onClick:H,disabled:!y||!v.trim(),className:"save-button",children:"Ajouter"}),o.jsx("button",{onClick:()=>{p(!1),f(""),L("")},className:"cancel-button",children:o.jsx(at,{className:"action-icon"})})]})]}):o.jsxs("button",{onClick:()=>p(!0),className:"show-add-button",disabled:A.length===0,children:[o.jsx("span",{className:"plus-icon",children:"+"}),"Ajouter une langue"]})]})}),l&&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(Dc,{isOpen:b,onClose:()=>{C(!1),j(null),S(!1)},onSave:z,onFieldChange:R,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:I||"",disableSave:w})]})},T3e="_wrapper_1wvht_1",H3e="_leftGroup_1wvht_12",D3e="_filterButton_1wvht_21",B3e="_open_1wvht_42",R3e="_filterIcon_1wvht_42",F3e="_infoText_1wvht_58",E3e="_pickerContainer_1wvht_66",O3e="_srOnly_1wvht_79",U3e="_pickerLabel_1wvht_91",W3e="_datetime_1wvht_98",G3e="_rightGroup_1wvht_107",K3e="_searchInputWrap_1wvht_116",Z3e="_searchInput_1wvht_116",X3e="_searchIcon_1wvht_152",Ee={wrapper:T3e,leftGroup:H3e,filterButton:D3e,open:B3e,filterIcon:R3e,infoText:F3e,pickerContainer:E3e,srOnly:O3e,pickerLabel:U3e,datetime:W3e,rightGroup:G3e,searchInputWrap:K3e,searchInput:Z3e,searchIcon:X3e};function Y3e({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 f=y.target;d.current&&f&&!d.current.contains(f)&&i(!1)}return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),k.useEffect(()=>{n&&s(n)},[n]);const l=()=>i(p=>!p),h=p=>{const y=p.target.value;s(y),e?.(y)},u=p=>{t?.(p.target.value)};return o.jsxs("div",{className:Ee.wrapper,ref:d,children:[o.jsxs("div",{className:Ee.leftGroup,children:[o.jsxs("button",{type:"button",className:`${Ee.filterButton} ${c?Ee.open:""}`,onClick:l,"aria-expanded":c,"aria-haspopup":"dialog","aria-controls":"entry-datetime",children:[o.jsx("span",{children:"Entry time"}),o.jsx("svg",{className:Ee.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:Ee.infoText,children:"Confidence interval: step ± 15' / exit ± 30'"}),c&&o.jsxs("div",{className:Ee.pickerContainer,role:"dialog","aria-label":"Choisir la date et l’heure",children:[o.jsx("label",{className:Ee.pickerLabel,htmlFor:"entry-datetime",children:o.jsx("span",{className:Ee.srOnly,children:"Choisir la date et l’heure"})}),o.jsx("input",{id:"entry-datetime",className:Ee.datetime,type:"datetime-local",value:r,onChange:h,"aria-label":"Date et heure d’entrée"})]})]}),o.jsx("div",{className:Ee.rightGroup,children:o.jsxs("div",{className:Ee.searchInputWrap,children:[o.jsx("input",{className:Ee.searchInput,placeholder:"Search...",onChange:u,"aria-label":"Search"}),o.jsx("svg",{className:Ee.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 J3e=({className:e="",style:t={},title:n,titleClassName:c="",titleStyle:i,data:r,lineClasses:s={},renderCell:d,bg:l,titleBg:h,titleColor:u,itemBg:p,emptyContent:y,colGap:f="1rem"})=>{const g=Array.isArray(r)?r:[],m=g.length===0,x=g.every(b=>typeof b=="string"),M=g.some(b=>Array.isArray(b)),v=(b,C,N)=>d?d(b,C,N):o.jsx("span",{className:"slb-cell-text",children:b}),L=f?{"--col-gap":f}:void 0;return m?o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{...i,background:h??void 0,color:u??void 0},children:n}),o.jsx("div",{className:"slb-empty",children:y??null})]}):x&&!M?o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{background:h??void 0,color:u??void 0},children:n}),o.jsx("ul",{className:"slb-list",children:g.map((b,C)=>o.jsx("li",{className:`slb-item ${s[C]||""}`,style:{background:p??void 0},children:v(b,C,0)},C))})]}):o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{background:h??void 0,color:u??void 0},children:n}),o.jsx("div",{className:"slb-grid",style:L,children:g.map((b,C)=>{const N=s[C]||"";if(Array.isArray(b)){const[_,I]=b;return o.jsxs("div",{className:`slb-row ${N}`,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 ${N}`,style:{background:p??void 0},children:[o.jsx("div",{className:"slb-grid-left",children:v(b,C,0)}),o.jsx("div",{className:"slb-grid-right slb-empty-cell","aria-hidden":"true"})]},C)})})]})},Q3e=({className:e="",style:t={},title:n,titleColor:c,data:i=[],badgeColor:r="#0ea5e9",badgeColors:s={},badgePadding:d="8px 16px",badgeWidth:l,itemBg:h,lineClasses:u={},colGap:p="1rem"})=>{const y=i.some(g=>Array.isArray(g)),f=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:f,children:i.map((g,m)=>{const x=u[m]||"";if(Array.isArray(g)){const[M,v]=g,L=s[m]||r;return o.jsxs("div",{className:`clb-row ${x}`,style:{background:h??void 0},children:[o.jsx("div",{className:"clb-badge-col",children:o.jsx("div",{className:"counter-badge",style:{background:L,padding:d,width:l,minWidth:l},children:M})}),o.jsx("div",{className:"clb-text",children:v})]},m)}return y?o.jsxs("div",{className:`clb-row ${x}`,style:{background:h??void 0},children:[o.jsx("div",{className:"clb-badge-col clb-empty-badge"}),o.jsx("div",{className:"clb-text",children:g})]},m):o.jsx("div",{className:`clb-fullrow ${x}`,style:{background:h??void 0},children:o.jsx("span",{children:g})},m)})})]})},efe=({className:e="",style:t={},title:n,items:c=[],titleBg:i,titleColor:r,itemBg:s,lineClasses:d={},renderTrendIcon:l,colGap:h="1rem"})=>{const u=h?{"--col-gap":h}: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 f=d[y]||"";return o.jsxs("div",{className:`tlb-row ${f}`,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:l?l(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)})})]})},tfe=({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}))}),afe=({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}))}),nfe="_overlay_3x4or_2",ofe="_fadeIn_3x4or_1",cfe="_popup_3x4or_17",ife="_slideUp_3x4or_1",rfe="_header_3x4or_28",sfe="_body_3x4or_40",dfe="_footer_3x4or_51",lfe="_cancelButton_3x4or_59",hfe="_confirmButton_3x4or_77",ufe="_warning_3x4or_97",pfe="_danger_3x4or_106",yfe="_info_3x4or_115",St={overlay:nfe,fadeIn:ofe,popup:cfe,slideUp:ife,header:rfe,body:sfe,footer:dfe,cancelButton:lfe,confirmButton:hfe,warning:ufe,danger:pfe,info:yfe},kfe=({isOpen:e,title:t,message:n,onConfirm:c,onCancel:i,confirmText:r="Confirmer",cancelText:s="Annuler",type:d="warning"})=>{if(!e)return null;const l=u=>{u.target===u.currentTarget&&i()},h=u=>{u.key==="Escape"&&i(),u.key==="Enter"&&u.ctrlKey&&c()};return o.jsx("div",{className:St.overlay,onClick:l,onKeyDown:h,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:o.jsxs("div",{className:`${St.popup} ${St[d]}`,children:[o.jsx("div",{className:St.header,children:o.jsx("h3",{id:"confirmation-title",children:t})}),o.jsx("div",{className:St.body,children:o.jsx("p",{id:"confirmation-message",children:n})}),o.jsxs("div",{className:St.footer,children:[o.jsx("button",{className:St.cancelButton,onClick:i,type:"button",children:s}),o.jsx("button",{className:St.confirmButton,onClick:c,type:"button",autoFocus:!0,children:r})]})]})})},mfe=()=>{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}},ffe="_container_pafmy_1",gfe="_selectButton_pafmy_7",vfe="_disabled_pafmy_23",xfe="_error_pafmy_40",Mfe="_outline_pafmy_53",_fe="_filled_pafmy_59",Lfe="_sm_pafmy_68",Ife="_md_pafmy_74",bfe="_lg_pafmy_80",wfe="_buttonContent_pafmy_86",Cfe="_label_pafmy_94",Nfe="_placeholder_pafmy_104",Sfe="_iconsContainer_pafmy_109",jfe="_loadingSpinner_pafmy_116",$fe="_spin_pafmy_1",qfe="_arrowIcon_pafmy_135",Afe="_arrowIconOpen_pafmy_143",zfe="_dropdown_pafmy_148",Vfe="_dropdownIn_pafmy_1",Pfe="_searchContainer_pafmy_176",Tfe="_searchInputWrapper_pafmy_182",Hfe="_searchIcon_pafmy_188",Dfe="_searchInput_pafmy_182",Bfe="_optionsList_pafmy_213",Rfe="_noResults_pafmy_238",Ffe="_option_pafmy_213",Efe="_optionHighlighted_pafmy_268",Ofe="_optionSelected_pafmy_273",Ufe="_optionDisabled_pafmy_284",Wfe="_optionLabel_pafmy_290",Gfe="_checkIcon_pafmy_298",Kfe="_widthFull_pafmy_306",Zfe="_width64_pafmy_310",Xfe="_width80_pafmy_314",Yfe="_width96_pafmy_318",he={container:ffe,selectButton:gfe,disabled:vfe,error:xfe,default:"_default_pafmy_49",outline:Mfe,filled:_fe,sm:Lfe,md:Ife,lg:bfe,buttonContent:wfe,label:Cfe,placeholder:Nfe,iconsContainer:Sfe,loadingSpinner:jfe,spin:$fe,arrowIcon:qfe,arrowIconOpen:Afe,dropdown:zfe,dropdownIn:Vfe,searchContainer:Pfe,searchInputWrapper:Tfe,searchIcon:Hfe,searchInput:Dfe,optionsList:Bfe,noResults:Rfe,option:Ffe,optionHighlighted:Efe,optionSelected:Ofe,optionDisabled:Ufe,optionLabel:Wfe,checkIcon:Gfe,widthFull:Kfe,width64:Zfe,width80:Xfe,width96:Yfe},hi=4,Hj=8,Jfe=({options:e,value:t,onChange:n,placeholder:c="Sélectionner une option...",disabled:i=!1,loading:r=!1,error:s=!1,className:d="",size:l="md",variant:h="default",width:u="w-full",dropdownPosition:p="auto"})=>{const[y,f]=k.useState(!1),[g,m]=k.useState(""),[x,M]=k.useState(0),[v,L]=k.useState({top:0,left:0,width:0}),[b,C]=k.useState("bottom"),[N,_]=k.useState(null),I=k.useRef(null),j=k.useRef(null),w=k.useRef(null),S=k.useMemo(()=>g?e.filter(E=>E.label.toLowerCase().includes(g.toLowerCase())):e,[e,g]),$=e.find(E=>E.value===t),A=k.useCallback(()=>{if(I.current){const E=I.current.getBoundingClientRect();L({top:E.top,left:E.left,width:E.width})}},[]),H=k.useCallback(()=>{if(!I.current)return;const E=I.current.getBoundingClientRect(),U=E.top-hi-Hj,ie=window.innerHeight-E.bottom-hi-Hj;let ce;p!=="auto"?ce=p:ce=(j.current?.scrollHeight??0)<=ie?"bottom":U>ie?"top":"bottom",C(Me=>Me===ce?Me:ce),_(Math.max(ce==="bottom"?ie:U,0))},[p]),P=k.useCallback(()=>{A(),H()},[A,H]);k.useEffect(()=>(y&&(P(),window.addEventListener("scroll",P,!0),window.addEventListener("resize",P)),()=>{window.removeEventListener("scroll",P,!0),window.removeEventListener("resize",P)}),[y,P]),k.useLayoutEffect(()=>{y&&H()},[y,H]),k.useEffect(()=>{const E=U=>{I.current&&!I.current.contains(U.target)&&j.current&&!j.current.contains(U.target)&&(f(!1),m(""))};return document.addEventListener("mousedown",E),()=>document.removeEventListener("mousedown",E)},[]),k.useEffect(()=>{M(0)},[S]);const V=E=>{E.disabled||(n?.(E.value,E),f(!1),m(""))},q=E=>{m(E.target.value),y||f(!0)},z=E=>{if(!y){(E.key==="ArrowDown"||E.key==="Enter")&&f(!0);return}switch(E.key){case"ArrowDown":E.preventDefault(),M(U=>U<S.length-1?U+1:U);break;case"ArrowUp":E.preventDefault(),M(U=>U>0?U-1:U);break;case"Enter":E.preventDefault(),S[x]&&V(S[x]);break;case"Escape":f(!1),m("");break}},R=()=>[he.selectButton,he[l],he[h],i?he.disabled:"",s?he.error:"",d].filter(Boolean).join(" "),T=()=>{switch(u){case"w-64":return he.width64;case"w-80":return he.width80;case"w-96":return he.width96;default:return he.widthFull}},O=(E,U)=>[he.option,U===x?he.optionHighlighted:"",E.value===t?he.optionSelected:"",E.disabled?he.optionDisabled:""].filter(Boolean).join(" "),Q={position:"fixed",top:b==="bottom"?v.top+(I.current?.offsetHeight||0)+hi:"auto",bottom:b==="top"?window.innerHeight-v.top+hi:"auto",left:v.left,width:v.width,maxHeight:N!=null?`${N}px`:void 0,zIndex:9999};return o.jsxs("div",{className:`${he.container} ${T()}`,children:[o.jsx("button",{ref:I,className:R(),onClick:()=>!i&&f(!y),onKeyDown:z,tabIndex:i?-1:0,type:"button","aria-haspopup":"listbox","aria-expanded":y,disabled:i,children:o.jsxs("div",{className:he.buttonContent,children:[o.jsx("span",{className:`${he.label} ${$?"":he.placeholder}`,children:$?$.label:c}),o.jsxs("div",{className:he.iconsContainer,children:[r&&o.jsx("div",{className:he.loadingSpinner}),o.jsx("svg",{className:`${he.arrowIcon} ${y?he.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"})})]})]})}),y&&Iw.createPortal(o.jsxs("div",{className:`${he.dropdown} ${T()}`,style:Q,ref:j,children:[o.jsx("div",{className:he.searchContainer,children:o.jsxs("div",{className:he.searchInputWrapper,children:[o.jsx("svg",{className:he.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:w,type:"text",value:g,onChange:q,placeholder:"Rechercher...",className:he.searchInput,autoFocus:!0})]})}),o.jsx("div",{className:he.optionsList,children:S.length===0?o.jsx("div",{className:he.noResults,children:"Aucun résultat trouvé"}):o.jsx("ul",{role:"listbox",children:S.map((E,U)=>o.jsx("li",{className:O(E,U),onClick:()=>V(E),onMouseEnter:()=>M(U),role:"option","aria-selected":E.value===t,"aria-disabled":E.disabled,children:o.jsxs("div",{className:he.buttonContent,children:[o.jsx("span",{className:he.optionLabel,title:E.label,children:E.label}),E.value===t&&o.jsx("svg",{className:he.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"})})]})},E.value))})})]}),document.body)]})},Qfe="_container_uq7pt_1",e6e="_item_uq7pt_7",t6e="_mainValue_uq7pt_13",a6e="_label_uq7pt_17",n6e="_subValue_uq7pt_22",o6e="_subValueWrapper_uq7pt_27",c6e="_subSeparator_uq7pt_32",Je={container:Qfe,item:e6e,mainValue:t6e,label:a6e,subValue:n6e,subValueWrapper:o6e,subSeparator:c6e},i6e=({dms:e,stats:t=[],itemWidth:n="120px",valueFontSize:c="28px",valueFontWeight:i=700,subFontSize:r="16px",subFontWeight:s=600,backgroundColor:d="#ffffff",labelColor:l="#6b7280",valueColor:h="#000000"})=>{const u=(p,y,f)=>{const[g,m]=p.split("/").map(x=>x.trim());return o.jsxs("span",{className:Je.subValueWrapper,children:[o.jsx("span",{className:Je.subLeft,style:{color:y},children:g}),o.jsx("span",{className:Je.subSeparator,children:" / "}),o.jsx("span",{className:Je.subRight,style:{color:f},children:m})]})};return o.jsxs("div",{className:Je.container,style:{backgroundColor:d},children:[e&&o.jsxs("div",{className:Je.item,style:{flex:`1 1 ${n}`},children:[o.jsx("div",{className:Je.mainValue,style:{fontSize:c,fontWeight:i,color:h},children:e}),o.jsx("div",{className:Je.label,style:{color:l},children:"DMS"})]}),t.map((p,y)=>o.jsxs("div",{className:Je.item,style:{flex:`1 1 ${n}`},children:[o.jsx("div",{className:Je.mainValue,style:{fontSize:c,fontWeight:i,color:h},children:p.value}),o.jsx("div",{className:Je.label,style:{color:l},children:p.label}),o.jsx("div",{className:Je.subValue,style:{fontSize:r,fontWeight:s},children:p.subValue&&u(p.subValue,p.subLeftColor,p.subRightColor)})]},y))]})},r6e="_encours_16ist_1",s6e="_header_16ist_19",d6e="_iconWrap_16ist_27",l6e="_title_16ist_36",h6e="_items_16ist_47",u6e="_spaceEvenly_16ist_56",p6e="_item_16ist_47",y6e="_valueContainer_16ist_86",k6e="_value_16ist_86",m6e="_label_16ist_108",lt={encours:r6e,header:s6e,iconWrap:d6e,title:l6e,items:h6e,spaceEvenly:u6e,item:p6e,valueContainer:y6e,value:k6e,label:m6e},$c=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function f6e(e,t){const n={},c={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=$c(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=$c(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=$c(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(c.fontSize=$c(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?c.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(c.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:c}}function g6e(){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 v6e(e){const{title:t,titleColor:n,titleFontSize:c,titleFontWeight:i,icon:r,iconSize:s=18,iconColor:d,defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p,data:y,style:f,bg:g="#ffffff",width:m,gap:x,className:M,ariaLabel:v}=e,L=r?_t[r]:void 0,b={background:g,width:$c(m),...f},C={};n&&(C.color=n),c!==void 0&&(C.fontSize=$c(c)),i!==void 0&&(C.fontWeight=i);const N={};return d&&(N.color=d),o.jsxs("section",{className:`${lt.encours} ${M??""}`,style:b,"aria-label":v??t,children:[o.jsxs("div",{className:lt.header,children:[o.jsx("div",{className:lt.iconWrap,"aria-hidden":!0,style:N,children:L?o.jsx(L,{size:typeof s=="number"?s:void 0}):o.jsx(g6e,{})}),o.jsx("div",{className:lt.title,style:C,children:t})]}),o.jsx("div",{className:`${lt.items} ${x===void 0?lt.spaceEvenly:""}`,role:"list",style:x!==void 0?{gap:`${x}px`}:{},children:y.map((_,I)=>{const{valueStyle:j,labelStyle:w}=f6e(_,{defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p});return o.jsx("div",{className:lt.item,role:"listitem",style:{..._.background?{background:_.background}:{},..._.width?{width:$c(_.width)}:{}},children:o.jsxs("div",{className:lt.valueContainer,children:[o.jsx("div",{className:lt.value,style:j,children:_.value}),_.label&&o.jsx("div",{className:lt.label,style:w,children:_.label})]})},`${String(_.label??_.value)}-${I}`)})})]})}const x6e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M480-360 280-559h400z"})),qA=k.memo(x6e),M6e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"m280-400 200-201 200 201z"})),_6e=k.memo(M6e),L6e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},Z.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"})),I6e=k.memo(L6e),b6e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},Z.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"})),w6e=k.memo(b6e),C6e=({items:e,onSave:t,loading:n,disabled:c,saveLabel:i,savingLabel:r,buttonTitle:s,size:d=16,colors:l={bg:"#DADADA",activeBg:"var(--color-primary)",circle:"#FFFFFF",icon:"#1C1B1F",icon2:"#FFFFFF"},style:h,a11yConfig:u})=>{const[p,y]=k.useState(!1),[f,g]=k.useState(e),[m,x]=k.useState(!1);if(k.useEffect(()=>{x(!0)},[]),k.useEffect(()=>{g(e)},[e]),!m)return null;const M=(b,C)=>{C<4||g(N=>N.map(_=>_.component_key===b?{..._,visible:!_.visible}:_))},v=()=>{t(f),y(!1)},L=J(u,s);return o.jsxs("div",{style:{position:"relative",display:"inline-block",...h},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(u$,{width:d,height:d,fill:l?.icon||"currentColor",style:{transition:"color 0.2s"}}),p?o.jsx(_6e,{width:d,height:d,fill:l?.icon||"currentColor"}):o.jsx(qA,{width:d,height:d,fill:l?.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:f.map((b,C)=>o.jsxs(k.Fragment,{children:[o.jsxs("li",{onClick:()=>M(b.component_key,C),style:{display:"flex",alignItems:"center",padding:"0.5rem",cursor:C<4?"not-allowed":"pointer",transition:"background 0.2s"},onMouseEnter:N=>{C>=4&&(N.currentTarget.style.background="#F9FAFB")},onMouseLeave:N=>{C>=4&&(N.currentTarget.style.background="transparent")},children:[o.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:8,flexShrink:0},children:b.visible?o.jsx(I6e,{width:20,height:20,fill:l?.activeBg||"var(--color-primary, #008FBB)"}):o.jsx(w6e,{width:20,height:20,fill:"#D1D5DB"})}),o.jsx("span",{style:{fontSize:"14px",color:"#111827",fontWeight:400,userSelect:"none"},children:b.label})]}),C===3&&o.jsx("div",{style:{height:1,background:"#E5E7EB",margin:"4px 0"}})]},b.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})})]})]})},N6e="_container_zhny9_1",S6e="_card_zhny9_15",j6e="_footer_zhny9_33",$6e="_noPaddingMobile_zhny9_51",ui={container:N6e,card:S6e,footer:j6e,noPaddingMobile:$6e},q6e="_board_95t8m_1",A6e="_clickable_95t8m_21",z6e="_sideBar_95t8m_26",V6e="_boardContent_95t8m_32",P6e="_orange_95t8m_40",T6e="_red_95t8m_44",H6e="_green_95t8m_48",D6e="_grey_95t8m_52",B6e="_lightGrey_95t8m_56",R6e="_big_95t8m_61",F6e="_medium_95t8m_66",E6e="_headerRow_95t8m_70",O6e="_iconWrapper_95t8m_75",U6e="_headerTitle_95t8m_80",W6e="_valueArea_95t8m_89",G6e="_titleWhite_95t8m_99",K6e="_titleBlack_95t8m_103",Z6e="_valueWhite_95t8m_108",X6e="_valueBlack_95t8m_112",Y6e="_valueBlue_95t8m_116",J6e="_bars_95t8m_121",Q6e="_bar_95t8m_121",e8e="_barDark_95t8m_135",t8e="_barDim_95t8m_139",a8e="_predictionSection_95t8m_143",n8e="_predictionHeader_95t8m_155",o8e="_predictionBody_95t8m_162",c8e="_hasPrediction_95t8m_170",Te={board:q6e,clickable:A6e,sideBar:z6e,boardContent:V6e,orange:P6e,red:T6e,green:H6e,grey:D6e,lightGrey:B6e,big:R6e,medium:F6e,headerRow:E6e,iconWrapper:O6e,headerTitle:U6e,valueArea:W6e,titleWhite:G6e,titleBlack:K6e,valueWhite:Z6e,valueBlack:X6e,valueBlue:Y6e,bars:J6e,bar:Q6e,barDark:e8e,barDim:t8e,predictionSection:a8e,predictionHeader:n8e,predictionBody:o8e,hasPrediction:c8e},i8e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${Te.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${Te.bar} ${r<c?"":e?Te.barDark:Te.barDim}`},r))})},Mt=({a11yConfig:e,iconName:t,label:n,value:c,backgroundColor:i="green",bars:r,lightBars:s=5,size:d="big",valueScale:l,width:h,height:u,className:p="",style:y,titleColor:f="white",valueColor:g="white",titleFontSize:m,titleFontWeight:x,valueFontSize:M,valueFontWeight:v,barColor:L,justifyContent:b="space-between",alignItems:C="flex-start",cardGap:N="",onClick:_,iconColor:I,titleKey:j,predictionValue:w,predictionLabel:S})=>{const $=r!=="none",A=r==="endingDark",{padding:H,...P}=y||{},V=h===void 0&&u===void 0&&i===void 0&&Object.keys(P).length===0?void 0:{...h!==void 0?{width:h}:{},...u!==void 0?{height:u}:{},...i!==void 0?{backgroundColor:i}:{},...P},q=`${Te.board} ${Te[d]} ${w!==void 0?Te.hasPrediction:""} ${p}`;return o.jsxs("div",{className:q,onClick:_,style:l!==void 0?{...V,"--ds-value-scale":l}:V,children:[L&&o.jsx("div",{className:Te.sideBar,style:{backgroundColor:L}}),o.jsxs("div",{className:Te.boardContent,style:{padding:H,gap:N},children:[o.jsxs("div",{className:Te.headerRow,style:{justifyContent:b,alignItems:C},children:[t&&o.jsx("div",{className:Te.iconWrapper,style:{color:I},children:t}),o.jsx("div",{className:`${Te.headerTitle} header-title-data-board`,children:o.jsx("span",{title:J(e,j),"aria-label":e?.description,style:{color:f,...m?{fontSize:m}:{},...x?{fontWeight:x}:{}},children:n})}),$?o.jsx(i8e,{endingDark:A,lightCount:s}):null]}),o.jsx("div",{className:Te.valueArea,style:{color:g,...M?{fontSize:M}:{},...v?{fontWeight:v}:{}},children:c})]}),w!==void 0&&o.jsxs("div",{className:Te.predictionSection,children:[o.jsx("div",{className:Te.predictionHeader,children:S??"PRED."}),o.jsx("div",{className:Te.predictionBody,children:w})]})]})},r8e="_wrapper_1ydle_10",s8e="_hosp_1ydle_19",d8e="_headerRow_1ydle_54",l8e="_iconWrapper_1ydle_61",h8e="_headerTitle_1ydle_67",u8e="_hospValue_1ydle_76",p8e="_side_1ydle_88",y8e="_mini_1ydle_100",k8e="_miniLabel_1ydle_131",m8e="_miniValue_1ydle_140",f8e="_miniBars_1ydle_150",g8e="_bars_1ydle_155",v8e="_bar_1ydle_155",x8e="_barDark_1ydle_169",M8e="_barDim_1ydle_173",De={wrapper:r8e,hosp:s8e,headerRow:d8e,iconWrapper:l8e,headerTitle:h8e,hospValue:u8e,side:p8e,mini:y8e,miniLabel:k8e,miniValue:m8e,miniBars:f8e,bars:g8e,bar:v8e,barDark:x8e,barDim:M8e},_8e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${De.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${De.bar} ${r<c?"":e?De.barDark:De.barDim}`},r))})},AA=({left:e,right:t,className:n="",style:c,miniTilesCount:i=3})=>{const r=e.bars??"endingDark",s=r!=="none",d=r==="endingDark",l={...c,"--mini-tiles-count":i};return o.jsxs("div",{className:`${De.wrapper} ${n} data-four-boards`,style:l,children:[o.jsxs("div",{className:`${De.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:J(e.a11yConfig,e.titleKey),children:[o.jsxs("div",{className:De.headerRow,children:[o.jsxs("div",{className:`${De.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&o.jsx("span",{style:{color:e.iconColor},children:e.iconName}),o.jsx("span",{className:De.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},title:J(e.a11yConfig,e.titleKey),children:e.label})]}),s?o.jsx(_8e,{endingDark:d,lightCount:e.lightBars??5}):null]}),o.jsx("div",{className:De.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:De.side,children:t.map((h,u)=>o.jsxs("div",{className:`${De.mini} ${h.className||""} icon-wrapper-data-four-boards`,onClick:h.onClick,style:{...h.width?{width:h.width}:{},...h.height?{height:h.height}:{},...h.backgroundColor?{backgroundColor:h.backgroundColor}:{},...h.style||{}},title:J(h.a11yConfig,h.titleKey),children:[o.jsxs("span",{className:De.miniLabel,style:{color:h.titleColor||"white",textAlign:"right",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",...h.titleFontSize?{fontSize:h.titleFontSize}:{},...h.titleFontWeight?{fontWeight:h.titleFontWeight}:{}},title:J(h.a11yConfig,h.titleKey),children:[h.iconName&&o.jsx("span",{style:{color:h.iconColor},children:h.iconName}),h.label]}),o.jsx("span",{className:`${De.miniValue} mini-value-data-four-boards`,style:{color:h.valueColor||"white",textAlign:"right",...h.valueScale!==void 0?{"--ds-value-scale":h.valueScale}:{},...h.valueFontSize?{fontSize:h.valueFontSize}:{},...h.valueFontWeight?{fontWeight:h.valueFontWeight}:{}},children:h.value}),o.jsx("div",{className:De.miniBars})]},h.id??`${h.label}-${u}`))})]})},L8e=({items:e,footerLabel:t,width:n,height:c,size:i=320,style:r,className:s="",backgroundColor:d,titleFontSize:l,titleFontWeight:h,valueFontSize:u,valueFontWeight:p,noPaddingLeftRight:y=!1,onItemClick:f})=>{const g={width:n??i,height:c,backgroundColor:d??"var(--ds-navy)",...r},m=e[0],x=e[1],M=e.slice(2,5);return o.jsxs("div",{style:g,className:`${ui.container} ${y?ui.noPaddingMobile:""} ${s}`,children:[o.jsxs("div",{className:ui.card,children:[m?o.jsx(Mt,{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??l,titleFontWeight:m.titleFontWeight??h,valueFontSize:m.valueFontSize??u,valueFontWeight:m.valueFontWeight??p,titleKey:m.titleKey,onClick:v=>f?.(0,v)}):null,x&&M.length>0?o.jsx(AA,{left:{a11yConfig:x.a11yConfig,id:x.id,label:x.label,value:x.value,backgroundColor:x.backgroundColor,bars:x.bars,lightBars:x.lightBars,valueScale:x.valueScale,width:x.width,height:x.height,titleFontSize:x.titleFontSize??l,titleFontWeight:x.titleFontWeight??h,valueFontSize:x.valueFontSize??u,valueFontWeight:x.valueFontWeight??p,titleKey:x.titleKey,onClick:v=>f?.(1,v)},right:M.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??l,titleFontWeight:v.titleFontWeight??h,valueFontSize:v.valueFontSize??u,valueFontWeight:v.valueFontWeight??p,titleKey:v.titleKey,onClick:b=>f?.(2+L,b)}))}):x&&M.length===0?o.jsx(Mt,{a11yConfig:x.a11yConfig,label:x.label,value:x.value,backgroundColor:x.backgroundColor,bars:x.bars,lightBars:x.lightBars,size:x.size??"big",valueScale:x.valueScale,width:x.width,height:x.height,titleColor:"white",valueColor:"white",titleFontSize:x.titleFontSize??l,titleFontWeight:x.titleFontWeight??h,valueFontSize:x.valueFontSize??u,valueFontWeight:x.valueFontWeight??p,onClick:v=>f?.(1,v)}):null]}),t&&o.jsx("div",{className:ui.footer,children:t})]})},I8e=({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})})})}),b8e=({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:l="12px",fontWeight:h="400",domain:u,xAxisLabel:p,margin:y={top:20,right:60,bottom:40,left:0},valueFormatter:f,tickFormatter:g,labelDataKey:m="percentage",isAnimationActive:x=!0})=>{const M=(y.top??20)+(y.bottom??40)+e.length*(s+20),v=Math.max(M,t),L=k.useMemo(()=>{if(!e||e.length===0)return d;const I=(parseFloat(l)||12)*.7,w=Math.max(...e.map(S=>(S.label||"").length))*I+16;return Math.min(Math.max(w,40),d)},[e,l,d]),b=_=>g?g(_):_?.toString()||"",C=_=>f&&m==="value"?f(_):_==null||_===""?"":m==="percentage"?`${_}%`:_.toString(),N=(_,I,j)=>{if(typeof _!="number")return _;const w=f?f(_):_.toString(),S=j?.payload?.percentage;return typeof S=="number"&&Number.isFinite(S)&&m==="percentage"?`${w} (${S.toFixed(1)}%)`:w};return o.jsx("div",{style:{backgroundColor:i,width:"100%"},children:o.jsx(a.ResponsiveContainer,{width:"100%",height:v,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:l,fontWeight:h,stroke:r,tickFormatter:b,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:L,interval:0,fontSize:l,fontWeight:h,tick:o.jsx(I8e,{fontSize:l,fontWeight:h,stroke:r})}),c&&o.jsx(a.Tooltip,{formatter:N,labelStyle:{color:"var(--color-text)"}}),o.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s,isAnimationActive:x,children:o.jsx(a.LabelList,{dataKey:m,position:"right",offset:10,formatter:C,fill:r,fontSize:l,fontWeight:h})})]})})})},w8e="_menu_9anig_1",C8e="_menuRow_9anig_18",N8e="_separator_9anig_34",S8e="_rowLabel_9anig_40",j8e="_rowLeadingIcon_9anig_48",$8e="_rowIcon_9anig_55",Gc={menu:w8e,menuRow:C8e,separator:N8e,rowLabel:S8e,rowLeadingIcon:j8e,rowIcon:$8e},q8e=k.forwardRef(function({isVisible:t,onClose:n,items:c,style:i,position:r,bg:s},d){const l=k.useRef(null),h=d||l;if(k.useEffect(()=>{if(!t)return;const y=f=>{h.current&&!h.current.contains(f.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:h,role:"menu",className:Gc.menu,style:p,children:c.map(y=>{if(y.type==="separator")return o.jsx("hr",{className:Gc.separator},y.id);const f=y,g=f.color?{color:f.color}:{},m=f.closeOnClick!==!1;return o.jsxs("button",{role:"menuitem",className:Gc.menuRow,style:g,onClick:()=>{f.onClick?.(),m&&n?.()},children:[o.jsxs("span",{className:Gc.rowLabel,children:[f.leadingIcon&&o.jsx("span",{className:Gc.rowLeadingIcon,children:f.leadingIcon}),o.jsx("span",{children:f.label})]}),f.icon&&o.jsx("span",{className:Gc.rowIcon,children:f.icon})]},f.id)})})}),zA=({user:e,logoutHref:t,logoutTarget:n="_self",onLogout:c,profileHref:i,profileLinkTarget:r="_self",backgroundColor:s="transparent",textColor:d="inherit",roleColor:l="#888",avatarSize:h="32px",padding:u="10px",gap:p="12px",emailFontSize:y="14px",emailFontWeight:f=600,roleFontSize:g="12px",roleFontWeight:m,avatarColor:x="#5b8fb9",backgroundColorAvatar:M="#f1f4f5",dropdownMenuItems:v,dropdownMenuStyle:L,dropdownMenuOffset:b,statusDotColor:C,a11yConfig:N,style:_,className:I=""})=>{const{user:j}=ft(),w=e||j,{currentTheme:S,switchTheme:$}=CL(),A=k.useRef(null),H=k.useRef(null),[P,V]=k.useState(!1),[q,z]=k.useState({}),R=k.useMemo(()=>{const ae=[],ne=({variant:pe})=>pe==="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&&(ae.push({id:"profile",type:"action",label:"Mon profil",onClick:()=>{typeof window>"u"||(r==="_blank"?window.open(i,"_blank","noopener,noreferrer"):window.location.assign(i))}}),ae.push({id:"sep-profile",type:"separator"}));const le=S==="dark";return ae.push({id:"theme",type:"action",label:le?"Mode clair":"Mode sombre",icon:o.jsx(ne,{variant:le?"sun":"moon"}),onClick:()=>{$(le?"light":"dark")}}),(t||c)&&(ae.push({id:"sep-theme",type:"separator"}),ae.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?.()}})),ae},[S,t,n,c,i,r,$]),T=v??R,O=()=>{if(!A.current){V(ae=>!ae);return}if(!P){const ae=A.current.getBoundingClientRect(),ne=window.innerWidth,le=window.innerHeight,pe=200,me=200,W=4,Y=b?.x??0,se=b?.y??0,Re=ne-ae.right>=pe+W;z(Re?{top:ae.bottom-me+se,left:ae.right+W+Y}:{bottom:le-ae.top+se,left:ae.left+Y})}V(ae=>!ae)};if(k.useEffect(()=>{if(!P||!A.current)return;const ae=()=>{const ne=A.current.getBoundingClientRect(),le=window.innerWidth,pe=window.innerHeight,me=200,W=200,Y=4,se=b?.x??0,$e=b?.y??0,ve=le-ne.right>=me+Y;z(ve?{top:ne.bottom-W+$e,left:ne.right+Y+se}:{bottom:pe-ne.top+$e,left:ne.left+se})};return window.addEventListener("resize",ae),window.addEventListener("orientationchange",ae),()=>{window.removeEventListener("resize",ae),window.removeEventListener("orientationchange",ae)}},[P,b]),k.useEffect(()=>{if(!P||!A.current||!H.current)return;const ae=()=>{const le=A.current.getBoundingClientRect(),pe=H.current.getBoundingClientRect(),me=b?.x??0,W=b?.y??0;z(Y=>Y.left!==void 0&&Y.top!==void 0&&Y.left>=le.right-1?{top:le.bottom-pe.height+W,left:Y.left+me}:Y)},ne=requestAnimationFrame(()=>{setTimeout(ae,0)});return()=>cancelAnimationFrame(ne)},[P,b]),!w)return null;const Q=w,E=parseInt(h,10)||40,U=`${E*.375}px`,ie=`${E*1.375}px`,ce=`${E*.2}px`,Me=`${E*.6}px`,re=()=>{const ae=parseInt(h,10)||40,ne=Math.max(8,ae*.34375),le=Math.max(2,ae*.05);return o.jsxs(o.Fragment,{children:[o.jsxs("div",{style:{position:"relative",flexShrink:0,userSelect:"none"},children:[Q.image?o.jsx("img",{src:Q.image,alt:`${Q.prenom} ${Q.nom}`,style:{width:h,height:h,borderRadius:"50%",objectFit:"cover",userSelect:"none"}}):o.jsxs("div",{style:{width:h,height:h,position:"relative",borderRadius:"50%",backgroundColor:M,overflow:"hidden",userSelect:"none"},children:[o.jsx("div",{style:{width:U,height:U,borderRadius:"50%",backgroundColor:x,position:"absolute",top:ce,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),o.jsx("div",{style:{width:ie,height:ie,borderRadius:"50%",backgroundColor:x,position:"absolute",top:Me,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),C&&o.jsx("div",{style:{position:"absolute",bottom:le,right:le,width:`${ne}px`,height:`${ne}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:f,fontSize:y,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:Q.email,children:Q.email}),o.jsx("span",{style:{color:l,fontSize:g,fontWeight:m,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:Q.role,children:Q.role})]})]})};return o.jsxs(o.Fragment,{children:[o.jsx("div",{ref:A,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:O,title:J(N,Q.role),role:"button",tabIndex:0,children:o.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:o.jsx(re,{})})}),o.jsx(q8e,{ref:H,isVisible:P,onClose:()=>V(!1),items:T,style:L,position:q})]})},A8e="_navItem_16uqf_1",z8e="_label_16uqf_14",V8e="_icon_16uqf_26",f1={navItem:A8e,label:z8e,icon:V8e},lC=({label:e,labelKey:t,onClick:n,href:c,isActive:i,icon:r,style:s,className:d="",highlightColor:l="#00aec7",color:h="#333",activeColor:u="#00aec7",highlightBackgroundColor:p="rgba(0, 0, 0, 0.05)",fontSize:y="15px",fontWeight:f="500",sidebarCollapsed:g=!1,padding:m="10px 16px",borderWidth:x="4px",iconGap:M="12px",disabled:v=!1,disabledColor:L,a11yConfig:b})=>{const C=()=>{v||n?.()},N=o.jsxs(o.Fragment,{children:[r&&o.jsx("span",{className:f1.icon,style:{marginRight:g?0:M},children:r}),!g&&o.jsx("span",{className:f1.label,children:e})]}),_=()=>{if(!i)return"transparent";const j=w=>{const S=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(w);return S?{r:parseInt(S[1],16),g:parseInt(S[2],16),b:parseInt(S[3],16)}:null};if(l.startsWith("#")){const w=j(l);if(w)return`rgba(${w.r}, ${w.g}, ${w.b}, 0.08)`}else if(l.startsWith("rgb")){const w=l.match(/\d+/g);if(w&&w.length>=3)return`rgba(${w[0]}, ${w[1]}, ${w[2]}, 0.08)`}return p},I={onClick:C,className:`${f1.navItem} ${i?f1.active:""} ${d} ${v?f1.disabled:""}`,style:{padding:m,color:i?u:v?L||"#999":h,borderLeft:i?`${x} solid ${l}`:`${x} solid transparent`,backgroundColor:_(),fontSize:y,fontWeight:f,cursor:v?"not-allowed":"pointer",textDecoration:"none",...s},"aria-disabled":v};return c&&!n&&!v?o.jsx("a",{href:c,...I,title:J(b,t),children:N}):o.jsx("div",{...I,role:n?"button":void 0,tabIndex:n&&!v?0:void 0,title:J(b,t),children:N})},P8e="_navbar_y5tex_1",T8e="_topSection_y5tex_9",H8e="_logoContainer_y5tex_14",D8e="_collapseToggle_y5tex_20",B8e="_collapsedRail_y5tex_37",R8e="_collapsedToggle_y5tex_44",F8e="_sectionsContainer_y5tex_67",E8e="_sectionTitle_y5tex_73",O8e="_sectionItems_y5tex_78",U8e="_bottomSection_y5tex_83",W8e="_versionContainer_y5tex_102",Qe={navbar:P8e,topSection:T8e,logoContainer:H8e,collapseToggle:D8e,collapsedRail:B8e,collapsedToggle:R8e,sectionsContainer:F8e,sectionTitle:E8e,sectionItems:O8e,bottomSection:U8e,versionContainer:W8e},G8e=({logoProps:e,logoSpacing:t,navItems:n,padding:c="24px 16px",sectionSpacing:i="32px",itemSpacing:r="4px",backgroundColor:s="#fff",highlightColor:d="#00aec7",highlightBackgroundColor:l="rgba(0, 0, 0, 0.05)",version:h,navSectionStyle:u,navLinkStyle:p,navItemPadding:y="10px 16px",navItemBorderWidth:f="4px",navItemIconGap:g="12px",navItemFontSize:m="15px",navItemFontWeight:x="500",navItemColor:M,sectionTitlePadding:v="16px",sectionTitleFontSize:L="11px",sectionTitleColor:b="#999",sectionTitleWeight:C="500",versionFontSize:N="12px",versionFontWeight:_="400",versionColor:I="#999",userInfoProps:j,style:w,className:S="",width:$="280px",showLogo:A=!0,versionA11yConfig:H,displayNone:P=!1,showCollapseToggle:V=!1,collapsed:q=!1,onCollapseToggle:z,collapseToggleLabel:R="Toggle sidebar",collapseToggleIconPath:T="/icon/dock_to_left.svg"})=>{const O=ft(),Q=O.activeNav,E=O.setActiveNav,U=O.user,ie=j.user||U;return V&&q?o.jsx("div",{className:`${Qe.collapsedRail} ${S}`,style:{display:P?"none":"flex"},children:o.jsx("button",{type:"button",className:Qe.collapsedToggle,onClick:z,"aria-label":R,children:o.jsx(Mw,{path:T,width:18,height:18})})}):o.jsxs("div",{className:`${Qe.navbar} ${S}`,style:{width:$,backgroundColor:s,padding:c,display:P?"none":"flex",...w},children:[o.jsxs("div",{className:Qe.topSection,style:{gap:t},children:[A&&o.jsxs("div",{className:Qe.logoContainer,children:[o.jsx(wL,{...e}),V&&o.jsx("button",{type:"button",className:Qe.collapseToggle,onClick:z,"aria-label":R,children:o.jsx(Mw,{path:T,width:20,height:20})})]}),o.jsx("div",{className:Qe.sectionsContainer,style:{gap:i},children:n.map((ce,Me)=>o.jsxs("div",{className:Qe.section,children:[ce.title&&o.jsx("div",{className:Qe.sectionTitle,title:J(ce.a11yConfig,ce.titleKey),style:{fontSize:L,color:b,padding:v,fontWeight:C,border:"4px solid transparent",...u},children:ce.title}),o.jsx("div",{className:Qe.sectionItems,style:{gap:r},children:ce.items.map(re=>o.jsx(lC,{...re,isActive:re.isActive===null?re.isActive:Q===re.id,onClick:()=>{re.onClick&&re.onClick(),re.isActive==null&&E(re.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:l,padding:y,borderWidth:f,iconGap:g,fontSize:m,fontWeight:x,color:M,style:p},re.id))})]},Me))})]}),o.jsxs("div",{className:Qe.bottomSection,style:{gap:t},children:[o.jsx(zA,{...j,user:ie}),h&&o.jsx("div",{className:Qe.versionContainer,title:J(H,h),style:{fontSize:N,fontWeight:_,color:I},children:h})]})]})},K8e="_container_4qege_1",Z8e="_titleContainer_4qege_10",X8e="_title_4qege_10",Y8e="_inlineToggleContainer_4qege_24",J8e="_rightContentContainer_4qege_30",g1={container:K8e,titleContainer:Z8e,title:X8e,inlineToggleContainer:Y8e,rightContentContainer:J8e},Q8e=({className:e="",style:t,fontSize:n="20px",fontWeight:c="bold",color:i="#000",padding:r="0",margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,navItems:y,allNavItems:f,formatTitle:g=M=>M,rightContent:m,inlineToggle:x})=>{const{activeNav:M}=ft(),v=y.find(b=>b.id===M)||f?.find(b=>b.id===M),L=v?g(v.label):M||"";return L?o.jsxs("div",{className:`${g1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,...t},children:[o.jsxs("div",{className:g1.titleContainer,children:[o.jsx("div",{className:g1.title,style:{fontSize:n,fontWeight:c,color:i},children:L}),x&&o.jsx("div",{className:g1.inlineToggleContainer,children:x})]}),m&&o.jsx("div",{className:g1.rightContentContainer,children:m})]}):null},ege="_navItem_1hg26_1",tge="_navItemIcon_1hg26_21",age="_navItemLabel_1hg26_29",nge="_navItemCount_1hg26_36",oge="_navItemIndicator_1hg26_49",v1={navItem:ege,navItemIcon:tge,navItemLabel:age,navItemCount:nge,navItemIndicator:oge},VA=({a11yConfig:e,label:t,isActive:n,onClick:c,href:i,labelKey:r,icon:s,count:d,activeColor:l="#00aec7",inactiveColor:h="#666",activeBackgroundColor:u="transparent",countBackgroundColor:p,countColor:y="#fff",countBorderRadius:f="10px",countPadding:g="2px 6px",countFontSize:m="12px",countFontWeight:x="500",indicatorColor:M="#00aec7",indicatorHeight:v="3px",padding:L="8px 4px",fontSize:b="14px",fontWeight:C="500",gap:N="8px",style:_,className:I="",disabled:j=!1,onNavigate:w})=>{const S=()=>{j||(c?.(),i&&(w?w(i):window.location.href=i))};return o.jsxs("div",{className:`${v1.navItem} ${I}`,onClick:S,title:J(e,r),style:{gap:N,padding:L,color:n?l:h,backgroundColor:n?u:"transparent",fontSize:b,fontWeight:C,..._},children:[s&&o.jsx("span",{className:v1.navItemIcon,children:s}),o.jsx("span",{className:v1.navItemLabel,children:t}),d!==void 0&&o.jsx("span",{className:v1.navItemCount,style:{backgroundColor:p,color:y,borderRadius:f,padding:g,fontSize:m,fontWeight:x},children:d}),n&&!j&&o.jsx("div",{className:v1.navItemIndicator,style:{height:v,backgroundColor:M}})]})},cge="_container_13hsa_1",ige="_groupHeader_13hsa_8",rge="_groupHeaderLeft_13hsa_18",sge="_groupIcon_13hsa_23",dge="_dropdown_13hsa_29",lge="_item_13hsa_42",hge="_itemIcon_13hsa_65",uge="_chevron_13hsa_72",pge="_chevronOpen_13hsa_79",gt={container:cge,groupHeader:ige,groupHeaderLeft:rge,groupIcon:sge,dropdown:dge,item:lge,itemIcon:hge,chevron:uge,chevronOpen:pge},yge=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M480-344 240-584l43-43 197 197 197-197 43 43z"})),F1=k.memo(yge),PA=({groups:e,activeItemId:t,onItemClick:n,style:c,className:i,bgColor:r="transparent",color:s="var(--color-text)",headerBgColor:d="var(--color-indicator)",headerColor:l="var(--color-text)",headerBorderBottomColor:h="var(--color-border)",dropdownBgColor:u="var(--color-background)",itemBgColor:p="transparent",itemHoverBgColor:y="rgba(0,0,0,0.05)",itemColor:f="var(--color-text)",itemActiveColor:g="var(--color-primary)",itemActiveBorderColor:m="var(--color-primary)",itemDividerColor:x="var(--color-border)",iconColor:M="#555555",activeIconColor:v="var(--color-primary)",headerIconColor:L="var(--color-text)",chevronColor:b="var(--color-text)",iconSize:C=22,headerPadding:N="14px 20px",itemPadding:_="14px 20px",iconGap:I=14,borderRadius:j=0})=>{const[w,S]=k.useState(""),$=k.useRef(null);k.useEffect(()=>{const H=P=>{$.current&&!$.current.contains(P.target)&&S("")};return document.addEventListener("mousedown",H),()=>document.removeEventListener("mousedown",H)},[]);const A={backgroundColor:r,color:s,borderRadius:j,...c};return o.jsx("nav",{ref:$,className:[gt.container,i].filter(Boolean).join(" "),style:A,children:e.map(H=>{const P=w===H.id,V={backgroundColor:d,color:l,padding:N,borderBottom:`1px solid ${h}`,gap:I},q={backgroundColor:u};return o.jsxs("div",{children:[o.jsxs("div",{className:gt.groupHeader,style:V,onClick:()=>S(P?"":H.id),role:"button","aria-expanded":P,children:[o.jsxs("div",{className:gt.groupHeaderLeft,style:{gap:I},children:[H.icon&&o.jsx("span",{className:gt.groupIcon,style:{color:L,width:C,height:C},children:H.icon}),o.jsx("span",{children:H.label})]}),o.jsx("span",{className:[gt.chevron,P?gt.chevronOpen:""].join(" "),style:{color:b},children:o.jsx(F1,{width:18,height:18})})]}),P&&o.jsx("div",{className:gt.dropdown,style:q,children:H.items.map(z=>{const R=z.id===t,T={padding:_,gap:I,color:R?g:f,backgroundColor:p,"--item-border-width":R?"4px":"1px","--item-border-color":R?m:x};return o.jsxs("div",{className:gt.item,style:T,onClick:()=>{n?.(H.id,z.id),S("")},role:"menuitem",onMouseEnter:O=>{R||(O.currentTarget.style.backgroundColor=y)},children:[z.icon&&o.jsx("span",{className:gt.itemIcon,style:{color:R?v:M,width:C,height:C},children:z.icon}),o.jsx("span",{children:z.label})]},z.id)})})]},H.id)})})},kge="_subheaderContent_1glo8_1",mge="_navContainer_1glo8_11",fge="_rightContent_1glo8_45",Gb={subheaderContent:kge,navContainer:mge,rightContent:fge},gge=({subNavItems:e,backgroundColor:t="transparent",padding:n="0",margin:c,width:i,height:r="auto",border:s,borderBottom:d="none",itemGap:l="24px",actionsGap:h="16px",itemPadding:u="12px 0",itemFontSize:p="14px",itemFontWeight:y="500",activeItemColor:f="#00aec7",inactiveItemColor:g="#5c6975",indicatorHeight:m="3px",showDraggable:x=!1,showLegend:M=!1,showData:v=!1,className:L="",style:b,countBackgroundColor:C,countColor:N,countBorderRadius:_,countPadding:I,countFontSize:j,countFontWeight:w,navContainerClassName:S,navContainerStyle:$,rightContentClassName:A,rightContentStyle:H,rightActions:P,activeSwitcherColor:V,inactiveSwitcherColor:q,isMobile:z=!1,onNavigate:R})=>{const{activeSubNav:T,setActiveSubNav:O,navCounts:Q,activeNav:E}=ft();if(z){const U=e.find(ce=>ce.id===T)||e[0],ie=[{id:"current-group",label:U?.label||E?.toUpperCase()||"MENU",icon:U?.icon,items:e.map(ce=>({id:ce.id,label:ce.label,icon:ce.icon}))}];return o.jsx("div",{className:L,style:b,children:o.jsx(PA,{groups:ie,activeItemId:T,onItemClick:(ce,Me)=>{const re=e.find(ae=>ae.id===Me);re&&(re.onClick&&re.onClick(),re.href&&(R?R(re.href):re.onNavigate?re.onNavigate(re.href):window.location.href=re.href),O(Me))},headerBgColor:t})})}return o.jsxs("div",{className:`${Gb.subheaderContent} ${L}`,style:{backgroundColor:t,padding:n,margin:c,width:i,height:r,border:s,borderBottom:d,...b},children:[o.jsx("div",{className:`${Gb.navContainer} ${S||""}`,style:{gap:l,...$},children:e.map(U=>{const ie=U.count!==void 0?U.count:Q[U.id],ce=T===U.id||U.isActive;return o.jsx(VA,{...U,onNavigate:R||U.onNavigate,count:ie,isActive:ce,onClick:()=>{U.onClick&&U.onClick(),O(U.id)},activeColor:f,inactiveColor:g,countBackgroundColor:C,countColor:N,countBorderRadius:_,countPadding:I,countFontSize:j,countFontWeight:w,indicatorColor:f,indicatorHeight:m,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:U.style},U.id)})}),o.jsxs("div",{className:`${Gb.rightContent} ${A||""}`,style:{gap:h,...H},children:[x&&o.jsx(kL,{size:20,colors:{bg:V,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),M&&o.jsx(mL,{size:20,colors:{bg:V,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),v&&o.jsx(fL,{size:20,colors:{bg:V,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),P]})]})},vge=({onSwitch:e,size:t="20px",lightIconColor:n="#666",darkIconColor:c="#fff",backgroundColor:i="transparent",padding:r="8px",borderRadius:s="50%",style:d,className:l=""})=>{const[h,u]=k.useState(!1),{currentTheme:p,switchTheme:y}=CL(),f=p!="dark",g=()=>{y(f?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!h||!p?o.jsx(o.Fragment,{}):o.jsx("div",{className:`theme-switcher ${l}`,onClick:g,style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:i,padding:r,borderRadius:s,transition:"all 0.3s ease",...d},children:f?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"})]})})},xge=({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 l={...c,sortBy:s,sortOrder:d};i(l),n(s,d)},[c,n]);return{tableState:c,handleSort:r}},Mge=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z"})),_ge=k.memo(Mge),Lge=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z"})),Ige=k.memo(Lge),bge=({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,l=!!r.sortable;return o.jsx("th",{className:`${r.className||""}${l?" sortable":""}`,style:{width:r.width,textAlign:r.align||"left"},onClick:()=>l&&c(String(r.key)),title:J(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}),l&&o.jsx("span",{className:"sort-icon-container",style:{display:"inline-flex",alignItems:"center"},children:d&&n==="asc"?o.jsx(Ige,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):o.jsx(_ge,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),wge=({data:e,columns:t,rowKey:n,onRowClick:c,isLoading:i,text:r,rowStyle:s,rowClassName:d,renderSeparator:l})=>!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((h,u)=>{const p=h[n],y=typeof p=="string"||typeof p=="number"?p:u,f=l?l(h):null;return o.jsx("tr",{onClick:()=>c&&c(h),style:{cursor:c?"pointer":"default",...s?s(h):{}},className:d?d(h,u):"",children:f?o.jsx("td",{colSpan:t.length,children:f}):t.map((g,m)=>o.jsx("td",{style:{width:g.width,textAlign:g.align||"left"},className:g.className,children:g.render?g.render(h):h[g.key]},`${String(g.key)}-${m}`))},y)})}),Cge=({state:e,onPaginationChange:t,onLoadMore:n,infiniteScroll:c,hasMore:i,text:r,isLoading:s,pageSizeOptions:d})=>{const{page:l,pageSize:h,total:u}=e,p=h===-1?u:h,y=Math.ceil(u/p)||1,f=Math.min(Math.max(1,l),y),g=u===0?0:(f-1)*p+1,m=Math.min(f*p,u),x=b=>{t({page:b})},M=k.useMemo(()=>{if(y<=6)return Array.from({length:y},($,A)=>A+1);const N=Math.max(f-1,1),_=Math.min(f+1,y),I=N>2,j=_<y-2,w=1,S=y;if(!I&&j)return[...Array.from({length:5},(H,P)=>P+1),"...",y];if(I&&!j){const A=Array.from({length:5},(H,P)=>y-5+P+1);return[w,"...",...A]}if(I&&j){const $=Array.from({length:_-N+1},(A,H)=>N+H);return[w,"...",...$,"...",S]}return[]},[f,y]),v=!!(d&&d.length>0),L=!c&&h!==-1&&y>1&&o.jsxs("div",{className:"pagination-controls",children:[o.jsx("button",{className:"pagination-btn",onClick:()=>x(1),disabled:f===1,title:r?.first||"Premier",children:"<<"}),o.jsx("button",{className:"pagination-btn",onClick:()=>x(f-1),disabled:f===1,title:r?.previous||"Précédent",children:"<"}),(M||[]).map((b,C)=>b==="..."?o.jsx("span",{style:{padding:"0 4px",color:"var(--table-text-muted)"},children:"..."},C):o.jsx("button",{className:`pagination-btn ${b===f?"active":""}`,onClick:()=>x(b),children:b},C)),o.jsx("button",{className:"pagination-btn",onClick:()=>x(f+1),disabled:f===y,title:r?.next||"Suivant",children:">"}),o.jsx("button",{className:"pagination-btn",onClick:()=>x(y),disabled:f===y,title:r?.last||"Dernier",children:">>"})]});return o.jsxs("div",{className:"table-pagination",children:[o.jsx("div",{className:"pagination-summary",children:u>0?o.jsx("span",{children:r?.itemsRange?r.itemsRange(g,m,u):o.jsxs(o.Fragment,{children:[o.jsxs("b",{children:[g,"–",m]})," ",r?.of||"sur"," ",o.jsx("b",{children:u.toLocaleString()})," ",r?.items||"éléments"]})}):o.jsx("span",{children:r?.noResults||"0 résultats"})}),v?o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"pagination-center",children:L}),o.jsxs("div",{className:"pagination-pagesize",children:[o.jsx("label",{htmlFor:"table-pagination-pagesize",children:r?.perPage||"Par page"}),o.jsx("select",{id:"table-pagination-pagesize",value:h,onChange:b=>t({pageSize:Number(b.target.value),page:1}),children:(d||[]).map(b=>o.jsx("option",{value:b,children:b},b))})]})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"pagination-spacer"}),L]}),!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"})})]})},hC=({data:e,columns:t,isLoading:n,pagination:c,onPaginationChange:i,onSortChange:r,rowKey:s,loaderSize:d=40,stickyHeader:l=!0,height:h,minHeight:u="200px",text:p,onLoadMore:y,infiniteScroll:f,hasMore:g,tableState:m,className:x,style:M,rowStyle:v,onRowClick:L,rowClassName:b,titleKey:C,removeLabelSpan:N=!1,a11yConfig:_,renderSeparator:I,pageSizeOptions:j})=>{const w=k.useMemo(()=>({...p}),[p]),S=k.useRef(null);k.useEffect(()=>{if(!f||!y||!g||n)return;const q=new IntersectionObserver(z=>{z[0].isIntersecting&&y()},{threshold:.1});return S.current&&q.observe(S.current),()=>q.disconnect()},[f,y,g,n]);const{tableState:$,handleSort:A}=xge({initialSortBy:null,onSortChange:r}),H=(m?.sortBy!==void 0?m.sortBy:$.sortBy)??void 0,P=m?.sortOrder!==void 0?m.sortOrder:$.sortOrder,V=q=>{const z=H,R=P;let T="asc";z===q&&(T=R==="asc"?"desc":"asc"),m?.sortBy!==void 0?r(q,T):A(q)};return o.jsxs("div",{className:`table-container ${x||""}`,style:M,title:J(_,C),children:[o.jsxs("div",{className:"table-frame",style:{height:h??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 ${l?"sticky-header":""}`,children:[o.jsxs("table",{className:"data-table",children:[o.jsx(bge,{columns:t,sortBy:H,sortOrder:P,onSort:V,removeLabelSpan:N}),o.jsx(wge,{data:e,columns:t.map(q=>({...q,render:q.render?z=>q.render(z,{}):void 0})),rowKey:s,onRowClick:L,isLoading:n,text:w,rowStyle:typeof v=="function"?v:v?()=>v:void 0,rowClassName:b,renderSeparator:I})]}),f&&o.jsx("div",{ref:S,style:{height:20,margin:10}})]})]}),o.jsx(Cge,{state:c,onPaginationChange:i,text:w,onLoadMore:y,infiniteScroll:f,hasMore:g,isLoading:n,pageSizeOptions:j})]})};function TA(e,t,n,c,i,r,s){e.forEach(d=>{const l=d[n],h=d[t]??[],u=h.length>0,p=c.has(l);r.set(l,{level:i,hasChildren:u,isExpanded:p}),s.push(d),u&&p&&TA(h,t,n,c,i+1,r,s)})}const Nge=({data:e,columns:t,rowKey:n,childrenKey:c="children",treeColumnKey:i,defaultExpandedKeys:r,expandedKeys:s,onExpandedKeysChange:d,indent:l=20,showFooter:h=!0,pagination:u,onPaginationChange:p,colors:y,rowClassName:f,...g})=>{const[m,x]=k.useState(()=>new Set(r)),M=s!==void 0,v=k.useMemo(()=>M?new Set(s):m,[M,s,m]),L=w=>{const S=new Set(v);S.has(w)?S.delete(w):S.add(w),M?d?.(Array.from(S)):x(S)},b=k.useMemo(()=>{if(!u||u.pageSize===-1)return e;const w=(u.page-1)*u.pageSize;return e.slice(w,w+u.pageSize)},[e,u]),{rows:C,meta:N}=k.useMemo(()=>{const w=new Map,S=[];return TA(b,c,n,v,0,w,S),{rows:S,meta:w}},[b,c,n,v]),_=k.useMemo(()=>t.reduce((w,S)=>{const $=S.width?parseInt(S.width,10):NaN;return w+(Number.isFinite($)?$:140)},0),[t]),I=k.useMemo(()=>t.map(w=>w.key!==i?w:{...w,render:S=>{const $=S[n],{level:A,hasChildren:H,isExpanded:P}=N.get($)??{level:0,hasChildren:!1,isExpanded:!1},V=w.render?w.render(S):S[w.key];return o.jsxs("span",{className:"htl-cell",style:{paddingLeft:A*l},children:[H?o.jsx("button",{type:"button",className:"htl-toggle",onClick:q=>{q.stopPropagation(),L($)},children:o.jsx(qA,{width:16,height:16,style:{fill:"currentColor",transform:P?"rotate(0deg)":"rotate(-90deg)",transition:"transform 0.15s ease"}})}):o.jsx("span",{className:"htl-toggle-spacer"}),V]})}}),[t,i,N,l,n]),j=(w,S)=>{const $=w[n],{level:A,hasChildren:H,isExpanded:P}=N.get($)??{level:0,hasChildren:!1,isExpanded:!1},V=["htl-row"];return A===0?(V.push("htl-root"),H&&P&&V.push("htl-root-expanded")):H&&V.push("htl-group"),f&&V.push(f(w,S,A)),V.join(" ")};return o.jsx("div",{className:`htl-wrapper ${h?"":"htl-no-footer"}`,style:{"--htl-active-bg":y?.activeRowBackground,"--htl-nested-bg":y?.groupRowBackground,"--htl-toggle-color":y?.toggleIconColor,"--htl-root-color":y?.rootTextColor,"--htl-table-min-width":`${_}px`},children:o.jsx(hC,{...g,data:C,columns:I,rowKey:n,rowClassName:j,pagination:u??{page:1,pageSize:C.length||1,total:C.length},onPaginationChange:p??(()=>{})})})},Sge="_datePickerContainer_1lcer_3",jge="_label_1lcer_16",$ge="_displayNode_1lcer_23",qge="_datePickerButton_1lcer_30",Age="_datePickerButtonDisabled_1lcer_50",zge="_datePickerButtonOpen_1lcer_59",Vge="_datePickerLabel_1lcer_68",Pge="_placeholder_1lcer_79",Tge="_trailingIcons_1lcer_83",Hge="_chevron_1lcer_89",Dge="_clearButton_1lcer_97",Bge="_errorMessage_1lcer_114",Rge="_dropdown_1lcer_119",Fge="_calendarHeader_1lcer_143",Ege="_navButton_1lcer_152",Oge="_headerSelectors_1lcer_171",Uge="_monthSelector_1lcer_179",Wge="_yearSelector_1lcer_180",Gge="_selectorButton_1lcer_184",Kge="_selectorChevron_1lcer_201",Zge="_selectorChevronOpen_1lcer_206",Xge="_monthDropdown_1lcer_210",Yge="_yearDropdown_1lcer_211",Jge="_monthItem_1lcer_231",Qge="_yearItem_1lcer_232",e7e="_monthItemSelected_1lcer_254",t7e="_yearItemSelected_1lcer_255",a7e="_weekdays_1lcer_259",n7e="_weekday_1lcer_259",o7e="_calendarGrid_1lcer_275",c7e="_dateCell_1lcer_284",i7e="_dateCellSelected_1lcer_307",r7e="_dateCellOtherMonth_1lcer_311",s7e="_dateCellOtherMonthSelected_1lcer_315",d7e="_calendarFooter_1lcer_319",l7e="_cancelButton_1lcer_327",h7e="_applyButton_1lcer_328",u7e="_timePickerContainer_1lcer_372",p7e="_timeGroup_1lcer_381",y7e="_timeLabel_1lcer_388",k7e="_timeInputWrapper_1lcer_394",m7e="_timeInput_1lcer_394",f7e="_timeSeparator_1lcer_422",X={datePickerContainer:Sge,label:jge,displayNode:$ge,datePickerButton:qge,datePickerButtonDisabled:Age,datePickerButtonOpen:zge,datePickerLabel:Vge,placeholder:Pge,trailingIcons:Tge,chevron:Hge,clearButton:Dge,errorMessage:Bge,dropdown:Rge,calendarHeader:Fge,navButton:Ege,headerSelectors:Oge,monthSelector:Uge,yearSelector:Wge,selectorButton:Gge,selectorChevron:Kge,selectorChevronOpen:Zge,monthDropdown:Xge,yearDropdown:Yge,monthItem:Jge,yearItem:Qge,monthItemSelected:e7e,yearItemSelected:t7e,weekdays:a7e,weekday:n7e,calendarGrid:o7e,dateCell:c7e,dateCellSelected:i7e,dateCellOtherMonth:r7e,dateCellOtherMonthSelected:s7e,calendarFooter:d7e,cancelButton:l7e,applyButton:h7e,timePickerContainer:u7e,timeGroup:p7e,timeLabel:y7e,timeInputWrapper:k7e,timeInput:m7e,timeSeparator:f7e},g7e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"m336-280 144-144 144 144 56-56-144-144 144-144-56-56-144 144-144-144-56 56 144 144-144 144zM480-80q-83 0-156-31.5T197-197t-85.5-127T80-480t31.5-156T197-763t127-85.5T480-880t156 31.5T763-763t85.5 127T880-480t-31.5 156T763-197t-127 85.5T480-80m0-80q134 0 227-93t93-227-93-227-227-93-227 93-93 227 93 227 227 93m0-320"})),v7e=k.memo(g7e),Dj=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],x7e=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],Lw=({value:e,onChange:t,label:n,placeholder:c="Sélectionner une date...",className:i="",fullWidth:r=!0,disabled:s=!1,error:d,buttonHeight:l="2.75rem",buttonPadding:h="0.75rem 1rem 0.75rem 1rem",dropdownMaxHeight:u="auto",fontSize:p="0.875rem",iconSize:y="1.5rem",labelMarginBottom:f="0.5rem",errorMarginTop:g="0.25rem",dropdownMarginTop:m="0.25rem",itemPadding:x="0.5rem 0.75rem",fontWeight:M="400",buttonBgColor:v,buttonBorderColor:L,buttonTextColor:b,dropdownBgColor:C="var(--color-card-background, #ffffff)",itemHoverColor:N,selectedItemBgColor:_,iconColor:I,errorColor:j,labelColor:w,placeholderColor:S,borderRadius:$="var(--radius-content)",borderWidth:A="0.0625rem",boxShadow:H="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:P="0.2s",transitionTiming:V="ease",dateCellSize:q="2.5rem",headerTextColor:z="var(--color-text, #6c757d)",weekdayTextColor:R="color-mix(in srgb, var(--color-text, #6c757d) 70%, transparent)",currentMonthDateColor:T="var(--color-text, #212529)",otherMonthDateColor:O="color-mix(in srgb, var(--color-text, #adb5bd) 55%, transparent)",selectedDateBgColor:Q="var(--color-primary, #00A6D9)",selectedDateTextColor:E="var(--color-text-on-primary, #ffffff)",cancelButtonBgColor:U="var(--color-switcher-background, #e9ecef)",cancelButtonTextColor:ie="var(--color-text, #212529)",applyButtonBgColor:ce="var(--color-primary, #00A6D9)",applyButtonTextColor:Me="var(--color-text-on-primary, #ffffff)",actionButtonPadding:re,actionButtonFontSize:ae,width:ne,displayNode:le=void 0,displayMode:pe="auto",displayNodeAriaLabel:me,dropdownPosition:W="auto",dropdownAlignment:Y="right",dropdownWidth:se,withBorder:$e=!1,icon:Re,precision:ve="day",horizontalTimePicker:je=!1,hoursLabel:Bc="Heures",minutesLabel:u1="Minutes",lowerLimit:oe=null,upperLimit:we=null,strictTimeLimits:BL=!1,outOfLimitsMessage:Ie="La date/heure choisie est hors des limites autorisées",months:Ct,weekdays:ZA,cancelText:XA="Annuler",applyText:YA="Appliquer",prevMonthAriaLabel:JA="Mois précédent",nextMonthAriaLabel:QA="Mois suivant",calendarAriaLabel:ez="Sélecteur de date",openedAriaLabel:tz="Ouvrir le sélecteur de date",selectedDateAriaLabel:az="Date sélectionnée: ",rotateIcon:nz=!0,clearable:oz=!1,clearAriaLabel:cz="Effacer la date"})=>{const Nt=D=>{if(D instanceof Date)return isNaN(D.getTime())?null:D;if(typeof D=="string"&&D){const K=new Date(D);return isNaN(K.getTime())?null:K}return null},[Ke,Ft]=k.useState(!1),[p1,iz]=k.useState({top:0,left:0,width:0}),[uC,rz]=k.useState("bottom"),[pC,sz]=k.useState(null),[ue,y1]=k.useState(Nt(e)||new Date),[k1,RL]=k.useState(Nt(e)),[ei,FL]=k.useState(Nt(e)?.getHours()??0),[ti,EL]=k.useState(Nt(e)?.getMinutes()??0),[OL,Rc]=k.useState(!1),[UL,Fc]=k.useState(!1),WL=k.useRef(null),Ec=k.useRef(null),yC=k.useRef(null),GL=k.useRef(null),KL=k.useRef(null),kC=k.useRef(Nt(e)?.getTime());k.useEffect(()=>{const D=Nt(e),K=D?.getTime();K!==kC.current&&(kC.current=K,RL(D),D&&(y1(D),FL(D.getHours()),EL(D.getMinutes())))},[e]);const mC=k.useCallback(()=>{if(Ec.current){const D=Ec.current.getBoundingClientRect();iz({top:D.top,left:D.left,width:D.width})}},[]),fC=8,ai=k.useCallback(()=>{if(!Ec.current)return;const D=Ec.current.getBoundingClientRect(),K=(parseFloat(m.replace("rem",""))||0)*16,_e=D.top-K-fC,He=window.innerHeight-D.bottom-K-fC;let Ve;if(W!=="auto")Ve=W;else{const Fe=yC.current?.scrollHeight??0;Ve=Fe<=He?"bottom":Fe<=_e||_e>He?"top":"bottom"}rz(Fe=>Fe===Ve?Fe:Ve),sz(Math.max(Ve==="bottom"?He:_e,0))},[W,m]),Oc=k.useCallback(()=>{mC(),ai()},[mC,ai]);k.useEffect(()=>(Ke&&(Oc(),window.addEventListener("scroll",Oc,!0),window.addEventListener("resize",Oc)),()=>{window.removeEventListener("scroll",Oc,!0),window.removeEventListener("resize",Oc)}),[Ke,Oc]),k.useLayoutEffect(()=>{Ke&&ai()},[Ke,ai]),k.useEffect(()=>{const D=K=>{if(WL.current&&!WL.current.contains(K.target)){const _e=document.getElementById("datepicker-dropdown");if(_e&&_e.contains(K.target))return;Ft(!1),Rc(!1),Fc(!1)}GL.current&&!GL.current.contains(K.target)&&Rc(!1),KL.current&&!KL.current.contains(K.target)&&Fc(!1)};return document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D)},[]);const gC=D=>new Date(D.getFullYear(),D.getMonth()+1,0).getDate(),dz=D=>{const K=new Date(D.getFullYear(),D.getMonth(),1).getDay();return K===0?6:K-1},lz=()=>{const D=[],K=dz(ue),_e=gC(ue),He=new Date(ue.getFullYear(),ue.getMonth()-1,1),Ve=gC(He);for(let Ne=K-1;Ne>=0;Ne--)D.push(new Date(ue.getFullYear(),ue.getMonth()-1,Ve-Ne));for(let Ne=1;Ne<=_e;Ne++)D.push(new Date(ue.getFullYear(),ue.getMonth(),Ne));const Fe=42-D.length;for(let Ne=1;Ne<=Fe;Ne++)D.push(new Date(ue.getFullYear(),ue.getMonth()+1,Ne));return D},hz=(D,K)=>!D||!K?!1:D.getDate()===K.getDate()&&D.getMonth()===K.getMonth()&&D.getFullYear()===K.getFullYear(),uz=D=>D.getMonth()===ue.getMonth()&&D.getFullYear()===ue.getFullYear(),ni=BL?D=>Math.floor(D.getTime()/6e4)*6e4:D=>new Date(D.getFullYear(),D.getMonth(),D.getDate()).getTime(),vC=D=>!(oe&&ni(D)<ni(oe)||we&&ni(D)>ni(we)),xC=k1?(()=>{const D=new Date(k1);return D.setHours(ei),D.setMinutes(ti),D})():null,Uc=xC?!vC(xC):!1,oi=new Date(ue.getFullYear(),ue.getMonth()-1,1),ci=new Date(ue.getFullYear(),ue.getMonth()+1,1),ZL=!!(oe&&(oi.getFullYear()<oe.getFullYear()||oi.getFullYear()===oe.getFullYear()&&oi.getMonth()<oe.getMonth())),XL=!!(we&&(ci.getFullYear()>we.getFullYear()||ci.getFullYear()===we.getFullYear()&&ci.getMonth()>we.getMonth())),pz=()=>{ZL||y1(oi)},yz=()=>{XL||y1(ci)},kz=D=>{if(!s){const K=new Date(D);K.setHours(ei),K.setMinutes(ti),RL(K)}},mz=()=>{if(!s){if(k1){const D=new Date(k1);if(D.setHours(ei),D.setMinutes(ti),!vC(D))return;t(D)}else t(null);Ft(!1)}},fz=()=>{const D=Nt(e);RL(D),D&&(FL(D.getHours()),EL(D.getMinutes())),Ft(!1)},gz=D=>{y1(new Date(ue.getFullYear(),D,1)),Rc(!1)},vz=D=>{y1(new Date(D,ue.getMonth(),1)),Fc(!1)},xz=()=>{const D=ue.getFullYear(),K=oe?oe.getFullYear():D-10,_e=we?we.getFullYear():D+10,He=[];for(let Ve=K;Ve<=_e;Ve++)He.push(Ve);return He},Mz=D=>{const K=ue.getFullYear();return!!(oe&&(K<oe.getFullYear()||K===oe.getFullYear()&&D<oe.getMonth())||we&&(K>we.getFullYear()||K===we.getFullYear()&&D>we.getMonth()))},_z=D=>{if(!s)switch(D.key){case"Enter":case" ":D.preventDefault(),Ft(!Ke);break;case"Escape":Ft(!1),Rc(!1),Fc(!1);break;case"Tab":Ke&&(Ft(!1),Rc(!1),Fc(!1));break}},Lz={width:ne||(r?"100%":"auto"),fontSize:p,fontWeight:M},Iz={height:l,padding:h,backgroundColor:v||"var(--color-card-background, #ffffff)",border:$e?void 0:"none",borderColor:d?j||"#dc3545":L||"var(--color-border, #dee2e6)",color:b||"var(--color-text, #212529)",borderRadius:$,borderWidth:A,fontWeight:M,transition:`all ${P} ${V}`},bz=je?{flexDirection:"column",borderTop:"none",borderLeft:"1px solid var(--color-border, #eee)"}:{},wz=je?{flex:1,minWidth:0}:void 0,Cz=je?{display:"flex",flexDirection:"row",alignItems:"stretch"}:void 0,Nz={backgroundColor:C||"var(--color-card-background, #ffffff)",maxHeight:u==="auto"?pC!=null?`${pC}px`:void 0:u,overflowY:"auto",borderRadius:$,borderWidth:A,boxShadow:H,transition:`opacity ${P} ${V}, transform ${P} ${V}`,position:"fixed",top:uC==="bottom"?p1.top+(Ec.current?.offsetHeight||0)+parseFloat(m.replace("rem",""))*16:"auto",bottom:uC==="top"?window.innerHeight-p1.top+parseFloat(m.replace("rem",""))*16:"auto",left:Y==="left"?p1.left:"auto",right:Y==="right"?window.innerWidth-(p1.left+p1.width):"auto",width:se||"30vw",minWidth:se?void 0:0,zIndex:10001},MC={width:y,height:y,color:I||"var(--color-text, #6c757d)","--icon-rotation":nz&&Ke?"rotate(180deg)":"rotate(0deg)"},Sz={color:w||"var(--color-text, #212529)",marginBottom:f,fontWeight:M},jz={color:S||"color-mix(in srgb, var(--color-text, #6c757d) 60%, transparent)"},$z={color:j||"#dc3545",marginTop:g},qz=lz(),ot=Nt(e),_C=D=>`${D.getDate().toString().padStart(2,"0")}/${(D.getMonth()+1).toString().padStart(2,"0")}/${D.getFullYear()}`,LC=ot?ve==="minutes"?`${_C(ot)} ${ot.getHours().toString().padStart(2,"0")}:${ot.getMinutes().toString().padStart(2,"0")}`:_C(ot):"",IC=!!le&&(pe==="icon"||pe==="auto"&&!ot),Az=oz&&!IC&&!!ot&&!s,zz={width:"0.875rem",height:"0.875rem",color:I||"var(--color-text, #6c757d)"},Vz=me||(ot?`${az}${LC}`:tz);return o.jsxs("div",{className:`${X.datePickerContainer} ${i}`,ref:WL,style:Lz,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&o.jsx("label",{className:X.label,style:Sz,children:n}),o.jsxs("button",{ref:Ec,type:"button",onClick:()=>!s&&Ft(!Ke),onKeyDown:_z,className:`
8337
+ ${X.datePickerButton}
8338
+ ${Ke?X.datePickerButtonOpen:""}
8339
+ ${s?X.datePickerButtonDisabled:""}
8340
+ `,style:Iz,disabled:s,"aria-expanded":Ke,"aria-haspopup":"dialog","aria-label":Vz,"aria-labelledby":n?`${n}-label`:void 0,children:[IC?o.jsx("span",{className:X.displayNode,"aria-hidden":!0,children:le}):o.jsx("span",{className:`${X.datePickerLabel} ${ot?"":X.placeholder}`,style:ot?void 0:jz,children:ot?LC:c}),o.jsxs("span",{className:X.trailingIcons,children:[Az&&o.jsx("span",{role:"button",tabIndex:0,className:X.clearButton,"aria-label":cz,onClick:D=>{D.stopPropagation(),t(null)},onKeyDown:D=>{(D.key==="Enter"||D.key===" ")&&(D.preventDefault(),D.stopPropagation(),t(null))},children:o.jsx(v7e,{fill:"var(--color-text)",style:zz})}),Re?o.jsx("span",{className:X.chevron,style:MC,children:Re}):o.jsx(F1,{fill:"var(--color-text)",className:`${X.chevron} ${Ke?X.chevronOpen:""}`,style:MC})]})]}),d&&o.jsx("div",{className:X.errorMessage,style:$z,children:d}),Ke&&!s&&Iw.createPortal(o.jsxs("div",{id:"datepicker-dropdown",ref:yC,className:X.dropdown,style:Nz,role:"dialog","aria-label":ez,children:[o.jsxs("div",{style:Cz,children:[o.jsxs("div",{style:wz,children:[o.jsxs("div",{className:X.calendarHeader,children:[o.jsx("button",{type:"button",className:X.navButton,onClick:pz,"aria-label":JA,disabled:ZL,style:ZL?{opacity:.3,cursor:"not-allowed"}:void 0,children:"‹"}),o.jsxs("div",{className:X.headerSelectors,children:[o.jsxs("div",{className:X.monthSelector,ref:GL,children:[o.jsxs("button",{type:"button",className:X.selectorButton,onClick:()=>Rc(!OL),style:{color:z,"--hover-color":N},children:[(Ct||Dj)[ue.getMonth()],o.jsx(F1,{fill:"var(--color-text)",className:`${X.selectorChevron} ${OL?X.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),OL&&o.jsx("div",{className:X.monthDropdown,children:(Ct||Dj).map((D,K)=>{const _e=Mz(K);return o.jsx("button",{type:"button",disabled:_e,className:`${X.monthItem} ${ue.getMonth()===K?X.monthItemSelected:""}`,onClick:()=>!_e&&gz(K),style:{padding:x,backgroundColor:ue.getMonth()===K?_||"var(--color-lite-primary, #e7f1ff)":C,opacity:_e?.3:1,cursor:_e?"not-allowed":"pointer"},onMouseEnter:He=>{N&&ue.getMonth()!==K&&!_e&&(He.currentTarget.style.backgroundColor=N)},onMouseLeave:He=>{N&&(He.currentTarget.style.backgroundColor=ue.getMonth()===K?_||"var(--color-lite-primary, #e7f1ff)":C)},children:D},K)})})]}),o.jsxs("div",{className:X.yearSelector,ref:KL,children:[o.jsxs("button",{type:"button",className:X.selectorButton,onClick:()=>Fc(!UL),style:{color:z,"--hover-color":N},children:[ue.getFullYear(),o.jsx(F1,{fill:"var(--color-text)",className:`${X.selectorChevron} ${UL?X.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),UL&&o.jsx("div",{className:X.yearDropdown,children:xz().map(D=>o.jsx("button",{type:"button",className:`${X.yearItem} ${ue.getFullYear()===D?X.yearItemSelected:""}`,onClick:()=>vz(D),style:{padding:x,backgroundColor:ue.getFullYear()===D?_||"var(--color-lite-primary, #e7f1ff)":C},onMouseEnter:K=>{N&&ue.getFullYear()!==D&&(K.currentTarget.style.backgroundColor=N)},onMouseLeave:K=>{N&&(K.currentTarget.style.backgroundColor=ue.getFullYear()===D?_||"var(--color-lite-primary, #e7f1ff)":C)},children:D},D))})]})]}),o.jsx("button",{type:"button",className:X.navButton,onClick:yz,"aria-label":QA,disabled:XL,style:XL?{opacity:.3,cursor:"not-allowed"}:void 0,children:"›"})]}),o.jsx("div",{className:X.weekdays,children:(ZA||x7e).map(D=>o.jsx("div",{className:X.weekday,style:{color:R},children:D},D))}),o.jsx("div",{className:X.calendarGrid,children:qz.map((D,K)=>{if(!D)return null;const _e=hz(D,k1),He=uz(D),Ve=Ne=>new Date(Ne.getFullYear(),Ne.getMonth(),Ne.getDate()).getTime(),Fe=!!(oe&&Ve(D)<Ve(oe)||we&&Ve(D)>Ve(we));return o.jsx("button",{type:"button",className:`${X.dateCell} ${_e?X.dateCellSelected:""} ${_e?X.dateCellOtherMonthSelected:""} ${He?"":X.dateCellOtherMonth} ${Fe?X.dateCellDisabled:""}`,onClick:()=>!Fe&&kz(D),disabled:Fe,style:{width:q,height:q,color:_e?E:He?T:O,backgroundColor:_e?Q:"transparent",opacity:Fe?.4:1,cursor:Fe?"not-allowed":"pointer"},onMouseEnter:Ne=>{!_e&&!Fe&&N&&(Ne.currentTarget.style.backgroundColor=N)},onMouseLeave:Ne=>{_e||(Ne.currentTarget.style.backgroundColor="transparent")},children:D.getDate()},K)})})]}),ve==="minutes"&&o.jsxs("div",{className:X.timePickerContainer,style:bz,children:[o.jsxs("div",{className:X.timeGroup,children:[o.jsx("span",{className:X.timeLabel,children:Bc}),o.jsx("div",{className:X.timeInputWrapper,children:o.jsx("input",{type:"number",min:"0",max:"23",value:ei,onChange:D=>{const K=parseInt(D.target.value);!isNaN(K)&&K>=0&&K<=23&&FL(K)},className:X.timeInput,style:Uc?{borderColor:"#dc2626",color:"#dc2626"}:void 0})})]}),!je&&o.jsx("span",{className:X.timeSeparator,children:":"}),o.jsxs("div",{className:X.timeGroup,children:[o.jsx("span",{className:X.timeLabel,children:u1}),o.jsx("div",{className:X.timeInputWrapper,children:o.jsx("input",{type:"number",min:"0",max:"59",value:ti,onChange:D=>{const K=parseInt(D.target.value);!isNaN(K)&&K>=0&&K<=59&&EL(K)},className:X.timeInput,style:Uc?{borderColor:"#dc2626",color:"#dc2626"}:void 0})})]})]})]}),Uc&&o.jsx("div",{role:"alert",style:{color:"#dc2626",fontSize:"0.75rem",padding:"0 4px 4px",textAlign:"center"},children:Ie}),o.jsxs("div",{className:X.calendarFooter,children:[o.jsx("button",{type:"button",className:X.cancelButton,onClick:fz,style:{backgroundColor:U,color:ie,borderRadius:$,padding:re??x,fontSize:ae},children:XA}),o.jsx("button",{type:"button",className:X.applyButton,onClick:mz,disabled:Uc,style:{backgroundColor:ce,color:Me,borderRadius:$,padding:re??x,fontSize:ae,opacity:Uc?.5:1,cursor:Uc?"not-allowed":"pointer"},children:YA})]})]}),document.body)]})},M7e="_selectContainer_1ptm9_1",_7e="_label_1ptm9_15",L7e="_selectButton_1ptm9_23",I7e="_selectButtonDisabled_1ptm9_43",b7e="_selectButtonOpen_1ptm9_48",w7e="_selectButtonContent_1ptm9_58",C7e="_selectIcon_1ptm9_66",N7e="_selectLabel_1ptm9_72",S7e="_placeholder_1ptm9_79",j7e="_chevron_1ptm9_84",$7e="_errorMessage_1ptm9_93",q7e="_dropdown_1ptm9_99",A7e="_dropdownContent_1ptm9_123",z7e="_item_1ptm9_129",V7e="_itemSelected_1ptm9_151",P7e="_itemContent_1ptm9_155",T7e="_itemIcon_1ptm9_162",H7e="_itemLabel_1ptm9_168",Se={selectContainer:M7e,label:_7e,selectButton:L7e,selectButtonDisabled:I7e,selectButtonOpen:b7e,selectButtonContent:w7e,selectIcon:C7e,selectLabel:N7e,placeholder:S7e,chevron:j7e,errorMessage:$7e,dropdown:q7e,dropdownContent:A7e,item:z7e,itemSelected:V7e,itemContent:P7e,itemIcon:T7e,itemLabel:H7e},HA=({items:e,value:t,onChange:n,label:c,placeholder:i="Sélectionner...",className:r="",fullWidth:s=!0,disabled:d=!1,error:l,buttonHeight:h="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:f,iconSize:g="var(--select-icon-size, 1.5rem)",labelMarginBottom:m="var(--select-label-margin-bottom, 0.5rem)",errorMarginTop:x="var(--select-error-margin-top, 0.25rem)",dropdownMarginTop:M="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:b,buttonBorderColor:C,buttonTextColor:N,dropdownBgColor:_,itemHoverColor:I,selectedItemBgColor:j,iconColor:w,errorColor:S,labelColor:$,placeholderColor:A,border:H,borderRadius:P="var(--select-border-radius, 0.5rem)",borderWidth:V="var(--select-border-width, 0.0625rem)",boxShadow:q="var(--select-box-shadow, 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1))",transitionDuration:z="var(--select-transition-duration, 0.2s)",transitionTiming:R="var(--select-transition-timing, ease)",scrollbarWidth:T="var(--select-scrollbar-width, 0.375rem)",scrollbarTrackColor:O="var(--select-scrollbar-track-color, #f1f1f1)",scrollbarThumbColor:Q="var(--select-scrollbar-thumb-color, #c1c1c1)",width:E,minWidth:U,dropdownPosition:ie="bottom",dropdownAlignment:ce="right",dropdownWidth:Me,a11yConfig:re,titleKey:ae})=>{const[ne,le]=k.useState(!1),pe=k.useRef(null),me=e.find(Ie=>Ie.value===t);k.useEffect(()=>{const Ie=Ct=>{pe.current&&!pe.current.contains(Ct.target)&&le(!1)};return document.addEventListener("mousedown",Ie),()=>document.removeEventListener("mousedown",Ie)},[]);const W=Ie=>{d||(n(Ie),le(!1))},Y=Ie=>{if(!d)switch(Ie.key){case"Enter":case" ":Ie.preventDefault(),le(!ne);break;case"Escape":le(!1);break;case"Tab":ne&&le(!1);break}},se={width:E||(s?"100%":"auto"),minWidth:U,fontSize:y},$e={height:h,padding:u,backgroundColor:b||"var(--select-button-bg-color, #ffffff)",border:H,borderColor:l?S||"var(--select-error-color, #dc3545)":C||"var(--select-button-border-color, #dee2e6)",color:N||"var(--select-button-text-color, #212529)",borderRadius:P,borderWidth:V,transition:`all ${z} ${R}`,fontWeight:f},Re={backgroundColor:_||"var(--select-dropdown-bg-color, #ffffff)",maxHeight:p,borderRadius:P,borderWidth:V,boxShadow:q,transition:`opacity ${z} ${R}, transform ${z} ${R}`,position:"absolute",top:ie==="bottom"?"100%":"auto",bottom:ie==="top"?"100%":"auto",left:ce==="left"?0:"auto",right:ce==="right"?0:"auto",width:Me||(s?"100%":"auto"),marginTop:ie==="bottom"?M:0,marginBottom:ie==="top"?M:0,zIndex:1001},ve={width:g,height:g,color:w||"var(--select-icon-color, #6c757d)","--icon-rotation":ne?"rotate(180deg)":"rotate(0deg)"},je={color:$||"var(--select-label-color, #212529)",marginBottom:m},Bc={color:A||"var(--select-placeholder-color, #6c757d)"},u1={color:S||"var(--select-error-color, #dc3545)",marginTop:x},oe={padding:v,transition:`background-color ${z} ${R}`,fontWeight:f},we={gap:L},BL={"--scrollbar-width":T,"--scrollbar-track-color":O,"--scrollbar-thumb-color":Q};return o.jsxs("div",{className:`${Se.selectContainer} ${r}`,ref:pe,style:se,"data-fullwidth":s,"data-disabled":d,"data-error":!!l,title:J(re,ae),children:[c&&o.jsx("label",{className:Se.label,style:je,children:c}),o.jsxs("button",{type:"button",onClick:()=>!d&&le(!ne),onKeyDown:Y,className:`
8341
8341
  ${Se.selectButton}
8342
8342
  ${ne?Se.selectButtonOpen:""}
8343
8343
  ${d?Se.selectButtonDisabled:""}
8344
8344
  `,style:$e,disabled:d,"aria-expanded":ne,"aria-haspopup":"listbox","aria-labelledby":c?`${c}-label`:void 0,children:[o.jsxs("div",{className:Se.selectButtonContent,style:we,children:[me?.icon&&o.jsx("span",{className:Se.selectIcon,style:ve,children:me.icon}),o.jsx("span",{className:`${Se.selectLabel} ${me?"":Se.placeholder}`,style:me?void 0:Bc,children:me?me.label:i})]}),o.jsx(F1,{fill:"var(--color-text)",className:`${Se.chevron} ${ne?Se.chevronOpen:""}`,style:ve})]}),l&&o.jsx("div",{className:Se.errorMessage,style:u1,children:l}),ne&&!d&&o.jsx("div",{className:Se.dropdown,style:Re,role:"listbox","aria-label":c||"Options de sélection",children:o.jsx("div",{className:Se.dropdownContent,style:BL,children:e.map(Ie=>o.jsx("button",{type:"button",onClick:()=>W(Ie.value),className:`
8345
8345
  ${Se.item}
8346
8346
  ${t===Ie.value?Se.itemSelected:""}
8347
- `,style:{...oe,backgroundColor:t===Ie.value?j||"#F0F4F6":"transparent"},onMouseEnter:Ct=>{L&&(Ct.currentTarget.style.backgroundColor=L)},onMouseLeave:Ct=>{L&&(Ct.currentTarget.style.backgroundColor=t===Ie.value?j||"#F0F4F6":"transparent")},role:"option","aria-selected":t===Ie.value,children:o.jsxs("div",{className:Se.itemContent,style:we,children:[Ie.icon&&o.jsx("span",{className:Se.itemIcon,style:ve,children:Ie.icon}),o.jsx("span",{className:Se.itemLabel,children:Ie.label})]})},Ie.value))})})]})},D7e="_filterBar_1hlqe_3",B7e="_label_1hlqe_11",Bj={filterBar:D7e,label:B7e},R7e=({label:e="Filtres",startDate:t,endDate:n,granularity:c,onStartDateChange:i,onEndDateChange:r,onGranularityChange:s,granularityItems:d,startDatePlaceholder:l="Date début",endDatePlaceholder:h="Date fin",granularityPlaceholder:u="Sélectionner...",className:p="",disabled:y=!1,gap:f="0.75rem",labelFontSize:g="0.875rem",labelFontWeight:m="400",labelColor:x="#212529",labelMarginRight:M="1rem",startDateWidth:v,endDateWidth:I,selectWidth:b,datePickerProps:w={},selectProps:C={},rightContent:_,extraContent:L})=>{const j={fontSize:g,fontWeight:m,color:x,marginRight:M},N={gap:f};return o.jsxs("div",{className:`${Bj.filterBar} ${p}`,style:N,children:[e&&o.jsx("span",{className:Bj.label,style:j,children:e}),o.jsx(Lw,{value:t,onChange:i,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:v,...w}),o.jsx(Lw,{value:n,onChange:r,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:I,...w}),o.jsx(HA,{items:d,value:c,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:b,...C}),L,_&&o.jsx("div",{style:{marginLeft:"auto"},children:_})]})},F7e="_container_1x6mq_16",E7e="_disabled_1x6mq_26",O7e="_predStyle_1x6mq_32",U7e="_realStyle_1x6mq_36",W7e="_predGap_1x6mq_40",G7e="_realGap_1x6mq_44",K7e="_big_1x6mq_49",Z7e="_medium_1x6mq_53",X7e="_iconWrapper_1x6mq_58",Y7e="_predRelative_1x6mq_68",J7e="_realRelative_1x6mq_72",Q7e="_iconImg_1x6mq_76",eve="_content_1x6mq_84",tve="_header_1x6mq_93",ave="_predJustify_1x6mq_99",nve="_realJustify_1x6mq_103",ove="_predHeaderLineHeight_1x6mq_116",cve="_realHeaderLineHeight_1x6mq_120",ive="_title_1x6mq_129",rve="_titleBlack_1x6mq_144",sve="_titleWhite_1x6mq_148",dve="_subtitle_1x6mq_153",lve="_valueRowHorizontal_1x6mq_163",hve="_valueRowVertical_1x6mq_171",uve="_singleValue_1x6mq_180",pve="_primaryRow_1x6mq_184",yve="_maxBadge_1x6mq_191",kve="_valuePrimary_1x6mq_203",mve="_valuePrimaryBlack_1x6mq_210",fve="_valuePrimaryWhite_1x6mq_214",gve="_valueSlash_1x6mq_219",vve="_valueSecondary_1x6mq_226",xve="_valueSecondaryBlue_1x6mq_232",Mve="_valueSecondaryWhite_1x6mq_236",_ve="_valueSecondaryBlack_1x6mq_240",Lve="_valueStacked_1x6mq_245",Ive="_stackedTop_1x6mq_254",bve="_stackedBottom_1x6mq_255",ye={container:F7e,disabled:E7e,predStyle:O7e,realStyle:U7e,predGap:W7e,realGap:G7e,big:K7e,medium:Z7e,iconWrapper:X7e,predRelative:Y7e,realRelative:J7e,iconImg:Q7e,content:eve,header:tve,predJustify:ave,realJustify:nve,predHeaderLineHeight:ove,realHeaderLineHeight:cve,title:ive,titleBlack:rve,titleWhite:sve,subtitle:dve,valueRowHorizontal:lve,valueRowVertical:hve,singleValue:uve,primaryRow:pve,maxBadge:yve,valuePrimary:kve,valuePrimaryBlack:mve,valuePrimaryWhite:fve,valueSlash:gve,valueSecondary:vve,valueSecondaryBlue:xve,valueSecondaryWhite:Mve,valueSecondaryBlack:_ve,valueStacked:Lve,stackedTop:Ive,stackedBottom:bve},wve=({a11yConfig:e,iconName:t,title:n,subtitle:c,showSubtitle:i,realised:r="-",prediction:s="-",size:d="big",titleColor:l="black",valueColor:h="blue",realValueColor:u,predictionValueColor:p,className:y="",style:f="",variant:g="horizontal",showMax:m=!1,titleFontSize:x,titleFontWeight:M,subtitleFontSize:v,subtitleFontWeight:I,primaryFontSize:b,primaryFontWeight:w,secondaryFontSize:C,secondaryFontWeight:_,backgroundColor:L="#f2f9fc",gap:j="",disabled:N=!1,positionRelative:S="",justifyContent:z="",headerLineHeight:A="",headerMinHeight:H="",contentSpace:P="",titleKey:V,subtitleKey:$,subtitleA11yKey:q,maxBadgeKey:R,maxBadgeA11yKey:T,predictionKey:O,predictionA11yKey:J,realisedKey:E,realisedA11yKey:U})=>{const ie=i!==void 0?i:!!c,ce=`${ye.container} ${ye[d]} ${ye[f]} ${N?ye.disabled:""}`,Me=h==="white"?ye.valuePrimaryWhite:ye.valuePrimaryBlack,re=h==="blue"?ye.valueSecondaryBlue:h==="white"?ye.valueSecondaryWhite:ye.valueSecondaryBlack,ae=W=>W===void 0?void 0:typeof W=="number"?`${W}px`:W,ne=W=>W===void 0?void 0:W,le=g==="vertical",pe=s!=null&&s!==""&&s!=="-"&&s!=="—",me=le?ye.valueRowVertical:ye.valueRowHorizontal;return o.jsxs("div",{className:`${ce} ${y}`,style:{backgroundColor:L},children:[t&&o.jsx("div",{className:`${ye.iconWrapper} ${ye[S]}`,children:t}),o.jsxs("div",{className:`${ye.content} ${ye[j]} ${pe?"":ye.singleValue} content-indicator-v2`,style:{justifyContent:P},children:[o.jsx("div",{className:`${ye.header} ${ye[z]} ${ye[A]} header-indicator-v2`,style:{minHeight:H},children:o.jsx("h6",{className:`${ye.title}`,style:{fontSize:ae(x),fontWeight:ne(M),color:l},title:Y(e,V),children:n})}),ie&&c?o.jsx("div",{className:"subtitle-container",children:o.jsx("span",{className:ye.subtitle,style:{fontSize:ae(v),fontWeight:ne(I)},title:Y(e,$,q),children:c})}):null,o.jsxs("div",{className:`${me} count-indicator-v2`,children:[o.jsxs("div",{className:ye.primaryRow,children:[m&&o.jsx("span",{className:`${ye.maxBadge} max-badge-indicator-v2`,title:Y(e,R,T),children:"MAX"}),o.jsx("span",{className:`${ye.valuePrimary} ${Me}`,style:{fontSize:ae(b||(!pe&&le?"1.75rem":void 0)),fontWeight:ne(w),color:u||void 0},title:Y(e,E,U),children:r})]}),pe&&o.jsxs(o.Fragment,{children:[!le&&o.jsx("span",{className:ye.valueSlash,style:{fontSize:ae(C),fontWeight:ne(_)},children:"/"}),o.jsx("span",{className:`${ye.valueSecondary} ${re}`,style:{fontSize:ae(C),fontWeight:ne(_),color:p||void 0},title:Y(e,O,J),children:s})]})]})]})]})},Cve="_banner_f10in_2",Nve="_iep_f10in_14",Sve="_groupSmall_f10in_24",jve="_genre_f10in_34",$ve="_gravite_f10in_42",qve="_orientationContainer_f10in_48",Ave="_service_f10in_61",zve="_roomBedContainer_f10in_71",Vve="_room_f10in_71",Pve="_bed_f10in_87",Tve="_bedUf_f10in_92",Hve="_statusContainer_f10in_97",Dve="_status_f10in_97",Bve="_centeredWarn_f10in_124",Oe={banner:Cve,iep:Nve,groupSmall:Sve,genre:jve,gravite:$ve,orientationContainer:qve,service:Ave,roomBedContainer:zve,room:Vve,bed:Pve,bedUf:Tve,statusContainer:Hve,status:Dve,centeredWarn:Bve},Rve=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},te.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},te.createElement("path",{fill:"#D9D9D9",d:"M0 0h16v16H0z"})),te.createElement("g",{mask:"url(#a)"},te.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"}))),Rj=k.memo(Rve),Fve=({patient:e,genre:t,gravite:n,bed:c,bed_uf:i,room:r,orientation:s,status:d,backgroundColor:l="#ffffff",primaryFontColor:h="#111827",secondaryFontColor:u="#6b7280",statusFontColor:p="#0284c7",statusBackgroundColor:y="#e0f2fe",genreBackgroundColor:f="#9ca3af",genreFontSize:g,style:m,warn:x=!1,warnMessage:M,warnColor:v="#F94134"})=>o.jsxs("div",{className:Oe.banner,style:{backgroundColor:l,...m},children:[o.jsxs("div",{className:Oe.iep,children:[o.jsx("div",{style:{color:u},children:e.iep??"--"}),o.jsxs("div",{style:{color:h},children:[((e.nom||"").trim().split(/\s+/)[0]||"").substring(0,3).toUpperCase(),"."," ",((e.prenom||"").trim().split(/\s+/)[0]||"").substring(0,3).toLowerCase().replace(/^./,I=>I.toUpperCase()),".(",e.age,")"]})]}),o.jsxs("div",{className:Oe.groupSmall,children:[o.jsx("span",{className:`${Oe.genre} genre-info-banner`,style:{color:"#ffffff",background:f,fontSize:g},children:t??"--"}),o.jsx("span",{className:`${Oe.gravite} gravite-info-banner`,children:n??"--"})]}),o.jsx("div",{className:Oe.orientationContainer,children:o.jsx("div",{className:Oe.service,style:{color:h},children:s??"--"})}),o.jsxs("div",{className:Oe.roomBedContainer,children:[i&&o.jsx("span",{className:Oe.bedUf,children:i}),o.jsx("span",{className:Oe.room,children:r??"--"}),o.jsx("span",{className:Oe.bed,children:c??"--"})]}),o.jsxs("div",{className:Oe.statusContainer,children:[d?o.jsx("div",{className:`${Oe.status} status-info-banner`,style:{color:p,backgroundColor:y},children:d}):x&&o.jsxs("div",{className:Oe.centeredWarn,style:{textTransform:"uppercase"},children:[o.jsx(Rj,{color:v,width:20,height:20,style:{marginRight:"6px"}}),o.jsx("span",{style:{color:v,fontSize:"12px",fontWeight:600},children:M})]}),d&&x&&o.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:v,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[o.jsx(Rj,{color:v,width:12,height:12,style:{marginRight:"4px"}}),o.jsx("span",{children:M})]})]})]}),Eve=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.createElement("path",{d:"M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z"})),Ove=k.memo(Eve),Uve=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.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"})),DA=k.memo(Uve),Wve=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.createElement("path",{d:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),Gve=k.memo(Wve),Kve="_overlay_1sx2l_1",Zve="_container_1sx2l_11",Xve="_fullscreen_1sx2l_24",Yve="_header_1sx2l_30",Jve="_headerActions_1sx2l_42",Qve="_iconButton_1sx2l_47",e9e="_body_1sx2l_58",t9e="_sidebar_1sx2l_65",a9e="_content_1sx2l_91",n9e="_contentHeader_1sx2l_98",o9e="_childrenWrapper_1sx2l_114",c9e="_footer_1sx2l_138",i9e="_baseButton_1sx2l_147",r9e="_noOverlay_1sx2l_161",s9e="_contained_1sx2l_169",qe={overlay:Kve,container:Zve,fullscreen:Xve,header:Yve,headerActions:Jve,iconButton:Qve,body:e9e,sidebar:t9e,content:a9e,contentHeader:n9e,childrenWrapper:o9e,footer:c9e,baseButton:i9e,noOverlay:r9e,contained:s9e},d9e=({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:l,children:h,contentTitle:u,contentBackgroundColor:p="var(--color-content-background)",sideContent:y,hideMaximize:f=!1,hideHeader:g=!1,hideSidebar:m=!1,onDelete:x,deleteLabel:M="Supprimer",width:v="75%",maxWidth:I="none",height:b="85%",maxHeight:w="85%",borderRadius:C="0.5rem",childrenPadding:_="1rem",overflow:L="auto",contentHeaderAction:j,contentFooterAction:N,footerOverride:S,hideFooter:z=!1,hideOverlay:A=!1,position:H,a11yConfig:P})=>{const[V,$]=k.useState(!1),q=k.useRef(null);if(k.useEffect(()=>{if(!r||!A)return;const T=O=>{(O.type==="scroll"||O.type==="wheel"||O.type==="touchmove"||q.current&&!q.current.contains(O.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 R=(T,O=!1)=>o.jsx(yL,{onClick:T.disabled?void 0:T.onClick,className:qe.baseButton,disabled:T.disabled,style:{background:T.backgroundColor??(O?"#008FBB":"#ffffff"),color:T.textColor??(O?"#ffffff":"#374151"),border:T.borderColor?`1px solid ${T.borderColor}`:O?"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:Y(T.a11yConfig,T.text),children:T.text});return o.jsx("div",{className:A?qe.noOverlay:qe.overlay,onClick:s,children:o.jsxs("div",{ref:q,className:`${qe.container} ${V?qe.fullscreen:""} ${A?qe.contained:""}`,onClick:T=>T.stopPropagation(),style:{width:V?"100%":v,maxWidth:V?"none":I,height:V?"100%":b,maxHeight:V?"100%":w,borderRadius:V?"0":C,overflow:L,...H||{}},children:[!g&&o.jsxs("header",{className:qe.header,style:{backgroundColor:n},children:[o.jsx("h2",{style:{fontSize:c,fontWeight:i,color:t},title:Y(P,e),children:e}),o.jsxs("div",{className:qe.headerActions,children:[!f&&o.jsx("button",{onClick:()=>$(!V),className:qe.iconButton,title:V?"Réduire":"Agrandir",children:V?o.jsx(Gve,{width:22,height:22,fill:t}):o.jsx(Ove,{width:22,height:22,fill:t})}),o.jsx("button",{onClick:s,className:qe.iconButton,title:"Fermer",children:o.jsx(DA,{width:22,height:22,fill:t})})]})]}),o.jsxs("div",{className:qe.body,style:{overflow:L},children:[y&&!m&&o.jsx("aside",{className:qe.sidebar,children:y}),o.jsxs("main",{className:qe.content,style:{backgroundColor:p,overflow:L},children:[u&&o.jsxs("header",{className:qe.contentHeader,style:{backgroundColor:n},children:[o.jsx("span",{style:{color:t},children:u}),j]}),o.jsx("div",{className:qe.childrenWrapper,style:{padding:_,overflow:L},children:h})]})]}),!z&&o.jsx("footer",{className:qe.footer,style:{backgroundColor:n},children:S!==void 0?S:o.jsxs(o.Fragment,{children:[x&&o.jsx(yL,{onClick:x,className:qe.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:M}),N,R(d),R(l,!0)]})})]})})},l9e="_container_1vb1c_1",h9e="_searchWrapper_1vb1c_10",u9e="_navItems_1vb1c_17",Kb={container:l9e,searchWrapper:h9e,navItems:u9e},p9e=({items:e,activeId:t,activeColor:n="#00aec7",backgroundColor:c="#fff",textColor:i="#000",onItemClick:r,searchValue:s="",onSearchChange:d,searchPlaceholder:l="Rechercher",width:h="100%",className:u=""})=>o.jsxs("div",{className:`${Kb.container} ${u}`,style:{width:h,backgroundColor:c,color:i},children:[o.jsx("div",{className:Kb.searchWrapper,children:o.jsx($A,{value:s,onChange:d,placeholder:l,iconPosition:"right",iconColor:"var(--color-text)"})}),o.jsx("div",{className:Kb.navItems,children:e.map(p=>o.jsx(lC,{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))})]}),y9e=({modules:e,selectedModuleId:t,onSelectModule:n,onAddModule:c,onItemAdd:i,onEditModule:r,onDeleteModule:s,onReorder:d,title:l="Modules",titleKey:h,addModuleTitle:u="Ajouter un module",addModuleLabel:p="Titre",addModulePlaceholder:y="Nom du module",renameModuleTitle:f="Renommer le module",renameModuleLabel:g="Titre",renameModulePlaceholder:m="Nom du module",confirmText:x="Valider",cancelText:M="Annuler",headerLabel:v,headerLabelKey:I,showAddIcon:b=!0,showCount:w=!0,showToggle:C=!1,showActions:_=!0,onToggle:L,a11yConfig:j})=>{const[N,S]=k.useState(!1),[z,A]=k.useState(null),[H,P]=k.useState(null),[V,$]=k.useState(null),[q,R]=k.useState(null),T=()=>{R(W=>W===null?"asc":W==="asc"?"desc":null),L&&L()},O=k.useMemo(()=>q?[...e].sort((W,X)=>{const se=W.title.toLowerCase(),$e=X.title.toLowerCase();return q==="asc"?se.localeCompare($e):$e.localeCompare(se)}):e,[e,q]),J=()=>S(!0),E=()=>S(!1),U=W=>{const X=W.title?.trim();X&&c&&c(X),E()},ie=(W,X)=>{W.stopPropagation(),A(X)},ce=()=>A(null),Me=W=>{const X=W.title?.trim();z&&X&&r&&r(z,X),ce()},re=(W,X)=>{W.stopPropagation(),s&&s(X)},ae=(W,X)=>{W.stopPropagation(),i&&i(X)},ne=(W,X)=>{P(X),W.dataTransfer.effectAllowed="move"},le=(W,X)=>{H!==null&&(W.preventDefault(),W.dataTransfer.dropEffect="move",X!==V&&$(X))},pe=(W,X)=>{if(W.preventDefault(),H===null||H===X||!d)return;const se=[...O],[$e]=se.splice(H,1);se.splice(X,0,$e),R(null),d(se),P(null),$(null)},me=()=>{P(null),$(null)};return o.jsxs("div",{className:"module-sidebar-v2",children:[o.jsx("div",{className:"sidebar-header",children:v?o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"header-label-container",onClick:T,children:[o.jsx("div",{className:"header-label",title:Y(j,I),children:v}),q==="asc"?o.jsx(t1,{size:12,className:"header-toggle-icon",strokeWidth:3}):o.jsx(e1,{size:12,className:"header-toggle-icon",strokeWidth:3})]}),b&&o.jsx(Ac,{size:18,className:"add-view-icon",onClick:J})]}):o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"header-title",title:Y(j,h),children:[C&&(q==="asc"?o.jsx(t1,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:T}):o.jsx(e1,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:T})),l," ",w&&`(${O.length})`]}),b&&o.jsx(Ac,{size:18,className:"add-view-icon",onClick:J})]})}),o.jsx("div",{className:"module-list",children:O.map((W,X)=>o.jsxs("div",{className:`module-item ${W.id===t?"selected":""} ${V===X&&H!==X?"drag-over":""} ${H===X?"dragging":""}`,onClick:()=>n&&n(W),draggable:!!d,onDragStart:d?se=>ne(se,X):void 0,onDragOver:d?se=>le(se,X):void 0,onDrop:d?se=>pe(se,X):void 0,onDragEnd:d?me:void 0,children:[W.icon||o.jsx(A1,{size:18,className:"drag-handle"}),o.jsxs("div",{className:"module-content",title:Y(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(zc,{size:14,className:"action-icon add",onClick:se=>ae(se,W)}),r&&o.jsx(xt,{size:12,className:"action-icon edit",onClick:se=>ie(se,W)}),s&&o.jsx(kt,{size:12,className:"action-icon delete",onClick:se=>re(se,W)})]})]},W.id))}),o.jsx(Dc,{isOpen:N,onClose:E,onSave:U,title:u,fields:[{name:"title",label:p,placeholder:y}],confirmText:x,cancelText:M}),z&&o.jsx(Dc,{isOpen:!!z,onClose:ce,onSave:Me,title:f,initialValues:{title:z.title},fields:[{name:"title",label:g,placeholder:m}],confirmText:x,cancelText:M})]})},k9e=({mod:e,index:t,total:n,isSelected:c,onSelectModule:i})=>o.jsxs("div",{className:`module-item${c?" selected":""}`,onClick:()=>i?.(e),"aria-posinset":t+1,"aria-setsize":n,role:"listitem",children:[e.icon,o.jsxs("div",{className:"module-content",title:Y(e.a11yConfig,e.titleKey),children:[o.jsx("div",{className:"module-title",children:e.title}),e.subtitle&&o.jsx("div",{className:"module-subtitle",children:e.subtitle})]})]}),m9e=({modules:e,selectedModuleId:t,onSelectModule:n,title:c="Modules",titleKey:i,showCount:r=!0,showSearch:s=!0,searchValue:d,searchPlaceholder:l,onSearchTyping:h,onSearchSubmit:u,searchDebounceMs:p=300,isLoading:y=!1,loadingComponent:f,emptyComponent:g,a11yConfig:m,borderColor:x,hoverBackgroundColor:M,selectedBackgroundColor:v})=>{const[I,b]=k.useState(d??""),w=k.useRef(null);k.useEffect(()=>{d!==void 0&&b(d)},[d]),k.useEffect(()=>()=>{w.current&&clearTimeout(w.current)},[]);const C=j=>{const N=j.target.value;b(N),w.current&&clearTimeout(w.current),w.current=setTimeout(()=>{h?.(N)},p)},_=j=>{j.key==="Enter"&&u?.(I)},L={"--smsb-border-color":x??"var(--color-border, #efefef)","--smsb-hover-background":M??"var(--color-content-background, #f8fafc)","--smsb-selected-background":v??"var(--color-neutral, #f4f4f4)"};return o.jsxs("div",{className:"searchable-module-sidebar",style:L,children:[o.jsx("div",{className:"sidebar-header",children:o.jsxs("div",{className:"header-title",title:Y(m,i),children:[c," ",r&&`(${e.length})`]})}),s&&o.jsx("div",{className:"sidebar-search",children:o.jsx("input",{type:"text",className:"search-input",value:I,placeholder:l,onChange:C,onKeyDown:_})}),o.jsx("div",{className:"module-list",children:y?f:e.length===0?g:e.map((j,N)=>o.jsx(k9e,{mod:j,index:N,total:e.length,isSelected:j.id===t,onSelectModule:n},j.id))})]})},f9e=({keyName:e,translations:t,availableLanguages:n,onChange:c,onRename:i,onDelete:r,a11yConfig:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState(e),[p,y]=k.useState(null),[f,g]=k.useState(""),[m,x]=k.useState(!1),[M,v]=k.useState(""),[I,b]=k.useState(""),w=k.useMemo(()=>{const V={};return Array.isArray(t)&&t.forEach($=>{$&&$.language&&(V[$.language.toUpperCase()]=$.value)}),V},[t]),C=k.useMemo(()=>n,[n]),_=()=>{l(!1),h!==e&&h.trim()!==""?i&&i(h.trim()):u(e)},L=V=>{V.key==="Enter"?_():V.key==="Escape"&&(u(e),l(!1))},j=V=>{const $=V.toUpperCase();y($),g(w[$]||"")},N=()=>{p&&(c(p,f),y(null),g(""))},S=V=>{V.key==="Enter"?N():V.key==="Escape"&&(y(null),g(""))},z=()=>{x(!0),C.length>0&&v(C[0].toUpperCase()),b("")},A=()=>{M&&I.trim()&&(c(M,I.trim()),x(!1),v(""),b(""))},H=()=>{x(!1),v(""),b("")},P=V=>{V.key==="Enter"?A():V.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:h,onChange:V=>u(V.target.value),onBlur:_,onKeyDown:L,autoFocus:!0}):o.jsx("h3",{className:"header-title",title:Y(s,e),children:e}),o.jsxs("div",{className:"header-actions",children:[o.jsx(xt,{size:16,className:"action-icon edit",onClick:()=>l(!0)}),o.jsx(kt,{size:16,className:"action-icon delete",onClick:r})]})]}),o.jsxs("div",{className:"translations-list",children:[n.map(V=>{const $=V.toUpperCase(),q=w[$]||"",R=p===$;return o.jsxs("div",{className:"lang-row",children:[o.jsx("div",{className:"lang-label",children:$}),R?o.jsx("input",{className:"translation-input editing",value:f,onChange:T=>g(T.target.value),onBlur:N,onKeyDown:S,placeholder:"Entrez la traduction...",autoFocus:!0}):o.jsx("div",{className:`translation-value ${q?"":"empty"}`,onClick:()=>j(V),title:"Cliquer pour éditer",children:q||"Cliquer pour ajouter..."})]},V)}),m?o.jsxs("div",{className:"lang-row add-row",children:[o.jsx("select",{className:"lang-select",value:M,onChange:V=>v(V.target.value),children:C.map(V=>o.jsx("option",{value:V.toUpperCase(),children:V.toUpperCase()},V))}),o.jsx("input",{className:"translation-input editing",value:I,onChange:V=>b(V.target.value),onKeyDown:P,placeholder:"Mot",autoFocus:!0}),o.jsxs("div",{className:"add-actions",children:[o.jsx(N1,{size:18,className:"action-icon confirm",onClick:A}),o.jsx(at,{size:18,className:"action-icon cancel",onClick:H})]})]}):C.length>0&&o.jsxs("button",{className:"add-translation-btn",onClick:z,children:[o.jsx(zc,{size:16}),o.jsx("span",{children:"Ajouter"})]})]})]})},g9e="_overlay_t6q3c_1",v9e="_modal_t6q3c_15",x9e="_body_t6q3c_30",M9e="_footer_t6q3c_50",_9e="_confirmButton_t6q3c_59",L9e="_danger_t6q3c_76",I9e="_cancelButton_t6q3c_80",jt={overlay:g9e,modal:v9e,body:x9e,footer:M9e,confirmButton:_9e,danger:L9e,cancelButton:I9e},b9e=({isOpen:e,message:t,children:n,onConfirm:c,onCancel:i,confirmText:r="Confirmer",cancelText:s="Annuler",isDanger:d=!1,hideFooter:l=!1,secondaryConfirmText:h,onSecondaryConfirm:u,modalStyle:p,bodyStyle:y,footerStyle:f,cancelButtonStyle:g,confirmButtonStyle:m,overlayStyle:x,modalClassName:M,bodyClassName:v,footerClassName:I,overlayClassName:b})=>{if(!e)return null;const w=n??t;return o.jsx("div",{className:`${jt.overlay} ${b||""}`.trim(),onClick:i,style:x,children:o.jsxs("div",{className:`${jt.modal} ${M||""}`.trim(),onClick:C=>C.stopPropagation(),style:p,children:[o.jsx("div",{className:`${jt.body} ${v||""}`.trim(),style:y,children:typeof w=="string"?o.jsx("p",{children:w}):w}),!l&&o.jsxs("div",{className:`${jt.footer} ${I||""}`.trim(),style:f,children:[s&&o.jsx("button",{className:jt.cancelButton,onClick:i,style:g,children:s}),h&&u&&o.jsx("button",{className:jt.confirmButton,onClick:u,children:h}),r&&o.jsx("button",{className:`${jt.confirmButton} ${d?jt.danger:""}`,onClick:c,style:m,children:r})]})]})})},w9e="_card_1ildr_1",C9e="_topIcon_1ildr_17",N9e="_title_1ildr_24",S9e="_text_1ildr_31",j9e="_bottomIcon_1ildr_37",x1={card:w9e,topIcon:C9e,title:N9e,text:S9e,bottomIcon:j9e},$9e=({topIcon:e,title:t,text:n,bottomIcon:c,onClick:i,className:r="",headerTextColor:s="#000",textColor:d="#4b5563",backgroundColor:l="#fff",a11yConfig:h})=>o.jsxs("div",{className:`${x1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:l},title:Y(h,t),children:[e&&o.jsx("div",{className:x1.topIcon,children:e}),o.jsx("h3",{className:x1.title,style:{color:s},children:t}),o.jsx("p",{className:x1.text,style:{color:d},children:n}),c&&o.jsx("div",{className:x1.bottomIcon,children:c})]}),q9e="_container_oylor_1",A9e="_disabled_oylor_9",z9e="_selectBox_oylor_14",V9e="_selectBoxOpen_oylor_36",P9e="_tagsContainer_oylor_41",T9e="_tagsContainerWrap_oylor_51",H9e="_tag_oylor_41",D9e="_tagLabel_oylor_73",B9e="_removeBtnContainer_oylor_79",R9e="_removeBtn_oylor_79",F9e="_searchInput_oylor_104",E9e="_placeholder_oylor_124",O9e="_actions_oylor_131",U9e="_clearBtn_oylor_138",W9e="_chevron_oylor_160",G9e="_chevronOpen_oylor_166",K9e="_dropdown_oylor_170",Z9e="_option_oylor_184",X9e="_optionHeader_oylor_197",Y9e="_noOptions_oylor_213",J9e="_overflowBlock_oylor_220",Q9e="_overflowEllipsis_oylor_227",exe="_overflowBadge_oylor_234",txe="_overflowBadgeWrap_oylor_257",axe="_overflowDropdown_oylor_263",nxe="_overflowDropdownItem_oylor_279",oxe="_overflowDropdownItemLabel_oylor_290",cxe="_overflowDropdownItemRemove_oylor_297",de={container:q9e,disabled:A9e,selectBox:z9e,selectBoxOpen:V9e,tagsContainer:P9e,tagsContainerWrap:T9e,tag:H9e,tagLabel:D9e,removeBtnContainer:B9e,removeBtn:R9e,searchInput:F9e,placeholder:E9e,actions:O9e,clearBtn:U9e,chevron:W9e,chevronOpen:G9e,dropdown:K9e,option:Z9e,optionHeader:X9e,noOptions:Y9e,overflowBlock:J9e,overflowEllipsis:Q9e,overflowBadge:exe,overflowBadgeWrap:txe,overflowDropdown:axe,overflowDropdownItem:nxe,overflowDropdownItemLabel:oxe,overflowDropdownItemRemove:cxe},ixe=({options:e,noOptionsMessage:t="",value:n,onChange:c,placeholder:i="Sélectionner...",isSearchable:r=!0,className:s="",disabled:d=!1,allowWrap:l=!1})=>{const[h,u]=k.useState(!1),[p,y]=k.useState(""),f=k.useRef(null),g=k.useRef(null),m=k.useRef(null),x=k.useRef(null),[M,v]=k.useState(null),[I,b]=k.useState(!1),w=k.useRef([]),C=k.useRef(null),_=k.useMemo(()=>{const $=new Map(e.map(q=>[q.value,q]));return n.map(q=>$.get(q)).filter(q=>q!==void 0)},[e,n]),L=k.useMemo(()=>e.filter($=>!n.includes($.value)),[e,n]),j=k.useMemo(()=>{let $=L;return p&&($=$.filter(q=>q.label.toLowerCase().includes(p.toLowerCase()))),$.filter((q,R)=>{if(!q.isHeader)return!0;for(let T=R+1;T<$.length&&!$[T].isHeader;T++)return!0;return!1})},[L,p]);k.useEffect(()=>{const $=q=>{const R=q.target;f.current&&!f.current.contains(R)&&(u(!1),y(""),v(null),b(!1))};return document.addEventListener("mousedown",$),()=>document.removeEventListener("mousedown",$)},[]),k.useEffect(()=>{if(l)return;if(_.length===0){v(null),w.current=[];return}_.length>w.current.length&&v(null);const $=()=>{const O=m.current,J=x.current;if(!O||!J)return;const E=J.getBoundingClientRect().width,U=J.querySelector(`.${de.actions}`),ie=U?U.getBoundingClientRect().width:80,ce=56,Me=r?80:0,re=16,ae=Array.from(O.querySelectorAll(`.${de.tag}`));ae.length===_.length&&(w.current=ae.map(ve=>{const je=ve.getBoundingClientRect(),Bc=ve.scrollWidth;return Math.max(je.width,Bc,ve.offsetWidth||0)}));const ne=w.current,le=ne.length>0?ne.reduce((ve,je)=>ve+je,0)/ne.length:120,pe=_.length<=ne.length?ne.slice(0,_.length):[...ne,...Array(_.length-ne.length).fill(le)],me=4,W=Math.max(0,E-ie-Me-re);let X=0,se=0;for(let ve=0;ve<_.length;ve++){const je=pe[ve]??120;if(X+je+me>W)break;X+=je+me,se++}if(se>=_.length){v(null);return}const $e=Math.max(0,E-ce-ie-Me-re);X=0;let Re=0;for(let ve=0;ve<_.length;ve++){const je=pe[ve]??120;if(X+je+me>$e)break;X+=je+me,Re++}Re<_.length&&Re>0?v(Re):v(null)},q=requestAnimationFrame(()=>{$()}),R=setTimeout($,100),T=new ResizeObserver(()=>{$()});return x.current&&T.observe(x.current),()=>{cancelAnimationFrame(q),clearTimeout(R),T.disconnect()}},[_,r,h,l]);const N=()=>{if(d)return;const $=!h;$&&b(!1),u($),$&&r&&setTimeout(()=>g.current?.focus(),0)},S=$=>{if(n.includes($.value))return;b(!1);const q=[..._,$];c(q),y(""),v(null),u(!1)},z=$=>{$.preventDefault(),$.stopPropagation(),b(q=>!q)},A=M!=null&&M<_.length?_.slice(M):[],H=($,q)=>{q.stopPropagation();const R=_.filter(T=>T.value!==$);c(R)},P=$=>{$.stopPropagation(),c([])},V=$=>{$.stopPropagation(),h||u(!0)};return o.jsxs("div",{className:`${de.container} ${s} ${d?de.disabled:""}`,ref:f,children:[o.jsxs("div",{ref:x,className:`${de.selectBox} ${h?de.selectBoxOpen:""}`,onClick:N,role:"combobox","aria-expanded":h,"aria-haspopup":"listbox",children:[o.jsxs("div",{className:`${de.tagsContainer} ${l?de.tagsContainerWrap:""}`,ref:m,children:[M!==null&&M>0?_.slice(0,M).map(($,q)=>o.jsxs("div",{className:de.tag,children:[o.jsx("div",{className:de.tagLabel,children:o.jsx("span",{children:$.label})}),o.jsx("div",{className:de.removeBtnContainer,children:o.jsx("button",{type:"button",className:de.removeBtn,onClick:R=>H($.value,R),"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}-${q}`)):_.map(($,q)=>o.jsxs("div",{className:de.tag,children:[o.jsx("div",{className:de.tagLabel,children:o.jsx("span",{children:$.label})}),o.jsx("div",{className:de.removeBtnContainer,children:o.jsx("button",{type:"button",className:de.removeBtn,onClick:R=>H($.value,R),"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}-${q}`)),r?o.jsx("input",{ref:g,type:"text",className:de.searchInput,placeholder:_.length===0?i:"",value:p,onChange:$=>{y($.target.value),h||u(!0)},onClick:V,disabled:d}):_.length===0&&o.jsx("span",{className:de.placeholder,children:i})]}),!l&&M!==null&&M<_.length&&o.jsxs("div",{className:de.overflowBlock,children:[o.jsx("span",{className:de.overflowEllipsis,children:"..."}),o.jsxs("div",{className:de.overflowBadgeWrap,children:[o.jsx("button",{ref:C,type:"button",className:de.overflowBadge,onClick:z,"aria-label":`Afficher ${A.length} éléments cachés`,children:A.length}),I&&A.length>0&&o.jsx("div",{className:de.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:A.map(($,q)=>o.jsxs("div",{className:de.overflowDropdownItem,children:[o.jsx("span",{className:de.overflowDropdownItemLabel,children:$.label}),o.jsx("button",{type:"button",className:de.overflowDropdownItemRemove,onClick:R=>{R.stopPropagation(),H($.value,R)},"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}-${q}`))})]})]}),o.jsxs("div",{className:de.actions,children:[_.length>0&&o.jsx("button",{type:"button",className:de.clearBtn,onClick:P,"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:`${de.chevron} ${h?de.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"})})]})]}),h&&!d&&o.jsx("div",{className:de.dropdown,role:"listbox",children:j.length>0?j.map(($,q)=>o.jsx("div",{className:`${de.option} ${$.isHeader?de.optionHeader:""}`,onClick:()=>!$.isHeader&&S($),role:"option","aria-selected":!1,children:$.label},`opt-${$.value}-${q}`)):o.jsx("div",{className:de.noOptions,children:t})})]})},rxe="_container_h7jek_1",Fj={container:rxe},sxe=({a11yConfigs:e=[],titleKeys:t=[],labels:n=[],data:c=[],selectedUfs:i=[],icons:r=[],lastCardTextColor:s="black",boardColors:d={},order:l})=>{const h=k.useMemo(()=>{const g=i.length===0?c:c.filter(x=>x&&i.includes(String(x.uf).replace(/^0+/,""))),m=new Set;return g.filter(x=>{if(!x||!x.uf)return!1;const M=String(x.uf).replace(/^0+/,"");return m.has(M)?!1:(m.add(M),!0)})},[c,i]),u=k.useMemo(()=>h.reduce((g,m)=>({disponibles:g.disponibles+(m.totalAvailable??m.disponibles??0),homme:g.homme+(m.availableMen??m.disponibleHomme??0),femme:g.femme+(m.availableWomen??m.disponibleFemme??0),indifferencie:g.indifferencie+(m.availableIndifferentSex??m.indifferences??0),sorties:g.sorties+(m.outToday??m.sortie24??0),occupiedBed:g.occupiedBed+(m.occupiedBed??0),patientsPresents:g.patientsPresents+(m.patientsPresents??0),occupationRate:g.occupationRate+(m.occupationRate??0),occupesRaw:g.occupesRaw+(m.occupesRaw??0),ouvertsRaw:g.ouvertsRaw+(m.ouvertsRaw??0)}),{disponibles:0,homme:0,femme:0,indifferencie:0,sorties:0,occupiedBed:0,patientsPresents:0,occupationRate:0,occupesRaw:0,ouvertsRaw:0}),[h]),p=g=>d.disponibles?d.disponibles:g>3?"#35994E":g>=1?"#EF6C00":"#C62828",y={bars:"none",justifyContent:"flexStart",alignItems:"center",valueFontWeight:"400",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}},f=(g,m)=>{const x=l!==void 0&&m===l.length-1;switch(g){case"disponibles":return{...y,value:u.disponibles.toLocaleString("fr-FR"),backgroundColor:p(u.disponibles),valueFontSize:"2.5rem",titleColor:"white",valueColor:"white"};case"occupiedBed":return{...y,value:u.occupiedBed.toLocaleString("fr-FR"),backgroundColor:d.occupes??d.homme??"#7DD493",valueFontSize:x?"3rem":"2.375rem",titleColor:"black",valueColor:"black"};case"patientsPresents":return{...y,value:u.patientsPresents.toLocaleString("fr-FR"),backgroundColor:d.patientsPresents??d.femme??"#7DD493",valueFontSize:x?"3rem":"2.375rem",titleColor:"black",valueColor:"black"};case"occupationRate":{const M=u.ouvertsRaw>0?parseFloat((u.occupesRaw/u.ouvertsRaw*100).toFixed(2)):u.occupationRate;return{...y,value:`${M.toLocaleString("fr-FR")}%`,backgroundColor:d.occupationRate??d.indifferencie??"#7DD493",valueFontSize:x?"3rem":"2.375rem",titleColor:"black",valueColor:"black"}}case"outToday":return{...y,value:u.sorties.toLocaleString("fr-FR"),backgroundColor:d.sorties??"#F2F9FC",valueFontSize:"3rem",titleColor:s,valueColor:s}}};return l&&l.length>0?o.jsx("div",{className:Fj.container,children:l.map((g,m)=>o.jsx(Mt,{a11yConfig:e[m],titleKey:t[m],label:n[m],iconName:r[m],...f(g,m)},g))}):o.jsxs("div",{className:Fj.container,children:[o.jsx(Mt,{a11yConfig:e[0],titleKey:t[0],label:n[0],value:u.disponibles.toLocaleString("fr-FR"),iconName:r[0],backgroundColor:p(u.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(Mt,{a11yConfig:e[1],titleKey:t[1],label:n[1],value:u.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(Mt,{a11yConfig:e[2],titleKey:t[2],label:n[2],value:u.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(Mt,{a11yConfig:e[3],titleKey:t[3],label:n[3],value:u.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(Mt,{a11yConfig:e[4],titleKey:t[4],label:n[4],value:u.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"}})]})},dxe="_container_1pt6c_1",lxe="_chartContainer_1pt6c_14",hxe="_legend_1pt6c_22",uxe="_legendItem_1pt6c_29",pxe="_leftSection_1pt6c_41",yxe="_colorIndicator_1pt6c_47",kxe="_label_1pt6c_54",mxe="_rightSection_1pt6c_60",fxe="_ratio_1pt6c_66",gxe="_value1_1pt6c_73",vxe="_separator_1pt6c_78",xxe="_value2_1pt6c_82",Mxe="_statusIndicator_1pt6c_87",_xe="_inactive_1pt6c_102",Ue={container:dxe,chartContainer:lxe,legend:hxe,legendItem:uxe,leftSection:pxe,colorIndicator:yxe,label:kxe,rightSection:mxe,ratio:fxe,value1:gxe,separator:vxe,value2:xxe,statusIndicator:Mxe,inactive:_xe},Ej=Math.PI/180,Lxe=({data:e,height:t=400,bg:n,backgroundColor:c,color:i,fontSize:r,fontWeight:s,padding:d,margin:l,borderRadius:h,className:u="",style:p={},labelColor:y,ratioColor:f,separatorColor:g,borderColor:m,hideDonut:x=!0,hideColorIndicator:M=!1})=>{const[v,I]=k.useState(new Set(e.map(N=>N.nom))),b=N=>{const S=new Set(v);S.has(N)?S.size>1&&S.delete(N):S.add(N),I(S)},w={...p,"--bg-color":n||c||"transparent","--text-color":i||"inherit","--font-size":r||"14px","--font-weight":s||"400","--padding":d||"0","--margin":l||"0","--border-radius":h||"0","--label-color":y||"inherit","--ratio-color":f||"inherit","--separator-color":g||"#03a9f4","--border-color":m||"#e0e0e0"},C=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]),L=k.useMemo(()=>_?1:C.reduce((N,S)=>N+S.displayValue,0)||1,[_,C]),j=k.useCallback(({cx:N,cy:S,midAngle:z,innerRadius:A,outerRadius:H,value:P})=>{if(P===0||_)return null;const V=A+(H-A)*.5,$=N+V*Math.cos(-z*Ej),q=S+V*Math.sin(-z*Ej),R=Math.round(P/L*100);return o.jsx(a.Text,{x:$,y:q,fill:"white",textAnchor:"middle",dominantBaseline:"central",fontSize:12,fontWeight:"bold",children:`${R}%`})},[L,_]);return o.jsxs("div",{className:`${Ue.container} ${u}`,style:w,children:[!x&&o.jsx("div",{className:Ue.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"}]:C,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"}):C.map((N,S)=>o.jsx(a.Cell,{fill:N.color},`cell-${S}`))})})})}),o.jsx("div",{className:Ue.legend,children:e.map((N,S)=>{const z=v.has(N.nom);return o.jsxs("div",{className:`${Ue.legendItem} ${!x&&!z?Ue.inactive:""}`,onClick:()=>b(N.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[o.jsxs("div",{className:Ue.leftSection,children:[!M&&o.jsx("div",{className:Ue.colorIndicator,style:{backgroundColor:N.color,opacity:x||z?1:.3}}),o.jsx("span",{className:Ue.label,style:{opacity:x||z?1:.5},children:N.nom})]}),o.jsxs("div",{className:Ue.rightSection,style:{opacity:x||z?1:.5},children:[o.jsxs("div",{className:Ue.ratio,children:[o.jsx("span",{className:Ue.value1,children:N.value1}),o.jsx("span",{className:Ue.separator,children:"/"}),o.jsx("span",{className:Ue.value2,children:N.value2})]}),N.statusColor&&o.jsx("div",{className:Ue.statusIndicator,style:{backgroundColor:N.statusColor}})]})]},`legend-${S}`)})})]})},Ixe="_container_1pc4v_1",bxe="_leftGroup_1pc4v_10",wxe="_iconBtn_1pc4v_16",pi={container:Ixe,leftGroup:bxe,iconBtn:wxe},Cxe=e=>te.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},te.createElement("path",{d:"M3 12h18M3 6h18M3 18h18"})),Nxe=k.memo(Cxe),Sxe=e=>te.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},te.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"})),BA=k.memo(Sxe),jxe=({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:l=1,height:h="8vh",onMenuClick:u,onActionClick:p})=>{const y={backgroundColor:r,color:s,borderBottom:`${l}px solid ${d}`,height:h,...c};return o.jsxs("header",{className:[pi.container,i].filter(Boolean).join(" "),style:y,children:[o.jsxs("div",{className:pi.leftGroup,children:[o.jsx("button",{className:pi.iconBtn,onClick:u,"aria-label":"Menu",style:{color:"inherit"},children:e??o.jsx(Nxe,{width:22,height:22})}),o.jsx(wL,{...t,size:"medium"})]}),o.jsx("button",{className:pi.iconBtn,onClick:p,"aria-label":"Action",style:{color:"inherit"},children:n??o.jsx(BA,{width:22,height:22})})]})},$xe="_container_24g3e_1",qxe="_iconBtn_24g3e_10",Axe="_title_24g3e_22",yi={container:$xe,iconBtn:qxe,title:Axe},zxe=({title:e="Menu",closeIcon:t,actionIcon:n,style:c,className:i,titleStyle:r,bgColor:s="var(--header-bg)",color:d="var(--color-text)",borderBottomColor:l="transparent",borderBottomWidth:h=0,height:u="8vh",onClose:p,onAction:y})=>{const f={backgroundColor:s,color:d,borderBottom:`${h}px solid ${l}`,height:u,...c};return o.jsxs("div",{className:[yi.container,i].filter(Boolean).join(" "),style:f,children:[o.jsx("button",{className:yi.iconBtn,onClick:p,"aria-label":"Fermer",style:{color:"inherit"},children:t??o.jsx(DA,{width:22,height:22})}),o.jsx("span",{className:yi.title,style:{fontWeight:"var(--font-weight-h)",fontSize:"var(--h5)",...r},children:e.toUpperCase()}),o.jsx("button",{className:yi.iconBtn,onClick:y,"aria-label":"Partager",style:{color:"inherit"},children:n??o.jsx(BA,{width:22,height:22})})]})};function RA(e){return e.state?e.state:e.active?"active":"available"}const Vxe=({title:e,countLabel:t="UF",actionIcon:n=o.jsx(kt,{size:16}),onAction:c,items:i=[],onItemClick:r,activeColor:s="var(--color-primary, #0083bb)",id:d,children:l})=>{const h=k.useMemo(()=>i.filter(u=>RA(u)==="active").length,[i]);return o.jsxs(Pxe,{id:d,children:[o.jsxs(Txe,{children:[o.jsxs(Hxe,{children:[o.jsx(Dxe,{children:e}),o.jsxs(Bxe,{children:["(",h," ",t,")"]})]}),c&&o.jsx(Rxe,{onClick:c,title:"Action",children:n})]}),o.jsx(Fxe,{children:o.jsx(Exe,{children:i.map(u=>o.jsx(Uxe,{item:u,activeColor:s,onItemClick:r},u.id))})}),l&&o.jsx(Wxe,{children:l})]})},Pxe=F.div`
8347
+ `,style:{...oe,backgroundColor:t===Ie.value?j||"#F0F4F6":"transparent"},onMouseEnter:Ct=>{I&&(Ct.currentTarget.style.backgroundColor=I)},onMouseLeave:Ct=>{I&&(Ct.currentTarget.style.backgroundColor=t===Ie.value?j||"#F0F4F6":"transparent")},role:"option","aria-selected":t===Ie.value,children:o.jsxs("div",{className:Se.itemContent,style:we,children:[Ie.icon&&o.jsx("span",{className:Se.itemIcon,style:ve,children:Ie.icon}),o.jsx("span",{className:Se.itemLabel,children:Ie.label})]})},Ie.value))})})]})},D7e="_filterBar_1hlqe_3",B7e="_label_1hlqe_11",Bj={filterBar:D7e,label:B7e},R7e=({label:e="Filtres",startDate:t,endDate:n,granularity:c,onStartDateChange:i,onEndDateChange:r,onGranularityChange:s,granularityItems:d,startDatePlaceholder:l="Date début",endDatePlaceholder:h="Date fin",granularityPlaceholder:u="Sélectionner...",className:p="",disabled:y=!1,gap:f="0.75rem",labelFontSize:g="0.875rem",labelFontWeight:m="400",labelColor:x="#212529",labelMarginRight:M="1rem",startDateWidth:v,endDateWidth:L,selectWidth:b,datePickerProps:C={},selectProps:N={},rightContent:_,extraContent:I})=>{const j={fontSize:g,fontWeight:m,color:x,marginRight:M},w={gap:f};return o.jsxs("div",{className:`${Bj.filterBar} ${p}`,style:w,children:[e&&o.jsx("span",{className:Bj.label,style:j,children:e}),o.jsx(Lw,{value:t,onChange:i,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:v,...C}),o.jsx(Lw,{value:n,onChange:r,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:L,...C}),o.jsx(HA,{items:d,value:c,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:b,...N}),I,_&&o.jsx("div",{style:{marginLeft:"auto"},children:_})]})},F7e="_container_1x6mq_16",E7e="_disabled_1x6mq_26",O7e="_predStyle_1x6mq_32",U7e="_realStyle_1x6mq_36",W7e="_predGap_1x6mq_40",G7e="_realGap_1x6mq_44",K7e="_big_1x6mq_49",Z7e="_medium_1x6mq_53",X7e="_iconWrapper_1x6mq_58",Y7e="_predRelative_1x6mq_68",J7e="_realRelative_1x6mq_72",Q7e="_iconImg_1x6mq_76",eve="_content_1x6mq_84",tve="_header_1x6mq_93",ave="_predJustify_1x6mq_99",nve="_realJustify_1x6mq_103",ove="_predHeaderLineHeight_1x6mq_116",cve="_realHeaderLineHeight_1x6mq_120",ive="_title_1x6mq_129",rve="_titleBlack_1x6mq_144",sve="_titleWhite_1x6mq_148",dve="_subtitle_1x6mq_153",lve="_valueRowHorizontal_1x6mq_163",hve="_valueRowVertical_1x6mq_171",uve="_singleValue_1x6mq_180",pve="_primaryRow_1x6mq_184",yve="_maxBadge_1x6mq_191",kve="_valuePrimary_1x6mq_203",mve="_valuePrimaryBlack_1x6mq_210",fve="_valuePrimaryWhite_1x6mq_214",gve="_valueSlash_1x6mq_219",vve="_valueSecondary_1x6mq_226",xve="_valueSecondaryBlue_1x6mq_232",Mve="_valueSecondaryWhite_1x6mq_236",_ve="_valueSecondaryBlack_1x6mq_240",Lve="_valueStacked_1x6mq_245",Ive="_stackedTop_1x6mq_254",bve="_stackedBottom_1x6mq_255",ye={container:F7e,disabled:E7e,predStyle:O7e,realStyle:U7e,predGap:W7e,realGap:G7e,big:K7e,medium:Z7e,iconWrapper:X7e,predRelative:Y7e,realRelative:J7e,iconImg:Q7e,content:eve,header:tve,predJustify:ave,realJustify:nve,predHeaderLineHeight:ove,realHeaderLineHeight:cve,title:ive,titleBlack:rve,titleWhite:sve,subtitle:dve,valueRowHorizontal:lve,valueRowVertical:hve,singleValue:uve,primaryRow:pve,maxBadge:yve,valuePrimary:kve,valuePrimaryBlack:mve,valuePrimaryWhite:fve,valueSlash:gve,valueSecondary:vve,valueSecondaryBlue:xve,valueSecondaryWhite:Mve,valueSecondaryBlack:_ve,valueStacked:Lve,stackedTop:Ive,stackedBottom:bve},wve=({a11yConfig:e,iconName:t,title:n,subtitle:c,showSubtitle:i,realised:r="-",prediction:s="-",size:d="big",titleColor:l="black",valueColor:h="blue",realValueColor:u,predictionValueColor:p,className:y="",style:f="",variant:g="horizontal",showMax:m=!1,titleFontSize:x,titleFontWeight:M,subtitleFontSize:v,subtitleFontWeight:L,primaryFontSize:b,primaryFontWeight:C,secondaryFontSize:N,secondaryFontWeight:_,backgroundColor:I="#f2f9fc",gap:j="",disabled:w=!1,positionRelative:S="",justifyContent:$="",headerLineHeight:A="",headerMinHeight:H="",contentSpace:P="",titleKey:V,subtitleKey:q,subtitleA11yKey:z,maxBadgeKey:R,maxBadgeA11yKey:T,predictionKey:O,predictionA11yKey:Q,realisedKey:E,realisedA11yKey:U})=>{const ie=i!==void 0?i:!!c,ce=`${ye.container} ${ye[d]} ${ye[f]} ${w?ye.disabled:""}`,Me=h==="white"?ye.valuePrimaryWhite:ye.valuePrimaryBlack,re=h==="blue"?ye.valueSecondaryBlue:h==="white"?ye.valueSecondaryWhite:ye.valueSecondaryBlack,ae=W=>W===void 0?void 0:typeof W=="number"?`${W}px`:W,ne=W=>W===void 0?void 0:W,le=g==="vertical",pe=s!=null&&s!==""&&s!=="-"&&s!=="—",me=le?ye.valueRowVertical:ye.valueRowHorizontal;return o.jsxs("div",{className:`${ce} ${y}`,style:{backgroundColor:I},children:[t&&o.jsx("div",{className:`${ye.iconWrapper} ${ye[S]}`,children:t}),o.jsxs("div",{className:`${ye.content} ${ye[j]} ${pe?"":ye.singleValue} content-indicator-v2`,style:{justifyContent:P},children:[o.jsx("div",{className:`${ye.header} ${ye[$]} ${ye[A]} header-indicator-v2`,style:{minHeight:H},children:o.jsx("h6",{className:`${ye.title}`,style:{fontSize:ae(x),fontWeight:ne(M),color:l},title:J(e,V),children:n})}),ie&&c?o.jsx("div",{className:"subtitle-container",children:o.jsx("span",{className:ye.subtitle,style:{fontSize:ae(v),fontWeight:ne(L)},title:J(e,q,z),children:c})}):null,o.jsxs("div",{className:`${me} count-indicator-v2`,children:[o.jsxs("div",{className:ye.primaryRow,children:[m&&o.jsx("span",{className:`${ye.maxBadge} max-badge-indicator-v2`,title:J(e,R,T),children:"MAX"}),o.jsx("span",{className:`${ye.valuePrimary} ${Me}`,style:{fontSize:ae(b||(!pe&&le?"1.75rem":void 0)),fontWeight:ne(C),color:u||void 0},title:J(e,E,U),children:r})]}),pe&&o.jsxs(o.Fragment,{children:[!le&&o.jsx("span",{className:ye.valueSlash,style:{fontSize:ae(N),fontWeight:ne(_)},children:"/"}),o.jsx("span",{className:`${ye.valueSecondary} ${re}`,style:{fontSize:ae(N),fontWeight:ne(_),color:p||void 0},title:J(e,O,Q),children:s})]})]})]})]})},Cve="_banner_1527l_2",Nve="_iep_1527l_14",Sve="_groupSmall_1527l_24",jve="_genre_1527l_34",$ve="_gravite_1527l_49",qve="_orientationContainer_1527l_55",Ave="_service_1527l_68",zve="_roomBedContainer_1527l_78",Vve="_room_1527l_78",Pve="_bed_1527l_94",Tve="_bedUf_1527l_99",Hve="_statusContainer_1527l_104",Dve="_status_1527l_104",Bve="_centeredWarn_1527l_131",Oe={banner:Cve,iep:Nve,groupSmall:Sve,genre:jve,gravite:$ve,orientationContainer:qve,service:Ave,roomBedContainer:zve,room:Vve,bed:Pve,bedUf:Tve,statusContainer:Hve,status:Dve,centeredWarn:Bve},Rve=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},Z.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},Z.createElement("path",{fill:"#D9D9D9",d:"M0 0h16v16H0z"})),Z.createElement("g",{mask:"url(#a)"},Z.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"}))),Rj=k.memo(Rve),Fve=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",...e},Z.createElement("mask",{id:"a",width:20,height:20,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},Z.createElement("path",{fill:"#D9D9D9",d:"M0 0h20v20H0z"})),Z.createElement("g",{mask:"url(#a)"},Z.createElement("path",{fill:"#1C1B1F",d:"M9.25 17v-1.5h-1.5V14h1.5v-1.583a4.24 4.24 0 0 1-2.51-1.46 4.06 4.06 0 0 1-.99-2.707q0-1.774 1.24-3.012T10 4t3.01 1.238 1.24 3.012q0 1.539-.99 2.707a4.24 4.24 0 0 1-2.51 1.46v1.579h1.5V15.5h-1.5V17zm2.698-6.807a2.66 2.66 0 0 0 .802-1.948q0-1.14-.807-1.943A2.66 2.66 0 0 0 9.995 5.5a2.64 2.64 0 0 0-1.943.807 2.66 2.66 0 0 0-.802 1.948q0 1.14.807 1.943a2.66 2.66 0 0 0 1.948.802q1.14 0 1.943-.807"}))),Eve=k.memo(Fve),Ove=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",...e},Z.createElement("mask",{id:"a",width:20,height:20,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},Z.createElement("path",{fill:"#D9D9D9",d:"M0 0h20v20H0z"})),Z.createElement("g",{mask:"url(#a)"},Z.createElement("path",{fill:"#1C1B1F",d:"M16 4v4.5h-1.5V6.563l-2.75 2.75q.366.545.558 1.157.192.614.192 1.271 0 1.781-1.235 3.02T8.255 16 5.24 14.765 4 11.755 5.236 8.74Q6.474 7.5 8.25 7.5q.667 0 1.281.177.615.178 1.156.573l2.75-2.75H11.5V4zM6.302 9.807a2.66 2.66 0 0 0-.802 1.948q0 1.14.807 1.943a2.66 2.66 0 0 0 1.948.802q1.14 0 1.943-.807A2.66 2.66 0 0 0 11 11.745q0-1.14-.807-1.943A2.66 2.66 0 0 0 8.245 9a2.64 2.64 0 0 0-1.943.807"}))),Uve=k.memo(Ove),Wve=({patient:e,genre:t,gravite:n,bed:c,bed_uf:i,room:r,orientation:s,status:d,backgroundColor:l="#ffffff",primaryFontColor:h="#111827",secondaryFontColor:u="#6b7280",statusFontColor:p="#0284c7",statusBackgroundColor:y="#e0f2fe",genreBackgroundColor:f="#9ca3af",genreFontSize:g,style:m,warn:x=!1,warnMessage:M,warnColor:v="#F94134"})=>{const L=(t??"").trim().toUpperCase();return o.jsxs("div",{className:Oe.banner,style:{backgroundColor:l,...m},children:[o.jsxs("div",{className:Oe.iep,children:[o.jsx("div",{style:{color:u},children:e.iep??"--"}),o.jsxs("div",{style:{color:h},children:[((e.nom||"").trim().split(/\s+/)[0]||"").substring(0,3).toUpperCase(),"."," ",((e.prenom||"").trim().split(/\s+/)[0]||"").substring(0,3).toLowerCase().replace(/^./,b=>b.toUpperCase()),".(",e.age,")"]})]}),o.jsxs("div",{className:Oe.groupSmall,children:[o.jsx("span",{className:`${Oe.genre} genre-info-banner`,style:{color:"#ffffff",background:f,fontSize:g},role:"img","aria-label":L==="F"?"Female":L==="M"?"Male":t||"Unknown gender",children:L==="F"?o.jsx(Eve,{width:20,height:20,"aria-hidden":"true"}):L==="M"?o.jsx(Uve,{width:20,height:20,"aria-hidden":"true"}):t||"--"}),o.jsx("span",{className:`${Oe.gravite} gravite-info-banner`,children:n??"--"})]}),o.jsx("div",{className:Oe.orientationContainer,children:o.jsx("div",{className:Oe.service,style:{color:h},children:s??"--"})}),o.jsxs("div",{className:Oe.roomBedContainer,children:[i&&o.jsx("span",{className:Oe.bedUf,children:i}),o.jsx("span",{className:Oe.room,children:r??"--"}),o.jsx("span",{className:Oe.bed,children:c??"--"})]}),o.jsxs("div",{className:Oe.statusContainer,children:[d?o.jsx("div",{className:`${Oe.status} status-info-banner`,style:{color:p,backgroundColor:y},children:d}):x&&o.jsxs("div",{className:Oe.centeredWarn,style:{textTransform:"uppercase"},children:[o.jsx(Rj,{color:v,width:20,height:20,style:{marginRight:"6px"}}),o.jsx("span",{style:{color:v,fontSize:"12px",fontWeight:600},children:M})]}),d&&x&&o.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:v,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[o.jsx(Rj,{color:v,width:12,height:12,style:{marginRight:"4px"}}),o.jsx("span",{children:M})]})]})]})},Gve=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z"})),Kve=k.memo(Gve),Zve=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.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"})),DA=k.memo(Zve),Xve=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),Yve=k.memo(Xve),Jve="_overlay_1sx2l_1",Qve="_container_1sx2l_11",e9e="_fullscreen_1sx2l_24",t9e="_header_1sx2l_30",a9e="_headerActions_1sx2l_42",n9e="_iconButton_1sx2l_47",o9e="_body_1sx2l_58",c9e="_sidebar_1sx2l_65",i9e="_content_1sx2l_91",r9e="_contentHeader_1sx2l_98",s9e="_childrenWrapper_1sx2l_114",d9e="_footer_1sx2l_138",l9e="_baseButton_1sx2l_147",h9e="_noOverlay_1sx2l_161",u9e="_contained_1sx2l_169",qe={overlay:Jve,container:Qve,fullscreen:e9e,header:t9e,headerActions:a9e,iconButton:n9e,body:o9e,sidebar:c9e,content:i9e,contentHeader:r9e,childrenWrapper:s9e,footer:d9e,baseButton:l9e,noOverlay:h9e,contained:u9e},p9e=({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:l,children:h,contentTitle:u,contentBackgroundColor:p="var(--color-content-background)",sideContent:y,hideMaximize:f=!1,hideHeader:g=!1,hideSidebar:m=!1,onDelete:x,deleteLabel:M="Supprimer",width:v="75%",maxWidth:L="none",height:b="85%",maxHeight:C="85%",borderRadius:N="0.5rem",childrenPadding:_="1rem",overflow:I="auto",contentHeaderAction:j,contentFooterAction:w,footerOverride:S,hideFooter:$=!1,hideOverlay:A=!1,position:H,a11yConfig:P})=>{const[V,q]=k.useState(!1),z=k.useRef(null);if(k.useEffect(()=>{if(!r||!A)return;const T=O=>{(O.type==="scroll"||O.type==="wheel"||O.type==="touchmove"||z.current&&!z.current.contains(O.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 R=(T,O=!1)=>o.jsx(yL,{onClick:T.disabled?void 0:T.onClick,className:qe.baseButton,disabled:T.disabled,style:{background:T.backgroundColor??(O?"#008FBB":"#ffffff"),color:T.textColor??(O?"#ffffff":"#374151"),border:T.borderColor?`1px solid ${T.borderColor}`:O?"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:J(T.a11yConfig,T.text),children:T.text});return o.jsx("div",{className:A?qe.noOverlay:qe.overlay,onClick:s,children:o.jsxs("div",{ref:z,className:`${qe.container} ${V?qe.fullscreen:""} ${A?qe.contained:""}`,onClick:T=>T.stopPropagation(),style:{width:V?"100%":v,maxWidth:V?"none":L,height:V?"100%":b,maxHeight:V?"100%":C,borderRadius:V?"0":N,overflow:I,...H||{}},children:[!g&&o.jsxs("header",{className:qe.header,style:{backgroundColor:n},children:[o.jsx("h2",{style:{fontSize:c,fontWeight:i,color:t},title:J(P,e),children:e}),o.jsxs("div",{className:qe.headerActions,children:[!f&&o.jsx("button",{onClick:()=>q(!V),className:qe.iconButton,title:V?"Réduire":"Agrandir",children:V?o.jsx(Yve,{width:22,height:22,fill:t}):o.jsx(Kve,{width:22,height:22,fill:t})}),o.jsx("button",{onClick:s,className:qe.iconButton,title:"Fermer",children:o.jsx(DA,{width:22,height:22,fill:t})})]})]}),o.jsxs("div",{className:qe.body,style:{overflow:I},children:[y&&!m&&o.jsx("aside",{className:qe.sidebar,children:y}),o.jsxs("main",{className:qe.content,style:{backgroundColor:p,overflow:I},children:[u&&o.jsxs("header",{className:qe.contentHeader,style:{backgroundColor:n},children:[o.jsx("span",{style:{color:t},children:u}),j]}),o.jsx("div",{className:qe.childrenWrapper,style:{padding:_,overflow:I},children:h})]})]}),!$&&o.jsx("footer",{className:qe.footer,style:{backgroundColor:n},children:S!==void 0?S:o.jsxs(o.Fragment,{children:[x&&o.jsx(yL,{onClick:x,className:qe.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:M}),w,R(d),R(l,!0)]})})]})})},y9e="_container_1vb1c_1",k9e="_searchWrapper_1vb1c_10",m9e="_navItems_1vb1c_17",Kb={container:y9e,searchWrapper:k9e,navItems:m9e},f9e=({items:e,activeId:t,activeColor:n="#00aec7",backgroundColor:c="#fff",textColor:i="#000",onItemClick:r,searchValue:s="",onSearchChange:d,searchPlaceholder:l="Rechercher",width:h="100%",className:u=""})=>o.jsxs("div",{className:`${Kb.container} ${u}`,style:{width:h,backgroundColor:c,color:i},children:[o.jsx("div",{className:Kb.searchWrapper,children:o.jsx($A,{value:s,onChange:d,placeholder:l,iconPosition:"right",iconColor:"var(--color-text)"})}),o.jsx("div",{className:Kb.navItems,children:e.map(p=>o.jsx(lC,{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))})]}),g9e=({modules:e,selectedModuleId:t,onSelectModule:n,onAddModule:c,onItemAdd:i,onEditModule:r,onDeleteModule:s,onReorder:d,title:l="Modules",titleKey:h,addModuleTitle:u="Ajouter un module",addModuleLabel:p="Titre",addModulePlaceholder:y="Nom du module",renameModuleTitle:f="Renommer le module",renameModuleLabel:g="Titre",renameModulePlaceholder:m="Nom du module",confirmText:x="Valider",cancelText:M="Annuler",headerLabel:v,headerLabelKey:L,showAddIcon:b=!0,showCount:C=!0,showToggle:N=!1,showActions:_=!0,onToggle:I,a11yConfig:j})=>{const[w,S]=k.useState(!1),[$,A]=k.useState(null),[H,P]=k.useState(null),[V,q]=k.useState(null),[z,R]=k.useState(null),T=()=>{R(W=>W===null?"asc":W==="asc"?"desc":null),I&&I()},O=k.useMemo(()=>z?[...e].sort((W,Y)=>{const se=W.title.toLowerCase(),$e=Y.title.toLowerCase();return z==="asc"?se.localeCompare($e):$e.localeCompare(se)}):e,[e,z]),Q=()=>S(!0),E=()=>S(!1),U=W=>{const Y=W.title?.trim();Y&&c&&c(Y),E()},ie=(W,Y)=>{W.stopPropagation(),A(Y)},ce=()=>A(null),Me=W=>{const Y=W.title?.trim();$&&Y&&r&&r($,Y),ce()},re=(W,Y)=>{W.stopPropagation(),s&&s(Y)},ae=(W,Y)=>{W.stopPropagation(),i&&i(Y)},ne=(W,Y)=>{P(Y),W.dataTransfer.effectAllowed="move"},le=(W,Y)=>{H!==null&&(W.preventDefault(),W.dataTransfer.dropEffect="move",Y!==V&&q(Y))},pe=(W,Y)=>{if(W.preventDefault(),H===null||H===Y||!d)return;const se=[...O],[$e]=se.splice(H,1);se.splice(Y,0,$e),R(null),d(se),P(null),q(null)},me=()=>{P(null),q(null)};return o.jsxs("div",{className:"module-sidebar-v2",children:[o.jsx("div",{className:"sidebar-header",children:v?o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"header-label-container",onClick:T,children:[o.jsx("div",{className:"header-label",title:J(j,L),children:v}),z==="asc"?o.jsx(t1,{size:12,className:"header-toggle-icon",strokeWidth:3}):o.jsx(e1,{size:12,className:"header-toggle-icon",strokeWidth:3})]}),b&&o.jsx(Ac,{size:18,className:"add-view-icon",onClick:Q})]}):o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"header-title",title:J(j,h),children:[N&&(z==="asc"?o.jsx(t1,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:T}):o.jsx(e1,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:T})),l," ",C&&`(${O.length})`]}),b&&o.jsx(Ac,{size:18,className:"add-view-icon",onClick:Q})]})}),o.jsx("div",{className:"module-list",children:O.map((W,Y)=>o.jsxs("div",{className:`module-item ${W.id===t?"selected":""} ${V===Y&&H!==Y?"drag-over":""} ${H===Y?"dragging":""}`,onClick:()=>n&&n(W),draggable:!!d,onDragStart:d?se=>ne(se,Y):void 0,onDragOver:d?se=>le(se,Y):void 0,onDrop:d?se=>pe(se,Y):void 0,onDragEnd:d?me:void 0,children:[W.icon||o.jsx(A1,{size:18,className:"drag-handle"}),o.jsxs("div",{className:"module-content",title:J(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(zc,{size:14,className:"action-icon add",onClick:se=>ae(se,W)}),r&&o.jsx(xt,{size:12,className:"action-icon edit",onClick:se=>ie(se,W)}),s&&o.jsx(kt,{size:12,className:"action-icon delete",onClick:se=>re(se,W)})]})]},W.id))}),o.jsx(Dc,{isOpen:w,onClose:E,onSave:U,title:u,fields:[{name:"title",label:p,placeholder:y}],confirmText:x,cancelText:M}),$&&o.jsx(Dc,{isOpen:!!$,onClose:ce,onSave:Me,title:f,initialValues:{title:$.title},fields:[{name:"title",label:g,placeholder:m}],confirmText:x,cancelText:M})]})},v9e=({mod:e,index:t,total:n,isSelected:c,onSelectModule:i})=>o.jsxs("div",{className:`module-item${c?" selected":""}`,onClick:()=>i?.(e),"aria-posinset":t+1,"aria-setsize":n,role:"listitem",children:[e.icon,o.jsxs("div",{className:"module-content",title:J(e.a11yConfig,e.titleKey),children:[o.jsx("div",{className:"module-title",children:e.title}),e.subtitle&&o.jsx("div",{className:"module-subtitle",children:e.subtitle})]})]}),x9e=({modules:e,selectedModuleId:t,onSelectModule:n,title:c="Modules",titleKey:i,showCount:r=!0,showSearch:s=!0,searchValue:d,searchPlaceholder:l,onSearchTyping:h,onSearchSubmit:u,searchDebounceMs:p=300,isLoading:y=!1,loadingComponent:f,emptyComponent:g,a11yConfig:m,borderColor:x,hoverBackgroundColor:M,selectedBackgroundColor:v})=>{const[L,b]=k.useState(d??""),C=k.useRef(null);k.useEffect(()=>{d!==void 0&&b(d)},[d]),k.useEffect(()=>()=>{C.current&&clearTimeout(C.current)},[]);const N=j=>{const w=j.target.value;b(w),C.current&&clearTimeout(C.current),C.current=setTimeout(()=>{h?.(w)},p)},_=j=>{j.key==="Enter"&&u?.(L)},I={"--smsb-border-color":x??"var(--color-border, #efefef)","--smsb-hover-background":M??"var(--color-content-background, #f8fafc)","--smsb-selected-background":v??"var(--color-neutral, #f4f4f4)"};return o.jsxs("div",{className:"searchable-module-sidebar",style:I,children:[o.jsx("div",{className:"sidebar-header",children:o.jsxs("div",{className:"header-title",title:J(m,i),children:[c," ",r&&`(${e.length})`]})}),s&&o.jsx("div",{className:"sidebar-search",children:o.jsx("input",{type:"text",className:"search-input",value:L,placeholder:l,onChange:N,onKeyDown:_})}),o.jsx("div",{className:"module-list",children:y?f:e.length===0?g:e.map((j,w)=>o.jsx(v9e,{mod:j,index:w,total:e.length,isSelected:j.id===t,onSelectModule:n},j.id))})]})},M9e=({keyName:e,translations:t,availableLanguages:n,onChange:c,onRename:i,onDelete:r,a11yConfig:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState(e),[p,y]=k.useState(null),[f,g]=k.useState(""),[m,x]=k.useState(!1),[M,v]=k.useState(""),[L,b]=k.useState(""),C=k.useMemo(()=>{const V={};return Array.isArray(t)&&t.forEach(q=>{q&&q.language&&(V[q.language.toUpperCase()]=q.value)}),V},[t]),N=k.useMemo(()=>n,[n]),_=()=>{l(!1),h!==e&&h.trim()!==""?i&&i(h.trim()):u(e)},I=V=>{V.key==="Enter"?_():V.key==="Escape"&&(u(e),l(!1))},j=V=>{const q=V.toUpperCase();y(q),g(C[q]||"")},w=()=>{p&&(c(p,f),y(null),g(""))},S=V=>{V.key==="Enter"?w():V.key==="Escape"&&(y(null),g(""))},$=()=>{x(!0),N.length>0&&v(N[0].toUpperCase()),b("")},A=()=>{M&&L.trim()&&(c(M,L.trim()),x(!1),v(""),b(""))},H=()=>{x(!1),v(""),b("")},P=V=>{V.key==="Enter"?A():V.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:h,onChange:V=>u(V.target.value),onBlur:_,onKeyDown:I,autoFocus:!0}):o.jsx("h3",{className:"header-title",title:J(s,e),children:e}),o.jsxs("div",{className:"header-actions",children:[o.jsx(xt,{size:16,className:"action-icon edit",onClick:()=>l(!0)}),o.jsx(kt,{size:16,className:"action-icon delete",onClick:r})]})]}),o.jsxs("div",{className:"translations-list",children:[n.map(V=>{const q=V.toUpperCase(),z=C[q]||"",R=p===q;return o.jsxs("div",{className:"lang-row",children:[o.jsx("div",{className:"lang-label",children:q}),R?o.jsx("input",{className:"translation-input editing",value:f,onChange:T=>g(T.target.value),onBlur:w,onKeyDown:S,placeholder:"Entrez la traduction...",autoFocus:!0}):o.jsx("div",{className:`translation-value ${z?"":"empty"}`,onClick:()=>j(V),title:"Cliquer pour éditer",children:z||"Cliquer pour ajouter..."})]},V)}),m?o.jsxs("div",{className:"lang-row add-row",children:[o.jsx("select",{className:"lang-select",value:M,onChange:V=>v(V.target.value),children:N.map(V=>o.jsx("option",{value:V.toUpperCase(),children:V.toUpperCase()},V))}),o.jsx("input",{className:"translation-input editing",value:L,onChange:V=>b(V.target.value),onKeyDown:P,placeholder:"Mot",autoFocus:!0}),o.jsxs("div",{className:"add-actions",children:[o.jsx(N1,{size:18,className:"action-icon confirm",onClick:A}),o.jsx(at,{size:18,className:"action-icon cancel",onClick:H})]})]}):N.length>0&&o.jsxs("button",{className:"add-translation-btn",onClick:$,children:[o.jsx(zc,{size:16}),o.jsx("span",{children:"Ajouter"})]})]})]})},_9e="_overlay_t6q3c_1",L9e="_modal_t6q3c_15",I9e="_body_t6q3c_30",b9e="_footer_t6q3c_50",w9e="_confirmButton_t6q3c_59",C9e="_danger_t6q3c_76",N9e="_cancelButton_t6q3c_80",jt={overlay:_9e,modal:L9e,body:I9e,footer:b9e,confirmButton:w9e,danger:C9e,cancelButton:N9e},S9e=({isOpen:e,message:t,children:n,onConfirm:c,onCancel:i,confirmText:r="Confirmer",cancelText:s="Annuler",isDanger:d=!1,hideFooter:l=!1,secondaryConfirmText:h,onSecondaryConfirm:u,modalStyle:p,bodyStyle:y,footerStyle:f,cancelButtonStyle:g,confirmButtonStyle:m,overlayStyle:x,modalClassName:M,bodyClassName:v,footerClassName:L,overlayClassName:b})=>{if(!e)return null;const C=n??t;return o.jsx("div",{className:`${jt.overlay} ${b||""}`.trim(),onClick:i,style:x,children:o.jsxs("div",{className:`${jt.modal} ${M||""}`.trim(),onClick:N=>N.stopPropagation(),style:p,children:[o.jsx("div",{className:`${jt.body} ${v||""}`.trim(),style:y,children:typeof C=="string"?o.jsx("p",{children:C}):C}),!l&&o.jsxs("div",{className:`${jt.footer} ${L||""}`.trim(),style:f,children:[s&&o.jsx("button",{className:jt.cancelButton,onClick:i,style:g,children:s}),h&&u&&o.jsx("button",{className:jt.confirmButton,onClick:u,children:h}),r&&o.jsx("button",{className:`${jt.confirmButton} ${d?jt.danger:""}`,onClick:c,style:m,children:r})]})]})})},j9e="_card_1ildr_1",$9e="_topIcon_1ildr_17",q9e="_title_1ildr_24",A9e="_text_1ildr_31",z9e="_bottomIcon_1ildr_37",x1={card:j9e,topIcon:$9e,title:q9e,text:A9e,bottomIcon:z9e},V9e=({topIcon:e,title:t,text:n,bottomIcon:c,onClick:i,className:r="",headerTextColor:s="#000",textColor:d="#4b5563",backgroundColor:l="#fff",a11yConfig:h})=>o.jsxs("div",{className:`${x1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:l},title:J(h,t),children:[e&&o.jsx("div",{className:x1.topIcon,children:e}),o.jsx("h3",{className:x1.title,style:{color:s},children:t}),o.jsx("p",{className:x1.text,style:{color:d},children:n}),c&&o.jsx("div",{className:x1.bottomIcon,children:c})]}),P9e="_container_oylor_1",T9e="_disabled_oylor_9",H9e="_selectBox_oylor_14",D9e="_selectBoxOpen_oylor_36",B9e="_tagsContainer_oylor_41",R9e="_tagsContainerWrap_oylor_51",F9e="_tag_oylor_41",E9e="_tagLabel_oylor_73",O9e="_removeBtnContainer_oylor_79",U9e="_removeBtn_oylor_79",W9e="_searchInput_oylor_104",G9e="_placeholder_oylor_124",K9e="_actions_oylor_131",Z9e="_clearBtn_oylor_138",X9e="_chevron_oylor_160",Y9e="_chevronOpen_oylor_166",J9e="_dropdown_oylor_170",Q9e="_option_oylor_184",exe="_optionHeader_oylor_197",txe="_noOptions_oylor_213",axe="_overflowBlock_oylor_220",nxe="_overflowEllipsis_oylor_227",oxe="_overflowBadge_oylor_234",cxe="_overflowBadgeWrap_oylor_257",ixe="_overflowDropdown_oylor_263",rxe="_overflowDropdownItem_oylor_279",sxe="_overflowDropdownItemLabel_oylor_290",dxe="_overflowDropdownItemRemove_oylor_297",de={container:P9e,disabled:T9e,selectBox:H9e,selectBoxOpen:D9e,tagsContainer:B9e,tagsContainerWrap:R9e,tag:F9e,tagLabel:E9e,removeBtnContainer:O9e,removeBtn:U9e,searchInput:W9e,placeholder:G9e,actions:K9e,clearBtn:Z9e,chevron:X9e,chevronOpen:Y9e,dropdown:J9e,option:Q9e,optionHeader:exe,noOptions:txe,overflowBlock:axe,overflowEllipsis:nxe,overflowBadge:oxe,overflowBadgeWrap:cxe,overflowDropdown:ixe,overflowDropdownItem:rxe,overflowDropdownItemLabel:sxe,overflowDropdownItemRemove:dxe},lxe=({options:e,noOptionsMessage:t="",value:n,onChange:c,placeholder:i="Sélectionner...",isSearchable:r=!0,className:s="",disabled:d=!1,allowWrap:l=!1})=>{const[h,u]=k.useState(!1),[p,y]=k.useState(""),f=k.useRef(null),g=k.useRef(null),m=k.useRef(null),x=k.useRef(null),[M,v]=k.useState(null),[L,b]=k.useState(!1),C=k.useRef([]),N=k.useRef(null),_=k.useMemo(()=>{const q=new Map(e.map(z=>[z.value,z]));return n.map(z=>q.get(z)).filter(z=>z!==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(z=>z.label.toLowerCase().includes(p.toLowerCase()))),q.filter((z,R)=>{if(!z.isHeader)return!0;for(let T=R+1;T<q.length&&!q[T].isHeader;T++)return!0;return!1})},[I,p]);k.useEffect(()=>{const q=z=>{const R=z.target;f.current&&!f.current.contains(R)&&(u(!1),y(""),v(null),b(!1))};return document.addEventListener("mousedown",q),()=>document.removeEventListener("mousedown",q)},[]),k.useEffect(()=>{if(l)return;if(_.length===0){v(null),C.current=[];return}_.length>C.current.length&&v(null);const q=()=>{const O=m.current,Q=x.current;if(!O||!Q)return;const E=Q.getBoundingClientRect().width,U=Q.querySelector(`.${de.actions}`),ie=U?U.getBoundingClientRect().width:80,ce=56,Me=r?80:0,re=16,ae=Array.from(O.querySelectorAll(`.${de.tag}`));ae.length===_.length&&(C.current=ae.map(ve=>{const je=ve.getBoundingClientRect(),Bc=ve.scrollWidth;return Math.max(je.width,Bc,ve.offsetWidth||0)}));const ne=C.current,le=ne.length>0?ne.reduce((ve,je)=>ve+je,0)/ne.length:120,pe=_.length<=ne.length?ne.slice(0,_.length):[...ne,...Array(_.length-ne.length).fill(le)],me=4,W=Math.max(0,E-ie-Me-re);let Y=0,se=0;for(let ve=0;ve<_.length;ve++){const je=pe[ve]??120;if(Y+je+me>W)break;Y+=je+me,se++}if(se>=_.length){v(null);return}const $e=Math.max(0,E-ce-ie-Me-re);Y=0;let Re=0;for(let ve=0;ve<_.length;ve++){const je=pe[ve]??120;if(Y+je+me>$e)break;Y+=je+me,Re++}Re<_.length&&Re>0?v(Re):v(null)},z=requestAnimationFrame(()=>{q()}),R=setTimeout(q,100),T=new ResizeObserver(()=>{q()});return x.current&&T.observe(x.current),()=>{cancelAnimationFrame(z),clearTimeout(R),T.disconnect()}},[_,r,h,l]);const w=()=>{if(d)return;const q=!h;q&&b(!1),u(q),q&&r&&setTimeout(()=>g.current?.focus(),0)},S=q=>{if(n.includes(q.value))return;b(!1);const z=[..._,q];c(z),y(""),v(null),u(!1)},$=q=>{q.preventDefault(),q.stopPropagation(),b(z=>!z)},A=M!=null&&M<_.length?_.slice(M):[],H=(q,z)=>{z.stopPropagation();const R=_.filter(T=>T.value!==q);c(R)},P=q=>{q.stopPropagation(),c([])},V=q=>{q.stopPropagation(),h||u(!0)};return o.jsxs("div",{className:`${de.container} ${s} ${d?de.disabled:""}`,ref:f,children:[o.jsxs("div",{ref:x,className:`${de.selectBox} ${h?de.selectBoxOpen:""}`,onClick:w,role:"combobox","aria-expanded":h,"aria-haspopup":"listbox",children:[o.jsxs("div",{className:`${de.tagsContainer} ${l?de.tagsContainerWrap:""}`,ref:m,children:[M!==null&&M>0?_.slice(0,M).map((q,z)=>o.jsxs("div",{className:de.tag,children:[o.jsx("div",{className:de.tagLabel,children:o.jsx("span",{children:q.label})}),o.jsx("div",{className:de.removeBtnContainer,children:o.jsx("button",{type:"button",className:de.removeBtn,onClick:R=>H(q.value,R),"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}-${z}`)):_.map((q,z)=>o.jsxs("div",{className:de.tag,children:[o.jsx("div",{className:de.tagLabel,children:o.jsx("span",{children:q.label})}),o.jsx("div",{className:de.removeBtnContainer,children:o.jsx("button",{type:"button",className:de.removeBtn,onClick:R=>H(q.value,R),"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}-${z}`)),r?o.jsx("input",{ref:g,type:"text",className:de.searchInput,placeholder:_.length===0?i:"",value:p,onChange:q=>{y(q.target.value),h||u(!0)},onClick:V,disabled:d}):_.length===0&&o.jsx("span",{className:de.placeholder,children:i})]}),!l&&M!==null&&M<_.length&&o.jsxs("div",{className:de.overflowBlock,children:[o.jsx("span",{className:de.overflowEllipsis,children:"..."}),o.jsxs("div",{className:de.overflowBadgeWrap,children:[o.jsx("button",{ref:N,type:"button",className:de.overflowBadge,onClick:$,"aria-label":`Afficher ${A.length} éléments cachés`,children:A.length}),L&&A.length>0&&o.jsx("div",{className:de.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:A.map((q,z)=>o.jsxs("div",{className:de.overflowDropdownItem,children:[o.jsx("span",{className:de.overflowDropdownItemLabel,children:q.label}),o.jsx("button",{type:"button",className:de.overflowDropdownItemRemove,onClick:R=>{R.stopPropagation(),H(q.value,R)},"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}-${z}`))})]})]}),o.jsxs("div",{className:de.actions,children:[_.length>0&&o.jsx("button",{type:"button",className:de.clearBtn,onClick:P,"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:`${de.chevron} ${h?de.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"})})]})]}),h&&!d&&o.jsx("div",{className:de.dropdown,role:"listbox",children:j.length>0?j.map((q,z)=>o.jsx("div",{className:`${de.option} ${q.isHeader?de.optionHeader:""}`,onClick:()=>!q.isHeader&&S(q),role:"option","aria-selected":!1,children:q.label},`opt-${q.value}-${z}`)):o.jsx("div",{className:de.noOptions,children:t})})]})},hxe="_container_h7jek_1",Fj={container:hxe},uxe=({a11yConfigs:e=[],titleKeys:t=[],labels:n=[],data:c=[],selectedUfs:i=[],icons:r=[],lastCardTextColor:s="black",boardColors:d={},order:l})=>{const h=k.useMemo(()=>{const g=i.length===0?c:c.filter(x=>x&&i.includes(String(x.uf).replace(/^0+/,""))),m=new Set;return g.filter(x=>{if(!x||!x.uf)return!1;const M=String(x.uf).replace(/^0+/,"");return m.has(M)?!1:(m.add(M),!0)})},[c,i]),u=k.useMemo(()=>h.reduce((g,m)=>({disponibles:g.disponibles+(m.totalAvailable??m.disponibles??0),homme:g.homme+(m.availableMen??m.disponibleHomme??0),femme:g.femme+(m.availableWomen??m.disponibleFemme??0),indifferencie:g.indifferencie+(m.availableIndifferentSex??m.indifferences??0),sorties:g.sorties+(m.outToday??m.sortie24??0),occupiedBed:g.occupiedBed+(m.occupiedBed??0),patientsPresents:g.patientsPresents+(m.patientsPresents??0),occupationRate:g.occupationRate+(m.occupationRate??0),occupesRaw:g.occupesRaw+(m.occupesRaw??0),ouvertsRaw:g.ouvertsRaw+(m.ouvertsRaw??0)}),{disponibles:0,homme:0,femme:0,indifferencie:0,sorties:0,occupiedBed:0,patientsPresents:0,occupationRate:0,occupesRaw:0,ouvertsRaw:0}),[h]),p=g=>d.disponibles?d.disponibles:g>3?"#35994E":g>=1?"#EF6C00":"#C62828",y={bars:"none",justifyContent:"flexStart",alignItems:"center",valueFontWeight:"400",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}},f=(g,m)=>{const x=l!==void 0&&m===l.length-1;switch(g){case"disponibles":return{...y,value:u.disponibles.toLocaleString("fr-FR"),backgroundColor:p(u.disponibles),valueFontSize:"2.5rem",titleColor:"white",valueColor:"white"};case"occupiedBed":return{...y,value:u.occupiedBed.toLocaleString("fr-FR"),backgroundColor:d.occupes??d.homme??"#7DD493",valueFontSize:x?"3rem":"2.375rem",titleColor:"black",valueColor:"black"};case"patientsPresents":return{...y,value:u.patientsPresents.toLocaleString("fr-FR"),backgroundColor:d.patientsPresents??d.femme??"#7DD493",valueFontSize:x?"3rem":"2.375rem",titleColor:"black",valueColor:"black"};case"occupationRate":{const M=u.ouvertsRaw>0?parseFloat((u.occupesRaw/u.ouvertsRaw*100).toFixed(2)):u.occupationRate;return{...y,value:`${M.toLocaleString("fr-FR")}%`,backgroundColor:d.occupationRate??d.indifferencie??"#7DD493",valueFontSize:x?"3rem":"2.375rem",titleColor:"black",valueColor:"black"}}case"outToday":return{...y,value:u.sorties.toLocaleString("fr-FR"),backgroundColor:d.sorties??"#F2F9FC",valueFontSize:"3rem",titleColor:s,valueColor:s}}};return l&&l.length>0?o.jsx("div",{className:Fj.container,children:l.map((g,m)=>o.jsx(Mt,{a11yConfig:e[m],titleKey:t[m],label:n[m],iconName:r[m],...f(g,m)},g))}):o.jsxs("div",{className:Fj.container,children:[o.jsx(Mt,{a11yConfig:e[0],titleKey:t[0],label:n[0],value:u.disponibles.toLocaleString("fr-FR"),iconName:r[0],backgroundColor:p(u.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(Mt,{a11yConfig:e[1],titleKey:t[1],label:n[1],value:u.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(Mt,{a11yConfig:e[2],titleKey:t[2],label:n[2],value:u.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(Mt,{a11yConfig:e[3],titleKey:t[3],label:n[3],value:u.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(Mt,{a11yConfig:e[4],titleKey:t[4],label:n[4],value:u.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"}})]})},pxe="_container_1pt6c_1",yxe="_chartContainer_1pt6c_14",kxe="_legend_1pt6c_22",mxe="_legendItem_1pt6c_29",fxe="_leftSection_1pt6c_41",gxe="_colorIndicator_1pt6c_47",vxe="_label_1pt6c_54",xxe="_rightSection_1pt6c_60",Mxe="_ratio_1pt6c_66",_xe="_value1_1pt6c_73",Lxe="_separator_1pt6c_78",Ixe="_value2_1pt6c_82",bxe="_statusIndicator_1pt6c_87",wxe="_inactive_1pt6c_102",Ue={container:pxe,chartContainer:yxe,legend:kxe,legendItem:mxe,leftSection:fxe,colorIndicator:gxe,label:vxe,rightSection:xxe,ratio:Mxe,value1:_xe,separator:Lxe,value2:Ixe,statusIndicator:bxe,inactive:wxe},Ej=Math.PI/180,Cxe=({data:e,height:t=400,bg:n,backgroundColor:c,color:i,fontSize:r,fontWeight:s,padding:d,margin:l,borderRadius:h,className:u="",style:p={},labelColor:y,ratioColor:f,separatorColor:g,borderColor:m,hideDonut:x=!0,hideColorIndicator:M=!1})=>{const[v,L]=k.useState(new Set(e.map(w=>w.nom))),b=w=>{const S=new Set(v);S.has(w)?S.size>1&&S.delete(w):S.add(w),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":l||"0","--border-radius":h||"0","--label-color":y||"inherit","--ratio-color":f||"inherit","--separator-color":g||"#03a9f4","--border-color":m||"#e0e0e0"},N=k.useMemo(()=>e.map(w=>({...w,displayValue:v.has(w.nom)?w.value:0})),[e,v]),_=k.useMemo(()=>e.every(w=>w.value===0),[e]),I=k.useMemo(()=>_?1:N.reduce((w,S)=>w+S.displayValue,0)||1,[_,N]),j=k.useCallback(({cx:w,cy:S,midAngle:$,innerRadius:A,outerRadius:H,value:P})=>{if(P===0||_)return null;const V=A+(H-A)*.5,q=w+V*Math.cos(-$*Ej),z=S+V*Math.sin(-$*Ej),R=Math.round(P/I*100);return o.jsx(a.Text,{x:q,y:z,fill:"white",textAnchor:"middle",dominantBaseline:"central",fontSize:12,fontWeight:"bold",children:`${R}%`})},[I,_]);return o.jsxs("div",{className:`${Ue.container} ${u}`,style:C,children:[!x&&o.jsx("div",{className:Ue.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"}]:N,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"}):N.map((w,S)=>o.jsx(a.Cell,{fill:w.color},`cell-${S}`))})})})}),o.jsx("div",{className:Ue.legend,children:e.map((w,S)=>{const $=v.has(w.nom);return o.jsxs("div",{className:`${Ue.legendItem} ${!x&&!$?Ue.inactive:""}`,onClick:()=>b(w.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[o.jsxs("div",{className:Ue.leftSection,children:[!M&&o.jsx("div",{className:Ue.colorIndicator,style:{backgroundColor:w.color,opacity:x||$?1:.3}}),o.jsx("span",{className:Ue.label,style:{opacity:x||$?1:.5},children:w.nom})]}),o.jsxs("div",{className:Ue.rightSection,style:{opacity:x||$?1:.5},children:[o.jsxs("div",{className:Ue.ratio,children:[o.jsx("span",{className:Ue.value1,children:w.value1}),o.jsx("span",{className:Ue.separator,children:"/"}),o.jsx("span",{className:Ue.value2,children:w.value2})]}),w.statusColor&&o.jsx("div",{className:Ue.statusIndicator,style:{backgroundColor:w.statusColor}})]})]},`legend-${S}`)})})]})},Nxe="_container_1pc4v_1",Sxe="_leftGroup_1pc4v_10",jxe="_iconBtn_1pc4v_16",pi={container:Nxe,leftGroup:Sxe,iconBtn:jxe},$xe=e=>Z.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},Z.createElement("path",{d:"M3 12h18M3 6h18M3 18h18"})),qxe=k.memo($xe),Axe=e=>Z.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},Z.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"})),BA=k.memo(Axe),zxe=({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:l=1,height:h="8vh",onMenuClick:u,onActionClick:p})=>{const y={backgroundColor:r,color:s,borderBottom:`${l}px solid ${d}`,height:h,...c};return o.jsxs("header",{className:[pi.container,i].filter(Boolean).join(" "),style:y,children:[o.jsxs("div",{className:pi.leftGroup,children:[o.jsx("button",{className:pi.iconBtn,onClick:u,"aria-label":"Menu",style:{color:"inherit"},children:e??o.jsx(qxe,{width:22,height:22})}),o.jsx(wL,{...t,size:"medium"})]}),o.jsx("button",{className:pi.iconBtn,onClick:p,"aria-label":"Action",style:{color:"inherit"},children:n??o.jsx(BA,{width:22,height:22})})]})},Vxe="_container_24g3e_1",Pxe="_iconBtn_24g3e_10",Txe="_title_24g3e_22",yi={container:Vxe,iconBtn:Pxe,title:Txe},Hxe=({title:e="Menu",closeIcon:t,actionIcon:n,style:c,className:i,titleStyle:r,bgColor:s="var(--header-bg)",color:d="var(--color-text)",borderBottomColor:l="transparent",borderBottomWidth:h=0,height:u="8vh",onClose:p,onAction:y})=>{const f={backgroundColor:s,color:d,borderBottom:`${h}px solid ${l}`,height:u,...c};return o.jsxs("div",{className:[yi.container,i].filter(Boolean).join(" "),style:f,children:[o.jsx("button",{className:yi.iconBtn,onClick:p,"aria-label":"Fermer",style:{color:"inherit"},children:t??o.jsx(DA,{width:22,height:22})}),o.jsx("span",{className:yi.title,style:{fontWeight:"var(--font-weight-h)",fontSize:"var(--h5)",...r},children:e.toUpperCase()}),o.jsx("button",{className:yi.iconBtn,onClick:y,"aria-label":"Partager",style:{color:"inherit"},children:n??o.jsx(BA,{width:22,height:22})})]})};function RA(e){return e.state?e.state:e.active?"active":"available"}const Dxe=({title:e,countLabel:t="UF",actionIcon:n=o.jsx(kt,{size:16}),onAction:c,items:i=[],onItemClick:r,activeColor:s="var(--color-primary, #0083bb)",id:d,children:l})=>{const h=k.useMemo(()=>i.filter(u=>RA(u)==="active").length,[i]);return o.jsxs(Bxe,{id:d,children:[o.jsxs(Rxe,{children:[o.jsxs(Fxe,{children:[o.jsx(Exe,{children:e}),o.jsxs(Oxe,{children:["(",h," ",t,")"]})]}),c&&o.jsx(Uxe,{onClick:c,title:"Action",children:n})]}),o.jsx(Wxe,{children:o.jsx(Gxe,{children:i.map(u=>o.jsx(Zxe,{item:u,activeColor:s,onItemClick:r},u.id))})}),l&&o.jsx(Xxe,{children:l})]})},Bxe=F.div`
8348
8348
  background: var(--color-card-background, white);
8349
8349
  border: 1px solid var(--color-border, #ddd);
8350
8350
  border-radius: 4px;
@@ -8355,7 +8355,7 @@
8355
8355
  display: flex;
8356
8356
  flex-direction: column;
8357
8357
  color: var(--color-text, inherit);
8358
- `,Txe=F.div`
8358
+ `,Rxe=F.div`
8359
8359
  display: flex;
8360
8360
  justify-content: space-between;
8361
8361
  align-items: center;
@@ -8364,20 +8364,20 @@
8364
8364
  height: 3rem;
8365
8365
  box-sizing: border-box;
8366
8366
  border-bottom: 1px solid var(--color-border, #efefef);
8367
- `,Hxe=F.div`
8367
+ `,Fxe=F.div`
8368
8368
  display: flex;
8369
8369
  align-items: baseline;
8370
8370
  gap: 8px;
8371
- `,Dxe=F.h2`
8371
+ `,Exe=F.h2`
8372
8372
  margin: 0;
8373
8373
  font-size: 1rem;
8374
8374
  font-weight: 800;
8375
8375
  color: var(--color-text, #1a1a1a);
8376
- `,Bxe=F.span`
8376
+ `,Oxe=F.span`
8377
8377
  font-size: 0.9rem;
8378
8378
  font-weight: 500;
8379
8379
  color: var(--color-text-secondary, #718096);
8380
- `,Rxe=F.button`
8380
+ `,Uxe=F.button`
8381
8381
  background: transparent;
8382
8382
  border: none;
8383
8383
  cursor: pointer;
@@ -8390,14 +8390,14 @@
8390
8390
  &:hover {
8391
8391
  opacity: 0.7;
8392
8392
  }
8393
- `,Fxe=F.div`
8393
+ `,Wxe=F.div`
8394
8394
  padding: 15px;
8395
- `,Exe=F.div`
8395
+ `,Gxe=F.div`
8396
8396
  display: flex;
8397
8397
  flex-wrap: wrap;
8398
8398
  gap: 8px;
8399
8399
  justify-content: flex-start;
8400
- `,Oj="#BEC3C4",Oxe=F.div`
8400
+ `,Oj="#BEC3C4",Kxe=F.div`
8401
8401
  padding: 0.5rem;
8402
8402
  display: flex;
8403
8403
  width: 4rem;
@@ -8417,12 +8417,12 @@
8417
8417
  &:hover {
8418
8418
  border-color: ${e=>e.$activeColor};
8419
8419
  }
8420
- `,Uxe=k.memo(({item:e,activeColor:t,onItemClick:n})=>o.jsx(Oxe,{$state:RA(e),$activeColor:t,onClick:()=>n?.(e),children:e.label})),Wxe=F.div`
8420
+ `,Zxe=k.memo(({item:e,activeColor:t,onItemClick:n})=>o.jsx(Kxe,{$state:RA(e),$activeColor:t,onClick:()=>n?.(e),children:e.label})),Xxe=F.div`
8421
8421
  padding: 0 15px 15px 15px;
8422
8422
  display: flex;
8423
8423
  justify-content: flex-end;
8424
- `,FA={green:"#35994e",orange:"#ff9800",red:"#f44336"},Gxe=e=>typeof e=="number"?`${e}px`:e,Uj=()=>o.jsx("svg",{viewBox:"0 0 16 16",width:"10",height:"10",fill:"none","aria-hidden":"true",children:o.jsx("path",{d:"M3.5 6L8 10.5L12.5 6",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})}),Kxe=({title:e="LITS DISPONIBLES",criteriaLabel:t="CRITÈRES / HÔPITAUX",summary:n,categories:c,levelColors:i=FA,defaultExpandedCategoryId:r,onItemClick:s,summaryIcon:d,onSummaryIconClick:l,criteriaIcon:h,onCriteriaIconClick:u,width:p="20rem",className:y,backgroundColor:f="#ffffff",textColor:g="#1a1a1a",activeBackgroundColor:m="#cce7f2",hoverBackgroundColor:x="#f5f8fa"})=>{const[M,v]=k.useState(r??""),I=k.useRef(null),b=k.useRef({}),w=C=>{v(_=>_===C?"":C)};return k.useEffect(()=>{const C=I.current,_=M?b.current[M]:null;if(!C||!_)return;const L=C.getBoundingClientRect(),j=_.getBoundingClientRect();j.bottom>L.bottom&&C.scrollBy({top:Math.min(j.bottom-L.bottom,j.top-L.top),behavior:"smooth"})},[M]),o.jsxs(Zxe,{ref:I,$width:p,$backgroundColor:f,className:y,children:[o.jsxs(Xxe,{children:[o.jsx(Yxe,{children:e}),o.jsxs(Jxe,{children:[o.jsx(ki,{$bg:i.green,children:n.green}),o.jsx(ki,{$bg:i.orange,children:n.orange}),o.jsx(ki,{$bg:i.red,children:n.red}),o.jsx(Wj,{type:"button",onClick:l,children:d??o.jsx(Uj,{})})]})]}),o.jsxs(Qxe,{children:[o.jsx(eMe,{children:t}),o.jsx(Wj,{type:"button",onClick:u,children:h??o.jsx(Uj,{})})]}),o.jsx(tMe,{children:c.map(C=>{const _=M===C.id;return o.jsxs("div",{ref:L=>{b.current[C.id]=L},children:[o.jsx(nMe,{type:"button",$active:_,$textColor:g,$activeBackgroundColor:m,onClick:()=>w(C.id),$isLastItem:c[c.length-1].id===C.id,children:C.label}),_&&C.items.length>0&&o.jsx(aMe,{children:C.items.map(L=>o.jsxs(oMe,{type:"button",$textColor:g,$hoverBackgroundColor:x,onClick:()=>s?.(L.id),children:[o.jsx(cMe,{children:L.name}),!C.hideItemBadge&&o.jsx(ki,{$bg:i[L.level],children:L.available})]},L.id))})]},C.id)})})]})},Zxe=F.aside`
8425
- width: ${e=>Gxe(e.$width)};
8424
+ `,FA={green:"#35994e",orange:"#ff9800",red:"#f44336"},Yxe=e=>typeof e=="number"?`${e}px`:e,Uj=()=>o.jsx("svg",{viewBox:"0 0 16 16",width:"10",height:"10",fill:"none","aria-hidden":"true",children:o.jsx("path",{d:"M3.5 6L8 10.5L12.5 6",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})}),Jxe=({title:e="LITS DISPONIBLES",criteriaLabel:t="CRITÈRES / HÔPITAUX",summary:n,categories:c,levelColors:i=FA,defaultExpandedCategoryId:r,expandedCategoryId:s,onExpandedCategoryChange:d,onItemClick:l,summaryIcon:h,onSummaryIconClick:u,criteriaIcon:p,onCriteriaIconClick:y,criteriaIconLabel:f,width:g="20rem",className:m,backgroundColor:x="#ffffff",textColor:M="#1a1a1a",activeBackgroundColor:v="#cce7f2",hoverBackgroundColor:L="#f5f8fa"})=>{const[b,C]=k.useState(r??""),N=s??b,_=k.useRef(null),I=k.useRef({}),j=w=>{const S=N===w?"":w;C(S),d?.(S)};return k.useEffect(()=>{const w=_.current,S=N?I.current[N]:null;if(!w||!S)return;const $=w.getBoundingClientRect(),A=S.getBoundingClientRect();A.bottom>$.bottom&&w.scrollBy({top:Math.min(A.bottom-$.bottom,A.top-$.top),behavior:"smooth"})},[N]),o.jsxs(Qxe,{ref:_,$width:g,$backgroundColor:x,className:m,children:[o.jsxs(eMe,{children:[o.jsx(tMe,{children:e}),o.jsxs(aMe,{children:[n&&o.jsxs(o.Fragment,{children:[o.jsx(ki,{$bg:i.green,children:n.green}),o.jsx(ki,{$bg:i.orange,children:n.orange}),o.jsx(ki,{$bg:i.red,children:n.red})]}),o.jsx(Wj,{type:"button",onClick:u,children:h??o.jsx(Uj,{})})]})]}),o.jsxs(nMe,{children:[o.jsx(oMe,{children:t}),o.jsx(Wj,{type:"button",onClick:y,"aria-label":f,title:f,children:p??o.jsx(Uj,{})})]}),o.jsx(cMe,{children:c.map(w=>{const S=N===w.id;return o.jsxs("div",{ref:$=>{I.current[w.id]=$},children:[o.jsx(rMe,{type:"button",$active:S,$textColor:M,$activeBackgroundColor:v,onClick:()=>j(w.id),$isLastItem:c[c.length-1].id===w.id,children:w.label}),S&&w.items.length>0&&o.jsx(iMe,{children:w.items.map($=>o.jsxs(sMe,{type:"button",$textColor:M,$hoverBackgroundColor:L,onClick:()=>l?.($.id),children:[o.jsx(dMe,{title:$.title??$.name,children:$.name}),!w.hideItemBadge&&o.jsx(ki,{$bg:$.color??i[$.level],children:$.available})]},$.id))})]},w.id)})})]})},Qxe=F.aside`
8425
+ width: ${e=>Yxe(e.$width)};
8426
8426
  flex-shrink: 0;
8427
8427
  align-self: flex-start;
8428
8428
  max-height: 100%;
@@ -8443,7 +8443,7 @@
8443
8443
  &::-webkit-scrollbar {
8444
8444
  display: none; /* Chrome/Safari/Edge Chromium */
8445
8445
  }
8446
- `,Xxe=F.div`
8446
+ `,eMe=F.div`
8447
8447
  display: flex;
8448
8448
  align-items: center;
8449
8449
  justify-content: space-between;
@@ -8451,14 +8451,14 @@
8451
8451
  padding: 0.875rem;
8452
8452
  border-bottom: 1px solid #eceef1;
8453
8453
  flex-wrap: nowrap;
8454
- `,Yxe=F.span`
8454
+ `,tMe=F.span`
8455
8455
  flex-shrink: 0;
8456
8456
  white-space: nowrap;
8457
8457
  font-size: 0.68rem;
8458
8458
  font-weight: 400;
8459
8459
  color: #7c8082;
8460
8460
  text-transform: uppercase;
8461
- `,Jxe=F.div`
8461
+ `,aMe=F.div`
8462
8462
  display: flex;
8463
8463
  align-items: center;
8464
8464
  gap: 0.3125rem;
@@ -8488,24 +8488,25 @@
8488
8488
  color: #8a94a6;
8489
8489
  line-height: 1;
8490
8490
  cursor: pointer;
8491
- `,Qxe=F.div`
8491
+ `,nMe=F.div`
8492
8492
  display: flex;
8493
8493
  align-items: center;
8494
+ justify-content: space-between;
8494
8495
  gap: 0.375rem;
8495
8496
  width: 100%;
8496
8497
  padding: 0.625rem 0.875rem;
8497
8498
  border-bottom: 1px solid #eceef1;
8498
- `,eMe=F.span`
8499
+ `,oMe=F.span`
8499
8500
  color: #7c8082;
8500
8501
  font-size: 0.62rem;
8501
8502
  font-weight: 400;
8502
8503
  letter-spacing: 0.02em;
8503
- `,tMe=F.div`
8504
+ `,cMe=F.div`
8504
8505
  display: flex;
8505
8506
  flex-direction: column;
8506
- `,aMe=F.div`
8507
- padding-left: 1.725rem;
8508
- `,nMe=F.button`
8507
+ `,iMe=F.div`
8508
+ padding-left: 0;
8509
+ `,rMe=F.button`
8509
8510
  width: 100%;
8510
8511
  text-align: left;
8511
8512
  padding: 0.6875rem 0.875rem;
@@ -8516,7 +8517,7 @@
8516
8517
  font-size: 0.78rem;
8517
8518
  color: ${e=>e.$textColor};
8518
8519
  cursor: pointer;
8519
- `,oMe=F.button`
8520
+ `,sMe=F.button`
8520
8521
  display: flex;
8521
8522
  align-items: center;
8522
8523
  justify-content: space-between;
@@ -8534,24 +8535,24 @@
8534
8535
  &:hover {
8535
8536
  background: ${e=>e.$hoverBackgroundColor};
8536
8537
  }
8537
- `,cMe=F.span`
8538
+ `,dMe=F.span`
8538
8539
  flex: 1;
8539
8540
  min-width: 0;
8540
8541
  line-height: 1.625rem;
8541
8542
  overflow: hidden;
8542
8543
  text-overflow: ellipsis;
8543
8544
  white-space: nowrap;
8544
- `,iMe=({value:e,min:t=0,max:n=100,step:c=1,onChange:i,label:r,className:s="",disabled:d=!1,fullWidth:l=!0,trackHeight:h="6px",trackColor:u="#f0f2f5",trackFillColor:p="#00A6D9",thumbColor:y="#ffffff",thumbBorderColor:f="#00A6D9",thumbSize:g="20px",thumbBorderWidth:m="2px",ariaLabel:x,ariaLabelledBy:M,a11yConfig:v})=>{const I=n!==t?(e-t)/(n-t)*100:0,b=C=>{i(Number(C.target.value))},w=Y(v,r);return o.jsxs(rMe,{className:s,title:w,$fullWidth:l,children:[r&&o.jsx(sMe,{id:M?void 0:`${r}-label`,children:r}),o.jsx(dMe,{type:"range",min:t,max:n,step:c,value:e,onChange:b,disabled:d,"aria-label":x,"aria-labelledby":M||(r?`${r}-label`:void 0),"aria-valuemin":t,"aria-valuemax":n,"aria-valuenow":e,$percentage:I,$trackHeight:h,$trackColor:u,$trackFillColor:p,$thumbSize:g,$thumbColor:y,$thumbBorderColor:f,$thumbBorderWidth:m})]})},rMe=F.div`
8545
+ `,lMe=({value:e,min:t=0,max:n=100,step:c=1,onChange:i,label:r,className:s="",disabled:d=!1,fullWidth:l=!0,trackHeight:h="6px",trackColor:u="#f0f2f5",trackFillColor:p="#00A6D9",thumbColor:y="#ffffff",thumbBorderColor:f="#00A6D9",thumbSize:g="20px",thumbBorderWidth:m="2px",ariaLabel:x,ariaLabelledBy:M,a11yConfig:v})=>{const L=n!==t?(e-t)/(n-t)*100:0,b=N=>{i(Number(N.target.value))},C=J(v,r);return o.jsxs(hMe,{className:s,title:C,$fullWidth:l,children:[r&&o.jsx(uMe,{id:M?void 0:`${r}-label`,children:r}),o.jsx(pMe,{type:"range",min:t,max:n,step:c,value:e,onChange:b,disabled:d,"aria-label":x,"aria-labelledby":M||(r?`${r}-label`:void 0),"aria-valuemin":t,"aria-valuemax":n,"aria-valuenow":e,$percentage:L,$trackHeight:h,$trackColor:u,$trackFillColor:p,$thumbSize:g,$thumbColor:y,$thumbBorderColor:f,$thumbBorderWidth:m})]})},hMe=F.div`
8545
8546
  display: flex;
8546
8547
  flex-direction: column;
8547
8548
  gap: 0.5rem;
8548
8549
  font-family: inherit;
8549
8550
  width: ${({$fullWidth:e})=>e?"100%":"auto"};
8550
- `,sMe=F.label`
8551
+ `,uMe=F.label`
8551
8552
  font-size: 0.875rem;
8552
8553
  font-weight: 500;
8553
8554
  color: var(--color-text, #212529);
8554
- `,dMe=F.input`
8555
+ `,pMe=F.input`
8555
8556
  -webkit-appearance: none;
8556
8557
  appearance: none;
8557
8558
  width: 100%;
@@ -8652,18 +8653,18 @@
8652
8653
  &:focus::-webkit-slider-runnable-track {
8653
8654
  outline: none;
8654
8655
  }
8655
- `,lMe=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",...e},te.createElement("mask",{id:"a",width:20,height:20,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},te.createElement("path",{fill:"#D9D9D9",d:"M0 0h20v20H0z"})),te.createElement("g",{mask:"url(#a)"},te.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"}))),hMe=k.memo(lMe),uMe=({value:e,onChange:t,label:n,placeholder:c="00:00",disabled:i=!1,fullWidth:r=!0,cancelText:s,applyText:d,hoursLabel:l,minutesLabel:h,dropdownAlignment:u="left",maxHours:p=23,ariaLabel:y,ariaLabelledBy:f,a11yConfig:g})=>{const[m,x]=k.useState(!1),M=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"}},[I,b]=k.useState("00"),[w,C]=k.useState("00");k.useEffect(()=>{const N=v(e);b(N.h),C(N.m)},[e,m]),k.useEffect(()=>{const N=S=>{M.current&&!M.current.contains(S.target)&&x(!1)};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]);const _=()=>{const N=parseInt(I)||0,S=parseInt(w)||0,z=Math.min(p,Math.max(0,N)).toString().padStart(2,"0"),A=Math.min(59,Math.max(0,S)).toString().padStart(2,"0");t(`${z}:${A}`),x(!1)},L=e?typeof e=="string"?e:`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}`:"",j=Y(g,n);return o.jsxs(pMe,{ref:M,$fullWidth:r,title:j,children:[n&&o.jsx(yMe,{id:f?void 0:`${n}-label`,children:n}),o.jsx(kMe,{type:"button",$isOpen:m,$disabled:i,onClick:()=>!i&&x(!m),disabled:i,"aria-label":y,"aria-labelledby":f||(n?`${n}-label`:void 0),"aria-expanded":m,"aria-haspopup":"listbox",children:o.jsxs(mMe,{children:[o.jsx(fMe,{$isPlaceholder:!L,children:L||c}),o.jsx(gMe,{})]})}),m&&o.jsxs(vMe,{$alignment:u,children:[o.jsxs(xMe,{children:[o.jsxs(Gj,{children:[o.jsx(Kj,{children:l}),o.jsx(Zj,{children:o.jsx(Xj,{type:"number",min:"0",max:p.toString(),$wide:p>99,value:I,onChange:N=>{const S=N.target.value;if(S===""){b("");return}const z=parseInt(S);!isNaN(z)&&z>=0&&z<=p&&b(S)},autoFocus:!0})})]}),o.jsx(MMe,{children:":"}),o.jsxs(Gj,{children:[o.jsx(Kj,{children:h}),o.jsx(Zj,{children:o.jsx(Xj,{type:"number",min:"0",max:"59",value:w,onChange:N=>{const S=N.target.value;if(S===""){C("");return}const z=parseInt(S);!isNaN(z)&&z>=0&&z<=59&&C(S.slice(-2))}})})]})]}),o.jsxs(_Me,{children:[o.jsx(Yj,{className:"cancel",onClick:()=>x(!1),children:s}),o.jsx(Yj,{className:"apply",onClick:_,children:d})]})]})]})},pMe=F.div`
8656
+ `,yMe=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",...e},Z.createElement("mask",{id:"a",width:20,height:20,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},Z.createElement("path",{fill:"#D9D9D9",d:"M0 0h20v20H0z"})),Z.createElement("g",{mask:"url(#a)"},Z.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"}))),kMe=k.memo(yMe),mMe=({value:e,onChange:t,label:n,placeholder:c="00:00",disabled:i=!1,fullWidth:r=!0,cancelText:s,applyText:d,hoursLabel:l,minutesLabel:h,dropdownAlignment:u="left",maxHours:p=23,ariaLabel:y,ariaLabelledBy:f,a11yConfig:g})=>{const[m,x]=k.useState(!1),M=k.useRef(null),v=w=>{if(w instanceof Date)return{h:w.getHours().toString().padStart(2,"0"),m:w.getMinutes().toString().padStart(2,"0")};if(typeof w=="string"&&w.includes(":")){const S=w.split(":");return{h:S[0].padStart(2,"0"),m:S[1].padStart(2,"0")}}return{h:"00",m:"00"}},[L,b]=k.useState("00"),[C,N]=k.useState("00");k.useEffect(()=>{const w=v(e);b(w.h),N(w.m)},[e,m]),k.useEffect(()=>{const w=S=>{M.current&&!M.current.contains(S.target)&&x(!1)};return document.addEventListener("mousedown",w),()=>document.removeEventListener("mousedown",w)},[]);const _=()=>{const w=parseInt(L)||0,S=parseInt(C)||0,$=Math.min(p,Math.max(0,w)).toString().padStart(2,"0"),A=Math.min(59,Math.max(0,S)).toString().padStart(2,"0");t(`${$}:${A}`),x(!1)},I=e?typeof e=="string"?e:`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}`:"",j=J(g,n);return o.jsxs(fMe,{ref:M,$fullWidth:r,title:j,children:[n&&o.jsx(gMe,{id:f?void 0:`${n}-label`,children:n}),o.jsx(vMe,{type:"button",$isOpen:m,$disabled:i,onClick:()=>!i&&x(!m),disabled:i,"aria-label":y,"aria-labelledby":f||(n?`${n}-label`:void 0),"aria-expanded":m,"aria-haspopup":"listbox",children:o.jsxs(xMe,{children:[o.jsx(MMe,{$isPlaceholder:!I,children:I||c}),o.jsx(_Me,{})]})}),m&&o.jsxs(LMe,{$alignment:u,children:[o.jsxs(IMe,{children:[o.jsxs(Gj,{children:[o.jsx(Kj,{children:l}),o.jsx(Zj,{children:o.jsx(Xj,{type:"number",min:"0",max:p.toString(),$wide:p>99,value:L,onChange:w=>{const S=w.target.value;if(S===""){b("");return}const $=parseInt(S);!isNaN($)&&$>=0&&$<=p&&b(S)},autoFocus:!0})})]}),o.jsx(bMe,{children:":"}),o.jsxs(Gj,{children:[o.jsx(Kj,{children:h}),o.jsx(Zj,{children:o.jsx(Xj,{type:"number",min:"0",max:"59",value:C,onChange:w=>{const S=w.target.value;if(S===""){N("");return}const $=parseInt(S);!isNaN($)&&$>=0&&$<=59&&N(S.slice(-2))}})})]})]}),o.jsxs(wMe,{children:[o.jsx(Yj,{className:"cancel",onClick:()=>x(!1),children:s}),o.jsx(Yj,{className:"apply",onClick:_,children:d})]})]})]})},fMe=F.div`
8656
8657
  position: relative;
8657
8658
  display: inline-block;
8658
8659
  max-width: 100%;
8659
8660
  ${({$fullWidth:e})=>e&&"width: 100%; display: block;"}
8660
- `,yMe=F.label`
8661
+ `,gMe=F.label`
8661
8662
  display: block;
8662
8663
  font-size: 0.875rem;
8663
8664
  font-weight: 500;
8664
8665
  margin-bottom: 0.5rem;
8665
8666
  color: var(--color-text, #212529);
8666
- `,kMe=F.button`
8667
+ `,vMe=F.button`
8667
8668
  width: 100%;
8668
8669
  display: flex;
8669
8670
  align-items: center;
@@ -8685,18 +8686,18 @@
8685
8686
  &:hover {
8686
8687
  ${({$disabled:e})=>!e&&"border-color: var(--color-primary, #86b7fe);"}
8687
8688
  }
8688
- `,mMe=F.div`
8689
+ `,xMe=F.div`
8689
8690
  display: flex;
8690
8691
  align-items: center;
8691
8692
  justify-content: space-between;
8692
8693
  width: 100%;
8693
8694
  gap: 0.5rem;
8694
- `,fMe=F.span`
8695
+ `,MMe=F.span`
8695
8696
  color: ${({$isPlaceholder:e})=>e?"var(--color-text-secondary, #adb5bd)":"inherit"};
8696
- `,gMe=F(hMe)`
8697
+ `,_Me=F(kMe)`
8697
8698
  color: var(--color-text-secondary, #6c757d);
8698
8699
  flex-shrink: 0;
8699
- `,vMe=F.div`
8700
+ `,LMe=F.div`
8700
8701
  position: absolute;
8701
8702
  top: 100%;
8702
8703
  ${({$alignment:e})=>e==="right"?"right: 0;":"left: 0;"}
@@ -8711,7 +8712,7 @@
8711
8712
  flex-direction: column;
8712
8713
  gap: 1rem;
8713
8714
  min-width: 160px;
8714
- `,xMe=F.div`
8715
+ `,IMe=F.div`
8715
8716
  display: flex;
8716
8717
  align-items: center;
8717
8718
  justify-content: center;
@@ -8755,12 +8756,12 @@
8755
8756
  -webkit-appearance: none;
8756
8757
  margin: 0;
8757
8758
  }
8758
- `,MMe=F.span`
8759
+ `,bMe=F.span`
8759
8760
  font-size: 1.25rem;
8760
8761
  font-weight: 600;
8761
8762
  color: var(--color-text-secondary, #adb5bd);
8762
8763
  margin-top: 1rem;
8763
- `,_Me=F.div`
8764
+ `,wMe=F.div`
8764
8765
  display: flex;
8765
8766
  gap: 0.5rem;
8766
8767
  margin-top: 0.5rem;
@@ -8787,7 +8788,7 @@
8787
8788
  background-color: var(--color-primary, #00a6d9);
8788
8789
  color: #ffffff;
8789
8790
  }
8790
- `,LMe=({title:e="Liste d'attente",onClose:t,onBack:n,content:c,footer:i,className:r,a11yConfig:s,ariaLabel:d})=>{const l=Y(s,e);return o.jsxs(IMe,{className:r,title:l,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:h=>h.key==="Enter"&&n(),children:o.jsx(w1,{size:24})}),o.jsx("p",{children:e})]}),t&&o.jsx("span",{className:"close-btn",onClick:t,role:"button","aria-label":"Fermer",tabIndex:0,onKeyDown:h=>h.key==="Enter"&&t(),children:o.jsx(at,{size:24})})]}),o.jsx("div",{className:"content",children:c}),i&&o.jsx("div",{className:"footer",children:i})]})},IMe=F.div`
8791
+ `,CMe=({title:e="Liste d'attente",onClose:t,onBack:n,content:c,footer:i,className:r,a11yConfig:s,ariaLabel:d})=>{const l=J(s,e);return o.jsxs(NMe,{className:r,title:l,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:h=>h.key==="Enter"&&n(),children:o.jsx(w1,{size:24})}),o.jsx("p",{children:e})]}),t&&o.jsx("span",{className:"close-btn",onClick:t,role:"button","aria-label":"Fermer",tabIndex:0,onKeyDown:h=>h.key==="Enter"&&t(),children:o.jsx(at,{size:24})})]}),o.jsx("div",{className:"content",children:c}),i&&o.jsx("div",{className:"footer",children:i})]})},NMe=F.div`
8791
8792
  width: 100%;
8792
8793
  height: 100%;
8793
8794
  display: flex;
@@ -8836,12 +8837,12 @@
8836
8837
  border-bottom-left-radius: 0.5rem;
8837
8838
  border-bottom-right-radius: 0.5rem;
8838
8839
  }
8839
- `,bMe=({items:e,title:t,backgroundColor:n,textColor:c,columns:i=1,vertical:r=!1,onEdit:s,onClick:d,alertIcon:l,className:h,a11yConfig:u,ariaLabel:p})=>{const y=Y(u,!u?.titleKey&&typeof t=="string"?t:void 0);return o.jsxs(CMe,{$bgColor:n,$textColor:c,$isClickable:!!d,className:h,onClick:d,title:y,role:d?"button":"region","aria-label":p||(typeof t=="string"?t:"Information patient"),tabIndex:d?0:void 0,onKeyDown:f=>d&&f.key==="Enter"&&d(),children:[o.jsxs(NMe,{className:"patient-info-content",children:[t&&o.jsx(wMe,{className:"patient-info-title",children:t}),o.jsx($Me,{$columns:i,$vertical:r,className:"patient-info-grid",children:e.map((f,g)=>o.jsxs(qMe,{$columns:i,$vertical:r,className:"patient-info-item",children:[f.label&&o.jsx(AMe,{className:"patient-info-label",title:Y(f.a11yConfig),children:f.label}),o.jsx(zMe,{className:"patient-info-value",$spanFull:!f.label,children:f.value})]},g))})]}),(s||l)&&o.jsxs(SMe,{children:[s&&o.jsx(VMe,{onClick:f=>{f.stopPropagation(),s()},"aria-label":"Modifier les informations",children:o.jsx(o1,{size:20})}),l&&o.jsx(jMe,{children:l})]})]})},wMe=F.div`
8840
+ `,SMe=({items:e,title:t,backgroundColor:n,textColor:c,columns:i=1,vertical:r=!1,onEdit:s,onClick:d,alertIcon:l,className:h,a11yConfig:u,ariaLabel:p})=>{const y=J(u,!u?.titleKey&&typeof t=="string"?t:void 0);return o.jsxs($Me,{$bgColor:n,$textColor:c,$isClickable:!!d,className:h,onClick:d,title:y,role:d?"button":"region","aria-label":p||(typeof t=="string"?t:"Information patient"),tabIndex:d?0:void 0,onKeyDown:f=>d&&f.key==="Enter"&&d(),children:[o.jsxs(qMe,{className:"patient-info-content",children:[t&&o.jsx(jMe,{className:"patient-info-title",children:t}),o.jsx(VMe,{$columns:i,$vertical:r,className:"patient-info-grid",children:e.map((f,g)=>o.jsxs(PMe,{$columns:i,$vertical:r,className:"patient-info-item",children:[f.label&&o.jsx(TMe,{className:"patient-info-label",title:J(f.a11yConfig),children:f.label}),o.jsx(HMe,{className:"patient-info-value",$spanFull:!f.label,children:f.value})]},g))})]}),(s||l)&&o.jsxs(AMe,{children:[s&&o.jsx(DMe,{onClick:f=>{f.stopPropagation(),s()},"aria-label":"Modifier les informations",children:o.jsx(o1,{size:20})}),l&&o.jsx(zMe,{children:l})]})]})},jMe=F.div`
8840
8841
  font-size: 1rem;
8841
8842
  font-weight: 600;
8842
8843
  border-bottom: 1px solid #d2d6d8;
8843
8844
  padding-bottom: 0.5rem;
8844
- `,CMe=F.div`
8845
+ `,$Me=F.div`
8845
8846
  background-color: ${e=>e.$bgColor||"#ffffff"};
8846
8847
  color: ${e=>e.$textColor||"#1c1b1f"};
8847
8848
  border-radius: 0.5rem;
@@ -8851,28 +8852,28 @@
8851
8852
  width: 100%;
8852
8853
  box-sizing: border-box;
8853
8854
  cursor: ${e=>e.$isClickable?"pointer":"default"};
8854
- `,NMe=F.div`
8855
+ `,qMe=F.div`
8855
8856
  flex: 1;
8856
8857
  display: flex;
8857
8858
  flex-direction: column;
8858
8859
  gap: 0.75rem;
8859
- `,SMe=F.div`
8860
+ `,AMe=F.div`
8860
8861
  display: flex;
8861
8862
  flex-direction: column;
8862
8863
  justify-content: space-between;
8863
8864
  align-items: flex-end;
8864
8865
  flex-shrink: 0;
8865
8866
  align-self: stretch;
8866
- `,jMe=F.div`
8867
+ `,zMe=F.div`
8867
8868
  display: flex;
8868
8869
  align-items: center;
8869
8870
  justify-content: center;
8870
8871
  flex-shrink: 0;
8871
- `,$Me=F.div`
8872
+ `,VMe=F.div`
8872
8873
  display: grid;
8873
8874
  grid-template-columns: ${e=>e.$columns===3?"repeat(3, 1fr)":e.$columns===2?"repeat(2, 1fr)":e.$vertical?"1fr":"minmax(max-content, 35%) minmax(min-content, 1fr)"};
8874
8875
  gap: ${e=>e.$columns===3?"var(--space-2) var(--space-3)":e.$columns===2?"0.5rem 1rem":e.$vertical?"0.5rem":"0.5rem 0.75rem"};
8875
- `,qMe=F.div`
8876
+ `,PMe=F.div`
8876
8877
  font-size: 0.75rem;
8877
8878
  line-height: 1.3;
8878
8879
  min-width: 0;
@@ -8883,19 +8884,19 @@
8883
8884
  `:F.css`
8884
8885
  display: contents;
8885
8886
  `}
8886
- `,AMe=F.div`
8887
+ `,TMe=F.div`
8887
8888
  text-align: left;
8888
8889
  color: inherit;
8889
8890
  font-weight: 600;
8890
8891
  min-width: 0;
8891
8892
  overflow-wrap: break-word;
8892
- `,zMe=F.div`
8893
+ `,HMe=F.div`
8893
8894
  font-weight: 400;
8894
8895
  white-space: pre-wrap;
8895
8896
  overflow-wrap: break-word;
8896
8897
  min-width: 0;
8897
8898
  ${e=>e.$spanFull&&"grid-column: 1 / -1;"}
8898
- `,VMe=F.button`
8899
+ `,DMe=F.button`
8899
8900
  flex-shrink: 0;
8900
8901
  background: none;
8901
8902
  border: none;
@@ -8912,12 +8913,12 @@
8912
8913
  &:hover {
8913
8914
  opacity: 1;
8914
8915
  }
8915
- `,PMe="_patientCard_r0eh1_1",TMe="_notAllowedCursor_r0eh1_18",HMe="_innerPadding_r0eh1_28",DMe="_noFooterMargin_r0eh1_35",BMe="_topArea_r0eh1_39",RMe="_small_r0eh1_49",FMe="_header_r0eh1_62",EMe="_headerLeft_r0eh1_69",OMe="_headerRight_r0eh1_75",UMe="_uf_r0eh1_80",WMe="_rmBadge_r0eh1_88",GMe="_roomBed_r0eh1_103",KMe="_content_r0eh1_110",ZMe="_body_r0eh1_122",XMe="_upperBodyContent_r0eh1_140",YMe="_patientInfo_r0eh1_150",JMe="_iep_r0eh1_155",QMe="_name_r0eh1_160",e_e="_birthName_r0eh1_167",t_e="_firstNames_r0eh1_172",a_e="_dobAge_r0eh1_177",n_e="_duration_r0eh1_182",o_e="_comment_r0eh1_188",c_e="_timeline_r0eh1_195",i_e="_destination_r0eh1_199",r_e="_todayReservation_r0eh1_209",s_e="_arrow_r0eh1_230",d_e="_progressBar_r0eh1_235",l_e="_progressFill_r0eh1_245",h_e="_progressDate_r0eh1_255",u_e="_footer_r0eh1_266",p_e="_iconWrap_r0eh1_275",y_e="_centerLabelHuge_r0eh1_294",k_e="_labelYellow_r0eh1_301",m_e="_expectedBottom_r0eh1_320",f_e="_expectedPrefix_r0eh1_328",g_e="_expectedDate_r0eh1_334",v_e="_notesView_r0eh1_355",x_e="_notesHeader_r0eh1_363",M_e="_notesTitle_r0eh1_369",__e="_notesList_r0eh1_376",L_e="_noteItem_r0eh1_382",I_e="_reservationView_r0eh1_387",b_e="_reservationNote_r0eh1_399",w_e="_bottomArea_r0eh1_404",C_e="_bottomLeftSymbol_r0eh1_412",G={patientCard:PMe,notAllowedCursor:TMe,innerPadding:HMe,noFooterMargin:DMe,topArea:BMe,small:RMe,header:FMe,headerLeft:EMe,headerRight:OMe,uf:UMe,rmBadge:WMe,roomBed:GMe,content:KMe,body:ZMe,upperBodyContent:XMe,patientInfo:YMe,iep:JMe,name:QMe,birthName:e_e,firstNames:t_e,dobAge:a_e,duration:n_e,comment:o_e,timeline:c_e,destination:i_e,todayReservation:r_e,arrow:s_e,progressBar:d_e,progressFill:l_e,progressDate:h_e,footer:u_e,iconWrap:p_e,centerLabelHuge:y_e,labelYellow:k_e,expectedBottom:m_e,expectedPrefix:f_e,expectedDate:g_e,notesView:v_e,notesHeader:x_e,notesTitle:M_e,notesList:__e,noteItem:L_e,reservationView:I_e,reservationNote:b_e,bottomArea:w_e,bottomLeftSymbol:C_e},N_e=({size:e="large",className:t="",customStyle:n,topAreaStyle:c,headerLeft:i,headerRight:r,centerHugeLabel:s,iep:d,nameLine:l,birthName:h,birthNamePrefix:u,firstNamesLine:p,dobAgeLine:y,stayDuration:f,comment:g,expectedDate:m,expectedDatePrefix:x,showTimeline:M=!1,destination:v,progress:I=0,progressTrackColor:b,progressFillColor:w,progressLabel:C,progressTitle:_,showFooter:L=!1,leftIcons:j=[],rightIcons:N=[],activeView:S="default",notesHeaderTitle:z,notesHeaderIcon:A,notesList:H=[],notesTitles:P,reservationNote:V,isYellowLabel:$=!1,bottomLeftSymbol:q,cursorNotAllowed:R=!1,rmBadge:T,isReservationToday:O=!1})=>{const J=e==="small",E=`
8916
+ `,BMe="_patientCard_r0eh1_1",RMe="_notAllowedCursor_r0eh1_18",FMe="_innerPadding_r0eh1_28",EMe="_noFooterMargin_r0eh1_35",OMe="_topArea_r0eh1_39",UMe="_small_r0eh1_49",WMe="_header_r0eh1_62",GMe="_headerLeft_r0eh1_69",KMe="_headerRight_r0eh1_75",ZMe="_uf_r0eh1_80",XMe="_rmBadge_r0eh1_88",YMe="_roomBed_r0eh1_103",JMe="_content_r0eh1_110",QMe="_body_r0eh1_122",e_e="_upperBodyContent_r0eh1_140",t_e="_patientInfo_r0eh1_150",a_e="_iep_r0eh1_155",n_e="_name_r0eh1_160",o_e="_birthName_r0eh1_167",c_e="_firstNames_r0eh1_172",i_e="_dobAge_r0eh1_177",r_e="_duration_r0eh1_182",s_e="_comment_r0eh1_188",d_e="_timeline_r0eh1_195",l_e="_destination_r0eh1_199",h_e="_todayReservation_r0eh1_209",u_e="_arrow_r0eh1_230",p_e="_progressBar_r0eh1_235",y_e="_progressFill_r0eh1_245",k_e="_progressDate_r0eh1_255",m_e="_footer_r0eh1_266",f_e="_iconWrap_r0eh1_275",g_e="_centerLabelHuge_r0eh1_294",v_e="_labelYellow_r0eh1_301",x_e="_expectedBottom_r0eh1_320",M_e="_expectedPrefix_r0eh1_328",__e="_expectedDate_r0eh1_334",L_e="_notesView_r0eh1_355",I_e="_notesHeader_r0eh1_363",b_e="_notesTitle_r0eh1_369",w_e="_notesList_r0eh1_376",C_e="_noteItem_r0eh1_382",N_e="_reservationView_r0eh1_387",S_e="_reservationNote_r0eh1_399",j_e="_bottomArea_r0eh1_404",$_e="_bottomLeftSymbol_r0eh1_412",G={patientCard:BMe,notAllowedCursor:RMe,innerPadding:FMe,noFooterMargin:EMe,topArea:OMe,small:UMe,header:WMe,headerLeft:GMe,headerRight:KMe,uf:ZMe,rmBadge:XMe,roomBed:YMe,content:JMe,body:QMe,upperBodyContent:e_e,patientInfo:t_e,iep:a_e,name:n_e,birthName:o_e,firstNames:c_e,dobAge:i_e,duration:r_e,comment:s_e,timeline:d_e,destination:l_e,todayReservation:h_e,arrow:u_e,progressBar:p_e,progressFill:y_e,progressDate:k_e,footer:m_e,iconWrap:f_e,centerLabelHuge:g_e,labelYellow:v_e,expectedBottom:x_e,expectedPrefix:M_e,expectedDate:__e,notesView:L_e,notesHeader:I_e,notesTitle:b_e,notesList:w_e,noteItem:C_e,reservationView:N_e,reservationNote:S_e,bottomArea:j_e,bottomLeftSymbol:$_e},q_e=({size:e="large",className:t="",customStyle:n,topAreaStyle:c,headerLeft:i,headerRight:r,centerHugeLabel:s,iep:d,nameLine:l,birthName:h,birthNamePrefix:u,firstNamesLine:p,dobAgeLine:y,stayDuration:f,comment:g,expectedDate:m,expectedDatePrefix:x,showTimeline:M=!1,destination:v,progress:L=0,progressTrackColor:b,progressFillColor:C,progressLabel:N,progressTitle:_,showFooter:I=!1,leftIcons:j=[],rightIcons:w=[],activeView:S="default",notesHeaderTitle:$,notesHeaderIcon:A,notesList:H=[],notesTitles:P,reservationNote:V,isYellowLabel:q=!1,bottomLeftSymbol:z,cursorNotAllowed:R=!1,rmBadge:T,isReservationToday:O=!1})=>{const Q=e==="small",E=`
8916
8917
  ${G.patientCard}
8917
- ${J?G.small:""}
8918
+ ${Q?G.small:""}
8918
8919
  ${R?G.notAllowedCursor:""}
8919
8920
  ${t}
8920
- `.trim();return o.jsx("div",{className:E,style:n,children:o.jsxs("div",{className:G.innerPadding,children:[o.jsxs("div",{className:`${G.topArea} ${L?"":G.noFooterMargin}`,style:c,children:[o.jsx("div",{className:G.header,children:T?o.jsxs(o.Fragment,{children:[o.jsx("div",{className:G.headerLeft,children:o.jsxs("div",{className:G.uf,children:[i,r&&` - ${r}`]})}),o.jsx("div",{className:G.headerRight,children:o.jsx("div",{className:G.rmBadge,children:T})})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{className:G.headerLeft,children:i&&o.jsx("div",{className:G.uf,children:i})}),o.jsx("div",{className:G.headerRight,children:r&&o.jsx("span",{className:G.roomBed,children:r})})]})}),o.jsxs("div",{className:G.content,children:[o.jsxs("div",{className:G.body,children:[S==="default"&&o.jsxs(o.Fragment,{children:[s&&o.jsx("div",{className:`${G.centerLabelHuge} ${$?G.labelYellow:""}`,children:s}),o.jsxs("div",{className:G.upperBodyContent,children:[o.jsxs("div",{className:G.patientInfo,children:[d&&o.jsx("div",{className:G.iep,children:d}),l&&o.jsx("div",{className:G.name,children:l}),h&&o.jsxs("div",{className:G.birthName,children:["(",u?`${u} ${h}`:h,")"]}),p&&o.jsx("div",{className:G.firstNames,children:p}),y&&o.jsx("div",{className:G.dobAge,children:y})]}),f&&o.jsx("div",{className:G.duration,children:f}),g&&o.jsx("div",{className:G.comment,children:g})]}),m&&o.jsxs("div",{className:G.expectedBottom,children:[x&&o.jsx("div",{className:G.expectedPrefix,children:x}),o.jsx("div",{className:G.expectedDate,children:m})]})]}),S==="notes"&&o.jsxs("div",{className:G.notesView,children:[o.jsxs("div",{className:G.notesHeader,children:[A,o.jsx("span",{className:G.notesTitle,children:z})]}),o.jsx("div",{className:G.notesList,children:H.map((U,ie)=>o.jsx("div",{className:G.noteItem,title:P?.[ie],children:U},ie))})]}),S==="reservation"&&o.jsxs("div",{className:G.reservationView,children:[s&&o.jsx("div",{className:`${G.centerLabelHuge} ${$?G.labelYellow:""}`,children:s}),o.jsx("div",{className:G.upperBodyContent,children:o.jsxs("div",{className:G.patientInfo,children:[d&&o.jsx("div",{className:G.iep,children:d}),l&&o.jsx("div",{className:G.name,children:l}),h&&o.jsxs("div",{className:G.birthName,children:["(",u?`${u} ${h}`:h,")"]}),p&&o.jsx("div",{className:G.firstNames,children:p}),y&&o.jsx("div",{className:G.dobAge,children:y})]})}),V&&o.jsx("div",{className:G.reservationNote,children:V})]})]}),(q||M||v)&&o.jsxs("div",{className:G.bottomArea,children:[q&&o.jsx("div",{className:G.bottomLeftSymbol,children:q}),v&&o.jsxs("div",{className:`${G.destination} ${O?G.todayReservation:""}`,children:[o.jsx("span",{className:G.arrow,children:"→"}),v.prefix&&o.jsx("span",{children:v.prefix}),o.jsx("strong",{children:v.name}),v.suffix&&o.jsx("span",{children:v.suffix})]}),M&&o.jsx("div",{className:G.timeline,children:b&&b!=="transparent"&&o.jsxs("div",{className:G.progressBar,style:{backgroundColor:b},title:_,children:[o.jsx("div",{className:G.progressFill,style:{width:`${I}%`,backgroundColor:w}}),C&&o.jsx("span",{className:G.progressDate,children:C})]})})]})]})]}),L&&o.jsxs("div",{className:G.footer,children:[j.map((U,ie)=>o.jsx("div",{className:G.iconWrap,children:U},`left-${ie}`)),N.map((U,ie)=>o.jsx("div",{className:G.iconWrap,children:U},`right-${ie}`))]})]})})},S_e="_panel_1viix_1",j_e="_header_1viix_13",$_e="_headerLeft_1viix_23",q_e="_title_1viix_30",A_e="_closeButton_1viix_40",z_e="_paginationLoader_1viix_63",V_e="_messageList_1viix_71",P_e="_listLoading_1viix_86",T_e="_empty_1viix_94",H_e="_daySeparator_1viix_105",D_e="_messageRow_1viix_118",B_e="_fadeIn_1viix_1",R_e="_incoming_1viix_138",F_e="_outgoing_1viix_146",E_e="_avatar_1viix_154",O_e="_messageMeta_1viix_170",U_e="_senderName_1viix_180",W_e="_bubble_1viix_185",G_e="_unread_1viix_209",K_e="_scrollToBottomButton_1viix_243",Z_e="_scrollBtnVisible_1viix_263",X_e="_scrollBtnIn_1viix_1",Y_e="_scrollBtnHiding_1viix_267",J_e="_scrollBtnOut_1viix_1",Q_e="_composer_1viix_272",eLe="_messageInput_1viix_281",tLe="_sendButton_1viix_315",aLe="_messageListWrapper_1viix_340",fe={panel:S_e,header:j_e,headerLeft:$_e,title:q_e,closeButton:A_e,paginationLoader:z_e,messageList:V_e,listLoading:P_e,empty:T_e,daySeparator:H_e,messageRow:D_e,fadeIn:B_e,incoming:R_e,outgoing:F_e,avatar:E_e,messageMeta:O_e,senderName:U_e,bubble:W_e,unread:G_e,scrollToBottomButton:K_e,scrollBtnVisible:Z_e,scrollBtnIn:X_e,scrollBtnHiding:Y_e,scrollBtnOut:J_e,composer:Q_e,messageInput:eLe,sendButton:tLe,messageListWrapper:aLe};function EA(e,t="fr"){return[...e].sort((n,c)=>new Date(n.sentAt).getTime()-new Date(c.sentAt).getTime()).reduce((n,c)=>{const i=new Date(c.sentAt),r=i.toLocaleDateString(t,{year:"numeric",month:"2-digit",day:"2-digit"}),s=n[n.length-1];return s?.dayKey===r?[...n.slice(0,-1),{...s,messages:[...s.messages,c]}]:[...n,{dayKey:r,date:i,messages:[c]}]},[])}function OA(e,t="fr"){return new Intl.DateTimeFormat(t,{weekday:"short",day:"2-digit",month:"2-digit",year:"numeric"}).format(e)}function UA(e,t="fr"){return new Intl.DateTimeFormat(t,{hour:"2-digit",minute:"2-digit",hour12:!1}).format(new Date(e))}function WA(e,t){return e.sender.id===t?"outgoing":e.isRead===!1?"unread":"incoming"}const nLe=300,oLe=220,cLe=60;function GA({messages:e,currentSenderId:t,onSend:n,hasMore:c=!1,onLoadMore:i,locale:r="fr"}){const s=k.useRef(null),d=k.useRef(null),l=k.useRef(null),[h,u]=k.useState(""),[p,y]=k.useState(!1),f=h.trim().length>0&&!p;k.useEffect(()=>{const q=l.current;q&&((typeof CSS>"u"||!CSS.supports||!CSS.supports("field-sizing","content"))&&(q.style.height="auto",q.style.height=`${Math.min(Math.max(q.scrollHeight,60),140)}px`),q.scrollTop=q.scrollHeight)},[h]);const[g,m]=k.useState(!1),x=k.useRef(!1),[M,v]=k.useState("hidden"),I=k.useRef("hidden"),b=k.useRef(null),w=k.useRef(!1),C=k.useCallback(q=>{I.current=q,v(q)},[]),_=k.useCallback(()=>{b.current&&clearTimeout(b.current),C("hiding"),b.current=setTimeout(()=>C("hidden"),oLe)},[C]);k.useEffect(()=>{d.current?.scrollIntoView({behavior:"instant"})},[]),k.useEffect(()=>{!w.current&&!x.current&&d.current?.scrollIntoView({behavior:"smooth"})},[e.length]);const L=k.useCallback(async()=>{const q=h.trim();if(!(!q||p)){y(!0);try{await n(q),u(""),w.current=!1,I.current!=="hidden"&&_(),requestAnimationFrame(()=>{d.current?.scrollIntoView({behavior:"smooth"})})}finally{y(!1)}}},[h,p,n,_]),j=k.useCallback(q=>{q.preventDefault(),L().catch(()=>{})},[L]),N=k.useCallback(q=>{q.key==="Enter"&&!q.shiftKey&&!q.nativeEvent.isComposing&&(q.preventDefault(),L().catch(()=>{}))},[L]),S=k.useCallback(()=>{d.current?.scrollIntoView({behavior:"smooth"})},[]),z=k.useCallback(async()=>{if(!i||x.current)return;const q=s.current,R=q?.scrollHeight??0;x.current=!0,m(!0);try{await i(),await new Promise(T=>requestAnimationFrame(()=>T())),q&&(q.scrollTop+=q.scrollHeight-R)}finally{x.current=!1,m(!1)}},[i]),A=k.useCallback(()=>{const q=s.current;if(!q)return;const T=q.scrollHeight-q.scrollTop-q.clientHeight>nLe;w.current=T;const O=I.current;T?(O==="hidden"||O==="hiding")&&(b.current&&clearTimeout(b.current),C("visible")):O==="visible"&&_(),q.scrollTop<cLe&&c&&!x.current&&z().catch(()=>{})},[c,z,C,_]),H=EA(e,r),P=k.useCallback((q,R)=>WA(q,R??t),[t]),V=k.useCallback((q,R)=>OA(q,R??r),[r]),$=k.useCallback((q,R)=>UA(q,R??r),[r]);return{listRef:s,bottomAnchorRef:d,textareaRef:l,draft:h,setDraft:u,canSend:f,sending:p,handleFormSubmit:j,handleKeyDown:N,scrollBtnState:M,handleScrollBtnClick:S,loadingMoreState:g,handleScrollCombined:A,dayGroups:H,getBubbleVariant:P,formatDayLabel:V,formatHour:$}}const Jj=()=>o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round","aria-hidden":"true",style:{animation:"spin 0.8s linear infinite"},children:[o.jsx("style",{children:"@keyframes spin { to { transform: rotate(360deg); } }"}),o.jsx("path",{d:"M12 2v4M12 18v4M4.93 4.93l2.83 2.83M16.24 16.24l2.83 2.83M2 12h4M18 12h4M4.93 19.07l2.83-2.83M16.24 7.76l2.83-2.83"})]}),KA=({messages:e,currentSenderId:t,onSend:n,onClose:c,hasMore:i=!1,onLoadMore:r,title:s="Messages",showClose:d=!0,loading:l=!1,loadingMore:h=!1,placeholder:u="Votre message…",sendLabel:p="Envoyer",emptyLabel:y="Aucun message",locale:f="fr",loadingNode:g,className:m="",headerIcon:x,closeIcon:M})=>{const{listRef:v,bottomAnchorRef:I,textareaRef:b,draft:w,setDraft:C,canSend:_,sending:L,handleFormSubmit:j,handleKeyDown:N,scrollBtnState:S,handleScrollBtnClick:z,loadingMoreState:A,handleScrollCombined:H,dayGroups:P,getBubbleVariant:V,formatDayLabel:$,formatHour:q}=GA({messages:e,currentSenderId:t,onSend:n,hasMore:i,onLoadMore:r,locale:f});return o.jsxs("div",{className:`${fe.panel} ${m}`,children:[o.jsxs("div",{className:fe.header,children:[o.jsxs("div",{className:fe.headerLeft,children:[x,o.jsx("h3",{className:fe.title,children:s})]}),d&&c&&o.jsx("button",{type:"button",className:fe.closeButton,onClick:c,"aria-label":"Fermer",children:M??o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:[o.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),o.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}),o.jsxs("div",{className:fe.messageListWrapper,children:[o.jsxs("div",{ref:v,className:fe.messageList,role:"log","aria-live":"polite","aria-label":s,onScroll:H,children:[!l&&(h||A)&&o.jsx("div",{className:fe.paginationLoader,children:o.jsx(Jj,{})}),l&&o.jsx("div",{className:fe.listLoading,children:g??o.jsx(Jj,{})}),!l&&P.length===0&&o.jsx("div",{className:fe.empty,children:y}),!l&&P.map(R=>o.jsxs(k.Fragment,{children:[o.jsx("div",{className:fe.daySeparator,role:"separator",children:$(R.date)}),R.messages.map(T=>{const O=V(T),J=O==="outgoing",E=q(T.sentAt);return o.jsxs("div",{className:`${fe.messageRow} ${J?fe.outgoing:fe.incoming}`,children:[!J&&o.jsx("span",{className:fe.avatar,"aria-hidden":"true",children:T.sender.shortName}),o.jsxs("span",{className:fe.messageMeta,children:[!J&&o.jsx("span",{className:fe.senderName,children:T.sender.name}),o.jsx("span",{children:E})]}),o.jsx("div",{className:`${fe.bubble} ${fe[O]}`,children:T.content})]},T.id)})]},R.dayKey)),o.jsx("div",{ref:I,"aria-hidden":"true"})]}),S!=="hidden"&&o.jsx("button",{type:"button",className:`${fe.scrollToBottomButton} ${S==="hiding"?fe.scrollBtnHiding:fe.scrollBtnVisible}`,onClick:z,"aria-label":"Aller au dernier message",children:"↓"})]}),o.jsxs("form",{className:fe.composer,onSubmit:j,children:[o.jsx("textarea",{ref:b,className:fe.messageInput,value:w,onChange:R=>C(R.target.value),onKeyDown:N,placeholder:u,"aria-label":u,rows:1,disabled:L}),o.jsx("button",{type:"submit",className:fe.sendButton,disabled:!_,children:p})]})]})},iLe=({title:e,titleBold:t,titleKey:n,items:c,className:i="",width:r,style:s,labelStyle:d,valueStyle:l,headerStyle:h,a11yConfig:u,onItemClick:p,onDeleteItem:y})=>{const f={width:r||"100%",...s};return o.jsxs("div",{className:`data-list-v2-container ${i}`,style:f,children:[(e||t)&&o.jsx("div",{className:"data-list-v2-header",style:h,children:o.jsxs("h2",{className:"header-title",title:Y(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(g=>o.jsxs("div",{className:`data-list-v2-item ${p?"interactive":""} ${g.showValueLine?"with-value-line":""}`,onClick:()=>p?.(g),children:[o.jsx("div",{className:"item-label-col",style:d,children:o.jsx("div",{className:"item-label",title:Y(g.a11yConfig,g.labelKey),children:g.label})}),o.jsxs("div",{className:"item-value-col",style:l,children:[o.jsx("div",{className:"item-value",title:Y(g.a11yConfig,g.valueKey),children:g.value}),y&&o.jsx("div",{className:"item-delete-action",onClick:m=>{m.stopPropagation(),y(g)},children:o.jsx(kt,{size:16})})]})]},g.id))})]})},rLe=({id:e,data:t,children:n,className:c,onDragStart:i,onDragEnd:r})=>{const s=l=>{l.dataTransfer.setData("text/plain",e),t&&l.dataTransfer.setData("application/json",JSON.stringify(t)),l.dataTransfer.effectAllowed="move",i&&i(l,t)},d=l=>{r&&r(l)};return o.jsx("div",{draggable:!0,onDragStart:s,onDragEnd:d,style:{cursor:"grab"},className:c,children:n})},sLe=({id:e,onDrop:t,children:n,className:c="",activeClassName:i="is-drag-over"})=>{const[r,s]=k.useState(!1),d=k.useRef(0),l=f=>{f.preventDefault(),d.current+=1,d.current>0&&s(!0)},h=f=>{f.preventDefault(),f.dataTransfer.dropEffect="move"},u=f=>{f.preventDefault(),d.current-=1,d.current===0&&s(!1)},p=f=>{f.preventDefault(),s(!1),d.current=0;const g=f.dataTransfer.getData("text/plain");let m;try{const x=f.dataTransfer.getData("application/json");x&&(m=JSON.parse(x))}catch(x){console.error("Failed to parse drag data",x)}g&&t(g,m)},y=`${c} ${r?i:""}`.trim();return o.jsx("div",{onDragEnter:l,onDragOver:h,onDragLeave:u,onDrop:p,className:y,"data-droppable-id":e,children:n})},dLe=e=>o.jsx(lLe,{...e}),lLe=F.textarea`
8921
+ `.trim();return o.jsx("div",{className:E,style:n,children:o.jsxs("div",{className:G.innerPadding,children:[o.jsxs("div",{className:`${G.topArea} ${I?"":G.noFooterMargin}`,style:c,children:[o.jsx("div",{className:G.header,children:T?o.jsxs(o.Fragment,{children:[o.jsx("div",{className:G.headerLeft,children:o.jsxs("div",{className:G.uf,children:[i,r&&` - ${r}`]})}),o.jsx("div",{className:G.headerRight,children:o.jsx("div",{className:G.rmBadge,children:T})})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{className:G.headerLeft,children:i&&o.jsx("div",{className:G.uf,children:i})}),o.jsx("div",{className:G.headerRight,children:r&&o.jsx("span",{className:G.roomBed,children:r})})]})}),o.jsxs("div",{className:G.content,children:[o.jsxs("div",{className:G.body,children:[S==="default"&&o.jsxs(o.Fragment,{children:[s&&o.jsx("div",{className:`${G.centerLabelHuge} ${q?G.labelYellow:""}`,children:s}),o.jsxs("div",{className:G.upperBodyContent,children:[o.jsxs("div",{className:G.patientInfo,children:[d&&o.jsx("div",{className:G.iep,children:d}),l&&o.jsx("div",{className:G.name,children:l}),h&&o.jsxs("div",{className:G.birthName,children:["(",u?`${u} ${h}`:h,")"]}),p&&o.jsx("div",{className:G.firstNames,children:p}),y&&o.jsx("div",{className:G.dobAge,children:y})]}),f&&o.jsx("div",{className:G.duration,children:f}),g&&o.jsx("div",{className:G.comment,children:g})]}),m&&o.jsxs("div",{className:G.expectedBottom,children:[x&&o.jsx("div",{className:G.expectedPrefix,children:x}),o.jsx("div",{className:G.expectedDate,children:m})]})]}),S==="notes"&&o.jsxs("div",{className:G.notesView,children:[o.jsxs("div",{className:G.notesHeader,children:[A,o.jsx("span",{className:G.notesTitle,children:$})]}),o.jsx("div",{className:G.notesList,children:H.map((U,ie)=>o.jsx("div",{className:G.noteItem,title:P?.[ie],children:U},ie))})]}),S==="reservation"&&o.jsxs("div",{className:G.reservationView,children:[s&&o.jsx("div",{className:`${G.centerLabelHuge} ${q?G.labelYellow:""}`,children:s}),o.jsx("div",{className:G.upperBodyContent,children:o.jsxs("div",{className:G.patientInfo,children:[d&&o.jsx("div",{className:G.iep,children:d}),l&&o.jsx("div",{className:G.name,children:l}),h&&o.jsxs("div",{className:G.birthName,children:["(",u?`${u} ${h}`:h,")"]}),p&&o.jsx("div",{className:G.firstNames,children:p}),y&&o.jsx("div",{className:G.dobAge,children:y})]})}),V&&o.jsx("div",{className:G.reservationNote,children:V})]})]}),(z||M||v)&&o.jsxs("div",{className:G.bottomArea,children:[z&&o.jsx("div",{className:G.bottomLeftSymbol,children:z}),v&&o.jsxs("div",{className:`${G.destination} ${O?G.todayReservation:""}`,children:[o.jsx("span",{className:G.arrow,children:"→"}),v.prefix&&o.jsx("span",{children:v.prefix}),o.jsx("strong",{children:v.name}),v.suffix&&o.jsx("span",{children:v.suffix})]}),M&&o.jsx("div",{className:G.timeline,children:b&&b!=="transparent"&&o.jsxs("div",{className:G.progressBar,style:{backgroundColor:b},title:_,children:[o.jsx("div",{className:G.progressFill,style:{width:`${L}%`,backgroundColor:C}}),N&&o.jsx("span",{className:G.progressDate,children:N})]})})]})]})]}),I&&o.jsxs("div",{className:G.footer,children:[j.map((U,ie)=>o.jsx("div",{className:G.iconWrap,children:U},`left-${ie}`)),w.map((U,ie)=>o.jsx("div",{className:G.iconWrap,children:U},`right-${ie}`))]})]})})},A_e="_panel_1viix_1",z_e="_header_1viix_13",V_e="_headerLeft_1viix_23",P_e="_title_1viix_30",T_e="_closeButton_1viix_40",H_e="_paginationLoader_1viix_63",D_e="_messageList_1viix_71",B_e="_listLoading_1viix_86",R_e="_empty_1viix_94",F_e="_daySeparator_1viix_105",E_e="_messageRow_1viix_118",O_e="_fadeIn_1viix_1",U_e="_incoming_1viix_138",W_e="_outgoing_1viix_146",G_e="_avatar_1viix_154",K_e="_messageMeta_1viix_170",Z_e="_senderName_1viix_180",X_e="_bubble_1viix_185",Y_e="_unread_1viix_209",J_e="_scrollToBottomButton_1viix_243",Q_e="_scrollBtnVisible_1viix_263",eLe="_scrollBtnIn_1viix_1",tLe="_scrollBtnHiding_1viix_267",aLe="_scrollBtnOut_1viix_1",nLe="_composer_1viix_272",oLe="_messageInput_1viix_281",cLe="_sendButton_1viix_315",iLe="_messageListWrapper_1viix_340",fe={panel:A_e,header:z_e,headerLeft:V_e,title:P_e,closeButton:T_e,paginationLoader:H_e,messageList:D_e,listLoading:B_e,empty:R_e,daySeparator:F_e,messageRow:E_e,fadeIn:O_e,incoming:U_e,outgoing:W_e,avatar:G_e,messageMeta:K_e,senderName:Z_e,bubble:X_e,unread:Y_e,scrollToBottomButton:J_e,scrollBtnVisible:Q_e,scrollBtnIn:eLe,scrollBtnHiding:tLe,scrollBtnOut:aLe,composer:nLe,messageInput:oLe,sendButton:cLe,messageListWrapper:iLe};function EA(e,t="fr"){return[...e].sort((n,c)=>new Date(n.sentAt).getTime()-new Date(c.sentAt).getTime()).reduce((n,c)=>{const i=new Date(c.sentAt),r=i.toLocaleDateString(t,{year:"numeric",month:"2-digit",day:"2-digit"}),s=n[n.length-1];return s?.dayKey===r?[...n.slice(0,-1),{...s,messages:[...s.messages,c]}]:[...n,{dayKey:r,date:i,messages:[c]}]},[])}function OA(e,t="fr"){return new Intl.DateTimeFormat(t,{weekday:"short",day:"2-digit",month:"2-digit",year:"numeric"}).format(e)}function UA(e,t="fr"){return new Intl.DateTimeFormat(t,{hour:"2-digit",minute:"2-digit",hour12:!1}).format(new Date(e))}function WA(e,t){return e.sender.id===t?"outgoing":e.isRead===!1?"unread":"incoming"}const rLe=300,sLe=220,dLe=60;function GA({messages:e,currentSenderId:t,onSend:n,hasMore:c=!1,onLoadMore:i,locale:r="fr"}){const s=k.useRef(null),d=k.useRef(null),l=k.useRef(null),[h,u]=k.useState(""),[p,y]=k.useState(!1),f=h.trim().length>0&&!p;k.useEffect(()=>{const z=l.current;z&&((typeof CSS>"u"||!CSS.supports||!CSS.supports("field-sizing","content"))&&(z.style.height="auto",z.style.height=`${Math.min(Math.max(z.scrollHeight,60),140)}px`),z.scrollTop=z.scrollHeight)},[h]);const[g,m]=k.useState(!1),x=k.useRef(!1),[M,v]=k.useState("hidden"),L=k.useRef("hidden"),b=k.useRef(null),C=k.useRef(!1),N=k.useCallback(z=>{L.current=z,v(z)},[]),_=k.useCallback(()=>{b.current&&clearTimeout(b.current),N("hiding"),b.current=setTimeout(()=>N("hidden"),sLe)},[N]);k.useEffect(()=>{d.current?.scrollIntoView({behavior:"instant"})},[]),k.useEffect(()=>{!C.current&&!x.current&&d.current?.scrollIntoView({behavior:"smooth"})},[e.length]);const I=k.useCallback(async()=>{const z=h.trim();if(!(!z||p)){y(!0);try{await n(z),u(""),C.current=!1,L.current!=="hidden"&&_(),requestAnimationFrame(()=>{d.current?.scrollIntoView({behavior:"smooth"})})}finally{y(!1)}}},[h,p,n,_]),j=k.useCallback(z=>{z.preventDefault(),I().catch(()=>{})},[I]),w=k.useCallback(z=>{z.key==="Enter"&&!z.shiftKey&&!z.nativeEvent.isComposing&&(z.preventDefault(),I().catch(()=>{}))},[I]),S=k.useCallback(()=>{d.current?.scrollIntoView({behavior:"smooth"})},[]),$=k.useCallback(async()=>{if(!i||x.current)return;const z=s.current,R=z?.scrollHeight??0;x.current=!0,m(!0);try{await i(),await new Promise(T=>requestAnimationFrame(()=>T())),z&&(z.scrollTop+=z.scrollHeight-R)}finally{x.current=!1,m(!1)}},[i]),A=k.useCallback(()=>{const z=s.current;if(!z)return;const T=z.scrollHeight-z.scrollTop-z.clientHeight>rLe;C.current=T;const O=L.current;T?(O==="hidden"||O==="hiding")&&(b.current&&clearTimeout(b.current),N("visible")):O==="visible"&&_(),z.scrollTop<dLe&&c&&!x.current&&$().catch(()=>{})},[c,$,N,_]),H=EA(e,r),P=k.useCallback((z,R)=>WA(z,R??t),[t]),V=k.useCallback((z,R)=>OA(z,R??r),[r]),q=k.useCallback((z,R)=>UA(z,R??r),[r]);return{listRef:s,bottomAnchorRef:d,textareaRef:l,draft:h,setDraft:u,canSend:f,sending:p,handleFormSubmit:j,handleKeyDown:w,scrollBtnState:M,handleScrollBtnClick:S,loadingMoreState:g,handleScrollCombined:A,dayGroups:H,getBubbleVariant:P,formatDayLabel:V,formatHour:q}}const Jj=()=>o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round","aria-hidden":"true",style:{animation:"spin 0.8s linear infinite"},children:[o.jsx("style",{children:"@keyframes spin { to { transform: rotate(360deg); } }"}),o.jsx("path",{d:"M12 2v4M12 18v4M4.93 4.93l2.83 2.83M16.24 16.24l2.83 2.83M2 12h4M18 12h4M4.93 19.07l2.83-2.83M16.24 7.76l2.83-2.83"})]}),KA=({messages:e,currentSenderId:t,onSend:n,onClose:c,hasMore:i=!1,onLoadMore:r,title:s="Messages",showClose:d=!0,loading:l=!1,loadingMore:h=!1,placeholder:u="Votre message…",sendLabel:p="Envoyer",emptyLabel:y="Aucun message",locale:f="fr",loadingNode:g,className:m="",headerIcon:x,closeIcon:M})=>{const{listRef:v,bottomAnchorRef:L,textareaRef:b,draft:C,setDraft:N,canSend:_,sending:I,handleFormSubmit:j,handleKeyDown:w,scrollBtnState:S,handleScrollBtnClick:$,loadingMoreState:A,handleScrollCombined:H,dayGroups:P,getBubbleVariant:V,formatDayLabel:q,formatHour:z}=GA({messages:e,currentSenderId:t,onSend:n,hasMore:i,onLoadMore:r,locale:f});return o.jsxs("div",{className:`${fe.panel} ${m}`,children:[o.jsxs("div",{className:fe.header,children:[o.jsxs("div",{className:fe.headerLeft,children:[x,o.jsx("h3",{className:fe.title,children:s})]}),d&&c&&o.jsx("button",{type:"button",className:fe.closeButton,onClick:c,"aria-label":"Fermer",children:M??o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:[o.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),o.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}),o.jsxs("div",{className:fe.messageListWrapper,children:[o.jsxs("div",{ref:v,className:fe.messageList,role:"log","aria-live":"polite","aria-label":s,onScroll:H,children:[!l&&(h||A)&&o.jsx("div",{className:fe.paginationLoader,children:o.jsx(Jj,{})}),l&&o.jsx("div",{className:fe.listLoading,children:g??o.jsx(Jj,{})}),!l&&P.length===0&&o.jsx("div",{className:fe.empty,children:y}),!l&&P.map(R=>o.jsxs(k.Fragment,{children:[o.jsx("div",{className:fe.daySeparator,role:"separator",children:q(R.date)}),R.messages.map(T=>{const O=V(T),Q=O==="outgoing",E=z(T.sentAt);return o.jsxs("div",{className:`${fe.messageRow} ${Q?fe.outgoing:fe.incoming}`,children:[!Q&&o.jsx("span",{className:fe.avatar,"aria-hidden":"true",children:T.sender.shortName}),o.jsxs("span",{className:fe.messageMeta,children:[!Q&&o.jsx("span",{className:fe.senderName,children:T.sender.name}),o.jsx("span",{children:E})]}),o.jsx("div",{className:`${fe.bubble} ${fe[O]}`,children:T.content})]},T.id)})]},R.dayKey)),o.jsx("div",{ref:L,"aria-hidden":"true"})]}),S!=="hidden"&&o.jsx("button",{type:"button",className:`${fe.scrollToBottomButton} ${S==="hiding"?fe.scrollBtnHiding:fe.scrollBtnVisible}`,onClick:$,"aria-label":"Aller au dernier message",children:"↓"})]}),o.jsxs("form",{className:fe.composer,onSubmit:j,children:[o.jsx("textarea",{ref:b,className:fe.messageInput,value:C,onChange:R=>N(R.target.value),onKeyDown:w,placeholder:u,"aria-label":u,rows:1,disabled:I}),o.jsx("button",{type:"submit",className:fe.sendButton,disabled:!_,children:p})]})]})},lLe=({title:e,titleBold:t,titleKey:n,items:c,className:i="",width:r,style:s,labelStyle:d,valueStyle:l,headerStyle:h,a11yConfig:u,onItemClick:p,onDeleteItem:y})=>{const f={width:r||"100%",...s};return o.jsxs("div",{className:`data-list-v2-container ${i}`,style:f,children:[(e||t)&&o.jsx("div",{className:"data-list-v2-header",style:h,children:o.jsxs("h2",{className:"header-title",title:J(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(g=>o.jsxs("div",{className:`data-list-v2-item ${p?"interactive":""} ${g.showValueLine?"with-value-line":""}`,onClick:()=>p?.(g),children:[o.jsx("div",{className:"item-label-col",style:d,children:o.jsx("div",{className:"item-label",title:J(g.a11yConfig,g.labelKey),children:g.label})}),o.jsxs("div",{className:"item-value-col",style:l,children:[o.jsx("div",{className:"item-value",title:J(g.a11yConfig,g.valueKey),children:g.value}),y&&o.jsx("div",{className:"item-delete-action",onClick:m=>{m.stopPropagation(),y(g)},children:o.jsx(kt,{size:16})})]})]},g.id))})]})},hLe=({id:e,data:t,children:n,className:c,onDragStart:i,onDragEnd:r})=>{const s=l=>{l.dataTransfer.setData("text/plain",e),t&&l.dataTransfer.setData("application/json",JSON.stringify(t)),l.dataTransfer.effectAllowed="move",i&&i(l,t)},d=l=>{r&&r(l)};return o.jsx("div",{draggable:!0,onDragStart:s,onDragEnd:d,style:{cursor:"grab"},className:c,children:n})},uLe=({id:e,onDrop:t,children:n,className:c="",activeClassName:i="is-drag-over"})=>{const[r,s]=k.useState(!1),d=k.useRef(0),l=f=>{f.preventDefault(),d.current+=1,d.current>0&&s(!0)},h=f=>{f.preventDefault(),f.dataTransfer.dropEffect="move"},u=f=>{f.preventDefault(),d.current-=1,d.current===0&&s(!1)},p=f=>{f.preventDefault(),s(!1),d.current=0;const g=f.dataTransfer.getData("text/plain");let m;try{const x=f.dataTransfer.getData("application/json");x&&(m=JSON.parse(x))}catch(x){console.error("Failed to parse drag data",x)}g&&t(g,m)},y=`${c} ${r?i:""}`.trim();return o.jsx("div",{onDragEnter:l,onDragOver:h,onDragLeave:u,onDrop:p,className:y,"data-droppable-id":e,children:n})},pLe=e=>o.jsx(yLe,{...e}),yLe=F.textarea`
8921
8922
  padding: 0.5rem 0.875rem;
8922
8923
  border: 0.0625rem solid var(--color-border, #dee2e6);
8923
8924
  border-radius: var(--radius-content, 0.5rem);
@@ -8930,4 +8931,4 @@
8930
8931
  opacity: 0.65;
8931
8932
  cursor: not-allowed;
8932
8933
  }
8933
- `;exports.LineChart=a.LineChart;exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=$9e;exports.AddItemModal=Dc;exports.Alert=dC;exports.AlertsProvider=h3e;exports.AvailabilitySummaryPanel=Kxe;exports.BadgeList=Qj;exports.BadgeRenderer=_A;exports.Button=yL;exports.ChartContainer=d3e;exports.CheckboxInput=eA;exports.CircularProgress=Zb;exports.ColorInput=cA;exports.ComponentVisibilityManager=Jb;exports.ComponentVisibilityToggle=C6e;exports.ConfirmationModal=b9e;exports.ConfirmationPopup=kfe;exports.CounterListBox=Q3e;exports.CurrencyRenderer=bA;exports.DEFAULT_BED_LEVEL_COLORS=FA;exports.DashboardSummary=i6e;exports.DataBoard=Mt;exports.DataFourBoards=AA;exports.DataListV2=iLe;exports.DateInput=nA;exports.DatePicker=Lw;exports.DateRenderer=LA;exports.DayStatCard=ude;exports.DayStatCardV2=L8e;exports.DonutChartRatio=Lxe;exports.Draggable=rLe;exports.DraggableProvider=mde;exports.DraggableSwitcherButton=kL;exports.Droppable=sLe;exports.DynamicForm=_5e;exports.DynamicIcon=Mw;exports.DynamicInput=iA;exports.EmailRenderer=xA;exports.Encours=v6e;exports.EntryControl=Y3e;exports.FileInput=aA;exports.FilterBar=R7e;exports.FiltreEtiquette=ixe;exports.FlexRowContainer=tfe;exports.Grid=a$;exports.Header=_de;exports.HierarchicalTableLayout=Nge;exports.HorizontalBarChart=b8e;exports.IconText=p$;exports.ImageRenderer=wA;exports.IndicatorItemV2=wve;exports.InfoBanner=Fve;exports.InputWrapper=AL;exports.LegendFilterProvider=gde;exports.LegendFilterSwitcherButton=mL;exports.LinkRenderer=MA;exports.ListContentContainer=afe;exports.Logo=wL;exports.MessageThread=KA;exports.MessageThreadComponent=KA;exports.MetricsPanel=SA;exports.MobileMenuHeader=zxe;exports.MobileNavMenu=PA;exports.MobileTopBar=jxe;exports.ModuleHeader=z3e;exports.ModuleSideBar=V3e;exports.ModuleSideBarV2=y9e;exports.MovementCard=Lde;exports.NavBar=n$;exports.NavBarV2=G8e;exports.NavItem=Xb;exports.NavItemV2=lC;exports.NavProvider=pde;exports.NumberRenderer=IA;exports.PaginationBar=lme;exports.PatientCard=N_e;exports.PatientDetailsPanel=LMe;exports.PatientInfoCard=bMe;exports.PeriodSelect=f3e;exports.PopUp=d9e;exports.RadioInput=tA;exports.RangeInput=oA;exports.ScrollableHorizontale=y$;exports.SearchBar=$A;exports.SearchableModuleSideBar=m9e;exports.Select=HA;exports.SelectFilter=Jfe;exports.SelectInput=cC;exports.SettingNavBar=p9e;exports.ShowDataProvider=vde;exports.ShowDataSwitcherButton=fL;exports.SideComponent=v3e;exports.SimpleListBox=J3e;exports.Slider=iMe;exports.StatusTile=Ade;exports.SubHeaderContent=gge;exports.SubHeaderNavItem=VA;exports.SubHeaderTitle=Q8e;exports.SubNavBar=Dde;exports.SummaryAvailable=sxe;exports.SummaryCard=NA;exports.Switcher=Z1;exports.TableLayout=hC;exports.TableauDynamique=CA;exports.TableauDynamiqueSafePagination=dme;exports.TableauxComponent=hC;exports.TextInput=Jq;exports.TextRenderer=vA;exports.Textarea=dLe;exports.TextareaInput=Qq;exports.ThemeProvider=yde;exports.ThemeSwitcher=vge;exports.ThemeSwitcherButton=Yb;exports.TimePicker=uMe;exports.Title=L3e;exports.TranslationKey=P3e;exports.TranslationKeyV2=f9e;exports.TrendItem=k$;exports.TrendList=zpe;exports.TrendListBox=efe;exports.UnitGrid=Vxe;exports.UserInfo=zA;exports.alertModels=p3e;exports.formatDayLabel=OA;exports.formatHour=UA;exports.getA11yTooltip=Y;exports.getBubbleVariant=WA;exports.getFormSchema=L5e;exports.groupByDay=EA;exports.hexToRgba=Tt;exports.registerRenderer=Qke;exports.tableConfig=_w;exports.useAlerts=u3e;exports.useBodyScrollLock=x3e;exports.useConfirmationPopup=mfe;exports.useDraggableSwitcher=r$;exports.useFilters=fA;exports.useLegendFilterSwitcher=d$;exports.useMessageThread=GA;exports.useNavigation=ft;exports.useShowDataSwitcher=h$;exports.useTableData=gA;exports.useThemeContext=c$;exports.useThemeSwitcher=CL;exports.validateField=bL;exports.validateForm=Yq;
8934
+ `;exports.LineChart=a.LineChart;exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=V9e;exports.AddItemModal=Dc;exports.Alert=dC;exports.AlertsProvider=h3e;exports.AvailabilitySummaryPanel=Jxe;exports.BadgeList=Qj;exports.BadgeRenderer=_A;exports.Button=yL;exports.ChartContainer=d3e;exports.CheckboxInput=eA;exports.CircularProgress=Zb;exports.ColorInput=cA;exports.ComponentVisibilityManager=Jb;exports.ComponentVisibilityToggle=C6e;exports.ConfirmationModal=S9e;exports.ConfirmationPopup=kfe;exports.CounterListBox=Q3e;exports.CurrencyRenderer=bA;exports.DEFAULT_BED_LEVEL_COLORS=FA;exports.DashboardSummary=i6e;exports.DataBoard=Mt;exports.DataFourBoards=AA;exports.DataListV2=lLe;exports.DateInput=nA;exports.DatePicker=Lw;exports.DateRenderer=LA;exports.DayStatCard=ude;exports.DayStatCardV2=L8e;exports.DonutChartRatio=Cxe;exports.Draggable=hLe;exports.DraggableProvider=mde;exports.DraggableSwitcherButton=kL;exports.Droppable=uLe;exports.DynamicForm=_5e;exports.DynamicIcon=Mw;exports.DynamicInput=iA;exports.EmailRenderer=xA;exports.Encours=v6e;exports.EntryControl=Y3e;exports.FileInput=aA;exports.FilterBar=R7e;exports.FiltreEtiquette=lxe;exports.FlexRowContainer=tfe;exports.Grid=a$;exports.Header=_de;exports.HierarchicalTableLayout=Nge;exports.HorizontalBarChart=b8e;exports.IconText=p$;exports.ImageRenderer=wA;exports.IndicatorItemV2=wve;exports.InfoBanner=Wve;exports.InputWrapper=AL;exports.LegendFilterProvider=gde;exports.LegendFilterSwitcherButton=mL;exports.LinkRenderer=MA;exports.ListContentContainer=afe;exports.Logo=wL;exports.MessageThread=KA;exports.MessageThreadComponent=KA;exports.MetricsPanel=SA;exports.MobileMenuHeader=Hxe;exports.MobileNavMenu=PA;exports.MobileTopBar=zxe;exports.ModuleHeader=z3e;exports.ModuleSideBar=V3e;exports.ModuleSideBarV2=g9e;exports.MovementCard=Lde;exports.NavBar=n$;exports.NavBarV2=G8e;exports.NavItem=Xb;exports.NavItemV2=lC;exports.NavProvider=pde;exports.NumberRenderer=IA;exports.PaginationBar=lme;exports.PatientCard=q_e;exports.PatientDetailsPanel=CMe;exports.PatientInfoCard=SMe;exports.PeriodSelect=f3e;exports.PopUp=p9e;exports.RadioInput=tA;exports.RangeInput=oA;exports.ScrollableHorizontale=y$;exports.SearchBar=$A;exports.SearchableModuleSideBar=x9e;exports.Select=HA;exports.SelectFilter=Jfe;exports.SelectInput=cC;exports.SettingNavBar=f9e;exports.ShowDataProvider=vde;exports.ShowDataSwitcherButton=fL;exports.SideComponent=v3e;exports.SimpleListBox=J3e;exports.Slider=lMe;exports.StatusTile=Ade;exports.SubHeaderContent=gge;exports.SubHeaderNavItem=VA;exports.SubHeaderTitle=Q8e;exports.SubNavBar=Dde;exports.SummaryAvailable=uxe;exports.SummaryCard=NA;exports.Switcher=Z1;exports.TableLayout=hC;exports.TableauDynamique=CA;exports.TableauDynamiqueSafePagination=dme;exports.TableauxComponent=hC;exports.TextInput=Jq;exports.TextRenderer=vA;exports.Textarea=pLe;exports.TextareaInput=Qq;exports.ThemeProvider=yde;exports.ThemeSwitcher=vge;exports.ThemeSwitcherButton=Yb;exports.TimePicker=mMe;exports.Title=L3e;exports.TranslationKey=P3e;exports.TranslationKeyV2=M9e;exports.TrendItem=k$;exports.TrendList=zpe;exports.TrendListBox=efe;exports.UnitGrid=Dxe;exports.UserInfo=zA;exports.alertModels=p3e;exports.formatDayLabel=OA;exports.formatHour=UA;exports.getA11yTooltip=J;exports.getBubbleVariant=WA;exports.getFormSchema=L5e;exports.groupByDay=EA;exports.hexToRgba=Tt;exports.registerRenderer=Qke;exports.tableConfig=_w;exports.useAlerts=u3e;exports.useBodyScrollLock=x3e;exports.useConfirmationPopup=mfe;exports.useDraggableSwitcher=r$;exports.useFilters=fA;exports.useLegendFilterSwitcher=d$;exports.useMessageThread=GA;exports.useNavigation=ft;exports.useShowDataSwitcher=h$;exports.useTableData=gA;exports.useThemeContext=c$;exports.useThemeSwitcher=CL;exports.validateField=bL;exports.validateForm=Yq;